Browse Source

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

陈少旭 1 month ago
parent
commit
a4033e45d6

File diff suppressed because it is too large
+ 364 - 344
src/xt_pages/dialysis/batch_print/batch_print_order_eightyTwo.vue


+ 2 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue View File

@@ -324,7 +324,8 @@
324 324
                       </td>
325 325
                       <td>{{ advice[0].delivery_way }}</td>
326 326
                       <td>{{ getTime(advice[0].execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
327
-                      <td style="height:30px;line-height:30px">杨能华/
327
+                      <td style="height:30px;line-height:30px">
328
+                        <span v-if="advice[0].start_time>0">杨能华/</span>
328 329
                         <span v-if="setAdminUserES(advice[0],'advice_doctor') == ''">
329 330
                           {{ getAdminUser(advice[0],'advice_doctor')}}
330 331
                         </span>

+ 75 - 65
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue View File

@@ -319,9 +319,9 @@
319 319
                         预透时间:
320 320
                         <div class="under_line" style=" width: 50%; text-align: center; white-space: normal; ">
321 321
                           {{ record.prescription.dialysis_duration_hour ? record.prescription.dialysis_duration_hour :
322
-                          "0"}}h
322
+                            "0" }}h
323 323
                           {{ record.prescription.dialysis_duration_minute ? record.prescription.dialysis_duration_minute
324
-                          : "0"}}min
324
+                            : "0" }}min
325 325
                         </div>
326 326
                       </div>
327 327
                       <div class="inline_block" style="flex: 1">
@@ -367,10 +367,10 @@
367 367
                         上次透后体重:
368 368
                         <div class="under_line" style="width: 50px; text-align: center">
369 369
                           <span v-if="record.lastafterweight.weight_after > 0"> {{ record.lastafterweight.weight_after ?
370
-                            record.lastafterweight.weight_after:"未称重"}}</span>
370
+                            record.lastafterweight.weight_after : "未称重" }}</span>
371 371
                           <span v-if="record.lastafterweight.weight_after <= 0">
372 372
                             {{ record.assessment_after_dislysis.last_after_weight ?
373
-                              record.assessment_after_dislysis.last_after_weight:"未称重"}}</span>
373
+                              record.assessment_after_dislysis.last_after_weight : "未称重" }}</span>
374 374
                         </div>
375 375
                         kg
376 376
                       </div>
@@ -400,7 +400,7 @@
400 400
                               record.lastafterweight.weight_after > 0
401 401
                               ? parseFloat(record.assessment_before_dislysis.weight_before -
402 402
                                 record.assessment_before_dislysis.additional_weight
403
-                                - record.lastafterweight.weight_after).toFixed(2): "/"
403
+                                - record.lastafterweight.weight_after).toFixed(2) : "/"
404 404
                             }}
405 405
                           </span>
406 406
 
@@ -410,7 +410,7 @@
410 410
                               record.assessment_after_dislysis.last_after_weight > 0
411 411
                               ? parseFloat(record.assessment_before_dislysis.weight_before -
412 412
                                 record.assessment_before_dislysis.additional_weight
413
-                                - record.assessment_after_dislysis.last_after_weight).toFixed(2): "/"
413
+                                - record.assessment_after_dislysis.last_after_weight).toFixed(2) : "/"
414 414
                             }}
415 415
                           </span>
416 416
 
@@ -614,7 +614,8 @@
614 614
                           <td>{{ monitor_record.blood_flow_volume ? monitor_record.blood_flow_volume : "" }}</td>
615 615
                           <td>{{ monitor_record.replacement_rate ? monitor_record.replacement_rate : '/' }}</td>
616 616
                           <td>{{ monitor_record.ultrafiltration_rate ? monitor_record.ultrafiltration_rate : '/' }}</td>
617
-                          <td>{{ monitor_record.ultrafiltration_volume ? monitor_record.ultrafiltration_volume : "0" }}</td>
617
+                          <td>{{ monitor_record.ultrafiltration_volume ? monitor_record.ultrafiltration_volume : "0" }}
618
+                          </td>
618 619
                           <td>{{ monitor_record.venous_pressure ? monitor_record.venous_pressure : "/" }}</td>
619 620
                           <td>{{ monitor_record.transmembrane_pressure ? monitor_record.transmembrane_pressure : "" }}
620 621
                           </td>
@@ -624,7 +625,7 @@
624 625
                           <td>{{ monitor_record.pulse_frequency ? monitor_record.pulse_frequency : "" }}</td>
625 626
                           <td>{{ monitor_record.breathing_rate ? monitor_record.breathing_rate : "" }}</td>
626 627
                           <td>{{ monitor_record.systolic_blood_pressure ? monitor_record.systolic_blood_pressure + "/" :
627
-                            ""}}
628
+                            "" }}
628 629
                             {{ monitor_record.diastolic_blood_pressure ? monitor_record.diastolic_blood_pressure : "" }}
629 630
                           </td>
630 631
 
@@ -733,10 +734,10 @@
733 734
 
