From 0adb696e7fade5eeb02396e5d4bacf9355ca5e2e Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 08 十月 2024 14:28:36 +0800
Subject: [PATCH] ''

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

diff --git a/admin/src/views/platform/LogisticsRecord/leaveAuth.vue b/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
index 5a0dfa0..688c2ef 100644
--- a/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
+++ b/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
@@ -50,8 +50,9 @@
       <el-table-column prop="remark" label="澶囨敞" min-width="150" show-overflow-tooltip />
       <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']"
+          <el-button v-if="scope.row.status == 6" type="text" v-permissions="['business:platformbooks:detail']"
             @click="handleAuth(scope.row)">绂诲洯鎺堟潈</el-button>
+            <span v-else>-</span>
         </template>
       </el-table-column>
     </el-table>
@@ -178,8 +179,8 @@
       this.$prompt('澶囨敞', '绂诲洯鎺堟潈', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
-      }).then(({ remark }) => {
-        platformPowerLevel({ jobId: row.id, remark }).then(res => {
+      }).then(({ value }) => {
+        platformPowerLevel({ jobId: row.id, remark: value }).then(res => {
           Message.success('绂诲洯鎺堟潈鎴愬姛')
           this.getList()
         })

--
Gitblit v1.9.3