Преглед изворни кода

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 пре 2 дана
родитељ
комит
2255a83833
48 измењених фајлова са 850 додато и 80 уклоњено
  1. 7 1
      src/api/dialysis.js
  2. 4 4
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  3. 48 2
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  4. 102 0
      src/xt_pages/dialysis/details/consumable/dialysisGather.vue
  5. 95 0
      src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue
  6. 1 0
      src/xt_pages/dialysis/details/consumable/dialysisParameter.vue
  7. 2 1
      src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue
  8. 1 1
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  9. 1 1
      src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue
  10. 100 10
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  11. 4 4
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  12. 2 2
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  13. 77 5
      src/xt_pages/dialysis/details/index.vue
  14. 1 1
      src/xt_pages/dialysis/doctorAdvicePrint.vue
  15. 2 2
      src/xt_pages/dialysis/signPrint.vue
  16. 8 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  17. 8 0
      src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue
  18. 6 1
      src/xt_pages/hospitalStation/treatTemplate/printOne.vue
  19. 6 1
      src/xt_pages/hospitalStation/treatTemplate/printTwo.vue
  20. 6 1
      src/xt_pages/outpatientDoctorStation/template/printOne.vue
  21. 5 1
      src/xt_pages/user/Informed/components/Bring_informed.vue
  22. 6 2
      src/xt_pages/user/Informed/components/CRRT_informed.vue
  23. 6 2
      src/xt_pages/user/Informed/components/Death_informed.vue
  24. 6 2
      src/xt_pages/user/Informed/components/Disease_diagnosis.vue
  25. 7 1
      src/xt_pages/user/Informed/components/Falloutbedprint.vue
  26. 5 1
      src/xt_pages/user/Informed/components/Filter_informed.vue
  27. 5 1
      src/xt_pages/user/Informed/components/Highrisk_informed.vue
  28. 5 1
      src/xt_pages/user/Informed/components/Surrender_informed.vue
  29. 5 1
      src/xt_pages/user/Informed/components/Terminate_informed.vue
  30. 5 1
      src/xt_pages/user/Informed/components/anticoagulation_informed.vue
  31. 5 1
      src/xt_pages/user/Informed/components/arteriovenous_informed.vue
  32. 5 1
      src/xt_pages/user/Informed/components/catheterization_informed.vue
  33. 6 2
      src/xt_pages/user/Informed/components/critical_informed.vue
  34. 5 1
      src/xt_pages/user/Informed/components/criticalpatient_informed.vue
  35. 5 1
      src/xt_pages/user/Informed/components/criticalpatient_informed2.vue
  36. 5 1
      src/xt_pages/user/Informed/components/dialyzer_informed.vue
  37. 5 1
      src/xt_pages/user/Informed/components/heal_informed.vue
  38. 5 1
      src/xt_pages/user/Informed/components/hemodialysis.vue
  39. 5 1
      src/xt_pages/user/Informed/components/hemoperfusion_informed.vue
  40. 5 1
      src/xt_pages/user/Informed/components/informef_Twentyfive.vue
  41. 5 1
      src/xt_pages/user/Informed/components/informef_Twentyfour.vue
  42. 5 1
      src/xt_pages/user/Informed/components/informef_Twentysevre.vue
  43. 5 1
      src/xt_pages/user/Informed/components/informef_Twentysix.vue
  44. 5 1
      src/xt_pages/user/Informed/components/nonheparin_informed.vue
  45. 5 1
      src/xt_pages/user/Informed/components/profunda_informed.vue
  46. 5 1
      src/xt_pages/user/Informed/components/therapy_informed.vue
  47. 170 5
      src/xt_pages/user/dialysisSolution.vue
  48. 63 6
      src/xt_pages/workforce/remind_print_setting.vue

+ 7 - 1
src/api/dialysis.js Прегледај датотеку

@@ -145,7 +145,13 @@ export function getDialysisRecord(params) {
145 145
 }
146 146
 
147 147
 export function postPrescription(params) {
148
-  console.log('params', params)
148
+   
149
+ 
150
+   if(params.patient_id == undefined){
151
+    if(params.patient > 0){
152
+      params.patient_id = params.patient
153
+     }
154
+   }
149 155
   return request({
150 156
     url: '/api/dialysis/prescription',
151 157
     method: 'Post',

+ 4 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Прегледај датотеку

@@ -829,7 +829,7 @@
829 829
                         </div>
830 830
                         kg
831 831
                       </div>
832
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745&& org_id!=9478">
832
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745&& org_id!=9478 && org_id!=10766">
833 833
                         <span v-if="org_id != 10683">计划超滤量:</span>
834 834
                         <span v-if="org_id == 10683">预脱:</span>
835 835
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -846,7 +846,7 @@
846 846
                           v-if="org_id != 10395 && org_id != 9829 && org_id != 10440 && org_id != 10469 && org_id != 10460 && org_id != 10624 && org_id != 10644">L</span>
847 847
                       </div>
848 848
 
849
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id == 10745|| org_id == 9478">
849
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id == 10745|| org_id == 9478 || org_id == 10766">
850 850
                         <span v-if="org_id != 10683 && org_id!=10745">计划超滤量:</span>
851 851
                         <span v-if="org_id == 10683">预脱:</span>
852 852
                         <span v-if="org_id == 10745 || org_id == 9478">处方脱水量</span>
@@ -858,8 +858,8 @@
858 858
                               : "/"
859 859
                           }}
860 860
                         </div>
861
-                        <span v-if="org_id != 10598 && org_id != 10471 && org_id!=10745 && org_id!=9478"> ml</span>
862
-                        <span v-if="org_id == 10598 || org_id == 10471 || org_id == 10745 || org_id == 9478"> L</span>
861
+                        <span v-if="org_id != 10598 && org_id != 10471 && org_id!=10745 && org_id!=9478&& org_id!=10766"> ml</span>
862
+                        <span v-if="org_id == 10598 || org_id == 10471 || org_id == 10745 || org_id == 9478 || org_id == 10766"> L</span>
863 863
                       </div>
864 864
                       <div class="inline_block" style="flex: 1">
865 865
                         干体重:

+ 48 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Прегледај датотеку

@@ -173,13 +173,13 @@
173 173
         </li> -->
174 174
 
175 175
 
176
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757&& this.$store.getters.xt_user.template_info.org_id != 9478">
176
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757&& this.$store.getters.xt_user.template_info.org_id != 9478&& this.$store.getters.xt_user.template_info.org_id != 10766">
177 177
           <label>处方脱水量 : </label>
178 178
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
179 179
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
180 180
         </li>
181 181
 
182
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10752 || this.$store.getters.xt_user.template_info.org_id == 10757|| this.$store.getters.xt_user.template_info.org_id == 9478">
182
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10752 || this.$store.getters.xt_user.template_info.org_id == 10757|| this.$store.getters.xt_user.template_info.org_id == 9478|| this.$store.getters.xt_user.template_info.org_id == 10766">
183 183
           <label>处方脱水量 : </label>
184 184
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
185 185
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
@@ -661,6 +661,52 @@
661 661
           <span class="content">{{this.prescription.warsh_count}}</span>
662 662
         </li>
663 663
 
664
+        <li v-if="isShow('灭菌注射用水')&& this.prescription.mode_id == 13">
665
+          <label>灭菌注射用水(ml): </label>
666
+          <span class="content">{{this.prescription.sterilization_water}}</span>
667
+        </li>
668
+
669
+        <li v-if="isShow('5%葡萄糖注射液')&& this.prescription.mode_id == 13">
670
+          <label>5%葡萄糖注射液(ml): </label>
671
+          <span class="content">{{this.prescription.five_glucose}}</span>
672
+        </li>
673
+
674
+        <li v-if="isShow('50%葡萄糖注射液')&& this.prescription.mode_id == 13">
675
+          <label>50%葡萄糖注射液(ml): </label>
676
+          <span class="content">{{this.prescription.fifty_glucose}}</span>
677
+        </li>
678
+
679
+        <li v-if="isShow('25%硫酸镁针')&& this.prescription.mode_id == 13">
680
+          <label>25%硫酸镁针(ml): </label>
681
+          <span class="content">{{this.prescription.magnesium_sulfate_injection}}</span>
682
+        </li>
683
+
684
+        <li v-if="isShow('10%葡萄糖酸钙')&& this.prescription.mode_id == 13">
685
+          <label>10%葡萄糖酸钙(ml): </label>
686
+          <span class="content">{{this.prescription.calcium_gluconate}}</span>
687
+        </li>
688
+
689
+        <li v-if="isShow('15%氯化钾针')&& this.prescription.mode_id == 13">
690
+          <label>15%氯化钾针(ml): </label>
691
+          <span class="content">{{this.prescription.five_potassium_chloride_injection}}</span>
692
+        </li>
693
+
694
+        <li v-if="isShow('10%氯化钾针')&& this.prescription.mode_id == 13">
695
+          <label>10%氯化钾针(ml): </label>
696
+          <span class="content">{{this.prescription.ten_potassium_chloride_injection}}</span>
697
+        </li>
698
+
699
+        <li v-if="isShow('5%碳酸氢钠注射液')&& this.prescription.mode_id == 13">
700
+          <label>5%碳酸氢钠注射液(ml): </label>
701
+          <span class="content">{{this.prescription.five_sodium_bicarbonate_injection}}</span>
702
+        </li>
703
+
704
+        
705
+        <li v-if="isShow('NS')">
706
+          <label>NS(ml): </label>
707
+          <span class="content">{{this.prescription.new_sty}}</span>
708
+        </li>
709
+
664 710
        
665 711
       </ul>
666 712
     </div>

+ 102 - 0
src/xt_pages/dialysis/details/consumable/dialysisGather.vue Прегледај датотеку

@@ -75,6 +75,12 @@
75 75
              </template>
76 76
           </el-table-column>
77 77
 
78
+          <el-table-column align="center" label="机号" v-if="gatherSetting.number==1">
79
+             <template slot-scope="scope">
80
+              {{scope.row.device_number.number}}
81
+             </template>
82
+          </el-table-column>
83
+
78 84
         
79 85
           <el-table-column align="center" label="住院(门诊)号"  v-if="gatherSetting.admission_number==1">
80 86
              <template slot-scope="scope">
@@ -270,6 +276,20 @@
270 276
              </template>
271 277
           </el-table-column>
272 278
 
279
+          <el-table-column align="center" label="甲钴胺注射液" v-if="gatherSetting.jiaguan == 1">
280
+             <template slot-scope="scope">
281
+              <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_six }}</span>
282
+              <span v-if="scope.row.schedule_date > timenow">{{ getLongAdviceFive(scope.row.long_doctor_advice,scope.row.schedule_date) }}</span>
283
+             </template>
284
+          </el-table-column>
285
+
286
+          <el-table-column align="center" label="帕立骨化醇" v-if="gatherSetting.paligu == 1">
287
+             <template slot-scope="scope">
288
+              <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_seven }}</span>
289
+              <span v-if="scope.row.schedule_date > timenow">{{ getLongAdviceSix(scope.row.long_doctor_advice,scope.row.schedule_date) }}</span>
290
+             </template>
291
+          </el-table-column>
292
+
273 293
           <el-table-column align="center" label="肝素钠" v-if="org_id == 0 || org_id == 10683">
