Procházet zdrojové kódy

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

陈少旭 před 1 měsícem
rodič
revize
3d6d3fae43
51 změnil soubory, kde provedl 7693 přidání a 4192 odebrání
  1. 4 4
      src/api/advice.js
  2. 10 0
      src/api/drug/drug.js
  3. 7 0
      src/api/his/his.js
  4. 12 0
      src/router/modules/dialysis.js
  5. 8 0
      src/router/modules/outpatientCharges.js
  6. 5 0
      src/store/modules/globalConfig.js
  7. 23 0
      src/xt_pages/Pharmacy/DrugDispensing.vue
  8. 32 3
      src/xt_pages/Pharmacy/PatientDispensing.vue
  9. 6 6
      src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue
  10. 1527 0
      src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue
  11. 11 1
      src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue
  12. 3 3
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  13. 11 0
      src/xt_pages/dialysis/bloodPresssWatch.vue
  14. 2 2
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  15. 2 2
      src/xt_pages/dialysis/details/assessmentAfter.vue
  16. 1 1
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  17. 6 3
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  18. 5 5
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  19. 13 12
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  20. 6 6
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  21. 16 9
      src/xt_pages/dialysis/details/index.vue
  22. 26 1
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  23. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue
  24. 5 5
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  25. 1987 1772
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue
  26. 1220 865
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue
  27. 238 164
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  28. 162 123
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue
  29. 5 5
      src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue
  30. 1624 0
      src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue
  31. 10 1
      src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue
  32. 1 0
      src/xt_pages/hospitalStation/recordTemplate/printOne.vue
  33. 370 0
      src/xt_pages/outpatientCharges/listTemplate/batch_listPrint.vue
  34. 16 4
      src/xt_pages/outpatientCharges/summary.vue
  35. 1 0
      src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue
  36. 1 0
      src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue
  37. 175 1153
      src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue
  38. 3 2
      src/xt_pages/stock/drugs/drugNewQuery.vue
  39. 26 1
      src/xt_pages/stock/drugs/drugStockInOrderAdd.vue
  40. 14 3
      src/xt_pages/stock/drugs/inventoryPrint.vue
  41. 3 1
      src/xt_pages/stock/inventoryPrint.vue
  42. 21 13
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  43. 1 0
      src/xt_pages/stock/stockOutOrder.vue
  44. 2 0
      src/xt_pages/upload/fast/basicInfo.vue
  45. 1 1
      src/xt_pages/user/components/PatientDetail.vue
  46. 2 1
      src/xt_pages/user/components/PatientForm.vue
  47. 4 1
      src/xt_pages/user/doctorAdvice.vue
  48. 8 11
      src/xt_pages/user/inspection.vue
  49. 23 4
      src/xt_pages/user/physiqueprinting.vue
  50. 2 2
      src/xt_pages/workforce/components/tableWeeks.vue
  51. 31 1
      src/xt_pages/workforce/remind_print_setting.vue

+ 4 - 4
src/api/advice.js Zobrazit soubor

@@ -259,9 +259,9 @@ export function CreateGroupAdvice(id, groupno, advices, mode) {
259 259
     })
260 260
   }
261 261
 }
