Ver código fonte

修改值为0时不显示

zhengchengwu 5 anos atrás
pai
commit
92bcb0c8f1

+ 1 - 0
src/xt_pages/data/druguseTemplate.vue Ver arquivo

1168
         this.drugdicFormVisible = true;
1168
         this.drugdicFormVisible = true;
1169
         this.dialogTitle = "新增医嘱模版";
1169
         this.dialogTitle = "新增医嘱模版";
1170
         this.isEdit = false;
1170
         this.isEdit = false;
1171
+        this.form.name="";
1171
       },
1172
       },
1172
       cancelHandle(formName) {
1173
       cancelHandle(formName) {
1173
         this.table_current_index = -1
1174
         this.table_current_index = -1

+ 42 - 32
src/xt_pages/dialysis/details/DialysisPrescription.vue Ver arquivo

13
         </li> -->
13
         </li> -->
14
         <li>
14
         <li>
15
           <label>置换量 : </label>
15
           <label>置换量 : </label>
16
-          <span class="content">{{ replacement_total }}</span>
17
-          <span class="unit">L</span>
16
+          <span class="content" v-if="replacement_total!='0'">{{replacement_total}}</span>
17
+          <span class="unit" v-if="replacement_total!='0'">L</span>
18
         </li>
18
         </li>
19
         <li>
19
         <li>
20
           <label>首剂 : </label>
20
           <label>首剂 : </label>
21
-          <span class="content">{{ anticoagulant_shouji }}</span>
22
-          <span class="unit">mg</span>
21
+          <span class="content" v-if="anticoagulant_shouji!='0'">{{ anticoagulant_shouji }}</span>
22
+          <span class="unit" v-if="anticoagulant_shouji!='0'">mg</span>
23
         </li>
23
         </li>
24
         <li>
24
         <li>
25
           <label>钾 : </label>
25
           <label>钾 : </label>
26
-          <span class="content">{{ kalium }}</span>
27
-          <span class="unit">mmol/L</span>
26
+          <span class="content" v-if="kalium!='0'">{{ kalium }}</span>
27
+          <span class="unit" v-if="kalium!='0'">mmol/L</span>
28
         </li>
28
         </li>
29
         <li>
29
         <li>
30
           <label>碳酸氢盐 : </label>
30
           <label>碳酸氢盐 : </label>
31
-          <span class="content">{{ bicarbonate }}</span>
32
-          <span class="unit">mmol/l</span>
31
+          <span class="content" v-if="bicarbonate!='0'">{{ bicarbonate }}</span>
32
+          <span class="unit" v-if="bicarbonate!='0'">mmol/l</span>
33
         </li>
33
         </li>
34
         <li>
34
         <li>
35
           <label>透析液流量 : </label>
35
           <label>透析液流量 : </label>
36
-          <span class="content">{{ dialysate_flow }}</span>
37
-          <span class="unit">ml/min</span>
36
+          <span class="content" v-if="dialysate_flow!='0'">{{ dialysate_flow }}</span>
37
+          <span class="unit" v-if="dialysate_flow!='0'">ml/min</span>
38
         </li>
38
         </li>
39
       </ul>
39
       </ul>
40
       <ul>
40
       <ul>
41
         <li>
41
         <li>
42
           <label>透析时长 : </label>
42
           <label>透析时长 : </label>
43
-          <span class="content">{{ dialysis_duration }}</span>
44
-          <span class="unit">h</span>
43
+          <span class="content" v-if="dialysis_duration_hour!='0'">{{ dialysis_duration_hour }}</span>
44
+          <span class="unit" v-if="dialysis_duration_hour!='0'">h</span>
45
+          <span class="content" v-if="dialysis_duration_minute!='0'">{{ dialysis_duration_minute }}</span>
46
+          <span class="unit" v-if="dialysis_duration_minute!='0'">min</span>
45
         </li>
47
         </li>
46
         <li>
48
         <li>
47
           <label>血流量 : </label>
49
           <label>血流量 : </label>
48
-          <span class="content">{{ blood_flow_volume }}</span>
49
-          <span class="unit">ml/min</span>
50
+          <span class="content" v-if="blood_flow_volume!='0'">{{ blood_flow_volume }}</span>
51
+          <span class="unit" v-if="blood_flow_volume!='0'">ml/min</span>
50
         </li>
52
         </li>
51
         <!-- <li>
53
         <!-- <li>
52
           <label>置换方式 : </label>
54
           <label>置换方式 : </label>
54
         </li> -->
56
         </li> -->
55
         <li>
57
         <li>
56
           <label>维持 : </label>
58
           <label>维持 : </label>
57
-          <span class="content">{{ anticoagulant_weichi }}</span>
58
-          <span class="unit">mg/h</span>
59
+          <span class="content" v-if="anticoagulant_weichi!='0'">{{ anticoagulant_weichi }}</span>
60
+          <span class="unit" v-if="anticoagulant_weichi!='0'">mg/h</span>
59
         </li>
61
         </li>
60
         <li>
62
         <li>
61
           <label>钠 : </label>
63
           <label>钠 : </label>
62
-          <span class="content">{{ sodium }}</span>
63
-          <span class="unit">mmol/l</span>
64
+          <span class="content" v-if="sodium!='0'">{{ sodium }}</span>
65
+          <span class="unit" v-if="sodium!='0'">mmol/l</span>
64
         </li>
66
         </li>
65
         <li>
67
         <li>
66
           <label>葡萄糖 : </label>
68
           <label>葡萄糖 : </label>
67
-          <span class="content">{{ glucose }}</span>
68
-          <span class="unit">mmol/l</span>
69
+          <span class="content" v-if="glucose!='0'">{{ glucose }}</span>
70
+          <span class="unit" v-if="glucose!='0'">mmol/l</span>
69
         </li>
71
         </li>
70
         <li>
72
         <li>
71
           <label>透析液温度 : </label>
73
           <label>透析液温度 : </label>
72
-          <span class="content">{{ dialysate_temperature }}</span>
73
-          <span class="unit">℃</span>
74
+          <span class="content" v-if="dialysate_temperature!='0'">{{ dialysate_temperature }}</span>
75
+          <span class="unit" v-if="dialysate_temperature!='0'">℃</span>
74
         </li>
76
         </li>
75
       </ul>
77
       </ul>
76
       <ul>
78
       <ul>
80
         </li> -->
82
         </li> -->
81
         <li>
83
         <li>
82
           <label>脱水量 : </label>
84
           <label>脱水量 : </label>
83
-          <span class="content">{{ prescription_dewatering }}</span>
84
-          <span class="unit">L</span>
85
+          <span class="content" v-if="prescription_dewatering!='0'">{{ prescription_dewatering }}</span>
86
+          <span class="unit" v-if="prescription_dewatering!='0'">L</span>
85
         </li>
87
         </li>
86
         <li>
88
         <li>
87
           <label>抗疑剂 : </label>
89
           <label>抗疑剂 : </label>
89
         </li>
91
         </li>
90
         <li>
92
         <li>
91
           <label>总量: </label>
93
           <label>总量: </label>
92
-          <span class="content">{{ anticoagulant_zongliang }}</span>
93
-          <span class="unit">mg</span>
94
+          <span class="content" v-if="anticoagulant_zongliang!='0'">{{ anticoagulant_zongliang }}</span>
95
+          <span class="unit" v-if="anticoagulant_zongliang!='0'">mg</span>
94
         </li>
96
         </li>
95
         <li>
97
         <li>
96
           <label>钙: </label>
98
           <label>钙: </label>
97
-          <span class="content">{{ calcium }}</span>
98
-          <span class="unit">mmol/l</span>
99
+          <span class="content" v-if="calcium!='0'">{{ calcium }}</span>
100
+          <span class="unit" v-if="calcium!='0'">mmol/l</span>
99
         </li>
101
         </li>
100
         <li>
102
         <li>
101
           <label>干体重 : </label>
103
           <label>干体重 : </label>
102
-          <span class="content">{{ dry_weight }}</span>
103
-          <span class="unit">kg</span>
104
+          <span class="content" v-if="dry_weight!='0'">{{ dry_weight }}</span>
105
+          <span class="unit" v-if="dry_weight!='0'">kg</span>
104
         </li>
106
         </li>
105
         <li>
107
         <li>
106
           <label>电导率 : </label>
108
           <label>电导率 : </label>
107
-          <span class="content">{{ conductivity }}</span>
108
-          <span class="unit">mS/cm</span>
109
+          <span class="content" v-if="conductivity!='0'">{{ conductivity }}</span>
110
+          <span class="unit" v-if="conductivity!='0'">mS/cm</span>
109
         </li>
111
         </li>
110
 
112
 
111
         <li>
113
         <li>
188
       var v = this.getValueStr("dialysis_duration", "dialysis_duration")
190
       var v = this.getValueStr("dialysis_duration", "dialysis_duration")
189
       return v.length == 0 ? "0" : v
191
       return v.length == 0 ? "0" : v
190
     },
192
     },