274 294
              <template slot-scope="scope">
275 295
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_four }}</span>
@@ -737,6 +757,8 @@
737 757
                   list[i].advice_spc_three = ""
738 758
                   list[i].advice_spc_four = ""
739 759
                   list[i].advice_spc_five = 0
760
+                  list[i].advice_spc_six = 0
761
+                  list[i].advice_spc_seven = 0
740 762
                   for(let j=0;j<list[i].advice.length;j++){
741 763
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
742 764
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -754,6 +776,14 @@
754 776
                           list[i].advice_spc_three+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
755 777
                        }
756 778
 
779
+                       if((list[i].advice[j].advice_name).indexOf("甲钴胺")!=-1){
780
+                          list[i].advice_spc_six+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
781
+                       }
782
+
783
+                       if((list[i].advice[j].advice_name).indexOf("帕立骨")!=-1){
784
+                          list[i].advice_spc_seven+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
785
+                       }
786
+
757 787
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
758 788
                           // list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
759 789
                          
@@ -2395,6 +2425,78 @@
2395 2425
           return  advice_name
2396 2426
          }
2397 2427
         
2428
+       },
2429
+       getLongAdviceFive(val,schedule_date){
2430
+        var newArrList = []
2431
+        var newArr = []
2432
+        var advice_name = ""
2433
+        var count =0
2434
+         if(val!=null && val.length>0){
2435
+            for(let i=0;i<val.length;i++){
2436
+              if(val[i].advice_name.indexOf("甲钴胺")!=-1){
2437
+                newArrList.push(val[i])
2438
+              }
2439
+            }
2440
+         }
2441
+        
2442
+         if(newArrList!=null && newArrList.length>0){
2443
+           for(let i=0;i<newArrList.length;i++){
2444
+             if(newArrList[i].frequency_type == 1 || (newArrList[i].frequency_type == 2 && newArrList[i].day_count == 1) || (newArrList[i].frequency_type == 3 && newArrList[i].week_day.indexOf(this.getweekday(schedule_date))!=-1)){
2445
+                  
2446
+                  newArr.push(newArrList[i])
2447
+             }
2448
+           }
2449
+         }
2450
+       
2451
+         if(newArr!=null && newArr.length>0){
2452
+           for(let i=0;i<newArr.length;i++){
2453
+            //  
2454
+             count += newArr[i].prescribing_number
2455
+           }
2456
+         }
2457
+         if(count >0){
2458
+          return count +"支"
2459
+         }else{
2460
+          advice_name  += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2461
+          return  advice_name
2462
+         }
2463
+        
2464
+       },
2465
+       getLongAdviceSix(val,schedule_date){
2466
+        var newArrList = []
2467
+        var newArr = []
2468
+        var advice_name = ""
2469
+        var count =0
2470
+         if(val!=null && val.length>0){
2471
+            for(let i=0;i<val.length;i++){
2472
+              if(val[i].advice_name.indexOf("帕立骨")!=-1){
2473
+                newArrList.push(val[i])
2474
+              }
2475
+            }
2476
+         }
2477
+        
2478
+         if(newArrList!=null && newArrList.length>0){
2479
+           for(let i=0;i<newArrList.length;i++){
2480
+             if(newArrList[i].frequency_type == 1 || (newArrList[i].frequency_type == 2 && newArrList[i].day_count == 1) || (newArrList[i].frequency_type == 3 && newArrList[i].week_day.indexOf(this.getweekday(schedule_date))!=-1)){
2481
+                  
2482
+                  newArr.push(newArrList[i])
2483
+             }
2484
+           }
2485
+         }
2486
+       
2487
+         if(newArr!=null && newArr.length>0){
2488
+           for(let i=0;i<newArr.length;i++){
2489
+            //  
2490
+             count += newArr[i].prescribing_number
2491
+           }
2492
+         }
2493
+         if(count >0){
2494
+          return count +"支"
2495
+         }else{
2496
+          advice_name  += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2497
+          return  advice_name
2498
+         }
2499
+        
2398 2500
        },
2399 2501
        getweekday(date){
2400 2502
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 95 - 0
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue Прегледај датотеку

@@ -29,6 +29,7 @@
29 29
                  
30 30
                   <td width="100"  v-if="gatherSetting.name==1">姓名</td>
31 31
                   <td width="100"  v-if="gatherSetting.dialysis_no==1">透析号</td>
32
+                  <td width="100"  v-if="gatherSetting.number==1">机号</td>
32 33
                   <td width="100"  v-if="gatherSetting.admission_number==1">住院(门诊)号</td>
33 34
                   <td width="100" v-if="gatherSetting.mode_type==1">透析模式</td>
34 35
                   <td width="100" v-if="gatherSetting.dialysis_dialyszers == 1">透析器</td>
@@ -46,6 +47,8 @@
46 47
                   <td width="100" v-if="gatherSetting.putaosuangai == 1">葡萄糖酸钙</td>
47 48
                   <td width="200" v-if="gatherSetting.tube==1">封管液</td>
48 49
                   <td width="100" v-if="org_id == 0 || org_id ==10683">肝素钠</td>
50
+                  <td width="100" v-if="gatherSetting.jiaguan == 1">甲钴胺注射液</td>
51
+                  <td width="100" v-if="gatherSetting.paligu == 1">帕立骨化醇</td>
49 52
                  
50 53
                 </tr>
51 54
                 </thead>
@@ -59,6 +62,9 @@
59 62
                   <td width="100"  v-if="gatherSetting.dialysis_no==1">
60 63
                     {{item.patient.dialysis_no}}
61 64
                   </td>
65
+                  <td width="100"  v-if="gatherSetting.number==1">
66
+                    {{item.device_number.number}}
67
+                  </td>
62 68
                   <td width="100"  v-if="gatherSetting.admission_number==1">
63 69
                     {{item.patient.admission_number}}
64 70
                   </td>
@@ -194,6 +200,14 @@
194 200
                   <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_four }}</span>
195 201
                   <span v-if="item.schedule_date>timenow">{{ getLongAdviceFour(item.long_doctor_advice,item.schedule_date) }}</span>
196 202
                  </td>
203
+                 <td width="100" v-if="gatherSetting.jiaguan == 1">
204
+                  <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_six }}</span>
205
+                  <span v-if="item.schedule_date>timenow">{{ getLongAdviceFive(item.long_doctor_advice,item.schedule_date) }}</span>
206
+                 </td>
207
+                 <td width="100" v-if="gatherSetting.paligu == 1">
208
+                  <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_seven }}</span>
209
+                  <span v-if="item.schedule_date>timenow">{{ getLongAdviceSix(item.long_doctor_advice,item.schedule_date) }}</span>
210
+                 </td>
197 211
                  </tr>
198 212
                 </tbody>
199 213
               </table>
@@ -309,6 +323,8 @@
309 323
                   list[i].advice_spc_three = ""
310 324
                    list[i].advice_spc_four = ""
311 325
                    list[i].advice_spc_five = 0
326
+                   list[i].advice_spc_six = 0
327
+                   list[i].advice_spc_seven = 0
312 328
                    for(let j=0;j<list[i].advice.length;j++){
313 329
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
314 330
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -325,6 +341,13 @@
325 341
                        if((list[i].advice[j].advice_name).indexOf("葡萄糖酸钙")!=-1){
326 342
                           list[i].advice_spc_three+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
327 343
                        }
344
+                       if((list[i].advice[j].advice_name).indexOf("甲钴胺")!=-1){
345
+                          list[i].advice_spc_six+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
346
+                       }
347
+
348
+                       if((list[i].advice[j].advice_name).indexOf("帕立骨")!=-1){
349
+                          list[i].advice_spc_seven+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
350
+                       }
328 351
 
329 352
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
330 353
                           // list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -610,6 +633,78 @@
610 633
           var week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date
611 634
          return week;
612 635
       },
636
+      getLongAdviceFive(val,schedule_date){
637
+        var newArrList = []
638
+        var newArr = []
639
+        var advice_name = ""
640
+        var count =0
641
+         if(val!=null && val.length>0){
642
+            for(let i=0;i<val.length;i++){
643
+              if(val[i].advice_name.indexOf("甲钴胺")!=-1){
644
+                newArrList.push(val[i])
645
+              }
646
+            }
647
+         }
648
+        
649
+         if(newArrList!=null && newArrList.length>0){
650
+           for(let i=0;i<newArrList.length;i++){
651
+             if(newArrList[i].frequency_type == 1 || (newArrList[i].frequency_type == 2 && newArrList[i].day_count == 1) || (newArrList[i].frequency_type == 3 && newArrList[i].week_day.indexOf(this.getweekday(schedule_date))!=-1)){
652
+                  
653
+                  newArr.push(newArrList[i])
654
+             }
655
+           }
656
+         }
657
+       
658
+         if(newArr!=null && newArr.length>0){
659
+           for(let i=0;i<newArr.length;i++){
660
+            //  
661
+             count += newArr[i].prescribing_number
662
+           }
663
+         }
664
+         if(count >0){
665
+          return count +"支"
666
+         }else{
667
+          advice_name  += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
668
+          return  advice_name
669
+         }
670
+        
671
+       },
672
+       getLongAdviceSix(val,schedule_date){
673
+        var newArrList = []
674
+        var newArr = []
675
+        var advice_name = ""
676
+        var count =0
677
+         if(val!=null && val.length>0){
678
+            for(let i=0;i<val.length;i++){
679
+              if(val[i].advice_name.indexOf("帕立骨")!=-1){
680
+                newArrList.push(val[i])
681
+              }
682
+            }
683
+         }
684
+        
685
+         if(newArrList!=null && newArrList.length>0){
686
+           for(let i=0;i<newArrList.length;i++){
687
+             if(newArrList[i].frequency_type == 1 || (newArrList[i].frequency_type == 2 && newArrList[i].day_count == 1) || (newArrList[i].frequency_type == 3 && newArrList[i].week_day.indexOf(this.getweekday(schedule_date))!=-1)){
688
+                  
689
+                  newArr.push(newArrList[i])
690
+             }
691
+           }
692
+         }
693
+       
694
+         if(newArr!=null && newArr.length>0){
695
+           for(let i=0;i<newArr.length;i++){
696
+            //  
697
+             count += newArr[i].prescribing_number
698
+           }
699
+         }
700
+         if(count >0){
701
+          return count +"支"
702
+         }else{
703
+          advice_name  += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
704
+          return  advice_name
705
+         }
706
+        
707
+       },
613 708
       
