Browse Source

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

csx 4 years ago
parent
commit
99478ab68a

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "1.1.610"
2
+  "version": "1.1.616"
3
 }
3
 }

+ 9 - 1
src/pages/main/PrintIndex.vue View File

36
         v-bind:childResponse="childResponse"
36
         v-bind:childResponse="childResponse"
37
         v-if="org_template_info.template_id == 5"
37
         v-if="org_template_info.template_id == 5"
38
       ></DialysisPrintOrderFive>
38
       ></DialysisPrintOrderFive>
39
-      <!--<DialysisPrintOrderSix style="margin-top:60px;" v-bind:childResponse="childResponse" v-if="org_template_info.template_id ==6"></DialysisPrintOrderSix>-->
39
+      <!--<DialysisPrintOrderSx style="margin-top:60px;" v-bind:childResponse="childResponse" v-if="org_template_info.template_id ==6"></DialysisPrintOrderSix>-->
40
       <DialysisPrintOrderSix
40
       <DialysisPrintOrderSix
41
         style="margin-top:60px;"
41
         style="margin-top:60px;"
42
         v-bind:childResponse="childResponse"
42
         v-bind:childResponse="childResponse"
43
         v-if="org_template_info.template_id == 6"
43
         v-if="org_template_info.template_id == 6"
44
       ></DialysisPrintOrderSix>
44
       ></DialysisPrintOrderSix>
45
+      <DialysisPrintOrderTen
46
+        style="margin-top:60px;"
47
+        v-bind:childResponse="childResponse"
48
+        v-if="org_template_info.template_id == 10"
49
+      >
50
+      </DialysisPrintOrderTen>
45
     </div>
51
     </div>
46
     <side-bar :active_index="0" v-if="isShow == true"></side-bar>
52
     <side-bar :active_index="0" v-if="isShow == true"></side-bar>
47
   </div>
53
   </div>
58
 import DialysisPrintOrderTwo from "./template/DialysisPrintOrderTwo";
64
 import DialysisPrintOrderTwo from "./template/DialysisPrintOrderTwo";
59
 import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
65
 import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
60
 import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
66
 import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
67
+import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
61
 
68
 
62
 export default {
69
 export default {
63
   name: "PrintIndex",
70
   name: "PrintIndex",
64
   components: {
71
   components: {
72
+    DialysisPrintOrderTen,
65
     DialysisPrintOrderSix,
73
     DialysisPrintOrderSix,
66
     DialysisPrintOrderOne,
74
     DialysisPrintOrderOne,
67
     DialysisPrintOrderTwo,
75
     DialysisPrintOrderTwo,

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

1087
             "hemodialysis",
1087
             "hemodialysis",
1088
             "internal_fistula"
1088
             "internal_fistula"
1089
           );
1089
           );
1090
-          console.log("数据源是什么", this.propForm.list);
1090
+
1091
           this.propForm.optionList = [];
1091
           this.propForm.optionList = [];
1092
           this.propForm.isMultiple = 2;
1092
           this.propForm.isMultiple = 2;
1093
           // this.propForm.result = this.formValue.internal_fistula.split(",")
1093
           // this.propForm.result = this.formValue.internal_fistula.split(",")
1691
         "additional_weight",
1691
         "additional_weight",
1692
         this.last_predialysis["additional_weight"].toString()
1692
         this.last_predialysis["additional_weight"].toString()
1693
       );
1693
       );
