Browse Source

Merge branch 'update' of http://git.shengws.com/zhangbj/xt_pad into update

csx 5 years ago
parent
commit
85c6b91330

+ 1 - 1
src/pages/main/PatientBox.vue View File

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 View File

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 View File

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