|
@@ -21,7 +21,7 @@
|
21
|
21
|
|
22
|
22
|
<td width="50">年 龄:</td>
|
23
|
23
|
<td width="40">
|
24
|
|
- <div class="under-line">{{ getAge(patientInfo) }}</div>
|
|
24
|
+ <div class="under-line">{{ getNewAge(patientInfo.id_card_no) }}</div>
|
25
|
25
|
</td>
|
26
|
26
|
<td width='10'>岁</td>
|
27
|
27
|
<td width="30"></td>
|
|
@@ -760,7 +760,7 @@
|
760
|
760
|
</td>
|
761
|
761
|
<td width="20">Kg</td>
|
762
|
762
|
<td></td>
|
763
|
|
- <td width="95">透析器凝血:</td>
|
|
763
|
+ <td width="95">透析器堵塞:</td>
|
764
|
764
|
<td width="200">
|
765
|
765
|
<label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
|
766
|
766
|
<label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
|
|
@@ -840,7 +840,7 @@
|
840
|
840
|
<td width='40'>其他</td>
|
841
|
841
|
<td width='160'>
|
842
|
842
|
<div class="under-line">
|
843
|
|
- {{ ['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(afterdialysis.complication) == -1 ? afterdialysis.complication : '' }}
|
|
843
|
+ {{ afterdialysis.complication ? getComplication(afterdialysis.complication) : '' }}
|
844
|
844
|
</div>
|
845
|
845
|
</td>
|
846
|
846
|
<td></td>
|
|
@@ -888,7 +888,7 @@
|
888
|
888
|
<span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
|
889
|
889
|
</div>
|
890
|
890
|
</td>
|
891
|
|
- <td width="70">下机护士:</td>
|
|
891
|
+ <td width="70">护士签名:</td>
|
892
|
892
|
<td width="100">
|
893
|
893
|
<div class="under-line">
|
894
|
894
|
<span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
|
|
@@ -1075,6 +1075,38 @@ export default {
|
1075
|
1075
|
}
|
1076
|
1076
|
},
|
1077
|
1077
|
methods: {
|
|
1078
|
+ getNewAge(UUserCard) {
|
|
1079
|
+ if (UUserCard != null && UUserCard != '') {
|
|
1080
|
+ // 获取年龄
|
|
1081
|
+ var myDate = new Date()
|
|
1082
|
+ var month = myDate.getMonth() + 1
|
|
1083
|
+ var day = myDate.getDate()
|
|
1084
|
+ var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
|
|
1085
|
+ if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
|
|
1086
|
+ age++
|
|
1087
|
+ }
|
|
1088
|
+ return age
|
|
1089
|
+ }
|
|
1090
|
+ },
|
|
1091
|
+ getComplication(complication){
|
|
1092
|
+ if(complication.indexOf(',') == -1){
|
|
1093
|
+ let str = complication
|
|
1094
|
+ if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(str) == -1){
|
|
1095
|
+ return str
|
|
1096
|
+ }
|
|
1097
|
+ }else if(complication.indexOf(',') > -1){
|
|
1098
|
+ let str = complication
|
|
1099
|
+ if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(str) == -1){
|
|
1100
|
+ let newStr = ''
|
|
1101
|
+ str.split(',').map(item => {
|
|
1102
|
+ if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(item) == -1){
|
|
1103
|
+ newStr += item + ','
|
|
1104
|
+ }
|
|
1105
|
+ })
|
|
1106
|
+ return newStr.substring(0, newStr.length - 1)
|
|
1107
|
+ }
|
|
1108
|
+ }
|
|
1109
|
+ },
|
1078
|
1110
|
getHemorrhage(hemorrhage){
|
1079
|
1111
|
if(hemorrhage.indexOf(',') == -1){
|
1080
|
1112
|
let str = hemorrhage
|