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

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

陈少旭 пре 10 месеци
родитељ
комит
b536249985

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

@@ -800,7 +800,8 @@
800 800
                           class="under_line"
801 801
                           style="width: 100px; text-align: center"
802 802
                         >
803
-                          {{
803
+                         <span v-if="org_id!=10677">
804
+                         {{
804 805
                             record.prescription &&
805 806
                             record.prescription.dialyzer_perfusion_apparatus
806 807
                               ? record.prescription.dialyzer_perfusion_apparatus
@@ -812,6 +813,7 @@
812 813
                               ? record.prescription.dialysis_dialyszers
813 814
                               : "/"
814 815
                           }}
816
+                          </span>
815 817
                           {{record.dialysis_order.dialysis_dialyszers}}
816 818
                         </div>
817 819
                       </div>
@@ -821,12 +823,14 @@
821 823
                           class="under_line"
822 824
                           style="width: 70px; text-align: center"
823 825
                         >
826
+                         <span v-if="org_id!=10677">
824 827
                           {{
825 828
                             record.prescription &&
826 829
                             record.prescription.dialysis_irrigation
827 830
                               ? record.prescription.dialysis_irrigation
828 831
                               : "/"
829 832
                           }}
833
+                          </span>
830 834
                           {{record.dialysis_order.dialysis_irrigation}}
831 835
                         </div>
832 836
                       </div>
@@ -850,7 +854,7 @@
850 854
                     </div>
851 855
 
852 856
                     <div
853
-                    
857
+
854 858
                       class="row"
855 859
                       style="padding: 2px 0; line-height: 23px; display: flex"
856 860
                     >
@@ -881,7 +885,7 @@
881 885
                           <span>{{
882 886
                             record.lastafterweight.weight_after
883 887
                           }}</span>
884
-                       
888
+
885 889
                         </div>
886 890
                         kg
887 891
                       </div>
@@ -918,7 +922,7 @@
918 922
                               : "/"
919 923
                           }}
920 924
                         </div>
921
-                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460">ml</span> 
925
+                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460">ml</span>
922 926
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460">L</span>
923 927
                       </div>
924 928
 
@@ -1186,7 +1190,7 @@
1186 1190
                           >mg</span
1187 1191
                         >
1188 1192
                       </div>
1189
-                      
1193
+
1190 1194
                       <div class="inline_block" style="margin-left: 20px">
1191 1195
                         透析机号:
1192 1196
                         <div
@@ -1211,7 +1215,7 @@
1211 1215
                         >
1212 1216
                           {{
1213 1217
                              record.assessment_before_dislysis.machine_type ?
1214
-                              record.assessment_before_dislysis.machine_type : '' 
1218
+                              record.assessment_before_dislysis.machine_type : ''
1215 1219
                           }}
1216 1220
                         </div>
1217 1221
                       </div>
@@ -1243,7 +1247,7 @@
1243 1247
                         </div>
1244 1248
                         h
1245 1249
                       </div>
1246
-                      
1250
+
1247 1251
                       <span>&nbsp;&nbsp;&nbsp;</span>
1248 1252
                     </div>
1249 1253
 
@@ -1313,7 +1317,7 @@
1313 1317
                           <td
1314 1318
                             width="50"
1315 1319
                             v-if="
1316
-                              org_id == 10121 || org_id == 9675 
1320
+                              org_id == 10121 || org_id == 9675
1317 1321
                             "
1318 1322
                           >
1319 1323
                             SpO₂<br />(%)
@@ -1458,14 +1462,14 @@
1458 1462
                             }}
1459 1463
                           </td>
1460 1464
 
1461
-                      
1465
+
1462 1466
                           <td
1463 1467
                             v-if="
1464 1468
                               org_id != 9538 &&
1465 1469
                               org_id != 10121 &&
1466
-                              org_id != 9675 && 
1470
+                              org_id != 9675 &&
1467 1471
                               org_id!=10490
1468
-                             
1472
+
1469 1473
                             "
1470 1474
                           >
