From 1a747622d46bc641b10c90266cc4bbd76a706e38 Mon Sep 17 00:00:00 2001 From: wanglei Date: Wed, 12 Nov 2025 11:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AF=84=E5=88=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/votepage.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ruoyi-ui/src/views/votepage.vue b/ruoyi-ui/src/views/votepage.vue index ab5f77d..5901f4f 100644 --- a/ruoyi-ui/src/views/votepage.vue +++ b/ruoyi-ui/src/views/votepage.vue @@ -219,6 +219,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + const loading1 = this.$loading({ + lock: true, + text: '提交中,请等待...', + spinner: 'el-icon-more', + }); VoteEmpSubmit({ khitemTypeid : this.vote.khitemTypeid, pingceId : this.vote.pingceId, @@ -228,8 +233,11 @@ export default { uid : 1, voteEmpList: voteEmpList }).then(response => { + loading1.close() this.$modal.msgSuccess("提交成功"); this.$router.go(-1) + }).catch(()=>{ + loading1.close() }); }).catch(() => { this.$message({