193
+    dialysis_duration_hour:function(){
194
+      var v = this.getValueStr("dialysis_duration_hour", "dialysis_duration_hour")
195
+      return v.length == 0 ? "0" : v
196
+    },
197
+    dialysis_duration_minute:function(){
198
+      var v = this.getValueStr("dialysis_duration_minute", "dialysis_duration_minute")
199
+      return v.length == 0 ? "0" : v
200
+    },
191
     blood_flow_volume: function() {
201
     blood_flow_volume: function() {
192
       var v = this.getValueStr("blood_flow_volume", "blood_flow_volume")
202
       var v = this.getValueStr("blood_flow_volume", "blood_flow_volume")
193
       return v.length == 0 ? "0" : v
203
       return v.length == 0 ? "0" : v

+ 19 - 18
src/xt_pages/dialysis/details/assessmentAfter.vue Ver arquivo

5
       <ul>
5
       <ul>
6
         <li>
6
         <li>
7
           <label>透后体重 : </label>
7
           <label>透后体重 : </label>
8
-          <span class="content">{{ weight_after }}</span>
9
-          <span class="unit">kg</span>
8
+          <span class="content" v-if="weight_after!='0'">{{ weight_after }}</span>
9
+          <span class="unit" v-if="weight_after!='0'">kg</span>
10
         </li>
10
         </li>
11
         <li>
11
         <li>
12
           <label>收缩压 : </label>
12
           <label>收缩压 : </label>
13
-          <span class="content">{{ systolic_blood_pressure }}</span>
14
-          <span class="unit">mmhg</span>
13
+          <span class="content" v-if="systolic_blood_pressure!='0'">{{ systolic_blood_pressure }}</span>
14
+          <span class="unit" v-if="systolic_blood_pressure!='0'">mmhg</span>
15
         </li>
15
         </li>
16
         <li>
16
         <li>
17
           <label>实际超滤量: </label>
17
           <label>实际超滤量: </label>
18
-          <span class="content">{{ actual_ultrafiltration }}</span>
19
-          <span class="unit">ml</span>
18
+          <span class="content" v-if="actual_ultrafiltration!='0'">{{ actual_ultrafiltration }}</span>
19
+          <span class="unit" v-if="actual_ultrafiltration!='0'">ml</span>
20
         </li>
20
         </li>
21
         <li>
21
         <li>
22
           <label>疑血 : </label>
22
           <label>疑血 : </label>
46
       <ul>
46
       <ul>
47
         <li>
47
         <li>
48
           <label>体重减少 : </label>
48
           <label>体重减少 : </label>
49
-          <span class="content">{{ weight_loss }}</span>
50
-          <span class="unit">kg</span>
49
+          <span class="content"  v-if="weight_loss!='0'">{{ weight_loss }}</span>
50
+          <span class="unit" v-if="weight_loss!='0'">kg</span>
51
         </li>
51
         </li>
52
         <li>
52
         <li>
53
           <label>舒张压 : </label>
53
           <label>舒张压 : </label>
54
-          <span class="content">{{ diastolic_blood_pressure }}</span>
55
-          <span class="unit">mmhg</span>
54
+          <span class="content" v-if="diastolic_blood_pressure!='0'">{{ diastolic_blood_pressure }}</span>
55
+          <span class="unit" v-if="diastolic_blood_pressure!='0'">mmhg</span>
56
         </li>
56
         </li>
57
         <li>
57
         <li>
58
           <label>实际置换量 : </label>
58
           <label>实际置换量 : </label>
59
-          <span class="content">{{ actual_displacement }}</span>
60
-          <span class="unit">ml</span>
59
+          <span class="content" v-if="actual_displacement!='0'">{{ actual_displacement }}</span>
60
+          <span class="unit" v-if="actual_displacement!='0'">ml</span>
61
         </li>
61
         </li>
62
         <li>
62
         <li>
63
           <label>透后症状 : </label>
63
           <label>透后症状 : </label>
84
       <ul>
84
       <ul>
85
         <li>
85
         <li>
86
           <label>体温 : </label>
86
           <label>体温 : </label>
87
-          <span class="content">{{ temperature }}</span>
88
-          <span class="unit">℃</span>
87
+          <span class="content" v-if="temperature!='0'">{{ temperature }}</span>
88
+          <span class="unit" v-if="temperature!='0'">℃</span>
89
         </li>
89
         </li>
90
         <li>
90
         <li>
91
           <label>脉率 : </label>
91
           <label>脉率 : </label>
92
-          <span class="content">{{ pulse_frequency }}</span>
93
-          <span class="unit">次/分</span>
92
+          <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
93
+          <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
94
         </li>
94
         </li>
95
         <li>
95
         <li>
96
           <label>实际治疗时长 : </label>
96
           <label>实际治疗时长 : </label>
97
-          <span class="content">{{ actual_treatment_hour }}时{{ actual_treatment_minute }}分</span>
97
+          <span class="content" v-if="actual_treatment_hour!='0'">{{ actual_treatment_hour }}时</span>
98
+          <span class="content" v-if="actual_treatment_minute!='0'">{{ actual_treatment_minute }}分</span>
98
         </li>
99
         </li>
99
         <li>
100
         <li>
100
           <label>透析中入量: </label>
101
           <label>透析中入量: </label>
101
-          <span class="content">{{ dialysis_intakes_feed }}</span>
102
+          <span class="content" v-if="dialysis_intakes_feed!='0'">{{ dialysis_intakes_feed }}</span>
102
         </li>
103
         </li>
103
         <li>
104
         <li>
104
           <label>血管通路操作: </label>
105
           <label>血管通路操作: </label>

+ 16 - 16
src/xt_pages/dialysis/details/assessmentBefore.vue Ver arquivo

5
       <ul>
5
       <ul>
6
         <li>
6
         <li>
7
           <label>透前体重 : </label>
7
           <label>透前体重 : </label>
8
-          <span class="content">{{ weight_before }}</span>
9
-          <span class="unit">kg</span>
8
+          <span class="content" v-if="weight_before!='0'">{{ weight_before }}</span>
9
+          <span class="unit" v-if="weight_before!='0'">kg</span>
10
         </li>
10
         </li>
11
         <li>
11
         <li>
12
           <label>收缩压 : </label>
12
           <label>收缩压 : </label>
13
-          <span class="content">{{ systolic_blood_pressure }}</span>
14
-          <span class="unit">mmhg</span>
13
+          <span class="content" v-if="systolic_blood_pressure!='0'">{{ systolic_blood_pressure }}</span>
14
+          <span class="unit" v-if="systolic_blood_pressure!='0'">mmhg</span>
15
         </li>
15
         </li>
16
         <li>
16
         <li>
17
           <label>前次透析后: </label>
17
           <label>前次透析后: </label>
18
-          <span class="content">{{ last_post_dialysis }}</span>
19
-          <span class="unit"></span>
18
+          <span class="content" v-if="last_post_dialysis!='0'">{{ last_post_dialysis }}</span>
19
+          <span class="unit" v-if="last_post_dialysis!='0'"></span>
20
         </li>
20
         </li>
21
         <li>
21
         <li>
22
           <label>导管 : </label>
22
           <label>导管 : </label>
27
       <ul>
27
       <ul>
28
         <li>
28
         <li>
29
           <label>干体重 : </label>
29
           <label>干体重 : </label>
30
-          <span class="content">{{ dry_weight }}</span>
31
-          <span class="unit">kg</span>
30
+          <span class="content" v-if="dry_weight!='0'">{{ dry_weight }}</span>
31
+          <span class="unit" v-if="dry_weight!='0'">kg</span>
32
         </li>
32
         </li>
33
         <li>
33
         <li>
34
           <label>舒张压 : </label>
34
           <label>舒张压 : </label>
35
-          <span class="content">{{ diastolic_blood_pressure }}</span>
36
-          <span class="unit">mmhg</span>
35
+          <span class="content" v-if="diastolic_blood_pressure!='0'">{{ diastolic_blood_pressure }}</span>
36
+          <span class="unit" v-if="diastolic_blood_pressure!='0'">mmhg</span>
37
         </li>
37
         </li>
38
         <li>
38
         <li>
39
           <label>透析期间 : </label>
39
           <label>透析期间 : </label>
40
-          <span class="content">{{ dialysis_interphase }}</span>
41
-          <span class="unit"></span>
40
+          <span class="content" v-if="dialysis_interphase!='0'">{{ dialysis_interphase }}</span>
41
+          <span class="unit" v-if="dialysis_interphase!='0'"></span>
42
         </li>
42
         </li>
43
         <li>
43
         <li>
44
           <label>合并症: </label>
44
           <label>合并症: </label>
49
       <ul>
49
       <ul>
50
         <li>
50
         <li>
51
           <label>体温 : </label>
51
           <label>体温 : </label>
52
-          <span class="content">{{ temperature }}</span>
53
-          <span class="unit">℃</span>
52
+          <span class="content" v-if="temperature!='0'">{{ temperature }}</span>
53
+          <span class="unit" v-if="temperature!='0'">℃</span>
54
         </li>
54
         </li>
55
         <li>
55
         <li>
56
           <label>心率 : </label>
56
           <label>心率 : </label>
57
-          <span class="content">{{ pulse_frequency }}</span>
58
-          <span class="unit">次/分</span>
57
+          <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
58
+          <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
59
         </li>
59
         </li>
60
         <li>
60
         <li>
61
           <label>透析前症状 : </label>
61
           <label>透析前症状 : </label>

+ 28 - 3
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver arquivo

318
           }
318
           }
