Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Pad_New

See999 4 years ago
parent
commit
fa64b4ba6c

+ 1 - 2
src/pages/home/activeForm.vue View File

@@ -9,7 +9,6 @@
9 9
 
10 10
         <div class="formBox">
11 11
             <div class="attentionBox">
12
-                <p>注意</p>
13 12
                 <p>*本次活动免费赠送且包邮,请正确填写您的个人资料,工作人员将在1-3天内通过电话或微信方式联系您并核对信息,尽快为您安排发货</p>
14 13
                 <p>*<span>提交信息成功即可扫码加入活动微信交流群</span></p>
15 14
                 <p>*标有<span>*</span>的栏目必须填写;</p>
@@ -17,7 +16,7 @@
17 16
                 <p>以上解释权归酷医云所有,敬请留意</p>
18 17
             </div>
19 18
             <van-field v-model="form.name" label="收件姓名" required placeholder="请填写"/>
20
-            <van-field v-model="form.mobile" label="收件手机" required placeholder="请填写" readonly/>
19
+            <van-field v-model="form.mobile" label="收件手机" required placeholder="请填写"/>
21 20
             <van-field v-model="form.address" label="收件地址" required placeholder="请填写"/>
22 21
             <van-field v-model="position"  label="您的职务" @click="show = true" readonly required placeholder="请填写"/>
23 22
             <van-field v-model="form.hospital_name" label="医院名称" required placeholder="请填写"/>

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


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

@@ -223,9 +223,9 @@
223 223
           @click="showSubMenu('internal_fistula_skin')"
224 224
           class="item"
225 225
           ref="internal_fistula_skin"
226
-          v-if="isShow('内瘘皮肤情况')"
226
+          v-if="isShow('血管通路皮肤情况')"
227 227
         >
228
-          <h2 class="name">内瘘皮肤情况</h2>
228
+          <h2 class="name">血管通路皮肤情况</h2>
229 229
           <div class="content">
230 230
             <span class="text" style="width: 100px">{{formValue.internal_fistula_skin}}</span>
231 231
             <span class="iconfont">&#xe6f9;</span>
@@ -1095,7 +1095,7 @@ export default {
1095 1095
 
1096 1096
           this.propForm.type = 10;
1097 1097
           this.isShowDialog = false;
1098
-          this.propForm.title = "内瘘皮肤情况";
1098
+          this.propForm.title = "血管通路皮肤情况";
1099 1099
           this.visibility = true;
1100 1100
           this.propForm.list = this.$store.getters.internal_fistula_skin;
1101 1101
           this.propForm.optionList = [];

+ 16 - 26
src/pages/main/dialog/ThorougDialog.vue View File

@@ -371,15 +371,15 @@
371 371
 
372 372
         <div class="line"></div>
373 373
 
374
-        <!--<div class="item">-->
375
-        <!--<label class="name" for="sjzhl">实际置换量(L)</label>-->
376
-        <!--<div class="content">-->
377
-        <!--<input type="tel" @focus="inputFocus" id="sjzhl" v-model="formValue.actual_displacement"/>-->
374
+        <div class="item">
375
+          <label class="name" for="sjzhl">实际置换量(L)</label>
376
+          <div class="content">
377
+          <input type="tel" @focus="inputFocus" id="sjzhl" v-model="formValue.actual_displacement"/>
378 378
 
379
-        <!--&lt;!&ndash;<span class="text">HD</span>&ndash;&gt;-->
380
-        <!--&lt;!&ndash;<span class="iconfont">&#xe6f9;</span>&ndash;&gt;-->
381
-        <!--</div>-->
382
-        <!--</div>-->
379
+          <!--&lt;!&ndash;<span class="text">HD</span>&ndash;&gt;-->
380
+          <!--&lt;!&ndash;<span class="iconfont">&#xe6f9;</span>&ndash;&gt;-->
381
+          </div>
382
+        </div>
383 383
 
384 384
         <div class="item" v-if="isShow('体温')">
385 385
           <label class="name" for="tw">体温(℃)</label>
@@ -582,7 +582,6 @@
582 582
           </div>
583 583
         </div>
584 584
 
585
-
586 585
         <div class="item" v-if="isShow('脉搏')">
587 586
           <label class="name" for="ml">脉搏(次/分)</label>
588 587
           <div class="content">
@@ -613,7 +612,6 @@
613 612
           </div>
614 613
         </div>
615 614
 
616
-
617 615
         <div class="item" v-if="isShow('中心静脉封管(肝素-B端)')">
618 616
           <label class="name" for="ml">中心静脉封管(肝素-B端)(ml)</label>
619 617
           <div class="content">
@@ -627,8 +625,6 @@
627 625
           </div>
628 626
         </div>
629 627
 
630
-
631
-
632 628
         <div
633 629
           @click="showSubMenu('channel')"
634 630
           class="item"
@@ -645,7 +641,6 @@
645 641
           </div>
646 642
         </div>
647 643
 
648
-
649 644
         <!-- <div class="line"></div> -->
650 645
         <div>
651 646
           <div class="item">
@@ -787,10 +782,9 @@ export default {
787 782
         is_eat: "",
788 783
         breathing_rate: "",
789 784
         dialysis_intakes_unit: 0,
790
-        channel:"",
785
+        channel: "",
791 786
         cvc_a: 0,
792
-        cvc_b: 0,
793
-
787
+        cvc_b: 0
794 788
       },
795 789
 
796 790
       record_date: ""
@@ -1623,15 +1617,16 @@ export default {
1623 1617
         }
1624 1618
       }
