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({