Browse Source

Merge branch 'update' of http://git.shengws.com/zhangbj/xt_pad into update

柳香萍 6 years ago
parent
commit
39c098122d

+ 1 - 1
config/prod.env.js View File

@@ -1,6 +1,6 @@
1 1
 'use strict'
2 2
 module.exports = {
3 3
   NODE_ENV: '"production"',
4
-  BASE_API: '"http://api.xt.test.sgjyun.com"'
4
+  BASE_API: '"http://api.xt.kuyicloud.com"'
5 5
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
6 6
 }

File diff suppressed because it is too large
+ 4820 - 7519
package-lock.json


+ 2 - 2
package.json View File

@@ -24,7 +24,7 @@
24 24
     "print-js": "^1.0.54",
25 25
     "vant": "^1.6.8",
26 26
     "vue": "^2.5.2",
27
-    "vue-cropper": "^0.4.8",
27
+    "vue-cropper": "^0.4.9",
28 28
     "vue-cropperjs": "^3.0.0",
29 29
     "vue-pickers": "^1.1.5",
30 30
     "vue-router": "^3.0.1",
@@ -69,7 +69,7 @@
69 69
     "html-webpack-plugin": "^2.30.1",
70 70
     "jest": "^22.0.4",
71 71
     "jest-serializer-vue": "^0.3.0",
72
-    "jquery": "^3.3.1",
72
+    "jquery": "^3.4.0",
73 73
     "less": "^3.8.1",
74 74
     "less-loader": "^4.1.0",
75 75
     "nightwatch": "^0.9.12",

+ 4 - 4
src/pages/advice/DialysisAdviceTable.vue View File

@@ -83,17 +83,17 @@
83 83
 
84 84
         </tr>
85 85
         <template v-for="(schedule) in schedules">
86
-          <tr v-for="(advice, advice_index) in schedule.doctor_advice" :key="advice_index + '_' + index"  @click="clickfunction(schedule)">
86
+          <tr v-for="(advice, advice_index) in schedule.doctor_advice" :key="advice.id + '_' + advice_index + '_' + index"  @click="clickfunction(schedule)">
87 87
             <td>{{ advice.parent_id == 0 ? schedule.device_number.number : "" }}</td>
88 88
             <td>{{ advice.parent_id == 0 ? schedule.patient.name : "" }}</td>
89 89
             <td>{{ advice.parent_id == 0 ? schedule.patient.dialysis_no : "" }}</td>
90
-            <td>{{ getAdaviceType(advice.advice_type)}}</td>
90
+            <td>{{ getAdaviceType(advice.advice_type,advice.parent_id)}}</td>
91 91
             <td>{{ advice.parent_id == 0 ? parseTime(advice.start_time, "{m}-{d} {h}:{i}") : "" }}</td>
92 92
             <td>
93 93
               <span >{{advice.advice_name }}</span>
94 94
               <span >{{advice.advice_desc}}</span>
95
-              <span>{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
96
-              <span> 单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
95
+              <span v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
96
+              <span v-if="advice.single_dose"> 单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
97 97
               <span >{{advice.delivery_way}}</span>
98 98
               <span >{{advice.execution_frequency}}</span>
99 99
             </td>

+ 4 - 4
src/pages/advice/NormalAdviceTable.vue View File

@@ -82,18 +82,18 @@
82 82
 
83 83
           </tr>
84 84
           <template v-for="(schedule) in schedules">
85
-            <tr v-for="(advice, advice_index) in schedule.doctor_advice" :key="advice_index + '_' + index"  @click="clickfunction(schedule)">
85
+            <tr v-for="(advice, advice_index) in schedule.doctor_advice" :key="advice.id + '_' + advice_index + '_' + index"  @click="clickfunction(schedule)">
86 86
               <td>{{ advice.parent_id == 0 ? schedule.device_number.number : "" }}</td>
87 87
               <td>{{ advice.parent_id == 0 ? schedule.patient.name : "" }}</td>
88 88
               <td>{{ advice.parent_id == 0 ? schedule.patient.dialysis_no : "" }}</td>
89
-              <td>{{ getAdaviceType(advice.advice_type)}}</td>
89
+              <td>{{ getAdaviceType(advice.advice_type,advice.parent_id)}}</td>
90 90
               <td>{{ advice.parent_id == 0 ? parseTime(advice.start_time, "{m}-{d} {h}:{i}") : "" }}</td>
91 91
               <td>
92 92
                 <span >{{advice.advice_name }}</span>
93 93
                 <span >{{advice.advice_desc}}</span>
94 94
 
95
-                <span>{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
96
-                <span> 单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
95
+                <span v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
96
+                <span v-if="advice.single_dose"> 单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
97 97
                 <span >{{advice.delivery_way}}</span>
98 98
                 <span >{{advice.execution_frequency}}</span>
99 99
               </td>

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


+ 11 - 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>
@@ -1862,6 +1862,7 @@ export default {
1862 1862
       }
1863 1863
     };
1864 1864
   },