262
-export function DeleteGroupAdvice(groupno, mode) {
262
+export function DeleteGroupAdvice(groupno, mode,patient_id,advice_date) {
263 263
   return request({
264
-    url:'/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
264
+    url:'/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode+"&patient_id="+patient_id+"&advice_date="+advice_date,
265 265
     method: 'delete',
266 266
     headers: {
267 267
       Permission: 3
@@ -420,10 +420,10 @@ export function DeleteNewDoctorAdvice(id, mode) {
420 420
   })
421 421
 }
422 422
 
423
-export function DeleteNewGroupAdvice(groupno, mode) {
423
+export function DeleteNewGroupAdvice(groupno, mode,patient_id,advice_date) {
424 424
   return request({
425 425
     url:
426
-      '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
426
+      '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode+'&patient_id='+patient_id+"&advice_date="+advice_date,
427 427
     method: 'delete',
428 428
     headers: {
429 429
       Permission: 3

+ 10 - 0
src/api/drug/drug.js Zobrazit soubor

@@ -964,4 +964,14 @@ export function getSelfDrugWarhouseInfo(params){
964 964
     method:"get",
965 965
     params:params,
966 966
   })
967
+}
968
+
969
+
970
+export function getDrugPurchaseQueryList(params){
971
+
972
+  return request({
973
+    url:"/api/drug/getdrugpurchasequerylist",
974
+    method:"get",
975
+    params:params
976
+  })
967 977
 }

+ 7 - 0
src/api/his/his.js Zobrazit soubor

@@ -895,6 +895,13 @@ export function summary2(params) {
895 895
     params: params
896 896
   })
897 897
 }
898
+export function list_batch(id) {
899
+  return request({
900
+    url: '/api/batch/orderlist?id='+id,
901
+    method: 'get',
902
+    // params: params
903
+  })
904
+}
898 905
 
899 906
 
900 907
 

+ 12 - 0
src/router/modules/dialysis.js Zobrazit soubor

@@ -1199,6 +1199,18 @@ export default {
1199 1199
         noCache: true
1200 1200
       }
1201 1201
     },
1202
+    {//84
1203
+      path: '/dialysis/print/batch/eightyfour',
1204
+      component: () =>
1205
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_eightyfour'),
1206
+      hidden: true,
1207
+      is_menu: false,
1208
+      name: 'batch_print_order_eightyfour',
1209
+      meta: {
1210
+        title: '批量打印',
1211
+        noCache: true
1212
+      }
1213
+    },
1202 1214
     {
1203 1215
       path: '/dialysis/flow',
1204 1216
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

+ 8 - 0
src/router/modules/outpatientCharges.js Zobrazit soubor

@@ -85,5 +85,13 @@ export default {
85 85
         name: 'outpatientChargesPrint',
86 86
         meta: { title: 'outpatientChargesPrint', noCache: true }
87 87
     },
88
+    {
89
+      path: '/listTemplate/batch_listPrint',
90
+      component: () => import('@/xt_pages/outpatientCharges/listTemplate/batch_listPrint'),
91
+      hidden: true,
92
+      is_menu: false,
93
+      name: 'outpatientChargesPrint',
94
+      meta: { title: 'outpatientChargesPrint', noCache: true }
95
+  },
88 96
   ]
89 97
 }

+ 5 - 0
src/store/modules/globalConfig.js Zobrazit soubor

@@ -68295,7 +68295,12 @@ const global_config = {
68295 68295
       {
68296 68296
         id: 3,
68297 68297
         name: '离异'
68298
+      },
68299
+      {
68300
+        id: 4,
68301
+        name: '丧偶'
68298 68302
       }
68303
+      
68299 68304
     ],
68300 68305
     reimbursement_ways: [ // 报销方式
68301 68306
       {

+ 23 - 0
src/xt_pages/Pharmacy/DrugDispensing.vue Zobrazit soubor

@@ -445,6 +445,9 @@
445 445
         :visible.sync="dialogVisibleOne"
446 446
          width="40%">
447 447
        <span>
448
+        <div style="margin-bottom: 10px;">
449
+         <span >追溯码个数:{{getTotal() }} 个</span>
450
+        </div>
448 451
         <el-input
449 452
           ref="Datefrom"
450 453
           @keyup.native="changeText"
@@ -551,10 +554,30 @@ export default {
551 554
       drug_id:0,
552 555
       newArrList:[],
553 556
       baseList:[],
557
+      textAreaList:[]
554 558
     };
555 559
   },
556 560
 
557 561
   methods: {
562
+    getTotal(){
563
+      if(this.textarea!=null){
564
+        var  textAreaList = this.textarea.split(",")
565
+        console.log("textArrleti",textAreaList)
566
+        var arr = []
567
+        if(textAreaList!=null && textAreaList.length>0){
568
+          for(let i=0;i<textAreaList.length;i++){
569
+            if(textAreaList[i]!=""){
570
+              arr.push(textAreaList[i])
571
+            }
572
+          }
573
+          return  arr.length
574
+        }else{
575
+          return ""
576
+        }
577
+      
578
+      }
579
+
580
+    },
558 581
     // 追溯码
559 582
     getDrugCode(id,DataSources,DrugCode,index){
560 583
       

+ 32 - 3
src/xt_pages/Pharmacy/PatientDispensing.vue Zobrazit soubor

@@ -305,6 +305,9 @@
305 305
         :visible.sync="dialogVisibleOne"
306 306
          width="40%">
307 307
        <span>
308
+        <div style="margin-bottom: 10px;">
309
+         <span >追溯码个数:{{getTotal() }} 个</span>
310
+        </div>
308 311
         <el-input
309 312
           ref="inputRef"
310 313
           @keyup.native="changeText"
@@ -419,10 +422,11 @@ export default {
419 422
       patientList:[],
420 423
       drug_id:0,
421 424
       total_count:0,
422
-      newArrList:[]
425
+      newArrList:[],
426
+      textAreaList:[]
423 427
     };
424 428
   },
425
-  watch: {},
429
+ 
426 430
   created() {
427 431
     this.init();
428 432
     this.gettodaynumber();
@@ -433,6 +437,26 @@ export default {
433 437
     // this.selectedbydefault();
434 438
   },
435 439
   methods: {
440
+    getTotal(){
441
+
442
+      if(this.textarea!=null){
443
+        var  textAreaList = this.textarea.split(",")
444
+        console.log("textArrleti",textAreaList)
445
+        var arr = []
446
+        if(textAreaList!=null && textAreaList.length>0){
447
+          for(let i=0;i<textAreaList.length;i++){
448
+             if(textAreaList[i]!=""){
449
+               arr.push(textAreaList[i])
450
+             }
451
+          }
452
+          return  arr.length
453
+        }else{
454
+          return ""
455
+        }
456
+       
457
+      }
458
+     
459
+    },
436 460
     openDialog(){
437 461
       this.$nextTick(() => {
438 462
         this.$refs.inputRef.focus()
@@ -1363,6 +1387,8 @@ export default {
1363 1387
        
1364 1388
         var textarea = ""
1365 1389
         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1390
+
1391
+      
1366 1392
          
1367 1393
         if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id==0 || this.$store.getters.xt_user.org.id == 10278|| this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10610){
1368 1394
 
@@ -1481,7 +1507,7 @@ export default {
1481 1507
        
1482 1508
       }
1483 1509
 
1484
-
1510
+      this.getTotal()
1485 1511
     },
1486 1512
     
1487 1513
     hasDuplicates(arr) {
@@ -1511,6 +1537,9 @@ export default {
1511 1537
 
1512 1538
 
1513 1539
   },
1540
+  watch:{
1541
+
1542
+  }
1514 1543
   
1515 1544
 };
1516 1545
 </script>

+ 6 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue Zobrazit soubor

@@ -597,7 +597,7 @@
597 597
                                   (record.dialysis_order &&
598 598
                                     monitor_record.operate_time ==
599 599
                                     record.dialysis_order.start_time)
600
-                                ">【开始透析】
600
+                                ">
601 601
                                 </template>
602 602
 
603 603
                                 {{ monitor_record.end }} {{ monitor_record.symptom }} &nbsp;{{
@@ -1045,7 +1045,7 @@
1045 1045
                         kg
1046 1046
                       </div>
1047 1047
 
1048
-                      <div class="inline_block" style="flex: 1">
1048
+                      <!-- <div class="inline_block" style="flex: 1">
1049 1049
                         <span>透析中入量(g):</span>
1050 1050
                         <div class="under_line" style="width: 70px; text-align: center">
1051 1051
                           {{
@@ -1056,7 +1056,7 @@
1056 1056
                           }}
1057 1057
                         </div>
1058 1058
                         {{ getUnit(record) }}
1059
-                      </div>
1059
+                      </div> -->
1060 1060
 
1061 1061
                       <div class="inline_block" style="flex: 1">
1062 1062
                         实际超滤量:
@@ -1467,7 +1467,7 @@ export default {
1467 1467
               this.records[i].monitor_records[j].end = ""
1468 1468
               if (this.records[i].dialysis_order && this.records[i].monitor_records[j].operate_time == this.records[i].dialysis_order.end_time) {
1469 1469
                 if (this.org_id != 10683) {
1470
-                  this.records[i].monitor_records[j].end = "【结束透析】";
1470
+                  this.records[i].monitor_records[j].end = "";
1471 1471
                 }
1472 1472
 
1473 1473
                 tempmonitorflag = false;
@@ -1475,13 +1475,13 @@ export default {
1475 1475
               if (this.org_id != 10515 && this.org_id != 0) {
1476 1476
                 if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1477 1477
                   if (this.org_id != 10683) {
1478
-                    this.records[i].monitor_records[j].end = "【结束透析】";
1478
+                    this.records[i].monitor_records[j].end = "";
1479 1479
                   }
1480 1480
 
1481 1481
                 }
1482 1482
                 if (this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == "") {
1483 1483
                   if (this.org_id != 10683) {
1484
-                    this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1484
+                    this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = ""
1485 1485
                   }
1486 1486
 
1487 1487
                 }

Diff nebyl zobrazen, protože je příliš veliký
+ 1527 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue


+ 11 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue Zobrazit soubor

@@ -253,7 +253,17 @@
253 253
                         :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') != -1 ? true : false"
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
-                        showValue="人造血管"></label-box>
256
+                        showValue="人造血管"></label-box>&nbsp;
257
+                      其他:
258
+                      <div style="display: inline-block;" 
259
+                        v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&
260
+                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') == -1 &&
261
+                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('带隧道带绦纶套') == -1 &&
262
+                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') == -1"
263
+                      >
264
+                        {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
265
+                      </div>
266
+
257 267
                     </div>&nbsp;&nbsp;
258 268
                     <div style="display: inline-block;line-height: 30px;">
259 269
                       穿刺者:

+ 3 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Zobrazit soubor

@@ -2568,7 +2568,7 @@
2568 2568
                       </div>
2569 2569
                     </div>
2570 2570
 
2571
-                    <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
2571
+                    <div class="row" style="padding: 2px 0; line-height: 23px; display: flex" v-if="org_id!=10735 && org_id!=0">
2572 2572
                       <div class="inline_block" style="flex: 1; display: inline-block">
2573 2573
                         宣教知识:
2574 2574
                         <div class="under_line" style="
@@ -2850,12 +2850,12 @@
2850 2850
                         </div>
2851 2851
                       </div>
2852 2852
 
2853
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10579">
2853
+                      <!-- <div class="inline_block" style="flex: 1" v-if="org_id == 10579">
2854 2854
                         患者签名:
2855 2855
                         <div class="under_line" style="width: 80px; text-align: center">
2856 2856
 
2857 2857
                         </div>
2858
-                      </div>
2858
+                      </div> -->
2859 2859
                       <div class="inline_block" style="flex: 1">
2860 2860
                         治疗医生:
2861 2861
                         <div class="under_line" style="width: 80px; text-align: center">

+ 11 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Zobrazit soubor

@@ -569,6 +569,15 @@
569 569
             >批量打印</el-button
570 570
           >
571 571
         </template>
572
+        <template v-if="this.template_id == 84">
573
+          <el-button
574
+            size="small"
575
+            icon="el-icon-printer"
576
+            :disabled="selecting_schs.length == 0"
577
+            @click="batchPrintAction"
578
+            type="primary"
579
+          >批量打印</el-button>
580
+        </template>
572 581
       </div>
573 582
     </div>
574 583
     <div class="app-container">
@@ -2801,6 +2810,8 @@ export default {
2801 2810
         this.$router.push({ path: "/dialysis/print/batch/eightyTwo" });
2802 2811
       } else if (this.template_id == 83) {
2803 2812
         this.$router.push({ path: "/dialysis/print/batch/eightythree" });
2813
+      } else if (this.template_id == 84) {
2814
+        this.$router.push({ path: "/dialysis/print/batch/eightyfour" });
2804 2815
       }
2805 2816
     },
2806 2817
     batchPrintActionOne: function() {

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Zobrazit soubor

@@ -173,13 +173,13 @@
173 173
         </li> -->
174 174
 
175 175
 
176
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721&& this.$store.getters.xt_user.template_info.org_id != 10752">
176
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757">
177 177
           <label>处方脱水量 : </label>
178 178
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
179 179
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
180 180
         </li>
181 181
 
182
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10752">
182
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10752 || this.$store.getters.xt_user.template_info.org_id == 10757">
183 183
           <label>处方脱水量 : </label>
184 184
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
185 185
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Zobrazit soubor

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || 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 == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495 ||  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 == 10702 ||  this.$store.getters.xt_user.template_info.org_id == 10697 ||  this.$store.getters.xt_user.template_info.org_id == 10635 ||  this.$store.getters.xt_user.template_info.org_id == 10721 ||  this.$store.getters.xt_user.template_info.org_id == 10727 ||  this.$store.getters.xt_user.template_info.org_id == 10751 || this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10742) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  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!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495 &&  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!= 10702  &&  this.$store.getters.xt_user.template_info.org_id!= 10697 &&  this.$store.getters.xt_user.template_info.org_id!= 10635 &&  this.$store.getters.xt_user.template_info.org_id!= 10721 &&  this.$store.getters.xt_user.template_info.org_id!= 10727&&  this.$store.getters.xt_user.template_info.org_id!= 10751 &&  this.$store.getters.xt_user.template_info.org_id!= 10752 &&  this.$store.getters.xt_user.template_info.org_id!= 10742"  >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || 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 == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495 ||  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 == 10702 ||  this.$store.getters.xt_user.template_info.org_id == 10697 ||  this.$store.getters.xt_user.template_info.org_id == 10635 ||  this.$store.getters.xt_user.template_info.org_id == 10721 ||  this.$store.getters.xt_user.template_info.org_id == 10727 ||  this.$store.getters.xt_user.template_info.org_id == 10751 || this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10742 || this.$store.getters.xt_user.template_info.org_id == 10757) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  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!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495 &&  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!= 10702  &&  this.$store.getters.xt_user.template_info.org_id!= 10697 &&  this.$store.getters.xt_user.template_info.org_id!= 10635 &&  this.$store.getters.xt_user.template_info.org_id!= 10721 &&  this.$store.getters.xt_user.template_info.org_id!= 10727&&  this.$store.getters.xt_user.template_info.org_id!= 10751 &&  this.$store.getters.xt_user.template_info.org_id!= 10752 &&  this.$store.getters.xt_user.template_info.org_id!= 10742 && this.$store.getters.xt_user.template_info.org_id!= 10757"  >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Zobrazit soubor

@@ -49,7 +49,7 @@
49 49
           <el-col :span="8" v-if="isShow('实际超滤量')">
50 50
             <el-form-item
51 51
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
52
-              v-if="(this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || 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 == 10495 || this.$store.getters.xt_user.template_info.org_id == 10558 || 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 == 10480 || this.$store.getters.xt_user.template_info.org_id == 10693  || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10742) && this.$store.getters.xt_user.template_info.org_id != 10624"  >
52
+              v-if="(this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || 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 == 10495 || this.$store.getters.xt_user.template_info.org_id == 10558 || 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 == 10480 || this.$store.getters.xt_user.template_info.org_id == 10693  || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10757) && this.$store.getters.xt_user.template_info.org_id != 10624"  >
53 53
               <el-input v-model="form.actual_ultrafiltration"></el-input>
54 54
             </el-form-item>
55 55
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">

+ 6 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Zobrazit soubor

@@ -1197,7 +1197,9 @@
1197 1197
            this.$message.error("已执行的医嘱无法删除!")
1198 1198
            return
1199 1199
         }
1200
-        this.DeleteGroupAdvice(this.groupSelectRow.groupno)
1200
+        console.log("groupno====================",this.groupSelectRow)
1201
+       
1202
+        this.DeleteGroupAdvice(this.groupSelectRow.groupno,this.groupSelectRow.patient_id,this.groupSelectRow.advice_date)
1201 1203
 
1202 1204
         // this.$confirm('确认删除些条医嘱内容?', '删除医嘱内容', {
1203 1205
         //   confirmButtonText: '确定',
@@ -1846,7 +1848,8 @@
1846 1848
       }
1847 1849
       ,
1848 1850
 
1849
-      DeleteGroupAdvice(groupno) {
1851
+      DeleteGroupAdvice(groupno,patient_id,advice_date) {
1852
+
1850 1853
         this.$confirm('确认删除这组医嘱?', '医嘱删除', {
1851 1854
           confirmButtonText: '确定',
1852 1855
           cancelButtonText: '取消',
@@ -1859,7 +1862,7 @@
1859 1862
             ) {
1860 1863
               mode = '5'
1861 1864
             }
1862
-            DeleteGroupAdvice(groupno, mode).then(response => {
1865
+            DeleteGroupAdvice(groupno, mode,patient_id,advice_date).then(response => {
1863 1866
               if (response.data.state == 0) {
1864 1867
                 this.$message.error(response.data.msg)
1865 1868
                 if(response.data.code == 600000008){

+ 5 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -161,7 +161,7 @@
161 161
                     </el-col>
162 162
 
163 163
                     <el-col :span="8"
164
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740 && this.$store.getters.xt_user.template_info.org_id != 10745 && this.$store.getters.xt_user.template_info.org_id != 10752">
164
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740 && this.$store.getters.xt_user.template_info.org_id != 10745 && this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10752&& this.$store.getters.xt_user.template_info.org_id != 10757">
165 165
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
166 166
                             <el-input
167 167
                                     type="number"
@@ -171,7 +171,7 @@
171 171
                     </el-col>
172 172
 
173 173
                     <el-col :span="8"
174
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742  || this.$store.getters.xt_user.template_info.org_id==10745 || this.$store.getters.xt_user.template_info.org_id==10752">
174
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742  || this.$store.getters.xt_user.template_info.org_id==10745 || this.$store.getters.xt_user.template_info.org_id==10752|| this.$store.getters.xt_user.template_info.org_id==10757">
175 175
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
176 176
                             <el-input
177 177
                                     type="number"
@@ -2798,7 +2798,7 @@ mu
2798 2798
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2799 2799
         console.log("除非=======================")
2800 2800
 
2801
-        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10726|| this.$store.getters.xt_user.template_info.org_id==10752){
2801
+        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10726|| this.$store.getters.xt_user.template_info.org_id==10752 ||  this.$store.getters.xt_user.template_info.org_id==10697){
2802 2802
           if(this.predialysis!=undefined){
2803 2803
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2804 2804
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(1)
@@ -3339,7 +3339,7 @@ mu
3339 3339
         this.pre = pre
3340 3340
         // console.log("pre1", pre);
3341 3341
         this.getPermission()
3342
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752){
3342
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10697|| this.$store.getters.xt_user.template_info.org_id == 10757){
3343 3343
           this.getPatientBefor()
3344 3344
         }
3345 3345
 
@@ -5190,7 +5190,7 @@ mu
5190 5190
           var prescription = response.data.data.prescription
5191 5191
           if(patientBefor!=undefined){
5192 5192
 
5193
-            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745||this.$store.getters.xt_user.template_info.org_id == 10751){
5193
+            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745||this.$store.getters.xt_user.template_info.org_id == 10751||this.$store.getters.xt_user.template_info.org_id == 10697||this.$store.getters.xt_user.template_info.org_id == 10757){
5194 5194
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5195 5195
               
5196 5196
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000

+ 13 - 12
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Zobrazit soubor

@@ -387,7 +387,7 @@
387 387
                 org_id == 10599 || 
388 388
                 org_id == 10612 ||
389 389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721 || org_id ==10727 || org_id == 10206 || org_id == 10740 || org_id == 10742|| org_id == 10745 || org_id == 10751 || org_id == 10752 ) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721 || org_id ==10727 || org_id == 10206 || org_id == 10740 || org_id == 10742|| org_id == 10745 || org_id == 10751 || org_id == 10752 || org_id == 10757 ) &&
391 391
                 org_id!=10387
392 392
             "
393 393
           >
@@ -458,7 +458,7 @@
458 458
               && org_id!=10432 && org_id!=10445
459 459
               && org_id!=10410 && org_id!=10495 &&
460 460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && 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 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727  && org_id!=10206 && org_id!=10740 && org_id!=10742 && org_id!=10745 && org_id!=10751 && org_id!=10752)
461
+               && 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 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727  && org_id!=10206 && org_id!=10740 && org_id!=10742 && org_id!=10745 && org_id!=10751 && org_id!=10752 && org_id!=10757)
462 462
               || org_id == 10387
463 463
             "
464 464
           >
@@ -529,7 +529,7 @@
529 529
                 org_id == 10410 ||
530 530
                 org_id == 10495  ||
531 531
                 org_id == 10395
532
-                || 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 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id ==10727 || org_id == 10206 || org_id ==10702 || org_id ==10740 || org_id == 10742 || org_id == 10745||org_id ==10751 || org_id == 10752)
532
+                || 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 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id ==10727 || org_id == 10206 || org_id ==10702 || org_id ==10740 || org_id == 10742 || org_id == 10745||org_id ==10751 || org_id == 10752 || org_id == 10757)
533 533
                 && org_id!=10387
534 534
             "
535 535
           >
@@ -584,7 +584,7 @@
584 584
               org_id!=10432 &&
585 585
               org_id!=10445 &&
586 586
               org_id!=10410 && org_id!=10495
587
-              && 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 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206 && org_id!=10740&& org_id!=10742&& org_id!=10745 && org_id!=10751 && org_id!=10752) ||
587
+              && 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 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206 && org_id!=10740&& org_id!=10742&& org_id!=10745 && org_id!=10751 && org_id!=10752 && org_id!=10757) ||
588 588
               org_id == 10387
589 589
             "
590 590
           >
@@ -784,7 +784,7 @@
784 784
                 org_id!=10558 &&
785 785
                 org_id!=10517 && 
786 786
                 org_id!=10414 && 
787
-                org_id!=10598 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10721) ||
787
+                org_id!=10598 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10721 && org_id!=10731) ||
788 788
                 org_id == 9779 ||
789 789
                 template_id == 11 ||
790 790
                 template_id == 20 ||
@@ -820,7 +820,7 @@
820 820
             width="100"
821 821
             v-if="
822 822
               isShow('置换量') &&
823
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id == 10644 || org_id == 10721) &&
823
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id == 10644 || org_id == 10721 || org_id == 10731 || org_id == 10731) &&
824 824
               template_id != 9779 &&
825 825
               template_id != 11 &&
826 826
               template_id != 20 &&
@@ -1689,7 +1689,7 @@
1689 1689
                 org_id== 10432 ||
1690 1690
                 org_id== 10445 ||
1691 1691
                 org_id== 10410 ||
1692
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id == 10727 || org_id == 10206 || org_id ==10740 || org_id ==10742 || org_id == 10745 || org_id == 10751 || org_id == 10752) &&
1692
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id == 10727 || org_id == 10206 || org_id ==10740 || org_id ==10742 || org_id == 10745 || org_id == 10751 || org_id == 10752 || org_id == 10757) &&
1693 1693
                 org_id!=10387
1694 1694
             "
1695 1695
           >
@@ -1737,7 +1737,7 @@
1737 1737
               org_id!=10445 &&
1738 1738
               org_id!=10410 &&
1739 1739
               org_id!=10485 &&
1740
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206 && org_id!=10740 && org_id!=10742 && org_id!=10745 && org_id!=10751 && org_id!=10752)
1740
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206 && org_id!=10740 && org_id!=10742 && org_id!=10745 && org_id!=10751 && org_id!=10752 && org_id!=10757)
1741 1741
               || org_id == 10387
1742 1742
             "
1743 1743
           >
@@ -1810,7 +1810,7 @@
1810 1810
                 org_id == 10599 ||
1811 1811
                 org_id ==10612 || 
1812 1812
                 org_id ==10617 || 
1813
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721 || org_id == 10727 || org_id ==10206 || org_id == 10740 || org_id == 10742 || org_id == 10745 || org_id == 10751 || org_id == 10752)
1813
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721 || org_id == 10727 || org_id ==10206 || org_id == 10740 || org_id == 10742 || org_id == 10745 || org_id == 10751 || org_id == 10752 || org_id == 10757)
1814 1814
                 && org_id!=10387 && org_id!=10694
1815 1815
             "
1816 1816
           >
@@ -1893,7 +1893,8 @@
1893 1893
               org_id!=10742 &&
1894 1894
               org_id!=10745 &&
1895 1895
               org_id!=10751 &&
1896
-              org_id!=10752
1896
+              org_id!=10752 &&
1897
+              org_id!=10757
1897 1898
               )
1898 1899
               || org_id == 10387 || org_id == 10694
1899 1900
             "
@@ -2012,7 +2013,7 @@
2012 2013
             :span="8"
2013 2014
             v-if="
2014 2015
               isShow('置换量') &&
2015
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346 || org_id ==10598 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id ==10644 || org_id == 10721 || org_id ==10727 || org_id ==10206) &&
2016
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346 || org_id ==10598 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id ==10644 || org_id == 10721 || org_id ==10727 || org_id ==10206 || org_id == 10731) &&
2016 2017
               org_id != 9779 &&
2017 2018
               template_id != 11 &&
2018 2019
               template_id != 20 &&
@@ -2046,7 +2047,7 @@
2046 2047
                 org_id != 9919 &&
2047 2048
                 org_id != 10191 &&
2048 2049
                 org_id != 10551 &&
2049
-                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414 && org_id !=10694 && org_id != 10697&& org_id != 10567 && org_id!=10644 && org_id!=10206) ||
2050
+                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414 && org_id !=10694 && org_id != 10697&& org_id != 10567 && org_id!=10644 && org_id!=10206 && org_id!=10731) ||
2050 2051
                 org_id == 9779 ||
2051 2052
                 template_id == 11 ||
2052 2053
                 template_id == 20 ||

+ 6 - 6
src/xt_pages/dialysis/details/dialysisMonitoring.vue Zobrazit soubor