734 735
                                 <span v-if="it.parent_id == 0">{{
735 736
                                   it.delivery_way
736
-                                  }}</span>
737
+                                }}</span>
737 738
                                 <span v-if="it.parent_id == 0">{{
738 739
                                   it.execution_frequency
739
-                                  }}</span>
740
+                                }}</span>
740 741
                                 <span v-if="
741 742
                                   it.parent_id == 0 &&
742 743
                                   it.remark.length > 0
@@ -750,8 +751,8 @@
750 751
                                 setAdminUserES(advice, 'advice_doctor') ==
751 752
                                 ''
752 753
                               ">{{
753
-                                  getAdminUser(advice, "advice_doctor")
754
-                                }}</span>
754
+                                getAdminUser(advice, "advice_doctor")
755
+                              }}</span>
755 756
                               <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')
756 757
                                 " alt="" srcset="" v-else style="height: 30px" />
757 758
                             </td>
@@ -767,8 +768,8 @@
767 768
                                   'execution_staff'
768 769
                                 ) == ''
769 770
                               ">{{
770
-                                  getAdminUser(advice, "execution_staff")
771
-                                }}</span>
771
+                                getAdminUser(advice, "execution_staff")
772
+                              }}</span>
772 773
                               <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')
773 774
                                 " alt="" srcset="" v-else style="height: 30px" />
774 775
                             </td>
@@ -781,26 +782,28 @@
781 782
                             </td>
782 783
 
783 784
                             <td height="35px" colspan="2" class="advice-name" style="padding-left: 7px">
784
-
785
+                              <span v-if="advice[0].parent_id>0">---></span>
785 786
                               <span>{{ advice[0].advice_name }}</span>
786 787
 
787 788
                               <span v-if="advice[0].advice_desc">
788
-                                ({{ advice[0].advice_desc
789
-                                }}{{ advice[0].drug_spec_unit }} )
789
+                                ({{ advice[0].advice_desc}}
790
+                                {{ advice[0].drug_spec_unit }} )
790 791
                               </span>
791 792
 
792
-                              <span v-if="advice[0].prescribing_number">&nbsp;{{ advice[0].prescribing_number
793
-                                }}{{ advice[0].prescribing_number_unit }}</span>
793
+                              <span v-if="advice[0].prescribing_number">&nbsp;
794
+                                {{ advice[0].prescribing_number}}
795
+                                {{ advice[0].prescribing_number_unit }}
796
+                              </span>
794 797
                               <span v-if="advice[0].single_dose != 0">
795
-                                {{ advice[0].single_dose
796
-                                }}{{ advice[0].single_dose_unit }}</span>
798
+                                {{ advice[0].single_dose}}{{ advice[0].single_dose_unit }}
799
+                              </span>
797 800
 
798
-                              <span v-if="advice[0].parent_id == 0">{{
799
-                                advice[0].delivery_way
800
-                              }}</span>
801
-                              <span v-if="advice[0].parent_id == 0">{{
802
-                                advice[0].execution_frequency
803
-                              }}</span>
801
+                              <span v-if="advice[0].parent_id == 0">
802
+                                {{advice[0].delivery_way}}
803
+                              </span>
804
+                              <span v-if="advice[0].parent_id == 0">
805
+                                {{advice[0].execution_frequency}}
806
+                              </span>
804 807
                               <span v-if="
805 808
                                 advice[0].parent_id == 0 &&
806 809
                                 advice[0].remark.length > 0
@@ -814,8 +817,8 @@
814 817
                                 setAdminUserES(advice[0], 'advice_doctor') ==
815 818
                                 ''
816 819
                               ">{{
817
-                                  getAdminUser(advice[0], "advice_doctor")
818
-                                }}</span>
820
+                                getAdminUser(advice[0], "advice_doctor")
821
+                              }}</span>
819 822
                               <img class="es-img" :src="setAdminUserES(advice[0], 'advice_doctor')
820 823
                                 " alt="" srcset="" v-else style="height: 30px" />
821 824
                             </td>
@@ -831,12 +834,13 @@
831 834
                                   'execution_staff'
832 835
                                 ) == ''
833 836
                               ">{{
834
-                                  getAdminUser(advice[0], "execution_staff")
835
-                                }}</span>
837
+                                getAdminUser(advice[0], "execution_staff")
838
+                              }}</span>
836 839
                               <img class="es-img" :src="setAdminUserES(advice[0], 'execution_staff')
837 840
                                 " alt="" srcset="" v-else style="height: 30px" />
838 841
                             </td>
839 842
                           </tr>
843
+                          
840 844
                           <!-- <template v-if="record.advices.length<3">
841 845
                             <tr v-for="item in 3">
842 846
                               <td height="35px"></td>
@@ -1176,7 +1180,8 @@
1176 1180
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1177 1181
                       <div class="inline_block" style="flex: 1">
1178 1182
                         上机护士:
1179
-                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.puncture_nurse>0">
1183
+                        <div class="under_line" style="width: 80px; text-align: center"
1184
+                          v-if="record.dialysis_order.puncture_nurse > 0">
1180 1185
                           <span style="display: inline-block" v-if="setAdminUserES(
1181 1186
                             record.dialysis_order, 'puncture_nurse'
1182 1187
                           ) == ''
@@ -1190,7 +1195,8 @@
1190 1195
                           )