1865
+
1865 1866
   methods: {
1866 1867
     getUser() {
1867 1868
       fetchAllAdminUsers().then(response => {

+ 10 - 6
src/pages/main/dialog/AssessmentDialog.vue View File

@@ -232,7 +232,7 @@
232 232
         setTimeout(function () {
233 233
           input.scrollIntoView()
234 234
         }, 0);
235
-        
235
+
236 236
         if (input.setSelectionRange) {
237 237
           setTimeout(function () {
238 238
               input.setSelectionRange(0, input.value.length);
@@ -279,7 +279,7 @@
279 279
             } else {
280 280
               this.propForm.result = []
281 281
             }
282
-            
282
+
283 283
             this.propForm.click_ref = "last_post_dialysis"
284 284
 
285 285
             break
@@ -346,7 +346,7 @@
346 346
             } else {
347 347
               this.propForm.result = []
348 348
             }
349
-            
349
+
350 350
             this.propForm.click_ref = "catheter"
351 351
 
352 352
             break
@@ -370,7 +370,7 @@
370 370
             } else {
371 371
               this.propForm.result = []
372 372
             }
373
-            
373
+
374 374
             this.propForm.click_ref = "complication"
375 375
             break
376 376
 
@@ -570,6 +570,7 @@
570 570
       },
571 571
       commitInfo:function () {
572 572
         Toast.loading({forbidClick: true, duration: 0})
573
+        console.log(this.formValue)
573 574
         EditAssessmentBeforeDislysis(this.$route.query.patient_id,  this.record_date, this.formValue).then(response=>{
574 575
           if (response.data.state == 0) {
575 576
             Toast(response.data.msg);
@@ -614,12 +615,15 @@
614 615
       // console.log(this.predialysis)
615 616
       this.formValue = this.predialysis
616 617
       if (this.predialysis.id == undefined && this.last_predialysis.id != undefined) {
617
-        this.$set(this.formValue, "dry_weight", this.last_predialysis["dry_weight"])
618
+
619
+
620
+        this.$set(this.formValue, "dry_weight", this.last_predialysis["dry_weight"].toString())
618 621
         this.$set(this.formValue, "internal_fistula", this.last_predialysis["internal_fistula"])
619 622
         this.$set(this.formValue, "internal_fistula_skin", this.last_predialysis["internal_fistula_skin"])
620 623
         this.$set(this.formValue, "blood_access_part_id", this.last_predialysis["blood_access_part_id"])
621 624
         this.$set(this.formValue, "blood_access_part_opera_id", this.last_predialysis["blood_access_part_opera_id"])
622 625
       }
626
+      console.log(this.formValue)
623 627
       this.hemorrhage_state = this.formValue.is_hemorrhage == 1
624 628
     }
625 629
   };
@@ -636,6 +640,6 @@
636 640
   border: none;
637 641
   border-bottom: 1px #e5e5e5 solid;
638 642
   }
639
- 
643
+
640 644
 </style>
641 645
 

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

@@ -6,7 +6,7 @@
6 6
             <h1 class="name">透析监测</h1>
7 7
             <span class="success" >&nbsp;</span>
8 8
         </div>
9
-        <div style="width:100%;background: #fff;">        
9
+        <div style="width:100%;background: #fff;">
10 10
          <div class="yzNav" style="width:80%">
11 11
                 <span @click="openForm()">新增监测</span>
12 12
                 <span @click="openEidtForm()">修改监测</span>
@@ -21,31 +21,31 @@
21 21
                 <th width="72px">血压(mmHg)</th>
22 22
                 <th width="80px">心率(次/分)</th>
23 23
                 <th width="110px">呼吸(次/分)</th>
24
-                <th width="92px">血流量(ml/min)</th>  
24
+                <th width="92px">血流量(ml/min)</th>
25 25
                 <th width="76px">静脉压(mmHg)</th>
26 26
                 <th width="76px">跨膜压(mmHg)</th>
27 27
                 <th width="76px">超滤量(L)</th>
28 28
                 <th width="92px">钠浓度(mmol/L)</th>
29 29
                 <th width="82px">透析液温度(℃)</th>
30 30
                 <th width="92px">置换率(L/h)</th>
31
-                <th width="50px">置换量(L)</th>        
31
+                <th width="50px">置换量(L)</th>
32 32
                 <th width="92px">病情变化</th>
33 33
                 <th width="92px">处理</th>
34 34
                 <th width="92px">结果</th>
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>
@@ -145,27 +145,27 @@
145 145
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.result" readonly placeholder="选择"  @click="showSubMenu('result')">
146 146
               <textarea @focus="lastInputFocus" @blur="lastInputBlur" class="inputBox" style="width: 100%;" :rows="4" v-model="form.result"></textarea>
147 147
             </div>
148
-            
148
+
149 149
             <div class="cell width">
150 150
               <label>监测人:</label>
151
-              <span>{{doctor}}</span>                       
151
+              <span>{{doctor}}</span>
152 152
             </div>
153 153
 
154
-          </div> 
154
+          </div>
155 155
         </div>
156 156
     </div>
157
-    
157
+
158 158
     <mt-datetime-picker
159 159
       ref="picker"
160 160
       type="datetime"
161 161
       @confirm="handleConfirm"
162 162
       v-model="pickertime">
163 163
     </mt-datetime-picker>
164
-    
164
+
165 165
     <check-box-sub-menu :visibility="visibility" v-on:menu-cancle="menuCancle" v-on:menu-comfirm="menuComfirm"
166 166
                         :propsForm="propForm"></check-box-sub-menu>
167 167
 
168
-    
168
+
169 169
 </div>
170 170
 </template>
171 171
 
@@ -292,21 +292,91 @@ export default {
292 292
         var resp = rs.data;
293 293
         if (resp.state == 1) {
294 294
           var monitor = resp.data.monitor;
295
+          if(monitor.systolic_blood_pressure == 0){
296
+            this.form.systolic_bp = ""
297
+          }else {
298
+            this.form.systolic_bp = monitor.systolic_blood_pressure;
299
+          }
300
+
301
+          if(monitor.diastolic_blood_pressure == 0){
302
+            this.form.diastolic_bp = ""
303
+          }else {
304
+            this.form.diastolic_bp = monitor.diastolic_blood_pressure;
305
+          }
306
+
307
+          if(monitor.pulse_frequency == 0){
308
+            this.form.pulse_frequency = ""
309
+          }else {
310
+            this.form.pulse_frequency = monitor.pulse_frequency;
311
+          }
312
+
313
+          if(monitor.breathing_rate == 0){
314
+            this.form.breathing_rated = ""
315
+          }else {
316
+            this.form.breathing_rated = monitor.breathing_rate;
317
+          }
318
+
319
+          if(monitor.blood_flow_volume == 0){
320
+            this.form.blood_flow_volume = ""
321
+          }else {
322
+            this.form.blood_flow_volume = monitor.blood_flow_volume;
323
+          }
324
+
325
+
326
+          if(monitor.venous_pressure == 0){
327
+            this.form.venous_pressure = ""
328
+          }else {
329
+            this.form.venous_pressure = monitor.venous_pressure;
330
+          }
331
+
332
+          if(monitor.arterial_pressure == 0){
333
+            this.form.arterial_pressure = ""
334
+          }else {
335
+            this.form.arterial_pressure = monitor.arterial_pressure;
336
+          }
337
+
338
+          if(monitor.transmembrane_pressure == 0){
339
+            this.form.transmembrane_pressure = ""
340
+          }else {
341
+            this.form.transmembrane_pressure = monitor.transmembrane_pressure;
342
+          }
343
+
344
+          if(monitor.ultrafiltration_rate == 0){
345
+            this.form.ultrafiltration_rate = ""
346
+          }else {
347
+            this.form.ultrafiltration_rate = monitor.ultrafiltration_rate;
348
+          }
349
+
350
+          if(monitor.ultrafiltration_volume == 0){
351
+            this.form.ultrafiltration_volume = ""
352
+          }else {
353
+            this.form.ultrafiltration_volume = monitor.ultrafiltration_volume;
354
+          }
355
+
356
+          if(monitor.sodium_concentration == 0){
357
+            this.form.sodium_concentration = ""
358
+          }else {
359
+            this.form.sodium_concentration = monitor.sodium_concentration;
360
+          }
361
+
362
+          if(monitor.dialysate_temperature == 0){
363
+            this.form.dialysate_temperature = ""
364
+          }else {
365
+            this.form.dialysate_temperature = monitor.dialysate_temperature;
366
+          }
367
+
368
+          if(monitor.replacement_rate == 0){
369
+            this.form.replacement_rate = ""
370
+          }else {
371
+            this.form.replacement_rate = monitor.replacement_rate;
372
+          }
373
+
374
+          if(monitor.displacement_quantity == 0){
375
+            this.form.displacement_quantity = ""
376
+          }else {
377
+            this.form.displacement_quantity = monitor.displacement_quantity;
378
+          }
295 379
 
296
-          this.form.systolic_bp = monitor.systolic_blood_pressure;
297
-          this.form.diastolic_bp = monitor.diastolic_blood_pressure;
298
-          this.form.pulse_frequency = monitor.pulse_frequency;
299
-          this.form.breathing_rated = monitor.breathing_rate;
300
-          this.form.blood_flow_volume = monitor.blood_flow_volume;
301
-          this.form.venous_pressure = monitor.venous_pressure;
302
-          this.form.arterial_pressure = monitor.arterial_pressure;
303
-          this.form.transmembrane_pressure = monitor.transmembrane_pressure;
304
-          this.form.ultrafiltration_rate = monitor.ultrafiltration_rate;
305
-          this.form.ultrafiltration_volume = monitor.ultrafiltration_volume;
306
-          this.form.sodium_concentration = monitor.sodium_concentration;
307
-          this.form.dialysate_temperature = monitor.dialysate_temperature;
308
-          this.form.replacement_rate = monitor.replacement_rate;
309
-          this.form.displacement_quantity = monitor.displacement_quantity;
310 380
           this.form.ktv = monitor.ktv;
311 381
           this.form.symptom = monitor.symptom;
312 382
           this.form.dispose = monitor.dispose;
@@ -442,21 +512,98 @@ export default {
442 512
       this.listPanel = false;
443 513
       // console.log("this.currentRow", this.currentRow);
444 514
 
445
-      this.form.pulse_frequency = this.currentRow.pulse_frequency;
446
-      this.form.breathing_rated = this.currentRow.breathing_rate;
447
-      this.form.systolic_bp = this.currentRow.systolic_blood_pressure;
448
-      this.form.diastolic_bp = this.currentRow.diastolic_blood_pressure;
449
-      this.form.blood_flow_volume = this.currentRow.blood_flow_volume;
450
-      this.form.venous_pressure = this.currentRow.venous_pressure;
451
-      this.form.arterial_pressure = this.currentRow.arterial_pressure;
452
-      this.form.transmembrane_pressure = this.currentRow.transmembrane_pressure;
453
-      this.form.ultrafiltration_rate = this.currentRow.ultrafiltration_rate;
454
-      this.form.ultrafiltration_volume = this.currentRow.ultrafiltration_volume;
455
-      this.form.sodium_concentration = this.currentRow.sodium_concentration;
456
-      this.form.dialysate_temperature = this.currentRow.dialysate_temperature;
457
-      this.form.replacement_rate = this.currentRow.replacement_rate;
458
-      this.form.displacement_quantity = this.currentRow.displacement_quantity;
459
-      this.form.ktv = this.currentRow.ktv;
515
+
516
+      if(this.currentRow.systolic_blood_pressure == 0){
517
+        this.form.systolic_bp = ""
518
+      }else {
519
+        this.form.systolic_bp = this.currentRow.systolic_blood_pressure;
520
+      }
521
+
522
+      if(this.currentRow.diastolic_blood_pressure == 0){
523
+        this.form.diastolic_bp = ""
524
+      }else {
525
+        this.form.diastolic_bp = this.currentRow.diastolic_blood_pressure;
526
+      }
527
+
528
+      if(this.currentRow.pulse_frequency == 0){
529
+        this.form.pulse_frequency = ""
530
+      }else {
531
+        this.form.pulse_frequency = this.currentRow.pulse_frequency;
532
+      }
533
+
534
+      if(this.currentRow.breathing_rate == 0){
535
+        this.form.breathing_rated = ""
536
+      }else {
537
+        this.form.breathing_rated = this.currentRow.breathing_rate;
538
+      }
539
+
540
+      if(this.currentRow.blood_flow_volume == 0){
541
+        this.form.blood_flow_volume = ""
542
+      }else {
543
+        this.form.blood_flow_volume = this.currentRow.blood_flow_volume;
544
+      }
545
+
546
+
547
+      if(this.currentRow.venous_pressure == 0){
548
+        this.form.venous_pressure = ""
549
+      }else {
550
+        this.form.venous_pressure = this.currentRow.venous_pressure;
551
+      }
552
+
553
+      if(this.currentRow.arterial_pressure == 0){
554
+        this.form.arterial_pressure = ""
555
+      }else {
556
+        this.form.arterial_pressure = this.currentRow.arterial_pressure;
557
+      }
558
+
559
+      if(this.currentRow.transmembrane_pressure == 0){
560
+        this.form.transmembrane_pressure = ""
561
+      }else {
562
+        this.form.transmembrane_pressure = this.currentRow.transmembrane_pressure;
563
+      }
564
+
565
+      if(this.currentRow.ultrafiltration_rate == 0){
566
+        this.form.ultrafiltration_rate = ""
567
+      }else {
568
+        this.form.ultrafiltration_rate =this.currentRow.ultrafiltration_rate;
569
+      }
570
+
571
+      if(this.currentRow.ultrafiltration_volume == 0){
572
+        this.form.ultrafiltration_volume = ""
573
+      }else {
574
+        this.form.ultrafiltration_volume = this.currentRow.ultrafiltration_volume;
575
+      }
576
+
577
+      if(this.currentRow.sodium_concentration == 0){
578
+        this.form.sodium_concentration = ""
579
+      }else {
580
+        this.form.sodium_concentration = this.currentRow.sodium_concentration;
581
+      }
582
+
583
+      if(this.currentRow.dialysate_temperature == 0){
584
+        this.form.dialysate_temperature = ""
585
+      }else {
586
+        this.form.dialysate_temperature = this.currentRow.dialysate_temperature;
587
+      }
588
+
589
+      if(this.currentRow.replacement_rate == 0){
590
+        this.form.replacement_rate = ""
591
+      }else {
592
+        this.form.replacement_rate = this.currentRow.replacement_rate;
593
+      }
594
+
595
+      if(this.currentRow.displacement_quantity == 0){
596
+        this.form.displacement_quantity = ""
597
+      }else {
598
+        this.form.displacement_quantity = this.currentRow.displacement_quantity;
599
+      }
600
+
601
+      if(this.currentRow.ktv == 0){
602
+        this.form.ktv = ""
603
+      }else {
604
+        this.form.ktv = this.currentRow.ktv;
605
+      }
606
+
460 607
       this.form.symptom = this.currentRow.symptom;
461 608
       this.form.dispose = this.currentRow.dispose;
462 609
       this.form.result = this.currentRow.result;
@@ -504,20 +651,20 @@ export default {
504 651
       this.form.breathing_rated = ""; //this.last_monitor_record.breathing_rate;
505 652
       this.form.systolic_bp = ""; //this.last_monitor_record.systolic_blood_pressure;
506 653
       this.form.diastolic_bp = ""; //this.last_monitor_record.diastolic_blood_pressure;
507
-      this.form.blood_flow_volume = this.last_monitor_record.blood_flow_volume;
508
-      this.form.venous_pressure = this.last_monitor_record.venous_pressure;
509
-      this.form.arterial_pressure = this.last_monitor_record.arterial_pressure;
510
-      this.form.transmembrane_pressure = this.last_monitor_record.transmembrane_pressure;
511
-      this.form.ultrafiltration_rate = this.last_monitor_record.ultrafiltration_rate;
512
-      this.form.ultrafiltration_volume = this.last_monitor_record.ultrafiltration_volume;
513
-      this.form.sodium_concentration = this.last_monitor_record.sodium_concentration;
514
-      this.form.dialysate_temperature = this.last_monitor_record.dialysate_temperature;
515
-      this.form.replacement_rate = this.last_monitor_record.replacement_rate;
516
-      this.form.displacement_quantity = this.last_monitor_record.displacement_quantity;
517
-      this.form.ktv = this.last_monitor_record.ktv;
518
-      this.form.symptom = this.last_monitor_record.symptom;
519
-      this.form.dispose = this.last_monitor_record.dispose;
520
-      this.form.result = this.last_monitor_record.result;
654
+      this.form.blood_flow_volume =""; //this.last_monitor_record.blood_flow_volume;
655
+      this.form.venous_pressure = "";//this.last_monitor_record.venous_pressure;
656
+      this.form.arterial_pressure = ""; //this.last_monitor_record.arterial_pressure;
657
+      this.form.transmembrane_pressure =""; // this.last_monitor_record.transmembrane_pressure;
658
+      this.form.ultrafiltration_rate = "";// this.last_monitor_record.ultrafiltration_rate;
659
+      this.form.ultrafiltration_volume ="";// this.last_monitor_record.ultrafiltration_volume;
660
+      this.form.sodium_concentration = "";//this.last_monitor_record.sodium_concentration;
661
+      this.form.dialysate_temperature = ""; //this.last_monitor_record.dialysate_temperature;
662
+      this.form.replacement_rate = ""; // this.last_monitor_record.replacement_rate;
663
+      this.form.displacement_quantity =""; // this.last_monitor_record.displacement_quantity;
664
+      this.form.ktv = ""; //this.last_monitor_record.ktv;
665
+      this.form.symptom ="";// this.last_monitor_record.symptom;
666
+      this.form.dispose =""; // this.last_monitor_record.dispose;
667
+      this.form.result =""; //this.last_monitor_record.result;
521 668
       this.form.id = -1;
522 669
       console.log(this.form);
523 670
       // }

+ 3 - 4
src/pages/main/dialog/OrdersDialog.vue View File

@@ -68,10 +68,9 @@
68 68
                       v-if="advice.drug_spec > 0"
69 69
                     >{{ advice.drug_spec }}{{ advice.drug_spec_unit }}</span> -->
70 70
                     <span>{{ advice.advice_desc }}</span>
71
-                    <span>{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
72
-                    <span
73
-                      v-if="advice.single_dose"
74
-                    >单次量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
71
+                    <span  v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
72
+                    <span v-if="advice.single_dose"
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>
77 76
                   </div>

+ 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>

+ 8 - 5
src/pages/main/dialysis/AdviceTable.vue View File

@@ -73,7 +73,7 @@
73 73
 
74 74
           <th width="334px">开始时间</th>
75 75
           <th width="415px">医嘱内容</th>
76
-          <th width="220px">用药规格</th>
76
+          <th width="220px">规格</th>
77 77
           <th width="164px">开药数量</th>
78 78
           <th width="164px">单次用量</th>
79 79
           <th width="286px">给药途径</th>
@@ -94,20 +94,23 @@
94 94
         </tr>
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
+
98
+            <!--<td v-if="advice.patient_id > 0" :rowspan="group.advices.length">-->
99
+              <!--<span></span>-->
100
+            <!--</td>-->
101
+
97 102
             <td v-if="advice_index == 0" :rowspan="group.advices.length">
98 103
               <span v-if="advice.advice_type == 1">长嘱</span>
99 104
               <span v-if="advice.advice_type == 2">临嘱</span>
100 105
               <span v-if="advice.advice_type == 3">临嘱</span>
101 106
 
102
-
103 107
             </td>
104 108
 
105 109
             <td v-if="advice_index == 0" :rowspan="group.advices.length">{{ parseTime(advice.start_time, "{m}-{d} {h}:{i}") }}</td>
106 110
             <td :class="{ 'advice_name': advice.parent_id == 0, 'subdrug_name': advice.parent_id > 0 }">{{ advice.advice_name }}</td>
107
-            <!-- <td>{{ advice.drug_spec }} {{ advice.drug_spec_unit }} * {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td> -->
108 111
             <td>{{ advice.advice_desc }}</td>
109
-            <td>{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td>
110
-            <td>{{ 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>
111 114
             <td>{{ advice.parent_id == 0 ? advice.delivery_way : "" }}</td>
112 115
             <td>{{ advice.parent_id == 0 ? advice.execution_frequency : "" }}</td>
113 116
 

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

@@ -2,16 +2,16 @@
2 2
     <div class="fixedBox">
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>-->
@@ -302,12 +302,15 @@ export default {
302 302
       return typeName;
303 303
     },
304 304
     setAnticoagulantsConfit: function(prescription) {
305
+
306
+
305 307
       if (
306 308
         typeof this.anticoagulantsConfit[prescription.anticoagulant] ==
307 309
         "undefined"
308 310
       ) {
309 311
         return "";
310 312
       } else {
313
+
311 314
         if (this.anticoagulantsConfit[prescription.anticoagulant].shouji != 1) {
312 315
           return this.anticoagulantsConfit[prescription.anticoagulant].name;
313 316
         } 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/main/today/statOrder.vue View File

@@ -24,8 +24,8 @@
24 24
               <span>{{advice.advice_name }}</span>
25 25
               <!-- <span>{{advice.drug_spec}}{{advice.drug_spec_unit}} * {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span> -->
26 26
               <span>{{advice.advice_desc}}</span>
27
-              <span>{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
28
-              <span>单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
27
+              <span v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
28
+              <span v-if="advice.single_dose">单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
29 29
               <span>{{advice.delivery_way}}</span>
30 30
               <span>{{advice.execution_frequency}}</span>
31 31
             </td>

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

@@ -70,9 +70,9 @@
70 70
             <td width="9%">{{item.patient.dialysis_no}}</td>
71 71
             <td width="13%">{{parseTime(item.schedule_date, "{y}-{m}-{d}")}}</td>
72 72
             <td width="10%">{{item.treatment_mode.name}}</td>
73
-            <td width="9%">{{item.prescription.dewater_amount}}</td>
73
+            <td width="9%">{{item.prescription.dewater_amount?item.prescription.dewater_amount:""}}</td>
74 74
             <td width="14%">
75
-              {{item.assessment_before_dislysis.weight_before}}/{{item.assessment_after_dislysis.weight_after}}
75
+              {{item.assessment_before_dislysis.weight_before?item.assessment_before_dislysis.weight_before:""}}/{{item.assessment_after_dislysis.weight_after?item.assessment_after_dislysis.weight_after:""}}
76 76
             </td>
77 77
             <td width="27%">
78 78
               <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"