319
           if(this.assessment_after_dislysis['internal_fistula_tremor_ac'] == 0){
319
           if(this.assessment_after_dislysis['internal_fistula_tremor_ac'] == 0){
320
             this.form['internal_fistula_tremor_ac'] = ''
320
             this.form['internal_fistula_tremor_ac'] = ''
321
-
322
           }
321
           }
323
           if(this.assessment_after_dislysis['patient_gose'] == 0){
322
           if(this.assessment_after_dislysis['patient_gose'] == 0){
324
             this.form['patient_gose'] = ''
323
             this.form['patient_gose'] = ''
325
-
326
-
327
           }
324
           }
325
+          if(this.assessment_after_dislysis['weight_after'] == 0){
326
+            this.form['weight_after'] = ''
327
+          }
328
+          if(this.assessment_after_dislysis['weight_loss'] == 0){
329
+            this.form['weight_loss'] = ''
330
+          }
331
+          if(this.assessment_after_dislysis['temperature'] == 0){
332
+            this.form['temperature'] = ''
333
+          }
334
+          if(this.assessment_after_dislysis['systolic_blood_pressure'] == 0){
335
+            this.form['systolic_blood_pressure'] = ''
336
+          }
337
+          if(this.assessment_after_dislysis['diastolic_blood_pressure'] == 0){
338
+            this.form['diastolic_blood_pressure'] = ''
339
+          }
340
+          if(this.assessment_after_dislysis['pulse_frequency'] == 0){
341
+            this.form['pulse_frequency'] = ''
342
+          }
343
+          if(this.assessment_after_dislysis['actual_ultrafiltration'] == 0){
344
+            this.form['actual_ultrafiltration'] = ''
345
+          }
346
+          if(this.assessment_after_dislysis['actual_displacement'] == 0){
347
+            this.form['actual_displacement'] = ''
348
+          }
349
+          if(this.assessment_after_dislysis['dialysis_intakes'] == 0){
350
+            this.form['dialysis_intakes'] = ''
351
+          }
352
+          this.actualTreatmentHourShow = new Date(2018, 1, 1, this.assessment_after_dislysis['actual_treatment_hour'], this.assessment_after_dislysis['actual_treatment_minute'])
328
 
353
 
329
         }
354
         }
330
     },
355
     },

+ 3 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Ver arquivo

857
             "{y}-{m}-{d} {h}:{i}:{s}"
857
             "{y}-{m}-{d} {h}:{i}:{s}"
858
           ),
858
           ),
859
           advice_name: row.advice_name,
859
           advice_name: row.advice_name,
860
-          drug_spec: '' + row.drug_spec,
860
+          drug_spec: row.drug_spec!=0 ? '' + row.drug_spec : '',
861
           drug_spec_unit: row.drug_spec_unit,
861
           drug_spec_unit: row.drug_spec_unit,
862
-          single_dose: '' + row.single_dose,
862
+          single_dose: row.single_dose!=0 ? '' + row.single_dose : '',
863
           single_dose_unit: row.single_dose_unit,
863
           single_dose_unit: row.single_dose_unit,
864
-          prescribing_number: '' + row.prescribing_number,
864
+          prescribing_number: row.prescribing_number!=0 ? '' + row.prescribing_number : '',
865
           prescribing_number_unit: row.prescribing_number_unit,
865
           prescribing_number_unit: row.prescribing_number_unit,
866
           delivery_way: row.delivery_way,
866
           delivery_way: row.delivery_way,
867
           execution_frequency: row.execution_frequency,