1191 1196
                             " alt="" srcset="" v-else />
1192 1197
                         </div>
1193
-                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.change_nurse>0">
1198
+                        <div class="under_line" style="width: 80px; text-align: center"
1199
+                          v-if="record.dialysis_order.change_nurse > 0">
1194 1200
                           <span style="display: inline-block" v-if="setAdminUserES(
1195 1201
                             record.dialysis_order, 'change_nurse'
1196 1202
                           ) == ''
@@ -1339,16 +1345,16 @@
1339 1345
                               'finish_nurse'
1340 1346
                             ) == ''
1341 1347
                           ">{{
1342
-                              getAdminUser(
1348
+                            getAdminUser(
1349
+                              record.dialysis_order,
1350
+                              "finish_nurse"
1351
+                            )
1352
+                              ? getAdminUser(
1343 1353
                                 record.dialysis_order,
1344 1354
                                 "finish_nurse"
1345 1355
                               )
1346
-                                ? getAdminUser(
1347
-                                  record.dialysis_order,
1348
-                                  "finish_nurse"
1349
-                                )
1350
-                                : "/"
1351
-                            }}</span>
1356
+                              : "/"
1357
+                          }}</span>
1352 1358
                           <img class="es-img" :src="setAdminUserES(
1353 1359
                             record.dialysis_order,
1354 1360
                             'finish_nurse'
@@ -1684,36 +1690,40 @@ export default {
1684 1690
             }
1685 1691
 
1686 1692
 
1687
-            var childMap = {};
1688
-            for (const index in this.records[recordIndex].advices) {
1689
-              if (this.records[recordIndex].advices[index].parent_id == 0) {
1690
-                continue;
1691
-              }
1692
-              if (
1693
-                !(
1694
-                  this.records[recordIndex].advices[index].parent_id in childMap
1695
-                )
1696
-              ) {
1697
-                childMap[this.records[recordIndex].advices[index].parent_id] =
1698
-                  [];
1699
-              }
1700
-              childMap[this.records[recordIndex].advices[index].parent_id].push(
1701
-                this.records[recordIndex].advices[index]
1702
-              );
1703
-            }
1693
+            // var childMap = {};
1694
+            // for (const index in this.records[recordIndex].advices) {
1695
+            //   if (this.records[recordIndex].advices[index].parent_id == 0) {
1696
+            //     continue;
1697
+            //   }
1698
+            //   if (
1699
+            //     !(
1700
+            //       this.records[recordIndex].advices[index].parent_id in childMap
1701
+            //     )
1702
+            //   ) {
1703
+            //     childMap[this.records[recordIndex].advices[index].parent_id] =
1704
+            //       [];
1705
+            //   }
1706
+            //   console.log('children111',this.records[recordIndex].advices);
1707
+              
1708
+            //   childMap[this.records[recordIndex].advices[index].parent_id].push(
1709
+            //     this.records[recordIndex].advices[index]
1710
+            //   );
1711
+            // }
1704 1712
 
1705 1713
             var advices = [];
1706 1714
             for (const index in this.records[recordIndex].advices) {
1707
-              if (this.records[recordIndex].advices[index].parent_id > 0) {
1708
-                continue;
1709
-              }
1715
+              // if (this.records[recordIndex].advices[index].parent_id > 0) {
1716
+              //   continue;
1717
+              // }
1710 1718
               var item = this.records[recordIndex].advices[index];
1711
-              if (item.id in childMap) {
1712
-                item.children = childMap[item.id];
1713
-              } else {
1714
-                item.children = [];
1715
-              }
1719
+              // if (item.id in childMap) {
1720
+              //   // advices.push(childMap[item.id])
1721
+              //   // item.children = childMap[item.id];
1722
+              // } else {
1723
+              //   item.children = [];
1724
+              // }
1716 1725
               advices.push(item);
1726
+              console.log('3333333',advices)
1717 1727
             }
1718 1728
 
1719 1729
             var leftAdvice = [];

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue View File

@@ -254,6 +254,8 @@
254 254
                         showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
255 255
                       <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') != -1 ? true : false"
256 256
                         showValue="人造血管"></label-box>&nbsp;
257
+                        <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('股静脉') != -1 ? true : false"
258
+                        showValue="股静脉"></label-box>&nbsp;
257 259
                       其他:
258 260
                       <div style="display: inline-block;" 
259 261
                         v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&

+ 192 - 150
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue View File

@@ -738,8 +738,6 @@
738 738
           </tr>
739 739
         </table>
740 740
 
741
-     
742
-
743 741
         <table class="print-table" border="1">
744 742
           <tbody>
745 743
             <tr>
@@ -963,7 +961,6 @@
963 961
           </tbody>
964 962
         </table>
965 963
 
966
-
967 964
         <table class="table-box" style="margin-top: 10px;">
968 965
           <tbody>
969 966
             <tr>
@@ -1106,159 +1103,192 @@ export default {
1106 1103
   },
