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;