867
           execution_frequency: row.execution_frequency,

+ 3 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Ver arquivo

821
           this.nameForm = {
821
           this.nameForm = {
822
             advice_name: this.groupSelectRow.advice_name,
822
             advice_name: this.groupSelectRow.advice_name,
823
             advice_desc: this.groupSelectRow.advice_desc,
823
             advice_desc: this.groupSelectRow.advice_desc,
824
-            single_dose: this.groupSelectRow.single_dose,
824
+            single_dose: this.groupSelectRow.single_dose!=0?this.groupSelectRow.single_dose:'',
825
             single_dose_unit: this.groupSelectRow.single_dose_unit,
825
             single_dose_unit: this.groupSelectRow.single_dose_unit,
826
-            drug_spec: this.groupSelectRow.drug_spec,
826
+            drug_spec: this.groupSelectRow.drug_spec!=0?this.groupSelectRow.drug_spec:'',
827
             drug_spec_unit: this.groupSelectRow.drug_spec_unit,
827
             drug_spec_unit: this.groupSelectRow.drug_spec_unit,
828
-            prescribing_number: this.groupSelectRow.prescribing_number,
828
+            prescribing_number: this.groupSelectRow.prescribing_number!=0?this.groupSelectRow.prescribing_number:'',
829
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
829
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
830
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
830
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
831
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,
831
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,

+ 3 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Ver arquivo

1049
           this.nameForm = {
1049
           this.nameForm = {
1050
             advice_name: this.groupSelectRow.advice_name,
1050
             advice_name: this.groupSelectRow.advice_name,
1051
             advice_desc: this.groupSelectRow.advice_desc,
1051
             advice_desc: this.groupSelectRow.advice_desc,
1052
-            single_dose: this.groupSelectRow.single_dose,
1052
+            single_dose: this.groupSelectRow.single_dose!=0? this.groupSelectRow.single_dose:'',
1053
             single_dose_unit: this.groupSelectRow.single_dose_unit,
1053
             single_dose_unit: this.groupSelectRow.single_dose_unit,
1054
-            drug_spec: this.groupSelectRow.drug_spec,
1054
+            drug_spec: this.groupSelectRow.drug_spec!=0? this.groupSelectRow.drug_spec:'',
1055
             drug_spec_unit: this.groupSelectRow.drug_spec_unit,
1055
             drug_spec_unit: this.groupSelectRow.drug_spec_unit,
1056
-            prescribing_number: this.groupSelectRow.prescribing_number,
1056
+            prescribing_number: this.groupSelectRow.prescribing_number!=0? this.groupSelectRow.prescribing_number:'',
1057
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
1057
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
1058
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
1058
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
1059
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,
1059
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,

+ 21 - 4
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Ver arquivo

489
             this.assessmentBeforeDislysis['catheter_bend'] = ''
489
             this.assessmentBeforeDislysis['catheter_bend'] = ''
490
           }else{
490
           }else{
491
             this.assessmentBeforeDislysis['catheter_bend']  = this.predialysis_evaluation['catheter_bend']+''
491
             this.assessmentBeforeDislysis['catheter_bend']  = this.predialysis_evaluation['catheter_bend']+''
492
-
493
-
494
           }
492
           }
495
           if(this.predialysis_evaluation['is_hemorrhage'] == 0){
493
           if(this.predialysis_evaluation['is_hemorrhage'] == 0){
496
             this.assessmentBeforeDislysis['is_hemorrhage'] = ''
494
             this.assessmentBeforeDislysis['is_hemorrhage'] = ''
497
           }else{
495
           }else{
498
-
499
             this.assessmentBeforeDislysis['is_hemorrhage']  = this.predialysis_evaluation['is_hemorrhage']+''
496
             this.assessmentBeforeDislysis['is_hemorrhage']  = this.predialysis_evaluation['is_hemorrhage']+''
500
-
501
           }
497
           }
502
           if(this.predialysis_evaluation['blood_access_part_id'] == 0){
498
           if(this.predialysis_evaluation['blood_access_part_id'] == 0){
503
             this.assessmentBeforeDislysis['blood_access_part_id'] = ''
499
             this.assessmentBeforeDislysis['blood_access_part_id'] = ''
505
           if(this.predialysis_evaluation['blood_access_part_opera_id'] == 0){
501
           if(this.predialysis_evaluation['blood_access_part_opera_id'] == 0){
506
             this.assessmentBeforeDislysis['blood_access_part_opera_id'] = ''
502
             this.assessmentBeforeDislysis['blood_access_part_opera_id'] = ''
507
           }
503
           }
504
+          if(this.predialysis_evaluation['weight_before'] == 0){
505
+            this.assessmentBeforeDislysis['weight_before'] = ''
506
+          }
507
+          if(this.predialysis_evaluation['dry_weight'] == 0){
508
+            this.assessmentBeforeDislysis['dry_weight'] = ''
509
+          }
510
+          if(this.predialysis_evaluation['temperature'] == 0){
511
+            this.assessmentBeforeDislysis['temperature'] = ''
512
+          }
513
+          if(this.predialysis_evaluation['systolic_blood_pressure'] == 0){
514
+            this.assessmentBeforeDislysis['systolic_blood_pressure'] = ''
515
+          }
516
+          if(this.predialysis_evaluation['diastolic_blood_pressure'] == 0){
517
+            this.assessmentBeforeDislysis['diastolic_blood_pressure'] = ''
518
+          }
519
+          if(this.predialysis_evaluation['pulse_frequency'] == 0){
520
+            this.assessmentBeforeDislysis['pulse_frequency'] = ''
521
+          }
522
+          if(this.predialysis_evaluation['pulse_frequency'] == 0){
523
+            this.assessmentBeforeDislysis['pulse_frequency'] = ''
524
+          }
508
         }
525
         }
509
       },
526
       },
510
     }
527
     }

+ 160 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

482
 
482
 
483
       var date = this.$route.query && this.$route.query.date;
483
       var date = this.$route.query && this.$route.query.date;
484
       this.record_date = uParseTime(date, '{y}-{m}-{d}');
484
       this.record_date = uParseTime(date, '{y}-{m}-{d}');
485
+
486
+           
485
     },
487
     },