1107 1104
   methods: {
1108 1105
     checkData(){
1106
+      var checkdata=[]
1109 1107
       if(this.receiverTreatmentAccess.way == 0){
1110
-        this.$message.error('住院方式未填')
1111
-      }else if(this.receiverTreatmentAccess.consciousness == 0){
1112
-        this.$message.error('意识未填')
1113
-      }else if(this.predialysis.temperature == 0){
1114
-        this.$message.error('透前体温未填')
1115
-      }else if(this.receiverTreatmentAccess.posture == 0){
1116
-        this.$message.error('体位未填')
1117
-      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1118
-        this.$message.error('透前血压未填完整')
1119
-      }else if(this.predialysis.is_hemorrhage == 0){
1120
-        this.$message.error('出血未填')
1121
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
1122
-        this.$message.error('血管通路未填')
1123
-      }else if(this.predialysis.puncture_way == ''){
1124
-        this.$message.error('穿刺方法未填')
1125
-      }else if(this.predialysis.internal_fistula == ''){
1126
-        this.$message.error('内瘘震颤未填')
1127
-      }else if(this.predialysis.internal_fistula_skin == ''){
1128
-        this.$message.error('内瘘震颤皮肤未填')
1129
-      }else if(this.predialysis.puncture_needle == ''){
1130
-        this.$message.error('针型未填')
1131
-      }else if(this.predialysis.catheter == '' || (this.predialysis.catheter ? this.predialysis.catheter.indexOf('置管') == -1 : false)){
1132
-        this.$message.error('置管未填')
1133
-      }else if(this.predialysis.blood_access_part_id == ''){
1134
-        this.$message.error('血管通路部位未填')
1135
-      }else if(this.predialysis.catheter_bend == 0){
1136
-        this.$message.error('导管打折未填')
1137
-      }else if(this.predialysis.catheter == '' || (this.predialysis.catheter ? this.predialysis.catheter.indexOf('穿刺口') == -1 : false)){
1138
-        this.$message.error('穿刺口未填')
1139
-      }else if(this.predialysis.catheter == '' || (this.predialysis.catheter ? this.predialysis.catheter.indexOf('导管吸壁') == -1 : false)){
1140
-        this.$message.error('导管吸壁未填')
1141
-      }else if(this.afterdialysis.cvc_a == 0){
1142
-        this.$message.error('容量A未填')
1143
-      }else if(this.afterdialysis.cvc_v == 0){
1144
-        this.$message.error('容量V未填')
1145
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1146
-        this.$message.error('透析时间未填')
1147
-      }else if(this.prescription.blood_flow_volume == 0){
1148
-        this.$message.error('血流量未填')
1149
-      }else if(this.predialysis.weight_before == 0){
1150
-        this.$message.error('透前体重未填')
1151
-      }else if(this.predialysis.dry_weight == 0){
1152
-        this.$message.error('干体重未填')
1153
-      }else if(this.prescription.target_ultrafiltration == 0){
1154
-        this.$message.error('目标超滤量未填')
1155
-      }else if(this.prescription.anticoagulant == 0){
1156
-        this.$message.error('抗凝剂未填')
1157
-      }else if(this.prescription.dialysate_formulation_name == ""){
1158
-        this.$message.error('透析液配方未填')
1159
-      }else if(this.prescription.mode_id == ""){
1160
-        this.$message.error('透析模式未填')
1161
-      }else if(this.prescription.replacement_total == "" && this.prescription.mode_id == 2){
1162
-        this.$message.error('置换量未填')
1163
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
1164
-        this.$message.error('透析器或灌流器未填')
1165
-      }else if(this.prescription.prescription_doctor == 0 && this.prescription.creater == 0){
1166
-        this.$message.error('医生签名未填')
1167
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1168
-        this.$message.error('上机护士未填')
1169
-      }else if(this.dialysisOrder != null && ((this.dialysisOrder.puncture_nurse == this.check.modifier && this.check.creater == 0) || (this.check.modifier == 0 && this.check.creater == 0))){
1170
-        this.$message.error('核对护士未填')
1108
+        const obj='入院方式'
1109
+        checkdata.push(obj)
1110
+      } if(this.receiverTreatmentAccess.consciousness == 0){
1111
+        const obj0='意识'
1112
+        checkdata.push(obj0)
1113
+      } if(this.predialysis.temperature == 0){
1114
+        const obj1='透前体温'
1115
+        checkdata.push(obj1)
1116
+      } if(this.predialysis.is_hemorrhage == 0){
1117
+        const obj2='出血'
1118
+        checkdata.push(obj2)
1119
+      } if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
1120
+        const obj3 = '出血选项'
1121
+        checkdata.push(obj3)
1122
+      } if(this.predialysis.blood_access_part_opera_name == ''){
1123
+        const obj4 = '血管通路'
1124
+        checkdata.push(obj4)
1125
+      } if(this.predialysis.puncture_way == ''){
1126
+        const obj5 = '穿刺方法'
1127
+        checkdata.push(obj5)
1128
+      } if(this.predialysis.internal_fistula == ''){
1129
+        const obj6 = '内瘘震颤'
1130
+        checkdata.push(obj6)
1131
+      } if(this.predialysis.internal_fistula_skin == ''){
1132
+        const obj7 = '内瘘皮肤'
1133
+        checkdata.push(obj7)
1134
+      } if(this.predialysis.puncture_needle == ''){
1135
+        const obj8 = '针型'
1136
+        checkdata.push(obj8)
1137
+      } if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1138
+        const obj9 = '透前血压'
1139
+        checkdata.push(obj9)
1140
+      } if(this.predialysis.catheter == '' || (this.predialysis.catheter ? this.predialysis.catheter.indexOf('置管') == -1 : false)){
1141
+        const obj10 = '置管'
1142
+        checkdata.push(obj10)
1143
+      } if(this.predialysis.blood_access_part_id == ''){
1144
+        const obj11 = '血管通路部位'
1145
+        checkdata.push(obj11)
1146
+      } if(this.predialysis.catheter_bend == 0){
1147
+        const obj12 = '导管打折'
1148
+        checkdata.push(obj12)
1149
+      } if(this.predialysis.catheter == '' || (this.predialysis.catheter ? this.predialysis.catheter.indexOf('穿刺口') == -1 : false)){
1150
+        const obj13 = '穿刺口'
1151
+        checkdata.push(obj13)
1152
+      } if(this.predialysis.catheter == '' || (this.predialysis.catheter ? this.predialysis.catheter.indexOf('导管吸壁') == -1 : false)){
1153
+        const obj14 = '导管吸壁'
1154
+        checkdata.push(obj14)
1155
+      } if(this.afterdialysis.cvc_a == 0){
1156
+        const obj15 = '容量A'
1157
+        checkdata.push(obj15)
1158
+      } if(this.afterdialysis.cvc_v == 0){
1159
+        const obj16 = '容量V'
1160
+        checkdata.push(obj16)
1161
+      } if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1162
+        const obj17 = '透析时间'
1163
+        checkdata.push(obj17)
1164
+      } if(this.prescription.blood_flow_volume == 0){
1165
+        const obj18 = '血流量'
1166
+        checkdata.push(obj18)
1167
+      } if(this.predialysis.weight_before == 0){
1168
+        const obj19 = '透前体重'
1169
+        checkdata.push(obj19)
1170
+      } if(this.predialysis.dry_weight == 0){
1171
+        const obj20 = '干体重'
1172
+        checkdata.push(obj20)
1173
+      } if(this.prescription.target_ultrafiltration == 0){
1174
+        const obj21 = '目标超滤量'
1175
+        checkdata.push(obj21)
1176
+      } if(this.prescription.anticoagulant == 0){
1177
+        const obj22 = '抗凝剂'
1178
+        checkdata.push(obj22)
1179
+      } if(this.prescription.dialysate_formulation_name == ""){
1180
+        const obj23 = '透析液配方'
1181
+        checkdata.push(obj23)
1182
+      } if(this.prescription.mode_id == ""){
1183
+        const obj24 = '透析模式'
1184
+        checkdata.push(obj24)
1185
+      } if(this.prescription.replacement_total == "" && this.prescription.mode_id == 2){
1186
+        const obj25 = '置换量'
1187
+        checkdata.push(obj25)
1188
+      } if(this.prescription.dialyzer_perfusion_apparatus == ""){
1189
+        const obj26 = '透析器或灌流器'
1190
+        checkdata.push(obj26)
1191
+      } if(this.prescription.prescription_doctor == 0 && this.prescription.creater == 0){
1192
+        const obj27 = '医生签名'
1193
+        checkdata.push(obj27)
1194
+      } if(this.dialysisOrder.puncture_nurse == 0){
1195
+        const obj28 = '上机护士'
1196
+        checkdata.push(obj28)
1197
+      } if(this.dialysisOrder != null && ((this.dialysisOrder.puncture_nurse == this.check.modifier && this.check.creater == 0) || (this.check.modifier == 0 && this.check.creater == 0))){
1198
+        const obj29 = '核对护士'
1199
+        checkdata.push(obj29)
1171 1200
       }else if(this.dialysisOrder != null && ((this.dialysisOrder.puncture_nurse == this.check.creater && this.check.modifier == 0) || (this.check.modifier == 0 && this.check.creater == 0))){
1172
-        this.$message.error('核对护士未填')
1173
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1174
-        this.$message.error('实际治疗时间未填')
1175
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1176
-        this.$message.error('实际超滤量未填')
1177
-      }else if(this.afterdialysis.weight_after == 0){
1178
-        this.$message.error('透后体重未填')
1179
-      }else if(this.afterdialysis.cruor == ""){
1180
-        this.$message.error('透析器堵塞未填')
1181
-      }else if(this.afterdialysis.puncture_point_oozing_blood == 0){
1182
-        this.$message.error('拔针后穿刺点渗血未填')
1183
-      }else if(this.afterdialysis.puncture_point_haematoma == 0){
1184
-        this.$message.error('穿刺处血肿未填')
1185
-      }else if(this.afterdialysis.internal_fistula == ""){
1186
-        this.$message.error('压迫后内瘘震颤未填')
1187
-      }else if(this.afterdialysis.sealing_fluid_dispose == ""){
1188
-        this.$message.error('封管液配置未填')
1189
-      }else if(this.afterdialysis.complication == ""){
1190
-        this.$message.error('并发症未填')
1191
-      }else if(this.summary.dialysis_summary == ""){
1192
-        this.$message.error('透析小结未填')
1193
-      }else if(this.afterdialysis.patient_gose == 0){
1194
-        this.$message.error('患者去向未填')
1195
-      }else if(this.dialysisOrder.start_nurse == 0){
1196
-        this.$message.error('当班责任护士未填')
1197
-      }else if(this.dialysisOrder.finish_nurse == 0){
1198
-        this.$message.error('下机护士和护士签名未填')
1199
-      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1200
-        let num = 0
1201
-        if(this.monitors.length > 0){
1202
-          this.monitors.map(item => {
1203
-            if(item.id > 0 && item.operate_time){
1204
-              this.users.map(it => {
1205
-                if(it.id == item.monitoring_nurse){
1206
-                  if(it.user_type == 2){
1207
-                    num++
1208
-                    this.$message.closeAll()
1209
-                    this.$message.error('存在不是护士保存的监测')
1210
-                  }
1211
-                }
1212
-              })
1213
-            }
1214
-          })
1201
+        const obj29 = '核对护士'
1202
+        checkdata.push(obj29)
1203
+      } if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1204
+        const obj30 = '实际治疗时间'
1205
+        checkdata.push(obj30)
1206
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
1207
+        const obj31 = '实际超滤量'
1208
+        checkdata.push(obj31)
1209
+      } if(this.afterdialysis.weight_after == 0){
1210
+        const obj32 = '透后体重'
1211
+        checkdata.push(obj32)
1212
+      } if(this.afterdialysis.cruor == ""){
1213
+        const obj33 = '透析器堵塞'
1214
+        checkdata.push(obj33)
1215
+      } if(this.afterdialysis.puncture_point_oozing_blood == 0){
1216
+        const obj34 = '拔针后穿刺点渗血'
1217
+        checkdata.push(obj34)
1218
+      } if(this.afterdialysis.puncture_point_haematoma == 0){
1219
+        const obj35 = '穿刺处血肿'
1220
+        checkdata.push(obj35)
1221
+      } if(this.afterdialysis.internal_fistula == ""){
1222
+        const obj36 = '压迫后内瘘震颤'
1223
+        checkdata.push(obj36)
1224
+      } if(this.afterdialysis.sealing_fluid_dispose == ""){
1225
+        const obj37 = '封管液配置'
1226
+        checkdata.push(obj37)
1227
+      } if(this.afterdialysis.complication == ""){
1228
+        const obj38 = '并发症'
1229
+        checkdata.push(obj38)
1230
+      } if(this.summary.dialysis_summary == ""){
1231
+        const obj39 = '透析小结'
1232
+        checkdata.push(obj39)
1233
+      } if(this.afterdialysis.patient_gose == 0){
1234
+        const obj40 = '患者去向'
1235
+        checkdata.push(obj40)
1236
+      } if(this.dialysisOrder==null || this.dialysisOrder.start_nurse == 0){
1237
+        const obj41 = '当班责任护士'
1238
+        checkdata.push(obj41)
1239
+      } if(this.dialysisOrder==null || this.dialysisOrder.finish_nurse == 0){
1240
+        const obj42 = '下机护士'
1241
+        checkdata.push(obj42)
1242
+      } if(this.monitors.length > 0){
1243
+        for(let i in this.monitors){
1244
+          if(this.monitors[i].systolic_blood_pressure=='' || this.monitors[i].diastolic_blood_pressure==''){
1245
+            const obj43='监测第'+((i*1)+1)+'行血压'
1246
+            checkdata.push(obj43)
1247
+          }
1248
+          if(this.monitors[i].pulse_frequency==''){
1249
+            const obj44='监测第'+((i*1)+1)+'行脉搏'
1250
+            checkdata.push(obj44)
1251
+          }
1252
+          if(this.monitors[i].breathing_rate==''){
1253
+            const obj45='监测第'+((i*1)+1)+'行呼吸'
1254
+            checkdata.push(obj45)
1255
+          }
1256
+          if(this.monitors[i].blood_flow_volume==''){
1257
+            const obj46='监测第'+((i*1)+1)+'行血流量'
1258
+            checkdata.push(obj46)
1259
+          }
1260
+          if(this.monitors[i].ultrafiltration_volume==''){
1261
+            const obj47='监测第'+((i*1)+1)+'行超滤量'
1262
+            checkdata.push(obj47)
1263
+          }
1264
+          if(this.monitors[i].venous_pressure==''){
1265
+            const obj48='监测第'+((i*1)+1)+'行静脉压'
1266
+            checkdata.push(obj48)
1267
+          }
1268
+          if(this.monitors[i].transmembrane_pressure==''){
1269
+            const obj49='监测第'+((i*1)+1)+'行TMP'
1270
+            checkdata.push(obj49)
1271
+          }
1272
+          if(this.monitors[i].conductivity==''){
1273
+            const obj50='监测第'+((i*1)+1)+'行电导度'
1274
+            checkdata.push(obj50)
1275
+          }
1276
+          if(this.monitors[i].dialysate_temperature==''){
1277
+            const obj51='监测第'+((i*1)+1)+'行液温'
1278
+            checkdata.push(obj51)
1279
+          }
1215 1280
         }
1216
-        if(this.tableAdvice.length > 0){
1217
-          this.tableAdvice.map(item => {
1218
-            if(item.id > 0 && (item.created_time || item.start_time)){
1219
-              this.users.map(it => {
1220
-                if(it.id == item.advice_doctor){
1221
-                  if(it.user_type == 3){
1222
-                    num++
1223
-                    this.$message.closeAll()
1224
-                    this.$message.error('存在不是医生保存的医嘱')
1225
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1226
-                    if(it.user_type == 2){
1227
-                      num++
1228
-                      this.$message.closeAll()
1229
-                      this.$message.error('存在不是护士执行的医嘱')
1230
-                    }
1231
-                  }else if(it.id == item.checker && item.checker > 0){
1232
-                    if(it.user_type == 2){
1233
-                      num++
1234
-                      this.$message.closeAll()
1235
-                      this.$message.error('存在不是护士核对的医嘱')
1236
-                    }
1237
-                  }
1238
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1239
-                  if(it.user_type == 2){
1240
-                    num++
1241
-                    this.$message.closeAll()
1242
-                    this.$message.error('存在不是护士执行的医嘱')
1243
-                  }
1244
-                }else if(it.id == item.checker && item.checker > 0){
1245
-                  if(it.user_type == 2){
1246
-                    num++
1247
-                    this.$message.closeAll()
1248
-                    this.$message.error('存在不是护士核对的医嘱')
1249
-                  }
1250
-                }
1251
-              })
1281
+      } if(this.tableAdvice.length > 0){
1282
+        this.tableAdvice.map((item) =>{
1283
+          if(item.id > 0 && (item.created_time || item.start_time)){
1284
+            if(item.execution_staff ==0 || item.advice_doctor==0){
1285
+              const obj52 = '执行人员,医生签名'
1286
+              checkdata.push(obj52)
1252 1287
             }
1288
+          }
1253 1289
         })
1254
-        }
1255
-        
1256
-        if(num == 0){
1257
-          this.$message.success('核对完成')
1258
-        }
1259
-      }else{
1260
-        this.$message.success('核对完成')
1261 1290
       }
1291
+      this.getcheckData(checkdata)
1262 1292
     },
1263 1293
     getNewAge(UUserCard) {
1264 1294
       if (UUserCard != null && UUserCard != '') {
@@ -1898,6 +1928,18 @@ export default {
1898 1928
           // checker: 0,
1899 1929
         }
1900 1930
       )
1931
+    },
1932
+    getcheckData(val){
1933
+      if(val.length >0){
1934
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1935
+        this.$alert(message, '提示', {
1936
+          confirmButtonText: '确定',
1937
+          type: 'warning',
1938
+          dangerouslyUseHTMLString: true,
1939
+        });
1940
+      }else{
1941
+        this.$message.success('核对完成')
1942
+      }
1901 1943
     }
1902 1944
   },
1903 1945
   watch: {

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue View File

@@ -278,7 +278,7 @@
278 278
                 <td>{{ advice.delivery_way }}</td>
279 279
                 <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
280 280
                 <td style="height:30px;line-height:30px">
281
-                  杨能华/
281
+                  <span v-if="advice.start_time>0">杨能华/</span>
282 282
                   <span v-if="setAdminUserES(advice.advice_doctor) == ''">
283 283
                     {{ getAdminUser(advice.advice_doctor)}}
284 284
                   </span>

+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue View File

@@ -244,6 +244,8 @@
244 244
                   showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
245 245
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') != -1 ? true : false"
246 246
                   showValue="人造血管"></label-box>&nbsp;
247
+                  <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') != -1 ? true : false"
248
+                  showValue="股静脉"></label-box>&nbsp;
247 249
                 其他:
248 250
                 <div style="display: inline-block;" 
249 251
                   v-if="predialysis.blood_access_part_opera_name.indexOf('内瘘') == -1 &&

+ 21 - 26
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue View File

@@ -7,7 +7,7 @@
7 7
         class="dialysis-print-order print-template-two print_page_main_content"
8 8
       >
9 9
 
10
-        <div style="display:inline-block;width:100%;text-align:center;">
10
+        <div style="display:inline-block;width:99%;text-align:center;">
11 11
           <div
12 12
             class="order-title"
13 13
             style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;"
@@ -15,7 +15,7 @@
15 15
           {{ orgname }} 血液净化治疗记录单
16 16
           </div>
17 17
         </div>
18
-        <div class="row">
18
+        <div class="row" style="width: 99%;">
19 19
           <div class="inline_block" style="margin-right:10px;">
20 20
               日期 <div class="inline_block under_line" style="width:50px">{{ queryParams.xtdate.slice(0,4) }}</div>年
21 21
               <div class="inline_block under_line" style="width:50px">{{ queryParams.xtdate.slice(5,7) }}</div>月
@@ -50,7 +50,7 @@
50 50
           </div>
51 51
         </div>
52 52
         <div style="border-bottom: 2px solid #000;width:100%;"></div>
53
-        <div class="row">
53
+        <div class="row" style="width: 99%;">
54 54
             <div class="inline_block" style="margin-right:30px;">
55 55
               血液净化方式
56 56
               <div class="under_line" style="width: 100px;text-align: center;font-weight:600;">
@@ -67,9 +67,6 @@
67 67
                       : ""
68 68
                   }}
