From 71631bf2ca44b4847f114231c424c4f5381b2269 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 20 Apr 2022 17:46:45 +0800 Subject: [PATCH] BUG 29221 --- packages/party/AppPartyScoreFlow/psfList.vue | 4 +++- project/sanjianxi/apps/AppHelpByNeighbours/hbnList.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/party/AppPartyScoreFlow/psfList.vue b/packages/party/AppPartyScoreFlow/psfList.vue index da46a4ea..b31e767b 100644 --- a/packages/party/AppPartyScoreFlow/psfList.vue +++ b/packages/party/AppPartyScoreFlow/psfList.vue @@ -113,13 +113,15 @@ export default { submit() { this.$refs.DialogForm.validate(v => { if (v) { + let loading = this.$loading({text: "提交中..."}) this.instance.post("/app/apppartyintegralinfo/addOrUpdate", this.form).then(res => { + loading.close() if (res?.code == 0) { this.$message.success("提交成功!") this.dialog = false this.getTableData() } - }) + }).catch(() => loading.close()) } }) }, diff --git a/project/sanjianxi/apps/AppHelpByNeighbours/hbnList.vue b/project/sanjianxi/apps/AppHelpByNeighbours/hbnList.vue index 2cde14c1..36432800 100644 --- a/project/sanjianxi/apps/AppHelpByNeighbours/hbnList.vue +++ b/project/sanjianxi/apps/AppHelpByNeighbours/hbnList.vue @@ -115,13 +115,15 @@ export default { submit() { this.$refs.DialogForm.validate(v => { if (v) { + let loading = this.$loading({text: "提交中..."}) this.instance.post("/app/apppartyfourlinkage/addOrUpdate", this.form).then(res => { + loading.close() if (res?.code == 0) { this.$message.success("提交成功!") this.dialog = false this.getTableData() } - }) + }).catch(() => loading.close()) } }) },