Browse Source

修改值为0时不显示

zhengchengwu 5 years ago
parent
commit
92bcb0c8f1

+ 1 - 0
src/xt_pages/data/druguseTemplate.vue View File

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

+ 42 - 32
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -13,40 +13,42 @@
13 13
         </li> -->
14 14
         <li>
15 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 18
         </li>
19 19
         <li>
20 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 23
         </li>
24 24
         <li>
25 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 28
         </li>
29 29
         <li>
30 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 33
         </li>
34 34
         <li>
35 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 38
         </li>
39 39
       </ul>
40 40
       <ul>
41 41
         <li>
42 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 47
         </li>
46 48
         <li>
47 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 52
         </li>
51 53
         <!-- <li>
52 54
           <label>置换方式 : </label>
@@ -54,23 +56,23 @@
54 56
         </li> -->
55 57
         <li>
56 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 61
         </li>
60 62
         <li>
61 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 66
         </li>
65 67
         <li>
66 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 71
         </li>
70 72
         <li>
71 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 76
         </li>
75 77
       </ul>
76 78
       <ul>
@@ -80,8 +82,8 @@
80 82
         </li> -->
81 83
         <li>
82 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 87
         </li>
86 88
         <li>
87 89
           <label>抗疑剂 : </label>
@@ -89,23 +91,23 @@
89 91
         </li>
90 92
         <li>
91 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 96
         </li>
95 97
         <li>
96 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 101
         </li>
100 102
         <li>
101 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 106
         </li>
105 107
         <li>
106 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 111
         </li>
110 112
 
111 113
         <li>
