From 362ec4c6c00747fb869b97ad3f0f3ce12b3e47aa Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 10 十月 2024 15:15:46 +0800
Subject: [PATCH] 代码初始化

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

diff --git a/admin/src/views/platform/LogisticsRecord/leaveAuth.vue b/admin/src/views/platform/LogisticsRecord/leaveAuth.vue
index 5a0dfa0..032b282 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>
@@ -121,7 +122,7 @@
           {
             filed: 'selDate',
             type: 'datetimerange',
-            label: '鎿嶄綔鏃堕棿',
+            label: '浣滀笟瀹屾垚鏃堕棿鎼滅储',
             pickerOptions: {}
           },
           {
@@ -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