69 69
                 </span> -->
70
-
71
-
72
-
73 70
                 <span v-if="prescription.dialysis_dialyszers !=''">
74 71
                   {{
75 72
                     prescription.dialysis_dialyszers
@@ -115,8 +112,6 @@
115 112
           
116 113
           
117 114
         </div>
118
-
119
-        
120 115
         <div class="row">
121 116
           抗凝药物&nbsp;&nbsp;
122 117
           <div class="inline_block under_line" style="width:90%;text-align: left;">
@@ -288,14 +283,14 @@
288 283
           </div>
289 284
         </div>
290 285
 
291
-        <table class="print-table" border="1">
286
+        <table class="print-table" border="1" style="width: 99%;">
292 287
           <tr>
293
-            <td style="height:25px;line-height:25px">时间</td>
294
-            <td>医嘱</td>
295
-            <td>医师签名</td>
296
-            <td>执行时间</td>
297
-            <td>执行者签名</td>
298
-            <td>核对者签名</td>
288
+            <td width="10%" style="height:25px;line-height:25px;">时间</td>
289
+            <td width="45%">医嘱</td>
290
+            <td width="10%">医师签名</td>
291
+            <td width="10%">执行时间</td>
292
+            <td width="10%">执行者签名</td>
293
+            <td width="10%">核对者签名</td>
299 294
           </tr>
300 295
           <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
301 296
             <td style="height:25px;line-height:25px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
@@ -347,7 +342,7 @@
347 342
           </tr>
348 343
         </table>
349 344
 
350
-        <table class="print-table" border="1">
345
+        <table class="print-table" border="1" style="width: 99%;">
351 346
           <tbody>
352 347
               <tr style="line-height:20px;">
353 348
                 <td width="60">时间</td>
@@ -364,8 +359,8 @@
364 359
                 <td width="40">UF/hr<br/>ml/h</td>
365 360
                 <td width="200">病情变化处理方式及结果</td>
366 361
               </tr>
367
-              <tr v-for="monitor in monitors" :key="monitor.id">
368
-                <td style="height:35px;line-height:35px">&nbsp;
362
+              <tr v-for="monitor in monitors" :key="monitor.id" >
363
+                <td style="height:35px;line-height:35px">
369 364
                   {{getTime(monitor.operate_time,'{h}:{i}')}}
370 365
                 </td>
371 366
                 <td>
@@ -390,10 +385,10 @@
390 385
                   </span>
391 386
                 </td>
392 387
                 <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
393
-                <td>&nbsp;{{monitor.conductivity?monitor.conductivity:''}}</td>
394
-                <td>&nbsp;{{monitor.dialysate_temperature ? monitor.dialysate_temperature : ''}}</td>
388
+                <td>{{monitor.conductivity?monitor.conductivity:''}}</td>
389
+                <td>{{monitor.dialysate_temperature ? monitor.dialysate_temperature : ''}}</td>
395 390
                 <!-- <td>&nbsp; <span v-if="monitor.operate_time"> {{ monitor.dialysate_flow ? monitor.dialysate_flow : "" }} </span></td> -->
396
-                <td>&nbsp;
391
+                <td>
397 392
                   <span v-if="monitor.ultrafiltration_rate !=''">
398 393
                     {{monitor.ultrafiltration_rate?monitor.ultrafiltration_rate:''}}
399 394
                   </span>
@@ -401,16 +396,16 @@
401 396
                     0
402 397
                   </span>
403 398
                 </td>
404
-                <td>
399
+                <td style="line-height: 20px;">
405 400
                   <span v-if="monitor.symptom"> {{ monitor.symptom }} </span>
406
-                  <span v-if="monitor.dispose"> {{ "  " + monitor.dispose }} </span>
401
+                  <span v-if="monitor.dispose">{{ "  " + monitor.dispose }} </span>
407 402
                   <span v-if="monitor.result"> {{ "  " + monitor.result }} </span>
408 403
                 </td>
409 404
               </tr>
410 405
           </tbody>
411 406
         </table>
412 407
 
413
-        <table class="print-table" border="1">
408
+        <table class="print-table" border="1" style="width: 99%;">
414 409
           <tbody>
415 410
             <tr style="height:30px;line-height:30px">
416 411
               <td width="30" rowspan="4" style="padding-left:5px;border:none;border-right:1px solid #000;">
@@ -565,7 +560,7 @@
565 560
           </tbody>
566 561
         </table>
567 562
 
568
-        <table class="print-table" border="1">
563
+        <table class="print-table" border="1" style="width: 99%;">
569 564
           <tr style="line-height:25px;text-align:left;border:none;">
570 565
             <td style="padding-left:5px;border:none">
571 566
                 <div style="padding-bottom:10px;">
@@ -1968,7 +1963,7 @@ export default {
1968 1963
   /* text-align: center; */
1969 1964
   font-size: 16px;
1970 1965
   padding: 5px 8px;
1971
-  line-height: 30px;
1966
+  /* line-height: 30px; */
1972 1967
 }
1973 1968
 
1974 1969
 .print_page_main_content .proj_table .inside_table {