@@ -188,6 +190,14 @@ export default {
188 190
       var v = this.getValueStr("dialysis_duration", "dialysis_duration")
189 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 201
     blood_flow_volume: function() {
192 202
       var v = this.getValueStr("blood_flow_volume", "blood_flow_volume")
193 203
       return v.length == 0 ? "0" : v

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

@@ -5,18 +5,18 @@
5 5
       <ul>
6 6
         <li>
7 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 10
         </li>
11 11
         <li>
12 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 15
         </li>
16 16
         <li>
17 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 20
         </li>
21 21
         <li>
22 22
           <label>疑血 : </label>
@@ -46,18 +46,18 @@
46 46
       <ul>
47 47
         <li>
48 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 51
         </li>
52 52
         <li>
53 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 56
         </li>
57 57
         <li>
58 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 61
         </li>
62 62
         <li>
63 63
           <label>透后症状 : </label>
@@ -84,21 +84,22 @@
84 84
       <ul>
85 85
         <li>
86 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 89
         </li>
90 90
         <li>
91 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 94
         </li>
95 95
         <li>
96 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 99
         </li>
99 100
         <li>
100 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 103
         </li>
103 104
         <li>
104 105
           <label>血管通路操作: </label>

+ 16 - 16
src/xt_pages/dialysis/details/assessmentBefore.vue View File

@@ -5,18 +5,18 @@
5 5
       <ul>
6 6
         <li>
7 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 10
         </li>
11 11
         <li>
12 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 15
         </li>
16 16
         <li>
17 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 20
         </li>
21 21
         <li>
22 22
           <label>导管 : </label>
@@ -27,18 +27,18 @@
27 27
       <ul>
28 28
         <li>
29 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 32
         </li>
33 33
         <li>
34 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 37
         </li>
38 38
         <li>
39 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 42
         </li>
43 43
         <li>
44 44
           <label>合并症: </label>
@@ -49,13 +49,13 @@
49 49
       <ul>
50 50
         <li>
51 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 54
         </li>
55 55
         <li>
56 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 59
         </li>
60 60
         <li>
61 61
           <label>透析前症状 : </label>

+ 28 - 3
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -318,13 +318,38 @@ export default {
318 318
           }
319 319
           if(this.assessment_after_dislysis['internal_fistula_tremor_ac'] == 0){
320 320
             this.form['internal_fistula_tremor_ac'] = ''
321
-
322 321
           }
323 322
           if(this.assessment_after_dislysis['patient_gose'] == 0){
324 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 View File

@@ -857,11 +857,11 @@
857 857
             "{y}-{m}-{d} {h}:{i}:{s}"
858 858
           ),
859 859
           advice_name: row.advice_name,
860
-          drug_spec: '' + row.drug_spec,
860
+          drug_spec: row.drug_spec!=0 ? '' + row.drug_spec : '',
861 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 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 865
           prescribing_number_unit: row.prescribing_number_unit,
866 866
           delivery_way: row.delivery_way,
867 867
           execution_frequency: row.execution_frequency,

+ 3 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -821,11 +821,11 @@
821 821
           this.nameForm = {
822 822
             advice_name: this.groupSelectRow.advice_name,
823 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 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 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 829
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
830 830
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
831 831
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,

+ 3 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue View File

@@ -1049,11 +1049,11 @@
1049 1049
           this.nameForm = {
1050 1050
             advice_name: this.groupSelectRow.advice_name,
1051 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 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 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 1057
             prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
1058 1058
             delivery_way: this.isChild ? '' : this.groupSelectRow.delivery_way,
1059 1059
             execution_frequency: this.isChild ? '' : this.groupSelectRow.execution_frequency,

+ 21 - 4
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -489,15 +489,11 @@
489 489
             this.assessmentBeforeDislysis['catheter_bend'] = ''
490 490
           }else{
491 491
             this.assessmentBeforeDislysis['catheter_bend']  = this.predialysis_evaluation['catheter_bend']+''
492
-
493
-
494 492
           }
495 493
           if(this.predialysis_evaluation['is_hemorrhage'] == 0){
496 494
             this.assessmentBeforeDislysis['is_hemorrhage'] = ''
497 495
           }else{
498
-
499 496
             this.assessmentBeforeDislysis['is_hemorrhage']  = this.predialysis_evaluation['is_hemorrhage']+''
500
-
501 497
           }
502 498
           if(this.predialysis_evaluation['blood_access_part_id'] == 0){
503 499
             this.assessmentBeforeDislysis['blood_access_part_id'] = ''
@@ -505,6 +501,27 @@
505 501
           if(this.predialysis_evaluation['blood_access_part_opera_id'] == 0){
506 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 View File

@@ -482,12 +482,15 @@
482 482
 
483 483
       var date = this.$route.query && this.$route.query.date;
484 484
       this.record_date = uParseTime(date, '{y}-{m}-{d}');
485
+
486
+           
485 487
     },
486 488
     watch: {
487 489
       isVisibility(val) {
488 490
 
489 491
       },
490 492
       "prescription.id": function () {
493
+        
491 494
         if (this.prescription.id > 0) {
492 495
           for (var index in this.dialysisPrescription) {
493 496
             this.dialysisPrescription[index] = this.prescription[index];
@@ -513,6 +516,59 @@
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 574
       "solution.id": function () {
@@ -539,6 +595,58 @@
539 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 651
           } else if (this.solution != null && typeof this.solution.id != 'undefined' && this.solution.id) {
544 652
             for (const key in this.solution) {
@@ -556,8 +664,58 @@
556 664
             if(this.solution['anticoagulant'] == 0){
557 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 View File

@@ -17,28 +17,58 @@
17 17
           </el-table-column>
18 18
           <el-table-column align="center" label="血压(mmhg)" width="110">
19 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 21
             </template>
22 22
           </el-table-column>
23 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 27
           </el-table-column>
25 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 32
           </el-table-column>
27 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 37
           </el-table-column>
29 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 42
           </el-table-column>
31 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 47
           </el-table-column>
33 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 52
           </el-table-column>
35 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 57
           </el-table-column>
37 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 62
           </el-table-column>
39 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 67
           </el-table-column>
41 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 72
           </el-table-column>
43 73
           <el-table-column prop="symptom" align="center" label="病情变化" width="130">
44 74
           </el-table-column>
@@ -368,20 +398,20 @@
368 398
             // this.form.operate_date = monitor.operate_date
369 399
             // this.form.monitoring_time = monitor.monitoring_time
370 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 415
           this.form.ktv = monitor.ktv
386 416
           this.form.symptom = monitor.symptom
387 417
           this.form.dispose = monitor.dispose

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

@@ -22,17 +22,17 @@
22 22
       </tr>
23 23
       <tr v-for="(monitor, index) in monitores" :key="index">
24 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 36
         <td>{{ monitor.symptom }}</td>
37 37
         <td>{{ monitor.dispose }}</td>
38 38
         <td>{{ monitor.result }}</td>

+ 24 - 24
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -107,7 +107,7 @@
107 107
                   <td></td>
108 108
                   <td width="50">体温:</td>
109 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 111
                   </td>
112 112
                   <td width="35">℃</td>
113 113
                 </tr>
@@ -304,35 +304,35 @@
304 304
                 <tr>
305 305
                   <td width="70">透析时间:</td>
306 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 308
                   </td>
309 309
                   <td width="10">h</td>
310 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 312
                   </td>
313 313
                   <td width="35">min</td>
314 314
                   <td></td>
315 315
                   <td width="55">血流量:</td>
316 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 318
                   </td>
319 319
                   <td width="60">ml/min</td>
320 320
                   <td></td>
321 321
                   <td width="40">体重:</td>
322 322
                   <td width="35">透前</td>
323 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 325
                   </td>
326 326
                   <td width="20">Kg</td>
327 327
                   <td width="45">干体重</td>
328 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 330
                   </td>
331 331
                   <td width="20">Kg</td>
332 332
                   <td></td>
333 333
                   <td width="85">目标超滤量:</td>
334 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 336
                   </td>
337 337
                   <td width="20">ml</td>
338 338
                 </tr>
@@ -452,7 +452,7 @@
452 452
                 <tr>
453 453
                   <td width="55">置换量:</td>
454 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 456
                   </td>
457 457
                   <td width="10">L</td>
458 458
                   <td width="10"></td>
@@ -557,14 +557,14 @@
557 557
               </template>     -->
558 558
               {{getTime(monitor.operate_time,'{h}:{i}')}}
559 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 568
             <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
569 569
             <td>&nbsp;{{monitor.dialysate_temperature}}</td>
570 570
             <td>&nbsp;{{monitor.replacement_rate}}</td> -->
@@ -586,23 +586,23 @@
586 586
                 <tr>
587 587
                   <td width="90">实际治疗时间</td>
588 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 590
                   </td>
591 591
                   <td width="10">h</td>
592 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 594
                   </td>
595 595
                   <td width="35">min</td>
596 596
                   <td></td>
597 597
                   <td width="75">实际超滤量</td>
598 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 600
                   </td>
601 601
                   <td width="20">ml</td>
602 602
                   <td></td>
603 603
                   <td width="60">透后体重</td>
604 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 606
                   </td>
607 607
                   <td width="20">Kg</td>
608 608
                   <td></td>
@@ -827,7 +827,7 @@
827 827
               <span>{{advice[0].advice_desc}}</span>
828 828
               <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
829 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 831
               <span>{{advice[0].delivery_way}}</span>
832 832
               <span>{{advice[0].execution_frequency}}</span>
833 833
               <div v-for="(child, childindex) in advice[0].children" :key="childindex" class="advice-children">
@@ -838,7 +838,7 @@
838 838
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
839 839
                   <span
840 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 842
                 </div>
843 843
               </div>
844 844
 
@@ -892,7 +892,7 @@
892 892
               <span>{{advice[1].advice_desc}}</span>
893 893
               <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
894 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 896
               <span>{{advice[1].delivery_way}}</span>
897 897
               <span>{{advice[1].execution_frequency}}</span>
898 898
 
@@ -904,7 +904,7 @@
904 904
                   <span v-if="child.drug_spec">{{child.drug_spec}}{{child.drug_spec_unit}}</span>
905 905
                   <span
906 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 908
                 </div>
909 909
               </div>
910 910
             </td>