!204 打卡优化

Merge pull request !204 from 德仔/xzj
This commit is contained in:
德仔
2021-04-15 12:01:47 +08:00
committed by Gitee
21 changed files with 1382 additions and 50 deletions

View File

@ -197,7 +197,7 @@
label="情绪"
align="center"
prop="emotion"
width="160"
width="120"
>
<template slot-scope="scope">
<AutoHideMessage :maxLength="4" :data="scope.row.emotion"></AutoHideMessage>
@ -214,7 +214,7 @@
label="其他食物"
align="center"
prop="slyEatFood"
width="160"
width="120"
>
<template slot-scope="scope">
<AutoHideMessage :maxLength="4" :data="scope.row.slyEatFood"></AutoHideMessage>
@ -243,6 +243,15 @@
<span>{{ `${scope.row.water} ml` }}</span>
</template>
</el-table-column>
<el-table-column label="是否点评" align="center" prop="executionScore">
<template slot-scope="scope">
<el-tag
:type="scope.row.executionScore == null ? 'danger' : 'success'"
>
{{ scope.row.executionScore == null ? "未点评" : "已点评" }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="操作"
align="center"
@ -534,7 +543,9 @@ export default {
.catch(function () {});
},
showPunchLogDetail(data){
this.$refs.punchLogDetailRef.showDialog(data);
this.$refs.punchLogDetailRef.showDialog(data,() => {
this.getList();
});
},
/** 导出按钮操作 */
handleExport() {