From e1c24d5ac92e89b214efe5a313b31459ddab537f Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 24 九月 2024 16:43:51 +0800
Subject: [PATCH] ll
---
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