Commit 656b5afd authored by 赵啸非's avatar 赵啸非

修改时间

parent 990f8b6d
...@@ -93,14 +93,14 @@ export default { ...@@ -93,14 +93,14 @@ export default {
label: "状态", prop: "processStatus", formatter: (row) => { label: "状态", prop: "processStatus", formatter: (row) => {
let str="未开始" let str="未开始"
if(row.processStatus==1){ if(row.processStatus===1){
str="进行中" str="进行中"
}else if (row.processStatus==2){ }else if (row.processStatus===2){
str="已结束" str="已结束"
} }
return ( return (
<el-tag type={row.processStatus ? row.processStatus == 2 ? 'success' : 'info' : 'danger'} size="small"> <el-tag size="small">
{str} {{str}}
</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