瀏覽代碼

修改候诊区显示

张保健 5 年之前
父節點
當前提交
831ec618a7
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      src/pages/main/PatientBox.vue
  2. 3 3
      src/pages/main/WaitingArea.vue
  3. 1 1
      src/pages/main/today/TodayTab.vue

+ 1 - 1
src/pages/main/PatientBox.vue 查看文件

137
           // 未签到称重
137
           // 未签到称重
138
           return 5
138
           return 5
139
         }
139
         }
140
-        if(schedual.prescription == null || schedual.prescription.prescription_doctor == 0){
140
+        if(schedual.prescription == null || schedual.prescription.creater == 0){
141
           // 未确认处方
141
           // 未确认处方
142
           return 6
142
           return 6
143
         }
143
         }

+ 3 - 3
src/pages/main/WaitingArea.vue 查看文件

270
           var scheduals = [];
270
           var scheduals = [];
271
           for (let index = 0; index < this.scheduals.length; index++) {
271
           for (let index = 0; index < this.scheduals.length; index++) {
272
             const schedual = this.scheduals[index];
272
             const schedual = this.scheduals[index];
273
-            if (schedual.prescription == null || schedual.prescription.prescription_doctor == 0) {
273
+            if (schedual.prescription == null || schedual.prescription.creater == 0) {
274
               if(this.cur_zone_selected > 0 && schedual.device_number.zone.id != this.cur_zone_selected) {
274
               if(this.cur_zone_selected > 0 && schedual.device_number.zone.id != this.cur_zone_selected) {
275
                 continue
275
                 continue
276
               }
276
               }
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.prescription_doctor == 0) {
319
+          if (schedual.prescription == null || schedual.prescription.creater == 0) {
320
             scheduals.push(schedual);
320
             scheduals.push(schedual);
321
           }
321
           }
322
         }
322
         }
381
           schedualMap[schedual.device_number.zone.id] = [];
381
           schedualMap[schedual.device_number.zone.id] = [];
382
         }
382
         }
383
         if (this.select_index == 1) {
383
         if (this.select_index == 1) {
384
-            if(schedual.prescription == null || schedual.prescription.prescription_doctor == 0){
384
+            if(schedual.prescription == null || schedual.prescription.creater == 0){
385
             schedualMap[schedual.device_number.zone.id].push(schedual);
385
             schedualMap[schedual.device_number.zone.id].push(schedual);
386
             prescription_count++
386
             prescription_count++
387
           }
387
           }

+ 1 - 1
src/pages/main/today/TodayTab.vue 查看文件

332
           {title: '治疗小结', name: 'treatment_of', value: 0}
332
           {title: '治疗小结', name: 'treatment_of', value: 0}
333
         ]
333
         ]
334
 
334
 
335
-        if (!isNaN(this.prescription.id) && this.prescription.id > 0 && this.prescription.prescription_doctor> 0) {
335
+        if (!isNaN(this.prescription.id) && this.prescription.id > 0 && this.prescription.creater> 0) {
336
           steps[0].value = 1
336
           steps[0].value = 1
337
         }
337
         }
338
         if (
338
         if (