【修改bug】流程修改显示的名称
This commit is contained in:
@@ -32,13 +32,17 @@
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{scope.row.$index}}
|
||||
<span v-if="scope.row.approvalResult == '1' || scope.row.approvalResult == '3' ">
|
||||
同意
|
||||
</span>
|
||||
<span v-else-if="scope.row.approvalResult == '2'">
|
||||
不同意
|
||||
不同意
|
||||
</span>
|
||||
<span v-else-if="!scope.row.approvalResult && scope.row.deleteReason=='completed'">发起</span>
|
||||
<span v-else-if="!scope.row.approvalResult && scope.row.deleteReason=='completed'" >
|
||||
{{scope.$index ===0 ? "发起":"重新发起"}}
|
||||
</span>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
||||
@@ -229,9 +229,12 @@ export default {
|
||||
if(item.endTime ){
|
||||
return item
|
||||
}
|
||||
if(item.name == '重新发起'){
|
||||
return item
|
||||
}
|
||||
})
|
||||
if(check.length > 0){
|
||||
this.$message.warning("请选择状态为未完成的数据")
|
||||
this.$message.warning("请选择状态为未完成并且任务步骤不为重新发起的数据")
|
||||
}else{
|
||||
this.$refs.monitorModal.open(this.checkList[0].id,this.prcId,this.checkList[0].assigneeId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user