486
     watch: {
488
     watch: {
487
       isVisibility(val) {
489
       isVisibility(val) {
488
 
490
 
489
       },
491
       },
490
       "prescription.id": function () {
492
       "prescription.id": function () {
493
+        
491
         if (this.prescription.id > 0) {
494
         if (this.prescription.id > 0) {
492
           for (var index in this.dialysisPrescription) {
495
           for (var index in this.dialysisPrescription) {
493
             this.dialysisPrescription[index] = this.prescription[index];
496
             this.dialysisPrescription[index] = this.prescription[index];
513
           //
516
           //
514
           // }
517
           // }
515
 
518
 
519
+          
520
+          if(this.prescription['dialysis_duration_hour'] == 0){
521
+            this.dialysisPrescription['dialysis_duration_hour'] = ''
522
+          }
523
+          if(this.prescription['dialysis_duration_minute'] == 0){
524
+            this.dialysisPrescription['dialysis_duration_minute'] = ''
525
+          }
526
+          if(this.prescription['blood_flow_volume'] == 0){
527
+            this.dialysisPrescription['blood_flow_volume'] = ''
528
+          }
529
+          if(this.prescription['target_ultrafiltration'] == 0){
530
+            this.dialysisPrescription['target_ultrafiltration'] = ''
531
+          }
532
+          if(this.prescription['dialysate_temperature'] == 0){
533
+            this.dialysisPrescription['dialysate_temperature'] = ''
534
+          }
535
+          if(this.prescription['anticoagulant_shouji'] == 0){
536
+            this.dialysisPrescription['anticoagulant_shouji'] = ''
537
+          }
538
+          if(this.prescription['anticoagulant_weichi'] == 0){
539
+            this.dialysisPrescription['anticoagulant_weichi'] = ''
540
+          }
541
+          if(this.prescription['anticoagulant_zongliang'] == 0){
542
+            this.dialysisPrescription['anticoagulant_zongliang'] = ''
543
+          }
544
+          if(this.prescription['anticoagulant_gaijiliang'] == 0){
545
+            this.dialysisPrescription['anticoagulant_gaijiliang'] = ''
546
+          }
547
+          if(this.prescription['kalium'] == 0){
548
+            this.dialysisPrescription['kalium'] = ''
549
+          }
550
+          if(this.prescription['sodium'] == 0){
551
+            this.dialysisPrescription['sodium'] = ''
552
+          }
553
+          if(this.prescription['calcium'] == 0){
554
+            this.dialysisPrescription['calcium'] = ''
555
+          }
556
+          if(this.prescription['bicarbonate'] == 0){
557
+            this.dialysisPrescription['bicarbonate'] = ''
558
+          }
559
+          if(this.prescription['glucose'] == 0){
560
+            this.dialysisPrescription['glucose'] = ''
561
+          }
562
+          if(this.prescription['dialysate_flow'] == 0){
563
+            this.dialysisPrescription['dialysate_flow'] = ''
564
+          }
565
+          if(this.prescription['conductivity'] == 0){
566
+            this.dialysisPrescription['conductivity'] = ''
567
+          }
568
+          if(this.prescription['replacement_total'] == 0){
569
+            this.dialysisPrescription['replacement_total'] = ''
570
+          }
571
+
516
         }
572
         }
517
       },
573
       },
518
       "solution.id": function () {
574
       "solution.id": function () {
539
             //   this.dialysisPrescription['anticoagulant']  = this.prescription['anticoagulant']+''
595
             //   this.dialysisPrescription['anticoagulant']  = this.prescription['anticoagulant']+''
540
             //
596
             //
541
             // }
597
             // }
598
+            
599
+            if(this.prescription['dialysis_duration_hour'] == 0){
600
+              this.dialysisPrescription['dialysis_duration_hour'] = ''
601
+            }
602
+            if(this.prescription['dialysis_duration_minute'] == 0){
603
+              this.dialysisPrescription['dialysis_duration_minute'] = ''
604
+            }
605
+            if(this.prescription['blood_flow_volume'] == 0){
606
+              this.dialysisPrescription['blood_flow_volume'] = ''
607
+            }
608
+            if(this.prescription['target_ultrafiltration'] == 0){
609
+              this.dialysisPrescription['target_ultrafiltration'] = ''
610
+            }
611
+            if(this.prescription['dialysate_temperature'] == 0){
612
+              this.dialysisPrescription['dialysate_temperature'] = ''
613
+            }
614
+            if(this.prescription['anticoagulant_shouji'] == 0){
615
+              this.dialysisPrescription['anticoagulant_shouji'] = ''
616
+            }
617
+            if(this.prescription['anticoagulant_weichi'] == 0){
618
+              this.dialysisPrescription['anticoagulant_weichi'] = ''
619
+            }
620
+            if(this.prescription['anticoagulant_zongliang'] == 0){
621
+              this.dialysisPrescription['anticoagulant_zongliang'] = ''
622
+            }
623
+            if(this.prescription['anticoagulant_gaijiliang'] == 0){
624
+              this.dialysisPrescription['anticoagulant_gaijiliang'] = ''
625
+            }
626
+            if(this.prescription['kalium'] == 0){
627
+              this.dialysisPrescription['kalium'] = ''
628
+            }
629
+            if(this.prescription['sodium'] == 0){
630
+              this.dialysisPrescription['sodium'] = ''
631
+            }
632
+            if(this.prescription['calcium'] == 0){
633
+              this.dialysisPrescription['calcium'] = ''
634
+            }
635
+            if(this.prescription['bicarbonate'] == 0){
636
+              this.dialysisPrescription['bicarbonate'] = ''
637
+            }
638
+            if(this.prescription['glucose'] == 0){
639
+              this.dialysisPrescription['glucose'] = ''
640
+            }
641
+            if(this.prescription['dialysate_flow'] == 0){
642
+              this.dialysisPrescription['dialysate_flow'] = ''
643
+            }
644
+            if(this.prescription['conductivity'] == 0){
645
+              this.dialysisPrescription['conductivity'] = ''
646
+            }
647
+            if(this.prescription['replacement_total'] == 0){
648
+              this.dialysisPrescription['replacement_total'] = ''
649
+            }
542
 
650
 
543
           } else if (this.solution != null && typeof this.solution.id != 'undefined' && this.solution.id) {
651
           } else if (this.solution != null && typeof this.solution.id != 'undefined' && this.solution.id) {
544
             for (const key in this.solution) {
652
             for (const key in this.solution) {
556
             if(this.solution['anticoagulant'] == 0){
664
             if(this.solution['anticoagulant'] == 0){
557
               this.dialysisPrescription['anticoagulant'] = ''
665
               this.dialysisPrescription['anticoagulant'] = ''
558
             }
666
             }
559
-
560
-
667
+            
668
+            if(this.solution['dialysis_duration_hour'] == 0){
669
+              this.dialysisPrescription['dialysis_duration_hour'] = ''
670
+            }
671
+            if(this.solution['dialysis_duration_minute'] == 0){
672
+              this.dialysisPrescription['dialysis_duration_minute'] = ''
673
+            }
674
+            if(this.solution['blood_flow_volume'] == 0){
675
+              this.dialysisPrescription['blood_flow_volume'] = ''
676
+            }
677
+            if(this.solution['target_ultrafiltration'] == 0){
678
+              this.dialysisPrescription['target_ultrafiltration'] = ''
679
+            }
680
+            if(this.solution['dialysate_temperature'] == 0){
681
+              this.dialysisPrescription['dialysate_temperature'] = ''
682
+            }
683
+            if(this.solution['anticoagulant_shouji'] == 0){
684
+              this.dialysisPrescription['anticoagulant_shouji'] = ''
685
+            }
686
+            if(this.solution['anticoagulant_weichi'] == 0){
687
+              this.dialysisPrescription['anticoagulant_weichi'] = ''
688
+            }
689
+            if(this.solution['anticoagulant_zongliang'] == 0){
690
+              this.dialysisPrescription['anticoagulant_zongliang'] = ''
691
+            }
692
+            if(this.solution['anticoagulant_gaijiliang'] == 0){
693
+              this.dialysisPrescription['anticoagulant_gaijiliang'] = ''
694
+            }
695
+            if(this.solution['kalium'] == 0){
696
+              this.dialysisPrescription['kalium'] = ''
697
+            }
698
+            if(this.solution['sodium'] == 0){
699
+              this.dialysisPrescription['sodium'] = ''
700
+            }
701
+            if(this.solution['calcium'] == 0){
702
+              this.dialysisPrescription['calcium'] = ''
703
+            }
704
+            if(this.solution['bicarbonate'] == 0){
705
+              this.dialysisPrescription['bicarbonate'] = ''
706
+            }
707
+            if(this.solution['glucose'] == 0){
708
+              this.dialysisPrescription['glucose'] = ''
709
+            }
710
+            if(this.solution['dialysate_flow'] == 0){
711
+              this.dialysisPrescription['dialysate_flow'] = ''
712
+            }
713
+            if(this.solution['conductivity'] == 0){
714
+              this.dialysisPrescription['conductivity'] = ''
715
+            }
716
+            if(this.solution['replacement_total'] == 0){
717
+              this.dialysisPrescription['replacement_total'] = ''
718
+            }
561
 
719
 
562
           }
720
           }
563
         }
721
         }

+ 45 - 15
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver arquivo

17
           </el-table-column>
17
           </el-table-column>
18
           <el-table-column align="center" label="血压(mmhg)" width="110">
18
           <el-table-column align="center" label="血压(mmhg)" width="110">
19
             <template slot-scope="scope">
19
             <template slot-scope="scope">
20
-              {{scope.row.systolic_blood_pressure}}/{{scope.row.diastolic_blood_pressure}}
20
+              {{scope.row.systolic_blood_pressure?scope.row.systolic_blood_pressure:''}}/{{scope.row.diastolic_blood_pressure?scope.row.diastolic_blood_pressure:''}}
21
             </template>
21
             </template>
22
           </el-table-column>
22
           </el-table-column>
23
           <el-table-column prop="pulse_frequency" align="center" width="100" label="心率(次/分)">
23
           <el-table-column prop="pulse_frequency" align="center" width="100" label="心率(次/分)">
24
+            <template slot-scope="scope">
25
+              {{scope.row.pulse_frequency?scope.row.pulse_frequency:''}}
26
+            </template>
24
           </el-table-column>
27
           </el-table-column>
25
           <el-table-column prop="breathing_rate" align="center" label="呼吸(次/分)" width="100">
28
           <el-table-column prop="breathing_rate" align="center" label="呼吸(次/分)" width="100">
29
+            <template slot-scope="scope">
30
+              {{scope.row.breathing_rate?scope.row.breathing_rate:''}}
31
+            </template>
26
           </el-table-column>
32
           </el-table-column>
27
           <el-table-column prop="blood_flow_volume" align="center" label="血流量(ml/min)" width="120">
33
           <el-table-column prop="blood_flow_volume" align="center" label="血流量(ml/min)" width="120">
34
+            <template slot-scope="scope">
35
+              {{scope.row.blood_flow_volume?scope.row.blood_flow_volume:''}}
36
+            </template>
28
           </el-table-column>
37
           </el-table-column>
29
           <el-table-column prop="venous_pressure" align="center" label="静脉压(mmhg)" width="120">
38
           <el-table-column prop="venous_pressure" align="center" label="静脉压(mmhg)" width="120">
39
+            <template slot-scope="scope">
40
+              {{scope.row.venous_pressure?scope.row.venous_pressure:''}}
41
+            </template>
30
           </el-table-column>
42
           </el-table-column>
31
           <el-table-column prop="transmembrane_pressure" align="center" label="跨膜压(mmhg)" width="120">
43
           <el-table-column prop="transmembrane_pressure" align="center" label="跨膜压(mmhg)" width="120">
44
+            <template slot-scope="scope">
45
+              {{scope.row.transmembrane_pressure?scope.row.transmembrane_pressure:''}}
46
+            </template>
32
           </el-table-column>
47
           </el-table-column>
33
           <el-table-column prop="ultrafiltration_volume" align="center" label="超滤量(L)" width="110">
48
           <el-table-column prop="ultrafiltration_volume" align="center" label="超滤量(L)" width="110">
49
+            <template slot-scope="scope">
50
+              {{scope.row.ultrafiltration_volume?scope.row.ultrafiltration_volume:''}}
51
+            </template>
34
           </el-table-column>
52
           </el-table-column>
35
           <el-table-column prop="sodium_concentration" align="center" label="钠浓度(mmol/L)" width="126">
53
           <el-table-column prop="sodium_concentration" align="center" label="钠浓度(mmol/L)" width="126">
54
+            <template slot-scope="scope">
55
+              {{scope.row.sodium_concentration?scope.row.sodium_concentration:''}}
56
+            </template>
36
           </el-table-column>
57
           </el-table-column>
37
           <el-table-column prop="dialysate_temperature" align="center" label="透析液温度(℃)" width="120">
58
           <el-table-column prop="dialysate_temperature" align="center" label="透析液温度(℃)" width="120">
59
+            <template slot-scope="scope">
60
+              {{scope.row.dialysate_temperature?scope.row.dialysate_temperature:''}}
61
+            </template>
38
           </el-table-column>
62
           </el-table-column>
39
           <el-table-column prop="replacement_rate" align="center" label="置换率(L/h)" width="120">
63
           <el-table-column prop="replacement_rate" align="center" label="置换率(L/h)" width="120">
64
+            <template slot-scope="scope">
65
+              {{scope.row.replacement_rate?scope.row.replacement_rate:''}}
66
+            </template>
40
           </el-table-column>
67
           </el-table-column>
41
           <el-table-column prop="displacement_quantity" align="center" label="置换量(L)" width="100">
68
           <el-table-column prop="displacement_quantity" align="center" label="置换量(L)" width="100">
69
+            <template slot-scope="scope">
70
+              {{scope.row.displacement_quantity?scope.row.displacement_quantity:''}}
71
+            </template>
42
           </el-table-column>
72
           </el-table-column>
43
           <el-table-column prop="symptom" align="center" label="病情变化" width="130">
73
           <el-table-column prop="symptom" align="center" label="病情变化" width="130">
44
           </el-table-column>
74
           </el-table-column>
368
             // this.form.operate_date = monitor.operate_date
398
             // this.form.operate_date = monitor.operate_date
369
             // this.form.monitoring_time = monitor.monitoring_time
399
             // this.form.monitoring_time = monitor.monitoring_time
370
             this.form.operate_time = monitor.operate_time * 1000
400
             this.form.operate_time = monitor.operate_time * 1000
371
-          this.form.systolic_bp = monitor.systolic_blood_pressure
372
-          this.form.diastolic_bp = monitor.diastolic_blood_pressure
373
-          this.form.pulse_frequency = monitor.pulse_frequency
374
-          this.form.breathing_rated = monitor.breathing_rate
375
-          this.form.blood_flow_volume = monitor.blood_flow_volume
376
-          this.form.venous_pressure = monitor.venous_pressure
377
-          this.form.transmembrane_pressure = monitor.transmembrane_pressure
378
-          this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
379
-          this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
380
-          this.form.arterial_pressure = monitor.arterial_pressure
381
-          this.form.sodium_concentration = monitor.sodium_concentration
382
-          this.form.dialysate_temperature = monitor.dialysate_temperature
383
-          this.form.replacement_rate = monitor.replacement_rate
384
-          this.form.displacement_quantity = monitor.displacement_quantity
401
+          this.form.systolic_bp = monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''
402
+          this.form.diastolic_bp = monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''
403
+          this.form.pulse_frequency = monitor.pulse_frequency?monitor.pulse_frequency:''
404
+          this.form.breathing_rated = monitor.breathing_rate?monitor.breathing_rate:''
405
+          this.form.blood_flow_volume = monitor.blood_flow_volume?monitor.blood_flow_volume:''
406
+          this.form.venous_pressure = monitor.venous_pressure?monitor.venous_pressure:''
407
+          this.form.transmembrane_pressure = monitor.transmembrane_pressure?monitor.transmembrane_pressure:''
408
+          this.form.ultrafiltration_volume = monitor.transmembrane_pressure?monitor.transmembrane_pressure:''
409
+          this.form.ultrafiltration_rate = monitor.ultrafiltration_rate?monitor.ultrafiltration_rate:''
410
+          this.form.arterial_pressure = monitor.arterial_pressure?monitor.arterial_pressure:''
411
+          this.form.sodium_concentration = monitor.sodium_concentration?monitor.sodium_concentration:''
412
+          this.form.dialysate_temperature = monitor.dialysate_temperature?monitor.dialysate_temperature:''
413
+          this.form.replacement_rate = monitor.replacement_rate?monitor.replacement_rate:''
414
+          this.form.displacement_quantity = monitor.displacement_quantity?monitor.displacement_quantity:''
385
           this.form.ktv = monitor.ktv
415
           this.form.ktv = monitor.ktv
386
           this.form.symptom = monitor.symptom
416
           this.form.symptom = monitor.symptom
387
           this.form.dispose = monitor.dispose
417
           this.form.dispose = monitor.dispose

+ 11 - 11
src/xt_pages/dialysis/details/dialysisMonitoring.vue Ver arquivo

22
       </tr>
22
       </tr>
23
       <tr v-for="(monitor, index) in monitores" :key="index">
23
       <tr v-for="(monitor, index) in monitores" :key="index">
24
         <td>{{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
24
         <td>{{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
25
-        <td>{{ monitor.systolic_blood_pressure }}/{{ monitor.diastolic_blood_pressure }}</td>
26
-        <td>{{ monitor.pulse_frequency }}</td>
27
-        <td>{{ monitor.breathing_rate }}</td>
28
-        <td>{{ monitor.blood_flow_volume }}</td>
29
-        <td>{{ monitor.venous_pressure }}</td>
30
-        <td>{{ monitor.transmembrane_pressure }}</td>
31
-        <td>{{ monitor.ultrafiltration_volume }}</td>
32
-        <td>{{ monitor.sodium_concentration }}</td>
33
-        <td>{{ monitor.dialysate_temperature }}</td>
34
-        <td>{{ monitor.replacement_rate }}</td>
35
-        <td>{{ monitor.displacement_quantity }}</td>        
25
+        <td>{{ monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:'' }}/{{ monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:'' }}</td>
26
+        <td>{{ monitor.pulse_frequency?monitor.pulse_frequency:'' }}</td>
27
+        <td>{{ monitor.breathing_rate?monitor.breathing_rate:'' }}</td>
28
+        <td>{{ monitor.blood_flow_volume?monitor.blood_flow_volume:'' }}</td>
29
+        <td>{{ monitor.venous_pressure?monitor.venous_pressure:'' }}</td>
30
+        <td>{{ monitor.transmembrane_pressure?monitor.transmembrane_pressure:'' }}</td>
31
+        <td>{{ monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'' }}</td>
32
+        <td>{{ monitor.sodium_concentration?monitor.sodium_concentration:'' }}</td>
33
+        <td>{{ monitor.dialysate_temperature?monitor.dialysate_temperature:'' }}</td>
34
+        <td>{{ monitor.replacement_rate?monitor.replacement_rate:'' }}</td>
35
+        <td>{{ monitor.displacement_quantity?monitor.displacement_quantity:'' }}</td>        
36
         <td>{{ monitor.symptom }}</td>
36
         <td>{{ monitor.symptom }}</td>
37
         <td>{{ monitor.dispose }}</td>
37
         <td>{{ monitor.dispose }}</td>
38
         <td>{{ monitor.result }}</td>
38
         <td>{{ monitor.result }}</td>

+ 24 - 24
src/xt_pages/dialysis/dialysisPrintOrder.vue Ver arquivo

107
                   <td></td>
107
                   <td></td>
108
                   <td width="50">体温:</td>
108
                   <td width="50">体温:</td>
109
                   <td width="100">
109
                   <td width="100">
110
-                    <div class="under-line">&nbsp;{{predialysis.temperature}}</div>
110
+                    <div class="under-line">&nbsp;{{predialysis.temperature?predialysis.temperature:''}}</div>
111
                   </td>
111
                   </td>
112
                   <td width="35">℃</td>
112
                   <td width="35">℃</td>
113
                 </tr>
113
                 </tr>
304
                 <tr>
304
                 <tr>
305
                   <td width="70">透析时间:</td>
305
                   <td width="70">透析时间:</td>
306
                   <td width="40">
306
                   <td width="40">
307
-                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_hour}}</div>
307
+                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_hour?prescription.dialysis_duration_hour:''}}</div>
308
                   </td>
308
                   </td>
309
                   <td width="10">h</td>
309
                   <td width="10">h</td>
310
                   <td width="40">
310
                   <td width="40">
311
-                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_minute}}</div>
311
+                    <div class="under-line">&nbsp;{{prescription.dialysis_duration_minute?prescription.dialysis_duration_minute:''}}</div>
312
                   </td>
312
                   </td>
313
                   <td width="35">min</td>
313
                   <td width="35">min</td>
314
                   <td></td>
314
                   <td></td>
315
                   <td width="55">血流量:</td>
315
                   <td width="55">血流量:</td>
316
                   <td width="60">
316
                   <td width="60">
317
-                    <div class="under-line">&nbsp;{{prescription.blood_flow_volume}}</div>
317
+                    <div class="under-line">&nbsp;{{prescription.blood_flow_volume?prescription.blood_flow_volume:''}}</div>
318
                   </td>
318
                   </td>
319
                   <td width="60">ml/min</td>
319
                   <td width="60">ml/min</td>
320
                   <td></td>
320
                   <td></td>
321
                   <td width="40">体重:</td>
321
                   <td width="40">体重:</td>
322
                   <td width="35">透前</td>
322
                   <td width="35">透前</td>
323
                   <td width="50">
323
                   <td width="50">
324
-                    <div class="under-line">&nbsp;{{predialysis.weight_before}}</div>
324
+                    <div class="under-line">&nbsp;{{predialysis.weight_before?predialysis.weight_before:''}}</div>
325
                   </td>
325
                   </td>
326
                   <td width="20">Kg</td>
326
                   <td width="20">Kg</td>
327
                   <td width="45">干体重</td>
327
                   <td width="45">干体重</td>
328
                   <td width="50">
328
                   <td width="50">
329
-                    <div class="under-line">&nbsp;{{predialysis.dry_weight}}</div>
329
+                    <div class="under-line">&nbsp;{{predialysis.dry_weight?predialysis.dry_weight:''}}</div>
330
                   </td>
330
                   </td>
331
                   <td width="20">Kg</td>
331
                   <td width="20">Kg</td>
332
                   <td></td>
332
                   <td></td>
333
                   <td width="85">目标超滤量:</td>
333
                   <td width="85">目标超滤量:</td>
334
                   <td width="70">
334
                   <td width="70">
335
-                    <div class="under-line">&nbsp;{{prescription.target_ultrafiltration}}</div>
335
+                    <div class="under-line">&nbsp;{{prescription.target_ultrafiltration?prescription.target_ultrafiltration:''}}</div>
336
                   </td>
336
                   </td>
337
                   <td width="20">ml</td>
337
                   <td width="20">ml</td>
338
                 </tr>
338
                 </tr>
452
                 <tr>
452
                 <tr>
453
                   <td width="55">置换量:</td>
453
                   <td width="55">置换量:</td>
454
                   <td width="40">
454
                   <td width="40">
455
-                    <div class="under-line">&nbsp;{{prescription.replacement_total}}</div>
455
+                    <div class="under-line">&nbsp;{{prescription.replacement_total?prescription.replacement_total:''}}</div>
456
                   </td>
456
                   </td>
457
                   <td width="10">L</td>
457
                   <td width="10">L</td>
458
                   <td width="10"></td>
458
                   <td width="10"></td>
557
               </template>     -->
557
               </template>     -->
558
               {{getTime(monitor.operate_time,'{h}:{i}')}}
558
               {{getTime(monitor.operate_time,'{h}:{i}')}}
559
             </td>
559
             </td>
560
-            <td>&nbsp;{{monitor.systolic_blood_pressure}} / {{monitor.diastolic_blood_pressure}}</td>
561
-            <td>&nbsp;{{monitor.pulse_frequency}}</td>
562
-            <td>&nbsp;{{monitor.breathing_rate}}</td>
563
-            <td>&nbsp;{{monitor.blood_flow_volume}}</td>
564
-            <td>&nbsp;{{monitor.ultrafiltration_volume}}</td>
565
-            <td>&nbsp;{{monitor.displacement_quantity}}</td>
566
-            <td>&nbsp;{{monitor.venous_pressure}}</td>
567
-            <td>&nbsp;{{monitor.transmembrane_pressure}}</td>
560
+            <td>&nbsp;{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}} / {{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
561
+            <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
562
+            <td>&nbsp;{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
563
+            <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
564
+            <td>&nbsp;{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
565
+            <td>&nbsp;{{monitor.displacement_quantity?monitor.displacement_quantity:''}}</td>
566
+            <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
567
+            <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
568
             <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
568
             <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
569
             <td>&nbsp;{{monitor.dialysate_temperature}}</td>
569
             <td>&nbsp;{{monitor.dialysate_temperature}}</td>
570
             <td>&nbsp;{{monitor.replacement_rate}}</td> -->
570
             <td>&nbsp;{{monitor.replacement_rate}}</td> -->
586
                 <tr>
586
                 <tr>
587
                   <td width="90">实际治疗时间</td>
587
                   <td width="90">实际治疗时间</td>
588
                   <td width="40">
588
                   <td width="40">
589
-                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_hour}}</div>
589
+                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:''}}</div>
590
                   </td>
590
                   </td>
591
                   <td width="10">h</td>
591
                   <td width="10">h</td>
592
                   <td width="40">
592
                   <td width="40">
593
-                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_minute}}</div>
593
+                    <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_minute?fterdialysis.actual_treatment_minute:''}}</div>
594
                   </td>
