日报表,月报表添加培训报备

This commit is contained in:
fl 2025-03-04 17:40:27 +08:00
parent a780bd54a2
commit 1dbb914bef
2 changed files with 24 additions and 1 deletions

View File

@ -128,6 +128,15 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="培训人数" align="center" prop="trainNum">
<template slot-scope="scope">
<div
@click="openRecord(scope.row,title11)" style="color: #02a7f0; cursor: pointer">
{{ scope.row.trainNum }}
</div>
</template>
</el-table-column>
<el-table-column label="外勤人数" align="center" prop="outsideAttNum"> <el-table-column label="外勤人数" align="center" prop="outsideAttNum">
<template slot-scope="scope"> <template slot-scope="scope">
<div @click="openRecord(scope.row,title10)" style="color: #02a7f0; cursor: pointer" > <div @click="openRecord(scope.row,title10)" style="color: #02a7f0; cursor: pointer" >
@ -283,6 +292,7 @@ export default {
title8: "轮休记录", title8: "轮休记录",
title9: "临时外出记录", title9: "临时外出记录",
title10: "外勤记录", title10: "外勤记录",
title11: "培训记录",
// //
open: false, open: false,
dialogQueryForm: { dialogQueryForm: {
@ -414,6 +424,8 @@ export default {
this.dialogQueryForm.attStatus = 7; this.dialogQueryForm.attStatus = 7;
} else if(titleBoss == '外勤记录'){ } else if(titleBoss == '外勤记录'){
this.dialogQueryForm.attStatus = 26; this.dialogQueryForm.attStatus = 26;
} else if (titleBoss == '培训记录') {
this.dialogQueryForm.attStatus = 28;
} }
this.open = true; this.open = true;
this.resetForm("dialogQueryForm"); this.resetForm("dialogQueryForm");

View File

@ -116,6 +116,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="培训天数" align="center" prop="trainNum">
<template slot-scope="scope">
<div @click="openRecord(scope.row, title13)" style="color: #02a7f0; cursor: pointer">
{{ scope.row.trainNum }}
</div>
</template>
</el-table-column>
<el-table-column label="出差天数" align="center" prop="outNum"> <el-table-column label="出差天数" align="center" prop="outNum">
<template slot-scope="scope"> <template slot-scope="scope">
<div @click="openRecord(scope.row, title10)" style="color: #02a7f0; cursor: pointer"> <div @click="openRecord(scope.row, title10)" style="color: #02a7f0; cursor: pointer">
@ -300,6 +308,7 @@ export default {
title10: "出差天数", title10: "出差天数",
title11: "打卡记录", title11: "打卡记录",
title12: "外勤记录", title12: "外勤记录",
title13: "培训记录",
// //
open: false, open: false,
showRecord: false, showRecord: false,
@ -465,8 +474,10 @@ export default {
this.queryRecord.attStatis = 7; this.queryRecord.attStatis = 7;
} else if (titleBoss == '出差天数') { } else if (titleBoss == '出差天数') {
this.queryRecord.attStatis = 10; this.queryRecord.attStatis = 10;
}else if(titleBoss == '外勤记录'){ } else if(titleBoss == '外勤记录'){
this.queryRecord.attStatis = 26; this.queryRecord.attStatis = 26;
} else if(titleBoss == '培训记录'){
this.queryRecord.attStatis = 28;
} }
this.showRecord = true; this.showRecord = true;
this.getListRecord(); this.getListRecord();