From 12698ec3bfe7cbab3557e48bc48d830223a7e512 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Tue, 10 Oct 2023 18:19:20 +0800 Subject: [PATCH] progress --- src/components/patientRegister/PatientRegisterList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index 528aca9..3712d8a 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -855,6 +855,8 @@ export default { return; } + this.elProgress.display = true + this.elProgress.percentage = 0 for (let i = 0; i < this.multipleSelection.length; i++) { groupBatch.patientRegisterId = this.multipleSelection[i].id; try { @@ -862,6 +864,7 @@ export default { } catch (error) { console.log(error); } + this.elProgress.percentage = Math.floor((i+1)*100/this.multipleSelection.length) } this.$message.success("操作成功!"); this.dialogGroup = false;