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