From 47d7d2c1e141d805b28c54ac8cf6d5b6f1a2610d Mon Sep 17 00:00:00 2001
From: shikeying <pxzsky@163.com>
Date: 星期三, 22 三月 2023 14:27:55 +0800
Subject: [PATCH] 演示请假流程

---
 src/views/activiti/task/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/activiti/task/index.vue b/src/views/activiti/task/index.vue
index a977981..f5ed247 100644
--- a/src/views/activiti/task/index.vue
+++ b/src/views/activiti/task/index.vue
@@ -17,7 +17,7 @@
             type="text"
             icon="el-icon-edit"
             @click="examineAndApprove (scope.row)"
-            v-hasPermi="['workflow:leave:edit']"
+            v-hasPermi="['wf:task:**']"
           >瀹℃壒
           </el-button>
         </template>
@@ -143,8 +143,8 @@
         console.log(row)
         this.reset();
         this.definitionKey = row.definitionKey;
-          this.businessKey = row.businessKey;
-         this.id=row.id;
+        this.businessKey = row.businessKey;
+        this.id=row.id;
         formDataShow(row.id).then(response => {
           // FormProperty_3qipis2--__!!radio--__!!瀹℃壒鎰忚--__!!i--__!!鍚屾剰--__--涓嶅悓鎰�
           // FormProperty_0lffpcm--__!!textarea--__!!鎵规敞--__!!f--__!!null
@@ -178,7 +178,7 @@
       /** 鎻愪氦鎸夐挳 */
       submitForm() {
         formDataSave(this.id,this.form.formData).then(response => {
-          this.msgSuccess("瀹℃壒鎴愬姛");
+          this.$modal.msgSuccess("瀹℃壒鎴愬姛");
           this.open = false;
           this.getList();
         });

--
Gitblit v1.9.1