From 6344e5c15a7b8f6b5f07cda6dc140ca9bdbe3429 Mon Sep 17 00:00:00 2001 From: liujun Date: Fri, 22 Dec 2023 17:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8Bbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/train/flow/components/list.vue | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/views/train/flow/components/list.vue b/src/views/train/flow/components/list.vue index f6de9bf..cf2631d 100644 --- a/src/views/train/flow/components/list.vue +++ b/src/views/train/flow/components/list.vue @@ -34,7 +34,12 @@ border fit highlight-current-row> - + @@ -172,11 +177,15 @@ export default { requestFN( '/trainingbatch/submitApplication', { xgf_user_ids: row.map(item => item.USER_ID).join(',') } ).then((data) => { - this.getList() - }) - this.$message({ - type: 'success', - message: '申请提交成功!' + if (data.code === '0') { + this.$message({ + type: 'success', + message: '申请提交成功!' + }) + this.getList() + } else { + this.$message.error(data.msg) + } }) }).catch(() => { this.$message({