Browse Source

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

陈少旭 8 months ago
parent
commit
ef5714c041
32 changed files with 3152 additions and 2859 deletions
  1. 30 3
      src/api/drug/drug.js
  2. 1 0
      src/lang/en.js
  3. 3 2
      src/router/modules/Dialysisanalysis.js
  4. 8 0
      src/router/modules/selfPreparedMedicine.js
  5. 100 8
      src/utils/tools.js
  6. 1 1
      src/xt_pages/dialysis/batch_print/batch_print_order_Seventysix.vue
  7. 44 33
      src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue
  8. 14 14
      src/xt_pages/dialysis/batch_print/batch_print_order_seventynine.vue
  9. 71 53
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  10. 2 2
      src/xt_pages/dialysis/details/assessmentAfter.vue
  11. 8 1
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  12. 7 1
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  13. 14 13
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  14. 5 5
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  15. 138 16
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue
  16. 47 48
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue
  17. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventysix.vue
  18. 89 5
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  19. 12 9
      src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue
  20. 8 1
      src/xt_pages/management/components/UserForm.vue
  21. 65 13
      src/xt_pages/outpatientCharges/statementPrint.vue
  22. 313 0
      src/xt_pages/outpatientCharges/statementTemplate/printSixtheen.vue
  23. 7 7
      src/xt_pages/outpatientCharges/summaryDetail.vue
  24. 1 1
      src/xt_pages/outpatientTool/components/pdetail.vue
  25. 1 1
      src/xt_pages/outpatientTool/components/settle.vue
  26. 2 2
      src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue
  27. 25 17
      src/xt_pages/stock/selfPreparedMedicine/addWarehouseOut.vue
  28. 1236 0
      src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue
  29. 6 0
      src/xt_pages/stock/selfPreparedMedicine/warehouseInfo.vue
  30. 877 2590
      src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue
  31. 8 6
      src/xt_pages/user/components/PatientDetail.vue
  32. 8 6
      src/xt_pages/user/components/PatientForm.vue

+ 30 - 3
src/api/drug/drug.js View File

@@ -775,11 +775,38 @@ export function getSelfDrugBatchNumber(params){
775 775
   })
776 776
 }
777 777
 
778
-export function postSelfDrugWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type, storehouse_id, warehouse_out_id){
778
+export function postSelfDrugWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type, patient_id, warehouse_out_id){
779 779
 
780 780
    return request({
781
-    url:"/api/drug/postsetfdrugwarehouseout?warehousing_out_time="+warehousing_time+ '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type + '&storehouse_id=' + storehouse_id + '&warehouse_out_id=' + warehouse_out_id,
781
+    url:"/api/drug/postsetfdrugwarehouseout?warehousing_out_time="+warehousing_time+ '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type + '&patient_id=' + patient_id + '&warehouse_out_id=' + warehouse_out_id,
782 782
     method:"post",
783
-    params:params,
783
+    data:params,
784 784
    })
785
+}
786
+
787
+export function getAllSelfDrugWarehouseOutList(params){
788
+ 
789
+  return request({
790
+    url:"/api/drug/getallselfdrugwarehouseoutlist",
791
+    method:"get",
792
+    params:params
793
+  })
794
+}
795
+
796
+export function deleteSelfWarehouseOut(id,params){
797
+
798
+  return request({
799
+    url:"/api/drug/deleteselfwarehouseout?id="+id,
800
+    method:"get",
801
+    params:params
802
+  })
803
+}
804
+
805
+export function getSelfDrugWarehouseOutById(id,params){
806
+  
807
+  return request({
808
+    url:"/api/drug/getselfdrugwarehouseoutbyid?id="+id,
809
+    method:"get",
810
+    params:params
811
+  })
785 812
 }

+ 1 - 0
src/lang/en.js View File

@@ -128,6 +128,7 @@ export default {
128 128
     dialysis_batch_print: 'Batch Print Order',
129 129
     user_detail: 'user_detail',
130 130
     objectRegistration:'objectRegistration',
131
+    Dialysisanalysis:'Dialysisanalysis',
131 132
   },
