流程管理 当状态为已完成时 不能强制撤回

This commit is contained in:
yuekuo
2023-04-17 09:37:54 +08:00
parent 4ced830d2d
commit 5f3999194c
2 changed files with 10 additions and 4 deletions
@@ -27,7 +27,7 @@
查看
</el-button>
<el-button @click.native.prevent="back(scope.$index, tableData)" type="text" size="small"
<el-button :disabled="tableData[scope.$index].status=='已完成'" @click.native.prevent="back(scope.$index, tableData)" type="text" size="small"
>
<span style="color: rgb(236, 128, 141)">强制撤回</span>
</el-button>
@@ -48,6 +48,7 @@ export default {
processName: "王小虎",
processPerson: "上海市普陀区金沙江路 1518 弄",
createTime: "2023-1-1",
status:'已完成'
},
{
processId: "2016-05-2",
@@ -85,8 +86,9 @@ export default {
view() {
alert(111);
},
back() {
alert(222);
back(index,tableData) {
console.log('index',index);
console.log('tableData',tableData);
},
},
};