diff --git a/src/views/xgf/flowApply/components/apply.vue b/src/views/xgf/flowApply/components/apply.vue index 6775299..b9835f9 100644 --- a/src/views/xgf/flowApply/components/apply.vue +++ b/src/views/xgf/flowApply/components/apply.vue @@ -247,7 +247,6 @@ export default { }).catch((e) => { }) }, - save() { this.$refs.form.validate(valid => { if (valid) { @@ -255,11 +254,14 @@ export default { this.form.USER_COUNT = this.users.length this.form.AUDIT_STATUS = 0 this.form.TYPE = 2 + const userIds = this.users.map((item) => { return item.XGF_USER_ID }) requestFN( '/trainingbatch/add', { ...this.form, - users: this.users.join(',') + users: userIds.join(','), + BELONG_TO_CORP: this.users[0].BELONG_TO_CORP, + BELONG_TO_CORP_NAME: this.users[0].BELONG_TO_CORP_NAME } ).then((data) => { this.loading = false @@ -278,6 +280,7 @@ export default { }, handleClose() { this.visible = false + this.$emit('refresh', '') }, closeWindow() { this.visible = false diff --git a/src/views/xgf/flow_audit/index.vue b/src/views/xgf/flow_audit/index.vue index 2cc1e97..bf75d0d 100644 --- a/src/views/xgf/flow_audit/index.vue +++ b/src/views/xgf/flow_audit/index.vue @@ -1,4 +1,4 @@ -