Browse Source

修改透析区逻辑

张保健 5 years ago
parent
commit
d07be33fad
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/main/WaitingArea.vue

+ 2 - 2
src/pages/main/WaitingArea.vue View File

306
         var scheduals = [];
306
         var scheduals = [];
307
         for (let index = 0; index < this.scheduals.length; index++) {
307
         for (let index = 0; index < this.scheduals.length; index++) {
308
           const schedual = this.scheduals[index];
308
           const schedual = this.scheduals[index];
309
-          if (schedual.assessment_before_dislysis == null || schedual.assessment_before_dislysis.weighing_before == 0) {
309
+          if (schedual.assessment_before_dislysis == null || schedual.assessment_before_dislysis.weight_before == 0) {
310
             scheduals.push(schedual);
310
             scheduals.push(schedual);
311
           }
311
           }
312
         }
312
         }
316
         var scheduals = [];
316
         var scheduals = [];
317
         for (let index = 0; index < this.scheduals.length; index++) {
317
         for (let index = 0; index < this.scheduals.length; index++) {
318
           const schedual = this.scheduals[index];
318
           const schedual = this.scheduals[index];
319
-          if (schedual.prescription == null || schedual.prescription.creater == 0) {
319
+          if (schedual.prescription == null || schedual.prescription.prescription_doctor == 0) {
320
             scheduals.push(schedual);
320
             scheduals.push(schedual);
321
           }
321
           }
322
         }
322
         }