594
                   </td>
595
                   <td width="35">min</td>
595
                   <td width="35">min</td>
596
                   <td></td>
596
                   <td></td>
597
                   <td width="75">实际超滤量</td>
597
                   <td width="75">实际超滤量</td>
598
                   <td width="70">
598
                   <td width="70">
599
-                    <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration}}</div>
599
+                    <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:''}}</div>
600
                   </td>
600
                   </td>
601
                   <td width="20">ml</td>
601
                   <td width="20">ml</td>
602
                   <td></td>
602
                   <td></td>
603
                   <td width="60">透后体重</td>
603
                   <td width="60">透后体重</td>
604
                   <td width="50">
604
                   <td width="50">
605
-                    <div class="under-line">&nbsp;{{afterdialysis.weight_after}}</div>
605
+                    <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
606
                   </td>
606
                   </td>
607
                   <td width="20">Kg</td>
607
                   <td width="20">Kg</td>
608
                   <td></td>
608
                   <td></td>
827
               <span>{{advice[0].advice_desc}}</span>
827
               <span>{{advice[0].advice_desc}}</span>
828
               <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
828
               <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
829
               <span v-if="advice[0].prescribing_number">* {{advice[0].prescribing_number}}{{advice[0].prescribing_number_unit}}</span>
829
               <span v-if="advice[0].prescribing_number">* {{advice[0].prescribing_number}}{{advice[0].prescribing_number_unit}}</span>