614 709
       }
615 710
     }

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue Прегледај датотеку

@@ -736,6 +736,7 @@ import dialysis from '../../../../router/modules/dialysis';
736 736
                 list[i].advice_spc =""
737 737
                 list[i].advice_spc_one = ""
738 738
                 list[i].advice_spc_three = ""
739
+                list[i].advice_spc_two=""
739 740
                  list[i].advice_spc_four = ""
740 741
                   list[i].advice_spc_five = ""
741 742
                  for(let j=0;j<list[i].advice.length;j++){

+ 2 - 1
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue Прегледај датотеку

@@ -150,7 +150,7 @@
150 150
                 <td width="100" v-if="dialysisSett.dialysis_irrigation ==1">
151 151
                      <span>{{item.dialysis_solution.dialysis_irrigation}}</span>
152 152
                 </td>
153
-                <td width="100" v-if="dialysisSett.dialysis_irrigation ==1">
153
+                <td width="100" v-if="dialysisSett.dialysis_strainer_set ==1">
154 154
                      <span>{{item.dialysis_solution.dialysis_strainer}}</span>
155 155
                 </td>
156 156
                 <td width="100"  v-if="dialysisSett.displace_liqui_part==1">
@@ -306,6 +306,7 @@
306 306
                 list[i].advice_spc_three = ""
307 307
                 list[i].advice_spc_four = ""
308 308
                 list[i].advice_spc_five = ""
309
+                list[i].advice_spc_two=""
309 310
                 for(let j=0;j<list[i].advice.length;j++){
310 311
                     total_two +=parseInt(list[i].advice[j].prescribing_number) 
311 312
                     if((list[i].advice[j].advice_name).indexOf("促红")!=-1){

+ 1 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Прегледај датотеку

@@ -2107,7 +2107,7 @@
2107 2107
       show(his_is_open,is_advice_open) {
2108 2108
 
2109 2109
        
2110
-        if(this.org_id == 0 || this.org_id == 10744){
2110
+        if(this.org_id == 0 || this.org_id == 10164){
2111 2111
           var newArr = []
2112 2112
           if(this.doctor_advices!=null && this.doctor_advices.length>0){
2113 2113
             for(let i=0;i<this.doctor_advices.length>0;i++){

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Прегледај датотеку

@@ -1778,7 +1778,7 @@ export default {
1778 1778
           }
1779 1779
       }
1780 1780
 
1781
-      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495 || this.$store.getters.xt_user.org.id == 10742){
1781
+      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495 || this.$store.getters.xt_user.org.id == 10742|| this.$store.getters.xt_user.org.id == 10766){
1782 1782
         var date = new Date()
1783 1783
           var year = date.getFullYear()
1784 1784
           var month = date.getMonth() + 1

+ 100 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Прегледај датотеку

@@ -161,7 +161,7 @@
161 161
                     </el-col>
162 162
 
163 163
                     <el-col :span="8"
164
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740 && this.$store.getters.xt_user.template_info.org_id != 10745 && this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757&& this.$store.getters.xt_user.template_info.org_id != 9478">
164
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740 && this.$store.getters.xt_user.template_info.org_id != 10745 && this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757&& this.$store.getters.xt_user.template_info.org_id != 9478&& this.$store.getters.xt_user.template_info.org_id != 10766">
165 165
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
166 166
                             <el-input
167 167
                                     type="number"
@@ -171,7 +171,7 @@
171 171
                     </el-col>
172 172
 
173 173
                     <el-col :span="8"
174
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742  || this.$store.getters.xt_user.template_info.org_id==10745 || this.$store.getters.xt_user.template_info.org_id==10752|| this.$store.getters.xt_user.template_info.org_id==10757|| this.$store.getters.xt_user.template_info.org_id==9478">
174
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742  || this.$store.getters.xt_user.template_info.org_id==10745 || this.$store.getters.xt_user.template_info.org_id==10752|| this.$store.getters.xt_user.template_info.org_id==10757|| this.$store.getters.xt_user.template_info.org_id==9478|| this.$store.getters.xt_user.template_info.org_id==10766">
175 175
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
176 176
                             <el-input
177 177
                                     type="number"
@@ -1214,9 +1214,67 @@
1214 1214
                         </el-form-item>
1215 1215
                     </el-col>
1216 1216
 
1217
+                    <el-col :span="8" v-if="isShows('灭菌注射用水') && dialysisPrescription.mode_id == 13">
1218
+                        <el-form-item label="灭菌注射用水(ml)">
1219
+                            <el-input  v-model="dialysisPrescription.sterilization_water"></el-input>
1220
+                        </el-form-item>
1221
+                    </el-col>
1222
+
1223
+                    <el-col :span="8" v-if="isShows('5%葡萄糖注射液')&& dialysisPrescription.mode_id == 13">
1224
+                        <el-form-item label="5%葡萄糖注射液(ml)">
1225
+                            <el-input  v-model="dialysisPrescription.five_glucose"></el-input>
1226
+                        </el-form-item>
1227
+                    </el-col>
1228
+
1229
+                    <el-col :span="8" v-if="isShows('50%葡萄糖注射液')&& dialysisPrescription.mode_id == 13">
1230
+                        <el-form-item label="50%葡萄糖注射液(ml)" :label-width="'185px'">
1231
+                            <el-input  v-model="dialysisPrescription.fifty_glucose" style="width:200px;"></el-input>
1232
+                        </el-form-item>
1233
+                    </el-col>
1234
+
1235
+                    <el-col :span="8" v-if="isShows('25%硫酸镁针')&& dialysisPrescription.mode_id == 13">
1236
+                        <el-form-item label="25%硫酸镁针(ml)">
1237
+                            <el-input  v-model="dialysisPrescription.magnesium_sulfate_injection"></el-input>
1238
+                        </el-form-item>
1239
+                    </el-col>
1240
+
1241
+                    <el-col :span="8" v-if="isShows('10%葡萄糖酸钙')&& dialysisPrescription.mode_id == 13">
1242
+                        <el-form-item label="10%葡萄糖酸钙(ml)">
1243
+                            <el-input  v-model="dialysisPrescription.calcium_gluconate"></el-input>
1244
+                        </el-form-item>
1245
+                    </el-col>
1246
+
1247
+                    <el-col :span="8" v-if="isShows('15%氯化钾针')&& dialysisPrescription.mode_id == 13">
1248
+                        <el-form-item label="15%氯化钾针(ml)">
1249
+                            <el-input  v-model="dialysisPrescription.five_potassium_chloride_injection"></el-input>
1250
+                        </el-form-item>
1251
+                    </el-col>
1252
+
1253
+                    <el-col :span="8" v-if="isShows('10%氯化钾针')&& dialysisPrescription.mode_id == 13">
1254
+                        <el-form-item label="10%氯化钾针(ml)">
1255
+                            <el-input  v-model="dialysisPrescription.ten_potassium_chloride_injection"></el-input>
1256
+                        </el-form-item>
1257
+                    </el-col>
1217 1258
 
1259
+                   
1260
+                    <el-col :span="8" v-if="isShows('NS')&& dialysisPrescription.mode_id == 13">
1261
+                        <el-form-item label="NS(ml):">
1262
+                            <el-input  v-model="dialysisPrescription.new_sty"></el-input>
1263
+                        </el-form-item>
1264
+                    </el-col>
1265
+
1266
+                   
1267
+                </el-row>
1268
+
1269
+                <el-row :gutter="20">
1270
+                  <el-col :span="10" v-if="isShows('5%碳酸氢钠注射液')&& dialysisPrescription.mode_id == 13">
1271
+                        <el-form-item label="5%碳酸氢钠注射液(ml):" :label-width="'180px'">
1272
+                            <el-input  v-model="dialysisPrescription.five_sodium_bicarbonate_injection" style="width:200px;"></el-input>
1273
+                        </el-form-item>
1274
+                    </el-col>
1218 1275
                 </el-row>
1219 1276
 
1277
+
1220 1278
                 <el-row :gutter="20">
1221 1279
                   <el-col :span="24" v-if="isShows('透析备注') && (dialysisPrescription.mode_id == 2 || dialysisPrescription.mode_id == 3 || dialysisPrescription.mode_id == 4)">
1222 1280
                     <el-form-item label="透析备注:" prop="value" :rules="isCheckmust('透析备注')">
@@ -1945,7 +2003,16 @@
1945 2003
           dialyzate:"",
1946 2004
           first_super:0,
1947 2005
           is_sequential:0,
1948
-          conduct:""
2006
+          conduct:"",
2007
+          sterilization_water:"",
2008
+          five_glucose:'',
2009
+          fifty_glucose:"",
2010
+          magnesium_sulfate_injection:"",
2011
+          calcium_gluconate:"",
2012
+          five_potassium_chloride_injection:"",
2013
+          ten_potassium_chloride_injection:"",
2014
+          five_sodium_bicarbonate_injection:"",
2015
+          new_sty:"",
1949 2016
         },
1950 2017
 
1951 2018
         anticoagulant: {
@@ -2436,7 +2503,7 @@ mu
2436 2503
             }
2437 2504
           }
2438 2505
         } else {
2439
-          if (schedual.mode_id == 2  || schedual.mode_id == 5 || schedual.mode_id == 12) {
2506
+          if (schedual.mode_id == 2  || schedual.mode_id == 5 || schedual.mode_id == 12|| schedual.mode_id == 13) {
2440 2507
             this.zhiShow = true
2441 2508
             this.huShow = true
2442 2509
             this.totalShow = true
@@ -2511,6 +2578,7 @@ mu
2511 2578
                 ParamsQuery['patient'] = this.patient.id
2512 2579
                 ParamsQuery['record_date'] = this.record_date
2513 2580
                 ParamsQuery['patient_id'] = this.$route.query.patient_id
2581
+                console.log("param-----------------",ParamsQuery)
2514 2582
                 if(this.$route.query.patient_id ==undefined){
2515 2583
                   ParamsQuery['patient_id'] = this.patient.id
2516 2584
                 }
@@ -2527,7 +2595,7 @@ mu
2527 2595
                 }
2528 2596
                 this.isLoading = true
2529 2597
                 console.log("ParamsQuery233232322323322332232323",ParamsQuery)
2530
-
2598
+                
2531 2599
                 postPrescription(ParamsQuery).then(response => {
2532 2600
                   if (response.data.state == 0) {
2533 2601
                     this.$message.error(response.data.msg)
@@ -3054,6 +3122,28 @@ mu
3054 3122
             var hours = date.getHours()
3055 3123
             var minites = date.getMinutes()
3056 3124
 
3125
+            if (month < 10) {
3126
+              month = '0' + month
3127
+            }
3128
+            if (day < 10) {
3129
+              day = '0' + day
3130
+            }
3131
+            if (hours < 10) {
3132
+              hours = '0' + hours
3133
+            }
3134
+            if (minites < 10) {
3135
+              minites = '0' + minites
3136
+            }
3137
+            this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
3138
+           }else if (this.$store.getters.xt_user.org.id == 10766){
3139
+            var date = new Date()
3140
+            var year = date.getFullYear()
3141
+            var month = date.getMonth() + 1
3142
+            var day = date.getDate()
3143
+
3144
+            var hours = date.getHours()
3145
+            var minites = date.getMinutes()
3146
+
3057 3147
             if (month < 10) {
3058 3148
               month = '0' + month
3059 3149
             }
@@ -3325,7 +3415,7 @@ mu
3325 3415
         }
3326 3416
         // console.log('this.dialysisPrescription.mode_id', this.dialysisPrescription.mode_id)
3327 3417
         // console.log('this.schedual', schedual.mode_id)
3328
-        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12 || schedual.mode_id == 0 || schedual.mode_id == 37 || schedual.mode_id == 36 || schedual.mode_id == 35 || schedual.mode_id == 34|| schedual.mode_id == 41) {
3418
+        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || pre.mode_id == 13 || schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12 || schedual.mode_id == 13 || schedual.mode_id == 0 || schedual.mode_id == 37 || schedual.mode_id == 36 || schedual.mode_id == 35 || schedual.mode_id == 34|| schedual.mode_id == 41) {
3329 3419
           this.zhiShow = true
3330 3420
           this.huShow = true
3331 3421
           this.totalShow = true
@@ -3338,7 +3428,6 @@ mu
3338 3428
           pre.mode_id == 8 ||
3339 3429
           pre.mode_id == 9 ||
3340 3430
           pre.mode_id == 11 ||
3341
-          pre.mode_id == 13 ||
3342 3431
           pre.mode_id == 14 ||
3343 3432
           pre.mode_id == 19
3344 3433
         ) {
@@ -3617,7 +3706,7 @@ mu
3617 3706
             //   }
3618 3707
 
3619 3708
             // }
3620
-            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10 && this.dialysisPrescription.mode_id!=34 && this.dialysisPrescription.mode_id!=35  && this.dialysisPrescription.mode_id!=36 && this.dialysisPrescription.mode_id!=37 && this.dialysisPrescription.mode_id!=41){
3709
+            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5&& this.dialysisPrescription.mode_id!=13 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10 && this.dialysisPrescription.mode_id!=34 && this.dialysisPrescription.mode_id!=35  && this.dialysisPrescription.mode_id!=36 && this.dialysisPrescription.mode_id!=37 && this.dialysisPrescription.mode_id!=41){
3621 3710
               this.dialysisPrescription.displace_liqui_part = 0
3622 3711
               this.dialysisPrescription.displace_liqui_value = 0
3623 3712
               this.dialysisPrescription.replacement_total = 0
@@ -4900,7 +4989,7 @@ mu
4900 4989
       }
4901 4990
     },
4902 4991
     changePrescription(id) {
4903
-      if(id != 2 && id!=5 && id!= 12&&id!=34 &&id!=35&&id!=35&&id!=36&&id!=37){
4992
+      if(id != 2 && id!=5 && id!= 12&& id!= 13&&id!=34 &&id!=35&&id!=35&&id!=36&&id!=37){
4904 4993
         this.dialysisPrescription.displace_liqui_value = ""
4905 4994
         this.dialysisPrescription.displace_liqui_part = ""
4906 4995
         this.dialysisPrescription.replacement_total = ""
@@ -5048,7 +5137,6 @@ mu
5048 5137
         id === 8 ||
5049 5138
         id === 9 ||
5050 5139
         id === 11 ||
5051
-        id === 13 ||
5052 5140
         id === 14 ||
5053 5141
         id === 15 ||
5054 5142
         id === 16 ||
@@ -5976,6 +6064,7 @@ mu
5976 6064
 </script>
5977 6065
 
5978 6066
 <style rel="stylesheet/scss" lang="scss" scoped>
6067
+   
5979 6068
     .el-checkbox,
5980 6069
     .el-checkbox__input {
5981 6070
         vertical-align: middle;
@@ -6009,4 +6098,5 @@ mu
6009 6098
     }
6010 6099
 
6011 6100
     }
6101
+ 
6012 6102
 </style>

+ 4 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Прегледај датотеку

@@ -784,7 +784,7 @@
784 784
                 org_id!=10558 &&
785 785
                 org_id!=10517 && 
786 786
                 org_id!=10414 && 
787
-                org_id!=10598 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10721 && org_id!=10731 && org_id!=10744) ||
787
+                org_id!=10598 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10721 && org_id!=10731 && org_id!=10744&& org_id!=10766) ||
788 788
                 org_id == 9779 ||
789 789
                 template_id == 11 ||
790 790
                 template_id == 20 ||
@@ -820,7 +820,7 @@
820 820
             width="100"
821 821
             v-if="
822 822
               isShow('置换量') &&
823
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id == 10644 || org_id == 10721 || org_id == 10731 || org_id == 10731 || org_id == 10744) &&
823
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id == 10644 || org_id == 10721 || org_id == 10731 || org_id == 10731 || org_id == 10744 || org_id == 10766) &&
824 824
               template_id != 9779 &&
825 825
               template_id != 11 &&
826 826
               template_id != 20 &&
@@ -2014,7 +2014,7 @@
2014 2014
             :span="8"
2015 2015
             v-if="
2016 2016
               isShow('置换量') &&
2017
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346 || org_id ==10598 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id ==10644 || org_id == 10721 || org_id ==10727 || org_id ==10206 || org_id == 10731 || org_id == 10744) &&
2017
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346 || org_id ==10598 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id ==10644 || org_id == 10721 || org_id ==10727 || org_id ==10206 || org_id == 10731 || org_id == 10744 || org_id == 10766) &&
2018 2018
               org_id != 9779 &&
2019 2019
               template_id != 11 &&
2020 2020
               template_id != 20 &&
@@ -2048,7 +2048,7 @@
2048 2048
                 org_id != 9919 &&
2049 2049
                 org_id != 10191 &&
2050 2050
                 org_id != 10551 &&
2051
-                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414 && org_id !=10694 && org_id != 10697&& org_id != 10567 && org_id!=10644 && org_id!=10206 && org_id!=10731 && org_id!=10744) ||
2051
+                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414 && org_id !=10694 && org_id != 10697&& org_id != 10567 && org_id!=10644 && org_id!=10206 && org_id!=10731 && org_id!=10744&& org_id!=10766) ||
2052 2052
                 org_id == 9779 ||