@@ -20,11 +20,11 @@
20 20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21 21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22 22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 &&this.$store.getters.xt_user.template_info.org_id!=10742 &&this.$store.getters.xt_user.template_info.org_id!=10740 &&this.$store.getters.xt_user.template_info.org_id!=10745" width="76px" > 超滤量(ml)</th>
24
-          <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 &&  this.$store.getters.xt_user.template_info.org_id!=10721 && this.$store.getters.xt_user.template_info.org_id!=10727 && this.$store.getters.xt_user.template_info.org_id!=10206&& this.$store.getters.xt_user.template_info.org_id!=10751&& this.$store.getters.xt_user.template_info.org_id!=10752) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471 ||   this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742 || this.$store.getters.xt_user.template_info.org_id == 10745"  width="76px"> 超滤量(L) </th>
23
+          <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 &&this.$store.getters.xt_user.template_info.org_id!=10742 &&this.$store.getters.xt_user.template_info.org_id!=10740 &&this.$store.getters.xt_user.template_info.org_id!=10745 || this.$store.getters.xt_user.template_info.org_id == 10757" width="76px" > 超滤量(ml)</th>
24
+          <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 &&  this.$store.getters.xt_user.template_info.org_id!=10721 && this.$store.getters.xt_user.template_info.org_id!=10727 && this.$store.getters.xt_user.template_info.org_id!=10206&& this.$store.getters.xt_user.template_info.org_id!=10751&& this.$store.getters.xt_user.template_info.org_id!=10752) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471 ||   this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742 || this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10757"  width="76px"> 超滤量(L) </th>
25 25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
-          <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
-          <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721  && this.$store.getters.xt_user.template_info.org_id!=10727  && this.$store.getters.xt_user.template_info.org_id!=10206 && this.$store.getters.xt_user.template_info.org_id!=10740 && this.$store.getters.xt_user.template_info.org_id!=10742&& this.$store.getters.xt_user.template_info.org_id!=10751&& this.$store.getters.xt_user.template_info.org_id!=10752 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
26
+          <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10757) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
+          <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721  && this.$store.getters.xt_user.template_info.org_id!=10727  && this.$store.getters.xt_user.template_info.org_id!=10206 && this.$store.getters.xt_user.template_info.org_id!=10740 && this.$store.getters.xt_user.template_info.org_id!=10742&& this.$store.getters.xt_user.template_info.org_id!=10751&& this.$store.getters.xt_user.template_info.org_id!=10752&& this.$store.getters.xt_user.template_info.org_id!=10757 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
28 28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
29 29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30 30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>
@@ -34,8 +34,8 @@
34 34
           <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721 && org_id !=10727 && org_id !=10206 && org_id!=10751&& org_id!=10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
35 35
           <th v-if=" isShow('置换率1')" width="92px" > 置换率(ml/min) </th>
36 36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
37
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644" width="92px"  > 置换量(ml)  </th>
38
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445  && this.$store.getters.xt_user.template_info.org_id != 10751&& this.$store.getters.xt_user.template_info.org_id != 10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567 || org_id == 10644" width="92px" > 置换量(L) </th>
37
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10731" width="92px"  > 置换量(ml)  </th>
38
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445  && this.$store.getters.xt_user.template_info.org_id != 10751&& this.$store.getters.xt_user.template_info.org_id != 10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567 || org_id == 10644 || org_id == 10731" width="92px" > 置换量(L) </th>
39 39
           <th v-if=" isShow('置换量1')" width="92px"  > 置换量(L)  </th>
40 40
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
41 41
           <th v-if=" isShow('SpO₂') && org_id == 9829" width="92px" > SpO₂(%) </th>

+ 16 - 9
src/xt_pages/dialysis/details/index.vue Zobrazit soubor

@@ -467,10 +467,13 @@
467 467
 
468 468
                 </div>
469 469
                 <div class="printCell" style="display:flex;">
470
-                  <span style="display: block;width: 45%;">目标脱水量:{{ main_collection.prescription.target_ultrafiltration }}
470
+                  <span style="display: block;width: 45%;" v-if="org_id !=10757">目标脱水量:{{ main_collection.prescription.target_ultrafiltration }}
471 471
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span>
472 472
                     <span v-else>L</span>
473 473
                   </span>
474
+                  <div style="width: 45%;" v-if="org_id ==10757 ">
475
+                    处方脱水量:{{main_collection.prescription.prescription_water}} L
476
+                  </div>
474 477
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
475 478
                     总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
476 479
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
@@ -545,6 +548,15 @@
545 548
                   </span>
546 549
                   </span>
547 550
                 </div>
551
+                <div class="printCell" style="display:flex;">
552
+                  <div style="" v-if="org_id ==10598">透析器:
553
+                   <span>{{main_collection.prescription.dialysis_dialyszers }}&nbsp;&nbsp; {{main_collection.prescription.dialysis_irrigation}}&nbsp;&nbsp; {{main_collection.prescription.dialysis_strainer}}</span>
554
+                  </div>
555
+                  <div style="" v-if="org_id ==10757 || org_id ==0">
556
+                    血压:{{ main_collection.assessmentbefor.systolic_blood_pressure }}/
557
+                    {{ main_collection.assessmentbefor.diastolic_blood_pressure }} mmHg
558
+                  </div>
559
+                </div>
548 560
                 <div class="printCell" style="display:flex;"  v-if="org_id==10598">
549 561
                   <span style="display: block;width: 45%;">处方脱水量:{{main_collection.prescription.prescription_water}}
550 562
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
@@ -562,7 +574,7 @@
562 574
                     {{ getDisplaceLiquiPart(main_collection.prescription.displace_liqui_part) }}
563 575
                   </div>
564 576
                 </div>
565
-                <div class="printCell" style="display:flex;" v-if="org_id ==10635 || org_id == 0">
577
+                <div class="printCell" style="display:flex;" v-if="org_id ==10635">
566 578
                   <div style="width: 45%;">
567 579
                     处方脱水量:{{main_collection.prescription.prescription_water}} L
568 580
                   </div>
@@ -570,12 +582,7 @@
570 582
                     血流量:{{main_collection.prescription.blood_flow_volume}} ml/min
571 583
                   </div>
572 584
                 </div>
573
-                <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
574
-                  <div style="">透析器:
575
-                   <span>{{main_collection.prescription.dialysis_dialyszers }}&nbsp;&nbsp; {{main_collection.prescription.dialysis_irrigation}}&nbsp;&nbsp; {{main_collection.prescription.dialysis_strainer}}</span>
576
-                  </div>
577 585
 
578
-                </div>
579 586
               </div>
580 587
             </div>
581 588
 
@@ -2580,7 +2587,7 @@ export default {
2580 2587
           newArr.sort(this.compare('created_time'))
2581 2588
         }
2582 2589
 
