bug修复-连点bug修复
parent
66f708e4e6
commit
71720df56f
|
@ -153,12 +153,14 @@ export default {
|
||||||
this.$message.error('请填写完整信息')
|
this.$message.error('请填写完整信息')
|
||||||
} else {
|
} else {
|
||||||
if (this.form.TYPE !== '2') {
|
if (this.form.TYPE !== '2') {
|
||||||
|
this.loading = true
|
||||||
requestFN('/xgf/user/approveMax', this.form)
|
requestFN('/xgf/user/approveMax', this.form)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.$message.success('推送成功')
|
this.$message.success('推送成功')
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('refresh', '')
|
this.$emit('refresh', '')
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
|
this.loading = false
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
@ -174,12 +176,14 @@ export default {
|
||||||
formData.append('weiTuoShu', this.form.APPOINT_ANNEX[i].raw)
|
formData.append('weiTuoShu', this.form.APPOINT_ANNEX[i].raw)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.loading = true
|
||||||
upload('/xgf/user/approveMax', formData)
|
upload('/xgf/user/approveMax', formData)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.$message.success('推送成功')
|
this.$message.success('推送成功')
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('refresh', '')
|
this.$emit('refresh', '')
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
|
this.loading = false
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
|
Loading…
Reference in New Issue