830
-              <span v-if="advice[0].single_dose">单次用量 {{advice[0].single_dose}}{{advice[0].single_dose_unit}}</span>
830
+              <span v-if="advice[0].single_dose != 0">单次用量 {{advice[0].single_dose}}{{advice[0].single_dose_unit}}</span>
831
               <span>{{advice[0].delivery_way}}</span>
831
               <span>{{advice[0].delivery_way}}</span>
832
               <span>{{advice[0].execution_frequency}}</span>
832
               <span>{{advice[0].execution_frequency}}</span>
833
               <div v-for="(child, childindex) in advice[0].children" :key="childindex" class="advice-children">
833
               <div v-for="(child, childindex) in advice[0].children" :key="childindex" class="advice-children">
838
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
838
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
839
                   <span
839
                   <span
840
                     v-if="child.prescribing_number">* {{child.prescribing_number}}{{child.prescribing_number_unit}}</span>
840
                     v-if="child.prescribing_number">* {{child.prescribing_number}}{{child.prescribing_number_unit}}</span>
841
-                  <span v-if="child.single_dose">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
841
+                  <span v-if="child.single_dose != 0">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
842
                 </div>
842
                 </div>
843
               </div>
843
               </div>
844
 
844
 
892
               <span>{{advice[1].advice_desc}}</span>