2583
-        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702 || this.org_id==10721){
2590
+        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702 || this.org_id==10721 || this.org_id == 10635){
2584 2591
           if(newArr!=null && newArr.length>0){
2585 2592
             for(let i=0;i<newArr.length;i++){
2586 2593
               newArr[i].sort =0
@@ -2759,7 +2766,7 @@ export default {
2759 2766
           newArr.sort(this.compare('created_time'))
2760 2767
         }
2761 2768
 
2762
-        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702 || this.org_id == 10721){
2769
+        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702 || this.org_id == 10721 || this.org_id == 10635){
2763 2770
           if(newArr!=null && newArr.length>0){
2764 2771
             for(let i=0;i<newArr.length;i++){
2765 2772
               newArr[i].sort =0

+ 26 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

@@ -1044,6 +1044,18 @@
1044 1044
         >
1045 1045
         </div>
1046 1046
       </template>
1047
+      <template v-if="org_template_info.template_id == 84">
1048
+        <div>
1049
+          <el-button
1050
+          :loading="loading"
1051
+          size="small"
1052
+          icon="el-icon-printer"
1053
+          @click="printThisPage"
1054
+          type="primary"
1055
+          >打印</el-button
1056
+        >
1057
+        </div>
1058
+      </template>
1047 1059
     </div>
1048 1060
     <div class="app-container" style="min-height: 0">
1049 1061
       <!--<div class="order-print-btn"-->
@@ -1576,6 +1588,10 @@
1576 1588
           <DialysisPrintOrdereightythree v-bind:childResponse="childResponse"
1577 1589
           v-if="org_template_info.template_id == 83">
1578 1590
           </DialysisPrintOrdereightythree>
1591
+          <DialysisPrintOrdereightyfour v-bind:childResponse="childResponse"
1592
+          v-if="org_template_info.template_id == 84">
1593
+
1594
+          </DialysisPrintOrdereightyfour>
1579 1595
         </div>
1580 1596
       </el-container>
1581 1597
     </div>
@@ -1677,6 +1693,7 @@ import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1677 1693
 import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
1678 1694
 import DialysisPrintOrdereightytwo from './template/DialysisPrintOrdereightytwo'
1679 1695
 import DialysisPrintOrdereightythree from './template/DialysisPrintOrdereightythree'
1696
+import DialysisPrintOrdereightyfour from './template/DialysisPrintOrdereightyfour'
1680 1697
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1681 1698
 export default {
1682 1699
   name: "dialysisPrintOrder",
@@ -1764,6 +1781,7 @@ export default {
1764 1781
     DialysisPrintOrdereightyone,
1765 1782
     DialysisPrintOrdereightytwo,
1766 1783
     DialysisPrintOrdereightythree,
1784
+    DialysisPrintOrdereightyfour,
1767 1785
     DialysisPrintOrderZero,
1768 1786
     LabelBox,
1769 1787
     BreadCrumb,
@@ -2508,6 +2526,13 @@ export default {
2508 2526
           style: style17,
2509 2527
           scanStyles: false,
2510 2528
         });
2529
+      } else if (this.org_template_info.template_id == 84) {
2530
+        printJS({
2531
+          printable: "dialysis-print-box",
2532
+          type: "html",
2533
+          style: style4,
2534
+          scanStyles: false,
2535
+        });
2511 2536
       }
2512 2537
        else if (this.org_template_info.template_id == 199 ) {
2513 2538
         printJS({
@@ -2732,7 +2757,7 @@ export default {
2732 2757
             this.org_template_info = response.data.data.org_template_info;
2733 2758
           // }else{
2734 2759
           //   this.org_template_info = response.data.data.org_template_info;
2735
-          //   this.org_template_info.template_id= 83
2760
+          //   this.org_template_info.template_id= 84
2736 2761
           // }
2737 2762
 
2738 2763
 

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Zobrazit soubor

@@ -426,7 +426,7 @@
426 426
                           predialysis.weight_after_last_transparency
427 427
                             ? predialysis.weight_after_last_transparency
428 428
                             : "未称重"
429
-                        }}</span>``
429
+                        }}</span>
430 430
                         <!-- {{ predialysis.weight_after_last_transparency ? parseFloat(lastafterdialysis.weight_after - lastafterdialysis.additional_weight).toFixed(1) : "未称重" }} -->
431 431
                       </div>
432 432
                       kg

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

@@ -2268,7 +2268,7 @@
2268 2268
                         </span>
2269 2269
                         <span v-if="org_id == 10460">
2270 2270
                           透析中入量
2271
-                          <span v-if="org_id!=10644">(ml)</span> 
2271
+                          <span v-if="org_id!=10644">(ml)</span>
2272 2272
2273 2273
                         </span>
2274 2274
                         <div class="under_line" style="width: 70px; text-align: center">
@@ -2388,7 +2388,7 @@
2388 2388
                       <div class="inline_block" style="flex: 1; display: inline-block">
2389 2389
                         治疗小结:
2390 2390
                         <div class="under_line" style="
2391
-                            width: 860px;
2391
+                            width: 85%;
2392 2392
                             line-height: 25px;
2393 2393
                             text-align: left;
2394 2394
                             margin-left: 2px;
@@ -2403,7 +2403,7 @@
2403 2403
                         </div>
2404 2404
                       </div>
2405 2405
                     </div>
2406
-                    <div v-if="org_id != 10460 && org_id != 10624" class="row"
2406
+                    <div v-if="org_id != 10460 && org_id != 10624 && org_id!=10735 " class="row"
2407 2407
                       style="padding: 2px 0; line-height: 23px; display: flex">
2408 2408
                       <div class="inline_block" style="flex: 1; display: inline-block">
2409 2409
                         宣教知识:
@@ -2806,13 +2806,13 @@
2806 2806
                             " alt="" srcset="" v-else />
2807 2807
                         </div>
2808 2808
                       </div>
2809
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10579">
2809
+                      <!-- <div class="inline_block" style="flex: 1" v-if="org_id == 10579">
2810 2810
                         患者签名
2811 2811
                         <div class="under_line" style="width: 80px; text-align: center">
2812 2812
 
2813 2813
 
2814 2814
                         </div>
2815
-                      </div>
2815
+                      </div> -->
2816 2816
                       <div class="inline_block" style="flex: 1">
2817 2817
                         治疗医生:
2818 2818
                         <div v-if="org_id == 10191" class="under_line" style="width: 80px; text-align: center">

Diff nebyl zobrazen, protože je příliš veliký
+ 1987 - 1772
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue


Diff nebyl zobrazen, protože je příliš veliký
+ 1220 - 865
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue


+ 238 - 164
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Zobrazit soubor

@@ -794,7 +794,7 @@
794 794
                                   <span v-if="prescription.anticoagulant == '肝素钠'">&nbsp;肝素钠</span>
795 795
                                 </div>
796 796
                               </td>
797
-                             
797
+
798 798
 
799 799
                               <td width="50">首剂量</td>
800 800
                               <td width="60">
@@ -843,7 +843,7 @@
843 843
                                   <span v-if="prescription.anticoagulant == '低分子量肝素钙'">mg</span>
844 844
                                   <span v-if="prescription.anticoagulant == '肝素钠'">mg</span>
845 845
                               </td>
846
-                             
846
+
847 847
                             </tr>
848 848
                           </tbody>
849 849
                         </table>
@@ -1175,10 +1175,6 @@
1175 1175
           </tbody>
1176 1176
         </table>
1177 1177
         <div style="page-break-after: always;"></div>
1178
-
1179
-
1180
-
1181
-
1182 1178
       </div>
1183 1179
       <div id='new-dialysis-2' class="dialysis-print-order">
1184 1180
         <!-- <div class="order-yy-name"></div> -->
@@ -1425,168 +1421,234 @@ export default {
1425 1421
   },
1426 1422
   methods: {
1427 1423
     checkData(){
1424
+      var checkdata=[]
1428 1425
       if(this.receiverTreatmentAccess.way == 0){
1429
-        this.$message.error('入科方式未填')
1430
-      }else if(this.receiverTreatmentAccess.consciousness == 0){
1431
-        this.$message.error('意识未填')
1432
-      }else if(this.predialysis.is_hemorrhage == 0){
1433
-        this.$message.error('出血未填')
1434
-      }else if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
1435
-        this.$message.error('出血选项未填')
1436
-      }else if(this.prescription.body_fluid == 0 || this.predialysis.humor_excessive_symptom == ""){
1437
-        this.$message.error('体液过多症状未填')
1438
-      }else if(this.predialysis.special_medicine == 0){
1439
-        this.$message.error('透析前使用特殊药物未填')
1440
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
1441
-        this.$message.error('通路类型未填')
1442
-      }else if(this.predialysis.puncture_way == ''){
1443
-        this.$message.error('穿刺方法未填')
1444
-      }else if(this.predialysis.catheter == ''){
1445
-        this.$message.error('导管或导管出口处未填')
1446
-      }else if(this.predialysis.internal_fistula == ''){
1447
-        this.$message.error('内瘘震颤未填')
1448
-      }else if(this.predialysis.internal_fistula_skin == ''){
1449
-        this.$message.error('内瘘皮肤情况未填')
1450
-      }else if(this.predialysis.venous_catheterization == 0){
1451
-        this.$message.error('中心静脉置管未填')
1452
-      }else if(this.predialysis.blood_access_part_id == ''){
1453
-        this.$message.error('血管通路位置未填')
1454
-      }else if(this.predialysis.thromubus_type == 0){
1455
-        this.$message.error('血栓未填')
1456
-      }else if(this.predialysis.thrombus_av == ''){
1457
-        this.$message.error('导管AV端未填')
1458
-      }else if(this.predialysis.thromubus_a == ''){
1459
-        this.$message.error('a端未填')
1460
-      }else if(this.predialysis.thromubus_v == ''){
1461
-        this.$message.error('v端未填')
1462
-      }else if(this.predialysis.temperature == ""){
1463
-        this.$message.error('透前体温未填')
1464
-      }else if(this.predialysis.pulse_frequency == ""){
1465
-        this.$message.error('透前脉搏未填')
1466
-      }else if(this.predialysis.breathing_rate == ""){
1467
-        this.$message.error('透前呼吸频率未填')
1468
-      }else if(this.predialysis.systolic_blood_pressure == 0){
1469
-        this.$message.error('收缩压未填完整')
1470
-      }else if(this.predialysis.diastolic_blood_pressure == 0){
1471
-        this.$message.error('舒张压未填完整')
1472
-      }else if(this.predialysis.weight_before == 0){
1473
-        this.$message.error('本次透前体重未填')
1474
-      }else if(this.predialysis.dry_weight == 0){
1475
-        this.$message.error('干体重未填')
1476
-      }else if(this.assessmentafter.weight_after == 0){
1477
-        this.$message.error('上次透后体重未填')
1478
-      }else if(this.afterdialysis.weight_after == 0){
1479
-        this.$message.error('本次透后体重未填')
1480
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1481
-        this.$message.error('计划时间未填')
1482
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1483
-        this.$message.error('机面治疗时间未填')
1484
-      }else if(this.prescription.target_ultrafiltration == 0){
1485
-        this.$message.error('预设超滤量未填')
1486
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1487
-        this.$message.error('机面超滤量未填')
1488
-      }else if(this.prescription.mode_id == ""){
1489
-        this.$message.error('治疗方式未填')
1490
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
1491
-        this.$message.error('透析器或灌流器未填')
1492
-      }else if(this.prescription.anticoagulant == 0){
1493
-        this.$message.error('抗凝方式未填')
1494
-      }else if(this.prescription.dialysate_formulation_name == ""){
1495
-        this.$message.error('透析液配方未填')
1496
-      }else if(this.afterdialysis.return_blood == 0){
1497
-        this.$message.error('回血未填')
1498
-      }else if(this.afterdialysis.rehydration_volume == 0){
1499
-        this.$message.error('补液量未填')
1500
-      }else if(this.afterdialysis.dialysis_during == 0){
1501
-        this.$message.error('透析中进食量未填')
1502
-      }else if(this.afterdialysis.stroke_volume == 0){
1503
-        this.$message.error('出量未填')
1504
-      }else if(this.prescription.prescription_doctor == 0){
1505
-        this.$message.error('主管医生未填')
1506
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1507
-        this.$message.error('穿刺/开管护士未填')
1508
-      }else if(this.check.modifier == 0){
1509
-        this.$message.error('核对护士未填')
1510
-      }else if(this.afterdialysis.internal_fistula == ''){
1511
-        this.$message.error('透后内瘘震颤未填')
1512
-      }else if(this.afterdialysis.catheter == ''){
1513
-        this.$message.error('置管口未填')
1514
-      }else if(this.afterdialysis.blood_flow == 0){
1515
-        this.$message.error('血流量未填')
1516
-      }else if(this.afterdialysis.sealing_fluid_dispose == ""){
1517
-        this.$message.error('封管液配置未填')
1518
-      }else if(this.afterdialysis.cvc_a == 0){
1519
-        this.$message.error('封管量A端未填')
1520
-      }else if(this.afterdialysis.cvc_v == 0){
1521
-        this.$message.error('封管量V端未填')
1522
-      }else if(this.afterdialysis.catheter == ""){
1523
-        this.$message.error('打折和吸壁未填')
1524
-      }else if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('打折') == -1){
1525
-        this.$message.error('打折未填')
1526
-      }else if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('吸壁') == -1){
1527
-        this.$message.error('吸壁未填')
1528
-      }else if(this.afterdialysis.cruor == ""){
1529
-        this.$message.error('透析器凝血未填')
1530
-      }else if(this.afterdialysis.arterial_tube == 0){
1531
-        this.$message.error('动脉管道未填')
1532
-      }else if(this.afterdialysis.intravenous_tube == 0){
1533
-        this.$message.error('静脉管道未填')
1534
-      }else if(this.afterdialysis.complication == ""){
1535
-        this.$message.error('透后并发症未填')
1536
-      }else if(this.summary.special_record == ""){
1537
-        this.$message.error('特殊记录未填')
1538
-      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1539
-        this.$message.error('当班责任护士未填')
1540
-      }else if(this.dialysisOrder.finish_nurse == 0){
1541
-        this.$message.error('下机护士未填')
1542
-      }else if(this.tableAdvice.length > 0){
1543
-        let num = 0
1544
-        if(this.tableAdvice.length > 0){
1545
-          this.tableAdvice.map(item => {
1546
-            if(item.id > 0 && (item.created_time || item.start_time)){
1547
-              this.users.map(it => {
1548
-                if(it.id == item.advice_doctor){
1549
-                  if(it.user_type == 3){
1550
-                    num++
1551
-                    this.$message.closeAll()
1552
-                    this.$message.error('存在不是医生保存的医嘱')
1553
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1554
-                    if(it.user_type == 2){
1555
-                      num++
1556
-                      this.$message.closeAll()
1557
-                      this.$message.error('存在不是护士执行的医嘱')
1558
-                    }
1559
-                  }else if(it.id == item.checker && item.checker > 0){
1560
-                    if(it.user_type == 2){
1561
-                      num++
1562
-                      this.$message.closeAll()
1563
-                      this.$message.error('存在不是护士核对的医嘱')
1564
-                    }
1565
-                  }
1566
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1567
-                  if(it.user_type == 2){
1568
-                    num++
1569
-                    this.$message.closeAll()
1570
-                    this.$message.error('存在不是护士执行的医嘱')
1571
-                  }
1572
-                }else if(it.id == item.checker && item.checker > 0){
1573
-                  if(it.user_type == 2){
1574
-                    num++
1575
-                    this.$message.closeAll()
1576
-                    this.$message.error('存在不是护士核对的医嘱')
1577
-                  }
1578
-                }
1579
-              })
1580
-            }
1581
-        })
1582
-        }
1426
+        const obj='入科方式'
1427
+        checkdata.push(obj)
1428
+      } if(this.receiverTreatmentAccess.consciousness == 0){
1429
+        const obj0='意识'
1430
+        checkdata.push(obj0)
1431
+      } if(this.predialysis.is_hemorrhage == 0){
1432
+        const obj1='出血'
1433
+        checkdata.push(obj1)
1434
+      } if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
1435
+        const obj2='出血选项'
1436
+        checkdata.push(obj2)
1437
+      } if(this.prescription.body_fluid == 0 || this.predialysis.humor_excessive_symptom == ""){
1438
+        const obj3='体液过多症状'
1439
+        checkdata.push(obj3)
1440
+      } if(this.predialysis.special_medicine == 0){
1441
+        const obj4='透析前使用特殊药物'
1442
+        checkdata.push(obj4)
1443
+      } if(this.predialysis.blood_access_part_opera_name == ''){
1444
+        const obj5='通路类型'
1445
+        checkdata.push(obj5)
1446
+      } if(this.predialysis.puncture_way == ''){
1447
+        const obj6='穿刺方法'
1448
+        checkdata.push(obj6)
1449
+      } if(this.predialysis.catheter == ''){
1450
+        const obj7='导管'
1451
+        checkdata.push(obj7)
1452
+      } if(this.predialysis.internal_fistula == ''){
1453
+        const obj8='内瘘震颤'
1454
+        checkdata.push(obj8)
1455
+      } if(this.predialysis.internal_fistula_skin == ''){
1456
+        const obj9='内瘘皮肤情况'
1457
+        checkdata.push(obj9)
1458
+      } if(this.predialysis.venous_catheterization == 0){
1459
+        const obj10='中心静脉置管'
1460
+        checkdata.push(obj10)
1461
+      } if(this.predialysis.blood_access_part_id == ''){
1462
+        const obj11='血管通路位置'
1463
+        checkdata.push(obj11)
1464
+      } if(this.predialysis.thromubus_type == 0){
1465
+        const obj12='血栓'
1466
+        checkdata.push(obj12)
1467
+      } if(this.predialysis.thrombus_av == ''){
1468
+        const obj13='导管AV端'
1469
+        checkdata.push(obj13)
1470
+      } if(this.predialysis.thromubus_a == ''){
1471
+        const obj14='a端'
1472
+        checkdata.push(obj14)
1473
+      } if(this.predialysis.thromubus_v == ''){
1474
+        const obj15='v端'
1475
+        checkdata.push(obj15)
1476
+      } if(this.predialysis.temperature == ""){
1477
+        const obj16='透前体温'
1478
+        checkdata.push(obj16)
1479
+      } if(this.predialysis.pulse_frequency == ""){
1480
+        const obj17='透前脉搏'
1481
+        checkdata.push(obj17)
1482
+      } if(this.predialysis.breathing_rate == ""){
1483
+        const obj18='透前呼吸频率'
1484
+        checkdata.push(obj18)
1485
+      } if(this.predialysis.systolic_blood_pressure == 0){
1486
+        const obj19='收缩压'
1487
+        checkdata.push(obj19)
1488
+      } if(this.predialysis.diastolic_blood_pressure == 0){
1489
+        const obj20='舒张压'
1490
+        checkdata.push(obj20)
1491
+      } if(this.predialysis.weight_before == 0){
1492
+        const obj21='本次透前体重'
1493
+        checkdata.push(obj21)
1494
+      } if(this.predialysis.dry_weight == 0){
1495
+        const obj22='干体重'
1496
+        checkdata.push(obj22)
1497
+      } if(this.assessmentafter.weight_after == 0){
1498
+        const obj23='上次透后体重'
1499
+        checkdata.push(obj23)
1500
+      } if(this.afterdialysis.weight_after == 0){
1501
+        const obj24='本次透后体重'
1502
+        checkdata.push(obj24)
1503
+      } if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1504
+        const obj25='计划时间'
1505
+        checkdata.push(obj25)
1506
+      } if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1507
+        const obj26='机面治疗时间'
1508
+        checkdata.push(obj26)
1509
+      } if(this.prescription.target_ultrafiltration == 0){
1510
+        const obj27='预设超滤量'
1511
+        checkdata.push(obj27)
1512
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
1513
+        const obj28='机面超滤量'
1514
+        checkdata.push(obj28)
1515
+      } if(this.prescription.mode_id == ""){
1516
+        const obj29='治疗方式'
1517
+        checkdata.push(obj29)
1518
+      } if(this.prescription.dialyzer_perfusion_apparatus == ""){
1519
+        const obj30='透析器或灌流器'
1520
+        checkdata.push(obj30)
1521
+      } if(this.prescription.anticoagulant == 0){
1522
+        const obj31='抗凝方式'
1523
+        checkdata.push(obj31)
1524
+      } if(this.prescription.dialysate_formulation_name == ""){
1525
+        const obj32='透析液配方'
1526
+        checkdata.push(obj32)
1527
+      } if(this.afterdialysis.return_blood == 0){
1528
+        const obj33='回血'
1529
+        checkdata.push(obj33)
1530
+      } if(this.afterdialysis.rehydration_volume == 0){
1531
+        const obj34='补液量'
1532
+        checkdata.push(obj34)
1533
+      } if(this.afterdialysis.dialysis_during == 0){
1534
+        const obj35='透析中进食量'
1535
+        checkdata.push(obj35)
1536
+      } if(this.afterdialysis.stroke_volume == 0){
1537
+        const obj36='出量'
1538
+        checkdata.push(obj36)
1539
+      } if(this.prescription.prescription_doctor == 0){
1540
+        const obj37='主管医生'
1541
+        checkdata.push(obj37)
1542
+      } if( this.dialysisOrder ==null || this.dialysisOrder.puncture_nurse == 0){
1543
+        const obj38='穿刺/开管护士'
1544
+        checkdata.push(obj38)
1545
+      } if(this.check.modifier == 0){
1546
+        const obj39='核对护士'
1547
+        checkdata.push(obj39)
1548
+      } if(this.afterdialysis.internal_fistula == ''){
1549
+        const obj40='透后内瘘震颤'
1550
+        checkdata.push(obj40)
1551
+      } if(this.afterdialysis.catheter == ''){
1552
+        const obj41='置管口'
1553
+        checkdata.push(obj41)
1554
+      } if(this.afterdialysis.blood_flow == 0){
1555
+        const obj42='血流量'
1556
+        checkdata.push(obj42)
1557
+      } if(this.afterdialysis.sealing_fluid_dispose == ""){
1558
+        const obj43='封管液配置'
1559
+        checkdata.push(obj43)
1560
+      } if(this.afterdialysis.cvc_a == 0){
1561
+        const obj44='A端'
1562
+        checkdata.push(obj44)
1563
+      } if(this.afterdialysis.cvc_v == 0){
1564
+        const obj45='V端'
1565
+        checkdata.push(obj45)
1566
+      } if(this.afterdialysis.catheter == ""){
1567
+        const obj46='打折和吸壁'
1568
+        checkdata.push(obj46)
1569
+      } if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('打折') == -1){
1570
+        const obj46='打折'
1571
+        checkdata.push(obj46)
1572
+      } if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('吸壁') == -1){
1573
+        const obj47='吸壁'
1574
+        checkdata.push(obj47)
1575
+      } if(this.afterdialysis.cruor == ""){
1576
+        const obj48='透析器堵塞'
1577
+        checkdata.push(obj48)
1578
+      } if(this.afterdialysis.arterial_tube == 0){
1579
+        const obj49='动脉管道'
1580
+        checkdata.push(obj49)
1581
+      } if(this.afterdialysis.intravenous_tube == 0){
1582
+        const obj50='静脉管道'
1583
+        checkdata.push(obj50)
1584
+      } if(this.afterdialysis.complication == ""){
1585
+        const obj51='透后并发症'
1586
+        checkdata.push(obj51)
1587
+      } if(this.summary.special_record == ""){
1588
+        const obj52='特殊记录'
1589
+        checkdata.push(obj52)
1590
+      } if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1591
+        const obj53='当班责任护士'
1592
+        checkdata.push(obj53)
1593
+      } if(this.dialysisOrder.finish_nurse == 0){
1594
+        const obj54='下机护士'
1595
+        checkdata.push(obj54)
1596
+      } if(this.monitors.length > 0){
1597
+        for(let i in this.monitors){
1598
+          if(this.monitors[i].temperature==''){
1599
+           const obj55= '监测第'+((i*1)+1)+'行体温'
1600
+            checkdata.push(obj55)
1601
+          }
1602
+          if(this.monitors[i].systolic_blood_pressure=='' || this.monitors[i].diastolic_blood_pressure==''){
1603
+            const obj56='监测第'+((i*1)+1)+'行血压'
1604
+            checkdata.push(obj56)
1605
+          }
1606
+          if(this.monitors[i].pulse_frequency==''){
1607
+            const obj57='监测第'+((i*1)+1)+'行脉搏'
1608
+            checkdata.push(obj57)
1609
+          }
1610
+          if(this.monitors[i].breathing_rate==''){
1611
+            const obj58='监测第'+((i*1)+1)+'行呼吸'
1612
+            checkdata.push(obj58)
1613
+          }
1614
+          if(this.monitors[i].arterial_pressure==''){
1615
+            const obj59='监测第'+((i*1)+1)+'行动脉压'
1616
+            checkdata.push(obj59)
1617
+          }
1618
+          if(this.monitors[i].venous_pressure==''){
1619
+            const obj60='监测第'+((i*1)+1)+'行静脉压'
1620
+            checkdata.push(obj60)
1621
+          }
1622
+          if(this.monitors[i].transmembrane_pressure==''){
1623
+            const obj61='监测第'+((i*1)+1)+'行跨膜压'
1624
+            checkdata.push(obj61)
1625
+          }
1626
+          if(this.monitors[i].ultrafiltration_volume==''){
1627
+            const obj62='监测第'+((i*1)+1)+'行超滤量'
1628
+            checkdata.push(obj62)
1629
+          }if(this.monitors[i].sodium_concentration==''){
1630
+            const obj63='监测第'+((i*1)+1)+'行钠浓度'
1631
+            checkdata.push(obj63)
1632
+          }if(this.monitors[i].conductivity==''){
1633
+            const obj64='监测第'+((i*1)+1)+'行电导度'
1634
+            checkdata.push(obj64)
1635
+          }
1636
+          if(this.monitors[i].blood_flow_volume==''){
1637
+            const obj65='监测第'+((i*1)+1)+'行血流量'
1638
+            checkdata.push(obj65)
1639
+          }
1583 1640
 
1584
-        if(num == 0){
1585
-          this.$message.success('核对完成')
1641
+          if(this.monitors[i].dialysate_temperature==''){
1642
+            const obj66='监测第'+((i*1)+1)+'行液温'
1643
+            checkdata.push(obj66)
1644
+          }
1645
+          if(this.monitors[i].displacement_quantity==''){
1646
+            const obj67='监测第'+((i*1)+1)+'行置换量'
1647
+            checkdata.push(obj67)
1648
+          }
1586 1649
         }
1587
-      }else{
1588
-        this.$message.success('核对完成')
1589 1650
       }
1651
+      this.getcheckData(checkdata)
1590 1652
     },
