From c3aaf28f7316cce12eec007a9f85a96cbcddeec2 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 07 五月 2025 10:34:20 +0800 Subject: [PATCH] 最新版本541200007 --- admin/src/views/platform/index.vue | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/admin/src/views/platform/index.vue b/admin/src/views/platform/index.vue index ba7ef07..ff9dd46 100644 --- a/admin/src/views/platform/index.vue +++ b/admin/src/views/platform/index.vue @@ -95,6 +95,7 @@ </div> <div class="right"> <el-button v-if="task.status == 5" plain @click="handleErr(task)">寮傚父鎸傝捣</el-button> + <el-button v-if="task.status == 8" plain @click="restore(task)">鎭㈠浣滀笟</el-button> <el-button v-if="task.status == 5 || task.status == 8" plain @click="handleTransform(item, task)">杞Щ鏈堝彴</el-button> <el-button v-if="task.status == 4" plain @click="handlePass(task)">杩囧彿</el-button> @@ -163,7 +164,8 @@ platformMove, updUserPlatformConfig, - listByGroupId + listByGroupId, + restoreWork } from '@/api' import PlatformQueuing from './components/PlatformQueuing.vue' import WaybillDetail from './components/WaybillDetail.vue' @@ -276,6 +278,18 @@ }).then(() => { platformErr({ jobId: item.id }).then(ress => { Message.success('寮傚父鎸傝捣鎴愬姛') + this.getPlatGroupList() + }) + }) + }, + restore(item) { + this.$confirm('鎮ㄧ‘璁よ瀵硅浠诲姟杩涜鎭㈠浣滀笟鍚�', '娓╅Θ鎻愮ず', { + confirmButtonText: '纭畾', + cancelButtonText: '鍙栨秷', + type: 'warning' + }).then(() => { + restoreWork({ jobId: item.id }).then(ress => { + Message.success('鎭㈠浣滀笟鎴愬姛') this.getPlatGroupList() }) }) @@ -420,7 +434,7 @@ @import "@/assets/style/variables.scss"; .platform_list { - width: 100%; + width: calc(100% - 20px); .item { /* padding: 16px 24px; */ -- Gitblit v1.9.3