1471 1475
                             {{
@@ -1477,7 +1481,7 @@
1477 1481
 
1478 1482
                           <td
1479 1483
                             v-if="
1480
-                              org_id == 10121 || org_id == 9675 
1484
+                              org_id == 10121 || org_id == 9675
1481 1485
                             "
1482 1486
                           >
1483 1487
                             {{
@@ -1489,7 +1493,7 @@
1489 1493
 
1490 1494
                           <td
1491 1495
                             v-if="
1492
-                              org_id == 10469 
1496
+                              org_id == 10469
1493 1497
                             "
1494 1498
                           >
1495 1499
                             {{
@@ -1661,7 +1665,7 @@
1661 1665
                         <td v-if="org_id == 9919||org_id == 9538 || org_id == 9671"></td>
1662 1666
                         <td v-if="org_id == 9538"></td>
1663 1667
                         <td v-if="org_id == 10490 || org_id == 0"></td>
1664
-                         
1668
+
1665 1669
                           <td style="line-height: 16px; padding: 0px">
1666 1670
                             <div
1667 1671
                               style="
@@ -1832,7 +1836,7 @@
1832 1836
                                 style="height: 40px"
1833 1837
                               />
1834 1838
                             </td>
1835
-                            
1839
+
1836 1840
                             <td height="35px" v-if="org_id == 10375">
1837 1841
                               <span
1838 1842
                                 v-if="
@@ -2010,7 +2014,7 @@
2010 2014
                 </div>
2011 2015
               </div>
2012 2016
             </div>
2013
-            
2017
+
2014 2018
             <div class="row">
2015 2019
               <div class="inline_block">
2016 2020
                 入科方式:
@@ -2286,7 +2290,7 @@
2286 2290
                         style="flex: 1"
2287 2291
                         v-if="org_id != 10223 || org_id!=10375"
2288 2292
                       >
2289
-  
2293
+
2290 2294
                         <span v-if="org_id!=10460 && org_id!=10551">
2291 2295
                           透析中入量  (L):
2292 2296
                         </span>
@@ -2547,10 +2551,10 @@
2547 2551
                         </div>
2548 2552
                       </div>
2549 2553
 
2550
-                  
2554
+
2551 2555
                     </div>
2552 2556
 
2553
-                   
2557
+
2554 2558
                   </td>
2555 2559
                 </tr>
2556 2560
                 <tr>
@@ -3436,7 +3440,7 @@ export default {
3436 3440
     //   }
3437 3441
     // },
3438 3442
     getAge: function(val) {
3439
-     
3443
+
3440 3444
      if (val.id_card_no) {
3441 3445
        var thisLen = val.id_card_no.length
3442 3446
 

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

@@ -170,13 +170,13 @@
170 170
         </li> -->
171 171
 
172 172
 
173
-        <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">
173
+        <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">
174 174
           <label>处方脱水量 : </label>
175 175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
176 176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
177 177
         </li>
178 178
 
179
-        <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 ">
179
+        <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">
180 180
           <label>处方脱水量 : </label>
181 181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
182 182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>

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

@@ -125,6 +125,7 @@
125 125
        :prescription="prescription"
126 126
        :dryWeightList="dryWeightList"
127 127
        :docList="docList"
128
+       :first_monitor="first_monitor"
128 129
     ></assessment-before-dislysis-dialog>
129 130
 
130 131
     <treatment-summary-dialog
@@ -195,6 +196,7 @@
195 196
       :predialysis_evaluation="predialysis_evaluation"
196 197
       :dialysis_order="dialysis_order"
197 198
       :schedual="temp_schedual"
199
+      :last_monitor="last_monitor"
198 200
     ></assessment-after-dislysis>
199 201
   </div>
200 202
 </template>
@@ -595,6 +597,18 @@ export default {
595 597
       default: () => {
596 598
         return { id: 0 };
597 599
       }
600
+    },
601
+    first_monitor:{
602
+      type: Object,
603
+      default: () => {
604
+        return { id: 0 };
605
+      }
606
+    },
607
+    last_monitor:{
608
+      type: Object,
609
+      default: () => {
610
+        return { id: 0 };
611
+      }
598 612
     }
599 613
   },
600 614
   methods: {

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

@@ -771,6 +771,12 @@ export default {
771 771
     schedual: {
772 772
         type: Object
773 773
     },
774
+    last_monitor:{
775
+      type: Object,
776
+      default: () => {
777
+        return { id: 0 };
778
+      }
779
+    }
774 780
   },
775 781
   data() {
776 782
     return {
@@ -1423,6 +1429,26 @@ export default {
1423 1429
 
1424 1430
     // 数据开始
1425 1431
     show(predialysis,last_after) {
1432
+      console.log("头号好地方阿道夫地方阿道夫阿道夫",this.last_monitor)
1433
+
1434
+      if(this.$store.getters.xt_user.template_info.org_id == 10679){
1435
+        if(this.form.systolic_blood_pressure == 0){
1436
+           this.form.systolic_blood_pressure = this.last_monitor.systolic_blood_pressure
1437
+        }
1438
+
1439
+        if(this.form.diastolic_blood_pressure == 0){
1440
+          this.form.diastolic_blood_pressure = this.last_monitor.diastolic_blood_pressure
1441
+        }
1442
+
1443
+        if(this.form.breathing_rate == 0){
1444
+          this.form.breathing_rate = this.last_monitor.breathing_rate
1445
+        }
1446
+
1447
+        if(this.form.pulse_frequency == 0){
1448
+          this.form.pulse_frequency = this.last_monitor.pulse_frequency
1449
+        }
1450
+
1451
+      }
1426 1452
       this.isVisibility = true
1427 1453
       this.predialysis = predialysis
1428 1454
       this.form.observation_content = predialysis.observation_content
@@ -1584,7 +1610,7 @@ export default {
1584 1610
   },
1585 1611
   created() {
1586 1612
     // console.log("this.form", this.form.consciousness);
1587
-
1613
+   
1588 1614
     this.org_id = this.$store.getters.xt_user.template_info.org_id
1589 1615
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1590 1616
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')

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

@@ -1749,7 +1749,7 @@ export default {
1749 1749
           }
1750 1750
       }
1751 1751
 
1752
-      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){
1752
+      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){
1753 1753
         var date = new Date()
1754 1754
           var year = date.getFullYear()
1755 1755
           var month = date.getMonth() + 1

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

@@ -1061,7 +1061,13 @@
1061 1061
         default:()=>{
1062 1062
           return [];
1063 1063
         }
1064
-       }
1064
+       },
1065
+       first_monitor:{
1066
+        type: Object,
1067
+        default: () => {
1068
+          return { id: 0 };
1069
+        }
1070
+      },
1065 1071
 
1066 1072
     },
1067 1073
     methods: {
@@ -1130,6 +1136,8 @@
1130 1136
            this.record_date = record_date
1131 1137
         }
1132 1138
 
1139
+        console.log("第一条监测数据23333333333333333",this.first_monitor)
1140
+
1133 1141
         if(this.lastPredialysisEvaluation != null) {
1134 1142
         // if(this.lastPredialysisEvaluation.remark == "" && this.$store.getters.xt_user.org.id == 10307){
1135 1143
         //     console.log("2o2o3232o23o2o3o23")
@@ -1900,6 +1908,9 @@
1900 1908
 
1901 1909
       console.log("hhh32h323h23h23h23h23h23h",getDataConfig("befor_symptoms", "befor_symptoms"))
1902 1910
 
1911
+
1912
+     
1913
+
1903 1914
       // this.weight_adjust.weight = this.dry_weight.dry_weight
1904 1915
 
1905 1916
       // if(this.predialysis_evaluation.id == 0){

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

@@ -448,9 +448,9 @@ export default {
448 448
         nuclein_date: moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
449 449
         catheter_operation:"",
450 450
         blood_flow_volume:"" ,
451
+        schedual_type:0,
451 452
       },
452 453
       blood_access_option: [],
453
-      schedual_type: 0,
454 454
       schedules_type: [
455 455
         { id: 1, name: "上午" },
456 456
         { id: 2, name: "下午" },
@@ -544,7 +544,7 @@ export default {
544 544
     this.form.blood_access_id = this.dialysis_order.blood_access_id;
545 545
     this.form.blood_drawing = this.dialysis_order.blood_drawing
546 546
     this.blood_access_option_name = this.changeBloodAccessOpion(this.dialysis_order.blood_access_id)
547
-    // this.form.schedual_type = this.dialysis_order.schedule_type
547
+    this.form.schedual_type = this.dialysis_order.schedual_type
548 548
     // this.schedual_type = this.dialysis_order.schedule_type
549 549
     // console.log("班次",this.form.schedual_type)
550 550
     this.punctureNeedleOptions = getDataConfig(
@@ -602,7 +602,7 @@ export default {
602 602
       this.form.blood_access_id = this.dialysis_order.blood_access_id;
603 603
       this.form.blood_drawing = this.dialysis_order.blood_drawing
604 604
       var blood_access_option_name = this.changeBloodAccessOpionOne(this.dialysis_order.blood_access_id)
605
-      // this.form.schedual_type = this.dialysis_order.schedule_type
605
+      this.form.schedual_type = this.dialysis_order.schedual_type
606 606
       // console.log("8823832323223",this.form.schedual_type)
607 607
       this.blood_access_option_name = blood_access_option_name
608 608
       this.form.catheter_operation = this.dialysis_order.catheter_operation
@@ -748,7 +748,7 @@ export default {
748 748
     },
749 749
     GetSchedualNumber: function () {
750 750
       let ParamsQuery = {};
751
-      ParamsQuery["schedual_type"] = this.schedual_type;
751
+      ParamsQuery["schedual_type"] = this.form.schedual_type;
752 752
       ParamsQuery["record_date"] = this.$route.query.date;
753 753
       console.log("列表33333333333333333333", ParamsQuery);
754 754
       // console.log("路由",this.$route.query.date)
@@ -858,15 +858,15 @@ export default {
858 858
         let now = new Date();
859 859
         let hour = now.getHours();
860 860
         if (hour >= 6 && hour < 12) {
861
-          this.schedual_type = 1;
861
+          this.form.schedual_type = 1;
862 862
         } else if (hour >= 12 && hour < 18) {
863
-          this.schedual_type = 2;
863
+          this.form.schedual_type = 2;
864 864
         } else if (hour >= 18) {
865
-          this.schedual_type = 3;
865
+          this.form.schedual_type = 3;
866 866
         }
867 867
       } else {
868 868
         this.form.schedual_type = this.dialysis_order.schedual_type;
869
-        this.schedual_type = this.dialysis_order.schedual_type;
869
+        // this.schedual_type = this.dialysis_order.schedual_type;
870 870
       }
871 871
 
872 872
       if (this.dialysis_order.id > 0) {
@@ -914,7 +914,7 @@ export default {
914 914
             this.form.lood_drawing,
915 915
             this.form.puncture_nurse_id,
916 916
             this.form.start_time,
917
-            this.schedual_type,
917
+            this.form.schedual_type,
918 918
             mode,
919 919
             this.form.washpipe_nurse,
920 920
             this.form.change_nurse,
@@ -962,7 +962,7 @@ export default {
962 962
     },
963 963
     editOrder() {
964 964
       let ParamsQuery = {};
965
-      ParamsQuery["schedual_type"] = this.schedual_type;
965
+      ParamsQuery["schedual_type"] = this.form.schedual_type;
966 966
       ParamsQuery["id"] = this.dialysis_order.id;
967 967
       ParamsQuery["nurse"] = this.form.nurse_id;
968 968
       ParamsQuery["bed"] = this.form.bed_id;

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

@@ -143,7 +143,7 @@
143 143
                     </el-col>
144 144
 
145 145
                     <el-col :span="8"
146
-                            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">
146
+                            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">
147 147
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
148 148
                             <el-input
149 149
                                     type="number"
@@ -153,7 +153,7 @@
153 153
                     </el-col>
154 154
 
155 155
                     <el-col :span="8"
156
-                            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">
156
+                            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">
157 157
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
158 158
                             <el-input
159 159
                                     type="number"

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

@@ -268,7 +268,7 @@
268 268
                 org_id == 10599 || 
269 269
                 org_id == 10612 ||
270 270
                 org_id == 10617 ||
271
-                org_id ==10580 || org_id ==10629) &&
271
+                org_id ==10580 || org_id ==10629 || org_id==10677) &&
272 272
                 org_id!=10387
273 273
             "
274 274
           >
@@ -339,7 +339,7 @@
339 339
               && org_id!=10432 && org_id!=10445
340 340
               && org_id!=10410 && org_id!=10495 &&
341 341
                org_id!=10485 && org_id!=10395 && org_id!=10375
342
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629)
342
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677)
343 343
               || org_id == 10387
344 344
             "
345 345
           >
@@ -395,7 +395,7 @@
395 395
                 org_id == 10410 ||
396 396
                 org_id == 10495  ||
397 397
                 org_id == 10395
398
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629)
398
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677)
399 399
                 && org_id!=10387
400 400
             "
401 401
           >
@@ -448,7 +448,7 @@
448 448
               org_id!=10432 &&
449 449
               org_id!=10445 &&
450 450
               org_id!=10410 && org_id!=10495
451
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629) ||
451
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677) ||
452 452
               org_id == 10387
453 453
             "
454 454
           >
@@ -511,7 +511,8 @@
511 511
                 org_id ==10445 ||
512 512
                 org_id ==10410 ||
513 513
                 org_id == 10395||
514
-                org_id == 10617
514
+                org_id == 10617 ||
515
+                org_id ==10677
515 516
 
516 517
                )&& org_id!=10598 && org_id!=10414
517 518
             "
@@ -542,7 +543,7 @@
542 543
               org_id !=10445 &&
543 544
               org_id!=10395 &&
544 545
               org_id !=10410 &&
545
-              org_id!=10617)|| org_id==10598 || org_id ==10414
546
+              org_id!=10617 && org_id!=10677)|| org_id==10598 || org_id ==10414
546 547
             "
547 548
           >
548 549
             <template slot-scope="scope">
@@ -1311,7 +1312,7 @@
1311 1312
                 org_id == 10599 ||
1312 1313
                 org_id ==10612 || 
1313 1314
                 org_id ==10617 || 
1314
-                org_id==10580 || org_id ==10629)
1315
+                org_id==10580 || org_id ==10629 || org_id == 10677)
1315 1316
                 && org_id!=10387
1316 1317
             "
1317 1318
           >
@@ -1378,7 +1379,8 @@
1378 1379
               org_id!=10612 &&
1379 1380
               org_id!=10617 &&
1380 1381
               org_id!=10580 &&
1381
-              org_id!=10629
1382
+              org_id!=10629 &&
1383
+              org_id!=10677
1382 1384
               )
1383 1385
               || org_id == 10387
1384 1386
             "
@@ -1423,7 +1425,8 @@
1423 1425
               org_id!=10445 &&
1424 1426
               org_id!=10410 &&
1425 1427
               org_id!=10395 &&
1426
-              org_id!=10617)
1428
+              org_id!=10617 &&
1429
+              org_id!=10677)
1427 1430
               || org_id ==10558 || org_id==10598
1428 1431
             "
1429 1432
           >
@@ -1451,7 +1454,7 @@
1451 1454
                 org_id==10445 ||
1452 1455
                 org_id==10410 ||
1453 1456
                 org_id==10395 || 
1454
-                org_id==10617) && org_id !=10558 && org_id!=10598 && org_id!=10414
1457
+                org_id==10617 || org_id==10677) && org_id !=10558 && org_id!=10598 && org_id!=10414
1455 1458
             "
1456 1459
           >
1457 1460
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"

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

@@ -15,14 +15,14 @@
15 15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16 16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
17 17
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
18
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || 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 == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  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!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || 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 == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && 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!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
18
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || 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 == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  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!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || 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 == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && 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!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22 22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23 23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
24
-          <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!=10558 && org_id!=10598 && org_id!=10414" width="92px" > 置换率(ml/min) </th>
25
-          <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 == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换率(L/h)  </th>
24
+          <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!=10558 && org_id!=10598 && org_id!=10414" width="92px" > 置换率(ml/min) </th>
25
+          <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 == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换率(L/h)  </th>
26 26
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
27 27
           <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 ) && org_id!=10558 && org_id!=10598  && org_id!=10414" width="92px"  > 置换量(ml)  </th>