132 133
   navbar: {
133 134
     logOut: 'Log Out',

+ 3 - 2
src/router/modules/Dialysisanalysis.js View File

@@ -9,7 +9,8 @@ export default {
9 9
   name: 'Dialysisanalysis',
10 10
   alwaysShow: true,
11 11
   meta: {
12
-    title: '专业质控',
12
+    // title: '专业质控',
13
+    title:'Dialysisanalysis',
13 14
     icon: 'statistics'
14 15
   },
15 16
   children: [
@@ -25,7 +26,7 @@ export default {
25 26
     {//新专业质控
26 27
       path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators',
27 28
       component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/index'),
28
-      name: 'otherIndicators',
29
+      name: 'new_otherIndicators',
29 30
       meta: {
30 31
         title: '透析分析',
31 32
         noCache: true

+ 8 - 0
src/router/modules/selfPreparedMedicine.js View File

@@ -50,6 +50,14 @@ export default {
50 50
       hidden: true,
51 51
       is_menu: false,
52 52
     },
53
+    {
54
+      path: '/stock/selfwarehouse/out/edit',
55
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/editWarehouseOut'),
56
+      name: 'SelfeditWarehouseOut',
57
+      meta: { title: '自备药编辑出库', noCache: true },
58
+      hidden: true,
59
+      is_menu: false,
60
+    },
53 61
     {
54 62
       path: '/stock/selfstockquery',
55 63
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),

+ 100 - 8
src/utils/tools.js View File

@@ -21,15 +21,15 @@ export function jsGetAge(strBirthday, splitstr) {
21 21
   // debugger
22 22
   var returnAge
23 23
   var strBirthdayArr = strBirthday.split(splitstr)
24
- 
24
+
25 25
   var birthYear = strBirthdayArr[0]
26 26
   var birthMonth = strBirthdayArr[1]
27 27
   var birthDay = strBirthdayArr[2]
28
- 
28
+
29 29
   console.log("birthYear",birthYear)
30 30
   console.log("birthMonth",birthMonth)
31 31
   console.log("birthDay",birthDay)
32
-  
32
+
33 33
   var d = new Date()
34 34
   var nowYear = d.getFullYear()
35 35
   var nowMonth = d.getMonth() + 1
@@ -38,7 +38,7 @@ export function jsGetAge(strBirthday, splitstr) {
38 38
   console.log("nowYear",nowYear)
39 39
   console.log("nowMonth",nowMonth)
40 40
   console.log("nowDay",nowDay)
41
-  
41
+
42 42
   if (nowYear == birthYear) {
43 43
     returnAge = 0 // 同年 则为0岁
44 44
   } else {
@@ -69,7 +69,7 @@ export function jsGetAge(strBirthday, splitstr) {
69 69
 
70 70
 
71 71
 export function jsGetAgeOne(strBirthday,splitstr, nowYear,nowMonth,nowDay) {
72
- 
72
+
73 73
   // debugger
74 74
   var returnAge
75 75
   var strBirthdayArr = strBirthday.split(splitstr)
@@ -81,15 +81,15 @@ export function jsGetAgeOne(strBirthday,splitstr, nowYear,nowMonth,nowDay) {
81 81
   // var anowYear = d.getFullYear()
82 82
   // var anowMonth = d.getMonth() + 1
83 83
   // var anowDay = d.getDate()
84
-  
84
+
85 85
   // console.log("anowYear",anowYear)
86 86
   // console.log("anowMonth",anowMonth)
87 87
   // console.log("anowDay",anowDay)
88
-  
88
+
89 89
   console.log("brityYear666",strBirthdayArr[0])
90 90
   console.log("birthMonth5656",strBirthdayArr[1])
91 91
   console.log("birthDay5656",strBirthdayArr[2])
92
-  
92
+
93 93
   if (nowYear == birthYear) {
94 94
     returnAge = 0 // 同年 则为0岁
95 95
   } else {
@@ -268,3 +268,95 @@ export function formatDate(date, format) {
268 268
 function padLeftZero(str) {
269 269
   return ('00' + str).substr(str.length)
270 270
 }
271
+
272
+// 数字金额转大写
273
+export const numToCny=(money)=>{
274
+	// 汉字的数字
275
+	var cnNums = new Array('零', '壹', '贰', '叁', '肆', '伍', '陆',
276
+	    '柒', '捌', '玖');
277
+	// 基本单位
278
+	var cnIntRadice = new Array('', '拾', '佰', '仟');
279
+	// 对应整数部分扩展单位
280
+	var cnIntUnits = new Array('', '万', '亿', '兆');
281
+	// 对应小数部分单位
282
+	var cnDecUnits = new Array('角', '分', '毫', '厘');
283
+	// 整数金额时后面跟的字符
284
+	var cnInteger = '整';
285
+	// 整型完以后的单位
286
+	var cnIntLast = '元';
287
+	// 最大处理的数字
288
+	var maxNum = 999999999999999.9999;
289
+	// 金额整数部分
290
+	var integerNum;
291
+	// 金额小数部分
292
+	var decimalNum;
293
+	// 输出的中文金额字符串
294
+	var chineseStr = '';
295
+	// 分离金额后用的数组,预定义
296
+	var parts;
297
+	if (money == '') {
298
+	    return '';
299
+	}
300
+	money = parseFloat(money);
301
+	if (money >= maxNum) {
302
+	    // 超出最大处理数字
303
+	    return '';
304
+	}
305
+	if (money == 0) {
306
+	    chineseStr = cnNums[0] + cnIntLast + cnInteger;
307
+	    return chineseStr;
308
+	}
309
+	// 转换为字符串
310
+	money = money.toString();
311
+	if (money.indexOf('.') == -1) {
312
+	    integerNum = money;
313
+	    decimalNum = '';
314
+	} else {
315
+	    parts = money.split('.');
316
+	    integerNum = parts[0];
317
+	    decimalNum = parts[1].substr(0, 4);
318
+	}
319
+	// 获取整型部分转换
320
+	if (parseInt(integerNum, 10) > 0) {
321
+	    var zeroCount = 0;
322
+	    var IntLen = integerNum.length;
323
+	    for (var i = 0; i < IntLen; i++) {
324
+	        var n = integerNum.substr(i, 1);
325
+	        var p = IntLen - i - 1;
326
+	        var q = p / 4;
327
+	        var m = p % 4;
328
+	        if (n == '0') {
329
+	            zeroCount++;
330
+	        } else {
331
+	            if (zeroCount > 0) {
332
+	                chineseStr += cnNums[0];
333
+	            }
334
+	            // 归零
335
+	            zeroCount = 0;
336
+	            chineseStr += cnNums[parseInt(n)]
337
+	                + cnIntRadice[m];
338
+	        }
339
+	        if (m == 0 && zeroCount < 4) {
340
+	            chineseStr += cnIntUnits[q];
341
+	        }
342
+	    }
343
+	    chineseStr += cnIntLast;
344
+	}
345
+	// 小数部分
346
+	if (decimalNum != '') {
347
+	    var decLen = decimalNum.length;
348
+	    for (var i = 0; i < decLen; i++) {
349
+	        var n = decimalNum.substr(i, 1);
350
+	        if (n != '0') {
351
+	            chineseStr += cnNums[Number(n)] + cnDecUnits[i];
352
+	        }
353
+	    }
354
+	}
355
+	if (chineseStr == '') {
356
+	    chineseStr += cnNums[0] + cnIntLast + cnInteger;
357
+	} else if (decimalNum == '') {
358
+	    chineseStr += cnInteger;
359
+	}
360
+	return chineseStr;
361
+}
362
+

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

@@ -1327,7 +1327,7 @@
1327 1327
                           <td width="50">动脉压<br />(mmHg)</td>
1328 1328
                           <td width="50">静脉压<br />(mmHg)</td>
1329 1329
                           <td width="50">跨膜压<br />(mmHg)</td>
1330
-                          <td width="50">超滤量<br />(L)</td>
1330
+                          <td width="50">超滤量<br />(ml)</td>
1331 1331
 
1332 1332
                           <td width="200">病情变化及处理</td>
1333 1333
                         </tr>

+ 44 - 33
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue View File

@@ -73,10 +73,17 @@
73 73
                 class="under_line"
74 74
                 style="width: 70px; text-align: center"
75 75
               >
76
-                {{
76
+                <!-- {{
77 77
                    record.patient.total_dialysis + record.patient.user_sys_before_count
78 78
                     ? record.patient.total_dialysis + record.patient.user_sys_before_count : "/"
79
-                }}
79
+                }} -->
80
+              {{
81
+                          record.Count +
82
+                          record.patient.user_sys_before_count
83
+                            ?  record.Count +
84
+                              record.patient.user_sys_before_count
85
+                            : "/"
86
+                 }}
80 87
               </div>
81 88
             </div>
82 89
           </div>
@@ -114,14 +121,9 @@
114 121
                           .blood_access_part_id
115 122
                       : 0
116 123
                   }}
117
-                  {{
118
-                    record.assessment_before_dislysis &&
119
-                    record.assessment_before_dislysis
120
-                      .blood_access_part_opera_name
121
-                      ? record.assessment_before_dislysis
122
-                          .blood_access_part_opera_name
123
-                      : ""
124
-                  }}
124
+                  {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
125
+                  <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
126
+                  
125 127
                 </div>
126 128
               </div>
127 129
               <div class="inline_block" style="flex: 1;" >
@@ -467,8 +469,11 @@
467 469
                   </span>
468 470
                   <span v-else>/</span>
469 471
                 </div>
470
-                <span v-if="record.prescription.anticoagulant ==0"> </span>
471
-                <span v-else>{{ getshouji(record.prescription.anticoagulant) }}</span>
472
+                <span v-if="record.prescription.anticoagulant == 17">
473
+                  {{ getshouji(record.prescription.anticoagulant) }}
474
+                </span>
475
+                <!-- <span v-if="record.prescription.anticoagulant == 0"></span>
476
+                <span v-else>{{ getshouji(record.prescription.anticoagulant) }}</span> -->
472 477
               </div>
473 478
               <div class="inline_block" style="flex: 1;">
474 479
                 追加:
@@ -481,8 +486,11 @@
481 486
                   </span>
482 487
                   <span v-else>/</span>
483 488
                 </div>
484
-                <span v-if="record.prescription.anticoagulant ==0"> </span>
485
-                <span v-else>{{ getweichi(record.prescription.anticoagulant) }}</span>
489
+                <span v-if=" record.prescription.anticoagulant == 17">
490
+                  {{ getshouji(record.prescription.anticoagulant) }}
491
+                </span>
492
+                <!-- <span v-if="record.prescription.anticoagulant ==0"> </span>
493
+                <span v-else>{{ getweichi(record.prescription.anticoagulant) }}</span> -->
486 494
               </div>
487 495
               <div class="inline_block" style="flex: 1">
488 496
                 透前体重:
@@ -597,14 +605,13 @@
597 605
                   style="width: 100px; text-align: center"
598 606
                 > 
599 607
                   <span style="display: inline-block;height: 30px;"></span>
600
-                  <span v-if="setAdminUserES(record.prescription.creater) == ''">
601
-                    {{ getAdminUser(record.prescription.creater)}}
608
+                  <span v-if="setAdminUserES(record.prescription,'creater') == ''">
609
+                    {{ getAdminUser(record.prescription,'creater')}}
602 610
                   </span>
603 611
                   <span style="display: inline-block;" v-else>
604
-                    <img style="height:30px;" :src="setAdminUserES(record.prescription.creater)" alt srcset />
612
+                    <img style="height:30px;" :src="setAdminUserES(record.prescription,'creater')" alt srcset />
605 613
                   </span>
606 614
                 </div>
607
-
608 615
               </div>
609 616
             </div>
610 617
             <!-- 特殊医嘱 -->
@@ -815,7 +822,7 @@
815 822
                   <td width="50">UFR<br/>ml/h</td>
816 823
                   <td width="50">UF<br/>ml</td>
817 824
                   <td width="65">剩余肝素<br/>ml</td>
818
-                  <td width="65" v-if="record.prescription.mode_id == 2">置换量<br/>L</td>
825
+                  <td width="65" v-if="record.prescription.mode_id == 2">置换量<br/>L</td>
819 826
                   <td width="200">病情变化</td>
820 827
                 </tr>
821 828
                 <tr v-for="(monitor_record, j) in record.monitor_records" :key="j" >
@@ -879,7 +886,7 @@
879 886
 
880 887
                   </td>
881 888
                   <td width="65" v-if="record.prescription.mode_id == 2">
882
-                    {{monitor_record.displacement_quantity ? monitor_record.displacement_quantity : '/'}}
889
+                    {{monitor_record.displacement_quantity_one ? monitor_record.displacement_quantity_one : '/'}}
883 890
                   </td>
884 891
                   <td width="200">
885 892
                     <template
@@ -937,7 +944,7 @@
937 944
                   alt=""
938 945
                   srcset=""
939 946
                   v-else
940
-                  style="height: 40px"
947
+                  style="height: 30px"
941 948
                 />
942 949
                 </div>
943 950
               </div>
@@ -956,7 +963,7 @@
956 963
                   :src="
957 964
                     setAdminUserES(
958 965
                       record.dialysis_order,
959
-                      'quality_nurse_id'
966
+                      'start_nurse'
960 967
                     )
961 968
                   "
962 969
                   alt=""
@@ -1182,7 +1189,7 @@
1182 1189
           </div>
1183 1190
           <!-- 透析小结 -->
1184 1191
           <div  style="width: 99%;border: 1px solid black;white-space: normal;padding:5px ;">
1185
-            <div style="width: 100%;">
1192
+            <div style="width: 100%;margin-bottom: 6px;">
1186 1193
               <div style="margin-bottom: 10px;">
1187 1194
                 宣教知识:
1188 1195
                 <span style="white-space: normal;border-bottom: 1px solid black;">
@@ -1405,15 +1412,19 @@ export default {
1405 1412
             for(let j=0;j<this.records[i].monitor_records.length;j++){
1406 1413
               this.records[i].monitor_records[j].end = ""
1407 1414
               if (this.records[i].dialysis_order &&this.records[i].monitor_records[j].operate_time ==  this.records[i].dialysis_order.end_time) {
1408
-              this.records[i].monitor_records[j].end = "【结束透析】";
1409
-              tempmonitorflag = false;
1410
-            }
1411
-            if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1412
-              this.records[i].monitor_records[j].end = "【结束透析】";
1413
-             }
1414
-             if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
1415
-               this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1416
-             }
1415
+                console.log('1111111',this.records[i].dialysis_order.end_time);
1416
+                
1417
+                this.records[i].monitor_records[j].end = "【结束透析】";
1418
+                tempmonitorflag = false;
1419
+              }
1420
+              if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1421
+                console.log('222222',j,this.records[i].monitor_records.length - 1);
1422
+                this.records[i].monitor_records[j].end = "【结束透析】";
1423
+              }
1424
+              // if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
1425
+              //   console.log('33333',this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end);
1426
+              //   this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1427
+              // }
1417 1428
             }
1418 1429
           }
1419 1430
           for (const recordIndex in this.records) {
@@ -1634,7 +1645,7 @@ export default {
1634 1645
       return "";
1635 1646
     },
1636 1647
     bloodAccessParOperaName(id) {
1637
-      console.log(tihs.records, "hhh");
1648
+      console.log(this.records, "hhh");
1638 1649
       if (id in this.bloodAccessParOpera) {
1639 1650
         return this.bloodAccessParOpera[id].name;
1640 1651
       }

+ 14 - 14
src/xt_pages/dialysis/batch_print/batch_print_order_seventynine.vue View File

@@ -23,7 +23,7 @@
23 23
             <div class="dialysis-print-order">
24 24
               <div class="order-yy-name">{{ orgname }}</div>
25 25
               <div class="order-title">血液透析(滤过)记录表单</div>
26
-              <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;">
26
+              <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;font-size: 16px;">
27 27
                 <tbody>
28 28
                   <tr>
29 29
                     <td width="80" style="line-height:30px;">治疗日期:
@@ -32,7 +32,7 @@
32 32
                   </tr>
33 33
                 </tbody>
34 34
               </table>
35
-              <table border="1" class="table-box" style="border-collapse: collapse;width: 100%;">
35
+              <table border="1" class="table-box" style="border-collapse: collapse;width: 100%;font-size: 16px;">
36 36
                 <tbody>
37 37
                   <tr>
38 38
                     <td colspan="3">
@@ -142,7 +142,7 @@
142 142
                 </tbody>
143 143
               </table>
144 144
 
145
-              <table border="1" class="table-box" style="border-collapse: collapse;width: 100%;">
145
+              <table border="1" class="table-box" style="border-collapse: collapse;width: 100%;font-size: 16px;">
146 146
                 <tr>
147 147
                   <td style="width: 20%; line-height: 30px;">透析机:
148 148
                     {{record.assessment_before_dislysis.machine_type ? record.assessment_before_dislysis.machine_type : " "}}
@@ -198,7 +198,7 @@
198 198
                 </tr>
199 199
               </table>
200 200
 
201
-              <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;">
201
+              <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;font-size: 16px;">
202 202
                 <tbody>
203 203
                   <tr>
204 204
                     <td colspan="12" style="padding: 5px;">治疗过程记录</td>
@@ -255,7 +255,7 @@
255 255
                 </tbody>
256 256
               </table>
257 257
               <div>
258
-                <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;">
258
+                <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;font-size: 16px;">
259 259
                   <tbody>
260 260
                     <tr>
261 261
                       <td style="width:12%;height:25px;">
@@ -323,17 +323,17 @@
323 323
                       <td v-if="advice_index === 1">{{(record.assessment_before_dislysis.weight_before - record.lastafterweight.weight_after).toFixed(1) }}kg</td>
324 324
                       <td v-if="advice_index === 2">干体重(DW):</td>
325 325
                       <td v-if="advice_index === 2">{{record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight : "0"}}kg</td>
326
-                      <td v-if="advice_index === 3">较干体重增加量:</td>
326
+                      <!-- <td v-if="advice_index === 3">较干体重增加量:</td>
327 327
                       <td v-if="advice_index === 3">
328 328
                         {{(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.dry_weight -
329 329
                               record.assessment_before_dislysis.additional_weight).toFixed(2)}}kg
330 330
                       </td>
331 331
                       <td v-if="advice_index === 4">净脱水量:</td>
332
-                      <td v-if="advice_index === 4">{{record.assessment_after_dislysis.actual_ultrafiltration}}L</td>
333
-                      <td v-if="advice_index === 5">透后体重:</td>
334
-                      <td v-if="advice_index === 5">{{record.assessment_after_dislysis.weight_after}}kg</td>
335
-                      <td v-if="advice_index === 6">本次透析体重下降量:</td>
336
-                      <td v-if="advice_index === 6">
332
+                      <td v-if="advice_index === 4">{{record.assessment_after_dislysis.actual_ultrafiltration}}L</td> -->
333
+                      <td v-if="advice_index === 3">透后体重:</td>
334
+                      <td v-if="advice_index === 3">{{record.assessment_after_dislysis.weight_after}}kg</td>
335
+                      <td v-if="advice_index === 4">本次透析体重下降量:</td>
336
+                      <td v-if="advice_index === 4">
337 337
                         {{record.assessment_after_dislysis.weight_after == 0 || record.assessment_before_dislysis.weight_before == 0 ?
338 338
                         0 : ( record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after ).toFixed(2)
339 339
                       }}kg</td>
@@ -341,7 +341,7 @@
341 341
                   </tbody>
342 342
                 </table>
343 343
               </div>
344
-              <div style="border: 1px solid black;width: 100%;">
344
+              <div style="border: 1px solid black;width: 100%;font-size: 16px;">
345 345
                 <div>
346 346
                   治疗小结
347 347
                   <span class="under-line">&nbsp;
@@ -569,9 +569,9 @@
569 569
 
570 570
               if (
571 571
                 this.records[recordIndex].advices &&
572
-                this.records[recordIndex].advices.length < 13
572
+                this.records[recordIndex].advices.length < 10
573 573
               ) {
574
-                delghTwo = 13 - this.records[recordIndex].advices.length
574
+                delghTwo = 10 - this.records[recordIndex].advices.length
575 575
               } else {
576 576
                 delghTwo = 0
577 577
               }

+ 71 - 53
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -190,13 +190,20 @@
190 190
                           class="under_line"
191 191
                           style="width: 70px; text-align: center"
192 192
                         >
193
-                          {{
193
+                          <!-- {{
194 194
                             record.patient.total_dialysis +
195 195
                             record.patient.user_sys_before_count
196 196
                               ? record.patient.total_dialysis +
197 197
                                 record.patient.user_sys_before_count
198 198
                               : "/"
199
-                          }}
199
+                          }} -->
200
+                          {{
201
+                              record.Count +
202
+                              record.patient.user_sys_before_count
203
+                                ?  record.Count +
204
+                                  record.patient.user_sys_before_count
205
+                                : "/"
206
+                            }}
200 207
                         </div>
201 208
 
202 209
                         <div
@@ -1481,29 +1488,33 @@
1481 1488
                         </div>
1482 1489
                       </div>
1483 1490
 
1484
-                      <div class="inline_block" style="margin-left: 20px">
1491
+                    
1492
+                      <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1493
+                       <div class="inline_block">
1485 1494
                         上机时间:
1486 1495
                         <div
1487 1496
                           class="under_line"
1488 1497
                           style="width: 50px; text-align: center"
1489 1498
                         >
1490
-                          {{
1491
-                            record.dialysis_order &&
1492
-                            record.dialysis_order.device_number &&
1493
-                            record.dialysis_order.device_number.number.length >
1494
-                              0
1495
-                              ? record.dialysis_order.device_number.number
1496
-                              : record.device_number.number
1497
-                          }}
1499
+                          {{getTime(record.dialysis_order.start_time, "{h}:{i}")}}
1498 1500
                         </div>
1499 1501
                       </div>
1500 1502
 
1501
-                      <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex" v-if="org_id == 0|| org_id ==10598">
1503
+                      <div class="inline_block" v-if="org_id == 0|| org_id ==10598" style="margin-left: 20px">
1502 1504
                         在线Kt/V监测:
1503 1505
                         <div class="under_line" style="width: 30px; text-align: center">
1504 1506
                            <check-box :checked="true"></check-box>
1505 1507
                          </div>
1506 1508
                       </div>
1509
+
1510
+                     </div>
1511
+
1512
+                      <!-- <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex" v-if="org_id == 0|| org_id ==10598">
1513
+                        在线Kt/V监测:
1514
+                        <div class="under_line" style="width: 30px; text-align: center">
1515
+                           <check-box :checked="true"></check-box>
1516
+                         </div>
1517
+                      </div> -->
1507 1518
                       <div
1508 1519
                         class="row"
1509 1520
                         style="padding: 2px 0; line-height: 23px; display: flex"
@@ -1613,8 +1624,7 @@
1613 1624
                           <td width="50" v-if="org_id == 10478 || org_id ==10510">动脉压<br />(mmHg)</td>
1614 1625
                           <td width="50">静脉压<br />(mmHg)</td>
1615 1626
                           <td width="50">跨膜压<br />(mmHg)</td>
1616
-                          <td width="60" v-if="org_id != 9836 && org_id!=10644">
1617
-                            透析液温度(°C)
1627
+                          <td width="60" v-if="org_id != 9836 && org_id!=10644">透析液温度(°C)
1618 1628
                           </td>
1619 1629
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
1620 1630
                           <td
@@ -1655,8 +1665,8 @@
1655 1665
                           置换液的速度<br />(ml/h)
1656 1666
                           </td>
1657 1667
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1658
-                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />(ml)</td>
1659
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683">超滤率<br />(ml/h)</td>
1668
+                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683  && org_id!=0">超滤量<br />(ml)</td>
1669
+                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1660 1670
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1661 1671
                           <td
1662 1672
                             v-if="
@@ -1730,12 +1740,14 @@
1730 1740
                                 : ""
1731 1741
                             }}
1732 1742
                           </td>
1743
+                          
1733 1744
                           <td>
1734 1745
                             {{
1735 1746
                               monitor_record.pulse_frequency
1736 1747
                                 ? monitor_record.pulse_frequency
1737 1748
                                 : ""
1738 1749
                             }}
1750
+
1739 1751
                           </td>
1740 1752
                           <td v-if="org_id!=10489">
1741 1753
                             {{
@@ -1744,20 +1756,14 @@
1744 1756
                                 : ""
1745 1757
                             }}
1746 1758
                           </td>
1747
-                          <td v-if="org_id != 10600 && org_id != 10683">
1759
+                          <td v-if="org_id != 10600">
1748 1760
                             {{
1749 1761
                               monitor_record.blood_flow_volume
1750 1762
                                 ? monitor_record.blood_flow_volume
1751 1763
                                 : ""
1752 1764
                             }}
1753 1765
                           </td>
1754
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683"><br />
1755
-                            {{
1756
-                              monitor_record.ultrafiltration_rate
1757
-                                ? monitor_record.ultrafiltration_rate
1758
-                                : ""
1759
-                            }}
1760
-                          </td>
1766
+                         
1761 1767
                           <td v-if="org_id == 10478 || org_id ==10510">
1762 1768
                             {{
1763 1769
                               monitor_record.arterial_pressure
@@ -1783,6 +1789,7 @@
1783 1789
                             </span>
1784 1790
 
1785 1791
                           </td>
1792
+                        
1786 1793
                           <td>
1787 1794
                             {{
1788 1795
                               monitor_record.transmembrane_pressure
@@ -1813,7 +1820,8 @@
1813 1820
                               org_id != 9675 &&
1814 1821
                               org_id!=10490 &&
1815 1822
                               org_id!=10600 &&
1816
-                              org_id!=10644
1823
+                              org_id!=10644 
1824
+                             
1817 1825
                             "
1818 1826
                           >
1819 1827
                             {{
@@ -1869,7 +1877,7 @@
1869 1877
                           <td width="50" v-if="org_id == 10375"><br />
1870 1878
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1871 1879
                           </td>
1872
-                          <td>
1880
+                          <td v-if="org_id!=10683&& org_id!=0">
1873 1881
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1874 1882
                                 {{
1875 1883
                               monitor_record.ultrafiltration_volume
@@ -1884,8 +1892,18 @@
1884 1892
                                 : ""
1885 1893
                             }}
1886 1894
                             </span>
1895
+                            
1887 1896
                           </td>
1888 1897
 
1898
+                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0"><br />
1899
+                                   
1900
+                                    {{
1901
+                                      monitor_record.ultrafiltration_rate
1902
+                                        ? monitor_record.ultrafiltration_rate
1903
+                                        : ""
1904
+                                    }}
1905
+                              </td>
1906
+
1889 1907
                           <td
1890 1908
                             v-if="
1891 1909
                               (record.prescription.mode_id == 2 ||
@@ -3250,38 +3268,11 @@
3250 3268
                           }}
3251 3269
                         </div>
3252 3270
                       </div>
3253
-
3254
-
3255
-                    </div>
3256
-                  <div
3257
-                    class="row"
3258
-                    style="padding: 2px 0; line-height: 23px; display: flex"
3259
-                  >
3260
-                    <div
3261
-                      class="inline_block"
3262
-                      style="flex: 1; display: inline-block"
3263
-                    >
3264
-                      备注:
3265
-                      <div
3266
-                        class="under_line"
3267
-                        style="
3268
-                          width: 860px;
3269
-                          line-height: 25px;
3270
-                          text-align: left;
3271
-                          margin-left: 2px;
3272
-                          display: inline-block;
3273
-                          white-space: normal;
3274
-                        "
3275
-                      >
3276
-                        {{ record.assessment_after_dislysis.remark ?record.assessment_after_dislysis.remark : "/" }}
3277
-                      </div>
3278 3271
                     </div>
3279
-                  </div>
3280 3272
 
3281 3273
                     <div
3282 3274
                       class="row"
3283 3275
                       style="padding: 2px 0; line-height: 23px; display: flex"
3284
-                      v-if="org_id == 0 || org_id ==10375"
3285 3276
                     >
3286 3277
                       <div
3287 3278
                         class="inline_block"
@@ -3309,6 +3300,33 @@
3309 3300
 
3310 3301
 
3311 3302
                     </div>
3303
+                    
3304
+                  <div
3305
+                    class="row"
3306
+                    style="padding: 2px 0; line-height: 23px; display: flex"
3307
+                  >
3308
+                    <div
3309
+                      class="inline_block"
3310
+                      style="flex: 1; display: inline-block"
3311
+                    >
3312
+                      备注:
3313
+                      <div
3314
+                        class="under_line"
3315
+                        style="
3316
+                          width: 860px;
3317
+                          line-height: 25px;
3318
+                          text-align: left;
3319
+                          margin-left: 2px;
3320
+                          display: inline-block;
3321
+                          white-space: normal;
3322
+                        "
3323
+                      >
3324
+                        {{ record.assessment_after_dislysis.remark ?record.assessment_after_dislysis.remark : "/" }}
3325
+                      </div>
3326
+                    </div>
3327
+                  </div>
3328
+
3329
+                   
3312 3330
                   </td>
3313 3331
                 </tr>
3314 3332
                 <tr>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue View File

@@ -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) " >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"  >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) " >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"  >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 8 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -30,7 +30,7 @@
30 30
           <el-col :span="8" v-if="isShow('实际超滤量')">
31 31
             <el-form-item
32 32
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
33
-              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"  >
33
+              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"  >
34 34
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35 35
             </el-form-item>
36 36
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
@@ -1270,6 +1270,13 @@ export default {
1270 1270
              ParamsQuery.weight_loss = (this.predialysis_evaluation.weight_before - this.form.weight_after).toFixed(1)
1271 1271
           }
1272 1272
 
1273
+          if(ParamsQuery.additional_weight == 0){
1274
+            if(this.additional_weight!=null){
1275
+              ParamsQuery.additional_weight = this.predialysis_evaluation.additional_weight
1276
+            }
1277
+            
1278
+          }
1279
+
1273 1280
           console.log("Paramsquery",data)
1274 1281
 
1275 1282
           postAssessmentAfterDislysis(ParamsQuery, data)

+ 7 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -12,9 +12,10 @@
12 12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13 13
            
14 14
             <span style="position: absolute;left: 20%;top: 3%">
15
-              透前重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
15
+              透前重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16 16
             
17 17
             </span>
18
+           
18 19
             <span style="position: absolute;left: 30%;top: 3%">
19 20
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
20 21
             </span>
@@ -33,6 +34,11 @@
33 34
             <span style="position: absolute;left: 70%;top: 3%">
34 35
               透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
35 36
             </span>
37
+
38
+            <!-- <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702">
39
+              透前体重:{{predialysis&&(predialysis.weight_before - predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
40
+            
41
+            </span> -->
36 42
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
37 43
             <el-form
38 44
                     ref="dialysisPrescription"

+ 14 - 13
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -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) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697) &&
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)
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)
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)
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)
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) ||
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) ||
588 588
               org_id == 10387
589 589
             "
590 590
           >
@@ -844,7 +844,7 @@
844 844
           <el-table-column
845 845
             prop="displacement_quantity"
846 846
             align="center"
847
-            label="置换量(ml)"
847
+            label="置换量(L)"
848 848
             width="100"
849 849
             v-if="isShow('置换量1')"
850 850
           >
@@ -1681,7 +1681,7 @@
1681 1681
                 org_id== 10432 ||
1682 1682
                 org_id== 10445 ||
1683 1683
                 org_id== 10410 ||
1684
-                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) &&
1684
+                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) &&
1685 1685
                 org_id!=10387
1686 1686
             "
1687 1687
           >
@@ -1729,7 +1729,7 @@
1729 1729
               org_id!=10445 &&
1730 1730
               org_id!=10410 &&
1731 1731
               org_id!=10485 &&
1732
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693)
1732
+              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)
1733 1733
               || org_id == 10387
1734 1734
             "
1735 1735
           >
@@ -1802,8 +1802,8 @@
1802 1802
                 org_id == 10599 ||
1803 1803
                 org_id ==10612 || 
1804 1804
                 org_id ==10617 || 
1805
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693)
1806
-                && org_id!=10387 && org_id!=10694 && org_id!=10697
1805
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697)
1806
+                && org_id!=10387 && org_id!=10694
1807 1807
             "
1808 1808
           >
1809 1809
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
@@ -1872,9 +1872,10 @@
1872 1872
               org_id!=10629 &&
1873 1873
               org_id!=10677 &&
1874 1874
               org_id!=10667 &&
1875
-              org_id!=10693
1875
+              org_id!=10693 &&
1876
+              org_id!=10697
1876 1877
               )
