Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
0eb05f15c3
  1. 15
      src/views/modules/base/huji/immigration/edit.vue

15
src/views/modules/base/huji/immigration/edit.vue

@ -767,12 +767,6 @@ export default {
message: '手机号格式有误' message: '手机号格式有误'
}) })
} }
this.submit()
}
})
},
async submit() {
if (this.fmData.isCHeck && this.userInfo && this.userInfo.resiHomeId) { if (this.fmData.isCHeck && this.userInfo && this.userInfo.resiHomeId) {
const { user } = this.$store.state const { user } = this.$store.state
if (user.agencyId == this.userInfo.resiAgencyId) { if (user.agencyId == this.userInfo.resiAgencyId) {
@ -783,14 +777,23 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.fmData.isReplace = '1' this.fmData.isReplace = '1'
this.submit()
}).catch(() => { }).catch(() => {
this.fmData.isReplace = '0' this.fmData.isReplace = '0'
this.submit()
}); });
return return
} }
} }
} else this.submit()
} }
})
},
async submit() {
let url = '' let url = ''
if (this.formType === 'add') { if (this.formType === 'add') {
url = '/epmetuser/icMoveIn/add' url = '/epmetuser/icMoveIn/add'

Loading…
Cancel
Save