Browse Source

10月16日

XMLWAN 3 years ago
parent
commit
be63d7120b

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1969,7 +1969,7 @@
1969 1969
           this.is_open = 0
1970 1970
         }
1971 1971
         
1972
-        if(this.$store.getters.xt_user.org.id == 10101){
1972
+        if(this.$store.getters.xt_user.org.id == 10101 || this.$store.getters.xt_user.org.id == 10233){
1973 1973
           if (this.predialysis.id > 0 && this.predialysis.created_time > 0) {
1974 1974
             var date = new Date(this.predialysis.created_time * 1000)
1975 1975
             var year = date.getFullYear()

+ 1 - 2
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -179,7 +179,7 @@
179 179
             {{scope.row.count}}
180 180
           </template>
181 181
         </el-table-column>
182
-        <el-table-column label="总价5555" align="center">
182
+        <el-table-column label="总价" align="center">
183 183
           <template slot-scope="scope">
184 184
             <!-- {{scope.row.price * scope.row.count}} -->
185 185
             {{scope.row.total_price}}
@@ -233,7 +233,6 @@ export default {
233 233
       "-" +
234 234
       (nowDay < 10 ? "0" + nowDay : nowDay);
235 235
     var start_time = window.sessionStorage.getItem('start_out_time')
236
-    console.log("start",start)
237 236
      var end_time =  window.sessionStorage.getItem('end_out_time')
238 237
     if(start_time!=null){
239 238
        this.start_time = start_time   

+ 11 - 11
src/xt_pages/workforce/components/nextTableWeeks.vue View File

@@ -148,7 +148,7 @@
148 148
           <span v-if="org_id!=9987" >
149 149
              <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus!=''">
150 150
                 <span v-if="org_id!=10131&& org_id !=10215">{{ scope.row.dialysissolution.dialyzer_perfusion_apparatus }}</span>
151
-                <span v-if="org_id==10131 || org_id == 10215">{{ scope.row.dialysissolution.dialyzer_perfusion_apparatus }}</span>
151
+                <span v-if="org_id==10131 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id,scope.row.mode_id,scope.row.solution)  }}</span>
152 152
               
153 153
               </span>
154 154
              <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ getDialysisDialyszerPerfusion(scope.row.patient_id) }}</span>
@@ -629,18 +629,18 @@ export default {
629 629
         }
630 630
        return name
631 631
     },
632
-     getDialysisDialyszerPerfusionOne(patient_id){
633
-        var name = ""
634
-        for(let i=0;i<this.scheduleData.length;i++){
635
-          if(patient_id == this.scheduleData[i].patient_id){
636
-            var arrLength = this.scheduleData[i].dialysissolution.length
637
-            if(arrLength > 0){
638
-               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
639
-            }
632
+    getDialysisDialyszerPerfusionOne(patient_id,mode_id,solution) {
633
+        var name = ''
634
+        for (let i = 0; i < solution.length; i++) {
635
+          if (mode_id == solution[i].mode_id) {
636
+         
637
+            name = solution[i].dialyzer_perfusion_apparatus
638
+            
640 639
           }
641 640
         }
642
-       return name
643
-    },
641
+        console.log('name', name)
642
+        return name
643
+      },
644 644
     changeZone(val){
645 645
       this.zone = val
646 646
       this.getNextScheduleWeekDay()

+ 8 - 11
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -226,7 +226,7 @@
226 226
 
227 227
           <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.id > 0 ">{{getDialysisDialyszerPerfusion(scope.row.patient_id)}}</span>
228 228
           </span>
229
-                    <span v-if="org_id==10131 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id)}}</span>
229
+                    <span v-if="org_id==10131 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id,scope.row.mode_id,scope.row.solution)}}</span>
230 230
                     {{scope.row.prescription.dialysis_dialyszers}}
231 231
                     <span v-if="scope.row.prescription.dialysis_dialyszers!='' && scope.row.prescription.dialysis_irrigation!=''">/</span>
232 232
                     <span v-if="scope.row.prescription.dialysis_irrigation!=''">{{scope.row.prescription.dialysis_irrigation}}</span>
@@ -1503,17 +1503,14 @@
1503 1503
           }
1504 1504
         }
1505 1505
         return name
1506
-      }
1507
-      ,
1508
-      getDialysisDialyszerPerfusionOne(patient_id) {
1506
+      },
1507
+      getDialysisDialyszerPerfusionOne(patient_id,mode_id,solution) {
1509 1508
         var name = ''
1510
-        for (let i = 0; i < this.scheduleData.length; i++) {
1511
-          if (patient_id == this.scheduleData[i].patient_id) {
1512
-            // var arrLength = this.scheduleData[i].dialysissolution
1513
-            // console.log('病人ID', patient_id, '数组', this.scheduleData[i].dialysissolution)
1514
-            // if (arrLength > 0) {
1515
-            name = this.scheduleData[i].dialysissolution.dialyzer_perfusion_apparatus
1516
-            // }
1509
+        for (let i = 0; i < solution.length; i++) {
1510
+          if (mode_id == solution[i].mode_id) {
1511
+         
1512
+            name = solution[i].dialyzer_perfusion_apparatus
1513
+            
1517 1514
           }
1518 1515
         }
1519 1516
         console.log('name', name)

+ 11 - 11
src/xt_pages/workforce/next_remind_print.vue View File

@@ -64,7 +64,7 @@
64 64
                  <span v-if="org_id!=9987">
65 65
                      <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''">
66 66
                         <span v-if="org_id!=10131 && org_id!=10215">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
67
-                         <span v-if="org_id==10131 || org_id==9671 || org_id == 10215">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span>
67
+                         <span v-if="org_id==10131 || org_id==9671 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(main_collection.patient_id,main_collection.mode_id,main_collection.solution)  }}</span>
68 68
                      </span>
69 69
                      <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span>
70 70
                   </span>
@@ -417,18 +417,18 @@
417 417
         }
418 418
        return name
419 419
      },
420
-     getDialysisDialyszerPerfusionOne(patient_id){
421
-        var name = ""
422
-        for(let i=0;i<this.scheduleData.length;i++){
423
-          if(patient_id == this.scheduleData[i].patient_id){
424
-            var arrLength = this.scheduleData[i].dialysissolution.length
425
-            if(arrLength > 0){
426
-               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
427
-            }
420
+     getDialysisDialyszerPerfusionOne(patient_id,mode_id,solution) {
421
+        var name = ''
422
+        for (let i = 0; i < solution.length; i++) {
423
+          if (mode_id == solution[i].mode_id) {
424
+         
425
+            name = solution[i].dialyzer_perfusion_apparatus
426
+            
428 427
           }
429 428
         }
430
-       return name
431
-     }
429
+        console.log('name', name)
430
+        return name
431
+      },
432 432
     }
433 433
   }
434 434
 </script>

+ 11 - 13
src/xt_pages/workforce/remind_print.vue View File

@@ -65,7 +65,7 @@
65 65
                      <span > 
66 66
                        <span v-if="org_id!=10131 && org_id!=10215 && main_collection.prescription.dialyzer_perfusion_apparatus!=''">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
67 67
                      
68
-                       <span v-if="org_id==10131 || org_id==9671 || org_id == 10215">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span>
68
+                       <span v-if="org_id==10131 || org_id==9671 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(main_collection.patient_id,main_collection.mode_id,main_collection.solution)}}</span>
69 69
                       </span>
70 70
                      <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span> 
71 71
                   </span>
@@ -391,20 +391,18 @@
391 391
         }
392 392
        return name
393 393
      },
394
-
395
-     getDialysisDialyszerPerfusionOne(patient_id){
396
-        var name = ""
397
-        for(let i=0;i<this.scheduleData.length;i++){
398
-          if(patient_id == this.scheduleData[i].patient_id){
399
-            var arrLength = this.scheduleData[i].dialysissolution.length
400
-            if(arrLength > 0){
401
-               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
402
-            }
394
+    getDialysisDialyszerPerfusionOne(patient_id,mode_id,solution) {
395
+        var name = ''
396
+        for (let i = 0; i < solution.length; i++) {
397
+          if (mode_id == solution[i].mode_id) {
398
+         
399
+            name = solution[i].dialyzer_perfusion_apparatus
400
+            
403 401
           }
404 402
         }
405
-        console.log("name232333223",name)
406
-       return name
407
-     }
403
+        console.log('name', name)
404
+        return name
405
+      },
408 406
     },
409 407
   }
410 408
 </script>