From cf69b541f8ef1ac4fae24bd99b0259b7af035490 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期二, 21 十月 2025 10:16:12 +0800 Subject: [PATCH] 优化 --- admin/src/views/platform/queueUp.vue | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/admin/src/views/platform/queueUp.vue b/admin/src/views/platform/queueUp.vue index 2a367f4..637a23f 100644 --- a/admin/src/views/platform/queueUp.vue +++ b/admin/src/views/platform/queueUp.vue @@ -65,11 +65,12 @@ <span v-if="row.status == 7" class="primaryColor">杞Щ涓�</span> </template> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" width="100" fixed="right"> + <el-table-column label="鎿嶄綔" align="center" width="200" fixed="right"> <template slot-scope="{ row }"> <el-button v-if="row.billCode" type="text" @click="handleDetail(row)" v-permissions="['business:company:update']">杩愬崟璇︽儏</el-button> <el-button v-else type="text" @click="subDetail(row)">棰勭害璇︽儏</el-button> + <el-button type="text" @click="jiaji(row.id)">鍔犳��</el-button> </template> </el-table-column> </el-table> @@ -118,7 +119,8 @@ import { getPlatformGroupList, platformLineUpPage, - getPlatformGroupWork + getPlatformGroupWork, + jobUrge } from '@/api' import { queryQueueUpConfig } from './config' import WaybillDetail from './components/WaybillDetail.vue' @@ -174,6 +176,31 @@ this.$refs.PlatformSignRef.getList() }) }, + jiaji(id) { + this.$confirm('纭鍔犳�ュ悧锛�', '鎻愮ず', { + confirmButtonText: '纭畾', + cancelButtonText: '鍙栨秷', + type: 'warning' + }).then(() => { + jobUrge({ id }) + .then(res => { + this.getPlatGroupList() + }) + }).catch(() => { + + }); + // this.$dialog.exportConfirm('纭鍔犳�ュ悧锛�', { + // confirmButtonText: '纭畾', + // cancelButtonText: '鍙栨秷', + // }) + // .then(() => { + // jobUrge({ id }) + // .then(res => { + // this.getPlatGroupList() + // }) + // }) + // .catch(() => {}) + }, getPlatGroupList() { getPlatformGroupList({ queryData: 1, -- Gitblit v1.9.3