1625 1619
       return intravenousTubeName;
1626
-    },getChannelName:function(id){
1627
-      var channel = this.$store.getters.channel
1620
+    },
1621
+    getChannelName: function(id) {
1622
+      var channel = this.$store.getters.channel;
1628 1623
       var channelName = "";
1629 1624
       for (let i = 0; i < channel.length; i++) {
1630 1625
         if (channel[i].id == id) {
1631 1626
           channelName = channel[i].name;
1632 1627
         }
1633 1628
       }
1634
-      return channelName
1629
+      return channelName;
1635 1630
     },
1636 1631
     getDialyzer: function(id) {
1637 1632
       var dialyzer = this.$store.getters.dialyzer;
@@ -1725,9 +1720,7 @@ export default {
1725 1720
           } else if (res.data.state == 1) {
1726 1721
             if (this.record.id != "" && this.record.creater != 0) {
1727 1722
               // 有数据
1728
-              if (
1729
-                this.record.creater == this.$store.getters.user.admin.id
1730
-              ) {
1723
+              if (this.record.creater == this.$store.getters.user.admin.id) {
1731 1724
                 // 创建人是自己
1732 1725
                 if (res.data.data.is_has_modify == false) {
1733 1726
                   this.hasPermission = false;
@@ -1740,10 +1733,7 @@ export default {
1740 1733
                   this.showTxt = "你没有修改他人透后评估权限";
1741 1734
                 }
1742 1735
               }
1743
-            } else if (
1744
-              this.record.id == "" ||
1745
-              this.record.creater == 0
1746
-            ) {
1736
+            } else if (this.record.id == "" || this.record.creater == 0) {
1747 1737
               if (res.data.data.is_has_create == false) {
1748 1738
                 this.hasPermission = false;
1749 1739
                 this.showTxt = "你没有新增透后评估权限";

+ 1 - 1
src/pages/main/template/DialysisPrintOrderOne.vue View File

@@ -237,7 +237,7 @@
237 237
                     </td>
238 238
                     <td width="10">)</td>
239 239
 
240
-                    <td width="95">内瘘皮肤情况</td>
240
+                    <td width="95">血管通路皮肤情况</td>
241 241
                     <td width="10">(</td>
242 242
                     <td width="220">
243 243
                       <div>

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

@@ -117,7 +117,6 @@
117 117
           <span class="unit"></span>
118 118
         </li>
119 119
 
120
-
121 120
         <!-- </ul>
122 121
 
123 122
       <ul> -->
@@ -241,8 +240,8 @@
241 240
           <span class="unit"> </span>
242 241
         </li>
243 242
 
244
-        <li v-if="isShow('内瘘皮肤情况')">
245
-          <label>内瘘皮肤情况: </label>
243
+        <li v-if="isShow('血管通路皮肤情况')">
244
+          <label>血管通路皮肤情况: </label>
246 245
           <span class="content">{{ internal_fistula_skin }}</span>
247 246
           <span class="unit"></span>
248 247
         </li>
@@ -256,422 +255,421 @@
256 255
 </template>
257 256
 
258 257
 <script>
259
-  import {getDataConfig} from "@/utils/data";
258
+import { getDataConfig } from "@/utils/data";
259
+
260
+export default {
261
+  name: "assessmentBefore",
262
+
263
+  data() {
264
+    return {
265
+      title: "透前评估 ",
266
+      template_id: 0
267
+    };
268
+  },
269
+  props: {
270
+    record: {
271
+      type: Object
272
+    },
273
+    dry_weights: {
274
+      type: Object
275
+    }
276
+  },
277
+  created() {
278
+    this.template_id = this.$store.getters.user.template_info.template_id;
279
+  },
280
+  computed: {
281
+    internal_fistula_skin: function() {
282
+      if (this.record.id == 0) {
283
+        return "-";
284
+      }
260 285
 
261
-  export default {
262
-    name: "assessmentBefore",
286
+      return this.record.internal_fistula_skin;
287
+    },
263 288
 
264
-    data() {
265
-      return {
266
-        title: "透前评估 ",
267
-        template_id: 0
268
-      };
289
+    machine_type: function() {
290
+      if (this.record == null || this.record.id == "") {
291
+        return "";
292
+      }
293
+      return this.record.machine_type;
269 294
     },
270
-    props: {
271
-      record: {
272
-        type: Object
273
-      },
274
-      dry_weights: {
275
-        type: Object
295
+    weight_before: function() {
296
+      if (this.record == null || this.record.id == "") {
297
+        return "-";
276 298
       }
299
+      return this.record.weight_before;
277 300
     },
278
-    created() {
279
-      this.template_id = this.$store.getters.user.template_info.template_id;
301
+    additional_weight: function() {
302
+      if (this.record == null || this.record.id == "") {
303
+        return "-";
304
+      }
305
+      return this.record.additional_weight;
306
+    },
307
+    systolic_blood_pressure: function() {
308
+      if (this.record == null || this.record.id == "") {
309
+        return "-";
310
+      }
311
+      return this.record.systolic_blood_pressure;
312
+    },
313
+    last_post_dialysis: function() {
314
+      if (this.record == null || this.record.id == "") {
315
+        return "-";
316
+      }
317
+      return this.record.last_post_dialysis;
280 318
     },
281
-    computed: {
282
-      internal_fistula_skin: function () {
283
-        if (this.record.id == 0) {
284
-          return '-'
285
-        }
286
-
287
-
288
-        return this.record.internal_fistula_skin
289
-      },
290 319
 
291
-      machine_type: function () {
292
-        if (this.record == null || this.record.id == "") {
293
-          return "";
294
-        }
295
-        return this.record.machine_type;
296
-      },
297
-      weight_before: function () {
298
-        if (this.record == null || this.record.id == "") {
299
-          return "-";
300
-        }
301
-        return this.record.weight_before;
302
-      },
303
-      additional_weight: function () {
304
-        if (this.record == null || this.record.id == "") {
305
-          return "-";
306
-        }
307
-        return this.record.additional_weight;
308
-      },
309
-      systolic_blood_pressure: function () {
310
-        if (this.record == null || this.record.id == "") {
311
-          return "-";
312
-        }
313
-        return this.record.systolic_blood_pressure;
314
-      },
315
-      last_post_dialysis: function () {
316
-        if (this.record == null || this.record.id == "") {
317
-          return "-";
318
-        }
319
-        return this.record.last_post_dialysis;
320
-      },
321
-
322
-      dry_weight: function () {
323
-        if (this.$store.getters.user.template_info.template_id == 6) {
324
-          if (this.dry_weights != null && this.dry_weights.id > 0) {
325
-            return this.dry_weights.dry_weight;
326
-          } else {
327
-            if (this.record == null || this.record.id == "") {
328
-              return "-";
329
-            }
330
-            return this.record.dry_weight;
331
-          }
320
+    dry_weight: function() {
321
+      if (this.$store.getters.user.template_info.template_id == 6) {
322
+        if (this.dry_weights != null && this.dry_weights.id > 0) {
323
+          return this.dry_weights.dry_weight;
332 324
         } else {
333 325
           if (this.record == null || this.record.id == "") {
334 326
             return "-";
335 327
           }
336
-
337 328
           return this.record.dry_weight;
338 329
         }
339
-      },
340
-      diastolic_blood_pressure: function () {
341
-        if (this.record == null || this.record.id == "") {
342
-          return "-";
343
-        }
344
-        return this.record.diastolic_blood_pressure;
345
-      },
346
-      dialysis_interphase: function () {
347
-        if (this.record == null || this.record.id == "") {
348
-          return "-";
349
-        }
350
-        return this.record.dialysis_interphase;
351
-      },
352
-      catheter: function () {
353
-        if (this.record == null || this.record.id == "") {
354
-          return "-";
355
-        }
356
-        return this.record.catheter;
357
-      },
358
-
359
-      temperature: function () {
360
-        if (this.record == null || this.record.id == "") {
361
-          return "-";
362
-        }
363
-        return this.record.temperature;
364
-      },
365
-      pulse_frequency: function () {
330
+      } else {
366 331
         if (this.record == null || this.record.id == "") {
367 332
           return "-";
368 333
         }
369
-        return this.record.pulse_frequency;
370
-      },
371
-      breathing_rate: function () {
372
-        if (this.record == null || this.record.id == "") {
373
-          return "-";
374
-        }
375
-        return this.record.breathing_rate;
376
-      },
377
-      symptom_before_dialysis: function () {
378
-        if (this.record == null || this.record.id == "") {
379
-          return "-";
380
-        }
381
-        return this.record.symptom_before_dialysis;
382
-      },
383
-      complication: function () {
384
-        if (this.record == null || this.record.id == "") {
385
-          return "-";
386
-        }
387
-        return this.record.complication;
388
-      },
389
-      internal_fistula: function () {
390
-        console.log(this.record)
391
-        if (this.record == null || this.record.id == "") {
392
-          return "-";
393
-        }else{
394
-          return this.record.internal_fistula
395
-          // if (this.record != null && this.record.id != undefined && this.record.id  > 0) {
396
-          //   var internal_fistula_list = getDataConfig(
397
-          //     "hemodialysis",
398
-          //     "internal_fistula"
399
-          //   );
400
-          //   var value = ""
401
-          //   if (this.record.internal_fistula.length > 0) {
402
-          //     var internal_fistula_value_arr = this.record.internal_fistula.split(",")
403
-          //     for (let a = 0; a < internal_fistula_value_arr.length; a++) {
404
-          //       for (let i = 0; i < internal_fistula_list.length; i++) {
405
-          //         console.log(internal_fistula_list[i].name)
406
-          //         if (internal_fistula_value_arr[a] == internal_fistula_list[i].name) {
407
-          //           if (value.length == 0) {
408
-          //             value = internal_fistula_value_arr[a]
409
-          //           } else {
410
-          //             value = value + "," + internal_fistula_value_arr[a]
411
-          //           }
412
-          //         }
413
-          //       }
414
-          //     }
415
-          //   }
416
-          //   return value;
417
-          // }else{
418
-          //   return "-";
419
-          //
420
-          // }
421 334
 
335
+        return this.record.dry_weight;
336
+      }
337
+    },
338
+    diastolic_blood_pressure: function() {
339
+      if (this.record == null || this.record.id == "") {
340
+        return "-";
341
+      }
342
+      return this.record.diastolic_blood_pressure;
343
+    },
344
+    dialysis_interphase: function() {
345
+      if (this.record == null || this.record.id == "") {
346
+        return "-";
347
+      }
348
+      return this.record.dialysis_interphase;
349
+    },
350
+    catheter: function() {
351
+      if (this.record == null || this.record.id == "") {
352
+        return "-";
353
+      }
354
+      return this.record.catheter;
355
+    },
422 356
 
423
-        }
424
-
357
+    temperature: function() {
358
+      if (this.record == null || this.record.id == "") {
359
+        return "-";
360
+      }
361
+      return this.record.temperature;
362
+    },
363
+    pulse_frequency: function() {
364
+      if (this.record == null || this.record.id == "") {
365
+        return "-";
366
+      }
367
+      return this.record.pulse_frequency;
368
+    },
369
+    breathing_rate: function() {
370
+      if (this.record == null || this.record.id == "") {
371
+        return "-";
372
+      }
373
+      return this.record.breathing_rate;
374
+    },
375
+    symptom_before_dialysis: function() {
376
+      if (this.record == null || this.record.id == "") {
377
+        return "-";
378
+      }
379
+      return this.record.symptom_before_dialysis;
380
+    },
381
+    complication: function() {
382
+      if (this.record == null || this.record.id == "") {
383
+        return "-";
384
+      }
385
+      return this.record.complication;
386
+    },
387
+    internal_fistula: function() {
388
+      console.log(this.record);
389
+      if (this.record == null || this.record.id == "") {
390
+        return "-";
391
+      } else {
392
+        return this.record.internal_fistula;
393
+        // if (this.record != null && this.record.id != undefined && this.record.id  > 0) {
394
+        //   var internal_fistula_list = getDataConfig(
395
+        //     "hemodialysis",
396
+        //     "internal_fistula"
397
+        //   );
398
+        //   var value = ""
399
+        //   if (this.record.internal_fistula.length > 0) {
400
+        //     var internal_fistula_value_arr = this.record.internal_fistula.split(",")
401
+        //     for (let a = 0; a < internal_fistula_value_arr.length; a++) {
402
+        //       for (let i = 0; i < internal_fistula_list.length; i++) {
403
+        //         console.log(internal_fistula_list[i].name)
404
+        //         if (internal_fistula_value_arr[a] == internal_fistula_list[i].name) {
405
+        //           if (value.length == 0) {
406
+        //             value = internal_fistula_value_arr[a]
407
+        //           } else {
408
+        //             value = value + "," + internal_fistula_value_arr[a]
409
+        //           }
410
+        //         }
411
+        //       }
412
+        //     }
413
+        //   }
414
+        //   return value;
415
+        // }else{
416
+        //   return "-";
417
+        //
418
+        // }
419
+      }
420
+    },
421
+    is_hemorrhage: function() {
422
+      if (this.record == null || this.record.id == "") {
423
+        return false;
424
+      }
425
+      return this.record.is_hemorrhage == 1;
426
+    },
427
+    hemorrhage: function() {
428
+      if (this.record == null || this.record.id == "") {
429
+        return "-";
430
+      }
431
+      return this.record.hemorrhage;
432
+    },
433
+    hemorrhage_other: function() {
434
+      if (this.record == null || this.record.id == "") {
435
+        return "-";
436
+      }
437
+      return this.record.hemorrhage_other;
438
+    },
425 439
 
426
-      },
427
-      is_hemorrhage: function () {
428
-        if (this.record == null || this.record.id == "") {
429
-          return false;
430
-        }
431
-        return this.record.is_hemorrhage == 1;
432
-      },
433
-      hemorrhage: function () {
434
-        if (this.record == null || this.record.id == "") {
435
-          return "-";
436
-        }
437
-        return this.record.hemorrhage;
438
-      },
439
-      hemorrhage_other: function () {
440
-        if (this.record == null || this.record.id == "") {
441
-          return "-";
442
-        }
443
-        return this.record.hemorrhage_other;
444
-      },
440
+    remark: function() {
441
+      if (this.record == null || this.record.id == "") {
442
+        return "";
443
+      }
444
+      return this.record.remark;
445
+    },
446
+    dialysis_count: function() {
447
+      if (this.record == null || this.record.id == "") {
448
+        return "-";
449
+      }
450
+      return this.record.dialysis_count;
451
+    },
452
+    internal_fistula_other: function() {
453
+      if (this.record == null || this.record.id == "") {
454
+        return "-";
455
+      }
456
+      return this.record.internal_fistula_other;
457
+    },
458
+    venous_catheterization_part_other: function() {
459
+      if (this.record == null || this.record.id == "") {
460
+        return "-";
461
+      }
462
+      return this.record.venous_catheterization_part_other;
463
+    },
464
+    emergency_treatment_other: function() {
465
+      if (this.record == null || this.record.id == "") {
466
+        return "-";
467
+      }
468
+      return this.record.emergency_treatment_other;
469
+    },
470
+    blood_access_internal_fistula: function() {
471
+      var name1 = "";
472
+      var name2 = "";
445 473
 
446
-      remark: function () {
447
-        if (this.record == null || this.record.id == "") {
448
-          return "";
449
-        }
450
-        return this.record.remark;
451
-      },
452
-      dialysis_count: function () {
453
-        if (this.record == null || this.record.id == "") {
454
-          return "-";
455
-        }
456
-        return this.record.dialysis_count;
457
-      },
458
-      internal_fistula_other: function () {
459
-        if (this.record == null || this.record.id == "") {
460
-          return "-";
461
-        }
462
-        return this.record.internal_fistula_other;
463
-      },
464
-      venous_catheterization_part_other: function () {
465
-        if (this.record == null || this.record.id == "") {
466
-          return "-";
467
-        }
468
-        return this.record.venous_catheterization_part_other;
469
-      },
470
-      emergency_treatment_other: function () {
471
-        if (this.record == null || this.record.id == "") {
472
-          return "-";
473
-        }
474
-        return this.record.emergency_treatment_other;
475
-      },
476
-      blood_access_internal_fistula: function () {
477
-        var name1 = "";
478
-        var name2 = "";
474
+      if (this.record == null || this.record.id == "") {
475
+        return "-";
476
+      }
477
+      if (this.record.blood_access_internal_fistula == undefined) {
478
+        name1 = "";
479
+      } else {
480
+        name1 = this.record.blood_access_internal_fistula + ",";
481
+      }
482
+      if (this.record.internal_fistula_other == undefined) {
483
+        name2 = "";
484
+      } else {
485
+        name2 = this.record.internal_fistula_other;
486
+      }
479 487
 
480
-        if (this.record == null || this.record.id == "") {
481
-          return "-";
482
-        }
483
-        if (this.record.blood_access_internal_fistula == undefined) {
484
-          name1 = "";
485
-        } else {
486
-          name1 = this.record.blood_access_internal_fistula + ",";
488
+      return name1 + name2;
489
+    },
490
+    infect_other: function() {
491
+      if (this.record == null || this.record.id == "") {
492
+        return "-";
493
+      }
494
+      return this.record.infect_other;
495
+    },
496
+    skin_other: function() {
497
+      if (this.record == null || this.record.id == "") {
498
+        return "-";
499
+      }
500
+      return this.record.skin_other;
501
+    },
502
+    ductus_arantii_other: function() {
503
+      if (this.record == null || this.record.id == "") {
504
+        return "-";
505
+      }
506
+      return this.record.ductus_arantii_other;
507
+    }
508
+  },
509
+  methods: {
510
+    getBloodAccessPart: function(id) {
511
+      var BloodAccessPart = getDataConfig("hemodialysis", "vascular_access");
512
+      var BloodAccessPartName = "";
513
+      for (let i = 0; i < BloodAccessPart.length; i++) {
514
+        if (BloodAccessPart[i].id == id) {
515
+          BloodAccessPartName = BloodAccessPart[i].name;
487 516
         }
488
-        if (this.record.internal_fistula_other == undefined) {
489
-          name2 = "";
490
-        } else {
491
-          name2 = this.record.internal_fistula_other;
517
+      }
518
+      return BloodAccessPartName;
519
+    },
520
+    getBloodAccessOpera: function(id) {
521
+      var BloodAccessOpera = getDataConfig(
522
+        "hemodialysis",
523
+        "vascular_access_desc"
524
+      );
525
+      var BloodAccessOperaName = "";
526
+      for (let i = 0; i < BloodAccessOpera.length; i++) {
527
+        if (BloodAccessOpera[i].id == id) {
528
+          BloodAccessOperaName = BloodAccessOpera[i].name;
492 529
         }
530
+      }
531
+      return BloodAccessOperaName;
532
+    },
533
+    isShow(name) {
534
+      var filedList = this.$store.getters.user.fileds;
493 535
 
494
-        return name1 + name2;
495
-      },
496
-      infect_other: function () {
497
-        if (this.record == null || this.record.id == "") {
498
-          return "-";
499
-        }
500
-        return this.record.infect_other;
501
-      },
502
-      skin_other: function () {
503
-        if (this.record == null || this.record.id == "") {
504
-          return "-";
505
-        }
506
-        return this.record.skin_other;
507
-      },
508
-      ductus_arantii_other: function () {
509
-        if (this.record == null || this.record.id == "") {
510
-          return "-";
536
+      for (let i = 0; i < filedList.length; i++) {
537
+        if (
538
+          filedList[i].module == 3 &&
539
+          filedList[i].filed_name_cn == name &&
540
+          filedList[i].is_show == 1
541
+        ) {
542
+          return true;
511 543
         }
512
-        return this.record.ductus_arantii_other;
513 544
       }
545
+      return false;
514 546
     },
515
-    methods: {
516
-      getBloodAccessPart: function (id) {
517
-        var BloodAccessPart = getDataConfig('hemodialysis', 'vascular_access')
518
-        var BloodAccessPartName = ''
519
-        for (let i = 0; i < BloodAccessPart.length; i++) {
520
-          if (BloodAccessPart[i].id == id) {
521
-            BloodAccessPartName = BloodAccessPart[i].name
522
-          }
547
+    getBloodAccessInternalFistula: function(id) {
548
+      var BloodAccessInternalFistulaOptions = this.$store.getters
549
+        .blood_access_internal_fistula;
550
+      var BloodAccessInternalFistulaName = "";
551
+      for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
552
+        if (BloodAccessInternalFistulaOptions[i].id == id) {
553
+          BloodAccessInternalFistulaName =
554
+            BloodAccessInternalFistulaOptions[i].name;
523 555
         }
524
-        return BloodAccessPartName
525
-      },
526
-      getBloodAccessOpera: function (id) {
527
-        var BloodAccessOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
528
-        var BloodAccessOperaName = ''
529
-        for (let i = 0; i < BloodAccessOpera.length; i++) {
530
-          if (BloodAccessOpera[i].id == id) {
531
-            BloodAccessOperaName = BloodAccessOpera[i].name
532
-          }
533
-        }
534
-        return BloodAccessOperaName
535
-      },
536
-      isShow(name) {
537
-        var filedList = this.$store.getters.user.fileds;
538
-
539
-        for (let i = 0; i < filedList.length; i++) {
540
-          if (
541
-            filedList[i].module == 3 &&
542
-            filedList[i].filed_name_cn == name &&
543
-            filedList[i].is_show == 1
544
-          ) {
545
-            return true;
546
-          }
547
-        }
548
-        return false;
549
-      },
550
-      getBloodAccessInternalFistula: function (id) {
551
-        var BloodAccessInternalFistulaOptions = this.$store.getters
552
-          .blood_access_internal_fistula;
553
-        var BloodAccessInternalFistulaName = "";
554
-        for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
555
-          if (BloodAccessInternalFistulaOptions[i].id == id) {
556
-            BloodAccessInternalFistulaName =
557
-              BloodAccessInternalFistulaOptions[i].name;
558
-          }
559
-        }
560
-        return BloodAccessInternalFistulaName;
561
-      },
562
-      getBloodAccessNoise: function (id) {
563
-        var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise;
564
-        var BloodAccessNoiseName = "";
565
-        for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
566
-          if (BloodAccessNoiseOptions[i].id == id) {
567
-            BloodAccessNoiseName = BloodAccessNoiseOptions[i].name;
568
-          }
556
+      }
557
+      return BloodAccessInternalFistulaName;
558
+    },
559
+    getBloodAccessNoise: function(id) {
560
+      var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise;
561
+      var BloodAccessNoiseName = "";
562
+      for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
563
+        if (BloodAccessNoiseOptions[i].id == id) {
564
+          BloodAccessNoiseName = BloodAccessNoiseOptions[i].name;
569 565
         }
570
-        return BloodAccessNoiseName;
571
-      },
572
-      getVenousCatheterization: function (id) {
573
-        var VenousCatheterizationOptions = this.$store.getters
574
-          .venous_catheterization;
575
-        var VenousCatheterizationName = "";
576
-        for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
577
-          if (VenousCatheterizationOptions[i].id == id) {
578
-            VenousCatheterizationName = VenousCatheterizationOptions[i].name;
579
-          }
566
+      }
567
+      return BloodAccessNoiseName;
568
+    },
569
+    getVenousCatheterization: function(id) {
570
+      var VenousCatheterizationOptions = this.$store.getters
571
+        .venous_catheterization;
572
+      var VenousCatheterizationName = "";
573
+      for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
574
+        if (VenousCatheterizationOptions[i].id == id) {
575
+          VenousCatheterizationName = VenousCatheterizationOptions[i].name;
580 576
         }
581
-        return VenousCatheterizationName;
582
-      },
583
-      getWay: function (id) {
584
-        var PunctureWayOptions = this.$store.getters.puncture_way;
585
-        var PunctureWayOptionsName = "";
586
-        for (let i = 0; i < PunctureWayOptions.length; i++) {
587
-          if (PunctureWayOptions[i].id == id) {
588
-            PunctureWayOptionsName = PunctureWayOptions[i].name;
589
-          }
577
+      }
578
+      return VenousCatheterizationName;
579
+    },
580
+    getWay: function(id) {
581
+      var PunctureWayOptions = this.$store.getters.puncture_way;
582
+      var PunctureWayOptionsName = "";
583
+      for (let i = 0; i < PunctureWayOptions.length; i++) {
584
+        if (PunctureWayOptions[i].id == id) {
585
+          PunctureWayOptionsName = PunctureWayOptions[i].name;
590 586
         }
591
-        return PunctureWayOptionsName;
592
-      },
593
-      getVenousCatheterizationPart: function (id) {
594
-        var venousCatheterizationPartOptions = this.$store.getters
595
-          .venous_catheterization_part;
596
-        var venousCatheterizationPartName = "";
597
-        for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
598
-          if (venousCatheterizationPartOptions[i].id == id) {
599
-            venousCatheterizationPartName =
600
-              venousCatheterizationPartOptions[i].name;
601
-          }
587
+      }
588
+      return PunctureWayOptionsName;
589
+    },
590
+    getVenousCatheterizationPart: function(id) {
591
+      var venousCatheterizationPartOptions = this.$store.getters
592
+        .venous_catheterization_part;
593
+      var venousCatheterizationPartName = "";
594
+      for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
595
+        if (venousCatheterizationPartOptions[i].id == id) {
596
+          venousCatheterizationPartName =
597
+            venousCatheterizationPartOptions[i].name;
602 598
         }
603
-        return venousCatheterizationPartName;
604
-      },
605
-      getDuctusArantii: function (id) {
606
-        var ductusArantiiOptions = this.$store.getters.ductus_arantii;
607
-        var ductusArantiiOptionsName = "";
608
-        for (let i = 0; i < ductusArantiiOptions.length; i++) {
609
-          if (ductusArantiiOptions[i].id == id) {
610
-            ductusArantiiOptionsName = ductusArantiiOptions[i].name;
611
-          }
599
+      }
600
+      return venousCatheterizationPartName;
601
+    },
602
+    getDuctusArantii: function(id) {
603
+      var ductusArantiiOptions = this.$store.getters.ductus_arantii;
604
+      var ductusArantiiOptionsName = "";
605
+      for (let i = 0; i < ductusArantiiOptions.length; i++) {
606
+        if (ductusArantiiOptions[i].id == id) {
607
+          ductusArantiiOptionsName = ductusArantiiOptions[i].name;
612 608
         }
613
-        return ductusArantiiOptionsName;
614
-      },
615
-      getEmergencyTreatment: function (id) {
616
-        var emergencyTreatmentOptions = this.$store.getters.emergency_treatment;
617
-        var emergencyTreatmentName = "";
618
-        for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
619
-          if (emergencyTreatmentOptions[i].id == id) {
620
-            emergencyTreatmentName = emergencyTreatmentOptions[i].name;
621
-          }
609
+      }
610
+      return ductusArantiiOptionsName;
611
+    },
612
+    getEmergencyTreatment: function(id) {
613
+      var emergencyTreatmentOptions = this.$store.getters.emergency_treatment;
614
+      var emergencyTreatmentName = "";
615
+      for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
616
+        if (emergencyTreatmentOptions[i].id == id) {
617
+          emergencyTreatmentName = emergencyTreatmentOptions[i].name;
622 618
         }
623
-        return emergencyTreatmentName;
624
-      },
625
-      getSkin: function (id) {
626
-        var skinOptions = this.$store.getters.skin;
627
-        var skinName = "";
628
-        for (let i = 0; i < skinOptions.length; i++) {
629
-          if (skinOptions[i].id == id) {
630
-            skinName = skinOptions[i].name;
631
-          }
619
+      }
620
+      return emergencyTreatmentName;
621
+    },
622
+    getSkin: function(id) {
623
+      var skinOptions = this.$store.getters.skin;
624
+      var skinName = "";
625
+      for (let i = 0; i < skinOptions.length; i++) {
626
+        if (skinOptions[i].id == id) {
627
+          skinName = skinOptions[i].name;
632 628
         }
633
-        return skinName;
634
-      }
635
-      // setRecord(record) {
636
-      //   if (record == null) {
637
-      //     this.info1[0].content = "0"
638
-      //     this.info1[1].content = "0"
639
-      //     this.info1[2].content = "0"
640
-      //     // this.info1[3].content = ""
641
-
642
-      //     this.info2[0].content = "0"
643
-      //     this.info2[1].content = "0"
644
-      //     this.info2[2].content = ""
645
-      //     this.info2[3].content = ""
646
-
647
-      //     this.info3[0].content = "0"
648
-      //     this.info3[1].content = "0"
649
-      //     this.info3[2].content = ""
650
-      //     this.info3[3].content = ""
651
-
652
-      //     this.note = ""
653
-
654
-      //   } else {
655
-      //     this.info1[0].content = record.weight_before
656
-      //     this.info1[1].content = record.systolic_blood_pressure
657
-      //     this.info1[2].content = record.last_post_dialysis
658
-      //     // this.info1[3].content = ""
659
-
660
-      //     this.info2[0].content = record.additional_weight
661
-      //     this.info2[1].content = record.diastolic_blood_pressure
662
-      //     this.info2[2].content = record.dialysis_interphase
663
-      //     this.info2[3].content = record.catheter
664
-
665
-      //     this.info3[0].content = record.temperature
666
-      //     this.info3[1].content = record.breathing_rate
667
-      //     this.info3[2].content = record.symptom_before_dialysis
668
-      //     this.info3[3].content = record.complication
669
-
670
-      //     this.note = record.remark
671
-      //   }
672
-      // }
629
+      }
630
+      return skinName;
673 631
     }
674
-  };
632
+    // setRecord(record) {
633
+    //   if (record == null) {
634
+    //     this.info1[0].content = "0"
635
+    //     this.info1[1].content = "0"
636
+    //     this.info1[2].content = "0"
637
+    //     // this.info1[3].content = ""
638
+
639
+    //     this.info2[0].content = "0"
640
+    //     this.info2[1].content = "0"
641
+    //     this.info2[2].content = ""
642
+    //     this.info2[3].content = ""
643
+
644
+    //     this.info3[0].content = "0"
645
+    //     this.info3[1].content = "0"
646
+    //     this.info3[2].content = ""
647
+    //     this.info3[3].content = ""
648
+
649
+    //     this.note = ""
650
+
651
+    //   } else {
652
+    //     this.info1[0].content = record.weight_before
653
+    //     this.info1[1].content = record.systolic_blood_pressure
654
+    //     this.info1[2].content = record.last_post_dialysis
655
+    //     // this.info1[3].content = ""
656
+
657
+    //     this.info2[0].content = record.additional_weight
658
+    //     this.info2[1].content = record.diastolic_blood_pressure
659
+    //     this.info2[2].content = record.dialysis_interphase
660
+    //     this.info2[3].content = record.catheter
661
+
662
+    //     this.info3[0].content = record.temperature
663
+    //     this.info3[1].content = record.breathing_rate
664
+    //     this.info3[2].content = record.symptom_before_dialysis
665
+    //     this.info3[3].content = record.complication
666
+
667
+    //     this.note = record.remark
668
+    //   }
669
+    // }
670
+  }
671
+};
675 672
 </script>
676 673
 
677
-<style rel="stylesheet/scss" lang="scss" scoped></style>
674
+<style rel="stylesheet/scss" lang="scss" scoped>
675
+</style>