28 28
           <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) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换量(L) </th>

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

@@ -1061,6 +1061,8 @@
1061 1061
           :dryWeightList="dryWeightList"
1062 1062
           :docList="docList"
1063 1063
           :lastTreat="lastTreat"
1064
+          :first_monitor="first_monitor"
1065
+          :last_monitor="last_monitor"
1064 1066
         >
1065 1067
         </nav-igation>
1066 1068
 
@@ -1541,9 +1543,11 @@ export default {
1541 1543
       start_time:moment().startOf('months').format('YYYY-MM-DD'),
1542 1544
       end_time:moment().endOf('months').format('YYYY-MM-DD'),
1543 1545
       orderList:[],
1544
-      lastTreat:{id:0}
1546
+      lastTreat:{id:0},
1545 1547
       // start_time2:'',
1546 1548
       // end_time2:'',
1549
+      first_monitor:{},
1550
+      last_monitor:{},
1547 1551
     }
1548 1552
   },
1549 1553
   created() {
@@ -2130,7 +2134,12 @@ export default {
2130 2134
           this.stockType = stockType
2131 2135
 
2132 2136
           this.lastTreat = resp.data.lastAcceptTreatment
2133
-          console.log("上次透后平出-----------",this.lastTreat)
2137
+          console.log("上次透后平出22222222222222222222-----------",resp.data.firstMonitor)
2138
+
2139
+          this.first_monitor = resp.data.firstMonitor
2140
+
2141
+          console.log("上次透后体重-----------",resp.data.firstMonitor)
2142
+          this.last_monitor = resp.data.lastMonitor
2134 2143
 
2135 2144
           this.dryWeightList = resp.data.dryWeightList
2136 2145
           this.docList = resp.data.docList
@@ -2521,7 +2530,7 @@ export default {
2521 2530
           newArr.sort(this.compare('created_time'))
2522 2531
         }
2523 2532
 
2524
-        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571){
2533
+        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679){
2525 2534
           if(newArr!=null && newArr.length>0){
2526 2535
             for(let i=0;i<newArr.length;i++){
2527 2536
               newArr[i].sort =0
@@ -2700,7 +2709,7 @@ export default {
2700 2709
           newArr.sort(this.compare('created_time'))
2701 2710
         }
2702 2711
 
2703
-        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587){
2712
+        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679){
2704 2713
           if(newArr!=null && newArr.length>0){
2705 2714
             for(let i=0;i<newArr.length;i++){
2706 2715
               newArr[i].sort =0

+ 55 - 51
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Прегледај датотеку

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div>
3 3
     <el-button type="primary" @click="checkData">一键核对</el-button>
4
-    
4
+
5 5
     <div id="dialysis-print-box-1"  ref="pdfContent">
6 6
       <div
7 7
         id="dialysis-print-box-1-1"
@@ -379,7 +379,7 @@
379 379
                     </div>
380 380
                     <div
381 381
                       class="inline_block"
382
-                      style="flex: 1" 
382
+                      style="flex: 1"
383 383
                     >
384 384
                       透析机型:
385 385
                       <div
@@ -795,7 +795,7 @@
795 795
                         class="under_line"
796 796
                         style="width: 100px; text-align: center"
797 797
                       >
798
-                        {{
798
+                       <span v-if="org_id!=10677">  {{
799 799
                           prescription.dialyzer_perfusion_apparatus
800 800
                             ? prescription.dialyzer_perfusion_apparatus
801 801
                             : ""
@@ -806,6 +806,7 @@
806 806
                             ? prescription.dialysis_dialyszers
807 807
                             : ""
808 808
                         }}
809
+                        </span>
809 810
 
810 811
                         {{dialysisOrder.dialysis_dialyszers  }}
811 812
                       </div>
@@ -829,12 +830,15 @@
829 830
                         class="under_line"
830 831
                         style="width: 70px; text-align: center"
831 832
                       >
833
+                       <span v-if="org_id!=10677">
832 834
                         {{
833 835
                           prescription.dialysis_irrigation
834 836
                             ? prescription.dialysis_irrigation
835 837
                             : "/"
836 838
                         }}
839
+                         </span>
837 840
                          {{dialysisOrder.dialysis_irrigation  }}
841
+
838 842
                       </div>
839 843
                     </div>
840 844
 
@@ -1021,7 +1025,7 @@
1021 1025
                         }}
1022 1026
                       </div>
1023 1027
 
1024
-                  
1028
+
1025 1029
 
1026 1030
                     <span>
1027 1031
                       <span v-if="prescription.anticoagulant == 4">iu</span>
@@ -1051,7 +1055,7 @@
1051 1055
                             : "/"
1052 1056
                         }}
1053 1057
                       </div>
1054
-                     
1058
+
1055 1059
                       <span>
1056 1060
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1057 1061
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
@@ -1117,7 +1121,7 @@
1117 1121
                             : "/"
1118 1122
                         }}
1119 1123
                       </div>
1120
-                     
1124
+
1121 1125
                     <span>
1122 1126
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1123 1127
                        <span v-if="prescription.anticoagulant == 3">iu</span>
@@ -1174,11 +1178,11 @@
1174 1178
                         }}