1591 1653
     getComplication(complication){
1592 1654
       if(complication.indexOf(',') == -1){
@@ -2449,6 +2511,18 @@ export default {
2449 2511
           // checker: 0,
2450 2512
         }
2451 2513
       )
2514
+    },
2515
+    getcheckData(val){
2516
+      if(val.length >0){
2517
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
2518
+        this.$alert(message, '提示', {
2519
+          confirmButtonText: '确定',
2520
+          type: 'warning',
2521
+          dangerouslyUseHTMLString: true,
2522
+        });
2523
+      }else{
2524
+        this.$message.success('核对完成')
2525
+      }
2452 2526
     }
2453 2527
   },
2454 2528
   watch: {

+ 162 - 123
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySix.vue Zobrazit soubor

@@ -193,7 +193,7 @@
193 193
             <tr style="text-align:left">
194 194
               <td colspan="11" style="padding-left:5px">
195 195
                 血管通路:
196
-                <label-box :isChecked="predialysis.blood_access_part_opera_name == '内瘘' ? true : false" showValue="内瘘"></label-box>&nbsp;
196
+                <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘' ? true : false" showValue="内瘘"></label-box>&nbsp;
197 197
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期静脉导管') > -1 ? true : false" showValue="长期静脉导管"></label-box>&nbsp;
198 198
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="临时颈内静脉导管"></label-box>&nbsp;
199 199
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="临时股静脉导管"></label-box>&nbsp;
@@ -1256,137 +1256,163 @@ export default {
1256 1256
   },
1257 1257
   methods: {
1258 1258
     checkData(){
1259
+      var checkdata=[]
1259 1260
       if(this.predialysis.temperature == ""){
1260
-        this.$message.error('透前体温未填')
1261
-      }else if(this.predialysis.pulse_frequency == ""){
1262
-        this.$message.error('透前脉搏未填')
1263
-      }else if(this.predialysis.breathing_rate == ""){
1264
-        this.$message.error('透前呼吸频率未填')
1265
-      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1266
-        this.$message.error('透前血压未填完整')
1267
-      }else if(this.predialysis.symptom_before_dialysis == ""){
1268
-        this.$message.error('上机前病情未填')
1269
-      }else if(this.prescription.mode_id == ""){
1270
-        this.$message.error('治疗方式未填')
1271
-      }else if(this.prescription.displace_liqui_part == 0 && this.prescription.mode_id == 2){
1272
-        this.$message.error('置换方式未填')
1273
-      }else if(this.prescription.displace_liqui_value == 0 && this.prescription.mode_id == 2){
1274
-        this.$message.error('置换量未填')
1275
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1276
-        this.$message.error('治疗时间未填')
1277
-      }else if(this.prescription.anticoagulant == 0){
1278
-        this.$message.error('治疗抗凝未填')
1279
-      }else if(this.prescription.target_ultrafiltration == 0){
1280
-        this.$message.error('处方脱水量未填')
1281
-      }else if(this.prescription.dialysate_flow == 0){
1282
-        this.$message.error('透析液流量未填')
1283
-      }else if(this.prescription.blood_flow_volume == 0){
1284
-        this.$message.error('血流量未填')
1285
-      }else if(this.prescription.prescription_doctor == 0){
1286
-        this.$message.error('医师签名未填')
1287
-      }else if(this.predialysis.machine_type == ""){
1288
-        this.$message.error('透析机未填')
1289
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
1290
-        this.$message.error('透析(滤)器未填')
1291
-      }else if(this.prescription.calcium == 0){
1292
-        this.$message.error('钙未填')
1293
-      }else if(this.prescription.sodium == 0){
1294
-        this.$message.error('钠未填')
1295
-      }else if(this.prescription.bicarbonate == 0){
1296
-        this.$message.error('碳酸氢根未填')
1297
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
1298
-        this.$message.error('血管通路未填')
1299
-      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1300
-        this.$message.error('穿刺者未填')
1301
-      }else if(this.predialysis.weight_before == 0){
1302
-        this.$message.error('透前体重未填')
1303
-      }else if(this.predialysis.dry_weight == 0){
1304
-        this.$message.error('干体重未填')
1305
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1306
-        this.$message.error('实际脱水量未填')
1307
-      }else if(this.afterdialysis.weight_after == 0){
1308
-        this.$message.error('透后体重未填')
1309
-      }else if(this.afterdialysis.cruor == ""){
1310
-        this.$message.error('透析器凝血未填')
1311
-      }else if(this.afterdialysis.internal_fistula == ''){
1312
-        this.$message.error('透后内瘘未填')
1313
-      }else if(this.afterdialysis.catheter == ''){
1314
-        this.$message.error('透后导管未填')
1315
-      }else if(this.summary.dialysis_summary == ""){
1316
-        this.$message.error('治疗小结未填')
1317
-      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1318
-        this.$message.error('护士签名未填')
1319
-      }else if (this.dialysisOrder == null && this.check.creater == 0) {
1320
-        this.$message.error('核对护士未填')
1261
+        const obj='透前体温'
1262
+        checkdata.push(obj)
1263
+      } if(this.predialysis.pulse_frequency == ""){
1264
+        const obj1='透前脉搏'
1265
+        checkdata.push(obj1)
1266
+      } if(this.predialysis.breathing_rate == ""){
1267
+        const obj2='透前呼吸频率'
1268
+        checkdata.push(obj2)
1269
+      } if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1270
+        const obj3='透前血压'
1271
+        checkdata.push(obj3)
1272
+      } if(this.predialysis.symptom_before_dialysis == ""){
1273
+        const obj4='上机前病情'
1274
+        checkdata.push(obj4)
1275
+      } if(this.prescription.mode_id == ""){
1276
+        const obj5='治疗方式'
1277
+        checkdata.push(obj5)
1278
+      } if(this.prescription.displace_liqui_part == 0 && this.prescription.mode_id == 2){
1279
+        const obj6='置换方式'
1280
+        checkdata.push(obj6)
1281
+      } if(this.prescription.displace_liqui_value == 0 && this.prescription.mode_id == 2){
1282
+        const obj7='置换量'
1283
+        checkdata.push(obj7)
1284
+      } if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1285
+        const obj8='治疗时间'
1286
+        checkdata.push(obj8)
1287
+      } if(this.prescription.anticoagulant == 0){
1288
+        const obj9='治疗抗凝'
1289
+        checkdata.push(obj9)
1290
+      } if(this.prescription.target_ultrafiltration == 0){
1291
+        const obj10='处方脱水量'
1292
+        checkdata.push(obj10)
1293
+      } if(this.prescription.dialysate_flow == 0){
1294
+        const obj11='透析液流量'
1295
+        checkdata.push(obj11)
1296
+      } if(this.prescription.blood_flow_volume == 0){
1297
+        const obj12='血流量'
1298
+        checkdata.push(obj12)
1299
+      } if(this.prescription.prescription_doctor == 0){
1300
+        const obj13='医师签名'
1301
+        checkdata.push(obj13)
1302
+      } if(this.predialysis.machine_type == ""){
1303
+        const obj14='透析机'
1304
+        checkdata.push(obj14)
1305
+      } if(this.prescription.dialyzer_perfusion_apparatus == ""){
1306
+        const obj15='透析(滤)器'
1307
+        checkdata.push(obj15)
1308
+      } if(this.prescription.calcium == 0){
1309
+        const obj16='钙'
1310
+        checkdata.push(obj16)
1311
+      } if(this.prescription.sodium == 0){
1312
+        const obj17='钠'
1313
+        checkdata.push(obj17)
1314
+      } if(this.prescription.bicarbonate == 0){
1315
+        const obj18='碳酸氢根'
1316
+        checkdata.push(obj18)
1317
+      } if(this.predialysis.blood_access_part_opera_name == ''){
1318
+        const obj19='血管通路'
1319
+        checkdata.push(obj19)
1320
+      } if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1321
+        const obj20='穿刺者'
1322
+        checkdata.push(obj20)
1323
+      } if(this.predialysis.weight_before == 0){
1324
+        const obj21='透前体重'
1325
+        checkdata.push(obj21)
1326
+      } if(this.predialysis.dry_weight == 0){
1327
+        const obj22='干体重'
1328
+        checkdata.push(obj22)
1329
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
1330
+        const obj23='实际脱水量'
1331
+        checkdata.push(obj23)
1332
+      } if(this.afterdialysis.weight_after == 0){
1333
+        const obj24='透后体重'
1334
+        checkdata.push(obj24)
1335
+      } if(this.afterdialysis.cruor == ""){
1336
+        const obj25='透析器凝血'
1337
+        checkdata.push(obj25)
1338
+      } if(this.afterdialysis.internal_fistula == ''){
1339
+        const obj26='透后内瘘'
1340
+        checkdata.push(obj26)
1341
+      } if(this.afterdialysis.catheter == ''){
1342
+        const obj27='透后导管'
1343
+        checkdata.push(obj27)
1344
+      } if(this.summary.dialysis_summary == ""){
1345
+        const obj28='治疗小结'
1346
+        checkdata.push(obj28)
1347
+      } if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1348
+        const obj29='护士签名'
1349
+        checkdata.push(obj29)
1350
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
1351
+        const obj30='核对护士'
1352
+        checkdata.push(obj30)
1321 1353
       }else if (this.dialysisOrder != null && this.check.creater == 0) {
1322
-        this.$message.error('核对护士未填')
1354
+        const obj30='核对护士'
1355
+        checkdata.push(obj30)
1323 1356
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1324
-        this.$message.error('核对护士未填')
1357
+        const obj30='核对护士'
1358
+        checkdata.push(obj30)
1325 1359
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1326
-        this.$message.error('核对护士未填')
1327
-      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1328
-        let num = 0
1360
+        const obj30='核对护士'
1361
+        checkdata.push(obj30)
1362
+      } 
1329 1363
         if(this.monitors.length > 0){
1330
-          this.monitors.map(item => {
1331
-            if(item.id > 0 && item.operate_time){
1332
-              this.users.map(it => {
1333
-                if(it.id == item.monitoring_nurse){
1334
-                  if(it.user_type == 2){
1335
-                    num++
1336
-                    this.$message.closeAll()
1337
-                    this.$message.error('存在不是护士保存的监测')
1338
-                  }
1339
-                }
1340
-              })
1364
+          for(let i in this.monitors){
1365
+            if(this.monitors[i].venous_pressure==''){
1366
+              const obj31='监测第'+((i*1)+1)+'行静脉压'
1367
+              checkdata.push(obj31)
1341 1368
             }
1342
-          })
1369
+            if(this.monitors[i].replacement_rate=='' && this.prescription.mode_id==2){
1370
+              const obj32='监测第'+((i*1)+1)+'行置换率'
1371
+              checkdata.push(obj32)
1372
+            }
1373
+
1374
+            if(this.monitors[i].ultrafiltration_rate==''){
1375
+              const obj33='监测第'+((i*1)+1)+'行超滤率'
1376
+              checkdata.push(obj33)
1377
+            }
1378
+            if(this.monitors[i].blood_flow_volume==''){
1379
+              const obj34='监测第'+((i*1)+1)+'行血流量'
1380
+              checkdata.push(obj34)
1381
+            }
1382
+            if(this.monitors[i].ultrafiltration_volume==''){
1383
+              const obj35='监测第'+((i*1)+1)+'行脱水量'
1384
+              checkdata.push(obj35)
1385
+            }
1386
+            if(this.monitors[i].temperature==''){
1387
+            const obj36= '监测第'+((i*1)+1)+'行T'
1388
+              checkdata.push(obj36)
1389
+            }
1390
+            if(this.monitors[i].systolic_blood_pressure=='' || this.monitors[i].diastolic_blood_pressure==''){
1391
+              const obj37='监测第'+((i*1)+1)+'行Bp'
1392
+              checkdata.push(obj37)
1393
+            }
1394
+            if(this.monitors[i].pulse_frequency==''){
1395
+              const obj38='监测第'+((i*1)+1)+'行P'
1396
+              checkdata.push(obj38)
1397
+            }
1398
+            if(this.monitors[i].breathing_rate==''){
1399
+              const obj39='监测第'+((i*1)+1)+'行R'
1400
+              checkdata.push(obj39)
1401
+            }
1402
+          }
1343 1403
         }
1344 1404
         if(this.tableAdvice.length > 0){
1345
-          this.tableAdvice.map(item => {
1405
+          this.tableAdvice.map((item) =>{
1346 1406
             if(item.id > 0 && (item.created_time || item.start_time)){
1347
-              this.users.map(it => {
1348
-                if(it.id == item.advice_doctor){
1349
-                  if(it.user_type == 3){
1350
-                    num++
1351
-                    this.$message.closeAll()
1352
-                    this.$message.error('存在不是医生保存的医嘱')
1353
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1354
-                    if(it.user_type == 2){
1355
-                      num++
1356
-                      this.$message.closeAll()
1357
-                      this.$message.error('存在不是护士执行的医嘱')
1358
-                    }
1359
-                  }else if(it.id == item.checker && item.checker > 0){
1360
-                    if(it.user_type == 2){
1361
-                      num++
1362
-                      this.$message.closeAll()
1363
-                      this.$message.error('存在不是护士核对的医嘱')
1364
-                    }
1365
-                  }
1366
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1367
-                  if(it.user_type == 2){
1368
-                    num++
1369
-                    this.$message.closeAll()
1370
-                    this.$message.error('存在不是护士执行的医嘱')
1371
-                  }
1372
-                }else if(it.id == item.checker && item.checker > 0){
1373
-                  if(it.user_type == 2){
1374
-                    num++
1375
-                    this.$message.closeAll()
1376
-                    this.$message.error('存在不是护士核对的医嘱')
1377
-                  }
1378
-                }
1379
-              })
1407
+              if(item.execution_staff ==0 || item.advice_doctor==0){
1408
+                const obj40 = '执行人员,核对人员,医生签名'
1409
+                checkdata.push(obj40)
1410
+              }
1380 1411
             }
1381
-        })
1382
-        }
1383
-        
1384
-        if(num == 0){
1385
-          this.$message.success('核对完成')
1412
+          })
1386 1413
         }
1387
-      }else{
1388
-        this.$message.success('核对完成')
1389
-      }
1414
+      
1415
+      this.getcheckData(checkdata)
1390 1416
     },