1877
-              || org_id == 10387 || org_id == 10694 || org_id==10697
1878
+              || org_id == 10387 || org_id == 10694
1878 1879
             "
1879 1880
           >
1880 1881
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"
@@ -2046,8 +2047,8 @@
2046 2047
             </el-form-item>
2047 2048
           </el-col>
2048 2049
 
2049
-          <el-col :span="8" v-if="isShow('置换量1') && template_id == 43">
2050
-            <el-form-item label="置换量(ml):" :prop="isName('置换量')"
2050
+          <el-col :span="8" v-if="isShow('置换量1')">
2051
+            <el-form-item label="置换量(L):" :prop="isName('置换量')"
2051 2052
               :rules="isCheckmust('置换量')">
2052 2053
               <el-input v-model="form.displacement_quantity_one"></el-input>
2053 2054
             </el-form-item>

+ 5 - 5
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -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!=10387 " 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 == 10387"  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!=10387 " 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 == 10387"  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!=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==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!=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==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>
@@ -36,7 +36,7 @@
36 36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
37 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 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567" width="92px"  > 置换量(ml)  </th>
38 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) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567" width="92px" > 置换量(L) </th>
39
-          <th v-if=" isShow('置换量1')" width="92px"  > 置换量(ml)  </th>
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>
42 42
           <th v-if=" isShow('SpO₂1')" width="92px" > SpO₂(%) </th>

