Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
9e3ba34027
  1. 9
      src/views/components/resiChangeTransfer.vue

9
src/views/components/resiChangeTransfer.vue

@ -498,7 +498,8 @@ export default {
}, 2000)
this.$refs['ref_form'].validate((valid, messageObj) => {
if (!valid) {
app.util.validateRule(messageObj)
// app.util.validateRule(messageObj)
console.log('error submit!')
} else {
if (this.dataForm.type === 'in') {
@ -522,7 +523,9 @@ export default {
},
async saveForm () {
const url = '/epmetuser/changeRelocation/saveOutOfInfo'
// saveOutOfInfo
const url = '/epmetuser/changeRelocation/moveOutHome'
let noData = new Date()
noData = util.dateFormatter(noData, 'time')
this.dataForm.transferTime = noData
@ -530,7 +533,7 @@ export default {
const { data, code, msg } = await requestPost(url, this.dataForm)
if (code === 0) {
this.$message.success('调动成功')
this.$message.success('操作成功')
this.handleCancle()
} else {
this.$message.error(msg)

Loading…
Cancel
Save