From 5c76f242b20281b51d01ce2266e8beaafe8ae5a6 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期五, 15 九月 2023 10:00:34 +0800 Subject: [PATCH] 改bug --- src/components/view/processInspectionUpdate.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/view/processInspectionUpdate.vue b/src/components/view/processInspectionUpdate.vue index decd795..eb9627c 100644 --- a/src/components/view/processInspectionUpdate.vue +++ b/src/components/view/processInspectionUpdate.vue @@ -103,7 +103,7 @@ > --> </el-col> </el-row> - <el-table :data="inspectionItems" max-height="420" :span-method="handleSpanMethod" height="calc(100vh - 550px)" + <el-table border :data="inspectionItems" max-height="420" :span-method="handleSpanMethod" height="calc(100vh - 550px)" style="width: 100%"> <el-table-column type="index" label="搴忓彿" width="60"></el-table-column> <el-table-column label="椤圭洰" prop="father"></el-table-column> @@ -323,18 +323,26 @@ this.$axios.post(this.$api.url.processInspectUpdateProcessInspectsById, { id: this.detailId }).then(res => { - console.log(res); if (res.code == 200) { + if(res.message==='椤圭洰鏈楠屽畬!'){ + this.$message({ + message: res.message, + type: 'warning' + }); + return + } this.$message({ message: '涓婃姤鎴愬姛', type: 'success' }); + this.$parent.combackMain(true) } else { this.$message({ message: res.message, type: 'warning' }); } + }) }, handleClick() { }, -- Gitblit v1.9.3