From 542e1d6cb7986ad6829140faab6dc83acb31e2a0 Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期一, 25 八月 2025 12:32:07 +0800
Subject: [PATCH] 1
---
src/views/flow/donelist.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/views/flow/donelist.vue b/src/views/flow/donelist.vue
index 991fe68..2cb3a15 100644
--- a/src/views/flow/donelist.vue
+++ b/src/views/flow/donelist.vue
@@ -11,7 +11,7 @@
@size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad" >
<template #menu="scope">
<el-button type="primary" text size="default" @click.stop="handleView(scope.row, scope.index)">鏌ョ湅</el-button>
- <el-button type="primary" text size="default" @click.stop="handleWithdraw(scope.row, scope.index)">鎾ゅ洖</el-button>
+ <el-button type="primary" :disabled="scope.row.processIsFinished=='false'" v-if="permission.withdraw_button" text size="default" @click.stop="handleWithdraw(scope.row, scope.index)">鎾ゅ洖</el-button>
</template>
</avue-crud>
@@ -333,7 +333,7 @@
this.dialogVisible = true;
},
handleWithdraw(row) {
- console.log(row,row.processInstanceId)
+ //console.log(row,row.processInstanceId)
this.$confirm('纭瑕佹挙鍥炲悧锛�', '', {
confirmButtonText: this.$t('submitText'),
cancelButtonText: this.$t('cancelText'),
@@ -416,7 +416,14 @@
this.loading = false;
});
},
+ at1(){
+ console.log('computed')
+ }
+ },
+ computed: {
+
+ ...mapGetters(['userInfo', 'permission']),
}
}
</script>
--
Gitblit v1.9.3