From 98250a7cff913563152ae8b313c7f45cc27545ba Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 27 二月 2025 09:13:50 +0800 Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit --- admin/src/views/business/visits.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/admin/src/views/business/visits.vue b/admin/src/views/business/visits.vue index bf7cde0..bfac6a3 100644 --- a/admin/src/views/business/visits.vue +++ b/admin/src/views/business/visits.vue @@ -96,7 +96,8 @@ icon="el-icon-edit" v-if="row.status == 6">閲嶆柊涓嬪彂</el-button> <!-- <el-button type="text" @click="$refs.OperaVisitsDesWindow.open('璇︽儏', row.id)" icon="el-icon-view">璇︽儏</el-button> --> <el-button type="text" @click="handleDetail(row)" icon="el-icon-view">璇︽儏</el-button> - <!-- <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:visits:delete']">鏌ヨ瀹℃壒缁撴灉</el-button>--> + <el-button type="text" icon="el-icon-delete" @click="deleteById(row)" style="color: red" v-permissions="['business:visits:delete']">鍒犻櫎</el-button> + <!-- <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:visits:delete']">鏌ヨ瀹℃壒缁撴灉</el-button>--> </template> </el-table-column> </el-table> @@ -164,15 +165,16 @@ }) }, departure(id) { - this.$confirm('纭畾绂诲巶鍚�, 鏄惁缁х画?', '鎻愮ず', { + this.$confirm('纭畾杩涜绂诲満鎿嶄綔鍚楋紝璇ユ搷浣滀笉鍙�嗚璋ㄦ厧鎿嶄綔, 鏄惁缁х画?', '鎻愮ず', { confirmButtonText: '纭畾', cancelButtonText: '鍙栨秷', type: 'warning' }).then(() => { - level(id) + this.api.level(id) .then(res => { + this.$message.success('鎿嶄綔鎴愬姛') this.page = 1 - this.getData() + this.search() }) }).catch(() => { @@ -184,10 +186,10 @@ cancelButtonText: '鍙栨秷', type: 'warning' }).then(() => { - visitCancel(id) + this.api.visitCancel(id) .then(res => { this.page = 1 - this.getData() + this.search() }) }).catch(() => { @@ -202,7 +204,7 @@ this.api.visitResend(id) .then(res => { this.page = 1 - this.getData() + this.search() }) }).catch(() => { -- Gitblit v1.9.3