From 569c6b3e6b28b2808d22af4656c8f65a973c345e Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 07 五月 2025 09:07:11 +0800 Subject: [PATCH] 提交 --- admin/src/views/platform/index.vue | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/admin/src/views/platform/index.vue b/admin/src/views/platform/index.vue index 2e55a8a..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' @@ -280,6 +282,18 @@ }) }) }, + restore(item) { + this.$confirm('鎮ㄧ‘璁よ瀵硅浠诲姟杩涜鎭㈠浣滀笟鍚�', '娓╅Θ鎻愮ず', { + confirmButtonText: '纭畾', + cancelButtonText: '鍙栨秷', + type: 'warning' + }).then(() => { + restoreWork({ jobId: item.id }).then(ress => { + Message.success('鎭㈠浣滀笟鎴愬姛') + this.getPlatGroupList() + }) + }) + }, platgroupClick(item) { this.activeGroup = { ...item } this.circulInitTaskList() -- Gitblit v1.9.3