1391 1417
     getNewAge(UUserCard) {
1392 1418
       if (UUserCard != null && UUserCard != '') {
@@ -1525,7 +1551,7 @@ export default {
1525 1551
           if (patientInfo.gender === 2) {
1526 1552
             patientInfo.gender = "女";
1527 1553
           }
1528
-          // console.log("patientInfo", patientInfo);
1554
+          console.log("response.data.data", response.data.data);
1529 1555
           this.patientInfo = patientInfo;
1530 1556
           this.patientInfo.birth = uParseTime(
1531 1557
             this.patientInfo.birthday,
@@ -2015,7 +2041,7 @@ export default {
2015 2041
       if (id in this.bloodAccessParOpera) {
2016 2042
         return this.bloodAccessParOpera[id].name;
2017 2043
       }
2018
-      return "";
2044
+      return ''
2019 2045
     },
2020 2046
     dialysateFormulationName(id) {
2021 2047
       if (id in this.dialysateFormulationOptions) {
@@ -2060,6 +2086,18 @@ export default {
2060 2086
           // checker: 0,
2061 2087
         }
2062 2088
       );
2089
+    },
2090
+    getcheckData(val){
2091
+      if(val.length >0){
2092
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
2093
+        this.$alert(message, '提示', {
2094
+          confirmButtonText: '确定',
2095
+          type: 'warning',
2096
+          dangerouslyUseHTMLString: true,
2097
+        });
2098
+      }else{
2099
+        this.$message.success('核对完成')
2100
+      }
2063 2101
     }
2064 2102
   },
2065 2103
   watch: {
@@ -2112,6 +2150,7 @@ export default {
2112 2150
       "hemodialysis",
2113 2151
       "vascular_access_desc"
2114 2152
     );
2153
+
2115 2154
     for (var key in bloodAccessParOpera) {
2116 2155
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2117 2156
         bloodAccessParOpera[key];

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue Zobrazit soubor

@@ -646,7 +646,7 @@
646 646
                                   monitor.operate_time ==
647 647
                                     dialysisOrder.start_time)&&(org_id!=10414) && (org_id!=10683)
648 648
                                 "
649
-                                >【开始透析】 <span v-if="org_id ==10598">引血100ml/min</span>
649
+                                > <span v-if="org_id ==10598">引血100ml/min</span>
650 650
                                 </template>
651 651
 
652 652
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
@@ -1048,7 +1048,7 @@
1048 1048
                       kg
1049 1049
                     </div>
1050 1050
 
1051
-                    <div class="inline_block" style="flex: 1">
1051
+                    <!-- <div class="inline_block" style="flex: 1">
1052 1052
                       透析中入量(g):
1053 1053
                       <div class="under_line"
1054 1054
                         style="width: 70px; text-align: center"
@@ -1063,7 +1063,7 @@
1063 1063
                       </div>
1064 1064
 
1065 1065
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
1066
-                    </div>
1066
+                    </div> -->
1067 1067
 
1068 1068
                     <div class="inline_block" style="flex: 1">
1069 1069
                       实际超滤量:
@@ -2196,14 +2196,14 @@ export default {
2196 2196
           if (Object.keys(monitor).length > 0 && index > 1) {
2197 2197
             if ((this.dialysisOrder &&monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)) {
2198 2198
               if(this.org_id!=10683){
2199
-                this.monitors[index].end = "【结束透析】";
2199
+                this.monitors[index].end = "";
2200 2200
               }
2201 2201
 
2202 2202
               tempmonitorflag = false;
2203 2203
             }
2204 2204
             if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
2205 2205
               if(this.org_id!=10683){
2206
-                this.monitors[index].end = "【结束透析】";
2206
+                this.monitors[index].end = "";
2207 2207
               }
2208 2208
             }
2209 2209
           }

Diff nebyl zobrazen, protože je příliš veliký
+ 1624 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue


+ 10 - 1
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue Zobrazit soubor

@@ -243,7 +243,16 @@
243 243
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('无绦纶套') != -1 ? true : false"
244 244
                   showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
245 245
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') != -1 ? true : false"
246
-                  showValue="人造血管"></label-box>
246
+                  showValue="人造血管"></label-box>&nbsp;
247
+                其他:
248
+                <div style="display: inline-block;" 
249
+                  v-if="predialysis.blood_access_part_opera_name.indexOf('内瘘') == -1 &&
250
+                  predialysis.blood_access_part_opera_name.indexOf('无绦纶套') == -1 &&
251
+                  predialysis.blood_access_part_opera_name.indexOf('带隧道带绦纶套') == -1 &&
252
+                  predialysis.blood_access_part_opera_name.indexOf('人造血管') == -1"
253
+                >
254
+                  {{ predialysis.blood_access_part_opera_name }}
255
+                </div>
247 256
               </div>&nbsp;&nbsp;
248 257
               <div style="display: inline-block;line-height: 30px;">
249 258
                 穿刺者:

+ 1 - 0
src/xt_pages/hospitalStation/recordTemplate/printOne.vue Zobrazit soubor

@@ -15,6 +15,7 @@
15 15
               <span v-if="patient.marital_status == 1">未婚</span>
16 16
               <span v-if="patient.marital_status == 2">已婚</span>
17 17
               <span v-if="patient.marital_status == 3">离异</span>
18
+              <span v-if="patient.marital_status == 4">丧偶</span>
18 19
             </div>
19 20
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20 21
         </div>

+ 370 - 0
src/xt_pages/outpatientCharges/listTemplate/batch_listPrint.vue Zobrazit soubor

@@ -0,0 +1,370 @@
1
+<template>
2
+  <div >
3
+    
4
+    <div class="position" >
5
+      <div style="text-align: right;flex: 1;">
6
+        <el-button type='primary' @click="printThisPage">打印</el-button>
7
+      </div>
8
+    </div>
9
+    <div class="app-container">
10
+      <div  id="list-print">
11
+        <div style="page-break-after: always;margin-bottom: 20px;" v-for="(item,index) in list_arr" :key="index">
12
+          <div class="listTitle">{{$store.getters.xt_user.org.org_name}}费用清单</div>
13
+          <div class="listInfo">
14
+            <div>患者姓名:{{item.patient.name}}</div>
15
+            <div>性别:{{item.patient.gender == 1 ? '男': '女'}}</div>
16
+            <div>身份证号:{{item.patient.id_card_no}}</div>
17
+            <div>年龄:{{item.patient.age }}  岁</div>
18
+            <div v-if="org_id!=10489">开方日期:{{getTimes(item.order.settle_accounts_date)}}</div>
19
+          </div>
20
+          <div class="listInfo">
21
+            <div>结算类型:{{item.order.is_medicine_insurance == 1 ? "医保" : "自费"}}</div>
22
+            <div>就诊流水号:{{ item.order.mdtrt_id }}</div>
23
+            <div>透析号:{{ item.patient.dialysis_no }}</div>
24
+            <div v-if="org_id ==10653 ">总金额:{{ item.order.medfee_sumamt }}</div>
25
+            <div v-if="org_id ==10653 ">收费日期:{{getTimes(item.order.ctime)}}</div>
26
+            <div v-if="org_id !=10653">发票号:{{item.order.fa_piao_number}}</div>
27
+          </div>
28
+          <div class="listInfo">
29
+            <div v-if="org_id !=10653">总金额:{{ item.order.medfee_sumamt }}</div>
30
+            <div v-if="org_id !=10653">个人支付金额:{{ item.order.psn_cash_pay }}</div>
31
+            <div v-if="org_id !=10653">基金支付金额:{{ item.order.fund_pay_sumamt }}</div>
32
+            <div v-if="org_id !=10653">收费日期:{{getTimes(item.order.ctime)}}</div>
33
+          </div>
34
+          <table class="listTable" style="text-align: center;">
35
+            <tr style="border-bottom: 1px solid black;">
36
+              <td style="width:12%" v-if="org_id==10489">开方日期</td>
37
+              <td style="width:20%" v-if="org_id !=10653 && org_id !=0">医保编码</td>
38
+              <td style="width:20%">项目名称</td>
39
+              <td style="width:12%">规格</td>
40
+              <td style="width:5%">数量</td>
41
+              <td style="width:5%">单位</td>
42
+              <td style="width:7%">单价(元)</td>
43
+              <td style="width:7%">金额(元)</td>
44
+              <td style="width:8%" v-if="org_id !=10653 && org_id !=0">自付比例</td>
45
+            </tr>
46
+            <tr v-for="(ite,inde) in item.lists" style="line-height: 30px;">
47
+                <td style="width:12%" v-if="org_id==10489">
48
+                  <span v-if="ite.code!=undefined">{{getTimes(ite.record_date) }}</span>
49
+                </td>
50
+                <td style="width:20%" v-if="org_id !=10653 && org_id !=0">{{ite.code}}</td>
51
+                <td style="width:20%">{{ite.name}}</td>
52
+                <td style="width:12%">{{ite.spec}}</td>
53
+                <td style="width:5%" >
54
+                  <span v-if="ite.code!=undefined">{{ite.count}}</span>
55
+                </td>
56
+                <td style="width:5%" >{{ite.unit}}</td>
57
+                <td style="width:7%">
58
+                  <span v-if="ite.code!=undefined">{{(ite.price*1).toFixed(2)}}</span>
59
+                </td>
60
+                <td style="width:7%">{{(ite.price * ite.count).toFixed(2)}}</td>
61
+                <td style="width:8%" v-if="org_id !=10653 ">
62
+                  <div v-if="ite.code!=undefined">
63
+                    {{(ite.selfpay_prop)*100}}
64
+                    <span v-if="ite.selfpay_prop !=''">%</span>
65
+                  </div>
66
+                  
67
+                </td>
68
+            </tr>
69
+          </table>
70
+          <div style="border-top: 1px solid black;">
71
+            <div style="text-align: right;">
72
+              合计金额:{{item.order.medfee_sumamt}}
73
+            </div>
74
+          </div>
75
+        </div>
76
+      </div>
77
+    </div>
78
+  </div>
79
+</template>
80
+
81
+<script>
82
+import { uParseTime } from '@/utils/tools'
83
+import { list_batch } from '@/api/his/his'
84
+import print from "print-js";
85
+export default {
86
+  // props: {
87
+  //   list: {
88
+  //     type: Array,
89
+  //     default: function () {
90
+  //       return [];
91
+  //     }
92
+  //   },
93
+  //   patient: {
94
+  //     type: Object,
95
+  //     default: function () {
96
+  //       return {};
97
+  //     }
98
+  //   }, order: {
99
+  //     type: Object,
100
+  //     default: function () {
101
+  //       return {};
102
+  //     }
103
+  //   }, admin: {
104
+  //     type: Object,
105
+  //     default: function () {
106
+  //       return {};
107
+  //     }
108
+  //   },
109
+  // },
110
+  data(){
111
+      return{
112
+          page:1,
113
+          pageArr:[],
114
+          org_id:'',
115
+          list:[],
116
+          list_id:'',
117
+          list_arr:[],
118
+      }
119
+  },
120
+  // // mounted(){
121
+  // //     this.getPage()
122
+  // // },
123
+  methods:{
124
+    getMedicineInsuranceKind(type){
125
+      switch (type) {
126
+        case "01":
127
+          return '甲类';
128
+        case "02":
129
+          return '乙类';
130
+        case "03":
131
+          return '自费';
132
+          break;
133
+      }
134
+
135
+    },
136
+    getNowTime: function () {
137
+      let dateTime
138
+      let yy = new Date().getFullYear()
139
+      let mm = new Date().getMonth() + 1
140
+      let dd = new Date().getDate()
141
+      let hh = new Date().getHours()
142
+      let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
143
+        :
144
+        new Date().getMinutes()
145
+      let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
146
+        :
147
+        new Date().getSeconds()
148
+      dateTime = yy + '-' + mm + '-' + dd
149
+      return dateTime
150
+    },
151
+    getTimes(time) {
152
+      return uParseTime(time, '{y}-{m}-{d}')
153
+    },
154
+    getPage(){
155
+
156
+      if(this.list.length <= 17){
157
+          this.page = 1
158
+          this.pageArr.push(this.list.length)
159
+      }else if(this.list.length > 17){
160
+          this.page = parseInt(this.list.length / 17)
161
+          let num = this.list.length % 17
162
+          for (var i=0;i<this.page;i++){
163
+              this.pageArr.push(17)
164
+          }
165
+          if(num != 0){
166
+              this.pageArr.push(num)
167
+          }
168
+      }
169
+      console.log('this.pageArr',this.list);
170
+    },
171
+    getlist(){
172
+      list_batch(this.list_id).then(res =>{
173
+        console.log('res',res);
174
+        this.list_arr = res.data.data.orders
175
+        for(let x in this.list_arr){
176
+          this.list_arr[x]['lists']=[]
177
+          for (let i = 0; i < this.list_arr[x].order_info.length; i++) {
178
+          var infos = this.list_arr[x].order_info[i]
179
+          let obj = {
180
+            med_chrgitm_type: this.getType(infos.med_chrgitm_type),
181
+            price: infos.pric.toFixed(4),
182
+            count: infos.cnt,
183
+            selfpay_prop:infos.selfpay_prop,
184
+          }
185
+          if (infos.advice && infos.advice.id == 0 && infos.project && infos.project.id > 0) {
186
+            obj['p_time'] = this.getTimes(infos.project.prescription.ctime)
187
+            obj['feedetl_sn'] = infos.feedetl_sn
188
+            obj['type'] = infos.chrgitm_lv
189
+
190
+            if(infos.project.type == 2){
191
+              obj['name'] = infos.project.project.project_name
192
+              obj['code'] = infos.project.project.medical_code
193
+              obj['spec'] = ''
194
+              obj['unit'] =  infos.project.project.unit
195
+              obj['is_total']= 0
196
+              obj['record_date'] = infos.project.record_date
197
+
198
+            }else if (infos.project.type == 3){
199
+              obj['name'] = infos.project.good_info.good_name
200
+              obj['spec'] = ""
201
+              obj['code'] = infos.project.good_info.medical_insurance_number
202
+              obj['unit'] = infos.project.good_info.packing_unit
203
+              obj['is_total']= 0
204
+              obj['record_date'] = infos.project.record_date
205
+            }
206
+
207
+          }
208
+          if (infos.advice && infos.advice.id > 0 && infos.project && infos.project.id == 0) {
209
+            obj['type'] = infos.chrgitm_lv
210
+            obj['p_time'] = this.getTimes(infos.advice.prescription.ctime)
211
+            obj['name'] = infos.advice.drug.drug_name
212
+            obj['code'] = infos.advice.drug.medical_insurance_number
213
+            obj['unit'] = infos.advice.prescribing_number_unit
214
+            obj['feedetl_sn'] =  infos.feedetl_sn
215
+            obj['spec'] =  infos.advice.drug.dose +  infos.advice.drug.dose_unit+"*" + infos.advice.drug.min_number +  infos.advice.drug.min_unit+"/"+infos.advice.drug.max_unit
216
+            obj['is_total']= 0
217
+            obj['record_date'] = infos.advice.record_date
218
+            // v-if="scope.row.min_unit != scope.row.dose_unit">{{ scope.row.dose }}{{ scope.row.dose_unit }}&nbsp;* &nbsp;</span>{{ scope.row.min_number }}{{ scope.row.min_unit }}/{{ scope.row.max_unit }}
219
+
220
+
221
+          }
222
+          this.list_arr[x].lists.push(obj)
223
+          this.list_arr[x].lists.sort(function(a, b) {
224
+            return b.p_time < a.p_time ? 1 : -1
225
+          })
226
+        }
227
+
228
+          let newObj = {}
229
+          newObj['name'] = "合计"
230
+          newObj['count']= 1
231
+          newObj['price']= this.list_arr[x].order.medfee_sumamt.toFixed(2)
232
+          newObj['is_total']= 1
233
+          this.list_arr[x].lists.push(newObj)
234
+        }
235
+        
236
+      })
237
+    },
238
+    getType(med_chrgitm_type) {
239
+      switch (med_chrgitm_type) {
240
+        case '01':
241
+          return '床位费'
242
+          break
243
+        case '02':
244
+          return '诊察费'
245
+
246
+          break
247
+        case '03':
248
+          return '检查费'
249
+
250
+          break
251
+        case '04':
252
+          return '化验费'
253
+          break
254
+        case '05':
255
+          return '治疗费'
256
+
257
+          break
258
+        case '06':
259
+          return '手术费'
260
+
261
+          break
262
+        case '07':
263
+          return '护理费'
264
+
265
+          break
266
+        case '08':
267
+          return '材料费'
268
+
269
+          break
270
+        case '09':
271
+          return '西药费'
272
+
273
+          break
274
+        case '10':
275
+          return '中药饮片费'
276
+
277
+          break
278
+        case '11':
279
+          return '中成药费'
280
+
281
+          break
282
+        case '12':
283
+          return '一般诊疗费'
284
+
285
+          break
286
+        case '13':
287
+          return '挂号费'
288
+          break
289
+        case '14':
290
+          return '其他费'
291
+          break
292
+        case '0':
293
+          return '其他费'
294
+          break
295
+
296
+      }
297
+    },
298
+    printThisPage() {
299
+          const style =
300
+            '@media print {.listTitle{font-size: 20px;text-align: center;font-weight: bold;margin-bottom: 10px;} .listInfo{display: flex;font-size: 14px;justify-content: space-around;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align: left;} .listTable tr td {padding: 0 5px;}}';
301
+          printJS({
302
+            printable: "list-print",
303
+            type: "html",
304
+            style: style,
305
+            scanStyles: false
306
+          });
307
+      },
308
+  },
309
+  created(){
310
+    this.list_id = this.$route.query.list_id
311
+    this.getlist()
312
+    this.org_id = this.$store.getters.xt_user.org_id
313
+  },
314
+  // watch:{
315
+  //     list: {
316
+  //         handler(newVal) {
317
+  //           // this.list = newVal
318
+  //             this.getPage()
319
+  //             // this.getlist()
320
+  //         },
321
+  //         deep: true
322
+  //     }
323
+  // }
324
+
325
+}
326
+
327
+
328
+</script>
329
+
330
+<style lang="scss" scoped>
331
+.list-print{
332
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
333
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
334
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
335
+  margin-bottom: 20px;
336
+  padding:20px 10px;
337
+}
338
+.listTitle{
339
+  font-size: 20px;
340
+  text-align: center;
341
+  font-weight: bold;
342
+  margin-bottom: 10px;
343
+}
344
+.listInfo{
345
+  display: flex;
346
+  font-size: 14px;
347
+  justify-content: space-around;
348
+  margin: 10px 0;
349
+}
350
+.listTable{
351
+  width: 100%;
352
+  text-align: center;
353
+  border-collapse: collapse;
354
+  line-height: 20px;
355
+  font-size: 14px;
356
+  border-color: #000;
357
+  text-align: left;
358
+}
359
+.listTable tr td {
360
+  padding: 0 5px;
361
+}
362
+.tableBottom{
363
+  font-size: 12px;
364
+  display: flex;
365
+  margin-top: 20px;
366
+}
367
+.tableBottomOne{
368
+  margin-right: 20px;
369
+}
370
+</style>

+ 16 - 4
src/xt_pages/outpatientCharges/summary.vue Zobrazit soubor

@@ -62,10 +62,10 @@
62 62
                 $store.getters.xt_user.org_id == 10610 || $store.getters.xt_user.org_id == 0"
63 63
             size="small" type="primary" @click="batch_print_settlte">批量打印结算单
64 64
           </el-button>
65
-
65
+          <el-button size="small" type="primary" @click="list_click">批量打印费用清单</el-button>
66 66
 
67 67
           <el-button
68
-            v-if="$store.getters.xt_user.org_id == 10644 || $store.getters.xt_user.org_id == 0"
68
+            v-if="$store.getters.xt_user.org_id == 10644"
69 69
             size="small" type="primary" @click="batch_print_settle_10644">批量打印结算单
70 70
           </el-button>
71 71
           <el-button size="small" type="primary" @click="export_detail"
@@ -78,7 +78,6 @@
78 78
                      type="primary" @click="export_detail_ten_two">报表下载3
79 79
           </el-button>
80 80
 
81
-
82 81
         </div>
83 82
       </div>
84 83
 
@@ -658,7 +657,7 @@
658 657
 
659 658
 <script>
660 659
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
661
-import { getDoctorList, getExportConsumeDetailList, getHisOrderList, Refund } from '@/api/his/his'
660
+import { getDoctorList, getExportConsumeDetailList, getHisOrderList, Refund,list_batch } from '@/api/his/his'
662 661
 import { ModifyFapiaoCode } from '@/api/his/his_tools'
663 662
 
664 663
 // import NewStatementPrint from './newStatementPrint'
@@ -4248,6 +4247,19 @@ export default {
4248 4247
       }
4249 4248
 
4250 4249
 
4250
+    },
4251
+    list_click(){
4252
+      console.log('selecting_schs',this.selecting_schs);
4253
+      var list_arr=[]
4254
+      for(let i in this.selecting_schs){
4255
+        list_arr.push(this.selecting_schs[i].id)
4256
+      }
4257
+      var list_id = list_arr.join(",")
4258
+      this.$router.push({path:'/listTemplate/batch_listPrint',query:{list_id:list_id}})
4259
+      // list_batch(list_id).then(res =>{
4260
+      //   console.log('res',res);
4261
+
4262
+      // })
4251 4263
     }
4252 4264
   },
4253 4265
 

+ 1 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue Zobrazit soubor

@@ -15,6 +15,7 @@
15 15
                   <span v-if="patient.marital_status == 1">未婚</span>
16 16
                   <span v-if="patient.marital_status == 2">已婚</span>
17 17
                   <span v-if="patient.marital_status == 3">离异</span>
18
+                  <span v-if="patient.marital_status == 4">丧偶</span>
18 19
                 </div>
19 20
                 <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20 21
                 <div>病历编号:{{patient.id?patient.id:''}}</div>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Zobrazit soubor

@@ -15,6 +15,7 @@
15 15
               <span v-if="patient.marital_status == 1">未婚</span>
16 16
               <span v-if="patient.marital_status == 2">已婚</span>
17 17
               <span v-if="patient.marital_status == 3">离异</span>
18
+              <span v-if="patient.marital_status == 4">丧偶</span>
18 19
             </div>
19 20
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20 21
         </div>

Diff nebyl zobrazen, protože je příliš veliký
+ 175 - 1153
src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue


+ 3 - 2
src/xt_pages/stock/drugs/drugNewQuery.vue Zobrazit soubor

@@ -14,8 +14,8 @@
14 14
                <PurchaseNewDrugQuery ref="mychildfive"></PurchaseNewDrugQuery>
15 15
             </el-tab-pane>
16 16
         
17
-            <!-- <el-tab-pane label="进销存查询" name="second">
18
-              <PurchaseDrugQuery ref="mychild"></PurchaseDrugQuery>
17
+            <!-- <el-tab-pane label="进销存查询2" name="second">
18
+               <PurchaseDrugQuery ref="mychild"></PurchaseDrugQuery>
19 19
             </el-tab-pane>  -->
20 20
 
21 21
             <el-tab-pane label="有效期查询" name="third">
@@ -73,6 +73,7 @@ export default {
73 73
       if(val.name =="five"){
74 74
        this.$refs.mychildfive.open()
75 75
       }
76
+     
76 77
     }
77 78
   },
78 79
   created(){

+ 26 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Zobrazit soubor

@@ -440,6 +440,10 @@
440 440
       @open="openDialog"
441 441
       :visible.sync="dialogVisible"
442 442
       width="40%">
443
+
444
+      <div style="margin-bottom: 10px;">
445
+        <span >追溯码个数:{{getTotal() }} 个</span>
446
+      </div>
443 447
       <span>
444 448
         <el-input
445 449
         
@@ -595,10 +599,30 @@ export default {
595 599
       dialogVisible:false,
596 600
       currentRow:{},
597 601
       currentIndex:0,
598
-      textarea:""
602
+      textarea:"",
603
+      textAreaList:[]
599 604
     };
600 605
   },
601 606
   methods: {
607
+    getTotal(){
608
+      if(this.textarea!=null){
609
+        var  textAreaList = this.textarea.split(",")
610
+        console.log("textArrleti",textAreaList)
611
+        var arr = []
612
+        if(textAreaList!=null && textAreaList.length>0){
613
+          for(let i=0;i<textAreaList.length;i++){
614
+            if(textAreaList[i]!=""){
615
+              arr.push(textAreaList[i])
616
+            }
617
+          }
618
+          return  arr.length
619
+        }else{
620
+          return ""
621
+        }
622
+      
623
+      }
624
+
625
+    },
602 626
     openDialog(){
603 627
       this.$nextTick(() => {
604 628
         this.$refs.inputRef.focus()
@@ -1257,6 +1281,7 @@ export default {
1257 1281
         this.textarea = textarea
1258 1282
 
1259 1283
       }
1284
+      this.getTotal()
1260 1285
    },
1261 1286
   },
1262 1287
 

+ 14 - 3
src/xt_pages/stock/drugs/inventoryPrint.vue Zobrazit soubor

@@ -19,10 +19,11 @@
19 19
                         <td align="center">批号</td>
20 20
                         <td style="width: 100px;" align="center">生产日期</td>
21 21
                         <td align="center">有效日期</td>
22
-                        <td align="center">生产企业</td>
22
+                        <td align="center" style="width: 100px;">生产企业</td>
23 23
                         <td align="center">国药准字</td>
24 24
                         <td align="center">单位</td>
25
-                        <td style="width:200px" align="center">库存量</td>
25
+                        <td style="width:100px" align="center">剩余库存</td>
26
+                        <td style="width: 100px;" align="center">盘点数量</td>
26 27
                     </tr>
27 28
                     <tr v-for="(item,index) in tableData" :key="index">
28 29
                         <td align="center">{{index+1}}</td>
@@ -34,7 +35,17 @@
34 35
                         <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35 36
                         <td align="center">{{item.number}}</td>
36 37
                         <td align="center">{{item.max_unit}}</td>
37
-                        <td align="center"></td>
38
+                        <td align="center">
39
+                          <span v-if="item.stock_max_number>0">
40
+                            {{ item.stock_max_number }}{{ item.max_unit }}
41
+                          </span>
42
+                           <span v-if="item.stock_min_number>0">
43
+                            {{ item.stock_min_number }}{{ item.min_unit }}
44
+                           </span>
45
+                        </td>
46
+                        <td align="center">
47
+
48
+                        </td>
38 49
                     </tr>
39 50
                 </table>
40 51
 

+ 3 - 1
src/xt_pages/stock/inventoryPrint.vue Zobrazit soubor

@@ -22,7 +22,8 @@
22 22
                         <td style="width: 100px;" align="center">生产企业</td>
23 23
                         <td align="center">国药准字</td>
24 24
                         <td align="center">单位</td>
25
-                        <td style="width:200px" align="center">库存量</td>
25
+                        <td style="width:100px" align="center">剩余库存</td>
26
+                        <td style="width:200px" align="center">盘点数量</td>
26 27
                     </tr>
27 28
                     <tr v-for="(item,index) in tableData" :key="index">
28 29
                         <td align="center">{{index+1}}</td>
@@ -34,6 +35,7 @@
34 35
                         <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35 36
                         <td align="center">{{item.remark}}</td>
36 37
                         <td align="center">{{item.packing_unit}}</td>
38
+                        <td align="center">{{ item.stock_count }}</td>
37 39
                         <td align="center"></td>
38 40
                     </tr>
39 41
                 </table>

+ 21 - 13
src/xt_pages/stock/query/purchaseNewStockQuery.vue Zobrazit soubor

@@ -292,12 +292,15 @@ export default {
292 292
                if(this.org_id ==10697){
293 293
                   list[i].stock_in_price = list[i].buy_price
294 294
                   list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
295
-               }else if(this.org_id == 0 || this.org_id == 10644 || this.org_id == 10752){
295
+               }else if(this.org_id ==0){
296
+                list[i].stock_in_price = list[i].buy_price
297
+                list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
298
+               }else if(this.org_id == 10644 || this.org_id == 10752){
296 299
                  list[i].stock_in_price = "/"
297
-                 console.log("val1",this.getAllStockInPrice(list[i].StWarehousingInfoTwo))
298
-                 console.log("val2",this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))
299
-                 console.log("val3",this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) )
300
-                 console.log("val4",this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
300
+                //  console.log("val1",this.getAllStockInPrice(list[i].StWarehousingInfoTwo))
301
+                //  console.log("val2",this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))
302
+                //  console.log("val3",this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) )
303
+                //  console.log("val4",this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
301 304
 
302 305
                 list[i].stockMoney = parseFloat(this.getAllStockInPrice(list[i].StWarehousingInfoTwo))  +parseFloat(this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))  - parseFloat(this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty))  - parseFloat(this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)) 
303 306
                 if(list[i].stockMoney>0){
@@ -317,7 +320,10 @@ export default {
317 320
               if(this.org_id ==10697){
318 321
                list[i].addStockMoney = list[i].buy_price 
319 322
                 list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
320
-              }else if(this.org_id == 0 || this.org_id == 10644 || this.org_id == 10752){
323
+              }else if(this.org_id == 0){
324
+                list[i].addStockMoney = list[i].buy_price 
325
+                list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
326
+              } else if(this.org_id == 10644 || this.org_id == 10752){
321 327
                 list[i].addStockMoney = "/"
322 328
                 list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit)
323 329
               } else{
@@ -330,7 +336,10 @@ export default {
330 336
               if(this.org_id == 10697){
331 337
                 list[i].stockOutprice = list[i].packing_price
332 338
                 list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
333
-              }else if(this.org_id == 0 || this.org_id == 10644 || this.org_id == 10752){
339
+              }else if(this.org_id == 0){
340
+                list[i].stockOutprice = list[i].packing_price
341
+                list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
342
+              }else if(this.org_id == 10644 || this.org_id == 10752){
334 343
                 list[i].stockOutprice = "/"
335 344
                 list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
336 345
                 if(list[i].saleOutMoney == "NaN"){
@@ -344,7 +353,7 @@ export default {
344 353
 
345 354
 
346 355
              
347
-              if(this.org_id == 10265){
356
+              if(this.org_id == 10265 || this.org_id == 0){
348 357
                 list[i].overStock = list[i].GoodEndFlowInfo.over_count
349 358
               }else{
350 359
                 if((list[i].stockIn + list[i].stockAdd - list[i].outStock)>0 ){
@@ -358,13 +367,12 @@ export default {
358 367
               if(this.org_id ==10697){
359 368
                 list[i].overPrice = list[i].packing_price
360 369
                 list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
361
-              }else if(this.org_id == 0 || this.org_id ==10644 || this.org_id == 10752){
370
+              }else if(this.org_id == 0){
371
+                list[i].overPrice = list[i].GoodEndFlowInfo.buy_price
372
+                list[i].overMoney = (list[i].GoodEndFlowInfo.buy_price*list[i].overStock).toFixed(2)
373
+              } else if(this.org_id ==10644 || this.org_id == 10752){
362 374
                 list[i].overPrice = "/"
363
-                // console.log("stockMoney-00000000000000",list[i].stockMoney)
364
-                // console.log("saleStockMoney-00000000000000",list[i].saleStockMoney)
365
-                // console.log("saleOutMoney-00000000000000",list[i].saleOutMoney)
366 375
                 list[i].overMoney = (parseFloat(list[i].stockMoney)  + parseFloat(list[i].saleStockMoney) - parseFloat(list[i].saleOutMoney)).toFixed(2)
367
-                // console.log("hahahha",list[i].overMoney)
368 376
               }else{
369 377
                 list[i].overPrice = "/"
370 378
                 list[i].overMoney = "/"

+ 1 - 0
src/xt_pages/stock/stockOutOrder.vue Zobrazit soubor

@@ -1217,6 +1217,7 @@ export default {
1217 1217
         storehouse_id: this.storehouse_id,
1218 1218
         way_type: this.way_type,
1219 1219
         check_type:this.check_type,
1220
+        keywords: this.searchKey,
1220 1221
       };
1221 1222
       this.warehouseOutDate = [];
1222 1223
       getWarehouseOutList(Params).then((response) => {

+ 2 - 0
src/xt_pages/upload/fast/basicInfo.vue Zobrazit soubor

@@ -169,6 +169,8 @@ export default {
169 169
                 this.form.marital_status = '已婚'
170 170
             }else if(this.form.marital_status == 3){
171 171
                 this.form.marital_status = '离异'
172
+            }else if(this.form.marital_status == 4){
173
+                this.form.marital_status = '丧偶'
172 174
             }else if(this.form.marital_status == 0){
173 175
                 this.form.marital_status = ''
174 176
             }

+ 1 - 1
src/xt_pages/user/components/PatientDetail.vue Zobrazit soubor

@@ -662,7 +662,7 @@
662 662
 
663 663
             <div v-show="!generic_info_fold">
664 664
               <el-col :span="8">
665
-                <el-form-item label="别名 : " prop="alias">
665
+                <el-form-item label="血型 : " prop="alias">
666 666
                   <el-input v-model="form.alias" disabled></el-input>
667 667
                 </el-form-item>
668 668
               </el-col>

+ 2 - 1
src/xt_pages/user/components/PatientForm.vue Zobrazit soubor

@@ -704,7 +704,7 @@
704 704
 
705 705
               <div v-show="!generic_info_fold">
706 706
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
707
-                  <el-form-item label="别名 : " prop="alias">
707
+                  <el-form-item label="血型 : " prop="alias">
708 708
                     <el-input v-model="form.alias"></el-input>
709 709
                   </el-form-item>
710 710
                 </el-col>
@@ -1593,6 +1593,7 @@ export default {
1593 1593
     // this.styleOptions = this.$store.getters.patient_types;
1594 1594
     // this.partitionOptions = this.$store.getters.partitions;
1595 1595
     this.maritalOptions = getDataConfig("patient", "marital_options");
1596
+    console.log("maritalOptians==============",this.maritalOptions)
1596 1597
     this.wayOptions = getDataConfig("patient", "reimbursement_ways");
1597 1598
     // this.typeOptions = this.$store.getters.blood_types;
1598 1599
     // this.rhOptions = this.$store.getters.rh;

+ 4 - 1
src/xt_pages/user/doctorAdvice.vue Zobrazit soubor

@@ -2096,6 +2096,7 @@ import { fetchPatient, PostRemind } from "@/api/patient";
2096 2096
 import { jsGetAge, uParseTime } from "@/utils/tools";
2097 2097
 import { getDataConfig } from "@/utils/data";
2098 2098
 import { getSelfMedicalList,getDrugDescByDrugName } from "@/api/drug/drug"
2099
+import patient from "../../router/modules/patient";
2099 2100
 let rowIndex = 1;
2100 2101
 const rowKey = 0;
2101 2102
 
@@ -2921,6 +2922,8 @@ export default {
2921 2922
     },
2922 2923
     DeleteGroupAdvice(groupno, row) {
2923 2924
       console.log("patinet_id =======",row)
2925
+      var patient_id = row.patient_id
2926
+      var advice_date = row.advice_date
2924 2927
       this.$confirm("确认删除这组医嘱?", "医嘱删除", {
2925 2928
         confirmButtonText: "确定",
2926 2929
         cancelButtonText: "取消",
@@ -2944,7 +2947,7 @@ export default {
2944 2947
             }
2945 2948
           }
2946 2949
 
2947
-          DeleteNewGroupAdvice(groupno, mode).then(response => {
2950
+          DeleteNewGroupAdvice(groupno, mode,patient_id,advice_date).then(response => {
2948 2951
             if (response.data.state == 0) {
2949 2952
               this.$message.error(response.data.msg)``;
2950 2953
               return false;

+ 8 - 11
src/xt_pages/user/inspection.vue Zobrazit soubor

@@ -154,15 +154,16 @@
154 154
                         <span v-if="parseFloat(scope.row.value) < parseFloat(getrange(scope.row.range_min)) ">
155 155
                           {{ scope.row.value }} <span style="color: blue;" v-if="scope.row.value>0">↓</span>
156 156
                         </span>
157
-                        <span v-if="parseFloat(getrange(scope.row.range_min))<= parseFloat( scope.row.value) && parseFloat(scope.row.value)<= parseFloat(getrange(scope.row.range_max)) ">
157
+                        <span v-else-if="parseFloat(getrange(scope.row.range_min))<= parseFloat( scope.row.value) && parseFloat(scope.row.value)<= parseFloat(getrange(scope.row.range_max)) ">
158 158
                           {{ scope.row.value }}
159 159
                         </span>
160
-                        <span v-if="parseFloat(scope.row.value) >parseFloat(getrange(scope.row.range_max)) ">
160
+                        <span v-else-if="parseFloat(scope.row.value) >parseFloat(getrange(scope.row.range_max)) ">
161 161
                           {{ scope.row.value }} <span style="color: red;" v-if="scope.row.value>0">↑</span>
162 162
                         </span>
163
-                        <span v-if ="scope.row.range_max ==''||scope.row.range_min ==''">
163
+                        <span v-else-if ="scope.row.range_max ==''||scope.row.range_min ==''">
164 164
                           {{ scope.row.value }}
165 165
                         </span>
166
+                        <span v-else>{{ scope.row.value }}</span>
166 167
                       </span>
167 168
                       <!-- <span v-if="scope.row.value =='阳性'" style="color:red">{{ scope.row.value }}</span> -->
168 169
                       <!-- <span v-else>{{ scope.row.value }}</span> -->
@@ -1409,7 +1410,6 @@ export default {
1409 1410
                 this.is_open = true
1410 1411
               }else{
1411 1412
                 this.is_open = false
1412
-
1413 1413
               }
1414 1414
             }else{
1415 1415
               this.is_open = false
@@ -1458,7 +1458,7 @@ export default {
1458 1458
                   }else{
1459 1459
                     console.log('执行1');
1460 1460
 
1461
-                    if(this.org_id == 10702 || this.org_id == 0){
1461
+                    if(this.org_id == 10702){
1462 1462
                       if(item.project_name == '血常规'|| item.project_name == '透后肾功能' ||
1463 1463
                           item.project_name == '肝功能' || item.project_name == '电解质' || item.project_name == '透前肾功能' ||
1464 1464
                           item.project_name == '传染病检查'
@@ -1500,7 +1500,7 @@ export default {
1500 1500
               // item["inspect_type"] = inspectionsMap[items[index].id].inspect_type
1501 1501
               item.value_direction = ''
1502 1502
               if (item.range_type == 1) {
1503
-                console.log('执行5',parseFloat(item.value));
1503
+                console.log('执行5',item.value);
1504 1504
                 var value = parseFloat(item.value)
1505 1505
                 var range_min = parseFloat(item.range_min)
1506 1506
                 var range_max = parseFloat(item.range_max)
@@ -1519,12 +1519,9 @@ export default {
1519 1519
               // }
1520 1520
 
1521 1521
               console.log('fffff',this.items);
1522
-              if(item.value.indexOf("http") <0){
1523
-                this.isPic = true
1524
-              }
1522
+              if(item.value.indexOf("http") !=-1){
1525 1523
 
1526
-              if(this.org_id!=10503){
1527
-                this.isPic = false
1524
+                this.isPic = true
1528 1525
               }
1529 1526
 
1530 1527
               console.log("woowwoow",this.isPic)

+ 23 - 4
src/xt_pages/user/physiqueprinting.vue Zobrazit soubor

@@ -54,7 +54,7 @@
54 54
                 <div style="flex: 1;">
55 55
                   首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
56 56
                 </div>
57
-                <div style="flex: 1;">血型:{{ getBloodType(patient.blood_type) }}</div>
57
+                <div style="flex: 1;">血型:{{ patient.alias }}</div>
58 58
                 <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
59 59
               </div>
60 60
               <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
@@ -137,8 +137,15 @@
137 137
               {{index+1}}.<span>{{ item }}</span><br/>
138 138
             </div>
139 139
             <div style="text-align: right;margin-bottom: 10px;">
140
-              <span style="font-weight: bold;">病历书写者:</span>
141
-              {{getDoctorName(item.doctor_id)}}
140
+
141
+             <span style="font-weight: bold;">病历书写者:</span>
142
+              <span v-if="getUrl(item.doctor_id)!=''">
143
+                <img :src="getUrl(item.doctor_id)" style="height: 50px">
144
+              </span>
145
+              <span v-if="getUrl(item.doctor_id)==''">
146
+                {{getDoctorName(item.doctor_id)}}
147
+              </span>
148
+             
142 149
             </div>
143 150
           </div>
144 151
           <div style="float: right;">
@@ -219,7 +226,8 @@ export default {
219 226
       },
220 227
       diagnosis: [],
221 228
       treatment_plan_list:[],
222
-      org_id:0
229
+      org_id:0,
230
+      signatureList:[]
223 231
     }
224 232
   },
225 233
   components: {
@@ -230,9 +238,20 @@ export default {
230 238
       fetchAllDoctorAndNurse().then(response => {
231 239
         if (response.data.state == 1) {
232 240
           this.doctorOptions = response.data.data.doctors;
241
+          var signature = response.data.data.signature
242
+          this.signatureList = signature
233 243
         }
234 244
       });
235 245
     },
246
+    getUrl(creator){
247
+      var url = ""
248
+      for(let i=0;i<this.signatureList.length;i++){
249
+         if(creator == this.signatureList[i].admin_user_id){
250
+             url = this.signatureList[i].url
251
+         }
252
+      }
253
+      return url
254
+    },
236 255
     getDoctorName: function(doctor_id) {
237 256
       for (let index = 0; index < this.doctorOptions.length; index++) {
238 257
         const doctor = this.doctorOptions[index]

+ 2 - 2
src/xt_pages/workforce/components/tableWeeks.vue Zobrazit soubor

@@ -886,7 +886,7 @@
886 886
       },
887 887
       signPrint() {
888 888
 //
889
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340  || this.org_id == 10375 || this.org_id ==10517 || this.org_id ==0){
889
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340  || this.org_id == 10375 || this.org_id ==10517){
890 890
          var zone = this.zone
891 891
           console.log("zone23232",zone)
892 892
           var newArr = []
@@ -905,7 +905,7 @@
905 905
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1+"&ids="+this.ids
906 906
           })
907 907
         }
908
-        if(this.org_id != 9671 && this.org_id != 9675 && this.org_id != 10340  && this.org_id!=10375 && this.org_id!=10469 && this.org_id!=10517 && this.org_id!=0){
908
+        if(this.org_id != 9671 && this.org_id != 9675 && this.org_id != 10340  && this.org_id!=10375 && this.org_id!=10469 && this.org_id!=10517){
909 909
           var zone = this.zone
910 910
           console.log("zone23232",zone)
911 911
           var newArr = []

+ 31 - 1
src/xt_pages/workforce/remind_print_setting.vue Zobrazit soubor

@@ -125,6 +125,30 @@
125 125
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
126 126
                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
127 127
                    </span>
128
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 12">
129
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
130
+                   </span>
131
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 13">
132
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
133
+                   </span>
134
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 14">
135
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
136
+                   </span>
137
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 15">
138
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
139
+                   </span>
140
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 16">
141
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
142
+                   </span>
143
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 17">
144
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
145
+                   </span>
146
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 18">
147
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
148
+                   </span>
149
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 19">
150
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
151
+                   </span>
128 152
                 </div>
129 153
 
130 154
                 <div v-if="org_id==0 || org_id ==10460">
@@ -155,13 +179,18 @@
155 179
                
156 180
                 <div v-if="org_id!=10440 && org_id!=10600">打印时间:
157 181
                      {{getTime(main_collection.schedule_date)}}   
182
+
183
+                   <span v-if="printObj.week == 1">
158 184
                      <span v-if="main_collection.schedule_week ==1">星期一</span>
159 185
                      <span v-if="main_collection.schedule_week ==2">星期二</span>
160 186
                      <span v-if="main_collection.schedule_week ==3">星期三</span>
161 187
                      <span v-if="main_collection.schedule_week ==4">星期四</span>
162 188
                      <span v-if="main_collection.schedule_week ==5">星期五</span>
163 189
                      <span v-if="main_collection.schedule_week ==6">星期六</span>
164
-                     <span v-if="main_collection.schedule_week ==7">星期日</span></div>
190
+                     <span v-if="main_collection.schedule_week ==7">星期日</span>
191
+                    </span>   
192
+                    </div>
193
+                  
165 194
               </div>
166 195
 
167 196
               <div class="signPrint" style="font-size:16px;" v-else>
@@ -353,6 +382,7 @@
353 382
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
354 383
     this.modeOptions = this.$store.getters.treatment_mode
355 384
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
385
+    console.log("anticoagulants_confit---------------",this.anticoagulants_confit)
356 386
     this.week_type = this.$route.query.week_type
357 387
     this.week_time  = this.$route.query.week_time
358 388
     this.zone = this.$route.query.zone