Browse Source

progress

master
pengjun 2 years ago
parent
commit
12698ec3bf
  1. 3
      src/components/patientRegister/PatientRegisterList.vue

3
src/components/patientRegister/PatientRegisterList.vue

@ -855,6 +855,8 @@ export default {
return; return;
} }
this.elProgress.display = true
this.elProgress.percentage = 0
for (let i = 0; i < this.multipleSelection.length; i++) { for (let i = 0; i < this.multipleSelection.length; i++) {
groupBatch.patientRegisterId = this.multipleSelection[i].id; groupBatch.patientRegisterId = this.multipleSelection[i].id;
try { try {
@ -862,6 +864,7 @@ export default {
} catch (error) { } catch (error) {
console.log(error); console.log(error);
} }
this.elProgress.percentage = Math.floor((i+1)*100/this.multipleSelection.length)
} }
this.$message.success("操作成功!"); this.$message.success("操作成功!");
this.dialogGroup = false; this.dialogGroup = false;

Loading…
Cancel
Save