fix: 上下班打卡颜色
This commit is contained in:
parent
ab88bc38ee
commit
c6c6a8d321
|
@ -71,7 +71,9 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="打卡类型" prop="number">
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.type==10 || scope.row.type==20">
|
||||
<el-tag :type="type_[scope.row.type].color">{{type_[scope.row.type].label}}</el-tag>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="触发形式" prop="type">
|
||||
|
@ -120,7 +122,7 @@
|
|||
selection: [],
|
||||
type_:{
|
||||
10: {"label": "上班打卡", "color": ""},
|
||||
20: {"label": "下班打卡", "color": "success"}
|
||||
20: {"label": "下班打卡", "color": "success"},
|
||||
},
|
||||
epOptions:{
|
||||
"employee": "正式员工",
|
||||
|
|
Loading…
Reference in New Issue