diff --git a/ruoyi-ui/src/views/kaohe/pingce/index.vue b/ruoyi-ui/src/views/kaohe/pingce/index.vue index fdb786d..b303769 100644 --- a/ruoyi-ui/src/views/kaohe/pingce/index.vue +++ b/ruoyi-ui/src/views/kaohe/pingce/index.vue @@ -638,7 +638,7 @@ @@ -866,6 +866,7 @@ export default { scpfzhItemsOpts:[], // 多任务生成评分账号 drwScpfzhOpen: false, + drwScpfzhLoading: false, // 多任务生成评分账号 drwScpfzhForm: [], /** 选择模板*/ @@ -1676,6 +1677,7 @@ export default { }, // 多任务提交生成评分账号 drwScpfzhSubmit(){ + this.drwScpfzhLoading = true this.$refs["drwScpfzhForm"].validate(valid => { if (valid) { let VoteIds=[]; @@ -1692,8 +1694,11 @@ export default { itemNames: itemNames, voteIds: VoteIds.join(','), }).then(response => { + this.drwScpfzhLoading = false; this.drwScpfzhOpen = false; this.$modal.msgSuccess("生成成功"); + }).catch(()=>{ + this.drwScpfzhLoading = false; }) } })