Browse Source

修改值为0时不显示

zhengchengwu 6 years ago
parent
commit
1c91f358d4

File diff suppressed because it is too large
+ 1684 - 1618
src/pages/main/Print.vue


+ 10 - 10
src/pages/main/PrintIndex.vue View File

@@ -1074,14 +1074,14 @@
1074 1074
                 </template>     -->
1075 1075
                 {{getTime(monitor.operate_time,'{h}:{i}')}}
1076 1076
               </td>
1077
-              <td>&nbsp;{{monitor.systolic_blood_pressure}} / {{monitor.diastolic_blood_pressure}}</td>
1078
-              <td>&nbsp;{{monitor.pulse_frequency}}</td>
1079
-              <td>&nbsp;{{monitor.breathing_rate}}</td>
1080
-              <td>&nbsp;{{monitor.blood_flow_volume}}</td>
1081
-              <td>&nbsp;{{monitor.ultrafiltration_volume}}</td>
1082
-              <td>&nbsp;{{monitor.displacement_quantity}}</td>
1083
-              <td>&nbsp;{{monitor.venous_pressure}}</td>
1084
-              <td>&nbsp;{{monitor.transmembrane_pressure}}</td>
1077
+              <td>&nbsp;{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}} / {{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
1078
+              <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
1079
+              <td>&nbsp;{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
1080
+              <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
1081
+              <td>&nbsp;{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
1082
+              <td>&nbsp;{{monitor.displacement_quantity?monitor.displacement_quantity:''}}</td>
1083
+              <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
1084
+              <td>&nbsp;{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
1085 1085
               <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
1086 1086
               <td>&nbsp;{{monitor.dialysate_temperature}}</td>
1087 1087
               <td>&nbsp;{{monitor.replacement_rate}}</td> -->
@@ -1114,13 +1114,13 @@
1114 1114
                     <td></td>
1115 1115
                     <td width="75">实际超滤量</td>
1116 1116
                     <td width="70">
1117
-                      <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration}}</div>
1117
+                      <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:''}}</div>
1118 1118
                     </td>
1119 1119
                     <td width="20">ml</td>
1120 1120
                     <td></td>
1121 1121
                     <td width="60">透后体重</td>
1122 1122
                     <td width="50">
1123
-                      <div class="under-line">&nbsp;{{afterdialysis.weight_after}}</div>
1123
+                      <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
1124 1124
                     </td>
1125 1125
                     <td width="20">Kg</td>
1126 1126
                     <td></td>

+ 11 - 11
src/pages/main/dialog/MonitDialog.vue View File

@@ -35,17 +35,17 @@
35 35
             </tr>
36 36
             <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value" @click="selectRow(index, item)" :class="index==currentIndex?rowClass:''">
37 37
                 <td>{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
38
-                <td>{{item.systolic_blood_pressure}}/{{item.diastolic_blood_pressure}}</td>
39
-                <td>{{item.pulse_frequency}}</td>
40
-                <td>{{item.breathing_rate}}</td>
41
-                <td>{{item.blood_flow_volume}}</td>
42
-                <td>{{item.venous_pressure}}</td>
43
-                <td>{{item.transmembrane_pressure}}</td>
44
-                <td>{{item.ultrafiltration_volume}}</td>
45
-                <td>{{item.sodium_concentration}}</td>
46
-                <td>{{item.dialysate_temperature}}</td>
47
-                <td>{{item.replacement_rate}}</td>
48
-                <td>{{item.displacement_quantity}}</td>        
38
+                <td>{{item.systolic_blood_pressure?item.systolic_blood_pressure:""}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:""}}</td>
39
+                <td>{{item.pulse_frequency?item.pulse_frequency:""}}</td>
40
+                <td>{{item.breathing_rate?item.breathing_rate:""}}</td>
41
+                <td>{{item.blood_flow_volume?item.blood_flow_volume:""}}</td>
42
+                <td>{{item.venous_pressure?item.venous_pressure:""}}</td>
43
+                <td>{{item.transmembrane_pressure?item.transmembrane_pressure:""}}</td>
44
+                <td>{{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}</td>
45
+                <td>{{item.sodium_concentration?item.sodium_concentration:""}}</td>
46
+                <td>{{item.dialysate_temperature?item.dialysate_temperature:""}}</td>
47
+                <td>{{item.replacement_rate?item.replacement_rate:""}}</td>
48
+                <td>{{item.displacement_quantity?item.displacement_quantity:""}}</td>
49 49
                 <td>{{item.symptom}}</td>
50 50
                 <td>{{item.dispose}}</td>
51 51
                 <td>{{item.result}}</td>

+ 1 - 2
src/pages/main/dialog/OrdersDialog.vue View File

@@ -69,8 +69,7 @@
69 69
                     >{{ advice.drug_spec }}{{ advice.drug_spec_unit }}</span> -->
70 70
                     <span>{{ advice.advice_desc }}</span>
71 71
                     <span  v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
72
-                    <span
73
-                      v-if="advice.single_dose"
72
+                    <span v-if="advice.single_dose"
74 73
                     >单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
75 74
                     <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
76 75
                     <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>

+ 7 - 4
src/pages/main/dialog/new_order/AddNewOrders.vue View File

@@ -53,8 +53,10 @@
53 53
                   style="text-align: left; padding-left: 5px; padding-right: 5px;"
54 54
                 >{{ advice.title }}</td>
55 55
                 <td>{{ advice.advice_desc }}</td>
56
-                <td>{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td>
57
-                <td>{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
56
+                <td v-if="advice.prescribing_number">{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td>
57
+                <td v-else></td>
58
+                <td v-if="advice.single_dose">{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
59
+                <td v-else></td>
58 60
                 <td>{{ advice.delivery_way }}</td>
59 61
                 <td>{{ advice.execution_frequency }}</td>
60 62
               </tr>
@@ -68,8 +70,9 @@
68 70
                   style="text-align: left; padding-right: 5px; padding-left: 25px;"
69 71
                 >{{ subdrug.title }}</td>
70 72
                 <td>{{ subdrug.advice_desc }}</td>
71
-                <td>{{ subdrug.prescribing_number }}{{ subdrug.prescribing_number_unit }}</td>
72
-                <td>{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</td>
73
+                <td><span v-if="subdrug.prescribing_number">{{ subdrug.prescribing_number }}{{ subdrug.prescribing_number_unit }}</span></td>
74
+                <td><span v-if="subdrug.single_dose">{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</span></td>
75
+                <!--<td v-if="subdrug.single_dose">{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</td>-->
73 76
                 <td></td>
74 77
                 <td></td>
75 78
               </tr>

+ 12 - 2
src/pages/main/dialog/new_order/select_advice_template_dialog.vue View File

@@ -24,10 +24,20 @@
24 24
                         </div>
25 25
                         <div v-show="isFold(template.id)" class="advice" v-for="(advice, index) in template.DoctorAdviceTemplate" :key="index">
26 26
                             <span v-if="advice.parent_id > 0" class="subdrug_info">
27
-                                {{ advice.advice_name }} {{ advice.advice_desc }} {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }} 单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}
27
+                              <span> {{ advice.advice_name }}</span>
28
+                              <span> {{ advice.advice_desc }} </span>
29
+                              <span v-if="advice.prescribing_number"> {{ advice.prescribing_number }} {{ advice.prescribing_number_unit }}</span>
30
+                              <span v-if="advice.single_dose">  单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
31
+
28 32
                             </span>
29 33
                             <van-checkbox v-else class="advice_info" :value="isAdviceSelecting(advice.id)" @click="selectAdviceAction(template, advice)">
30
-                                {{ advice.advice_name }} {{ advice.advice_desc }} {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }} 单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }} {{ advice.delivery_way }} {{ advice.execution_frequency }}
34
+                              <span> {{ advice.advice_name }}</span>
35
+                              <span> {{ advice.advice_desc }} </span>
36
+                              <span v-if="advice.prescribing_number"> {{ advice.prescribing_number }} {{ advice.prescribing_number_unit }}</span>
37
+                              <span v-if="advice.single_dose">  单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
38
+                              <span> {{ advice.delivery_way }} </span>
39
+                              <span> {{ advice.execution_frequency }}</span>
40
+                              <!--{{ advice.advice_name }} {{ advice.advice_desc }} {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }} 单次用量{{ advice.single_dose }}{{ advice.single_dose_unit }} {{ advice.delivery_way }} {{ advice.execution_frequency }}-->
31 41
                             </van-checkbox>
32 42
                         </div>
33 43
                     </div>

+ 6 - 7
src/pages/main/dialysis/AdviceTable.vue View File

@@ -95,11 +95,11 @@
95 95
         <template v-for="(group, group_index) in advice_groups">
96 96
           <tr v-for="(advice, advice_index) in group.advices" :key="advice.id">
97 97
 
98
-            <td v-if="advice.patient_id > 0" :rowspan="group.advices.length">
99
-              <span></span>
100
-            </td>
98
+            <!--<td v-if="advice.patient_id > 0" :rowspan="group.advices.length">-->
99
+              <!--<span></span>-->
100
+            <!--</td>-->
101 101
 
102
-            <td v-else-if="advice_index == 0" :rowspan="group.advices.length">
102
+            <td v-if="advice_index == 0" :rowspan="group.advices.length">
103 103
               <span v-if="advice.advice_type == 1">长嘱</span>
104 104
               <span v-if="advice.advice_type == 2">临嘱</span>
105 105
               <span v-if="advice.advice_type == 3">临嘱</span>
@@ -108,10 +108,9 @@
108 108
 
109 109
             <td v-if="advice_index == 0" :rowspan="group.advices.length">{{ parseTime(advice.start_time, "{m}-{d} {h}:{i}") }}</td>
110 110
             <td :class="{ 'advice_name': advice.parent_id == 0, 'subdrug_name': advice.parent_id > 0 }">{{ advice.advice_name }}</td>
111
-            <!-- <td>{{ advice.drug_spec }} {{ advice.drug_spec_unit }} * {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td> -->
112 111
             <td>{{ advice.advice_desc }}</td>
113
-            <td v-if="advice.prescribing_number">{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td>
114
-            <td v-if="advice.single_dose">{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
112
+            <td ><span v-if="advice.prescribing_number">{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span></td>
113
+            <td ><span v-if="advice.single_dose">{{ advice.single_dose }} {{ advice.single_dose_unit }}</span></td>
115 114
             <td>{{ advice.parent_id == 0 ? advice.delivery_way : "" }}</td>
116 115
             <td>{{ advice.parent_id == 0 ? advice.execution_frequency : "" }}</td>
117 116
 

+ 4 - 4
src/pages/main/dialysis/DialysisTab.vue View File

@@ -2,16 +2,16 @@
2 2
     <div>
3 3
         <div class="nav">
4 4
             <ul>
5
-                <li v-for="(item,i) in ['长期透析处方','透析记录','医嘱信息','排班信息','宣教信息']" :key="i" :class="index == i? 'active':'' "  @click="ClickTab(i)" >{{item}}</li> 
5
+                <li v-for="(item,i) in ['长期透析处方','透析记录','排班信息','宣教信息']" :key="i" :class="index == i? 'active':'' "  @click="ClickTab(i)" >{{item}}</li>
6 6
             </ul>
7 7
         </div>
8 8
 
9 9
         <div class="tab-content">
10 10
             <long-table v-show="index==0" title="长期透析处方"></long-table>
11 11
             <record-table v-show="index==1" title="透析记录"></record-table>
12
-            <advice-table v-show="index==2" title="医嘱信息"></advice-table>
13
-            <schedul-table v-show="index==3" class="排班信息"></schedul-table>
14
-            <mission-table v-show="index==4" class="宣教信息"></mission-table>
12
+            <!--<advice-table v-show="index==2" title="医嘱信息"></advice-table>-->
13
+            <schedul-table v-show="index==2" class="排班信息"></schedul-table>
14
+            <mission-table v-show="index==3" class="宣教信息"></mission-table>
15 15
         </div>
16 16
     </div>
17 17
 </template> 

+ 10 - 7
src/pages/main/dialysis/RecordTable.vue View File

@@ -62,13 +62,13 @@
62 62
             <td>{{scheduleType(item.schedule_type)}}</td>
63 63
             <td>{{item.partition_name}} - {{item.device_number}}</td>
64 64
             <td>{{modeName(item.prescription.mode_id)}}</td>
65
-            <td>{{item.prescription.dialysis_duration}}</td>
66
-            <td>{{item.prescription.dry_weight}}</td>
67
-            <td>{{item.predialysis_evaluation.weight_before}}</td>
68
-            <td>{{item.assessment_after_dislysis.weight_after}}</td>
69
-            <td>{{item.predialysis_evaluation.systolic_blood_pressure}}</td>
70
-            <td>{{item.assessment_after_dislysis.systolic_blood_pressure}}</td>
71
-            <td>{{item.predialysis_evaluation.ultrafiltration_amount}}</td>
65
+            <td>{{item.prescription.dialysis_duration?item.prescription.dialysis_duration:""}}</td>
66
+            <td>{{item.prescription.dry_weight?item.prescription.dry_weight:""}}</td>
67
+            <td>{{item.predialysis_evaluation.weight_before?item.predialysis_evaluation.weight_before:""}}</td>
68
+            <td>{{item.assessment_after_dislysis.weight_after?item.assessment_after_dislysis.weight_after:""}}</td>
69
+            <td>{{item.predialysis_evaluation.systolic_blood_pressure?item.predialysis_evaluation.systolic_blood_pressure:""}}</td>
70
+            <td>{{item.assessment_after_dislysis.systolic_blood_pressure?item.assessment_after_dislysis.systolic_blood_pressure:""}}</td>
71
+            <td>{{item.predialysis_evaluation.ultrafiltration_amount?item.predialysis_evaluation.ultrafiltration_amount:""}}</td>
72 72
             <td>{{setAnticoagulantsConfit(item.prescription)}}</td>
73 73
             <!--<td>{{getName(item.treatment_summary.zl_nurse)}}</td>-->
74 74
             <!--<td>{{getName(item.treatment_summary.zl_doctor)}}</td>-->
@@ -304,12 +304,15 @@ export default {
304 304
       return typeName;
305 305
     },
306 306
     setAnticoagulantsConfit: function(prescription) {
307
+
308
+
307 309
       if (
308 310
         typeof this.anticoagulantsConfit[prescription.anticoagulant] ==
309 311
         "undefined"
310 312
       ) {
311 313
         return "";
312 314
       } else {
315
+
313 316
         if (this.anticoagulantsConfit[prescription.anticoagulant].shouji != 1) {
314 317
           return this.anticoagulantsConfit[prescription.anticoagulant].name;
315 318
         } else {

+ 2 - 0
src/pages/main/today/TodayTab.vue View File

@@ -393,7 +393,9 @@ export default {
393 393
       //     break
394 394
       //   }
395 395
       // }
396
+      this.monitor_records.reverse();
396 397
       this.last_monitor_record = monitor
398
+
397 399
     },
398 400
 
399 401
     didEditMonitor(monitor) {

+ 17 - 17
src/pages/main/today/assessmentAfter.vue View File

@@ -6,18 +6,18 @@
6 6
       <ul>
7 7
         <li>
8 8
           <label for="thtz">透后体重 : </label>
9
-          <span class="content" id="thtz">{{weight_after}}</span>
10
-          <span class="unit">kg</span>
9
+          <span class="content" id="thtz">{{weight_after?weight_after:''}}</span>
10
+          <span class="unit">{{weight_after?"kg":''}}</span>
11 11
         </li>
12 12
         <li>
13 13
           <label for="ssy">收缩压 : </label>
14
-          <span class="content" id="ssy">{{systolic_blood_pressure}}</span>
15
-          <span class="unit">mmHg</span>
14
+          <span class="content" id="ssy">{{systolic_blood_pressure?systolic_blood_pressure:''}}</span>
15
+          <span class="unit">{{systolic_blood_pressure?"mmHg":''}}</span>
16 16
         </li>
17 17
         <li>
18 18
           <label for="sjcll">实际超滤量: </label>
19
-          <span class="content" id="sjcll">{{actual_ultrafiltration}}</span>
20
-          <span class="unit">ml</span>
19
+          <span class="content" id="sjcll">{{actual_ultrafiltration?actual_ultrafiltration:''}}</span>
20
+          <span class="unit">{{actual_ultrafiltration?"ml":''}}</span>
21 21
         </li>
22 22
         <li>
23 23
           <label for="nx">透析器凝血 : </label>
@@ -44,18 +44,18 @@
44 44
       <ul>
45 45
         <li>
46 46
           <label for="tzjs">体重减少 : </label>
47
-          <span class="content" id="tzjs">{{weight_loss}}</span>
48
-          <span class="unit">kg</span>
47
+          <span class="content" id="tzjs">{{weight_loss?weight_loss:''}}</span>
48
+          <span class="unit">{{weight_loss?"kg":''}}</span>
49 49
         </li>
50 50
         <li>
51 51
           <label for="szy">舒张压 : </label>
52
-          <span id="szy" class="content">{{diastolic_blood_pressure}}</span>
53
-          <span class="unit">mmHg</span>
52
+          <span id="szy" class="content">{{diastolic_blood_pressure?diastolic_blood_pressure:''}}</span>
53
+          <span class="unit">{{diastolic_blood_pressure?"mmHg":''}}</span>
54 54
         </li>
55 55
         <li>
56 56
           <label for="sjzhl">实际置换量 : </label>
57
-          <span id="sjzhl" class="content">{{actual_displacement}}</span>
58
-          <span class="unit">ml</span>
57
+          <span id="sjzhl" class="content">{{actual_displacement?actual_displacement:''}}</span>
58
+          <span class="unit">{{actual_displacement?"ml":''}}</span>
59 59
         </li>
60 60
         <li>
61 61
           <label for="thzz">透后症状 : </label>
@@ -82,13 +82,13 @@
82 82
       <ul>
83 83
         <li>
84 84
           <label for="tw">体温 : </label>
85
-          <span class="content" id="tw">{{temperature}}</span>
86
-          <span class="unit">℃</span>
85
+          <span class="content" id="tw">{{temperature?temperature:''}}</span>
86
+          <span class="unit">{{temperature?"":''}}</span>
87 87
         </li>
88 88
         <li>
89 89
           <label for="ml">脉率 : </label>
90
-          <span id="ml" class="content">{{pulse_frequency}}</span>
91
-          <span class="unit">次/分</span>
90
+          <span id="ml" class="content">{{pulse_frequency?pulse_frequency:''}}</span>
91
+          <span class="unit">{{pulse_frequency?"次/分":''}}</span>
92 92
         </li>
93 93
         <li>
94 94
           <label for="sjzl">实际治疗时长 : </label>
@@ -96,7 +96,7 @@
96 96
         </li>
97 97
         <li>
98 98
           <label for="txzrl">透析中入量: </label>
99
-          <span id="txzrl" class="content">{{dialysis_intakes_feed}}</span>
99
+          <span id="txzrl" class="content">{{dialysis_intakes_feed?dialysis_intakes_feed:''}}</span>
100 100
         </li>
101 101
         <li>
102 102
           <label for="xgtlcz">血管通路操作: </label>

+ 13 - 13
src/pages/main/today/assessmentBefore.vue View File

@@ -5,17 +5,17 @@
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">{{ weight_before?weight_before:'' }}</span>
9
+          <span class="unit">{{ weight_before?"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">{{ systolic_blood_pressure?systolic_blood_pressure:""}}</span>
14
+          <span class="unit">{{ systolic_blood_pressure?"mmHg":""}}</span>
15 15
         </li>
16 16
         <li>
17 17
           <label>前次透析后: </label>
18
-          <span class="content">{{ last_post_dialysis }}</span>
18
+          <span class="content">{{ last_post_dialysis}}</span>
19 19
           <span class="unit"></span>
20 20
         </li>
21 21
         <li>
@@ -27,13 +27,13 @@
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">{{ dry_weight?dry_weight:''}}</span>
31
+          <span class="unit">{{ dry_weight?"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">{{ diastolic_blood_pressure?diastolic_blood_pressure:'' }}</span>
36
+          <span class="unit">{{ diastolic_blood_pressure?'mmHg':'' }}</span>
37 37
         </li>
38 38
         <li>
39 39
           <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">{{ temperature?temperature:''}}</span>
53
+          <span class="unit">{{ temperature?"":''}}</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">{{ pulse_frequency?pulse_frequency:''}}</span>
58
+          <span class="unit">{{ pulse_frequency?"次/分":''}}</span>
59 59
         </li>
60 60
         <li>
61 61
           <label>透析前症状 : </label>

+ 13 - 11
src/pages/main/today/dialysisMonitoring.vue View File

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

+ 30 - 30
src/pages/main/today/dialysisPrescription.vue View File

@@ -9,35 +9,35 @@
9 9
         </li>
10 10
         <li>
11 11
           <label>目标超滤量 : </label>
12
-          <span class="content">{{target_ultrafiltration}}</span>
13
-          <span class="unit">ml</span>
12
+          <span class="content">{{target_ultrafiltration != '0'?target_ultrafiltration:''}}</span>
13
+          <span class="unit">{{target_ultrafiltration != '0'?"ml":''}}</span>
14 14
         </li>
15 15
         <li>
16 16
           <label>首剂 : </label>
17
-          <span class="content">{{anticoagulant_shouji}}</span>
18
-          <span class="unit">mg</span>
17
+          <span class="content">{{anticoagulant_shouji != '0'?anticoagulant_shouji:''}}</span>
18
+          <span class="unit">{{anticoagulant_shouji != '0'?"mg":''}}</span>
19 19
         </li>
20 20
         <li>
21 21
           <label>置换量 : </label>
22
-          <span class="content">{{replacement_total}}</span>
23
-          <span class="unit">L</span>
22
+          <span class="content">{{replacement_total != '0'?replacement_total:""}}</span>
23
+          <span class="unit">{{replacement_total != '0'?"L":""}}</span>
24 24
         </li>
25 25
         <li>
26 26
           <label>钙: </label>
27
-          <span class="content">{{calcium}}</span>
28
-          <span class="unit">mmol/l</span>
27
+          <span class="content">{{calcium != '0'?calcium:""}}</span>
28
+          <span class="unit">{{calcium != '0'?"mmol/l":""}}</span>
29 29
         </li>
30 30
         <li>
31 31
           <label>葡萄糖 : </label>
32
-          <span class="content">{{glucose}}</span>
33
-          <span class="unit">mmol/l</span>
32
+          <span class="content">{{glucose != '0'?glucose:""}}</span>
33
+          <span class="unit">{{glucose != '0'?"mmol/l":""}}</span>
34 34
         </li>
35 35
       </ul>
36 36
       <ul>
37 37
         <li>
38 38
           <label>透析时长 : </label>
39
-          <span class="content">{{dialysis_duration}}</span>
40
-          <span class="unit">h</span>
39
+          <span class="content">{{dialysis_duration != '0'?dialysis_duration:""}}</span>
40
+          <span class="unit">{{dialysis_duration != '0'?"h":""}}</span>
41 41
         </li>
42 42
         <li>
43 43
           <label>透析液配方 : </label>
@@ -45,18 +45,18 @@
45 45
         </li>
46 46
         <li>
47 47
           <label>维持 : </label>
48
-          <span class="content">{{anticoagulant_weichi}}</span>
49
-          <span class="unit">mg/h</span>
48
+          <span class="content">{{anticoagulant_weichi != '0'?anticoagulant_weichi:""}}</span>
49
+          <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
50 50
         </li>
51 51
         <li>
52 52
           <label>钾 : </label>
53
-          <span class="content">{{kalium}}</span>
54
-          <span class="unit">mmol/L</span>
53
+          <span class="content">{{kalium != '0'?kalium:""}}</span>
54
+          <span class="unit">{{kalium != '0'?"mmol/L":""}}</span>
55 55
         </li>
56 56
         <li>
57 57
           <label>碳酸氢盐 : </label>
58
-          <span class="content">{{bicarbonate}}</span>
59
-          <span class="unit">mmol/l</span>
58
+          <span class="content">{{bicarbonate != '0'?bicarbonate:""}}</span>
59
+          <span class="unit">{{bicarbonate != '0'?"mmol/l":""}}</span>
60 60
         </li>
61 61
         <!-- <li>
62 62
           <label>干体重 : </label>
@@ -65,15 +65,15 @@
65 65
         </li> -->
66 66
         <li>
67 67
           <label>透析液温度 : </label>
68
-          <span class="content">{{dialysate_temperature}}</span>
69
-          <span class="unit">℃</span>
68
+          <span class="content">{{dialysate_temperature != '0'?dialysate_temperature:""}}</span>
69
+          <span class="unit">{{dialysate_temperature != '0'?"":""}}</span>
70 70
         </li>
71 71
       </ul>
72 72
       <ul>
73 73
         <li>
74 74
           <label>血流量 : </label>
75
-          <span class="content">{{blood_flow_volume}}</span>
76
-          <span class="unit">ml/min</span>
75
+          <span class="content">{{blood_flow_volume != '0'?blood_flow_volume:''}}</span>
76
+          <span class="unit">{{blood_flow_volume != '0'?"ml/min":''}}</span>
77 77
         </li>
78 78
         <li>
79 79
           <label>抗疑剂 : </label>
@@ -81,23 +81,23 @@
81 81
         </li>
82 82
         <li>
83 83
           <label>总量: </label>
84
-          <span class="content">{{anticoagulant_zongliang}}</span>
85
-          <span class="unit">mg</span>
84
+          <span class="content">{{anticoagulant_zongliang != '0'?anticoagulant_zongliang:""}}</span>
85
+          <span class="unit">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
86 86
         </li>
87 87
         <li>
88 88
           <label>钠 : </label>
89
-          <span class="content">{{sodium}}</span>
90
-          <span class="unit">mmol/l</span>
89
+          <span class="content">{{sodium != '0'?sodium:""}}</span>
90
+          <span class="unit">{{sodium != '0'?"mmol/l":""}}</span>
91 91
         </li>
92 92
         <li>
93 93
           <label>透析液流量 : </label>
94
-          <span class="content">{{dialysate_flow}}</span>
95
-          <span class="unit">ml/min</span>
94
+          <span class="content">{{dialysate_flow != '0'?dialysate_flow:""}}</span>
95
+          <span class="unit">{{dialysate_flow != '0'?"ml/min":""}}</span>
96 96
         </li>
97 97
         <li>
98 98
           <label>电导率 : </label>
99
-          <span class="content">{{conductivity}}</span>
100
-          <span class="unit">mS/cm</span>
99
+          <span class="content">{{conductivity != '0'?conductivity:""}}</span>
100
+          <span class="unit">{{conductivity != '0'?"mS/cm":""}}</span>
101 101
         </li>
102 102
 
103 103
         <li>

+ 2 - 2
src/pages/monitoring/index.vue View File

@@ -71,9 +71,9 @@
71 71
             <td width="9%">{{item.patient.dialysis_no}}</td>
72 72
             <td width="13%">{{parseTime(item.schedule_date, "{y}-{m}-{d}")}}</td>
73 73
             <td width="10%">{{item.treatment_mode.name}}</td>
74
-            <td width="9%">{{item.prescription.dewater_amount}}</td>
74
+            <td width="9%">{{item.prescription.dewater_amount?item.prescription.dewater_amount:""}}</td>
75 75
             <td width="14%">
76
-              {{item.assessment_before_dislysis.weight_before}}/{{item.assessment_after_dislysis.weight_after}}
76
+              {{item.assessment_before_dislysis.weight_before?item.assessment_before_dislysis.weight_before:""}}/{{item.assessment_after_dislysis.weight_after?item.assessment_after_dislysis.weight_after:""}}
77 77
             </td>
78 78
             <td width="27%">
79 79
               <span v-if="monitorBloodPressureStatus(item.monitoring_record) == 1">低压</span>

+ 1 - 1
src/pages/personal/ElectronicSignature.vue View File

@@ -118,7 +118,7 @@ export default {
118 118
       middleAry: [],
119 119
       // 配置参数
120 120
       config: {
121
-        lineWidth: 1,
121
+        lineWidth: 15,
122 122
         lineColor: "#000",
123 123
         shadowBlur: 1,
124 124
         fillStyle: "#fff"