打卡优化

This commit is contained in:
xiezhijun
2021-04-15 09:27:16 +08:00
parent 8d8dc77642
commit 5c048db222
9 changed files with 177 additions and 15 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"