+ 138 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue View File

@@ -292,35 +292,85 @@
292 292
             <td style="text-align:left;" colspan="1">
293 293
               <span style="display:inline-block;margin-left:15px;">
294 294
                 <span
295
-                  v-if="orderForm.url === ''"
296 295
                   style="display:flex;align-items:center;"
297
-                >责任护士:{{ orderForm.start_nurse }}</span>
296
+                >责任护士:
298 297
                 <span
299
-                  v-if="orderForm.url !== ''"
300
-                  style="display:flex;align-items:center;height:36px;"
298
+                  style="height: 30px; display: inline-block"
299
+                  v-if="
300
+                    setAdminUserES(
301
+                      dialysisOrder == null
302
+                        ? 0
303
+                        : dialysisOrder.start_nurse
304
+                    ) == ''
305
+                  "
301 306
                 >
302
-                  责任护士:
303
-                  <img :src="orderForm.url" style="height:30px;" />
307
+                  {{
308
+                    getAdminUser(
309
+                      dialysisOrder == null
310
+                        ? 0
311
+                        : dialysisOrder.start_nurse
312
+                    )
313
+                  }}</span
314
+                >
315
+                <img
316
+                  style="height: 30px"
317
+                  :src="
318
+                    setAdminUserES(
319
+                      dialysisOrder == null
320
+                        ? 0
321
+                        : dialysisOrder.start_nurse
322
+                    )
323
+                  "
324
+                  alt=""
325
+                  srcset=""
326
+                  v-else
327
+                />
328
+               
304 329
                 </span>
305 330
               </span>
306 331
             </td>
307 332
             <td style="text-align:left;" colspan="1">
308 333
               <span style="display:inline-block;margin-left:15px;">
309 334
                 <span
310
-                  v-if="orderForm.url === ''"
311 335
                   style="display:flex;align-items:center;"
312
-                >上机护士:{{ orderForm.start_nurse }}</span>
336
+                >上机护士:
313 337
                 <span
314
-                  v-if="orderForm.url !== ''"
315
-                  style="display:flex;align-items:center;height:36px;"
338
+                  style="height: 30px; display: inline-block"
339
+                  v-if="
340
+                    setAdminUserES(
341
+                      dialysisOrder == null
342
+                        ? 0
343
+                        : dialysisOrder.start_nurse
344
+                    ) == ''
345
+                  "
316 346
                 >
317
-                  上机护士:
318
-                  <img :src="orderForm.url" style="height:30px;" />
347
+                  {{
348
+                    getAdminUser(
349
+                      dialysisOrder == null
350
+                        ? 0
351
+                        : dialysisOrder.start_nurse
352
+                    )
353
+                  }}</span
354
+                >
355
+                <img
356
+                  style="height: 30px"
357
+                  :src="
358
+                    setAdminUserES(
359
+                      dialysisOrder == null
360
+                        ? 0
361
+                        : dialysisOrder.start_nurse
362
+                    )
363
+                  "
364
+                  alt=""
365
+                  srcset=""
366
+                  v-else
367
+                />
368
+               
319 369
                 </span>
320 370
               </span>
321 371
             </td>
322 372
             <td style="text-align:left;" colspan="3">
323
-              <span style="display:inline-block;margin-left:15px;">
373
+              <!-- <span style="display:inline-block;margin-left:15px;">
324 374
                 <span
325 375
                   v-if="orderForm.url === ''"
326 376
                   style="display:flex;align-items:center;"
@@ -332,6 +382,45 @@
332 382
                   抗凝剂执行护士:
333 383
                   <img :src="orderForm.url" style="height:30px;" />
334 384
                 </span>
385
+              </span> -->
386
+           
387
+              <span style="display:inline-block;margin-left:15px;">
388
+                <span
389
+                  style="display:flex;align-items:center;"
390
+                >抗凝剂执行护士:
391
+                <span
392
+                  style="height: 30px; display: inline-block"
393
+                  v-if="
394
+                    setAdminUserES(
395
+                      dialysisOrder == null
396
+                        ? 0
397
+                        : dialysisOrder.start_nurse
398
+                    ) == ''
399
+                  "
400
+                >
401
+                  {{
402
+                    getAdminUser(
403
+                      dialysisOrder == null
404
+                        ? 0
405
+                        : dialysisOrder.start_nurse
406
+                    )
407
+                  }}</span
408
+                >
409
+                <img
410
+                  style="height: 30px"
411
+                  :src="
412
+                    setAdminUserES(
413
+                      dialysisOrder == null
414
+                        ? 0
415
+                        : dialysisOrder.start_nurse
416
+                    )
417
+                  "
418
+                  alt=""
419
+                  srcset=""
420
+                  v-else
421
+                />
422
+               
423
+                </span>
335 424
               </span>
336 425
             </td>
337 426
             <td style="text-align:left;" colspan="3">
@@ -997,16 +1086,49 @@
997 1086
             <td style="text-align:left;" colspan="3">
998 1087
               <span>
999 1088
                 <span
1000
-                  v-if="finshForm.url === ''"
1001 1089
                   style="display:flex;align-items:center;height:36px;"
1002
-                >下机护士:{{ finshForm.finish_nurse }}</span>
1090
+                >下机护士:
1091
+
1003 1092
                 <span
1093
+                    style="height: 30px; display: inline-block"
1094
+                          v-if="
1095
+                            setAdminUserES(
1096
+                              dialysisOrder == null
1097
+                                ? 0
1098
+                                : dialysisOrder.start_nurse
1099
+                            ) == ''
1100
+                          "
1101
+                        >
1102
+                          {{
1103
+                            getAdminUser(
1104
+                              dialysisOrder == null
1105
+                                ? 0
1106
+                                : dialysisOrder.start_nurse
1107
+                            )
1108
+                          }}</span
1109
+                        >
1110
+                        <img
1111
+                          style="height: 30px"
1112
+                          :src="
1113
+                            setAdminUserES(
1114
+                              dialysisOrder == null
1115
+                                ? 0
1116
+                                : dialysisOrder.start_nurse
1117
+                            )
1118
+                          "
1119
+                          alt=""
1120
+                          srcset=""
1121
+                          v-else
1122
+                        />
1123
+                </span>
1124
+
1125
+                <!-- <span
1004 1126
                   v-if="finshForm.url !== ''"
1005 1127
                   style="display:flex;align-items:center;height:36px;"
1006 1128
                 >
1007 1129
                   下机护士:
1008 1130
                   <img :src="finshForm.url" style="height:30px;" />
1009
-                </span>
1131
+                </span> -->
1010 1132
               </span>
1011 1133
             </td>
1012 1134
           </tr>

+ 47 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue View File

@@ -5,14 +5,14 @@
5 5
       <div class="dialysis-print-order">
6 6
         <div class="order-yy-name">{{ orgname }}</div>
7 7
         <div class="order-title">血液透析(滤过)记录表单</div>
8
-        <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;">
8
+        <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;font-size: 16px;">
9 9
           <tbody>
10 10
             <tr>
11 11
               <td width="80" style="line-height:30px;">治疗日期: <span>{{ year }}</span>年<span>{{ months }}</span>月<span>{{ day }}</span>日</td>
12 12
             </tr>
13 13
           </tbody>
14 14
         </table>
15
-        <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;">
15
+        <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;font-size: 16px;">
16 16
           <tbody>
17 17
             <tr>
18 18
               <td colspan="3">
@@ -121,7 +121,7 @@
121 121
 
122 122
           </tbody>
123 123
         </table>
124
-        <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;">
124
+        <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;font-size: 16px;">
125 125
           <tr>
126 126
             <td style="width: 20%; line-height: 30px;">透析机:
127 127
               {{predialysis.machine_type ? predialysis.machine_type : " "}}
@@ -172,7 +172,7 @@
172 172
           </tr>
173 173
         </table>
174 174
 
175
-        <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;">
175
+        <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;font-size: 16px;">
176 176
           <tbody>
177 177
             <tr>
178 178
               <td colspan="12" style="padding: 5px;">治疗过程记录</td>
@@ -230,7 +230,7 @@
230 230
           </tbody>
231 231
         </table>
232 232
         <div>
233
-          <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;">
233
+          <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 99%;font-size: 16px;">
234 234
             <tbody>
235 235
               <tr>
236 236
                 <td style="width:12%;height:25px;">
