diff --git a/src/project/hljmz/AppRecoScore/rsApproval.vue b/src/project/hljmz/AppRecoScore/rsApproval.vue index ff6b2fe0..29ec2c83 100644 --- a/src/project/hljmz/AppRecoScore/rsApproval.vue +++ b/src/project/hljmz/AppRecoScore/rsApproval.vue @@ -74,29 +74,31 @@ export default { }, handleReject() { if (this.check()) { + uni.showLoading({title: "提交中..."}) const {$route: {query: {taskDetailId}}, detail: fields} = this this.$http.post("/app/appassessmentscorev2task/examine", { taskDetailId, pass: false, fields }).then(res => { if (res?.code == 0) { this.$u.toast("提交成功!") - setTimeout(()=>uni.reLaunch({url:"./AppRecoScore"}),1500) + setTimeout(() => uni.reLaunch({url: "./AppRecoScore"}), 1500) } - }) + }).finally(uni.hideLoading) } }, handlePass() { if (this.check()) { + uni.showLoading({title: "提交中..."}) const {$route: {query: {taskDetailId}}, detail: fields} = this this.$http.post("/app/appassessmentscorev2task/examine", { taskDetailId, pass: true, fields }).then(res => { if (res?.code == 0) { this.$u.toast("提交成功!") - setTimeout(()=>uni.reLaunch({url:"./AppRecoScore"}),1500) + setTimeout(() => uni.reLaunch({url: "./AppRecoScore"}), 1500) } - }) + }).finally(uni.hideLoading) } }, check() { @@ -123,7 +125,7 @@ export default {