2053 2053
                 template_id == 11 ||
2054 2054
                 template_id == 20 ||

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Прегледај датотеку

@@ -34,8 +34,8 @@
34 34
           <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721 && org_id !=10727 && org_id !=10206 && org_id!=10751&& org_id!=10752 && org_id!=10766) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
35 35
           <th v-if=" isShow('置换率1')" width="92px" > 置换率(ml/min) </th>
36 36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
37
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10731 && org_id!=10744" width="92px"  > 置换量(ml)  </th>
38
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445  && this.$store.getters.xt_user.template_info.org_id != 10751&& this.$store.getters.xt_user.template_info.org_id != 10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567 || org_id == 10644 || org_id == 10731 || org_id == 10744" width="92px" > 置换量(L) </th>
37
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10731 && org_id!=10744 && org_id!=10766" width="92px"  > 置换量(ml)  </th>
38
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445  && this.$store.getters.xt_user.template_info.org_id != 10751&& this.$store.getters.xt_user.template_info.org_id != 10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567 || org_id == 10644 || org_id == 10731 || org_id == 10744 || org_id == 10766" width="92px" > 置换量(L) </th>
39 39
           <th v-if=" isShow('置换量1')" width="92px"  > 置换量(L)  </th>
40 40
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
41 41
           <th v-if=" isShow('SpO₂') && org_id == 9829" width="92px" > SpO₂(%) </th>

+ 77 - 5
src/xt_pages/dialysis/details/index.vue Прегледај датотеку

@@ -111,7 +111,7 @@
111 111
               @row-click="changePatient"
112 112
               highlight-current-row
113 113
               :data="tableData"
114
-              height="500"
114
+              height="600"
115 115
               border
116 116
               style="width: 100%">
117 117
               <el-table-column
@@ -213,7 +213,7 @@
213 213
               @row-click="changePatient"
214 214
               highlight-current-row
215 215
               :data="tableData1"
216
-              height="500"
216
+              height="600"
217 217
               border
218 218
               style="width: 100%">
