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
ef20bedc76

+ 23 - 5
src/api/his/his.js View File

@@ -844,7 +844,6 @@ export function getfapiaonumber(){
844 844
 }
845 845
 
846 846
 
847
-
848 847
 export function getHisOrderListtwo(params){
849 848
   return request({
850 849
     url:"/api/hisorder/listtwo",
@@ -855,8 +854,6 @@ export function getHisOrderListtwo(params){
855 854
 }
856 855
 
857 856
 
858
-
859
-
860 857
 export function modifyFapiaoCodetwo(params) {
861 858
   return request({
862 859
     url: '/api/fapiao/modifytwo',
@@ -866,17 +863,38 @@ export function modifyFapiaoCodetwo(params) {
866 863
 }
867 864
 
868 865
 
866
+export function GetPSummaryDetail(params) {
867
+  return request({
868
+    url: '/api/his/prescription/detail',
869
+    method: 'get',
870
+    params: params
871
+  })
872
+}
869 873
 
870 874
 
875
+export function exportdetail(params) {
876
+  return request({
877
+    url: '/api/export/10726/detail',
878
+    method: 'get',
879
+    params: params
880
+  })
881
+}
871 882
 
872
-export function GetPSummaryDetail(params) {
883
+export function exportsummary(params) {
873 884
   return request({
874
-    url: '/api/his/prescription/detail',
885
+    url: '/api/export/10726/summary',
875 886
     method: 'get',
876 887
     params: params
877 888
   })
878 889
 }
879 890
 
891
+export function summary2(params) {
892
+  return request({
893
+    url: '/api/export/10697/summary',
894
+    method: 'get',
895
+    params: params
896
+  })
897
+}
880 898
 
881 899
 
882 900
 

+ 4 - 4
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -1469,10 +1469,10 @@ export default {
1469 1469
 
1470 1470
          var is_arr = this.hasDuplicates(arr)
1471 1471
 
1472
-         if(is_arr == true){
1473
-           this.$message.error("药品追溯码已经存在,不能重复扫码!")
1474
-           arr.splice(i_index,1)
1475
-         }
1472
+        //  if(is_arr == true){
1473
+        //    this.$message.error("药品追溯码已经存在,不能重复扫码!")
1474
+        //    arr.splice(i_index,1)
1475
+        //  }
1476 1476
 
1477 1477
          console.log("is_arr-=--------------",is_arr)
1478 1478
 

+ 15 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue View File

@@ -1176,7 +1176,7 @@
1176 1176
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1177 1177
                       <div class="inline_block" style="flex: 1">
1178 1178
                         上机护士:
1179
-                        <div class="under_line" style="width: 80px; text-align: center">
1179
+                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.puncture_nurse>0">
1180 1180
                           <span style="display: inline-block" v-if="setAdminUserES(
1181 1181
                             record.dialysis_order, 'puncture_nurse'
1182 1182
                           ) == ''
@@ -1190,6 +1190,20 @@
1190 1190
                           )
1191 1191
                             " alt="" srcset="" v-else />
1192 1192
                         </div>
1193
+                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.change_nurse>0">
1194
+                          <span style="display: inline-block" v-if="setAdminUserES(
1195
+                            record.dialysis_order, 'change_nurse'
1196
+                          ) == ''
1197
+                          ">
1198
+                            {{ getAdminUser(record.dialysis_order, "change_nurse")
1199
+                              ? getAdminUser(record.dialysis_order, "change_nurse") : "/"
1200
+                            }}
1201
+                          </span>
1202
+                          <img style="height: 30px" :src="setAdminUserES(
1203
+                            record.dialysis_order, 'change_nurse'
1204
+                          )
1205
+                            " alt="" srcset="" v-else />
1206
+                        </div>
1193 1207
                       </div>
1194 1208
 
1195 1209
                       <!-- <div class="inline_block" style="flex: 1" v-if="record.assessment_before_dislysis.catheter>0">

File diff suppressed because it is too large
+ 1372 - 1738
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue


+ 27 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1628,7 +1628,7 @@
1628 1628
                     </table>
1629 1629
                   </td>
1630 1630
                 </tr>
1631
-                <tr v-if="org_id != 10402 && org_id != 10206 && org_id != 10206">
1631
+                <tr v-if="org_id != 10402 && org_id != 10206 && org_id != 0&& org_id != 10644">
1632 1632
                   <td style="padding: 0; position: relative" colspan="2">
1633 1633
                     <table class="inside_table">
1634 1634
                       <tbody>
@@ -1894,7 +1894,7 @@
1894 1894
                   </td>
1895 1895
                 </tr>
1896 1896
 
1897
-                <tr v-if="org_id == 10206">
1897
+                <tr v-if="org_id == 10206 || org_id == 0">
1898 1898
                   <td style="padding: 0; position: relative" colspan="2">
1899 1899
                     <table class="inside_table">
1900 1900
                       <tbody>
@@ -2322,7 +2322,8 @@
2322 2322
                       <div class="inline_block" style="flex: 1">
2323 2323
                         体重减少:
2324 2324
                         <div class="under_line" style="width: 70px; text-align: center">
2325
-                          <span v-if="org_id != 10551">{{
2325
+                          <span v-if="org_id != 10551">
2326
+                            {{
2326 2327
                             record.assessment_after_dislysis &&
2327 2328
                               record.assessment_after_dislysis.weight_loss
2328 2329
                               ? record.assessment_after_dislysis.weight_loss
@@ -2359,10 +2360,14 @@
2359 2360
                         v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2360 2361
 
2361 2362
                         <span v-if="org_id != 10460">
2362
-                          透析中入量(L):
2363
+                          透析中入量
2364
+                          <span v-if="org_id!=10644">(L)</span> 
2365
+                          :
2363 2366
                         </span>
2364 2367
                         <span v-if="org_id == 10460">
2365
-                          透析中入量(ml):
2368
+                          透析中入量
2369
+                          <span v-if="org_id!=10644">(ml)</span>
2370
+                          :
2366 2371
                         </span>
2367 2372
                         <div class="under_line" style="width: 60px; text-align: center">
2368 2373
                           {{
@@ -3149,15 +3154,30 @@ export default {
3149 3154
 
3150 3155
 
3151 3156
 
3152
-            if (this.org_id == 10206) {
3157
+            if (this.org_id == 10206 || this.org_id == 0 || this.org_id == 10644) {
3153 3158
               console.log("this.records[recordIndex].his_project", this.records[recordIndex].his_project)
3154 3159
               var delghThree = 0
3155 3160
               let his_project = []
3156 3161
               this.records[recordIndex].his_project.map(item => {
3162
+                if(this.org_id == 0 || this.org_id == 10644){
3163
+                  console.log("item====================",item)
3164
+                  if(item.type == 2){
3165
+                    if(item.project.is_show ==1){
3166
+                      his_project.push(item)
3167
+                    }
3168
+                  }
3169
+                  if(item.type == 3){
3170
+                    if(item.good_info.is_show == 1){
3171
+                      his_project.push(item)
3172
+                    }
3173
+                  }
3174
+                }else{
3175
+                  his_project.push(item)
3176
+                }
3157 3177
                 // if(item.type == 2){
3158 3178
                 //   his_project.push(item)
3159 3179
                 // }
3160
-                his_project.push(item)
3180
+                
3161 3181
 
3162 3182
               })
3163 3183
               this.records[recordIndex].his_project = his_project

File diff suppressed because it is too large
+ 643 - 1410
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue


File diff suppressed because it is too large
+ 654 - 1239
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue


+ 30 - 46
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

@@ -191,48 +191,51 @@
191 191
                     <td style="text-align:left;margin-left:15px;padding-top:10px;">
192 192
                       抗凝剂:
193 193
                       <span class="under-line">
194
-                        &nbsp;{{ prescription.anticoagulant ? prescription.anticoagulant : "/" }}
194
+                        &nbsp;{{ prescription.anticoagulant_name ? prescription.anticoagulant_name : "/" }}
195 195
                       </span>
196 196
                     </td>
197 197
                     <td style="text-align:left;margin-left:15px">
198 198
                       首剂:<span class="under-line">
199 199
                         {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "0" }}
200 200
                       </span>
201
-                      <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
202
-                      <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
203
-                      <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
204
-                      <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
205
-                      <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
206
-                      <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
207
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu</span>&nbsp;
208
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
201
+                      <span v-if="prescription.anticoagulant == 7&&(org_id!=9990&&org_id!=9675)">iu</span>
202
+                      <span v-else-if="prescription.anticoagulant == 7&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
203
+                      <span v-if="prescription.anticoagulant == 5">mg</span>
204
+                      <span v-else-if="prescription.anticoagulant == 4">mg</span>
205
+                      <span v-else-if="prescription.anticoagulant == 3">iu</span>
206
+                      <span v-else-if="prescription.anticoagulant == 2">mg</span>
207
+                      <span v-else-if="prescription.anticoagulant == 1">mg</span>
208
+                      <span v-else-if="prescription.anticoagulant == 6">iu</span>
209
+                      <span v-else>iu</span>
209 210
                     </td>
210 211
                     <td style="text-align:left;margin-left:15px">
211 212
                       维持:
212 213
                       <span class="under-line">
213 214
                         &nbsp;{{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "0" }}
214 215
                       </span>
215
-                      <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
216
-                      <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
217
-                      <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
218
-                      <span v-if="prescription.anticoagulant == '普通肝素'">mg/h</span>
219
-                      <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
220
-                      <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
221
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu/h</span>
222
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg/h</span>&nbsp;
216
+                      <span v-if="prescription.anticoagulant == 7&&(org_id!=9990&&org_id!=9675)">iu/h</span>
217
+                      <span v-else-if="prescription.anticoagulant == 7&&(org_id==9990||org_id==9675)">mg/h</span>&nbsp;
218
+                      <span v-if="prescription.anticoagulant == 5">mg/h</span>
219
+                      <span v-else-if="prescription.anticoagulant == 4">mg/h</span>
220
+                      <span v-else-if="prescription.anticoagulant == 3">iu/h</span>
221
+                      <span v-else-if="prescription.anticoagulant == 2">mg/h</span>
222
+                      <span v-else-if="prescription.anticoagulant == 1">mg/h</span>
223
+                      <span v-else-if="prescription.anticoagulant == 6">iu/h</span>
224
+                      <span v-else>iu/h</span>
223 225
                     </td>
224 226
                     <td style="text-align:left;margin-left:15px">
225 227
                       总量:<span class="under-line">
226 228
                         &nbsp;{{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
227 229
                         </span>
228
-                      <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
229
-                      <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
230
-                      <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
231
-                      <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
232
-                      <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
233
-                      <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
234
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu</span>
235
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
230
+                      <span v-if="prescription.anticoagulant == 7&&(org_id!=9990&&org_id!=9675)">iu</span>
231
+                      <span v-else-if="prescription.anticoagulant == 7&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
232
+                      <span v-if="prescription.anticoagulant == 5">mg</span>
233
+                      <span v-else-if="prescription.anticoagulant == 4">mg</span>
234
+                      <span v-else-if="prescription.anticoagulant == 3">iu</span>
235
+                      <span v-else-if="prescription.anticoagulant == 2">mg</span>
236
+                      <span v-else-if="prescription.anticoagulant == 1">mg</span>
237
+                      <span v-else-if="prescription.anticoagulant == 6">iu</span>
238
+                      <span v-else>iu</span>
236 239
                     </td>
237 240
                   </tr>
238 241
                   <tr>
@@ -1105,12 +1108,7 @@ export default {
1105 1108
           this.doctorForm.url = doctorname.url;
1106 1109
           var prescription = response.data.data.dialysisPrescription;
1107 1110
           console.log("透析处方", prescription);
1108
-          if (prescription.anticoagulant == 6) {
1109
-            prescription.anticoagulant = "低分子肝素钙";
1110
-          }
1111
-          if (prescription.anticoagulant == 7) {
1112
-            prescription.anticoagulant = "低分子肝素钠";
1113
-          }
1111
+          
1114 1112
           if (prescription.blood_access === 1) {
1115 1113
             prescription.blood_access = "正常";
1116 1114
           }
@@ -1147,21 +1145,7 @@ export default {
1147 1145
           if (prescription.replacement_way === 4) {
1148 1146
             prescription.replacement_way = "混合置换";
1149 1147
           }
1150
-          if (prescription.anticoagulant === 1) {
1151
-            prescription.anticoagulant = "无肝素";
1152
-          }
1153
-          if (prescription.anticoagulant === 2) {
1154
-            prescription.anticoagulant = "普通肝素";
1155
-          }
1156
-          if (prescription.anticoagulant === 3) {
1157
-            prescription.anticoagulant = "低分子肝素";
1158
-          }
1159
-          if (prescription.anticoagulant === 4) {
1160
-            prescription.anticoagulant = "阿加曲班";
1161
-          }
1162
-          if (prescription.anticoagulant === 5) {
1163
-            prescription.anticoagulant = "枸橼酸钠";
1164
-          }
1148
+         
1165 1149
           this.prescription = prescription;
1166 1150
           var receiverTreatmentAccess =
1167 1151
             response.data.data.receiverTreatmentAccess;

+ 8 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -2243,7 +2243,8 @@
2243 2243
                           </span> -->
2244 2244
                           <span
2245 2245
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
2246
-                            {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}
2246
+                             <span v-if="(predialysis.weight_before - afterdialysis.weight_after)>0"> {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}</span>
2247
+                             <span v-if="(predialysis.weight_before - afterdialysis.weight_after)<=0">/</span>
2247 2248
                           </span>
2248 2249
 
2249 2250
                         </div>
@@ -2252,10 +2253,14 @@
2252 2253
 
2253 2254
                       <div class="inline_block" style="flex: 1" v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2254 2255
                         <span v-if="org_id != 10460">
2255
-                          透析中入量(L):
2256
+                          透析中入量
2257
+                          <span v-if="org_id!=10644">(L)</span>
2258
+                          :
2256 2259
                         </span>
2257 2260
                         <span v-if="org_id == 10460">
2258
-                          透析中入量(ml):
2261
+                          透析中入量
2262
+                          <span v-if="org_id!=10644">(ml)</span> 
2263
+                          :
2259 2264
                         </span>
2260 2265
                         <div class="under_line" style="width: 70px; text-align: center">
2261 2266
                           {{

File diff suppressed because it is too large
+ 666 - 1212
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue


File diff suppressed because it is too large
+ 969 - 1650
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue


File diff suppressed because it is too large
+ 1207 - 1443
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue


+ 176 - 201
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue View File

@@ -26,7 +26,7 @@
26 26
               display: inline-block;
27 27
             "
28 28
           >
29
-            血液净化治疗记录单67
29
+            血液净化治疗记录单
30 30
           </div>
31 31
 
32 32
           <div class="infoTitle"> 透前情况</div>
@@ -705,219 +705,181 @@ export default {
705 705
     },
706 706
 
707 707
     checkData() {
708
-      if (this.receiverTreatmentAccess.way == 0) {
709
-        this.$message.error("入科方式未填");
710
-      } else if (this.predialysis.symptom_before_dialysis == "") {
711
-        this.$message.error("透前症状未填");
712
-      } else if (this.predialysis.temperature == "") {
713
-        this.$message.error("透前体温未填");
714
-      } else if (this.predialysis.pulse_frequency == "") {
715
-        this.$message.error("透前脉搏未填");
716
-      } else if (this.predialysis.breathing_rate == "") {
717
-        this.$message.error("透前呼吸频率未填");
718
-      } else if (
719
-        this.predialysis.systolic_blood_pressure == 0 ||
720
-        this.predialysis.diastolic_blood_pressure == 0
721
-      ) {
722
-        this.$message.error("透前血压未填完整");
723
-      } else if (this.predialysis.puncture_way == "") {
724
-        this.$message.error("穿刺方式未填");
725
-      } else if (this.predialysis.puncture_needle == "") {
726
-        this.$message.error("穿刺针未填");
727
-      } else if (
728
-        this.predialysis.blood_access_part_id == "" &&
729
-        this.predialysis.blood_access_part_opera_name == ""
730
-      ) {
731
-        this.$message.error("血管通路未填");
732
-      } else if (this.predialysis.internal_fistula == "") {
733
-        this.$message.error("透前内瘘未填");
734
-      } else if (this.predialysis.catheter == "") {
735
-        this.$message.error("透前导管未填");
736
-      } else if (this.prescription.mode_id == "") {
737
-        this.$message.error("透析方式未填");
738
-      } else if (
739
-        this.prescription.displace_liqui_part == 0 &&
740
-        this.prescription.mode_id == 2
741
-      ) {
742
-        this.$message.error("置换方式未填");
743
-      } else if (
744
-        this.prescription.displace_liqui_value == 0 &&
745
-        this.prescription.mode_id == 2
746
-      ) {
747
-        this.$message.error("置换量未填");
748
-      } else if (this.prescription.blood_flow_volume == 0) {
749
-        this.$message.error("血流量未填");
750
-      } else if (
751
-        this.prescription.dialysis_duration_hour == 0 &&
752
-        this.prescription.dialysis_duration_minute == 0
753
-      ) {
754
-        this.$message.error("透析时间未填");
755
-      } else if (
756
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
757
-        this.prescription.dialysis_dialyszers == ""
708
+      var checkDate =[]
709
+      if(this.predialysis.dry_weight == ''){
710
+        const obj = '干体重'
711
+        checkDate.push(obj)
712
+      } if(this.lastafterdialysis.weight_after ==''){
713
+        const obj1 = '上次透后体重'
714
+        checkDate.push(obj1)
715
+      } if(this.predialysis.weight_before ==''){
716
+        const obj2 = '透前体重'
717
+        checkDate.push(obj2)
718
+      } if(this.receiverTreatmentAccess.way ==''){
719
+        const obj3 = '入科方式'
720
+        checkDate.push(obj3)
721
+      } if(this.receiverTreatmentAccess.consciousness ==''){
722
+        const obj4 = '意识'
723
+        checkDate.push(obj4)
724
+      } if(this.predialysis.blood_access_part_opera_name ==''){
725
+        const obj5 = '血管通路'
726
+        checkDate.push(obj5)
727
+      } if(this.predialysis.blood_access_part_id == ''){
728
+        const obj6 = '部位'
729
+        checkDate.push(obj6)
730
+      } if(this.predialysis.internal_fistula ==''){
731
+        const obj7 = '通路评估'
732
+        checkDate.push(obj7)
733
+      } if(this.prescription.displace_liqui_part =='' && this.prescription.mode_id ==2){
734
+        const obj8 = '置换方式'
735
+        checkDate.push(obj8)
736
+      } if(this.prescription.displace_liqui_value =='' && this.prescription.mode_id ==2){
737
+        const obj9 = '置换总量'
738
+        checkDate.push(obj9)
739
+      } if(this.predialysis.temperature ==''){
740
+        const obj10 = '透前体温'
741
+        checkDate.push(obj10)
742
+      } if(this.predialysis.pulse_frequency == ''){
743
+        const obj11 ='透前脉搏'
744
+        checkDate.push(obj11)
745
+      } if(this.predialysis.breathing_rate == ''){
746
+        const obj12 ='透前呼吸'
747
+        checkDate.push(obj12)
748
+      } if(this.predialysis.systolic_blood_pressure =='' &&
749
+          this.predialysis.diastolic_blood_pressure == ''
758 750
       ) {
759
-        this.$message.error("透析器未填");
760
-      } else if (this.prescription.dialysis_irrigation == "") {
761
-        this.$message.error("灌流器未填");
762
-      } else if (
763
-        this.prescription.plasma_separator == "" &&
764
-        this.org_id == 9538
765
-      ) {
766
-        this.$message.error("血浆分离器未填");
767
-      } else if (
768
-        this.prescription.bilirubin_adsorption_column == "" &&
769
-        this.org_id == 9538
751
+        const obj13 ='透前血压'
752
+        checkDate.push(obj13)
753
+      } if(this.prescription.mode_id ==0){
754
+        const obj14 ='治疗模式'
755
+        checkDate.push(obj14)
756
+      } if(this.prescription.dialysis_duration_hour =="" &&
757
+          this.prescription.dialysis_duration_minute == ''
758
+      ){
759
+        const obj15 ='透析时长'
760
+        checkDate.push(obj15)
761
+      } if(this.prescription.target_ultrafiltration == ''){
762
+        const obj16 ='预超'
763
+        checkDate.push(obj16)
764
+      } if(this.prescription.blood_flow_volume == ''){
765
+        const obj17 = '血流量'
766
+        checkDate.push(obj17)
767
+      }  if(this.prescription.anticoagulant == 0) {
768
+        const obj18 = "抗凝剂"
769
+        checkDate.push(obj18)
770
+      } if(this.prescription.anticoagulant_shouji == 0 &&
771
+          this.prescription.anticoagulant != 5 &&
772
+          this.prescription.anticoagulant != 1
770 773
       ) {
771
-        this.$message.error("胆红素吸附柱未填");
772
-      } else if (this.predialysis.weight_before == 0) {
773
-        this.$message.error("透前体重未填");
774
-      } else if (this.predialysis.dry_weight == 0) {
775
-        this.$message.error("干体重未填");
776
-      } else if (this.prescription.target_ultrafiltration == 0) {
777
-        this.$message.error("计划超滤量未填");
778
-      } else if (this.prescription.calcium == 0) {
779
-        this.$message.error("钙未填");
780
-      } else if (this.prescription.sodium == 0) {
781
-        this.$message.error("钠未填");
782
-      } else if (this.prescription.kalium == 0) {
783
-        this.$message.error("钾未填");
784
-      } else if (this.prescription.bicarbonate == 0) {
785
-        this.$message.error("碳酸氢根未填");
786
-      } else if (this.prescription.dialysate_flow == 0) {
787
-        this.$message.error("透析液流量未填");
788
-      } else if (this.prescription.anticoagulant == 0) {
789
-        this.$message.error("抗凝剂未填");
790
-      } else if (
791
-        this.prescription.anticoagulant_gaimingcheng == "" &&
792
-        this.prescription.anticoagulant == 5
793
-      ) {
794
-        this.$message.error("钙名称未填");
795
-      } else if (
796
-        this.prescription.anticoagulant_gaijiliang == "" &&
797
-        this.prescription.anticoagulant == 5
798
-      ) {
799
-        this.$message.error("钙剂量未填");
800
-      } else if (this.afterdialysis.temperature == 0) {
801
-        this.$message.error("透后体温未填");
802
-      } else if (this.afterdialysis.pulse_frequency == 0) {
803
-        this.$message.error("透后脉搏未填");
804
-      } else if (this.afterdialysis.breathing_rate == 0) {
805
-        this.$message.error("透后呼吸频率未填");
806
-      } else if (
774
+        const obj19 = "首剂"
775
+        checkDate.push(obj19)
776
+      } if(this.prescription.anticoagulant_zongliang ==''&&
777
+          this.prescription.anticoagulant != 5 &&
778
+          this.prescription.anticoagulant != 1
779
+      ){
780
+        const obj20 ='总量'
781
+        checkDate.push(obj20);
782
+      } if(this.predialysis.machine_type == ''){
783
+        const obj21 ='透析机'
784
+        checkDate.push(obj21);
785
+      } if(this.prescription.dialysis_dialyszers == '' &&
786
+          this.prescription.dialysis_irrigation == ''
787
+      ){
788
+        const obj22 ='透析器/灌流器'
789
+        checkDate.push(obj22);
790
+      } if (this.prescription.dialysate_flow == 0) {
791
+        const obj23 = "流量"
792
+        checkDate.push(obj23)
793
+      } if(this.prescription.dialysate_temperature ==''){
794
+        const obj24 = "透析液温度"
795
+        checkDate.push(obj24)
796
+      } if(this.prescription.calcium == 0) {
797
+        const obj25 = "钙"
798
+        checkDate.push(obj25)
799
+      } if (this.prescription.sodium == 0) {
800
+        const obj26 = "钠"
801
+        checkDate.push(obj26)
802
+      } if (this.prescription.kalium == 0) {
803
+        const obj27 = "钾"
804
+        checkDate.push(obj27)
805
+      } if (this.prescription.bicarbonate == 0) {
806
+        const obj28 = "碳酸氢根"
807
+        checkDate.push(obj28)
808
+      } if(this.doctor_advices !=undefined &&
809
+          this.doctor_advices[0].advice_doctor ==''
810
+      ){
811
+        const obj29 = "处方医生"
812
+        checkDate.push(obj29)
813
+      } if (this.afterdialysis.weight_after == 0) {
814
+        const obj30 ='透后体重'
815
+        checkDate.push(obj30);
816
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
817
+        const obj31 ='实际超滤量'
818
+        checkDate.push(obj31);
819
+      } if(this.afterdialysis.actual_treatment_hour ==0 &&
820
+          this.afterdialysis.actual_treatment_minute == 0
821
+      ){
822
+        const obj32 ='实际治疗时长'
823
+        checkDate.push(obj32);
824
+      } if (this.afterdialysis.temperature == 0) {
825
+        const obj33 ='透后体温'
826
+        checkDate.push(obj33);
827
+      } if (this.afterdialysis.pulse_frequency == 0) {
828
+        const obj34 ='透后脉搏'
829
+        checkDate.push(obj34);
830
+      } if (this.afterdialysis.breathing_rate == 0) {
831
+        const obj35 ='透后呼吸频率'
832
+        checkDate.push(obj35);
833
+      } if (
807 834
         this.afterdialysis.systolic_blood_pressure == 0 ||
808 835
         this.afterdialysis.diastolic_blood_pressure == 0
809 836
       ) {
810
-        this.$message.error("透后血压未填完整");
811
-      } else if (
812
-        this.afterdialysis.actual_treatment_hour == 0 &&
813
-        this.afterdialysis.actual_treatment_minute == 0
814
-      ) {
815
-        this.$message.error("实际治疗时间未填");
816
-      } else if (this.afterdialysis.cruor == "") {
817
-        this.$message.error("透析器凝血未填");
818
-      } else if (this.afterdialysis.internal_fistula == "") {
819
-        this.$message.error("透后内瘘未填");
820
-      } else if (this.afterdialysis.catheter == "") {
821
-        this.$message.error("透后导管未填");
822
-      } else if (this.afterdialysis.weight_after == 0) {
823
-        this.$message.error("透后体重未填");
824
-      } else if (this.afterdialysis.weight_loss == 0) {
825
-        this.$message.error("透后体重减少未填");
826
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
827
-        this.$message.error("透析中入量未填");
828
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
829
-        this.$message.error("实际超滤量未填");
830
-      } else if (this.summary.dialysis_summary == "") {
831
-        this.$message.error("透析小结未填");
832
-      } else if (
833
-        this.dialysisOrder == null ||
834
-        this.dialysisOrder.puncture_nurse == 0
835
-      ) {
836
-        this.$message.error("穿刺护士未填");
837
-      } else if (
837
+        const obj36 ='透后血压'
838
+        checkDate.push(obj36);
839
+      } if(this.afterdialysis.internal_fistula == '' && this.afterdialysis.catheter ==''){
840
+        const obj37 ='通路评估'
841
+        checkDate.push(obj37);
842
+      } if(this.afterdialysis.cruor ==''){
843
+        const obj38 ='透析器凝血'
844
+        checkDate.push(obj38);
845
+      } if(this.afterdialysis.actual_displacement == '' && this.prescription.mode_id ==2){
846
+        const obj39 ='实际置换量'
847
+        checkDate.push(obj39);
848
+      } if (this.summary.dialysis_summary == "") {
849
+        const obj40 ='透析小结'
850
+        checkDate.push(obj40);
851
+      } if (
838 852
         this.dialysisOrder == null ||
839 853
         this.dialysisOrder.start_nurse == 0
840 854
       ) {
841
-        this.$message.error("治疗护士未填");
842
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
843
-        this.$message.error("核对人员未填");
844
-      } else if (
845
-        this.dialysisOrder != null &&
846
-        this.dialysisOrder.start_nurse == this.check.modifier &&
847
-        this.check.creater == 0
855
+        const obj41 ='上机护士'
856
+        checkDate.push(obj41);
857
+      } if (
858
+        this.check == null || this.check.modifier == 0
848 859
       ) {
849
-        this.$message.error("核对人员未填");
850
-      } else if (
860
+        const obj42 ='核对护士'
861
+        checkDate.push(obj42);
862
+      } if (
851 863
         this.dialysisOrder != null &&
852
-        this.dialysisOrder.start_nurse == this.check.creater &&
853
-        this.check.modifier == 0
864
+        this.dialysisOrder.finish_nurse ==''
854 865
       ) {
855
-        this.$message.error("核对人员未填");
856
-      } else if (
857
-        this.dialysisOrder != null &&
858
-        this.dialysisOrder.start_nurse != this.check.creater &&
859
-        this.dialysisOrder.start_nurse != this.check.modifier &&
860
-        this.check.creater == 0
861
-      ) {
862
-        this.$message.error("核对人员未填");
863
-      } else if (
864
-        this.dialysisOrder == null ||
865
-        this.dialysisOrder.finish_nurse == 0
866
-      ) {
867
-        this.$message.error("下机护士未填");
868
-      } else if (this.prescription.creater == 0) {
869
-        this.$message.error("医生签名未填");
870
-      } else if (this.tableAdvice.length > 0) {
871
-        let num = 0;
872
-        this.tableAdvice.map((item) => {
873
-          if (item.id > 0 && (item.created_time || item.start_time)) {
874
-            this.users.map((it) => {
875
-              if (it.id == item.advice_doctor) {
876
-                if (it.user_type == 3) {
877
-                  num++;
878
-                  this.$message.closeAll();
879
-                  this.$message.error("存在不是医生保存的医嘱");
880
-                } else if (
881
-                  it.id == item.execution_staff &&
882
-                  item.execution_staff > 0
883
-                ) {
884
-                  if (it.user_type == 2) {
885
-                    num++;
886
-                    this.$message.closeAll();
887
-                    this.$message.error("存在不是护士执行的医嘱");
888
-                  }
889
-                } else if (it.id == item.checker && item.checker > 0) {
890
-                  if (it.user_type == 2) {
891
-                    num++;
892
-                    this.$message.closeAll();
893
-                    this.$message.error("存在不是护士核对的医嘱");
894
-                  }
895
-                }
896
-              } else if (
897
-                it.id == item.execution_staff &&
898
-                item.execution_staff > 0
899
-              ) {
900
-                if (it.user_type == 2) {
901
-                  num++;
902
-                  this.$message.closeAll();
903
-                  this.$message.error("存在不是护士执行的医嘱");
904
-                }
905
-              } else if (it.id == item.checker && item.checker > 0) {
906
-                if (it.user_type == 2) {
907
-                  num++;
908
-                  this.$message.closeAll();
909
-                  this.$message.error("存在不是护士核对的医嘱");
910
-                }
911
-              }
912
-            });
866
+        const obj43 ='下机护士'
867
+        checkDate.push(obj43);
868
+      } if (this.prescription.creater == 0 && this.doctor_advices[0]!=null&& this.doctor_advices[0].advice_doctor==0) {
869
+        const obj44 ='医生签名'
870
+        checkDate.push(obj44);
871
+      } if(this.doctor_advices.length>0 && this.org_id != 10375){
872
+        this.doctor_advices.map((item) =>{
873
+          if(item.id > 0 && (item.created_time || item.start_time)){
874
+            if(item.execution_staff ==0 || item.advice_doctor ==0 || item.checker ==0){
875
+              const obj45 = '执行人员,医生签名,核对人员'
876
+              checkDate.push(obj45)
877
+            }
913 878
           }
914
-        });
915
-        if (num == 0) {
916
-          this.$message.success("核对完成");
917
-        }
918
-      } else {
919
-        this.$message.success("核对完成");
879
+        })
920 880
       }
881
+
882
+      this.getcheckData(checkDate)
921 883
     },
922 884
     getDisplaceLiquiPart: function (val) {
923 885
       let displace_liqui_part_name = "/";
@@ -1069,6 +1031,7 @@ export default {
1069 1031
 
1070 1032
         this.users = response.data.data.users;
1071 1033
         this.patientInfo = response.data.data.patientInfo;
1034
+        console.log('11111response.data.data',response.data.data);
1072 1035
 
1073 1036
         this.patientInfo.birth = uParseTime(
1074 1037
           this.patientInfo.birthday,
@@ -1507,6 +1470,18 @@ export default {
1507 1470
         return "0.0";
1508 1471
       }
1509 1472
     },
1473
+    getcheckData(val){
1474
+      if(val.length >0){
1475
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1476
+        this.$alert(message, '提示', {
1477
+          confirmButtonText: '确定',
1478
+          type: 'warning',
1479
+          dangerouslyUseHTMLString: true,
1480
+        });
1481
+      }else{
1482
+        this.$message.success('核对完成')
1483
+      }
1484
+    }
1510 1485
   },
1511 1486
   watch: {
1512 1487
     "patientInfo.gender": function () {

File diff suppressed because it is too large
+ 936 - 707
src/xt_pages/outpatientCharges/costComparison.vue


+ 1 - 1
src/xt_pages/stock/detail/cancelStockDetail.vue View File

@@ -210,7 +210,7 @@
210 210
       <el-pagination
211 211
         @size-change="handleSizeChange"
212 212
         @current-change="handleCurrentChange"
213
-        :page-sizes="[10, 50, 100]"
213
+        :page-sizes="[10, 50, 100,200,400,600,800,1000]"
214 214
         :page-size="10"
215 215
         background
216 216
         style="margin-top:20px;float: right"

+ 1 - 1
src/xt_pages/stock/detail/salesReturnDetail.vue View File

@@ -171,7 +171,7 @@
171 171
       <el-pagination
172 172
         @size-change="handleSizeChange"
173 173
         @current-change="handleCurrentChange"
174
-        :page-sizes="[10, 50, 100]"
174
+        :page-sizes="[10, 50, 100,200,400,600,800,1000]"
175 175
         :page-size="10"
176 176
         background
177 177
         style="margin-top:20px;float: right"

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

@@ -203,7 +203,7 @@
203 203
       <el-pagination
204 204
         @size-change="handleSizeChange"
205 205
         @current-change="handleCurrentChange"
206
-        :page-sizes="[10, 50, 100]"
206
+        :page-sizes="[10, 50, 100,200,400,600,800,1000]"
207 207
         :page-size="10"
208 208
         background
209 209
         style="margin-top:20px;float: right"

+ 7 - 6
src/xt_pages/user/components/PatientDetail.vue View File

@@ -1049,7 +1049,7 @@
1049 1049
     </el-form>
1050 1050
     <!-- 打印预览 style="display: none"-->
1051 1051
     <div style="display: none">
1052
-      <div id="print-info-box" v-if="org_id !=10206">
1052
+      <div id="print-info-box" v-if="org_id !=10206 && org_id!=0">
1053 1053
         <div class="print_main_content" style="">
1054 1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1055 1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
@@ -1344,13 +1344,14 @@
1344 1344
                   <td style="padding: 5px 0px;font-size: 22px;width:5%;">
1345 1345
                     {{ patientPrint.gender }}
1346 1346
                   </td>
1347
-                  <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:8%;">
1348
-                    年龄
1347
+                  <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:6%;">
1348
+                    出生日期
1349 1349
                   </td>
1350
-                  <td style="padding: 5px 0px;font-size: 22px;width:10%;">
1350
+                  <td style="padding: 5px 0px;font-size: 22px;width:12%;">
1351 1351
                     <!-- {{ patientPrint.age }} -->
1352
-                     {{ calculateAge(patientPrint.id_card_no,patientPrint.created_time) }}
1353
-                    岁
1352
+                     <!-- {{ calculateAge(patientPrint.id_card_no,patientPrint.created_time) }}
1353
+                    岁 -->
1354
+                    {{ patientPrint.id_card_no.slice(6, 10) }}年{{ patientPrint.id_card_no.slice(10, 12)}}月{{ patientPrint.id_card_no.slice(12, 14) }}日
1354 1355
                   </td>
1355 1356
                   <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:12%;">
1356 1357
                     医保类型

+ 13 - 13
src/xt_permission.js View File

@@ -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))