@@ -278,24 +278,24 @@
278 278
                 <td v-if="advice_index === 1">{{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg</td>
279 279
                 <td v-if="advice_index === 2">干体重(DW):</td>
280 280
                 <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
281
-                <td v-if="advice_index === 3">较干体重增加量:</td>
281
+                <!-- <td v-if="advice_index === 3">较干体重增加量:</td>
282 282
                 <td v-if="advice_index === 3">
283
-                  {{ patientInfo.total_dialysis +patientInfo.user_sys_before_count >0 && afterdialysis.weight_after != 0
283
+                  {{ afterdialysis.weight_after != 0 && predialysis.dry_weight !=0
284 284
                     ? (afterdialysis.weight_after - predialysis.dry_weight).toFixed(2): 0 }}kg
285 285
                 </td>
286 286
                 <td v-if="advice_index === 4">净脱水量:</td>
287
-                <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}ml</td>
288
-                <td v-if="advice_index === 5">透后体重:</td>
289
-                <td v-if="advice_index === 5">{{ afterdialysis.weight_after }}kg</td>
290
-                <td v-if="advice_index === 6">本次透析体重下降量:</td>
291
-                <td v-if="advice_index === 6">
287
+                <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}L</td> -->
288
+                <td v-if="advice_index === 3">透后体重:</td>
289
+                <td v-if="advice_index === 3">{{ afterdialysis.weight_after }}kg</td>
290
+                <td v-if="advice_index === 4">本次透析体重下降量:</td>
291
+                <td v-if="advice_index === 4">
292 292
                   {{  afterdialysis.weight_after == 0 || predialysis.weight_before == 0? '0.00'
293 293
                       : (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}kg</td>
294 294
               </tr>
295 295
             </tbody>
296 296
           </table>
297 297
         </div>
298
-        <div style="border: 1px solid black;width: 99%;">
298
+        <div style="border: 1px solid black;width: 99%;font-size: 16px;">
299 299
           <div >
300 300
             治疗小结
301 301
             <span class="under-line">&nbsp;{{ summary.dialysis_summary }}</span>
@@ -1130,16 +1130,16 @@ export default {
1130 1130
             var obj2 = { advice_name: "", start_time: "" };
1131 1131
             var obj3 = { advice_name: "", start_time: "" };
1132 1132
             var obj4 = { advice_name: "", start_time: "" };
1133
-            var obj5 = { advice_name: "", start_time: "" };
1134
-            var obj6 = { advice_name: "", start_time: "" };
1133
+            // var obj5 = { advice_name: "", start_time: "" };
1134
+            // var obj6 = { advice_name: "", start_time: "" };
1135 1135
 
1136 1136
             tableAdvice.push(obj);
1137 1137
             tableAdvice.push(obj1);
1138 1138
             tableAdvice.push(obj2);
1139 1139
             tableAdvice.push(obj3);
1140 1140
             tableAdvice.push(obj4);
1141
-            tableAdvice.push(obj5);
1142
-            tableAdvice.push(obj6);
1141
+            // tableAdvice.push(obj5);
1142
+            // tableAdvice.push(obj6);
1143 1143
 
1144 1144
             this.tableAdvice = tableAdvice;
1145 1145
             return this.tableAdvice
@@ -1150,15 +1150,15 @@ export default {
1150 1150
             var obj1 = { advice_name: "", start_time: "" };
1151 1151
             var obj2 = { advice_name: "", start_time: "" };
1152 1152
             var obj3 = { advice_name: "", start_time: "" };
1153
-            var obj4 = { advice_name: "", start_time: "" };
1154
-            var obj5 = { advice_name: "", start_time: "" };
1153
+            // var obj4 = { advice_name: "", start_time: "" };
1154
+            // var obj5 = { advice_name: "", start_time: "" };
1155 1155
 
1156 1156
             tableAdvice.push(obj);
1157 1157
             tableAdvice.push(obj1);
1158 1158
             tableAdvice.push(obj2);
1159 1159
             tableAdvice.push(obj3);
1160
-            tableAdvice.push(obj4);
1161
-            tableAdvice.push(obj5);
1160
+            // tableAdvice.push(obj4);
1161
+            // tableAdvice.push(obj5);
1162 1162
 
1163 1163
             this.tableAdvice = tableAdvice;
1164 1164
             // return this.tableAdvice
@@ -1168,14 +1168,14 @@ export default {
1168 1168
             var obj = { advice_name: "", start_time: "" };
1169 1169
             var obj1 = { advice_name: "", start_time: "" };
1170 1170
             var obj2 = { advice_name: "", start_time: "" };
1171
-            var obj3 = { advice_name: "", start_time: "" };
1172
-            var obj4 = { advice_name: "", start_time: "" };
1171
+            // var obj3 = { advice_name: "", start_time: "" };
1172
+            // var obj4 = { advice_name: "", start_time: "" };
1173 1173
 
1174 1174
             tableAdvice.push(obj);
1175 1175
             tableAdvice.push(obj1);
1176 1176
             tableAdvice.push(obj2);
1177
-            tableAdvice.push(obj3);
1178
-            tableAdvice.push(obj4);
1177
+            // tableAdvice.push(obj3);
1178
+            // tableAdvice.push(obj4);
1179 1179
 
1180 1180
             this.tableAdvice = tableAdvice;
1181 1181
             // return this.tableAdvice
@@ -1184,13 +1184,13 @@ export default {
1184 1184
             console.log('444444',tableAdvice.length);
1185 1185
             var obj = { advice_name: "", start_time: "" };
1186 1186
             var obj1 = { advice_name: "", start_time: "" };
1187
-            var obj2 = { advice_name: "", start_time: "" };
1188
-            var obj3 = { advice_name: "", start_time: "" };
1187
+            // var obj2 = { advice_name: "", start_time: "" };
1188
+            // var obj3 = { advice_name: "", start_time: "" };
1189 1189
 
1190 1190
             tableAdvice.push(obj);
1191 1191
             tableAdvice.push(obj1);
1192
-            tableAdvice.push(obj2);
1193
-            tableAdvice.push(obj3);
1192
+            // tableAdvice.push(obj2);
1193
+            // tableAdvice.push(obj3);
1194 1194
 
1195 1195
             this.tableAdvice = tableAdvice;
1196 1196
             // return this.tableAdvice
@@ -1198,39 +1198,39 @@ export default {
1198 1198
           if (tableAdvice.length === 4) {
1199 1199
             console.log('5555555',tableAdvice.length);
1200 1200
             var obj = { advice_name: "", start_time: "" };
1201
-            var obj1 = { advice_name: "", start_time: "" };
1202
-            var obj2 = { advice_name: "", start_time: "" };
1201
+            // var obj1 = { advice_name: "", start_time: "" };
1202
+            // var obj2 = { advice_name: "", start_time: "" };
1203 1203
 
1204 1204
             tableAdvice.push(obj);
1205
-            tableAdvice.push(obj1);
1206
-            tableAdvice.push(obj2);
1205
+            // tableAdvice.push(obj1);
1206
+            // tableAdvice.push(obj2);
1207 1207
 
1208 1208
             this.tableAdvice = tableAdvice;
1209 1209
             // return this.tableAdvice
1210 1210
           }
1211 1211
           if (tableAdvice.length === 5) {
1212 1212
             console.log('6666666',tableAdvice.length);
1213
-            var obj = { advice_name: "", start_time: "" };
1214
-            var obj1 = { advice_name: "", start_time: "" };
1215
-            var obj2 = { advice_name: "", start_time: "" };
1213
+            // var obj = { advice_name: "", start_time: "" };
1214
+            // var obj1 = { advice_name: "", start_time: "" };
1215
+            // var obj2 = { advice_name: "", start_time: "" };
1216 1216
 
1217
-            tableAdvice.push(obj);
1218
-            tableAdvice.push(obj1);
1219
-            tableAdvice.push(obj2);
1217
+            // tableAdvice.push(obj);
1218
+            // tableAdvice.push(obj1);
1219
+            // tableAdvice.push(obj2);
1220 1220
 
1221 1221
             this.tableAdvice = tableAdvice;
1222 1222
             // return this.tableAdvice
1223 1223
           }
1224
-          if (tableAdvice.length === 6) {
1225
-            console.log('6666666',tableAdvice.length);
1226
-            var obj = { advice_name: "", start_time: "" };
1227
-            tableAdvice.push(obj);
1224
+          // if (tableAdvice.length === 6) {
1225
+          //   console.log('6666666',tableAdvice.length);
1226
+          //   var obj = { advice_name: "", start_time: "" };
1227
+          //   tableAdvice.push(obj);
1228 1228
 
1229
-            this.tableAdvice = tableAdvice;
1230
-            // return this.tableAdvice
1231
-          }
1229
+          //   this.tableAdvice = tableAdvice;
1230
+          //   // return this.tableAdvice
1231
+          // }
1232 1232
 
1233
-          if (tableAdvice.length >7) {
1233
+          if (tableAdvice.length >5) {
1234 1234
             console.log('777777',tableAdvice);
1235 1235
             this.tableAdvice = tableAdvice;
1236 1236
 
@@ -1408,7 +1408,6 @@ export default {
1408 1408
   width: 100%;
1409 1409
   line-height: 25px;
1410 1410
   font-size: 14px;
1411
-
1412 1411
 }
1413 1412
 
1414 1413
 

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

@@ -1140,7 +1140,7 @@
1140 1140
                               : "mmHg"
1141 1141
                           }})
1142 1142
                         </td>
1143
-                        <td width="50">超滤量<br/>L</td>
1143
+                        <td width="50">超滤量<br/>ml</td>
1144 1144
                         <td width="200">病情变化及处理</td>
1145 1145
                       </tr>
1146 1146
 

+ 89 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1855,9 +1855,13 @@
1855 1855
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1856 1856
                            </span>
1857 1857
                         </td>
1858
-                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683"><br/>
1859
-                           <span v-if="org_id!=10644">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1860
-                           <span v-if="org_id==10644">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1858
+                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 || org_id == 0"><br/>
1859
+                           <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1860
+                           <span v-if="org_id==10644 || org_id == 0">
1861
+                              <span v-if="monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1862
+                              <span v-if="monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1863
+                              <span v-if="(monindex != monitors.length-1 && monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1864
+                           </span>
1861 1865
                           </td>
1862 1866
                         <td
1863 1867
                           v-if="
@@ -3363,8 +3367,8 @@
3363 3367
 
3364 3368
 
3365 3369
                   </div>
3366
-                  <div v-if="org_id!=0 && org_id!=10440">
3367
-                    <div class="inline_block" style="flex: 1">
3370
+                  <div v-if="org_id!=10440">
3371
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
3368 3372
                       穿刺护士:
3369 3373
                       <div
3370 3374
                         class="under_line"
@@ -3403,6 +3407,86 @@
3403 3407
                         />
3404 3408
                       </div>
3405 3409
                     </div>
3410
+
3411
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
3412
+                      换药护士:
3413
+
3414
+                      <div
3415
+                        class="under_line"
3416
+                        style="width: 90px; text-align: center"
3417
+                        v-if="org_id==10644"
3418
+                      >
3419
+                        <span
3420
+                          style="height: 30px; display: inline-block"
3421
+                          v-if="
3422
+                            setAdminUserES(
3423
+                              dialysisOrder == null
3424
+                                ? 0
3425
+                                : dialysisOrder.change_nurse
3426
+                            ) == ''
3427
+                          "
3428
+                        >
3429
+                          {{
3430
+                            getAdminUser(
3431
+                              dialysisOrder == null
3432
+                                ? 0
3433
+                                : dialysisOrder.change_nurse
3434
+                            )
3435
+                          }}</span
3436
+                        >
3437
+                        <img
3438
+                          style="height: 35px"
3439
+                          :src="
3440
+                            setAdminUserES(
3441
+                              dialysisOrder == null
3442
+                                ? 0
3443
+                                : dialysisOrder.change_nurse
3444
+                            )
3445
+                          "
3446
+                          alt=""
3447
+                          srcset=""
3448
+                          v-else
3449
+                        />
3450
+                      </div>
3451
+
3452
+                      <div
3453
+                        class="under_line"
3454
+                        style="width: 90px; text-align: center"
3455
+                        v-if="org_id!=10644"
3456
+                      >
3457
+                        <span
3458
+                          style="height: 30px; display: inline-block"
3459
+                          v-if="
3460
+                            setAdminUserES(
3461
+                              dialysisOrder == null
3462
+                                ? 0
3463
+                                : dialysisOrder.puncture_nurse
3464
+                            ) == ''
3465
+                          "
3466
+                        >
3467
+                          {{
3468
+                            getAdminUser(
3469
+                              dialysisOrder == null
3470
+                                ? 0
3471
+                                : dialysisOrder.puncture_nurse
3472
+                            )
3473
+                          }}</span
3474
+                        >
3475
+                        <img
3476
+                          style="height: 35px"
3477
+                          :src="
3478
+                            setAdminUserES(
3479
+                              dialysisOrder == null
3480
+                                ? 0
3481
+                                : dialysisOrder.puncture_nurse
3482
+                            )
3483
+                          "
3484
+                          alt=""
3485
+                          srcset=""
3486
+                          v-else
3487
+                        />
3488
+                      </div>
3489
+                    </div>
3406 3490
                   </div>
3407 3491
 
3408 3492
                   <div v-if="org_id==0||org_id==10440">

+ 12 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue View File

@@ -226,13 +226,13 @@
226 226
                 <span v-else>/</span>
227 227
               </div>
228 228
               <span v-if="prescription.anticoagulant_name == '肝素钠'">mg</span>
229
-              <span v-if="prescription.anticoagulant_name == '枸橼酸钠'">mg</span>
229
+              <!-- <span v-if="prescription.anticoagulant_name == '枸橼酸钠'">mg</span>
230 230
               <span v-if="prescription.anticoagulant_name == '阿加曲班'">mg</span>
231 231
               <span v-if="prescription.anticoagulant_name == '低分子肝素'">iu</span>
232 232
               <span v-if="prescription.anticoagulant_name == '普通肝素'">mg</span>
233 233
               <span v-if="prescription.anticoagulant_name == '无肝素'">mg</span>
234 234
               <span v-if="prescription.anticoagulant_name == '低分子肝素钙'">iu</span>
235
-              <span v-if="prescription.anticoagulant_name == '低分子肝素钠'">iu</span>
235
+              <span v-if="prescription.anticoagulant_name == '低分子肝素钠'">iu</span> -->
236 236
               <!-- <span v-else>mg</span>   -->
237 237
             </div>
238 238
             <div class="inline_block" style="flex: 1;">
@@ -247,13 +247,13 @@
247 247
                 <span v-else>/</span>
248 248
               </div>
249 249
               <span v-if="prescription.anticoagulant_name == '肝素钠'">mg/h</span>
250
-              <span v-if="prescription.anticoagulant_name == '枸橼酸钠'">ml/h</span>
250
+              <!-- <span v-if="prescription.anticoagulant_name == '枸橼酸钠'">ml/h</span>
251 251
               <span v-if="prescription.anticoagulant_name == '阿加曲班'">mg/h</span>
252 252
               <span v-if="prescription.anticoagulant_name == '低分子肝素'">iu/h</span>
253 253
               <span v-if="prescription.anticoagulant_name == '普通肝素'">mg/h</span>
254 254
               <span v-if="prescription.anticoagulant_name == '无肝素'">mg/h</span>
255 255
               <span v-if="prescription.anticoagulant_name == '低分子肝素钙'">iu/h</span>
256
-              <span v-if="prescription.anticoagulant_name == '低分子肝素钠'">iu/h</span>
256
+              <span v-if="prescription.anticoagulant_name == '低分子肝素钠'">iu/h</span> -->
257 257
               <!-- <span v-else>mg/h</span> -->
258 258
             </div>
259 259
             <div class="inline_block" style="flex: 1">
@@ -549,7 +549,7 @@
549 549
                 <td width="50">UFR<br/>ml/h</td>
550 550
                 <td width="50">UF<br/>ml</td>
551 551
                 <td width="65">剩余肝素<br/>ml</td>
552
-                <td width="65" v-if="prescription.mode == 'HDF'">置换量<br/>L</td>
552
+                <td width="65" v-if="prescription.mode == 'HDF'">置换量<br/>L</td>
553 553
                 <td width="200">病情变化</td>
554 554
               </tr>
555 555
               <tr v-for="(monitor, monindex) in monitors" :key="monindex" style="padding: 5px 0;line-height: 35px;">
@@ -612,7 +612,7 @@
612 612
                 </td>
613 613
                 <!--  -->
614 614
                 <td width="65" v-if="prescription.mode == 'HDF'">
615
-                  {{monitor.displacement_quantity ? monitor.displacement_quantity : '/'}}
615
+                  {{monitor.displacement_quantity_one ? monitor.displacement_quantity_one : '/'}}
616 616
                 </td>
617 617
                 <td width="200">
618 618
                   <template v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">
@@ -633,7 +633,8 @@
633 633
               <div class="under_line"
634 634
                 style="width: 90px; text-align: center"
635 635
               >
636
-                <span style="height: 30px; display: inline-block"
636
+              <span style="height: 30px;display: inline-block;"></span>
637
+                <span style="display: inline-block"
637 638
                   v-if="
638 639
                     setAdminUserES(
639 640
                       dialysisOrder == null
@@ -670,7 +671,8 @@
670 671
               <div class="under_line"
671 672
                 style="width: 90px; text-align: center"
672 673
               >
673
-                <span style="height: 30px; display: inline-block"
674
+                <span style="height: 30px;display: inline-block;"></span>
675
+                <span style="display: inline-block"
674 676
                   v-if="
675 677
                     setAdminUserES(
676 678
                       dialysisOrder == null
@@ -707,7 +709,8 @@
707 709
               <div class="under_line"
708 710
                 style="width: 90px; text-align: center"
709 711
               >
710
-                <span style="height: 30px; display: inline-block" v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
712
+                <span style="height: 30px;display: inline-block;"></span>
713
+                <span style=" display: inline-block" v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
711 714
                   {{ getAdminUser(check == null ? 0 : check.modifier) ? getAdminUser(check == null ? 0 : check.modifier) : "" }}
712 715
                 </span>
713 716
                 <img :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" style="height:30px" v-else />

+ 8 - 1
src/xt_pages/management/components/UserForm.vue View File

@@ -846,7 +846,7 @@
846 846
                   机表(床单元、床旁桌)消毒
847 847
                 </td>
848 848
                 <td
849
-                  :colspan="6"
849
+                  :colspan="7"
850 850
                   style="text-align:center;font-size:15px"
851 851
                 >
852 852
                   液路消毒
@@ -905,6 +905,9 @@
905 905
                 <td style="text-align:center;min-width:40px;font-size:15px">
906 906
                   消毒时长/min
907 907
                 </td>
908
+                <td style="text-align:center;min-width:40px;font-size:15px">
909
+                  结束消毒时间
910
+                </td>
908 911
                 <td style="text-align:center;min-width:40px;font-size:15px">
909 912
                   消毒状态
910 913
                 </td>
@@ -959,6 +962,10 @@
959 962
                 <td style="text-align:center;font-size:15px;height:30px">
960 963
                   {{ item.long_time }}
961 964
                 </td>
965
+
966
+                <td style="text-align:center;font-size:15px;height:30px">
967
+                  {{ getTimesTwo(item.disinfec_endtime) }}
968
+                </td>
962 969
                 <td style="text-align:center;font-size:15px;height:30px">
963 970
                   {{ item.disinfection_status }}
964 971
                 </td>

+ 65 - 13
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -22,8 +22,7 @@
22 22
           org_id == 10028 ||
23 23
           org_id == 10278 ||
24 24
           org_id == 10610 ||
25
-          org_id==10537 ||
26
-          org_id==0
25
+          org_id==10537 
27 26
         "
28 27
       >
29 28
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
@@ -66,18 +65,21 @@
66 65
       <!-- 广水原生堂 -->
67 66
       <printfourteen :info="info" v-if="(org_id == 10088 ) && this.paramsObj.balance_accounts_type == 1"></printfourteen>
68 67
       <!-- 盱眙恒硕 -->
69
-      <printfivetheen :info="info" v-if="org_id == 10633 || org_id == 0"></printfivetheen>
68
+      <printfivetheen :info="info" v-if="org_id == 10633"></printfivetheen>
69
+      <!-- 顺有好 -->
70
+      <printSixtheen :info="info" v-if="org_id == 10697 || org_id == 0"></printSixtheen>
71
+
70 72
       <printOne :info="info" v-if=" org_id != 9990 &&
71 73
             org_id != 10138 &&
72 74
             org_id != 9504 &&
73 75
             org_id != 10028 &&
74
-            org_id != 0 &&   org_id != 10610 && org_id !=10537 &&
76
+            org_id != 0 &&   org_id != 10610 && org_id !=10537 && org_id !=10697 &&
75 77
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&org_id != 10510 &&org_id != 10088 &&org_id != 10633 &&org_id != 0  && this.paramsObj.balance_accounts_type == 1">
76 78
       </printOne>
77 79
       <privateChargePrint :info="info" v-if="org_id != 9990 &&
78 80
             org_id != 10138 &&
79 81
             org_id != 9504 &&
80
-            org_id != 10028 &&
82
+            org_id != 10028 && org_id !=10697 &&
81 83
             org_id != 10278 && org_id != 10610 && org_id !=10537 && org_id != 10387 && org_id != 10191 &&org_id != 10210 &&org_id != 10485  &&org_id != 10480 &&org_id != 10510 &&org_id != 10633 && org_id != 0 && this.paramsObj.balance_accounts_type == 2">
82 84
       </privateChargePrint>
83 85
 
@@ -106,6 +108,7 @@ import printtwelve from './statementTemplate/printtwelve'
106 108
 import printthirteen from './statementTemplate/printthirteen'
107 109
 import printfourteen from './statementTemplate/printfourteen'
108 110
 import printfivetheen from './statementTemplate/printfivetheen'
111
+import printSixtheen from './statementTemplate/printSixtheen'
109 112
 export default {
110 113
   name: 'dialysisPrintOrder',
111 114
   components: {
@@ -125,6 +128,7 @@ export default {
125 128
     printthirteen,
126 129
     printfourteen,
127 130
     printfivetheen,
131
+    printSixtheen
128 132
   },
129 133
   props: {
130 134
     paramsObj: Object
@@ -729,6 +733,7 @@ export default {
729 733
     searchAction() {
730 734
     },
731 735
     getInfo(order_id, obj) {
736
+      console.log('obj.balance_accounts_type',obj.balance_accounts_type);
732 737
       if (obj.balance_accounts_type == 2) {
733 738
         let params = {
734 739
           his_patient_id: obj.his_patient_id,
@@ -738,7 +743,7 @@ export default {
738 743
         }
739 744
         if (
740 745
           this.org_id == 10138 ||
741
-          this.org_id == 10278 ||  this.org_id == 10610 || this.org_id == 0
746
+          this.org_id == 10278 ||  this.org_id == 10610
742 747
         ) {
743 748
           getPrivateExpenses(params).then((response) => {
744 749
             if (response.data.state == 0) {
@@ -811,9 +816,9 @@ export default {
811 816
               this.balanceAccounts.new_detail_list.push(obj3)
812 817
               // this.balanceAccounts.new_detail_list.push(obj4)
813 818
 
814
-              console.log(111, this.balanceAccounts)
819
+              // console.log(111, this.balanceAccounts)
815 820
               this.num = num
816
-              console.log('this.num', this.num)
821
+              // console.log('this.num', this.num)
817 822
             }
818 823
           })
819 824
         } else if (this.org_id == 10028  || this.org_id == 9504) {
@@ -951,7 +956,7 @@ export default {
951 956
               that.info['his'] = response.data.data.his
952 957
               that.info['dia_config'] = response.data.data.dia_config
953 958
 
954
-
959
+              let listarr = []
955 960
               for (let i = 0; i < response.data.data.order_infos.length; i++) {
956 961
                 if (response.data.data.order_infos[i].advice_id > 0 && response.data.data.order_infos[i].project_id == 0) {
957 962
                   response.data.data.order_infos[i].med_chrgitm_type = '09'
@@ -969,10 +974,56 @@ export default {
969 974
                     response.data.data.order_infos[i].med_chrgitm_type = '08'
970 975
                   }
971 976
                 }
977
+                let order = response.data.data.order_infos[i]
978
+                let obj = {
979
+                  name: '',
980
+                  spec: '',
981
+                  cnt: '',
982
+                  det_item_fee_sumamt: ''
983
+                }
984
+
985
+                if (order.advice_id > 0 && order.project_id == 0) {
986
+                  obj.name = order.advice.advice_name
987
+                  let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
988
+                  obj.spec = spec
989
+                  obj.cnt = order.cnt
990
+                  obj.det_item_fee_sumamt = order.det_item_fee_sumamt
991
+                  listarr.push(obj)
992
+
993
+                } else if (order.advice_id == 0 && order.project_id > 0) {
994
+                  if (order.project.type == 2) {
995
+                    obj.name = order.project.project.project_name
996
+                    obj.spec = ''
997
+                    obj.cnt = order.cnt
998
+                    obj.det_item_fee_sumamt = order.det_item_fee_sumamt
999
+
1000
+                  } else {
1001
+                    obj.name = order.project.good_info.good_name
1002
+                    obj.spec = order.project.good_info.specification_name
1003
+                    obj.cnt = order.cnt
1004
+                    obj.det_item_fee_sumamt = order.det_item_fee_sumamt
1005
+                  }
1006
+                  listarr.push(obj)
1007
+                }
972 1008
               }
973
-              console.log(response.data.data.order_infos)
974
-              console.log(that.info)
1009
+              let len = Math.ceil(listarr.length / 2)
1010
+              let L_list = []
1011
+              let R_list = []
1012
+              for(let i in listarr){
1013
+                if(i<len){
1014
+                  L_list.push(listarr[i])
1015
+                }else{
1016
+                  R_list.push(listarr[i])
1017
+                }
1018
+              }
1019
+              console.log('L_list111',L_list)
1020
+              console.log('R_list222',R_list)
975 1021
 
1022
+              that.info['L_list'] = L_list
1023
+              that.info['R_list'] = R_list
1024
+
1025
+              console.log(response.data.data.order_infos)
1026
+              console.log('that.info',that.info)
976 1027
               var list = []
977 1028
               //获取所有项目类型进行去重
978 1029
               let med_chrgitm_types = []
@@ -1016,6 +1067,7 @@ export default {
1016 1067
                 list.push(obj9)
1017 1068
               }
1018 1069
               that.info['new_list'] = list
1070
+              // that.info['listarr'] = listarr
1019 1071
               // list.sort((a,b) => a.sort < b.sort ? 1 : a.sort > b.sort ? -1 : 0)
1020 1072
 
1021 1073
               let obj = {
@@ -1086,8 +1138,8 @@ export default {
1086 1138
           })
1087 1139
         }
1088 1140
       } else {
1089
-        console.log(this.org_id)
1090
-        if (this.org_id == 1111111111) {
1141
+        console.log('1111111',this.org_id)
1142
+        if (this.org_id == 0) {
1091 1143
           let params = {
1092 1144
             order_id: obj.order_id,
1093 1145
             admin_user_id: this.$store.getters.xt_user.user.id

+ 313 - 0
src/xt_pages/outpatientCharges/statementTemplate/printSixtheen.vue View File

@@ -0,0 +1,313 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+     <div class="statementTitle">南昌顺友好血液透析中心</div>
4
+     <div style="text-align: center;font-size: 17px;">门 &nbsp;诊 &nbsp;结 &nbsp;帐 &nbsp;票 &nbsp;据</div>
5
+     <div style="border: 1px solid black;width: 100%;">
6
+        <div style="border-bottom:1px solid black;display: flex;padding: 5px;">
7
+            <div style="flex: 1;">姓名:{{info.patient.name}}</div>
8
+            <div style="flex: 1;">门诊日期:{{getTime(info.date)}}</div>
9
+            <div style="flex: 1;">医疗类型:{{getmed_type(info.med_type) }}</div>
10
+            <div style="flex: 1;">健康ID:{{ info.patient.dialysis_no }}</div>
11
+            <div style="flex: 1;">门诊单据号:{{info.id}}</div>
12
+        </div>
13
+        <div style="border-bottom:1px solid black;display: flex;padding: 5px;">
14
+            <div style="flex: 1;">医保编码:</div>
15
+            <div style="flex: 1;">刷卡前余额:</div>
16
+            <div style="flex: 1;">刷卡后余额:</div>
17
+        </div>
18
+        <div style="border-bottom:1px solid black;display: flex;text-align: center;">
19
+          <div style="width: 30%;border-right:1px solid black;padding: 5px 0;">项目/规格</div>
20
+          <div style="width: 10%;border-right:1px solid black;padding: 5px 0;">数量</div>
21
+          <div style="width: 10%;border-right:1px solid black;padding: 5px 0;">金额</div>
22
+          <div style="width: 30%;border-right:1px solid black;padding: 5px 0;">项目/规格</div>
23
+          <div style="width: 10%;border-right:1px solid black;padding: 5px 0;">数量</div>
24
+          <div style="width: 10%;padding: 5px 0;">金额</div>
25
+        </div>
26
+        <div style="border-bottom:1px solid black;text-align: center;min-height: 100px;" >
27
+          <div style="display: flex;">
28
+            <div style="flex: 1;">
29
+              <div style="display: flex;width: 100%;line-height: 20px;" v-for="(item,index) in info.L_list" :key="index">
30
+                <div style="width: 60%;">{{ item.name }}</div>
31
+                <div style="width: 20%;">{{item.cnt}}</div>
32
+                <div style="width: 20%;">{{ item.det_item_fee_sumamt }}</div>
33
+              </div>
34
+            </div>
35
+            <div style="flex: 1;" >
36
+              <div style="display: flex;width: 100%;line-height: 20px;" v-for="(item,index) in info.R_list" :key="index">
37
+                <div style="width: 60%;">{{ item.name }}</div>
38
+                <div style="width: 20%;">{{item.cnt}}</div>
39
+                <div style="width: 20%;">{{ item.det_item_fee_sumamt }}</div>
40
+              </div>
41
+            </div>
42
+          </div>
43
+        </div>
44
+        <div style="">
45
+          <div style="display: flex;padding: 5px;line-height: 30px;">
46
+            <div style="flex: 1;">基本统筹:{{info.hifp_pay}}</div>
47
+            <div style="flex: 1;">公务员补助:</div>
48
+            <div style="flex: 1;">大病基金支付:{{info.hifmi_pay}}</div>
49
+            <div style="flex: 1;">个人账户支付:{{info.acct_pay}}</div>
50
+            <div style="flex: 1;">医保个人现金:{{info.fund_pay_sumamt}}</div>
51
+          </div>
52
+          <div style="display: flex;padding: 5px;line-height: 30px;">
53
+            <div style="flex: 2;">费用总额(大写):{{getmoney(info.medfee_sumamt)}}</div>
54
+            <div style="flex: 1;">小写:{{info.medfee_sumamt}}</div>
55
+            <div style="flex: 1;">现金支付:{{info.psn_cash_pay}}</div>
56
+          </div>
57
+        </div>
58
+     </div>
59
+     <div style="display: flex;margin: 5px 0;">
60
+        <div style="flex: 1;">收款单位:南昌顺友好血液透析中心</div>
61
+        <div style="flex: 1;">开单科室:血透室</div>
62
+        <div style="flex: 1;">收款人:{{info.charge_admin.user_name}}</div>
63
+        <div style="flex: 1;">结账日期:{{info.setl_time}}</div>
64
+     </div>
65
+    <!--<div style="margin: 10px 0;">医疗机构名称:
66
+      {{info.fixmedins_name}}
67
+    </div>
68
+    <div style="display: flex;margin-bottom: 10px;">
69
+      <div style="flex: 1;">结算ID:
70
+        {{info.setl_id}}
71
+      </div>
72
+      <div style="flex: 1;">参保险种:
73
+        <span v-if="info.insutype == '310'">职工基本医疗保险</span>
74
+        <span v-if="info.insutype == '320'">公务员医疗补助</span>
75
+        <span v-if="info.insutype == '330'">大额医疗费用补助</span>
76
+        <span v-if="info.insutype == '340'">离休人员医疗保障</span>
77
+        <span v-if="info.insutype == '390'">城乡居民基本医疗保险</span>
78
+        <span v-if="info.insutype == '392'">城乡居民大病医疗保险</span>
79
+        <span v-if="info.insutype == '510'">生育保险</span>
80
+      </div>
81
+    </div>
82
+  
83
+    <table class="statementTable" border="1" style="text-align: left;">
84
+      <tr>
85
+        <td>患者姓名:{{info.patient.name}}</td>
86
+        <td>性别:{{ info.gend == '1' ? '男':'女' }}</td>
87
+        <td>年龄:{{info.patient.age}}</td>
88
+        <td>身份证号:{{info.certno}}</td>
89
+        <td>医保区划:</td>
90
+      </tr>
91
+      <tr>
92
+        <td colspan="3">个人编号:{{info.patient.id_card_no}}</td>
93
+        <td colspan="2">单位或地址:{{info.patient.home_address}}</td>
94
+      </tr>
95
+      <tr>
96
+        <td colspan="2">联系电话:{{info.patient.phone}}</td>
97
+        <td colspan="2">人员类别:
98
+          <span  v-if="info.psn_type == '11'">在职</span>
99
+          <span  v-else-if="info.psn_type == '1101'">职工在职</span>
100
+          <span  v-else-if="info.psn_type == '1102'">公务员在职</span>
101
+          <span  v-else-if="info.psn_type == '1103'">灵活就业人员在职</span>
102
+          <span  v-else-if="info.psn_type == '1160'">地方其他扩展人员</span>
103
+
104
+
105
+          <span  v-else-if="info.psn_type == '12'">退休人员</span>
106
+          <span  v-else-if="info.psn_type == '1201'">职工退休</span>
107
+          <span  v-else-if="info.psn_type == '1202'">公务员退休</span>
108
+          <span  v-else-if="info.psn_type == '1203'">灵活就业人员退休</span>
109
+          <span  v-else-if="info.psn_type == '1260'">地方其他扩展人员</span>
110
+
111
+
112
+          <span  v-else-if="info.psn_type == '13'">离休</span>
113
+          <span  v-else-if="info.psn_type == '1300'">离休人员</span>
114
+          <span  v-else-if="info.psn_type == '1360'">地方其他扩展人员</span>
115
+
116
+          <span  v-else-if="info.psn_type == '14'">居民(未成年)</span>
117
+          <span  v-else-if="info.psn_type == '1401'">新生儿</span>
118
+          <span  v-else-if="info.psn_type == '1402'">学龄前儿童</span>
119
+          <span  v-else-if="info.psn_type == '1403'">中小学生</span>
120
+          <span  v-else-if="info.psn_type == '1404'">大学生</span>
121
+          <span  v-else-if="info.psn_type == '1405'">未成年(未入学)</span>
122
+
123
+
124
+          <span  v-else-if="info.psn_type == '15'">居民(成年)</span>
125
+          <span  v-else-if="info.psn_type == '1501'">普通居民(成年)</span>
126
+          <span  v-else-if="info.psn_type == '1560'">地方其他扩展身份</span>
127
+
128
+          <span  v-else-if="info.psn_type == '16'">居民(老年)</span>
129
+          <span v-else></span>
130
+
131
+        </td>
132
+        <td colspan="1">门诊号:{{info.number}}</td>
133
+      </tr>
134
+      <tr>
135
+        <td colspan="2">医疗类别:门诊特殊病</td>
136
+        <td >就诊ID:</td>
137
+        <td >离院方式:</td>
138
+        <td>科室:医生组</td>
139
+      </tr>
140
+      <tr>
141
+        <td colspan="2">病种名称:</td>
142
+        <td colspan="2">就诊时间:{{getTime(info.new_order.settle_accounts_date)}}</td>
143
+        <td colspan="1">就诊天数:0</td>
144
+      </tr>
145
+      <tr>
146
+        <td colspan="5">诊断:{{info.diagnosis}}</td>
147
+      </tr>
148
+      <tr>
149
+        <td colspan="2">总费用:{{info.medfee_sumamt}}</td>
150
+        <td>全自费:</td>
151
+        <td>先行自付:{{info.preselfpay_amt}}</td>
152
+        <td>政策范围金额:
153
+          <span v-for="item in info.funds">
154
+            {{item.insp_pay}}
155
+          </span>
156
+        </td>
157
+      </tr>
158
+      <tr>
159
+        <td colspan="4">报销合计:</td>
160
+        <td>起付线:{{info.act_pay_dedc}}</td>
161
+      </tr>
162
+      <tr>
163
+        <td colspan="2">基本医疗:</td>
164
+        <td>大病保险:{{info.new_order.hifmi_pay}}</td>
165
+        <td>大病补充:</td>
166
+        <td>医疗救助支付额:{{info.order.maf_pay}}</td>
167
+      </tr>
168
+      <tr>
169
+        <td colspan="3">健康扶贫:</td>
170
+        <td>医院承担金额:</td>
171
+        <td>其他基金:{{info.oth_pay}}</td>
172
+      </tr>
173
+      <tr>
174
+        <td colspan="3">个人支付总额:{{ info.order.psn_cash_pay}}</td>
175
+        <td>帐户支付:</td>
176
+        <td>个人现金:{{info.new_order.psn_cash_pay}}</td>
177
+      </tr>
178
+      <tr>
179
+        <td width="10%">报销说明</td>
180
+        <td colspan="4"></td>
181
+      </tr>
182
+    </table>
183
+    <div style="display: flex;margin-top: 10px;">
184
+      <div style="flex: 1;">打印人:{{ info.printor_admin.user_name }} </div>
185
+      <div style="flex: 1;">打印日期:{{getNowTime()}}</div>
186
+    </div> -->
187
+
188
+  </div>
189
+</template>
190
+<script>
191
+ import { uParseTime,numToCny } from '@/utils/tools'
192
+  export default {
193
+    props: {
194
+      info: {
195
+        type: Object,
196
+        default: function() {
197
+          return {}
198
+        }
199
+      }, p_admin: {
200
+        type: Object,
201
+        default: function() {
202
+          return {}
203
+        }
204
+      }, charge_admin: {
205
+        type: Object,
206
+        default: function() {
207
+          return {}
208
+        }
209
+      }
210
+    },
211
+    data(){
212
+      return{
213
+        med_typearr:[{id:11,name:'普通门诊'},{id:12,name:'门诊挂号'},{id:13,name:'急诊'},{id:14,name:'门诊特殊病'},
214
+                    {id:15,name:'门诊统筹'},{id:16,name:'门诊慢性病'},{id:17,name:'普通住院'}],
215
+      }
216
+      
217
+    },
218
+    methods:{
219
+      getBirth(idNo){
220
+        var year = idNo.substring(6, 10);
221
+        var month = idNo.substring(10, 12);
222
+        var day = idNo.substring(12, 14);
223
+        return  year + '-' + month + '-' + day;
224
+      },
225
+      getDay(dateString1,dateString2){
226
+          var  startDate = Date.parse(dateString1);
227
+          var  endDate = Date.parse(dateString2);
228
+          if (startDate>endDate){
229
+            return 0;
230
+          }
231
+          if (startDate==endDate){
232
+            return 1;
233
+          }
234
+          var days=(endDate - startDate)/(1*24*60*60*1000);
235
+          return  days;
236
+
237
+        },
238
+      getNowTime: function () {
239
+        let dateTime;
240
+        let yy = new Date().getFullYear();
241
+        let mm = new Date().getMonth() + 1;
242
+        let dd = new Date().getDate();
243
+        let hh = new Date().getHours();
244
+        let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
245
+          :
246
+          new Date().getMinutes();
247
+        let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
248
+          :
249
+          new Date().getSeconds();
250
+        dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss;
251
+        return dateTime
252
+      },
253
+      getTime(val) {
254
+        if (val < 0) {
255
+          return ""
256
+        }
257
+        if (val == "") {
258
+          return ""
259
+        } else {
260
+          return uParseTime(val, '{y}-{m}-{d}')
261
+        }
262
+      },
263
+      getmoney(value){
264
+        // if(vlaue == ''){
265
+
266
+        // }else{
267
+          return numToCny(value)
268
+        // }
269
+        
270
+      },
271
+      getmed_type(ids){
272
+        const options = this.med_typearr
273
+        for(let i in options){
274
+          if(options[i].id == ids){
275
+            return options[i].name
276
+          }
277
+        }
278
+      }
279
+    },
280
+    created(){
281
+      console.log('bbbbbbb',this.info);
282
+    }
283
+  }
284
+
285
+
286
+</script>
287
+
288
+
289
+<style lang="scss" scoped>
290
+  .statement-print {
291
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
292
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
293
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
294
+    margin-bottom: 20px;
295
+    padding: 20px 10px;
296
+  }
297
+
298
+  .statementTitle {
299
+    font-size: 28px;
300
+    text-align: center;
301
+    font-weight: bold;
302
+    margin-bottom: 10px;
303
+  }
304
+
305
+  .statementTable {
306
+    width: 100%;
307
+    // text-align: center;
308
+    border-collapse: collapse;
309
+    line-height: 40px;
310
+    font-size: 14px;
311
+    border-color: #000;
312
+  }
313
+</style>

+ 7 - 7
src/xt_pages/outpatientCharges/summaryDetail.vue View File

@@ -106,13 +106,13 @@
106 106
           </ul>
107 107
           <p class="centerRightTitle" style="margin-top:10px;">收费信息</p>
108 108
           <ul >
109
-            <li style="width:30%;">医疗费总额:{{order.medfee_sumamt.toFixed(2) }}元</li>
110
-            <li style="width:30%;">基金支付总额:{{order.fund_pay_sumamt.toFixed(2)}}元</li>
111
-            <li style="width:30%;">基本医疗保险统筹基金支出:{{order.hifp_pay}}元</li>
112
-            <li style="width:30%;">医疗救助基金支出:{{order.maf_pay.toFixed(2)}}元</li>
113
-            <li style="width:30%;">个人账户支付金额:{{ order.acct_pay}}</li>
114
-            <li v-if="this.hisPatientInfo.balance_accounts_type == 2" style="width:30%;">个人支付金额:{{order.medfee_sumamt.toFixed(2) }}元</li>
115
-            <li v-else="this.hisPatientInfo.balance_accounts_type == 2" style="width:30%;">个人支付金额:{{order.psn_cash_pay.toFixed(2)}}元</li>
109
+            <li style="width:90%;line-height: 25px;">医疗费总额:{{order.medfee_sumamt.toFixed(2) }}元</li>
110
+            <li style="width:90%;line-height: 25px;">基金支付总额:{{order.fund_pay_sumamt.toFixed(2)}}元</li>
111
+            <li style="width:90%;line-height: 25px;">基本医疗保险统筹基金支出:{{order.hifp_pay}}元</li>
112
+            <li style="width:90%;line-height: 25px;">医疗救助基金支出:{{order.maf_pay.toFixed(2)}}元</li>
113
+            <li style="width:90%;line-height: 25px;">个人账户支付金额:{{ order.acct_pay}}</li>
114
+            <li v-if="this.hisPatientInfo.balance_accounts_type == 2" style="width:90%;line-height: 25px;">个人支付金额:{{order.medfee_sumamt.toFixed(2) }}元</li>
115
+            <li v-else="this.hisPatientInfo.balance_accounts_type == 2" style="width:90%;line-height: 25px;">个人支付金额:{{order.psn_cash_pay.toFixed(2)}}元</li>
116 116
           </ul>
117 117
 
118 118
         </div>

+ 1 - 1
src/xt_pages/outpatientTool/components/pdetail.vue View File

@@ -71,7 +71,7 @@
71 71
               highlight-current-row
72 72
               show-summary>
73 73
 
74
-      <el-table-column align="center" prop="name" label="患者名字">
74
+      <el-table-column align="center" prop="name" label="患者名字" fixed>
75 75
         <template slot-scope="scope">{{ scope.row.name }}</template>
76 76
       </el-table-column>
77 77
       <el-table-column align="center" prop="name" label="处方日期">

+ 1 - 1
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -58,7 +58,7 @@
58 58
                 :summary-method="getTotal"
59 59
                 highlight-current-row>
60 60
 
61
-          <el-table-column align="center" prop="name" label="患者名字">
61
+          <el-table-column align="center" prop="name" label="患者名字" fixed>
62 62
               <template slot-scope="scope">{{ scope.row.other_name }}</template>
63 63
           </el-table-column>
64 64
         <el-table-column align="center" prop="item_name" label="身份证">

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue View File

@@ -7,7 +7,7 @@
7 7
     </div>
8 8
     <div class="app-container ">
9 9
       <div id="dialysis-print-box">
10
-        <div v-if="orgId!=9671 && orgId!=9675 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877 && orgId!=10387 && orgId!=0">
10
+        <div v-if="orgId!=9671 && orgId!=9675 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877 && orgId!=10387 && orgId!=0  && orgId!=10697">
11 11
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
12 12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
13 13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -78,7 +78,7 @@
78 78
       </div> 
79 79
 
80 80
 
81
-      <div v-if="orgId == 9671 || orgId == 9675 ||  orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877 || orgId == 0 || orgId ==10387">
81
+      <div v-if="orgId == 9671 || orgId == 9675 ||  orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877 || orgId == 0 || orgId ==10387 || orgId == 10697">
82 82
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
83 83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
84 84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>

+ 25 - 17
src/xt_pages/stock/selfPreparedMedicine/addWarehouseOut.vue View File

@@ -51,7 +51,7 @@
51 51
           <label class="title"><span class="name">出库</span> : </label>
52 52
           <el-date-picker
53 53
             size="small"
54
-            v-model="warehousing_time"
54
+            v-model="warehouse_out_time"
55 55
             prefix-icon="el-icon-date"
56 56
             :editable="false"
57 57
             style="width: 196px"
@@ -175,14 +175,14 @@
175 175
               <template slot-scope="scope">
176 176
                 <el-form-item
177 177
                   :prop="'recordData.' + scope.$index + '.warehousing_count'"
178
-                  :rules="tableRules.warehousing_count"
178
+                  :rules="tableRules.count"
179 179
                   style="padding-top: 10px"
180 180
                 >
181 181
                   <div style="display: flex">
182 182
                   
183 183
                     <el-input
184 184
                       placeholder="请输入入库数量"
185
-                      v-model="scope.row.warehousing_count"
185
+                      v-model="scope.row.count"
186 186
                       style="width: 120px"
187 187
                     ></el-input>
188 188
                   
@@ -377,7 +377,7 @@
377 377
           { path: false, name: "新增入库单" },
378 378
         ],
379 379
         signAndWeighBoxPatients: "sign-and-weigh-box-patients",
380
-        warehousing_time: "",
380
+        warehouse_out_time: "",
381 381
         adminUserOptions: null,
382 382
         currentIndex: 0,
383 383
         listLoading: false,
@@ -629,27 +629,33 @@
629 629
       handleEdit: function (index, row) {
630 630
         const tempObj = {};
631 631
         tempObj["id"] = 0;
632
-        tempObj["drug_name"] = "";
633 632
         tempObj["drug_id"] = 0;
634
-        tempObj["number"] = "";
635
-        tempObj["product_date"] = "";
636
-        tempObj["expiry_date"] = "";
637
-        tempObj["warehousing_count"] = "";
638
-        tempObj["retail_price"] = "";
633
+        tempObj["max_unit"] = "";
634
+        (tempObj["min_unit"] = ""), (tempObj["return_count"] = 0);
639 635
         tempObj["price"] = "";
640 636
         tempObj["remark"] = "";
641
-        tempObj["dealer"] = "";
642 637
         tempObj["manufacturer"] = "";
643
-        tempObj["min_unit"] = "";
644
-        tempObj["max_unit"] = "";
645
-        tempObj["drug_type"] = "";
646 638
         tempObj["batch_number"] = "";
639
+        tempObj["drug_type"] = "";
647 640
         tempObj["dose"] = "";
648 641
         tempObj["dose_unit"] = "";
642
+        tempObj["min_number"] = "";
649 643
         tempObj["dealer"] = "";
644
+        tempObj["number"] = "";
645
+        tempObj["warehouse_info_id"] = 0;
646
+        tempObj["count"] = "";
647
+        tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name;
648
+        tempObj["retail_price"] = 0;
650 649
         tempObj["last_price"] = "";
651
-        tempObj["count_unit"] = "";
652
-        tempObj["min_number"] = "";
650
+        tempObj["stock_count"] = "";
651
+        tempObj["total_count"] = 0;
652
+        tempObj["max_unit_fisrt"] = 0;
653
+        tempObj["min_unit_fisrt"] = 0;
654
+        tempObj["total_price"] = 0;
655
+        tempObj["patient_id"] = 0
656
+        tempObj["product_date"] = ""
657
+        tempObj["expiry_date"]=""
658
+        tempObj["class_type"] = ""
653 659
         this.recordInfo.recordData.push(tempObj);
654 660
       },
655 661
       handleDelete: function (index, row) {
@@ -815,6 +821,7 @@
815 821
             stockOut: this.recordInfo.recordData,
816 822
           };
817 823
           console.log("param22222222",params)
824
+        
818 825
           const loading = this.$loading({
819 826
             lock: true,
820 827
             text: "Loading",
@@ -1173,7 +1180,7 @@
1173 1180
       var nowYear = nowDate.getFullYear();
1174 1181
       var nowMonth = nowDate.getMonth() + 1;
1175 1182
       var nowDay = nowDate.getDate();
1176
-      this.warehousing_time =
1183
+      this.warehouse_out_time =
1177 1184
         nowYear +
1178 1185
         "-" +
1179 1186
         (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
@@ -1207,6 +1214,7 @@
1207 1214
         tempObj["patient_id"] = 0
1208 1215
         tempObj["product_date"] = ""
1209 1216
         tempObj["expiry_date"]=""
1217
+        tempObj["class_type"] = ""
1210 1218
         this.recordInfo.recordData.push(tempObj);
1211 1219
         this.propForm.goodUnit = this.$store.getters.good_unit;
1212 1220
   

File diff suppressed because it is too large
+ 1236 - 0
src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue


+ 6 - 0
src/xt_pages/stock/selfPreparedMedicine/warehouseInfo.vue View File

@@ -151,6 +151,12 @@
151 151
         <el-table-column align="center" type="selection" width="55">
152 152
         </el-table-column>
153 153
 
154
+        <el-table-column label="入库时间" align="center">
155
+          <template slot-scope="scope">
156
+             {{ getTime(scope.row.record_date)}}
157
+          </template>
158
+        </el-table-column>
159
+
154 160
         <el-table-column label="药品名称" align="center">
155 161
           <template slot-scope="scope">
156 162
              {{ scope.row.drug.drug_name }}

File diff suppressed because it is too large
+ 877 - 2590
src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue


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

@@ -281,8 +281,14 @@
281 281
                 </el-checkbox-group>
282 282
               </el-form-item>
283 283
              </el-col>
284
+
285
+             <el-col :span="8">
286
+              <el-form-item label="家庭住址 : " prop="homeAddress">
287
+                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
288
+              </el-form-item>
289
+            </el-col>
284 290
             
285
-             <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
291
+             <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
286 292
                 <el-form-item
287 293
                   label="打印日期:"
288 294
                   label-width="150px"
@@ -634,11 +640,7 @@
634 640
                 ></el-input>
635 641
               </el-form-item>
636 642
             </el-col>
637
-            <el-col :span="8">
638
-              <el-form-item label="家庭住址 : " prop="homeAddress">
639
-                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
640
-              </el-form-item>
641
-            </el-col>
643
+           
642 644
 
643 645
             <div v-show="!generic_info_fold">
644 646
               <el-col :span="8">

+ 8 - 6
src/xt_pages/user/components/PatientForm.vue View File

@@ -333,7 +333,13 @@
333 333
               </el-form-item>
334 334
             </el-col>
335 335
 
336
-            <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
336
+            <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
337
+                <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
338
+                  <el-input v-model="form.homeAddress" style="width: 280px;"></el-input>
339
+                </el-form-item>
340
+            </el-col>
341
+
342
+            <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
337 343
                 <el-form-item
338 344
                   label="打印日期:"
339 345
                   label-width="150px"
@@ -676,11 +682,7 @@
676 682
                 </el-form-item>
677 683
               </el-col>
678 684
 
679
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
680
-                <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
681
-                  <el-input v-model="form.homeAddress" style="width: 350px;"></el-input>
682
-                </el-form-item>
683
-              </el-col>
685
+            
684 686
 
685 687
               <div v-show="!generic_info_fold">
686 688
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">