219 219
               <el-table-column
@@ -297,7 +297,7 @@
297 297
                   <span>{{main_collection.patient.name}} </span>
298 298
                   ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁<span v-if="main_collection.patient.height>0">,{{ main_collection.patient.height }}cm</span>)
299 299
                 </div>
300
-                <div class="printCell" style="display:flex;" v-if="org_id ==10598 ">
300
+                <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 10345">
301 301
                   <div style="">透析模式:
302 302
                    <span>{{getModeName(main_collection.prescription.mode_id)  }}</span>
303 303
                   </div>
@@ -1783,6 +1783,7 @@ export default {
1783 1783
     }
1784 1784
   },
1785 1785
   mounted() {
1786
+    this.scrollToCurrentRow()
1786 1787
     const timer = setInterval(() => {
1787 1788
       // this.getInitData();
1788 1789
       this.requestDialysisSchedules()
@@ -1810,6 +1811,23 @@ export default {
1810 1811
     this.websocketSend(unObj)
1811 1812
   },
1812 1813
   methods: {
1814
+    scrollToCurrentRow() {
1815
+      this.$nextTick(() => {
1816
+        const tableRef = this.activeName === 'first' ? 'tab' : 'tab1'
1817
+        const tableData = this.activeName === 'first' ? this.tableData : this.tableData1
1818
+        const currentPatientId = this.$route.query.patient_id
1819
+        
1820
+        if (!currentPatientId || !tableData || !this.$refs[tableRef]) return
1821
+        
1822
+        const index = tableData.findIndex(item => item.patient_id == currentPatientId)
1823
+        if (index !== -1) {
1824
+          // 先设置当前行高亮
1825
+          this.$refs[tableRef].setCurrentRow(tableData[index])
1826
+          // 然后滚动到该行
1827
+          this.$refs[tableRef].scrollToRow(tableData[index])
1828
+        }
1829
+      })
1830
+    },
1813 1831
     getDisplaceLiquiPart: function (val) {
1814 1832
       let displace_liqui_part_name = "/";
1815 1833
       const displace_liqui_part = this.displaceLiquiPartOptions;
@@ -2459,6 +2477,20 @@ export default {
2459 2477
         // console.log('schedual',schedual);
2460 2478
         //this.getLongAdvice();
2461 2479
 
2480
+        this.$nextTick(() => {
2481
+          if (this.activeName === 'first') {
2482
+            const index = this.tableData.findIndex(item => item.patient_id === schedual.patient_id)
2483
+            if (index !== -1) {
2484
+              this.$refs.tab.setCurrentRow(this.tableData[index])
2485
+            }
2486
+          } else if (this.activeName === 'second') {
2487
+            const index = this.tableData1.findIndex(item => item.patient_id === schedual.patient_id)
2488
+            if (index !== -1) {
2489
+              this.$refs.tab1.setCurrentRow(this.tableData1[index])
2490
+            }
2491
+          }
2492
+       })
2493
+
2462 2494
         var patient_id = schedual.patient_id
2463 2495
         var date = schedual.schedule_date
2464 2496
         this.$router.push({
@@ -2470,8 +2502,14 @@ export default {
2470 2502
             mode_id:schedual.mode_id
2471 2503
           }
2472 2504
         })
2505
+        // 滚动到当前行
2506
+        this.scrollToCurrentRow()
2473 2507
     },
2474 2508
     handleClick(type) {
2509
+      this.activeName = type.name
2510
+      this.$nextTick(() => {
2511
+        this.scrollToCurrentRow()
2512
+     })
2475 2513
       sessionStorage.setItem('nameActive', type.name);
2476 2514
       this.getData()
2477 2515
     },
@@ -2602,7 +2640,7 @@ export default {
2602 2640
           newArr.sort(this.compare('created_time'))
2603 2641
         }
2604 2642
 
2605
-        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702 || this.org_id==10721 || this.org_id == 10635){
2643
+        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702 || this.org_id==10721 || this.org_id == 10635|| this.org_id == 10766){
2606 2644
           if(newArr!=null && newArr.length>0){
2607 2645
             for(let i=0;i<newArr.length;i++){
2608 2646
               newArr[i].sort =0
@@ -2781,7 +2819,7 @@ export default {
2781 2819
           newArr.sort(this.compare('created_time'))
2782 2820
         }
2783 2821
 
2784
-        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702 || this.org_id == 10721 || this.org_id == 10635){
2822
+        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702 || this.org_id == 10721 || this.org_id == 10635|| this.org_id == 10766){
2785 2823
           if(newArr!=null && newArr.length>0){
2786 2824
             for(let i=0;i<newArr.length;i++){
2787 2825
               newArr[i].sort =0
@@ -2808,6 +2846,26 @@ export default {
2808 2846
           }
2809 2847
         })
2810 2848
       }
2849
+      const name = this.$route.query.patient_id
2850
+        if (this.activeName == 'first') {
2851
+          this.tableData.map((item, index) => {
2852
+            if (name == item.patient.id) {
2853
+              this.$nextTick(() => {
2854
+                this.$refs.tab.setCurrentRow(this.tableData[index])
2855
+              })
2856
+            }
2857
+          })
2858
+        } else if (this.activeName == 'second') {
2859
+          this.tableData1.map((item, index) => {
2860
+            if (name == item.patient.id) {
2861
+              this.$nextTick(() => {
2862
+                this.$refs.tab1.setCurrentRow(this.tableData1[index])
2863
+              })
2864
+            }
2865
+          })
2866
+        }
2867
+      
2868
+      this.scrollToCurrentRow() 
2811 2869
     },
2812 2870
     compare(property){
2813 2871
       return function(a,b){
@@ -3345,12 +3403,26 @@ export default {
3345 3403
         // console.log('rrrrr',this.start_time,this.end_time);
3346 3404
         // this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3347 3405
       }
3406
+    },
3407
+    '$route.query.patient_id'(newVal) {
3408
+       if (newVal) {
3409
+        this.scrollToCurrentRow()
3410
+      }
3411
+    },
3412
+  
3413
+    tableData() {
3414
+      this.scrollToCurrentRow()
3415
+    },
3416
+      
3417
+   tableData1() {
3418
+     this.scrollToCurrentRow()
3348 3419
     }
3349 3420
   }
3350 3421
 }
3351 3422
 </script>
3352 3423
 
3353 3424
 <style style="stylesheet/scss" lang="scss" scoped>
3425
+
3354 3426
 .details-bg {
3355 3427
   background: #fff;
3356 3428
   margin: 0 15px;

+ 1 - 1
src/xt_pages/dialysis/doctorAdvicePrint.vue Прегледај датотеку

@@ -305,7 +305,7 @@ export default {
305 305
                     this.project = resp.data.project
306 306
                     resp.data.hisAdvices.map((item,index) => {
307 307
                     item.new_advice = item.new_advice ? item.new_advice : []
308
-                      if(this.org_id!=9671 && this.org_id!= 10318 && this.org_id!=0 && this.org_id!=10633){
308
+                      if(this.org_id!=9671 && this.org_id!= 10318 && this.org_id!=10633){
309 309
                         if(this.project[index].project.length > 0){
310 310
                             this.project[index].project.map(it => {
311 311
                             let obj = {

+ 2 - 2
src/xt_pages/dialysis/signPrint.vue Прегледај датотеку

@@ -30,7 +30,7 @@
30 30
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
31 31
                             </div> 
32 32
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
33
-                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{it.delivery_way}}</span></div>  
33
+                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223 && org_id!=10610">执行频率:{{it.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{it.delivery_way}}</span></div>  
34 34
                             <div v-if="org_id!=10278 && org_id !=10740">给药途径:{{it.delivery_way}}</div>  
35 35
                             <div v-if="org_id == 0 || org_id==10223">
36 36
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -52,7 +52,7 @@
52 52
                             
53 53
                             </div>  
54 54
                             <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
55
-                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{its.delivery_way}}</span></div>  
55
+                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223 && org_id!=10610">执行频率:{{its.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{its.delivery_way}}</span></div>  
56 56
                             <div v-if="org_id !=10740">给药途径:{{its.delivery_way}}</div>  
57 57
                             <div v-if="org_id == 0 || org_id==10223">
58 58
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

+ 8 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Прегледај датотеку

@@ -919,7 +919,7 @@
919 919
                         </div>
920 920
                         kg
921 921
                       </div>
922
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745&& org_id!=9478">
922
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745&& org_id!=9478&& org_id!=10766">
923 923
                         <span v-if="org_id != 10683">计划超滤量:</span>
924 924
                         <span v-if="org_id == 10683">预脱:</span>
925 925
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -936,7 +936,7 @@
936 936
                       </div>
937 937
 
938 938
 
939
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id== 10745 || org_id == 9478">
939
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id== 10745 || org_id == 9478 || org_id == 10766">
940 940
                         处方脱水量:
941 941
                         <div class="under_line" style="width: 100px; text-align: center">
942 942
                           {{
@@ -4513,7 +4513,13 @@ export default {
4513 4513
             }
4514 4514
           }
4515 4515
           this.new_doctor_advice_list = []
4516
+          
4516 4517
           this.new_doctor_advice_list = docArr
4518
+
4519
+          if(this.org_id == 10744 || this.org_id == 0){
4520
+          
4521
+            this.new_doctor_advice_list.sort((a, b) => a.execution_time - b.execution_time)
4522
+          }
4517 4523
         }
4518 4524
 
4519 4525
        

+ 8 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue Прегледај датотеку

@@ -1164,6 +1164,14 @@ export default {
1164 1164
           var doctorAdevieInfo = response.data.data.advices
1165 1165
           console.log('var tableAdvice',tableAdvice);
1166 1166
           var tableAdvice = []
1167
+          if(this.org_id == 10751 || this.org_id == 0){
1168
+            if (response.data.data.doctorAdevieInfo != null && response.data.data.doctorAdevieInfo.length > 0) {
1169
+              for (let i = 0; i < response.data.data.doctorAdevieInfo.length; i++) {
1170
+                tableAdvice.push(response.data.data.doctorAdevieInfo[i])
1171
+              }
1172
+           }
1173
+          }
1174
+          
1167 1175
           if(this.org_id!=10727){
1168 1176
            for(let i in doctorAdevieInfo){
1169 1177
             if(doctorAdevieInfo[i].delivery_way != '口服' && 

+ 6 - 1
src/xt_pages/hospitalStation/treatTemplate/printOne.vue Прегледај датотеку

@@ -271,7 +271,12 @@
271 271
           birth.substr(4, 2) +
272 272
           '-' +
273 273
           birth.substr(6, 2)
274
-        return jsGetAge(births, '-')
274
+        if(jsGetAge(births, '-')>0){
275
+          return jsGetAge(births, '-')
276
+        }else{
277
+          return patient.age
278
+        }
279
+      
275 280
 
276 281
       },
277 282
       printThisPage() {

+ 6 - 1
src/xt_pages/hospitalStation/treatTemplate/printTwo.vue Прегледај датотеку

@@ -255,7 +255,12 @@ export default {
255 255
          birth.substr(4, 2) +
256 256
          '-' +
257 257
          birth.substr(6, 2)
258
-       return jsGetAge(births, '-')
258
+      if( jsGetAge(births, '-')>0){
259
+        return jsGetAge(births, '-')
260
+      }else{
261
+        return patient.age
262
+      }
263
+      
259 264
 
260 265
      },
261 266
      printThisPage() {

+ 6 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue Прегледај датотеку

@@ -343,7 +343,12 @@ export default {
343 343
           birth.substr(4, 2) +
344 344
           "-" +
345 345
           birth.substr(6, 2);
346
-        return jsGetAge(births, "-");
346
+        if(jsGetAge(births, "-")>0){
347
+          return jsGetAge(births, "-");
348
+        }else {
349
+          return patient.age
350
+        }
351
+        
347 352
 
348 353
       }
349 354
 

+ 5 - 1
src/xt_pages/user/Informed/components/Bring_informed.vue Прегледај датотеку

@@ -226,7 +226,11 @@ export default{
226 226
           birth.substr(6, 2)
227 227
 
228 228
         var age = jsGetAge(birthtwo, '-')
229
-        return age
229
+        if (age > 0) {
230
+          return age
231
+        }else{
232
+          return  val.age
233
+        }
230 234
     },
231 235
     bianji(){
232 236
       this.dialogVisible=true

+ 6 - 2
src/xt_pages/user/Informed/components/CRRT_informed.vue Прегледај датотеку

@@ -193,8 +193,12 @@ export default{
193 193
           '-' +
194 194
           birth.substr(6, 2)
195 195
 
196
-        var age = jsGetAge(birthtwo, '-')
197
-        return age
196
+          var age = jsGetAge(birthtwo, '-')
197
+        if (age > 0) {
198
+          return age
199
+        }else{
200
+          return  val.age
201
+        }
198 202
     },
199 203
     bianji(){
200 204
       this.dialogVisible=true

+ 6 - 2
src/xt_pages/user/Informed/components/Death_informed.vue Прегледај датотеку

@@ -182,8 +182,12 @@ export default{
182 182
           '-' +
183 183
           birth.substr(6, 2)
184 184
 
185
-        var age = jsGetAge(birthtwo, '-')
186
-        return age
185
+          var age = jsGetAge(birthtwo, '-')
186
+        if (age > 0) {
187
+          return age
188
+        }else{
189
+          return  val.age
190
+        }
187 191
     },
188 192
     show(val){
189 193
       console.log("val--------------",val)

+ 6 - 2
src/xt_pages/user/Informed/components/Disease_diagnosis.vue Прегледај датотеку

@@ -242,8 +242,12 @@ const content =`
242 242
           '-' +
243 243
           birth.substr(6, 2)
244 244
 
245
-        var age = jsGetAge(birthtwo, '-')
246
-        return age
245
+          var age = jsGetAge(birthtwo, '-')
246
+        if (age > 0) {
247
+          return age
248
+        }else{
249
+          return  val.age
250
+        }
247 251
       },
248 252
     }
249 253
   }

+ 7 - 1
src/xt_pages/user/Informed/components/Falloutbedprint.vue Прегледај датотеку

@@ -200,6 +200,7 @@ export default{
200 200
           })
201 201
       },
202 202
       getAge: function(val) {
203
+        
203 204
         if (val.id_card_no == undefined) {
204 205
           return false
205 206
         }
@@ -218,7 +219,12 @@ export default{
218 219
           birth.substr(6, 2)
219 220
 
220 221
         var age = jsGetAge(birthtwo, '-')
221
-        return age
222
+        if (age > 0) {
223
+          return age
224
+        }else{
225
+          return  val.age
226
+        }
227
+       
222 228
       },
223 229
       bianji(){
224 230
         this.dialogVisible =true

+ 5 - 1
src/xt_pages/user/Informed/components/Filter_informed.vue Прегледај датотеку

@@ -276,7 +276,11 @@ export default{
276 276
           birth.substr(6, 2)
277 277
 
278 278
         var age = jsGetAge(birthtwo, '-')
279
-        return age
279
+        if (age > 0) {
280
+          return age
281
+        }else{
282
+          return  val.age
283
+        }
280 284
       },
281 285
       bianji(){
282 286
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/Highrisk_informed.vue Прегледај датотеку

@@ -196,7 +196,11 @@ export default{
196 196
           birth.substr(6, 2)
197 197
 
198 198
         var age = jsGetAge(birthtwo, '-')
199
-        return age
199
+        if (age > 0) {
200
+          return age
201
+        }else{
202
+          return  val.age
203
+        }
200 204
       },
201 205
       printThisPage(){
202 206
           const style = '@media print {.content p{font-size: 16px;font-family: 新宋体; padding-left: 20px; margin-bottom: 5px;}}'

+ 5 - 1
src/xt_pages/user/Informed/components/Surrender_informed.vue Прегледај датотеку

@@ -197,8 +197,12 @@ export default{
197 197
             '-' +
198 198
             birth.substr(6, 2)
199 199
 
200
-          var age = jsGetAge(birthtwo, '-')
200
+        var age = jsGetAge(birthtwo, '-')
201
+        if (age > 0) {
201 202
           return age
203
+        }else{
204
+          return  val.age
205
+        }
202 206
       },
203 207
       bianji(){
204 208
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/Terminate_informed.vue Прегледај датотеку

@@ -200,8 +200,12 @@ export default{
200 200
             '-' +
201 201
             birth.substr(6, 2)
202 202
 
203
-          var age = jsGetAge(birthtwo, '-')
203
+        var age = jsGetAge(birthtwo, '-')
204
+        if (age > 0) {
204 205
           return age
206
+        }else{
207
+          return  val.age
208
+        }
205 209
       },
206 210
       bianji(){
207 211
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/anticoagulation_informed.vue Прегледај датотеку

@@ -294,7 +294,11 @@ export default{
294 294
           birth.substr(6, 2)
295 295
 
296 296
         var age = jsGetAge(birthtwo, '-')
297
-        return age
297
+        if (age > 0) {
298
+          return age
299
+        }else{
300
+          return  val.age
301
+        }
298 302
     },
299 303
     bianji(){
300 304
       this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/arteriovenous_informed.vue Прегледај датотеку

@@ -236,7 +236,11 @@ export default{
236 236
           birth.substr(6, 2)
237 237
 
238 238
         var age = jsGetAge(birthtwo, '-')
239
-        return age
239
+        if (age > 0) {
240
+          return age
241
+        }else{
242
+          return  val.age
243
+        }
240 244
     },
241 245
     bianji(){
242 246
       this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/catheterization_informed.vue Прегледај датотеку

@@ -265,7 +265,11 @@ export default{
265 265
           birth.substr(6, 2)
266 266
 
267 267
         var age = jsGetAge(birthtwo, '-')
268
-        return age
268
+        if (age > 0) {
269
+          return age
270
+        }else{
271
+          return  val.age
272
+        }
269 273
     },
270 274
     bianji(){
271 275
       this.dialogVisible =true

+ 6 - 2
src/xt_pages/user/Informed/components/critical_informed.vue Прегледај датотеку

@@ -207,8 +207,12 @@ export default{
207 207
           '-' +
208 208
           birth.substr(6, 2)
209 209
 
210
-        var age = jsGetAge(birthtwo, '-')
211
-        return age
210
+          var age = jsGetAge(birthtwo, '-')
211
+        if (age > 0) {
212
+          return age
213
+        }else{
214
+          return  val.age
215
+        }
212 216
     },
213 217
     bianji(){
214 218
       this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/criticalpatient_informed.vue Прегледај датотеку

@@ -202,8 +202,12 @@ export default{
202 202
             '-' +
203 203
             birth.substr(6, 2)
204 204
 
205
-          var age = jsGetAge(birthtwo, '-')
205
+         var age = jsGetAge(birthtwo, '-')
206
+        if (age > 0) {
206 207
           return age
208
+        }else{
209
+          return  val.age
210
+        }
207 211
       },
208 212
       show(val){
209 213
        if(val!=null){

+ 5 - 1
src/xt_pages/user/Informed/components/criticalpatient_informed2.vue Прегледај датотеку

@@ -179,8 +179,12 @@ export default{
179 179
             '-' +
180 180
             birth.substr(6, 2)
181 181
 
182
-          var age = jsGetAge(birthtwo, '-')
182
+        var age = jsGetAge(birthtwo, '-')
183
+        if (age > 0) {
183 184
           return age
185
+        }else{
186
+          return  val.age
187
+        }
184 188
       },
185 189
       show(val){
186 190
        if(val!=null){

+ 5 - 1
src/xt_pages/user/Informed/components/dialyzer_informed.vue Прегледај датотеку

@@ -193,8 +193,12 @@ export default{
193 193
             '-' +
194 194
             birth.substr(6, 2)
195 195
 
196
-          var age = jsGetAge(birthtwo, '-')
196
+        var age = jsGetAge(birthtwo, '-')
197
+        if (age > 0) {
197 198
           return age
199
+        }else{
200
+          return  val.age
201
+        }
198 202
       },
199 203
       bianji(){
200 204
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/heal_informed.vue Прегледај датотеку

@@ -174,8 +174,12 @@ export default{
174 174
             '-' +
175 175
             birth.substr(6, 2)
176 176
 
177
-          var age = jsGetAge(birthtwo, '-')
177
+         var age = jsGetAge(birthtwo, '-')
178
+        if (age > 0) {
178 179
           return age
180
+        }else{
181
+          return  val.age
182
+        }
179 183
       },
180 184
       bianji(){
181 185
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/hemodialysis.vue Прегледај датотеку

@@ -264,8 +264,12 @@ export default{
264 264
             '-' +
265 265
             birth.substr(6, 2)
266 266
 
267
-          var age = jsGetAge(birthtwo, '-')
267
+        var age = jsGetAge(birthtwo, '-')
268
+        if (age > 0) {
268 269
           return age
270
+        }else{
271
+          return  val.age
272
+        }
269 273
       },
270 274
       bianji(){
271 275
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/hemoperfusion_informed.vue Прегледај датотеку

@@ -230,7 +230,11 @@ export default{
230 230
           birth.substr(6, 2)
231 231
 
232 232
         var age = jsGetAge(birthtwo, '-')
233
-        return age
233
+        if (age > 0) {
234
+          return age
235
+        }else{
236
+          return  val.age
237
+        }
234 238
     },
235 239
     getlist(){
236 240
 

+ 5 - 1
src/xt_pages/user/Informed/components/informef_Twentyfive.vue Прегледај датотеку

@@ -129,8 +129,12 @@ export default{
129 129
             '-' +
130 130
             birth.substr(6, 2)
131 131
 
132
-          var age = jsGetAge(birthtwo, '-')
132
+         var age = jsGetAge(birthtwo, '-')
133
+        if (age > 0) {
133 134
           return age
135
+        }else{
136
+          return  val.age
137
+        }
134 138
       },
135 139
       bianji(){
136 140
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/informef_Twentyfour.vue Прегледај датотеку

@@ -135,8 +135,12 @@ export default{
135 135
             '-' +
136 136
             birth.substr(6, 2)
137 137
 
138
-          var age = jsGetAge(birthtwo, '-')
138
+        var age = jsGetAge(birthtwo, '-')
139
+        if (age > 0) {
139 140
           return age
141
+        }else{
142
+          return  val.age
143
+        }
140 144
       },
141 145
       bianji(){
142 146
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/informef_Twentysevre.vue Прегледај датотеку

@@ -132,8 +132,12 @@ export default{
132 132
             '-' +
133 133
             birth.substr(6, 2)
134 134
 
135
-          var age = jsGetAge(birthtwo, '-')
135
+         var age = jsGetAge(birthtwo, '-')
136
+        if (age > 0) {
136 137
           return age
138
+        }else{
139
+          return  val.age
140
+        }
137 141
       },
138 142
       bianji(){
139 143
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/informef_Twentysix.vue Прегледај датотеку

@@ -124,8 +124,12 @@ export default{
124 124
             '-' +
125 125
             birth.substr(6, 2)
126 126
 
127
-          var age = jsGetAge(birthtwo, '-')
127
+         var age = jsGetAge(birthtwo, '-')
128
+        if (age > 0) {
128 129
           return age
130
+        }else{
131
+          return  val.age
132
+        }
129 133
       },
130 134
       bianji(){
131 135
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/nonheparin_informed.vue Прегледај датотеку

@@ -251,7 +251,11 @@ export default{
251 251
           birth.substr(6, 2)
252 252
 
253 253
         var age = jsGetAge(birthtwo, '-')
254
-        return age
254
+        if (age > 0) {
255
+          return age
256
+        }else{
257
+          return  val.age
258
+        }
255 259
     },
256 260
     bianji(){
257 261
       this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/profunda_informed.vue Прегледај датотеку

@@ -210,8 +210,12 @@ export default{
210 210
             '-' +
211 211
             birth.substr(6, 2)
212 212
 
213
-          var age = jsGetAge(birthtwo, '-')
213
+        var age = jsGetAge(birthtwo, '-')
214
+        if (age > 0) {
214 215
           return age
216
+        }else{
217
+          return  val.age
218
+        }
215 219
       },
216 220
       bianji(){
217 221
         this.dialogVisible=true

+ 5 - 1
src/xt_pages/user/Informed/components/therapy_informed.vue Прегледај датотеку

@@ -250,8 +250,12 @@ export default{
250 250
             '-' +
251 251
             birth.substr(6, 2)
252 252
 
253
-          var age = jsGetAge(birthtwo, '-')
253
+         var age = jsGetAge(birthtwo, '-')
254
+        if (age > 0) {
254 255
           return age
256
+        }else{
257
+          return  val.age
258
+        }
255 259
       },
256 260
       bianji(){
257 261
         this.dialogVisible=true

+ 170 - 5
src/xt_pages/user/dialysisSolution.vue Прегледај датотеку

@@ -254,6 +254,39 @@
254 254
           <el-col :span="6"  v-if="isShows('吸氧') && current_solution.oxygen_uptake == 1"><div class="grid-content bg-purple">吸氧流量(L/分):{{current_solution.oxygen_flow}}</div></el-col>
255 255
           <el-col :span="6"  v-if="isShows('吸氧') && current_solution.oxygen_uptake == 1"><div class="grid-content bg-purple">吸氧时长(h):{{current_solution.oxygen_time}}</div></el-col>
256 256
         </el-row>
257
+        <el-row :gutter="20">
258
+          <el-col :span="6" v-if="isShows('灭菌注射用水')">
259
+            灭菌注射用水(ml) : {{ current_solution.sterilization_water }}
260
+          </el-col>
261
+          <el-col :span="6" v-if="isShows('5%葡萄糖注射液')">
262
+            5%葡萄糖注射液(ml) : {{ current_solution.five_glucose }}
263
+          </el-col>
264
+          <el-col :span="6" v-if="isShows('50%葡萄糖注射液')">
265
+            50%葡萄糖注射液(ml) : {{ current_solution.fifty_glucose }}
266
+          </el-col>
267
+        </el-row>
268
+        <el-row :gutter="20">
269
+          <el-col :span="6" v-if="isShows('25%硫酸镁针')">
270
+            25%硫酸镁针(ml) : {{ current_solution.magnesium_sulfate_injection }}
271
+          </el-col>
272
+          <el-col :span="6" v-if="isShows('10%葡萄糖酸钙')">
273
+            10%葡萄糖酸钙(ml) : {{ current_solution.calcium_gluconate }}
274
+          </el-col>
275
+          <el-col :span="6" v-if="isShows('15%氯化钾针')">
276
+            15%氯化钾针(ml) : {{ current_solution.five_potassium_chloride_injection }}
277
+          </el-col>
278
+        </el-row>
279
+        <el-row :gutter="20">
280
+          <el-col :span="6" v-if="isShows('10%氯化钾针')">
281
+            10%氯化钾针(ml) : {{ current_solution.ten_potassium_chloride_injection }}
282
+          </el-col>
283
+          <el-col :span="6" v-if="isShows('5%碳酸氢钠注射液')">
284
+            5%碳酸氢钠注射液(ml) : {{ current_solution.five_sodium_bicarbonate_injection }}
285
+          </el-col>
286
+          <el-col :span="6" v-if="isShows('NS')">
287
+            NS(ml) : {{ current_solution.new_sty }}
288
+          </el-col>
289
+        </el-row>
257 290
         <el-row :gutter="20">
258 291
           <el-col :span="6"><div class="grid-content bg-purple">备注:{{current_solution.remark}}</div></el-col>
259 292
         </el-row>
@@ -817,6 +850,59 @@
817 850
             </el-form-item>
818 851
           </el-col>
819 852
 
853
+          <el-col :span="8" v-if="isShows('灭菌注射用水') && addPlan.mode == 13">
854
+            <el-form-item label="灭菌注射用水(ml)">
855
+              <el-input v-model="addPlan.sterilization_water"></el-input>
856
+            </el-form-item>
857
+          </el-col>
858
+
859
+          <el-col :span="8" v-if="isShows('5%葡萄糖注射液')&& addPlan.mode == 13">
860
+            <el-form-item label="5%葡萄糖注射液(ml)">
861
+              <el-input v-model="addPlan.five_glucose"></el-input>
862
+            </el-form-item>
863
+          </el-col>
864
+
865
+          <el-col :span="8" v-if="isShows('50%葡萄糖注射液')&& addPlan.mode == 13">
866
+            <el-form-item label="50%葡萄糖注射液(ml)">
867
+              <el-input v-model="addPlan.fifty_glucose"></el-input>
868
+            </el-form-item>
869
+          </el-col>
870
+
871
+          <el-col :span="8" v-if="isShows('25%硫酸镁针')&& addPlan.mode == 13">
872
+            <el-form-item label="25%硫酸镁针(ml)">
873
+              <el-input v-model="addPlan.magnesium_sulfate_injection"></el-input>
874
+            </el-form-item>
875
+          </el-col>
876
+
877
+          <el-col :span="8" v-if="isShows('10%葡萄糖酸钙')&& addPlan.mode == 13">
878
+            <el-form-item label="10%葡萄糖酸钙(ml)">
879
+              <el-input v-model="addPlan.calcium_gluconate"></el-input>
880
+            </el-form-item>
881
+          </el-col>
882
+
883
+          <el-col :span="8" v-if="isShows('15%氯化钾针')&& addPlan.mode == 13">
884
+            <el-form-item label="15%氯化钾针(ml)">
885
+              <el-input v-model="addPlan.five_potassium_chloride_injection"></el-input>
886
+            </el-form-item>
887
+          </el-col>
888
+
889
+          <el-col :span="8" v-if="isShows('10%氯化钾针')&& addPlan.mode == 13">
890
+            <el-form-item label="10%氯化钾针(ml)">
891
+              <el-input v-model="addPlan.ten_potassium_chloride_injection"></el-input>
892
+            </el-form-item>
893
+          </el-col>
894
+
895
+          <el-col :span="8" v-if="isShows('5%碳酸氢钠注射液')&& addPlan.mode == 13">
896
+            <el-form-item label="5%碳酸氢钠注射液(ml)">
897
+              <el-input v-model="addPlan.five_sodium_bicarbonate_injection"></el-input>
898
+            </el-form-item>
899
+          </el-col>
900
+
901
+          <el-col :span="8" v-if="isShows('NS')&& addPlan.mode == 13">
902
+            <el-form-item label="NS(ml)">
903
+              <el-input v-model="addPlan.new_sty"></el-input>
904
+            </el-form-item>
905
+          </el-col>
820 906
         </el-row>
821 907
 
822 908
 
@@ -1153,6 +1239,15 @@
1153 1239
           dialysis_strainer:"",
1154 1240
           chaptalization:"",
1155 1241
           blood_access_part_id:"",
1242
+          sterilization_water:"",
1243
+          five_glucose:'',
1244
+          fifty_glucose:"",
1245
+          magnesium_sulfate_injection:"",
1246
+          calcium_gluconate:"",
1247
+          five_potassium_chloride_injection:"",
1248
+          ten_potassium_chloride_injection:"",
1249
+          five_sodium_bicarbonate_injection:"",
1250
+          new_sty:"",
1156 1251
         },
1157 1252
         childPlan: {
1158 1253
           mode: '',
@@ -1799,7 +1894,46 @@
1799 1894
           anticoagulant_zongliang:
1800 1895
             this.current_solution.anticoagulant_zongliang != 0
1801 1896
               ? this.current_solution.anticoagulant_zongliang
1802
-              : ''
1897
+              : '',
1898
+          sterilization_water:
1899
+          this.current_solution.sterilization_water != 0
1900
+              ? this.current_solution.sterilization_water
1901
+              : '',
1902
+         five_glucose:
1903
+         this.current_solution.five_glucose != 0
1904
+              ? this.current_solution.five_glucose
1905
+              : '',
1906
+        fifty_glucose:
1907
+         this.current_solution.fifty_glucose != 0
1908
+              ? this.current_solution.fifty_glucose
1909
+              : '',
1910
+        magnesium_sulfate_injection:
1911
+         this.current_solution.magnesium_sulfate_injection != 0
1912
+              ? this.current_solution.magnesium_sulfate_injection
1913
+              : '',
1914
+        calcium_gluconate:
1915
+         this.current_solution.calcium_gluconate != 0
1916
+              ? this.current_solution.calcium_gluconate
1917
+              : '',
1918
+
1919
+         five_potassium_chloride_injection:
1920
+         this.current_solution.five_potassium_chloride_injection != 0
1921
+              ? this.current_solution.five_potassium_chloride_injection
1922
+              : '',
1923
+         ten_potassium_chloride_injection:
1924
+         this.current_solution.ten_potassium_chloride_injection != 0
1925
+              ? this.current_solution.ten_potassium_chloride_injection
1926
+              : '',
1927
+        five_sodium_bicarbonate_injection:
1928
+         this.current_solution.five_sodium_bicarbonate_injection != 0
1929
+              ? this.current_solution.five_sodium_bicarbonate_injection
1930
+              : '',
1931
+
1932
+        new_sty:
1933
+         this.current_solution.new_sty != 0
1934
+              ? this.current_solution.new_sty
1935
+              : '',
1936
+
1803 1937
         }
1804 1938
       },
1805 1939
       handleDelete(index, row) {
@@ -2045,9 +2179,19 @@
2045 2179
                 this.current_solution.epo_count = response.data.data.solution.epo_count
2046 2180
                 this.current_solution.max_ultrafiltration_rate = response.data.data.solution.max_ultrafiltration_rate
2047 2181
                 this.current_solution.remark = response.data.data.solution.remark
2048
-                this.current_solution.dialysis_strainer = response.data.data.dialysis_strainer
2049
-
2050
-                this.current_solution.chaptalization = response.data.data.chaptalization
2182
+                this.current_solution.dialysis_strainer = response.data.data.solution.dialysis_strainer
2183
+
2184
+                this.current_solution.sterilization_water = response.data.data.solution.sterilization_water
2185
+                this.current_solution.five_glucose = response.data.data.solution.five_glucose
2186
+                this.current_solution.fifty_glucose = response.data.data.solution.fifty_glucose
2187
+                this.current_solution.magnesium_sulfate_injection = response.data.data.solution.magnesium_sulfate_injection
2188
+                this.current_solution.calcium_gluconate = response.data.data.solution.calcium_gluconate
2189
+                this.current_solution.five_potassium_chloride_injection = response.data.data.solution.five_potassium_chloride_injection
2190
+                this.current_solution.ten_potassium_chloride_injection = response.data.data.solution.ten_potassium_chloride_injection
2191
+                this.current_solution.five_sodium_bicarbonate_injection = response.data.data.solution.five_sodium_bicarbonate_injection
2192
+                this.current_solution.new_sty = response.data.data.solution.new_sty
2193
+
2194
+                this.current_solution.chaptalization = response.data.data.solution.chaptalization
2051 2195
                 this.FindePatientDialysisLongSolutions()
2052 2196
                 return false
2053 2197
               }
@@ -2068,7 +2212,7 @@
2068 2212
             this.addPlan.dialysis_irrigation = this.dialysis_irrigation
2069 2213
             this.addPlan.dialysis_strainer = this.dialysis_strainer
2070 2214
             this.addPlan.mode_id = parseInt(this.addPlan.mode_id)
2071
-         
2215
+
2072 2216
             console.log("add",this.addPlan)
2073 2217
             createPatientDialysisSolution(
2074 2218
               this.patientID,
@@ -2304,6 +2448,16 @@
2304 2448
         this.addPlan.chaptalization = row.chaptalization
2305 2449
         this.addPlan.blood_access_part_id = row.blood_access_part_id  
2306 2450
 
2451
+        this.addPlan.sterilization_water = row.sterilization_water
2452
+        this.addPlan.five_glucose = row.five_glucose
2453
+        this.addPlan.fifty_glucose = row.fifty_glucose
2454
+        this.addPlan.magnesium_sulfate_injection = row.magnesium_sulfate_injection
2455
+        this.addPlan.calcium_gluconate = row.calcium_gluconate
2456
+        this.addPlan.five_potassium_chloride_injection = row.five_potassium_chloride_injection
2457
+        this.addPlan.ten_potassium_chloride_injection = row.ten_potassium_chloride_injection
2458
+        this.addPlan.five_sodium_bicarbonate_injection = row.five_sodium_bicarbonate_injection
2459
+        this.addPlan.new_sty = row.new_sty
2460
+
2307 2461
       },
2308 2462
       isShows(name) {
2309 2463
         var filedList = store.getters.xt_user.fileds
@@ -2385,6 +2539,17 @@
2385 2539
           plasma_separator:"",
2386 2540
           bilirubin_adsorption_column:"",
2387 2541
           chaptalization:"",
2542
+
2543
+          sterilization_water:"",
2544
+          five_glucose:'',
2545
+          fifty_glucose:"",
2546
+          magnesium_sulfate_injection:"",
2547
+          calcium_gluconate:"",
2548
+          five_potassium_chloride_injection:"",
2549
+          ten_potassium_chloride_injection:"",
2550
+          five_sodium_bicarbonate_injection:"",
2551
+          new_sty:"",
2552
+
2388 2553
         }
2389 2554
         this.addPlanTypeChange()
2390 2555
 

+ 63 - 6
src/xt_pages/workforce/remind_print_setting.vue Прегледај датотеку

@@ -74,7 +74,7 @@
74 74
                   <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
75 75
                   <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
76 76
                 </div>
77
-                <div class="printCell">
77
+                <div class="printCell" v-if="org_id!=0 && org_id!=10610">
78 78
                   <span>
79 79
                     床号:{{ main_collection.number.number }}
80 80
                     <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
@@ -83,14 +83,71 @@
83 83
                   </span>
84 84
                 </div>
85 85
                 <div v-if="printObj.anticoagulant == 1">抗凝剂:
86
-                  <span v-if="org_id == 10138 || org_id == 0 || org_id == 10278">{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name + ' 5000iu/瓶' : ''}}</span>
87
-                  <span v-else >
86
+                  <span v-if="org_id == 10138 || org_id == 10278">{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name + ' 5000iu/瓶' : ''}}</span>
87
+                  <span v-if="org_id ==0 || org_id == 10610" >
88 88
                    <span>{{getAnticoagulant(main_collection.dialysissolution.anticoagulant)}}</span>
89
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
90
+                   {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
91
+                  </span>
92
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
93
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
94
+                  </span>
95
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
96
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
97
+                  </span>
98
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
99
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
100
+                  </span>
101
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
102
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
103
+                   </span>
104
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
105
+                   {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
106
+                  </span>
107
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
108
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
109
+                   </span>
110
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
111
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
112
+                  </span>
113
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
114
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
115
+                  </span>
116
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
117
+                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
118
+                    </span>
119
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
120
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
121
+                   </span>
122
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 12">
123
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
124
+                   </span>
125
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 13">
126
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
127
+                   </span>
128
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 14">
129
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
130
+                   </span>
131
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 15">
132
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
133
+                   </span>
134
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 16">
135
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
136
+                   </span>
137
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 17">
138
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
139
+                   </span>
140
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 18">
141
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
142
+                   </span>
143
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 19">
144
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
145
+                   </span>
89 146
                   </span>
90 147
                 </div>
91 148
                <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675||org_id ==10571">首剂:{{main_collection.dialysissolution.anticoagulant_shouji}}</div>
92 149
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675 || org_id ==10571">维持:{{main_collection.dialysissolution.anticoagulant_weichi}}</div>
93
-                <div v-if="printObj.anticoagulant_zongliang == 1">
150
+                <div v-if="printObj.anticoagulant_zongliang == 1 && org_id!=0 && org_id!=10610">
94 151
                   用量:
95 152
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
96 153
                    {{main_collection.dialysissolution.anticoagulant_zongliang}}mg
@@ -151,7 +208,7 @@
151 208
                    </span>
152 209
                 </div>
153 210
 
154
-                <div v-if="org_id==0 || org_id ==10460">
211
+                <div v-if="org_id ==10460">
155 212
                   目标超滤量:
156 213
                   <span>
157 214
                    {{main_collection.prescription.target_ultrafiltration}}ml
@@ -160,7 +217,7 @@
160 217
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">干体重:{{main_collection.assessmentbefor.dry_weight}}</div>
161 218
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
162 219
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">体重增加:{{(main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.dry_weight).toFixed(2)}}</div>
163
-                <div v-if="org_id!=10278 && org_id!=10600">用法:静脉注射</div>
220
+                <div v-if="org_id!=10278 && org_id!=10600 && org_id!=0">用法:静脉注射</div>
164 221
                 <!-- 透析器灌流器 -->
165 222
                
166 223
                  <div>