1694
+
1695
+
1696
+
1694
       this.$set(
1697
       this.$set(
1695
         this.formValue,
1698
         this.formValue,
1696
         "internal_fistula",
1699
         "internal_fistula",

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

653
                     <td width="10"></td>
653
                     <td width="10"></td>
654
                     <td width="105">压迫后内瘘震颤:</td>
654
                     <td width="105">压迫后内瘘震颤:</td>
655
                     <td width="140">
655
                     <td width="140">
656
-                     <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在')>-1?true:false"
656
+                     <label-box :isChecked="afterdialysis.internal_fistula.indexOf('存在')>-1?true:false"
657
                                showValue='存在'></label-box>
657
                                showValue='存在'></label-box>
658
                     &nbsp;
658
                     &nbsp;
659
-                    <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱')>-1?true:false"
659
+                    <label-box :isChecked="afterdialysis.internal_fistula.indexOf('减弱')>-1?true:false"
660
                                showValue='减弱'></label-box>
660
                                showValue='减弱'></label-box>
661
                     &nbsp;
661
                     &nbsp;
662
-                    <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无')>-1?true:false"
662
+                    <label-box :isChecked="afterdialysis.internal_fistula.indexOf('无')>-1?true:false"
663
                                showValue='无'></label-box>
663
                                showValue='无'></label-box>
664
                     </td>
664
                     </td>
665
                     <td width="">
665
                     <td width="">

File diff suppressed because it is too large
+ 1831 - 0
src/pages/main/template/DialysisPrintOrderTen.vue


+ 2 - 2
src/pages/main/template/DialysisPrintOrderTwo.vue View File

267
                   <td>{{''}}</td>
267
                   <td>{{''}}</td>
268
                   <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
268
                   <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
269
                   <td>
269
                   <td>
270
-                    <!--<span v-if="setAdminUserES(predialysis.modifier) == ''">{{getAdminUser(predialysis.modifier)}}</span>-->
271
-                    <!--<img class="es-img" :src="setAdminUserES(predialysis.modifier)"  alt="" srcset="" v-else>-->
270
+                    <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
271
+                    <img class="es-img" :src="setAdminUserES(predialysis.creater)"  alt="" srcset="" v-else>
272
                   </td>
272
                   </td>
273
                 </tr>
273
                 </tr>
274
 
274
 

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

14
         </li>
14
         </li>
15
         <li v-if="this.$store.getters.user.template_info.template_id == 6">
15
         <li v-if="this.$store.getters.user.template_info.template_id == 6">
16
           <label>透前净体重 : </label>
16
           <label>透前净体重 : </label>
17
-          <span class="content">{{ weight_before ? parseFloat(weight_before - additional_weight).toFixed(1) : "" }}</span>
17
+          <span
18
+            class="content">{{ weight_before ? parseFloat(weight_before - additional_weight).toFixed(1) : "" }}</span>
18
           <span class="unit">{{ weight_before ? "kg" : "" }}</span>
19
           <span class="unit">{{ weight_before ? "kg" : "" }}</span>
19
         </li>
20
         </li>
20
         <li v-if="isShow('收缩压')">
21
         <li v-if="isShow('收缩压')">
117
         </li>
118
         </li>
118
 
119
 
119
 
120
 
120
-
121
         <!-- </ul>
121
         <!-- </ul>
122
 
122
 
123
       <ul> -->
123
       <ul> -->
229
           <span class="unit"> </span>
229
           <span class="unit"> </span>
230
         </li>
230
         </li>
231
 
231
 
232
-        <li  v-if="isShow('血管通路部位')">
232
+        <li v-if="isShow('血管通路部位')">
233
           <label>血管通路部位:</label>
233
           <label>血管通路部位:</label>
234
           <span class="content">{{ getBloodAccessPart(this.record.blood_access_part_id) }}</span>
234
           <span class="content">{{ getBloodAccessPart(this.record.blood_access_part_id) }}</span>
235
           <span class="unit"> </span>
235
           <span class="unit"> </span>
236
         </li>
236
         </li>
237
 
237
 
238
-        <li  v-if="isShow('血管通路操作')">
238
+        <li v-if="isShow('血管通路操作')">
239
           <label>血管通路操作:</label>
239
           <label>血管通路操作:</label>
240
           <span class="content">{{ getBloodAccessOpera(this.record.blood_access_part_opera_id) }}</span>
240
           <span class="content">{{ getBloodAccessOpera(this.record.blood_access_part_opera_id) }}</span>
241
           <span class="unit"> </span>
241
           <span class="unit"> </span>
256
 </template>
256
 </template>
257
 
257
 
258
 <script>
258
 <script>
259
-  import { getDataConfig } from "@/utils/data";
259
+  import {getDataConfig} from "@/utils/data";
260
 
260
 
261
   export default {
261
   export default {
262
-  name: "assessmentBefore",
263
-
264
-  data() {
265
-    return {
266
-      title: "透前评估 ",
267
-      template_id: 0
268
-    };
269
-  },
270
-  props: {
271
-    record: {
272
-      type: Object
273
-    },
274
-    dry_weights: {
275
-      type: Object
276
-    }
277
-  },
278
-  created() {
279
-    this.template_id = this.$store.getters.user.template_info.template_id;
280
-  },
281
-  computed: {
282
-    internal_fistula_skin: function() {
283
-      if (this.record.id == 0) {
284
-        return '-'
285
-      }
286
-      return this.record.internal_fistula_skin
287
-    },
262
+    name: "assessmentBefore",
288
 
263
 
289
-    machine_type: function() {
290
-      if (this.record == null || this.record.id == "") {
291
-        return "";
292
-      }
293
-      return this.record.machine_type;
264
+    data() {
265
+      return {
266
+        title: "透前评估 ",
267
+        template_id: 0
268
+      };
294
     },
269
     },
295
-    weight_before: function() {
296
-      if (this.record == null || this.record.id == "") {
297
-        return "-";
270
+    props: {
271
+      record: {
272
+        type: Object
273
+      },
274
+      dry_weights: {
275
+        type: Object
298
       }
276
       }
299
-      return this.record.weight_before;
300
     },
277
     },
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;
278
+    created() {
279
+      this.template_id = this.$store.getters.user.template_info.template_id;
318
     },
280
     },
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
+      },
319
 
290
 
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;
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
+          }
324
         } else {
332
         } else {
325
           if (this.record == null || this.record.id == "") {
333
           if (this.record == null || this.record.id == "") {
326
             return "-";
334
             return "-";
327
           }
335
           }
336
+
328
           return this.record.dry_weight;
337
           return this.record.dry_weight;
329
         }
338
         }
