BUG 29221
This commit is contained in:
@@ -113,13 +113,15 @@ export default {
|
|||||||
submit() {
|
submit() {
|
||||||
this.$refs.DialogForm.validate(v => {
|
this.$refs.DialogForm.validate(v => {
|
||||||
if (v) {
|
if (v) {
|
||||||
|
let loading = this.$loading({text: "提交中..."})
|
||||||
this.instance.post("/app/apppartyintegralinfo/addOrUpdate", this.form).then(res => {
|
this.instance.post("/app/apppartyintegralinfo/addOrUpdate", this.form).then(res => {
|
||||||
|
loading.close()
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success("提交成功!")
|
this.$message.success("提交成功!")
|
||||||
this.dialog = false
|
this.dialog = false
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
}
|
}
|
||||||
})
|
}).catch(() => loading.close())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -115,13 +115,15 @@ export default {
|
|||||||
submit() {
|
submit() {
|
||||||
this.$refs.DialogForm.validate(v => {
|
this.$refs.DialogForm.validate(v => {
|
||||||
if (v) {
|
if (v) {
|
||||||
|
let loading = this.$loading({text: "提交中..."})
|
||||||
this.instance.post("/app/apppartyfourlinkage/addOrUpdate", this.form).then(res => {
|
this.instance.post("/app/apppartyfourlinkage/addOrUpdate", this.form).then(res => {
|
||||||
|
loading.close()
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success("提交成功!")
|
this.$message.success("提交成功!")
|
||||||
this.dialog = false
|
this.dialog = false
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
}
|
}
|
||||||
})
|
}).catch(() => loading.close())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user