|
@@ -34,7 +34,7 @@
|
34
|
34
|
<div class="inline_block" style="margin-left: 25px;">
|
35
|
35
|
性别:
|
36
|
36
|
<check-box text="男" :checked="record.patient.gender == 1"></check-box>
|
37
|
|
-
|
|
37
|
+  
|
38
|
38
|
<check-box text="女" :checked="record.patient.gender == 2"></check-box>
|
39
|
39
|
</div>
|
40
|
40
|
<div class="inline_block" style="margin-left: 25px;">
|
|
@@ -1124,17 +1124,17 @@
|
1124
|
1124
|
this.advice_groups = []
|
1125
|
1125
|
this.advice_groups_2 = []
|
1126
|
1126
|
var dlegh = 0
|
1127
|
|
- if((this.records[recordIndex].assessment_before_dislysis&&this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure != 0&&this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure != 0) || (this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.remark.length > 0) ||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.pulse_frequency != 0) ||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.breathing_rate != 0)||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.temperature != 0)) {
|
|
1127
|
+ if ((this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure != 0 && this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure != 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.remark.length > 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.pulse_frequency != 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.breathing_rate != 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.temperature != 0)) {
|
1128
|
1128
|
var nl = 8
|
1129
|
1129
|
this.records[recordIndex].print_length = 8
|
1130
|
|
- } else{
|
|
1130
|
+ } else {
|
1131
|
1131
|
var nl = 9
|
1132
|
1132
|
this.records[recordIndex].print_length = 9
|
1133
|
1133
|
}
|
1134
|
1134
|
if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 8) {
|
1135
|
1135
|
dlegh = nl - this.records[recordIndex].monitor_records.length
|
1136
|
1136
|
}
|
1137
|
|
- if(this.records[recordIndex].monitor_records.length <=0 ){
|
|
1137
|
+ if (this.records[recordIndex].monitor_records.length <= 0) {
|
1138
|
1138
|
dlegh = nl
|
1139
|
1139
|
}
|
1140
|
1140
|
if (dlegh > 0) {
|
|
@@ -1147,7 +1147,7 @@
|
1147
|
1147
|
}
|
1148
|
1148
|
|
1149
|
1149
|
this.records[recordIndex].monitor_records2 = []
|
1150
|
|
- if (this.records[recordIndex].monitor_records.length > 13){
|
|
1150
|
+ if (this.records[recordIndex].monitor_records.length > 13) {
|
1151
|
1151
|
const tempMonitors = []
|
1152
|
1152
|
const tempMonitors2 = []
|
1153
|
1153
|
|
|
@@ -1202,7 +1202,6 @@
|
1202
|
1202
|
if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
|
1203
|
1203
|
new_advice_index = index + this.doctor_advices[index].children.length + 1
|
1204
|
1204
|
|
1205
|
|
-
|
1206
|
1205
|
var doctor_advice = {
|
1207
|
1206
|
delivery_way: this.doctor_advices[index].delivery_way,
|
1208
|
1207
|
execution_frequency: this.doctor_advices[index].execution_frequency,
|
|
@@ -1214,8 +1213,7 @@
|
1214
|
1213
|
execution_staff: this.doctor_advices[index].execution_staff,
|
1215
|
1214
|
checker: this.doctor_advices[index].checker,
|
1216
|
1215
|
advice_doctor: this.doctor_advices[index].advice_doctor,
|
1217
|
|
- execution_time: this.doctor_advices[index].execution_time,
|
1218
|
|
-
|
|
1216
|
+ execution_time: this.doctor_advices[index].execution_time
|
1219
|
1217
|
|
1220
|
1218
|
}
|
1221
|
1219
|
doctor_advice['isShow'] = 1
|
|
@@ -1237,8 +1235,8 @@
|
1237
|
1235
|
if (advice.parent_id > 0) {
|
1238
|
1236
|
if (this.advice_groups.length > 0) {
|
1239
|
1237
|
var parent_group = this.advice_groups[
|
1240
|
|
- this.advice_groups.length - 1
|
1241
|
|
- ]
|
|
1238
|
+ this.advice_groups.length - 1
|
|
1239
|
+ ]
|
1242
|
1240
|
if (parent_group.advices.length > 0) {
|
1243
|
1241
|
if (parent_group.advices[0].id == advice.parent_id) {
|
1244
|
1242
|
parent_group.advices.push(advice)
|
|
@@ -1284,8 +1282,8 @@
|
1284
|
1282
|
if (advice.parent_id > 0) {
|
1285
|
1283
|
if (this.advice_groups_2.length > 0) {
|
1286
|
1284
|
var parent_group = this.advice_groups_2[
|
1287
|
|
- this.advice_groups_2.length - 1
|
1288
|
|
- ]
|
|
1285
|
+ this.advice_groups_2.length - 1
|
|
1286
|
+ ]
|
1289
|
1287
|
if (parent_group.advices.length > 0) {
|
1290
|
1288
|
if (parent_group.advices[0].id == advice.parent_id) {
|
1291
|
1289
|
parent_group.advices.push(advice)
|
|
@@ -1437,23 +1435,22 @@
|
1437
|
1435
|
} else {
|
1438
|
1436
|
return ''
|
1439
|
1437
|
}
|
1440
|
|
- },getFloat: function(x) {
|
|
1438
|
+ }, getFloat: function(x) {
|
1441
|
1439
|
if (x != '.') {
|
1442
|
|
- var f = Math.round(x * 100) / 100;
|
1443
|
|
- var s = f.toString();
|
1444
|
|
- var rs = s.indexOf('.');
|
|
1440
|
+ var f = Math.round(x * 100) / 100
|
|
1441
|
+ var s = f.toString()
|
|
1442
|
+ var rs = s.indexOf('.')
|
1445
|
1443
|
if (rs <= 0) {
|
1446
|
|
- rs = s.length;
|
1447
|
|
- s += '.';
|
|
1444
|
+ rs = s.length
|
|
1445
|
+ s += '.'
|
1448
|
1446
|
}
|
1449
|
1447
|
while (s.length <= rs + 1) {
|
1450
|
|
- s += '0';
|
|
1448
|
+ s += '0'
|
1451
|
1449
|
}
|
1452
|
|
- return s;
|
|
1450
|
+ return s
|
1453
|
1451
|
} else {
|
1454
|
|
- return '0.0';
|
|
1452
|
+ return '0.0'
|
1455
|
1453
|
}
|
1456
|
|
-
|
1457
|
1454
|
},
|
1458
|
1455
|
getAdminUser(key, id) {
|
1459
|
1456
|
if (typeof (key) === 'undefined' || key == null || typeof (key[id]) === 'undefined') {
|
|
@@ -1508,7 +1505,7 @@
|
1508
|
1505
|
advices: []
|
1509
|
1506
|
}
|
1510
|
1507
|
)
|
1511
|
|
- },getNumber:function(record) {
|
|
1508
|
+ }, getNumber: function(record) {
|
1512
|
1509
|
console.log(record)
|
1513
|
1510
|
}
|
1514
|
1511
|
}
|