330
-      } else {
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 () {
331
         if (this.record == null || this.record.id == "") {
347
         if (this.record == null || this.record.id == "") {
332
           return "-";
348
           return "-";
333
         }
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
+      },
334
 
358
 
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
-    },
359
+      temperature: function () {
360
+        if (this.record == null || this.record.id == "") {
361
+          return "-";
362
+        }
363
+        return this.record.temperature;
364
+      },
365
+      pulse_frequency: function () {
366
+        if (this.record == null || this.record.id == "") {
367
+          return "-";
368
+        }
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
+          // }
356
 
421
 
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
-      if (this.record == null || this.record.id == "") {
389
-        return "-";
390
-      }
391
-      return this.record.internal_fistula;
392
-    },
393
-    is_hemorrhage: function() {
394
-      if (this.record == null || this.record.id == "") {
395
-        return false;
396
-      }
397
-      return this.record.is_hemorrhage == 1;
398
-    },
399
-    hemorrhage: function() {
400
-      if (this.record == null || this.record.id == "") {
401
-        return "-";
402
-      }
403
-      return this.record.hemorrhage;
404
-    },
405
-    hemorrhage_other: function() {
406
-      if (this.record == null || this.record.id == "") {
407
-        return "-";
408
-      }
409
-      return this.record.hemorrhage_other;
410
-    },
411
 
422
 
412
-    remark: function() {
413
-      if (this.record == null || this.record.id == "") {
414
-        return "";
415
-      }
416
-      return this.record.remark;
417
-    },
418
-    dialysis_count: function() {
419
-      if (this.record == null || this.record.id == "") {
420
-        return "-";
421
-      }
422
-      return this.record.dialysis_count;
423
-    },
424
-    internal_fistula_other: function() {
425
-      if (this.record == null || this.record.id == "") {
426
-        return "-";
427
-      }
428
-      return this.record.internal_fistula_other;
429
-    },
430
-    venous_catheterization_part_other: function() {
431
-      if (this.record == null || this.record.id == "") {
432
-        return "-";
433
-      }
434
-      return this.record.venous_catheterization_part_other;
435
-    },
436
-    emergency_treatment_other: function() {
437
-      if (this.record == null || this.record.id == "") {
438
-        return "-";
439
-      }
440
-      return this.record.emergency_treatment_other;
441
-    },
442
-    blood_access_internal_fistula: function() {
443
-      var name1 = "";
444
-      var name2 = "";
423
+        }
445
 
424
 
446
-      if (this.record == null || this.record.id == "") {
447
-        return "-";
448
-      }
449
-      if (this.record.blood_access_internal_fistula == undefined) {
450
-        name1 = "";
451
-      } else {
452
-        name1 = this.record.blood_access_internal_fistula + ",";
453
-      }
454
-      if (this.record.internal_fistula_other == undefined) {
455
-        name2 = "";
456
-      } else {
457
-        name2 = this.record.internal_fistula_other;
458
-      }
459
 
425
 
460
-      return name1 + name2;
461
-    },
462
-    infect_other: function() {
463
-      if (this.record == null || this.record.id == "") {
464
-        return "-";
465
-      }
466
-      return this.record.infect_other;
467
-    },
468
-    skin_other: function() {
469
-      if (this.record == null || this.record.id == "") {
470
-        return "-";
471
-      }
472
-      return this.record.skin_other;
473
-    },
474
-    ductus_arantii_other: function() {
475
-      if (this.record == null || this.record.id == "") {
476
-        return "-";
477
-      }
478
-      return this.record.ductus_arantii_other;
479
-    }
480
-  },
481
-  methods: {
482
-    getBloodAccessPart: function(id) {
483
-      var BloodAccessPart = getDataConfig('hemodialysis', 'vascular_access')
484
-      var BloodAccessPartName = ''
485
-      for (let i = 0; i < BloodAccessPart.length; i++) {
486
-        if (BloodAccessPart[i].id == id) {
487
-          BloodAccessPartName = BloodAccessPart[i].name
426
+      },
427
+      is_hemorrhage: function () {
428
+        if (this.record == null || this.record.id == "") {
429
+          return false;
488
         }
430
         }
489
-      }
490
-      return BloodAccessPartName
491
-    },
492
-    getBloodAccessOpera: function(id) {
493
-      var BloodAccessOpera =  getDataConfig('hemodialysis', 'vascular_access_desc')
494
-      var BloodAccessOperaName = ''
495
-      for (let i = 0; i < BloodAccessOpera.length; i++) {
496
-        if (BloodAccessOpera[i].id == id) {
497
-          BloodAccessOperaName = BloodAccessOpera[i].name
431
+        return this.record.is_hemorrhage == 1;
432
+      },
433
+      hemorrhage: function () {
434
+        if (this.record == null || this.record.id == "") {
435
+          return "-";
498
         }
436
         }
499
-      }
500
-      return BloodAccessOperaName
501
-    },
502
-    isShow(name) {
503
-      var filedList = this.$store.getters.user.fileds;
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
+      },
504
 
445
 
505
-      for (let i = 0; i < filedList.length; i++) {
506
-        if (
507
-          filedList[i].module == 3 &&
508
-          filedList[i].filed_name_cn == name &&
509
-          filedList[i].is_show == 1
510
-        ) {
511
-          return true;
446
+      remark: function () {
447
+        if (this.record == null || this.record.id == "") {
448
+          return "";
512
         }
449
         }
513
-      }
514
-      return false;
515
-    },
516
-    getBloodAccessInternalFistula: function(id) {
517
-      var BloodAccessInternalFistulaOptions = this.$store.getters
518
-        .blood_access_internal_fistula;
519
-      var BloodAccessInternalFistulaName = "";
520
-      for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
521
-        if (BloodAccessInternalFistulaOptions[i].id == id) {
522
-          BloodAccessInternalFistulaName =
523
-            BloodAccessInternalFistulaOptions[i].name;
450
+        return this.record.remark;
451
+      },
452
+      dialysis_count: function () {
453
+        if (this.record == null || this.record.id == "") {
454
+          return "-";
524
         }
455
         }
525
-      }
526
-      return BloodAccessInternalFistulaName;
527
-    },
528
-    getBloodAccessNoise: function(id) {
529
-      var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise;
530
-      var BloodAccessNoiseName = "";
531
-      for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
532
-        if (BloodAccessNoiseOptions[i].id == id) {
533
-          BloodAccessNoiseName = BloodAccessNoiseOptions[i].name;
456
+        return this.record.dialysis_count;
457
+      },
458
+      internal_fistula_other: function () {
459
+        if (this.record == null || this.record.id == "") {
460
+          return "-";
534
         }
461
         }
535
-      }
536
-      return BloodAccessNoiseName;
537
-    },
538
-    getVenousCatheterization: function(id) {
539
-      var VenousCatheterizationOptions = this.$store.getters
540
-        .venous_catheterization;
541
-      var VenousCatheterizationName = "";
542
-      for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
543
-        if (VenousCatheterizationOptions[i].id == id) {
544
-          VenousCatheterizationName = VenousCatheterizationOptions[i].name;
462
+        return this.record.internal_fistula_other;
463
+      },
464
+      venous_catheterization_part_other: function () {
465
+        if (this.record == null || this.record.id == "") {
466
+          return "-";
545
         }
467
         }
546
-      }
547
-      return VenousCatheterizationName;
548
-    },
549
-    getWay: function(id) {
550
-      var PunctureWayOptions = this.$store.getters.puncture_way;
551
-      var PunctureWayOptionsName = "";
552
-      for (let i = 0; i < PunctureWayOptions.length; i++) {
553
-        if (PunctureWayOptions[i].id == id) {
554
-          PunctureWayOptionsName = PunctureWayOptions[i].name;
468
+        return this.record.venous_catheterization_part_other;
469
+      },
470
+      emergency_treatment_other: function () {
471
+        if (this.record == null || this.record.id == "") {
472
+          return "-";
555
         }
473
         }
556
-      }
557
-      return PunctureWayOptionsName;
558
-    },
559
-    getVenousCatheterizationPart: function(id) {
560
-      var venousCatheterizationPartOptions = this.$store.getters
561
-        .venous_catheterization_part;
562
-      var venousCatheterizationPartName = "";
563
-      for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
564
-        if (venousCatheterizationPartOptions[i].id == id) {
565
-          venousCatheterizationPartName =
566
-            venousCatheterizationPartOptions[i].name;
474
+        return this.record.emergency_treatment_other;
475
+      },
476
+      blood_access_internal_fistula: function () {
477
+        var name1 = "";
478
+        var name2 = "";
479
+
480
+        if (this.record == null || this.record.id == "") {
481
+          return "-";
567
         }
482
         }
568
-      }
569
-      return venousCatheterizationPartName;
570
-    },
571
-    getDuctusArantii: function(id) {
572
-      var ductusArantiiOptions = this.$store.getters.ductus_arantii;
573
-      var ductusArantiiOptionsName = "";
574
-      for (let i = 0; i < ductusArantiiOptions.length; i++) {
575
-        if (ductusArantiiOptions[i].id == id) {
576
-          ductusArantiiOptionsName = ductusArantiiOptions[i].name;
483
+        if (this.record.blood_access_internal_fistula == undefined) {
484
+          name1 = "";
485
+        } else {
486
+          name1 = this.record.blood_access_internal_fistula + ",";
577
         }
487
         }
578
-      }
579
-      return ductusArantiiOptionsName;
580
-    },
581
-    getEmergencyTreatment: function(id) {
582
-      var emergencyTreatmentOptions = this.$store.getters.emergency_treatment;
583
-      var emergencyTreatmentName = "";
584
-      for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
585
-        if (emergencyTreatmentOptions[i].id == id) {
586
-          emergencyTreatmentName = emergencyTreatmentOptions[i].name;
488
+        if (this.record.internal_fistula_other == undefined) {
489
+          name2 = "";
490
+        } else {
491
+          name2 = this.record.internal_fistula_other;
492
+        }
493
+
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 "-";
587
         }
505
         }