892
               <span>{{advice[1].advice_desc}}</span>
893
               <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
893
               <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
894
               <span v-if="advice[1].prescribing_number">* {{advice[1].prescribing_number}}{{advice[1].prescribing_number_unit}}</span>
894
               <span v-if="advice[1].prescribing_number">* {{advice[1].prescribing_number}}{{advice[1].prescribing_number_unit}}</span>
895
-              <span v-if="advice[1].single_dose">单次用量 {{advice[1].single_dose}}{{advice[1].single_dose_unit}}</span>
895
+              <span v-if="advice[1].single_dose != 0">单次用量 {{advice[1].single_dose}}{{advice[1].single_dose_unit}}</span>
896
               <span>{{advice[1].delivery_way}}</span>
896
               <span>{{advice[1].delivery_way}}</span>
897
               <span>{{advice[1].execution_frequency}}</span>
897
               <span>{{advice[1].execution_frequency}}</span>
898
 
898
 
904
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
904
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
905
                   <span
905
                   <span
906
                     v-if="child.prescribing_number">* {{child.prescribing_number}}{{child.prescribing_number_unit}}</span>
906
                     v-if="child.prescribing_number">* {{child.prescribing_number}}{{child.prescribing_number_unit}}</span>
907
-                  <span v-if="child.single_dose">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
907
+                  <span v-if="child.single_dose != 0">单次用量 {{child.single_dose}}{{child.single_dose_unit}}</span>
908
                 </div>
908
                 </div>
909
               </div>
909
               </div>
910
             </td>
910
             </td>