| | |
| | | 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) |
| | |
| | | { label: "月份", prop: "month", min: 90 ,fixed:'left'}, |
| | | ]; |
| | | let tableColumn3=[ |
| | | { label: "工作日加班时长(小时)", prop: "weekdayOverTime", min: 140,fixed:'right'}, |
| | | { label: "休息日加班时长(小时)", prop: "restDayOverTime", min: 140,fixed:'right' }, |
| | | { label: "应出勤天数", prop: "requiredAttendanceDays", min: 110 ,fixed:'right'}, |
| | | { label: "实际出勤天数", prop: "actualAttendanceDays", min: 110,fixed:'right'}, |
| | | { label: "工作日加班时长(小时)", prop: "weekdayOverTime", min: 140,}, |
| | | { label: "休息日加班时长(小时)", prop: "restDayOverTime", min: 140, }, |
| | | { label: "应出勤天数", prop: "requiredAttendanceDays", min: 110 ,}, |
| | | { label: "实际出勤天数", prop: "actualAttendanceDays", min: 110,}, |
| | | ] |
| | | let tableColumn2=[] |
| | | let headerList=res.data.list.length>0?res.data.list[0]:[] |
| | |
| | | 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={} |