1175 1179
                       </div>
1176 1180
                     </div>
1177
-                  
1181
+
1178 1182
                   </div>
1179 1183
 
1180 1184
                   <div class="row" style="padding: 2px 0; line-height: 23px">
1181
-                   
1185
+
1182 1186
                   </div>
1183 1187
 
1184 1188
                 </td>
@@ -1237,15 +1241,15 @@
1237 1241
                               : "mmHg"
1238 1242
                           }})
1239 1243
                         </td>
1240
-                        
1244
+
1241 1245
                         <td width="60" v-if="org_id == 9836">体温(°C)</td>
1242 1246
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1243 1247
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1244 1248
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1245 1249
                         <td width="50" v-if="org_id != 10121">
1246
-                          <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490"> 电导度<br />(ms/cm)</span> 
1247
-                          <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span> 
1248
-                          <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1250
+                          <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490"> 电导度<br />(ms/cm)</span>
1251
+                          <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1252
+                          <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1249 1253
                         </td>
1250 1254
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1251 1255
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
@@ -1256,8 +1260,8 @@
1256 1260
                         </td> -->
1257 1261
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1258 1262
                         <td width="50" v-if="org_id == 9538">KT/V</td>
1259
-                        <td width="50" v-if="org_id == 9919">在线尿素监测</td>  
1260
-                        <td width="50" v-if="org_id == 9671">在线尿素监测</td>  
1263
+                        <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1264
+                        <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1261 1265
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1262 1266
                         <td width="50" v-if="org_id == 10490 || org_id == 0">碳酸氢钠<br />(ml)</td>
1263 1267
                         <td width="200">病情变化及处理</td>
@@ -1346,7 +1350,7 @@
1346 1350
                           <span v-if="org_id==0||org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "/" }}</span>
1347 1351
                         </td>
1348 1352
 
1349
-                      
1353
+
1350 1354
                         <td v-if="org_id == 10375 || org_id == 0"><br />
1351 1355
                           {{ monitor.replacement_rate? monitor.replacement_rate: "/"}}
1352 1356
                         </td>
@@ -1417,7 +1421,7 @@
1417 1421
                                 "
1418 1422
                                 >【开始透析】
1419 1423
                                 </template>
1420
-                              
1424
+
1421 1425
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
1422 1426
                                 monitor.dispose
1423 1427
                               }}
@@ -1509,7 +1513,7 @@
1509 1513
                         <td style="font-size: 16px" width="10%">医生签名</td>
1510 1514
                         <td style="font-size: 16px" width="10%">时间</td>
1511 1515
                         <td style="font-size: 16px" width="10%">执行人签名</td>
1512
-                       
1516
+
1513 1517
                       </tr>
1514 1518
                       <tr
1515 1519
                         v-for="(advice, advice_index) in doctor_advices"
@@ -1527,7 +1531,7 @@
1527 1531
                           class="advice-name"
1528 1532
                           style="padding-left: 7px"
1529 1533
                         >
1530
-                      
1534
+
1531 1535
                           <span v-if="advice.parent_id > 0"></span>
1532 1536
                           <span>{{ advice.advice_name }}</span>
1533 1537
                           <span v-if="advice && advice.advice_desc"
@@ -1555,7 +1559,7 @@
1555 1559
                             >({{ advice.remark }})</span
1556 1560
                           >
1557 1561
                         </td>
1558
-                      
1562
+
1559 1563
                         <td height="32px">
1560 1564
                           <span
1561 1565
                             v-if="setAdminUserES(advice.advice_doctor) == ''"
@@ -1569,7 +1573,7 @@
1569 1573
                             v-else
1570 1574
                           />
1571 1575
                         </td>
1572
-                       
1576
+
1573 1577
                         <td height="32px">
