|
@@ -41,7 +41,8 @@
|
41
|
41
|
<div class="inline_block" style="margin-right:30px;">
|
42
|
42
|
机器编号
|
43
|
43
|
<div class="inline_block under_line" style="width:80px;">
|
44
|
|
- {{ record.device_zone.name && record.device_number.number ? record.device_zone.name + record.device_number.number : '' }}
|
|
44
|
+ {{ record.device_zone.name && record.device_number.number ? getNewNumber(record.device_zone.name,record.device_number.number) : '' }}
|
|
45
|
+ <!-- {{ record.device_zone.name && record.device_number.number ? record.device_zone.name + record.device_number.number : '' }} -->
|
45
|
46
|
</div>
|
46
|
47
|
</div>
|
47
|
48
|
<div class="inline_block" style="margin-right:30px;">
|
|
@@ -64,7 +65,7 @@
|
64
|
65
|
<div class="inline_block" style="margin-right:30px;">
|
65
|
66
|
年龄:
|
66
|
67
|
<div class="under_line" style="width: 50px;text-align: center">
|
67
|
|
- {{ getAge(record.patient) }}
|
|
68
|
+ {{ getNewAge(record.patient.id_card_no) }}
|
68
|
69
|
</div>
|
69
|
70
|
岁
|
70
|
71
|
</div>
|
|
@@ -112,7 +113,7 @@
|
112
|
113
|
抗凝药物
|
113
|
114
|
<div class="inline_block under_line" style="width:93%;text-align: left;">
|
114
|
115
|
<label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
|
115
|
|
- <label-box :isChecked="record.prescription.anticoagulant == 6 ? true : record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素"></label-box>
|
|
116
|
+ <label-box :isChecked="record.prescription.anticoagulant == 3 ? true : record.prescription.anticoagulant == 6 ? true : record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素"></label-box>
|
116
|
117
|
(<label-box :isChecked="record.prescription.anticoagulant == 6 ? true : false" showValue="钙"></label-box>
|
117
|
118
|
<label-box :isChecked="record.prescription.anticoagulant == 7 ? true : false" showValue="钠"></label-box>)
|
118
|
119
|
<div class="inline_block">
|
|
@@ -336,7 +337,7 @@
|
336
|
337
|
<td> {{monitor.dialysate_temperature ? monitor.dialysate_temperature : ''}}</td>
|
337
|
338
|
<td>
|
338
|
339
|
<span v-if="monitor.operate_time">
|
339
|
|
- {{ record.assessment_before_dislysis.dialysate_flow ? record.assessment_before_dislysis.dialysate_flow : "" }}
|
|
340
|
+ {{ record.prescription.dialysate_flow ? record.prescription.dialysate_flow : "" }}
|
340
|
341
|
</span>
|
341
|
342
|
</td>
|
342
|
343
|
<td> {{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
|
|
@@ -720,8 +721,34 @@ export default {
|
720
|
721
|
});
|
721
|
722
|
},
|
722
|
723
|
methods: {
|
|
724
|
+ getNewNumber(name,number){
|
|
725
|
+ if(name.indexOf("区") > -1){
|
|
726
|
+ return (
|
|
727
|
+ name + number
|
|
728
|
+ );
|
|
729
|
+ } else {
|
|
730
|
+ return (
|
|
731
|
+ name + "区" + number
|
|
732
|
+
|
|
733
|
+ );
|
|
734
|
+ }
|
|
735
|
+ },
|
|
736
|
+ getNewAge(UUserCard) {
|
|
737
|
+ if (UUserCard != null && UUserCard != '') {
|
|
738
|
+ //获取年龄
|
|
739
|
+ var myDate = new Date();
|
|
740
|
+ var month = myDate.getMonth() + 1;
|
|
741
|
+ var day = myDate.getDate();
|
|
742
|
+ var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1;
|
|
743
|
+ if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
|
|
744
|
+ age++;
|
|
745
|
+ }
|
|
746
|
+ return age;
|
|
747
|
+ }
|
|
748
|
+ },
|
723
|
749
|
getIsCheckDataConfig(pName, cName, targetName){
|
724
|
750
|
var arr = getDataConfig(pName,cName)
|
|
751
|
+ console.log(arr)
|
725
|
752
|
for (let i = 0; i < arr.length; i++){
|
726
|
753
|
if (arr[i].name == targetName){
|
727
|
754
|
return arr[i].id
|