Commit 4750d31b authored by 姬鋆屾's avatar 姬鋆屾

推修改每日打卡记录 状态为请假颜色修改为白色同状态为正常一样,考勤汇总:状态为请假 修改为绿色,同正常一样

parent 7411d235
...@@ -325,7 +325,7 @@ export default { ...@@ -325,7 +325,7 @@ export default {
property === "offWorkResult" property === "offWorkResult"
) { ) {
let val = arr[index][property]; let val = arr[index][property];
return val == 1 ? ( return val == 1 || val == 2 ? (
this.tableData.dict.goWorkResult[val] this.tableData.dict.goWorkResult[val]
) : ( ) : (
<el-tag type={"danger"} size="mini"> <el-tag type={"danger"} size="mini">
......
...@@ -191,12 +191,14 @@ export default { ...@@ -191,12 +191,14 @@ export default {
{arr[index].attendanceSummary} {arr[index].attendanceSummary}
</el-tag> </el-tag>
</el-tooltip> </el-tooltip>
) : arr[index].attendanceSummary == "正常" ? ( ) : arr[index].attendanceSummary.includes("缺卡") ||
<el-tag type={"success"} size="mini"> arr[index].attendanceSummary.includes("迟到") ||
arr[index].attendanceSummary.includes("早退") ? (
<el-tag type={"danger"} size="mini">
{arr[index].attendanceSummary} {arr[index].attendanceSummary}
</el-tag> </el-tag>
) : ( ) : (
<el-tag type={"danger"} size="mini"> <el-tag type={"success"} size="mini">
{arr[index].attendanceSummary} {arr[index].attendanceSummary}
</el-tag> </el-tag>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment