| | |
| | | { label: '迟到', name: 'Chidao', labtype: 'txt', hidden: false, width: 60 }, |
| | | { label: '早退', name: 'Zaotui', labtype: 'txt', hidden: false, width: 60 }, |
| | | { label: '旷工', name: 'Kuanggong', labtype: 'txt', hidden: false, width: 60 }, |
| | | { label: '带薪假', name: 'Daixinjia', labtype: 'txt', hidden: false, width: 60 }, |
| | | { |
| | | label: '明细', name: 'mingxi', labtype: 'txt', hidden: false, width: 60, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + rowObject.UserName + "','98%','100%', '/AdmAttendance/IndexDtl?AttendanceId=" + rowObject.Id + "')\" >明细</a>"; |
| | | } |
| | | }, |
| | | |
| | | ]; |
| | | dataUrl = "/AdmAttendance/GetList?YearMonth222=" + getNowFormatDate(); |
| | |
| | | var year = date.getFullYear(); |
| | | var month = date.getMonth(); |
| | | var strDate = date.getDate(); |
| | | if (month == 0) { |
| | | year = year - 1; |
| | | month = 12; |
| | | } |
| | | if (month >= 1 && month <= 9) { |
| | | month = "0" + month; |
| | | } |