1574 1578
                           <span v-if="advice.execution_time">{{
1575 1579
                             getTime(advice.execution_time, "{h}:{i}")
@@ -1624,7 +1628,7 @@
1624 1628
               <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
1625 1629
               <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
1626 1630
              </span>
1627
-            
1631
+
1628 1632
             </div>
1629 1633
           </div>
1630 1634
           <div class="row">
@@ -1810,7 +1814,7 @@
1810 1814
                     医嘱内容
1811 1815
                   </td>
1812 1816
                 </tr>
1813
-              
1817
+
1814 1818
                 <tr style="line-height: 35px; padding: 8px 5px">
1815 1819
                   <td style="font-size: 15px" width="10%">时间</td>
1816 1820
                   <td style="font-size: 15px" colspan="2" width="45%">
@@ -1819,9 +1823,9 @@
1819 1823
                   <td style="font-size: 15px" width="10%">医生签名</td>
1820 1824
                   <td style="font-size: 15px" width="10%">时间</td>
1821 1825
                   <td style="font-size: 15px" width="10%">执行人签名</td>
1822
-                 
1826
+
1823 1827
                 </tr>
1824
-               
1828
+
1825 1829
                 <tr
1826 1830
                   v-for="(advice, advice_index) in doctor_advices"
1827 1831
                   :key="advice_index"
@@ -1830,7 +1834,7 @@
1830 1834
                     <span v-if="advice.start_time">
1831 1835
                       {{ getTime(advice.start_time, "{h}:{i}") }}
1832 1836
                     </span>
1833
-                  
1837
+
1834 1838
                   </td>
1835 1839
                   <td
1836 1840
                     height="32px"
@@ -1865,7 +1869,7 @@
1865 1869
                       >({{ advice.remark }})</span
1866 1870
                     >
1867 1871
                   </td>
1868
-                
1872
+
1869 1873
                   <td height="32px">
1870 1874
                     <span
1871 1875
                       v-if="setAdminUserES(advice.advice_doctor) == ''"
@@ -1879,7 +1883,7 @@
1879 1883
                       v-else
1880 1884
                     />
1881 1885
                   </td>
1882
-                  
1886
+
1883 1887
                   <td height="32px">
1884 1888
                     <span v-if="advice.execution_time">{{
1885 1889
                       getTime(advice.execution_time, "{h}:{i}")
@@ -2597,7 +2601,7 @@
2597 2601
                           核对护士
2598 2602
                         </td>
2599 2603
                       </tr>
2600
-                     
2604
+
2601 2605
 
2602 2606
                       <tr
2603 2607
                         v-for="(advice, advice_index) in doctor_advices"
@@ -2607,7 +2611,7 @@
2607 2611
                           <span v-if="advice.start_time">
2608 2612
                             {{ getTime(advice.start_time, "{h}:{i}") }}
2609 2613
                           </span>
2610
-                          
2614
+
2611 2615
                         </td>
2612 2616
                         <td
2613 2617
                           height="32px"
@@ -2642,7 +2646,7 @@
2642 2646
                             >({{ advice.remark }})</span
2643 2647
                           >
2644 2648
                         </td>
2645
-                    
2649
+
2646 2650
                         <td height="32px">
2647 2651
                           <span
2648 2652
                             v-if="setAdminUserES(advice.advice_doctor) == ''"
@@ -2656,7 +2660,7 @@
2656 2660
                             v-else
2657 2661
                           />
2658 2662
                         </td>
2659
-                      
2663
+
2660 2664
                         <td height="32px">
2661 2665
                           <span
2662 2666
                             v-if="setAdminUserES(advice.execution_staff) == ''"
@@ -2688,15 +2692,15 @@
2688 2692
                           />
2689 2693
                         </td>
2690 2694
                       </tr>
2691
-                     
2695
+
2692 2696
                     </tbody>
2693 2697
      </table>
2694 2698
 
2695 2699
 
2696
-    
2697
-     
2698 2700
 
2699
-     
2701
+
2702
+
2703
+
2700 2704
     </div>
2701 2705
   </div>
2702 2706
 </template>
@@ -3474,7 +3478,7 @@ export default {
3474 3478
         for (let index = 0; index < this.doctor_advices.length; index++) {
3475 3479
           this.doctor_advices[index]["isShow"] = 2;
3476 3480
         }
3477
-   
3481
+
3478 3482
         // if (this.doctor_advices.length > 0) {
3479 3483
         //   var group = this.newAdviceGroupObject()
3480 3484
         //   var initGroupBlock = function(group, advice) {
@@ -3555,7 +3559,7 @@ export default {
3555 3559
         // }
3556 3560
 
3557 3561
 
3558
-        
3562
+
3559 3563
 
3560 3564
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
3561 3565
         if(this.org_id ==10515 || this.org_id == 0){
@@ -3575,15 +3579,15 @@ export default {
3575 3579
         });
3576 3580
         this.projects = projects;
3577 3581
 
3578
-      
3582
+
3579 3583
         console.log("this.projects", this.projects);
3580 3584
 
3581 3585
         // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
3582
-      
3586
+
3583 3587
         if(this.projects!=null && this.projects.length >0){
3584 3588
            for(let i=0;i<this.projects.length;i++){
3585 3589
              if(this.projects[i].type== 2){
3586
-            
3590
+
3587 3591
               this.projects[i].project_team_name = ""
3588 3592
               this.projects[i].project_team_id = 0
3589 3593
               console.log("this.projects[i].project.team",this.projects[i].project.team)
@@ -3594,10 +3598,10 @@ export default {
3594 3598
                 this.projects[i].single_dose = this.projects[i].single_dose
3595 3599
                 this.projects[i].single_dose_unit = this.projects[i].unit
3596 3600
                 this.projects[i].execution_time = this.projects[i].execution_time
3597
-                this.projects[i].execution_staff= this.projects[i].execution_staff 
3601
+                this.projects[i].execution_staff= this.projects[i].execution_staff
3598 3602
                 this.projects[i].advice_name =  this.projects[i].team.project_team
3599
-              
3600
-               
3603
+
3604
+
3601 3605
                 this.doctor_advices.push(this.projects[i])
3602 3606
                 // this.doctor_advices_2.push(this.project[i])
3603 3607
               }else{
@@ -3607,18 +3611,18 @@ export default {
3607 3611
                 this.projects[i].single_dose = this.projects[i].single_dose
3608 3612
                 this.projects[i].single_dose_unit = this.projects[i].unit
3609 3613
                 this.projects[i].execution_time = this.projects[i].execution_time
3610
-                this.projects[i].execution_staff= this.projects[i].execution_staff 
3614
+                this.projects[i].execution_staff= this.projects[i].execution_staff
3611 3615
                 this.doctor_advices.push(this.projects[i])
3612 3616
                 // this.doctor_advices_2.push(this.projects[i])
3613 3617
               }
3614
-             
3618
+
3615 3619
              }
3616
-             
3620
+
3617 3621
            }
3618 3622
         }
3619
-         
3623
+
3620 3624
         }
3621
-      
3625
+
3622 3626
         console.log("时间我我我哦我我",this.doctor_advices)
3623 3627
         if (this.doctor_advices.length <= 6) {
3624 3628
           var nl = 3;
@@ -3655,7 +3659,7 @@ export default {
3655 3659
         }
3656 3660
         // console.log(this.advice_groups);
3657 3661
 
3658
-       
3662
+
3659 3663
       } else {
3660 3664
         this.loading = false;
3661 3665
         this.$message.error("请求数据失败");
@@ -3691,7 +3695,7 @@ export default {
3691 3695
     //   }
3692 3696
     // },
3693 3697
     getAge: function(val) {
3694
-     
3698
+
3695 3699
       if (val.id_card_no) {
3696 3700
         var thisLen = val.id_card_no.length
3697 3701
 
@@ -3801,7 +3805,7 @@ export default {
3801 3805
       "vascular_access_desc"
3802 3806
     );
3803 3807
     this.org_id = this.$store.getters.xt_user.org.id;
3804
-   
3808
+
3805 3809
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
3806 3810
 
3807 3811
     var bloodAccessParOpera = getDataConfig(

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

@@ -1655,6 +1655,7 @@ export default {
1655 1655
       form['diagnosis'] = this.form.diagnosis.join(',')
1656 1656
       form['sick_type'] = this.form.sick_type
1657 1657
 
1658
+
1658 1659
       form['ids'] = this.temp_ids
1659 1660
       if (this.activeName == 'first') {
1660 1661
         form['settle_accounts_type'] = 1

+ 24 - 6
src/xt_pages/outpatientCharges/summary.vue Прегледај датотеку

@@ -646,9 +646,9 @@
646 646
     </el-dialog>
647 647
 
648 648
     <el-dialog title="修改发票号码" :visible.sync="dialogfapiaoVisible">
649
-      <el-input v-model="fapiao_code" type="text"></el-input>
649
+      <el-input v-model="fapiao_number" type="text"></el-input>
650 650
       <div slot="footer" class="dialog-footer">
651
-        <el-button @click="dialogfapiaoVisible = false">取 消</el-button>
651
+        <el-button @click="camcleModifyFaPiaoCode">取 消</el-button>
652 652
         <el-button type="primary" @click="modifyFaPiaoCode">确 定</el-button>
653 653
       </div>
654 654
     </el-dialog>
@@ -711,7 +711,7 @@ export default {
711 711
       admins:[],
712 712
       orderObj: {},
713 713
       batchOrderObj: {},
714
-      fapiao_code:"",
714
+      fapiao_number:"",
715 715
       med_options: [
716 716
         { id: 0, text: '全部' },
717 717
         { id: 11, text: '普通门诊' },
@@ -4015,10 +4015,27 @@ export default {
4015 4015
         }
4016 4016
       }
4017 4017
       return res
4018
+    },camcleModifyFaPiaoCode(){
4019
+      this.dialogfapiaoVisible = false
4020
+      this.invoiceVisible = true
4021
+      var obj = this.targeObj
4022
+      let paramsObj = {
4023
+        order_id: obj.id,
4024
+        patient_id: obj.patient_id,
4025
+        number: obj.mdtrt_id,
4026
+        name: obj.patient.name,
4027
+        age: obj.age,
4028
+        gend: obj.patient.gender,
4029
+        setl_time: obj.setl_time,
4030
+        chargeName: this.getName(obj.creator)
4031
+      }
4032
+      this.dialogfapiaoVisible = false
4033
+      this.invoiceParams = paramsObj
4034
+      this.invoiceVisible = true
4018 4035
     },modifyFaPiaoCode(){
4019 4036
       let params = {
4020 4037
           id:this.targeOrderId,
4021
-          fapiao_code: this.fapiao_code
4038
+          fapiao_number: this.fapiao_number
4022 4039
       }
4023 4040
       modifyFapiaoCodetwo(params).then((response) => {
4024 4041
         if (response.data.state == 0) {
@@ -4039,14 +4056,15 @@ export default {
4039 4056
           this.dialogfapiaoVisible = false
4040 4057
           this.invoiceParams = paramsObj
4041 4058
           this.invoiceVisible = true
4059
+          this.getHisOrderList()
4042 4060
         }
4043 4061
       })
4044 4062
 
4045 4063
     },
4046 4064
 
4047 4065
     invoicePrint(obj) {
4048
-      if(this.$store.getters.xt_user.org_id == 10480){
4049
-        this.fapiao_code = obj.fa_piao_code
4066
+      if(this.$store.getters.xt_user.org_id == 10480 || this.$store.getters.xt_user.org_id == 0){
4067
+        this.fapiao_number  = obj.fa_piao_number
4050 4068
         this.dialogfapiaoVisible = true
4051 4069
         this.targeOrderId = obj.id
4052 4070
         this.targeObj = obj

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

@@ -227,12 +227,12 @@
227 227
           @click="toAutoDrug">自动生成</el-button> -->
228 228
 
229 229
 
230
-         <el-button
230
+         <!-- <el-button
231 231
           type="primary"
232 232
           size="small"
233 233
           icon="el-icon-circle-plus-outline"
234 234
           style="float:left"
235
-          @click="toAutoDiagnose">自动脚本</el-button>
235
+          @click="toAutoDiagnose">自动脚本</el-button> -->
236 236
 
237 237
         <!-- <el-button
238 238
           type="primary"

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

@@ -678,7 +678,7 @@
678 678
         </div>
679 679
       </div>
680 680
       <!-- </div> -->
681
-      <el-dialog title="新增病程记录" width="50%" top="5vh" :visible.sync="show_dialog">
681
+      <el-dialog title="新增病程记录" width="70%" top="5vh" :visible.sync="show_dialog">
682 682
         <div>
683 683
           <div class="new_record_form">
684 684
             <div class="cell clearfix">
@@ -707,7 +707,7 @@
707 707
               <keep-alive>
708 708
                 <editor ref="editor"
709 709
                         id="editors"
710
-                        style="width: 600px"
710
+                        style="width: 80%"
711 711
                         v-bind:r_content="new_content"
712 712
                         >
713 713
                 </editor>

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

@@ -56,7 +56,7 @@
56 56
             </div>
57 57
 
58 58
             <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
59
-              <div v-html="item.content" class="printP">
59
+              <div v-html="item.content" class="printP" >
60 60
 
61 61
               </div>
62 62
             </div>
@@ -363,6 +363,15 @@
363 363
   .printP{
364 364
     line-height: 20px;
365 365
     font-weight: bold;
366
+    
367
+  }
368
+  .printP table{
369
+    border: 1px solid black;
370
+    border-collapse: collapse;
371
+  }
372
+  .printP table tr td{
373
+    border: 1px solid black;
374
+    border-collapse: collapse;
366 375
   }
367 376
 </style>
368 377
 

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

@@ -14,9 +14,19 @@
14 14
           @click="printThisInfo()"
15 15
           type="primary"
16 16
           icon="el-icon-printer"
17
-          >打印</el-button
17
+          >打印2</el-button
18 18
         >
19
-        <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
19
+        
20
+        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
21
+        <el-button
22
+          style="float:right;"
23
+          size="small"
24
+          @click="printThisInfoOne()"
25
+          type="primary"
26
+          icon="el-icon-printer"
27
+          >打印1</el-button
28
+        >
29
+        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
20 30
         <el-button
21 31
           style="float:right;margin-right:20px"
22 32
           size="small"
@@ -414,6 +424,77 @@
414 424
         </div>
415 425
 
416 426
       </div>
427
+
428
+
429
+      <div style="display:none;">
430
+        <div id="printRecordOne" class="record-order">
431
+          <div class="rd-title">{{ orgname }}</div>
432
+          <div class="rd-name">
433
+            <span
434
+              >姓名:<span class="item-value">{{
435
+                currentPatient.name
436
+              }}</span></span
437
+            >
438
+            <span style="margin-left:10px;"
439
+              >透析号:<span class="item-value">{{
440
+                currentPatient.dialysis_no
441
+              }}</span></span
442
+            >
443
+            <span style="margin-left:10px;"
444
+              >性别:
445
+              <span class="item-value">
446
+                <span v-if="currentPatient.gender==1">男</span>
447
+                <span v-if="currentPatient.gender==2">女</span>
448
+              </span>
449
+             </span>
450
+
451
+            <span style="margin-left:10px;"
452
+              >年龄:<span class="item-value">{{
453
+                currentPatient.age
454
+              }}</span></span
455
+            >
456
+          </div>
457
+          <table
458
+            cellspacing="0"
459
+            cellpadding="0"
460
+            border="1"
461
+            class="el-table__body"
462
+            style="width: 100%;"
463
+          >
464
+            <thead>
465
+              <th>序号</th>
466
+              <th>透析日期</th>
467
+              <th>班次</th>
468
+              <th>分区机号</th>
469
+              <th>透析模式</th>
470
+              <th>透析用药</th>
471
+              <th>治疗护士</th>
472
+              <th>治疗医生</th>
473
+              <th>开始透析时间</th>
474
+              <th>结束透析时间</th>
475
+              <th>患者签名</th>
476
+            </thead>
477
+            <tbody>
478
+              <tr v-for="item,index in recordData" :key="item.id">
479
+                <td align="center">{{ index +1 }}</td>
480
+                <td align="center">{{ item.dialysis_date | parseTime("{y}-{m}-{d}") }}</td>
481
+                <td align="center">{{ scheduleType(item.schedule_type) }}</td>
482
+                <td align="center">{{ item.partition_name }}-{{ item.device.number }}</td>
483
+                <td align="center">{{ modeName(item.prescription.mode_id) }}</td>
484
+                <td align="center">{{ getAdviceStr(item.doctor_advice) }}</td>
485
+                <td align="center">{{ getNurseName(item.start_nurse) }}</td>
486
+                <td align="center">{{ getDoctorName(item.prescription.creater) }}</td>
487
+                <td align="center">{{ item.start_time | parseTime("{y}-{m}-{d} {h}:{i}")  }}</td>
488
+                <td align="center">{{ item.end_time | parseTime("{y}-{m}-{d} {h}:{i}")  }}</td>
489
+                <td align="center">
490
+                 <span v-if="item.url!=''"> <img :src="item.url" style="width: 50px;height:50px"></span>
491
+                </td>
492
+              </tr>
493
+            </tbody>
494
+          </table>
495
+        </div>
496
+
497
+      </div>
417 498
     </div>
418 499
     <!-- 透析记录弹窗 -->
419 500
     <div>
@@ -679,6 +760,7 @@ export default {
679 760
       return "";
680 761
     },
681 762
     onTranPatient: function(tranPatient) {
763
+      
682 764
       this.currentPatient = tranPatient;
683 765
     },
684 766
     printThisInfo() {
@@ -693,6 +775,18 @@ export default {
693 775
         });
694 776
       }, 1);
695 777
     },
778
+    printThisInfoOne() {
779
+      const style =
780
+        "@media print { .record-order .rd-title{  text-align: center; font-weight: 600; font-size: 30px; line-height: 80px; margin-bottom: 20px; } .record-order .rd-type{ text-align: center;  margin-bottom: 20px; } .record-order .rd-name { align-items: center; justify-content: space-between; padding: 30px 2em; } .record-order .el-table__body{ border: 1px solid #333; } .record-order .el-table__body td{ border: 1px solid #333; } .record-order .item-value {  border-bottom: 1px solid #333; padding: 0 20px;} .record-order th, .record-order td {  padding: 5px 10px; }}";
781
+      setTimeout(() => {
782
+        printJS({
783
+          printable: "printRecordOne",
784
+          type: "html",
785
+          style: style,
786
+          scanStyles: false
787
+        });
788
+      }, 1);
789
+    },
696 790
     clickCurrent(val) {
697 791
 
698 792
       this.patient_id = val.patient_id
@@ -759,6 +853,25 @@ export default {
759 853
       return jsonData.map(v => filterVal.map(j => v[j]));
760 854
     },
761 855
 
856
+    getAdviceStr(arr){
857
+     
858
+      var advice_name_str = ""
859
+      var newArr = []
860
+      if(arr!=null && arr.length >0){
861
+        for(let i=0;i<arr.length;i++){
862
+           if(arr[i].advice_name.indexOf("促红")!=-1){
863
+              newArr.push(arr[i])
864
+           }
865
+        }
866
+      }
867
+      if(newArr!=null){
868
+        for(let i=0;i<newArr.length;i++){
869
+           advice_name_str += newArr[i].advice_name + "*"+ newArr[i].prescribing_number + newArr[i].prescribing_number_unit+ "  "
870
+        }
871
+      }
872
+      console.log("HHHHHHHHHHHHHHHHHHHHHHHHHHHHH",advice_name_str)
873
+      return advice_name_str
874
+    }
762 875
   },
763 876
   created() {
764 877
     const id = this.$route.params && this.$route.params.id;

+ 7 - 4
src/xt_pages/workforce/components/ScheduleItem.vue Прегледај датотеку

@@ -1,16 +1,14 @@
1 1
 <template>
2 2
   <!-- 排班表填充内容 -->
3 3
     <div >
4
-
5
-      <div >
6
-          <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span><br/>         
4
+      <div>
5
+          <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span><br/>
7 6
           <template v-if="schedulMode">
8 7
             <span v-if="scheduleDetail.mode_name.length>0"  :class='modeColor(scheduleDetail.mode_name)' >{{'('+scheduleDetail.mode_name+')'}}</span>
9 8
           </template>
10 9
           <template v-if="schedulFlag">
11 10
             <br/><span >{{scheduleDetail.dialysis_machine_name}}</span>
12 11
           </template>
13
-
14 12
       </div>
15 13
     </div>
16 14
 </template>
@@ -54,6 +52,8 @@ export default {
54 52
                 return 'modeRed'
55 53
             }else if(name == 'HD+HP'){
56 54
                 return 'modePurple'
55
+            }else if(name == 'PHF'){
56
+                return 'modephf'
57 57
             }
58 58
         }
59 59
   }
@@ -67,4 +67,7 @@ export default {
67 67
 .modePurple{
68 68
   color: #53b86e;
69 69
 }
70
+.modephf{
71
+  color:rgb(224, 80, 80)
72
+}
70 73
 </style>

+ 3 - 1
src/xt_pages/workforce/components/tableData.vue Прегледај датотеку

@@ -1463,7 +1463,9 @@ export default {
1463 1463
       if(this.org_id!=10503 && this.org_id!=10447 && this.org_id!=0 && this.org_id !=10471){
1464 1464
         return 'border: 1px solid #707174;border-collapse: collapse;'
1465 1465
       }
1466
-      
1466
+      if(columnIndex!=1&&row.zone_type!=1&&columnIndex!=23&&columnIndex!=0){
1467
+        return 'color:red'
1468
+      }
1467 1469
       
1468 1470
       // 分区蓝线
1469 1471
       // for(let i=0;i<this.subzone.length;i++){

+ 42 - 43
src/xt_pages/workforce/scheduleTablePrintTwo.vue Прегледај датотеку

@@ -72,17 +72,16 @@
72 72
                 <template v-if="schedule_type ==1">
73 73
                   <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
74 74
                     <span v-if="item.Mon_M.patient_id">
75
-                      <span>{{ item.Mon_M.patient }} </span><br/>
76
-                      <span >{{ item.Mon_M.mode_name }}</span><br/>
77
-                     
75
+                      <span>{{ item.Mon_M.patient }} </span>&nbsp;
76
+                      <span >{{ item.Mon_M.mode_name }}</span>&nbsp;
78 77
                       <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}
79 78
                       </span>
80 79
                     </span>
81 80
                   </td>
82 81
                   <td colspan="3" style="min-width:50px;"  v-if="second_day == 2">
83 82
                     <span v-if="item.Tue_M.patient_id">
84
-                        <span>{{ item.Tue_M.patient }} </span><br/>
85
-                        <span >{{ item.Tue_M.mode_name }}</span><br/>
83
+                        <span>{{ item.Tue_M.patient }} </span>&nbsp;
84
+                        <span >{{ item.Tue_M.mode_name }}</span>&nbsp;
86 85
                         <span v-if="org_id==0">{{getAnticoagulant(item.Tue_M.anticoagulant )  }}</span>
87 86
                         <span v-show="showflag">{{item.Tue_M.dialysis_machine_name}}
88 87
                          
@@ -91,8 +90,8 @@
91 90
                   </td>
92 91
                   <td colspan="3" style="min-width:50px;" v-if="three_day == 3">
93 92
                       <span v-if="item.Wed_M.patient_id">
94
-                        <span>{{ item.Wed_M.patient }} </span><br/>
95
-                          <span >{{ item.Wed_M.mode_name }}</span><br/>
93
+                        <span>{{ item.Wed_M.patient }} </span>&nbsp;
94
+                          <span >{{ item.Wed_M.mode_name }}</span>&nbsp;
96 95
                           <span v-if="org_id == 0">{{getAnticoagulant(item.Wed_M.anticoagulant)  }}</span>
97 96
                           <span v-show="showflag">{{item.Wed_M.dialysis_machine_name}}
98 97
                             
@@ -101,8 +100,8 @@
101 100
                   </td>
102 101
                   <td colspan="3" style="min-width:50px;" v-if="four_day == 4">
103 102
                       <span v-if="item.Thurs_M.patient_id">
104
-                        <span>{{ item.Thurs_M.patient }} </span><br/>
105
-                          <span >{{ item.Thurs_M.mode_name }}</span><br/>
103
+                        <span>{{ item.Thurs_M.patient }} </span>&nbsp;
104
+                          <span >{{ item.Thurs_M.mode_name }}</span>&nbsp;
106 105
                           <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span>
107 106
                           <span v-show="showflag">{{item.Thurs_M.dialysis_machine_name}}
108 107
                           
@@ -111,8 +110,8 @@
111 110
                   </td>
112 111
                   <td colspan="3" style="min-width:50px;" v-if="five_day == 5">
113 112
                       <span v-if="item.Fri_M.patient_id">
114
-                        <span>{{ item.Fri_M.patient }} </span><br/>
115
-                          <span >{{ item.Fri_M.mode_name }}</span><br/>
113
+                        <span>{{ item.Fri_M.patient }} </span>&nbsp;
114
+                          <span >{{ item.Fri_M.mode_name }}</span>&nbsp;
116 115
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span>
117 116
                           <span v-show="showflag">{{item.Fri_M.dialysis_machine_name}}
118 117
                             
@@ -121,8 +120,8 @@
121 120
                   </td>
122 121
                   <td colspan="3" style="min-width:50px;" v-if="six_day == 6">
123 122
                       <span v-if="item.Sat_M.patient_id">
124
-                        <span>{{ item.Sat_M.patient }} </span><br/>
125
-                          <span >{{ item.Sat_M.mode_name }}</span><br/>
123
+                        <span>{{ item.Sat_M.patient }} </span>&nbsp;
124
+                          <span >{{ item.Sat_M.mode_name }}</span>&nbsp;
126 125
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span> 
127 126
                           <span v-show="showflag">{{item.Sat_M.dialysis_machine_name}}
128 127
                           
@@ -131,8 +130,8 @@
131 130
                   </td>
132 131
                   <td colspan="3" style="min-width:50px;" v-if="seven_day == 7">
133 132
                       <span v-if="item.Sun_M.patient_id">
134
-                        <span>{{ item.Sun_M.patient }} </span><br/>
135
-                          <span >{{ item.Sun_M.mode_name }}</span><br/>
133
+                        <span>{{ item.Sun_M.patient }} </span>&nbsp;
134
+                          <span >{{ item.Sun_M.mode_name }}</span>&nbsp;
136 135
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span>
137 136
                           <span v-show="showflag">{{item.Sun_M.dialysis_machine_name}}
138 137
                           
@@ -144,8 +143,8 @@
144 143
                 <template v-if="schedule_type ==2">
145 144
                   <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
146 145
                     <span v-if="item.Mon_A.patient_id">
147
-                      <span>{{ item.Mon_A.patient }} </span><br/>
148
-                      <span >{{ item.Mon_A.mode_name }}</span><br/>
146
+                      <span>{{ item.Mon_A.patient }} </span>&nbsp;
147
+                      <span >{{ item.Mon_A.mode_name }}</span>&nbsp;
149 148
                       <span v-if="org_id ==0">{{getAnticoagulant(item.Mon_M.anticoagulant)}}</span>
150 149
                       <span v-show="showflag">{{item.Mon_A.dialysis_machine_name}}
151 150
                       </span>
@@ -153,8 +152,8 @@
153 152
                   </td>
154 153
                   <td colspan="3" style="min-width:50px;"  v-if="second_day == 2">
155 154
                       <span v-if="item.Tue_A.patient_id">
156
-                        <span>{{ item.Tue_A.patient }} </span><br/>
157
-                          <span >{{ item.Tue_A.mode_name }}</span><br/>
155
+                        <span>{{ item.Tue_A.patient }} </span>&nbsp;
156
+                          <span >{{ item.Tue_A.mode_name }}</span>&nbsp;
158 157
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Tue_A.anticoagulant)}}</span>
159 158
                           <span v-show="showflag">{{item.Tue_A.dialysis_machine_name}}
160 159
                           
@@ -164,8 +163,8 @@
164 163
                   </td>
165 164
                   <td colspan="3" style="min-width:50px;" v-if="three_day == 3">
166 165
                       <span v-if="item.Wed_A.patient_id">
167
-                        <span>{{ item.Wed_A.patient }} </span><br/>
168
-                          <span >{{ item.Wed_A.mode_name }}</span><br/>
166
+                        <span>{{ item.Wed_A.patient }} </span>&nbsp;
167
+                          <span >{{ item.Wed_A.mode_name }}</span>&nbsp;
169 168
                           <span v-if="org_id ==0">{{getAnticoagulant(item.Wed_A.anticoagulant)}}</span>
170 169
                           <span v-show="showflag">{{item.Wed_A.dialysis_machine_name}}
171 170
                           
@@ -174,8 +173,8 @@
174 173
                   </td>
175 174
                   <td colspan="3" style="min-width:50px;" v-if="four_day == 4">
176 175
                       <span v-if="item.Thurs_A.patient_id">
177
-                        <span>{{ item.Thurs_A.patient }} </span><br/>
178
-                          <span >{{ item.Thurs_A.mode_name }}</span><br/>
176
+                        <span>{{ item.Thurs_A.patient }} </span>&nbsp;
177
+                          <span >{{ item.Thurs_A.mode_name }}</span>&nbsp;
179 178
                           <span v-if="org_id ==0">{{getAnticoagulant(item.Thurs_A.anticoagulant) }}</span> 
180 179
 
181 180
                           <span v-show="showflag">{{item.Thurs_A.dialysis_machine_name}}
@@ -185,8 +184,8 @@
185 184
                   </td>
186 185
                   <td colspan="3" style="min-width:50px;" v-if="five_day == 5">
187 186
                       <span v-if="item.Fri_A.patient_id">
188
-                        <span>{{ item.Fri_A.patient }} </span><br/>
189
-                          <span >{{ item.Fri_A.mode_name }}</span><br/>
187
+                        <span>{{ item.Fri_A.patient }} </span>&nbsp;
188
+                          <span >{{ item.Fri_A.mode_name }}</span>&nbsp;
190 189
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span> 
191 190
                           <span v-show="showflag">{{item.Fri_A.dialysis_machine_name}}
192 191
                             
@@ -195,8 +194,8 @@
195 194
                   </td>
196 195
                   <td colspan="3" style="min-width:50px;" v-if="six_day == 6">
197 196
                       <span v-if="item.Sat_A.patient_id">
198
-                        <span>{{ item.Sat_A.patient }} </span><br/>
199
-                          <span >{{ item.Sat_A.mode_name }}</span><br/>
197
+                        <span>{{ item.Sat_A.patient }} </span>&nbsp;
198
+                          <span >{{ item.Sat_A.mode_name }}</span>&nbsp;
200 199
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span> 
201 200
                           <span v-show="showflag">{{item.Sat_A.dialysis_machine_name}}
202 201
                             
@@ -205,8 +204,8 @@
205 204
                   </td>
206 205
                   <td colspan="3" style="min-width:50px;" v-if="seven_day == 7">
207 206
                       <span v-if="item.Sun_A.patient_id">
208
-                        <span>{{ item.Sun_A.patient }} </span><br/>
209
-                          <span >{{ item.Sun_A.mode_name }}</span><br/>
207
+                        <span>{{ item.Sun_A.patient }} </span>&nbsp;
208
+                          <span >{{ item.Sun_A.mode_name }}</span>&nbsp;
210 209
                           <span v-if="org_id ==0">{{getAnticoagulant(item.Sun_A.anticoagulant)}}</span>
211 210
                           <span v-show="showflag">{{item.Sun_A.dialysis_machine_name}}
212 211
                           
@@ -219,8 +218,8 @@
219 218
                 <template v-if="schedule_type ==3">
220 219
                   <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
221 220
                     <span v-if="item.Mon_N.patient_id">
222
-                      <span>{{ item.Mon_N.patient }} </span><br/>
223
-                      <span >{{ item.Mon_N.mode_name }}</span><br/>
221
+                      <span>{{ item.Mon_N.patient }} </span>&nbsp;
222
+                      <span >{{ item.Mon_N.mode_name }}</span>&nbsp;
224 223
                       <span v-if="org_id ==0">{{getAnticoagulant(item.Mon_M.anticoagulant)}}</span>
225 224
                       <span v-show="showflag">{{item.Mon_N.dialysis_machine_name}}
226 225
                       </span>
@@ -228,8 +227,8 @@
228 227
                   </td>
229 228
                   <td colspan="3" style="min-width:50px;"  v-if="second_day == 2">
230 229
                       <span v-if="item.Tue_N.patient_id">
231
-                        <span>{{ item.Tue_N.patient }} </span><br/>
232
-                          <span >{{ item.Tue_N.mode_name }}</span><br/>
230
+                        <span>{{ item.Tue_N.patient }} </span>&nbsp;
231
+                          <span >{{ item.Tue_N.mode_name }}</span>&nbsp;
233 232
                           <span v-if="org_id==0">{{getAnticoagulant(item.Tue_N.anticoagulant)  }}</span>
234 233
                           <span v-show="showflag">{{item.Tue_N.dialysis_machine_name}}
235 234
                             
@@ -238,8 +237,8 @@
238 237
                   </td>
239 238
                   <td colspan="3" style="min-width:50px;" v-if="three_day == 3">
240 239
                       <span v-if="item.Wed_N.patient_id">
241
-                        <span>{{ item.Wed_N.patient }} </span><br/>
242
-                          <span >{{ item.Wed_N.mode_name }}</span><br/>
240
+                        <span>{{ item.Wed_N.patient }} </span>&nbsp;
241
+                          <span >{{ item.Wed_N.mode_name }}</span>&nbsp;
243 242
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span>
244 243
                           <span v-show="showflag">{{item.Wed_N.dialysis_machine_name}}
245 244
                           
@@ -248,8 +247,8 @@
248 247
                   </td>
249 248
                   <td colspan="3" style="min-width:50px;" v-if="four_day == 4">
250 249
                       <span v-if="item.Thurs_N.patient_id">
251
-                        <span>{{ item.Thurs_N.patient }} </span><br/>
252
-                          <span >{{ item.Thurs_N.mode_name }}</span><br/>
250
+                        <span>{{ item.Thurs_N.patient }} </span>&nbsp;
251
+                          <span >{{ item.Thurs_N.mode_name }}</span>&nbsp;
253 252
                           <span v-if="org_id ==0" >{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span> 
254 253
                           <span v-show="showflag">{{item.Thurs_N.dialysis_machine_name}}
255 254
                           
@@ -258,8 +257,8 @@
258 257
                   </td>
259 258
                   <td colspan="3" style="min-width:50px;" v-if="five_day == 5">
260 259
                       <span v-if="item.Fri_N.patient_id">
261
-                        <span>{{ item.Fri_N.patient }} </span><br/>
262
-                          <span >{{ item.Fri_N.mode_name }}</span><br/>
260
+                        <span>{{ item.Fri_N.patient }} </span>&nbsp;
261
+                          <span >{{ item.Fri_N.mode_name }}</span>&nbsp;
263 262
                           <span v-if="org_id == 0">{{getAnticoagulant(item.Fri_N.anticoagulant)  }}</span>
264 263
                           <span v-show="showflag">{{item.Fri_N.dialysis_machine_name}}
265 264
                             
@@ -268,8 +267,8 @@
268 267
                   </td>
269 268
                   <td colspan="3" style="min-width:50px;" v-if="six_day == 6">
270 269
                       <span v-if="item.Sat_N.patient_id">
271
-                        <span>{{ item.Sat_N.patient }} </span><br/>
272
-                          <span >{{ item.Sat_N.mode_name }}</span><br/>
270
+                        <span>{{ item.Sat_N.patient }} </span>&nbsp;
271
+                          <span >{{ item.Sat_N.mode_name }}</span>&nbsp;
273 272
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span> 
274 273
                           <span v-show="showflag">{{item.Sat_N.dialysis_machine_name}}
275 274
                           
@@ -278,8 +277,8 @@
278 277
                   </td>
279 278
                   <td colspan="3" style="min-width:50px;" v-if="seven_day == 7">
280 279
                       <span v-if="item.Sun_N.patient_id">
281
-                        <span>{{ item.Sun_N.patient }} </span><br/>
282
-                          <span >{{ item.Sun_N.mode_name }}</span><br/>
280
+                        <span>{{ item.Sun_N.patient }} </span>&nbsp;
281
+                          <span >{{ item.Sun_N.mode_name }}</span>&nbsp;
283 282
                           <span v-if="org_id ==0">{{ getAnticoagulant(item.Sun_N.anticoagulant ) }}</span>
284 283
                           <span v-show="showflag">{{item.Sun_N.dialysis_machine_name}}
285 284
                             

+ 13 - 13
src/xt_permission.js Прегледај датотеку

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))