From deb2a67c1a9824b288ce4a7a228347ffd60964fe Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 24 九月 2024 18:25:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 admin/src/views/platform/LogisticsRecord/leaveAuth.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/admin/src/views/platform/LogisticsRecord/leaveAuth.vue b/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
index 116e23f..efacbd1 100644
--- a/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
+++ b/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
@@ -47,7 +47,7 @@
       <el-table-column label="鎿嶄綔" align="center" fixed="right" min-width="100" show-overflow-tooltip>
         <template v-slot="scope">
           <el-button type="text" v-permissions="['business:platformbooks:detail']"
-            @click="handleAuth(scope.row)">绂昏繙鎺堟潈</el-button>
+            @click="handleAuth(scope.row)">绂诲洯鎺堟潈</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -171,12 +171,11 @@
       })
     },
     handleAuth(row) {
-      this.$confirm('鏄惁瀵瑰綋鍓嶈繍鍗曠殑杞﹁締杩涜绂诲洯鎺堟潈锛屾槸鍒欒繘琛岀鍥巿鏉冿紵', '鎻愮ず', {
+      this.$prompt('澶囨敞', '绂诲洯鎺堟潈', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
-        type: 'warning'
-      }).then(() => {
-        platformPowerLevel({ jobId: row.id }).then(res => {
+      }).then(({ remark }) => {
+        platformPowerLevel({ jobId: row.id,remark }).then(res => {
           Message.success('绂诲洯鎺堟潈鎴愬姛')
           this.getList()
         })

--
Gitblit v1.9.3