From c09357455998914597d00512167b6e96550518f7 Mon Sep 17 00:00:00 2001 From: wanglei Date: Mon, 3 Nov 2025 10:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E5=88=86=E8=B4=A6=E5=8F=B7=E7=94=9F?= =?UTF-8?q?=E6=88=90=20=E6=8F=90=E4=BA=A4=E6=9C=9F=E9=97=B4=E7=A1=AE?= =?UTF-8?q?=E5=AE=9A=E6=8C=89=E9=92=AE=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/kaohe/pingce/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/kaohe/pingce/index.vue b/ruoyi-ui/src/views/kaohe/pingce/index.vue index b303769..0893720 100644 --- a/ruoyi-ui/src/views/kaohe/pingce/index.vue +++ b/ruoyi-ui/src/views/kaohe/pingce/index.vue @@ -598,7 +598,7 @@ @@ -850,6 +850,7 @@ export default { vote_options: [], // 生成评分账号 scpfzhOpen: false, + scpfzhLoading: false, scpfzhForm: {}, scpfzhRules: { deptId: [ @@ -1564,6 +1565,7 @@ export default { }, // 提交生成评分账号 scpfzhSubmit(){ + this.scpfzhLoading = true; this.$refs["scpfzhForm"].validate(valid => { if (valid) { this.scpfzhForm.voteIds = this.scpfzhForm.votes.map(item => item.id).join(","); @@ -1576,8 +1578,11 @@ export default { num: this.scpfzhForm.num, itemNames: itemNames, }).then(response => { + this.scpfzhLoading = false; this.scpfzhOpen = false; this.$modal.msgSuccess("生成成功") + }).catch(()=>{ + this.scpfzhLoading = false; }) } })