506
+        return this.record.skin_other;
507
+      },
508
+      ductus_arantii_other: function () {
509
+        if (this.record == null || this.record.id == "") {
510
+          return "-";
511
+        }
512
+        return this.record.ductus_arantii_other;
588
       }
513
       }
589
-      return emergencyTreatmentName;
590
     },
514
     },
591
-    getSkin: function(id) {
592
-      var skinOptions = this.$store.getters.skin;
593
-      var skinName = "";
594
-      for (let i = 0; i < skinOptions.length; i++) {
595
-        if (skinOptions[i].id == id) {
596
-          skinName = skinOptions[i].name;
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
+          }
597
         }
523
         }
598
-      }
599
-      return skinName;
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
+          }
569
+        }
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
+          }
580
+        }
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
+          }
590
+        }
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
+          }
602
+        }
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
+          }
612
+        }
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
+          }
622
+        }
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
+          }
632
+        }
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
+      // }
600
     }
673
     }
601
-    // setRecord(record) {
602
-    //   if (record == null) {
603
-    //     this.info1[0].content = "0"
604
-    //     this.info1[1].content = "0"
605
-    //     this.info1[2].content = "0"
606
-    //     // this.info1[3].content = ""
607
-
608
-    //     this.info2[0].content = "0"
609
-    //     this.info2[1].content = "0"
610
-    //     this.info2[2].content = ""
611
-    //     this.info2[3].content = ""
612
-
613
-    //     this.info3[0].content = "0"
614
-    //     this.info3[1].content = "0"
615
-    //     this.info3[2].content = ""
616
-    //     this.info3[3].content = ""
617
-
618
-    //     this.note = ""
619
-
620
-    //   } else {
621
-    //     this.info1[0].content = record.weight_before
622
-    //     this.info1[1].content = record.systolic_blood_pressure
623
-    //     this.info1[2].content = record.last_post_dialysis
624
-    //     // this.info1[3].content = ""
625
-
626
-    //     this.info2[0].content = record.additional_weight
627
-    //     this.info2[1].content = record.diastolic_blood_pressure
628
-    //     this.info2[2].content = record.dialysis_interphase
629
-    //     this.info2[3].content = record.catheter
630
-
631
-    //     this.info3[0].content = record.temperature
632
-    //     this.info3[1].content = record.breathing_rate
633
-    //     this.info3[2].content = record.symptom_before_dialysis
634
-    //     this.info3[3].content = record.complication
635
-
636
-    //     this.note = record.remark
637
-    //   }
638
-    // }
639
-  }
640
-};
674
+  };
641
 </script>
675
 </script>
642
 
676
 
643
 <style rel="stylesheet/scss" lang="scss" scoped></style>
677
 <style rel="stylesheet/scss" lang="scss" scoped></style>