| | |
| | | import pageMixin from "@/components/makepager/pager/mixin/pageMixin" |
| | | import AttendanceStatisticsDetails from "@/views/employeeSalary/attendanceStatistics/components/AttendanceStatisticsDetails" |
| | | import NewDate from "@/api/date"; |
| | | const { getCurrentMonth } = NewDate; |
| | | const { getPreviousMonth } = NewDate; |
| | | export default { |
| | | name: "attendanceStatistics", |
| | | props: { |
| | |
| | | }, |
| | | }, |
| | | object:{ |
| | | date:getCurrentMonth() |
| | | date:getPreviousMonth() |
| | | }, |
| | | editRow:{ |
| | | |
| | |
| | | tableInfomation: [], |
| | | allcol: [], |
| | | showcol: this.showCol, |
| | | headerHeight:'47px', |
| | | tableColumn: this.setColumnVisible(this.showCol) |
| | | } |
| | | this.tableList.allcol = this.tableList.tableColumn.filter((ele) => !ele.default).map((ele) => ele.label) |
| | |
| | | for(let i in headerList.details){ |
| | | tableColumn2.push({ |
| | | label:headerList.details[i].date+'', |
| | | weekDay:headerList.details[i].weekDay+'', |
| | | prop:'headerDate'+headerList.details[i].date, |
| | | min:100, |
| | | min:80, |
| | | default:true, |
| | | isCallMethod:true, |
| | | isClass: true, |
| | |
| | | this.getData() |
| | | }, |
| | | selCommonClick(row,prop,item){ |
| | | |
| | | let config=JSON.parse(JSON.stringify(row)); |
| | | let details=config.details |
| | | let headerItem={} |