See999 5 年 前
コミット
0550e36e42
共有24 個のファイルを変更した10057 個の追加7070 個の削除を含む
  1. 31 2
      src/store/modules/globalConfig.js
  2. 1 0
      src/xt_pages/data/components/table.vue
  3. 23 0
      src/xt_pages/data/components/tableson.vue
  4. 798 686
      src/xt_pages/data/prescription.vue
  5. 74 24
      src/xt_pages/dialysis/batch_print/batch_print_order.vue
  6. 289 116
      src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue
  7. 2444 2371
      src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue
  8. 346 280
      src/xt_pages/dialysis/batch_print/batch_print_order_other.vue
  9. 92 38
      src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue
  10. 45 2
      src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue
  11. 3 1
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  12. 9 6
      src/xt_pages/dialysis/details/assessmentAfter.vue
  13. 11 0
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  14. 13 13
      src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue
  15. 55 10
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  16. 7 7
      src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue
  17. 3 7
      src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue
  18. 2425 1592
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  19. 31 4
      src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue
  20. 1085 227
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  21. 3 7
      src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue
  22. 992 643
      src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue
  23. 1275 1033
      src/xt_pages/user/dialysisSolution.vue
  24. 2 1
      src/xt_pages/workforce/components/tableWeeks.vue

+ 31 - 2
src/store/modules/globalConfig.js ファイルの表示

@@ -557,6 +557,36 @@ const global_config = {
557 557
         zongliang_unit: '',
558 558
         gaimingcheng_unit: 'ml',
559 559
         gaijiliang_unit: ''
560
+      },
561
+      6: {
562
+        id: 6,
563
+        name: '低分子肝素钙',
564
+        type: 1,
565
+        shouji: 1,
566
+        weichi: 1,
567
+        zongliang: 1,
568
+        gaimingcheng: -1,
569
+        gaijiliang: -1,
570
+        shouji_unit: 'iu',
571
+        weichi_unit: 'iu/h',
572
+        zongliang_unit: 'iu',
573
+        gaimingcheng_unit: '',
574
+        gaijiliang_unit: ''
575
+      },
576
+      7: {
577
+        id: 7,
578
+        name: '低分子肝素钠',
579
+        type: 1,
580
+        shouji: 1,
581
+        weichi: 1,
582
+        zongliang: 1,
583
+        gaimingcheng: -1,
584
+        gaijiliang: -1,
585
+        shouji_unit: 'iu',
586
+        weichi_unit: 'iu/h',
587
+        zongliang_unit: 'iu',
588
+        gaimingcheng_unit: '',
589
+        gaijiliang_unit: ''
560 590
       }
561 591
     },
562 592
     anticoagulants_set: {
@@ -2124,8 +2154,7 @@ const global_config = {
2124 2154
         name: 'A钝针'
2125 2155
       }
2126 2156
     ],
2127
-    channels: [
2128
-      {
2157
+    channels: [{
2129 2158
         id: 1,
2130 2159
         name: '无'
2131 2160
       },

+ 1 - 0
src/xt_pages/data/components/table.vue ファイルの表示

@@ -192,6 +192,7 @@ export default {
192 192
   },
193 193
   created() {
194 194
     this.getList();
195
+    console.log("list是-----------", this.list);
195 196
   },
196 197
   methods: {
197 198
     fieldChange: function(newValue) {

+ 23 - 0
src/xt_pages/data/components/tableson.vue ファイルの表示

@@ -291,6 +291,17 @@ export default {
291 291
       this.getList();
292 292
     },
293 293
     handleModifyStatus(row, status) {
294
+      if (
295
+        row.name == "无肝素" ||
296
+        row.name == "普通肝素" ||
297
+        row.name == "低分子钠" ||
298
+        row.name == "低分子钙" ||
299
+        row.name == "阿加曲班" ||
300
+        row.name == "枸橼酸钠"
301
+      ) {
302
+        this.$message.error("关联字段不能删除");
303
+        return false;
304
+      }
294 305
       this.temp = Object.assign({}, row); // copy obj
295 306
       this.$confirm("此操作将永久删除该配置项, 是否继续?", "提示", {
296 307
         confirmButtonText: "确 定",
@@ -374,6 +385,18 @@ export default {
374 385
       });
375 386
     },
376 387
     handleUpdate(row) {
388
+      if (
389
+        row.name == "无肝素" ||
390
+        row.name == "普通肝素" ||
391
+        row.name == "低分子钠" ||
392
+        row.name == "低分子钙" ||
393
+        row.name == "阿加曲班" ||
394
+        row.name == "枸橼酸钠"
395
+      ) {
396
+        this.$message.error("关联字段不能编辑");
397
+        return false;
398
+      }
399
+
377 400
       this.temp = Object.assign({}, row); // copy obj
378 401
       this.dialogStatus = "update";
379 402
       this.dialogFormVisible = true;

File diff suppressed because it is too large
+ 798 - 686
src/xt_pages/data/prescription.vue


+ 74 - 24
src/xt_pages/dialysis/batch_print/batch_print_order.vue ファイルの表示

@@ -654,7 +654,7 @@
654 654
                           "
655 655
                         ></check-box>
656 656
                         ( 首剂
657
-                        <div class="under_line" style="width: 30px;">
657
+                        <div class="under_line" style="width: 50px;">
658 658
                           {{
659 659
                             isCheckBoxChecked(
660 660
                               record.prescription,
@@ -666,7 +666,7 @@
666 666
                           }}
667 667
                         </div>
668 668
                         mg&nbsp; 维持
669
-                        <div class="under_line" style="width: 30px;">
669
+                        <div class="under_line" style="width: 50px;">
670 670
                           {{
671 671
                             isCheckBoxChecked(
672 672
                               record.prescription,
@@ -679,29 +679,78 @@
679 679
                         </div>
680 680
                         mg/h )
681 681
 
682
-                        <check-box
683
-                          text="低分子肝素"
684
-                          :checked="
685
-                            isCheckBoxChecked(
686
-                              record.prescription,
687
-                              'anticoagulant',
688
-                              3
689
-                            )
690
-                          "
691
-                        ></check-box>
682
+                        <span v-if="record.prescription.anticoagulant == 3">
683
+                          <check-box
684
+                            text="低分子肝素"
685
+                            :checked="
686
+                              isCheckBoxChecked(
687
+                                record.prescription,
688
+                                'anticoagulant',
689
+                                3
690
+                              )
691
+                            "
692
+                          ></check-box>
693
+                        </span>
694
+                        <span v-if="record.prescription.anticoagulant == 6">
695
+                          <check-box
696
+                            text="低分子肝素钙"
697
+                            :checked="
698
+                              isCheckBoxChecked(
699
+                                record.prescription,
700
+                                'anticoagulant',
701
+                                6
702
+                              )
703
+                            "
704
+                          ></check-box>
705
+                        </span>
706
+                        <span v-if="record.prescription.anticoagulant == 7">
707
+                          <check-box
708
+                            text="低分子肝素钠"
709
+                            :checked="
710
+                              isCheckBoxChecked(
711
+                                record.prescription,
712
+                                'anticoagulant',
713
+                                7
714
+                              )
715
+                            "
716
+                          ></check-box>
717
+                        </span>
692 718
                         <div class="under_line" style="width: 40px;">
693
-                          {{
694
-                            isCheckBoxChecked(
695
-                              record.prescription,
696
-                              "anticoagulant",
697
-                              3
698
-                            )
699
-                              ? record.prescription.anticoagulant_zongliang
700
-                              : ""
701
-                          }}
719
+                          <span v-if="record.prescription.anticoagulant == 3"
720
+                            >{{
721
+                              isCheckBoxChecked(
722
+                                record.prescription,
723
+                                "anticoagulant",
724
+                                3
725
+                              )
726
+                                ? record.prescription.anticoagulant_zongliang
727
+                                : ""
728
+                            }}
729
+                          </span>
730
+                          <span v-if="record.prescription.anticoagulant == 6"
731
+                            >{{
732
+                              isCheckBoxChecked(
733
+                                record.prescription,
734
+                                "anticoagulant",
735
+                                6
736
+                              )
737
+                                ? record.prescription.anticoagulant_zongliang
738
+                                : ""
739
+                            }}
740
+                          </span>
741
+                          <span v-if="record.prescription.anticoagulant == 7"
742
+                            >{{
743
+                              isCheckBoxChecked(
744
+                                record.prescription,
745
+                                "anticoagulant",
746
+                                7
747
+                              )
748
+                                ? record.prescription.anticoagulant_zongliang
749
+                                : ""
750
+                            }}
751
+                          </span>
702 752
                         </div>
703 753
                         IU
704
-
705 754
                         <check-box
706 755
                           text="无肝素"
707 756
                           :checked="
@@ -716,8 +765,9 @@
716 765
                         其他方式
717 766
                         <div class="under_line" style="width: 140px;">
718 767
                           {{
719
-                            record.prescription &&
720
-                            record.prescription.anticoagulant > 3
768
+                            (record.prescription &&
769
+                              record.prescription.anticoagulant == 4) ||
770
+                            record.prescription.anticoagulant == 5
721 771
                               ? anticoagulantName(record.prescription)
722 772
                               : ""
723 773
                           }}

+ 289 - 116
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue ファイルの表示

@@ -114,26 +114,12 @@
114 114
                     ></label-box
115 115
                     >&nbsp;
116 116
                   </td>
117
-                  <td style="text-align:left;" colspan="2">
118
-                    <span style="display:inline-block;margin-left:15px;">
119
-                      透析时间:
120
-                      {{
121
-                        record.assessment_after_dislysis.actual_treatment_hour
122
-                          ? record.assessment_after_dislysis.actual_treatment_hour
123
-                          : "0"
124
-                      }}小时{{ record.assessment_after_dislysis.actual_treatment_minute
125
-                          ? record.assessment_after_dislysis.actual_treatment_minute
126
-                          : "0"}}分钟</span>
127
-                  </td>
128
-                  <td style="text-align:left;" colspan="3">
117
+                  <td style="text-align:left;" colspan="5">
129 118
                     <span style="display:inline-block;margin-left:15px;"
130
-                      >透析器型号:{{
131
-                        record.prescription.dialyzer_perfusion_apparatus
132
-                          ? record.prescription.dialyzer_perfusion_apparatus
133
-                          : "/"
134
-                      }}
135
-                    </span>
119
+                      >诊断: {{ record.patient.diagnose }}</span
120
+                    >
136 121
                   </td>
122
+                
137 123
                 </tr>
138 124
                 <tr>
139 125
                   <td style="text-align:left;" colspan="1">
@@ -231,15 +217,62 @@
231 217
                       }}kg</span
232 218
                     >
233 219
                   </td>
234
-                  <td style="text-align:left;" colspan="6">
220
+                  <td style="text-align:left;">
235 221
                     <span style="display:inline-block;margin-left:15px;"
236 222
                       >实际脱水量:
237 223
                       {{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:"0"}}
238 224
                       </span>&nbsp;L
239 225
                   </td>
226
+                   <td style="text-align:left;" colspan="2">
227
+                    <span style="display:inline-block;margin-left:15px;"
228
+                      >透析时间:
229
+                     {{
230
+                        record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_hour
231
+                        ? record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_hour
232
+                        : "0"
233
+                         }}小时{{
234
+                         record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
235
+                         ? record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
236
+                         : "0"
237
+                          }}分钟</span
238
+                      </span>&nbsp;L
239
+                  </td>
240
+                   <td style="text-align:left;" >
241
+                    <span style="display:inline-block;margin-left:15px;"
242
+                      >透析器型号:
243
+                     {{
244
+                        record.prescription.dialyzer_perfusion_apparatus
245
+                         ?  record.prescription.dialyzer_perfusion_apparatus
246
+                           : "/"
247
+                        }}
248
+                      </span>&nbsp;L
249
+                  </td>
250
+                   <td style="text-align:left;" colspan="2">
251
+                    <span style="display:inline-block;margin-left:15px;"
252
+                      >置换方式:
253
+                       <label-box
254
+                         :isChecked="
255
+                          record.prescription.displace_liqui_part == 1 ? true : false
256
+                          "
257
+                         showValue="前"
258
+                         ></label-box
259
+                         >&nbsp;
260
+                        <label-box
261
+                          :isChecked="
262
+                            record.prescription.displace_liqui_part == 2 ? true : false
263
+                          "
264
+                          showValue="后"
265
+                        ></label-box>
266
+                          &nbsp; (总量:{{
267
+                            record.prescription.displace_liqui_value
268
+                              ? prescription.displace_liqui_value
269
+                              : "/"
270
+                          }}L)
271
+                      </span>&nbsp;
272
+                  </td>
240 273
                 </tr>
241 274
                 <tr>
242
-                  <td style="text-align:left;" colspan="2">
275
+                  <td style="text-align:left;">
243 276
                     <span style="display:inline-block;margin-left:15px;"
244 277
                       >责任护士:
245 278
                        <span
@@ -267,7 +300,7 @@
267 300
                             style="height: 20px;"
268 301
                           /></span>
269 302
                   </td>
270
-                  <td style="text-align:left;" colspan="3">
303
+                  <td style="text-align:left;">
271 304
                     <span style="display:inline-block;margin-left:15px;"
272 305
                       >上机护士:
273 306
                        <span
@@ -295,6 +328,35 @@
295 328
                             style="height: 20px;"
296 329
                           />
297 330
                       </span>
331
+                  </td>
332
+                   <td style="text-align:left;" colspan="3">
333
+                    <span style="display:inline-block;margin-left:15px;"
334
+                      >抗凝剂执行护士:
335
+                       <span
336
+                            v-if="
337
+                              setAdminUserES(
338
+                                record.dialysis_order,
339
+                                'start_nurse'
340
+                              ) == ''
341
+                            "
342
+                            >{{
343
+                              getAdminUser(record.dialysis_order, "start_nurse")
344
+                            }}</span
345
+                          >
346
+                          <img
347
+                            class="es-img"
348
+                            :src="
349
+                              setAdminUserES(
350
+                                record.dialysis_order,
351
+                                'start_nurse'
352
+                              )
353
+                            "
354
+                            alt=""
355
+                            srcset=""
356
+                            v-else
357
+                            style="height: 20px;"
358
+                          />
359
+                      </span>
298 360
                   </td>
299 361
                   <td style="text-align:left;" colspan="3">
300 362
                     <span style="display:inline-block;margin-left:15px;"
@@ -443,45 +505,128 @@
443 505
                 <tr>
444 506
                   <td colspan="8" style="text-align:left;">
445 507
                     <span style="display:inline-block;margin-left:15px;"
446
-                      >血管通路:
447
-                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '正常')"></check-box>
448
-                      <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'blood_access_internal_fistula' ,'震颤')"></check-box>
449
-                      <check-box text="堵塞" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '堵塞')"></check-box>
450
-                      <check-box text="血肿" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'血肿')"></check-box>
451
-                      <check-box text="淤血" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'淤血')"></check-box>
452
-                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'感染')"></check-box>
453
-                      <check-box text="自体内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'自体内瘘')"></check-box>
454
-                      <check-box text="人工内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'人工内瘘')"></check-box>
508
+                      > 血管通路:内瘘波动及震颤: (&nbsp;<check-box
509
+                          v-for="(item, index) in arr"
510
+                          :key="index"
511
+                          :text="item.name"
512
+                          :checked="
513
+                            record.assessment_before_dislysis.blood_access_part_opera_id == item.id
514
+                              ? true
515
+                              : false
516
+                          "
517
+                        ></check-box
518
+                        >)
519
+                        <check-box
520
+                          v-for="(item, index) in arrtwo"
521
+                          :key="index"
522
+                          :text="item.name"
523
+                          :checked="
524
+                            record.assessment_before_dislysis.blood_access_part_opera_id == item.id
525
+                              ? true
526
+                              : false
527
+                          "
528
+                        ></check-box>
455 529
                     </span>
456 530
                   </td>
457 531
                 </tr>
458 532
                 <tr>
459 533
                   <td colspan="8" style="text-align:left;">
460
-                    <span style="display:inline-block;margin-left:15px;">中心静脉导管:</span>
461
-                    <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正常')"></check-box>
462
-                    <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '不畅')"></check-box>
463
-                    <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血流不足')"></check-box>
464
-                    (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正接')"></check-box>/
465
-                    <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '反接')"></check-box>)
466
-                    <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血栓')"></check-box>
467
-                    <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '缝线脱落')"></check-box>
468
-                    <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '导管脱落')"></check-box>
469
-                    <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '感染')"></check-box>
470
-                    <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '破损')"></check-box>
534
+                    <span style="display:inline-block;margin-left:15px;">中心静脉导管:
535
+                     (部位:{{ getPartName(record.assessment_before_dislysis.blood_access_part_id) }})
536
+                        <label-box
537
+                          showValue="长期"
538
+                          :isChecked="
539
+                            record.assessment_before_dislysis.venous_catheterization == 1 ? true : false
540
+                          "
541
+                        ></label-box>
542
+                        <label-box
543
+                          showValue="临时"
544
+                          :isChecked="
545
+                           record.assessment_before_dislysis.venous_catheterization == 2 ? true : false
546
+                          "
547
+                        ></label-box>
548
+                          &nbsp;&nbsp; 感染:
549
+                          <label-box
550
+                            showValue="有"
551
+                            :isChecked="
552
+                             record.assessment_before_dislysis.catheter.indexOf('感染-有') > -1 ? true : false
553
+                            "
554
+                          ></label-box>
555
+                          <label-box
556
+                            showValue="无"
557
+                            :isChecked="
558
+                              record.assessment_before_dislysis.catheter.indexOf('感染-无') > -1 ? true : false
559
+                            "
560
+                          ></label-box>
561
+                            &nbsp;&nbsp;流畅度:
562
+                            <label-box
563
+                              showValue="好"
564
+                              :isChecked="
565
+                                record.assessment_before_dislysis.catheter.indexOf('通畅度-好') > -1 ? true : false
566
+                              "
567
+                            ></label-box>
568
+                            <label-box
569
+                              showValue="差"
570
+                              :isChecked="
571
+                                record.assessment_before_dislysis.catheter.indexOf('通畅度-差') > -1 ? true : false
572
+                              "
573
+                            ></label-box>
574
+                            &nbsp;&nbsp;溶栓:
575
+                            <label-box
576
+                              showValue="有"
577
+                              :isChecked="
578
+                                record.assessment_before_dislysis.catheter.indexOf('溶栓-有') > -1 ? true : false
579
+                              "
580
+                            ></label-box>
581
+                          <label-box
582
+                            showValue="无"
583
+                            :isChecked="
584
+                              record.assessment_before_dislysis.catheter.indexOf('溶栓-无') > -1 ? true : false
585
+                            "
586
+                          ></label-box>
587
+                              &nbsp;&nbsp;外露:{{ record.assessment_before_dislysis.exposed }}cm
588
+                    </span>
589
+                    
471 590
                   </td>
472 591
                 </tr>
473 592
                 <tr>
474 593
                <td style="text-align:left;" colspan="8" >
475
-                 <span style="display:inline-block;margin-left:15px;">血管通路皮肤:
476
-                 <check-box text="正常"
477
-                  :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula_skin', '正常')"></check-box>
478
-                 <check-box text="瘀斑"
479
-                   :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula_skin', '瘀斑')"></check-box>
480
-                 <check-box text="红"
481
-                   :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula_skin', '红')"></check-box>
482
-                 <check-box text="肿"
483
-                  :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula_skin', '肿')"></check-box>
484
-                  其他:
594
+                 <span style="display:inline-block;margin-left:15px;">血管通路皮肤情况:
595
+                   <label-box
596
+                      :isChecked="
597
+                        record.assessment_before_dislysis.internal_fistula_skin.indexOf('正常') > -1
598
+                          ? true
599
+                          : false
600
+                      "
601
+                      showValue="正常"
602
+                    ></label-box
603
+                    >&nbsp;
604
+                    <label-box
605
+                      :isChecked="
606
+                       record.assessment_before_dislysis.internal_fistula_skin.indexOf('淤血') > -1
607
+                          ? true
608
+                          : false
609
+                      "
610
+                      showValue="淤血"
611
+                    ></label-box
612
+                    >&nbsp;
613
+                    <label-box
614
+                      :isChecked="
615
+                        record.assessment_before_dislysis.internal_fistula_skin.indexOf('红') > -1
616
+                          ? true
617
+                          : false
618
+                      "
619
+                      showValue="红"
620
+                    ></label-box
621
+                    >&nbsp;
622
+                    <label-box
623
+                      :isChecked="
624
+                        record.assessment_before_dislysis.internal_fistula_skin.indexOf('肿') > -1
625
+                          ? true
626
+                          : false
627
+                      "
628
+                      showValue="肿"
629
+                    ></label-box>
485 630
                  </span>
486 631
                </td>
487 632
               </tr>
@@ -613,20 +758,39 @@
613 758
                <check-box text="低风险" :checked="isCheckBoxChecked(record.receive_assessment, 'danger_level', 2)"></check-box>
614 759
               <check-box text="中度风险" :checked="isCheckBoxChecked(record.receive_assessment, 'danger_level', 3)"></check-box>
615 760
              <check-box text="高风险" :checked="isCheckBoxChecked(record.receive_assessment, 'danger_level', 4)"></check-box>
616
-            防护措施:
617
-             <check-box
618
-               v-for="(item, index) in precaution_arr" :key="index"
619
-                        :text="item.name"
620
-
621
-                        :checked="
622
-                            isCheckBoxChecked(
623
-                              record.receive_assessment,
624
-                              'nutrition',
625
-                              item.id
626
-                            )
627
-                          "
628
-                      ></check-box>
629
-              其他:
761
+            跌倒风险预防措施:
762
+                <label-box
763
+                  showValue="镇定剂"
764
+                  :isChecked="
765
+                    record.receive_assessment.precaution.indexOf('镇定剂') > -1
766
+                      ? true
767
+                      : false
768
+                  "
769
+                ></label-box>
770
+                  <label-box
771
+                    showValue="约束带"
772
+                    :isChecked="
773
+                      record.receive_assessment.precaution.indexOf('约束带') > -1
774
+                        ? true
775
+                        : false
776
+                    "
777
+                  ></label-box>
778
+                  <label-box
779
+                    showValue="床栏"
780
+                    :isChecked="
781
+                      record.receive_assessment.precaution.indexOf('床栏') > -1
782
+                        ? true
783
+                        : false
784
+                    "
785
+                  ></label-box>
786
+                    <label-box
787
+                      showValue="加强宣教"
788
+                      :isChecked="
789
+                        record.receive_assessment.precaution.indexOf('加强宣教') > -1
790
+                          ? true
791
+                          : false
792
+                      "
793
+                    ></label-box>
630 794
               </td>
631 795
              </tr>
632 796
               </table>
@@ -642,7 +806,7 @@
642 806
           <th style="min-width:60px"><p style="height:20px;line-height:20px">超滤量</p><p style="height:20px;line-height:20px">L</p></th>
643 807
           <th style="min-width:60px"><p style="height:20px;line-height:20px">NA⁺</p><p style="height:20px;line-height:20px"></p></th>
644 808
           <th style="min-width:60px"><p style="height:20px;line-height:20px">病情变化及处理</p></th>
645
-          <th style="min-width:110px"><p style="height:20px;line-height:20px">护士签名核对者</p></th>
809
+          <th style="min-width:110px" colspan="2"><p style="height:20px;line-height:20px">护士签名核对者</p></th>
646 810
         </tr>
647 811
         <tr v-for="(monitor,monitor_index) in record.monitor_records" :key="monitor_index">
648 812
          <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
@@ -663,7 +827,7 @@
663 827
          <td>{{monitor.ultrafiltration_volume}}</td>
664 828
          <td>{{monitor.sodium_concentration}}</td>
665 829
          <td> {{ monitor.symptom }} &nbsp;{{ monitor.result }}</td>
666
-         <td>
830
+         <td colspan="2">
667 831
            <span v-show="showOne">{{getName(monitor.monitoring_nurse)}}</span>
668 832
            <span v-show="showTwo"><img :src="getName(monitor.monitoring_nurse)" style="height:20px"></span>
669 833
          </td>
@@ -706,17 +870,24 @@
706 870
           </td>
707 871
         </tr>
708 872
         <tr>
709
-          <td style="text-align:left;" colspan="12">
873
+         <td style="text-align:left;" colspan="2">
874
+           <span style="margin-left:15px">实际置换量:</span>{{ record.assessment_after_dislysis.actual_displacement }} L
875
+         </td>
876
+          <td style="text-align:left;" colspan="10">
710 877
             <span style="display:inline-block;margin-left:15px;">内瘘搏动及震颤音:
711 878
              <check-box text="存在" :checked="record.assessment_after_dislysis.tremor_noise==1?true:false"></check-box>
712 879
              <check-box text="减弱" :checked="record.assessment_after_dislysis.tremor_noise==2?true:false"></check-box>
713 880
             <check-box text="不存在" :checked="record.assessment_after_dislysis.tremor_noise==3?true:false"></check-box>
714 881
             </span>&nbsp;
715 882
             <span>透析器及管路凝血情况:
716
-              <check-box text="0级"  :checked="record.assessment_after_dislysis == 1?true:false"></check-box>
717
-               <check-box text="1级" :checked="record.assessment_after_dislysis == 2?true:false"></check-box>
718
-               <check-box text="2级" :checked="record.assessment_after_dislysis == 3?true:false"></check-box>
719
-               <check-box text="3级" :checked="record.assessment_after_dislysis == 4?true:false"></check-box>
883
+               <check-box text="0"
884
+                :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-0度') > -1"></check-box>
885
+               <check-box text="+"
886
+                :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅰ度') > -1"></check-box>
887
+               <check-box text="++"
888
+                 :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅱ度') > -1"></check-box>
889
+               <check-box text="+++"
890
+                :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅲ度') > -1"></check-box>
720 891
              </span>
721 892
           </td>
722 893
         </tr>
@@ -828,47 +999,14 @@
828 999
           </td>
829 1000
         </tr>
830 1001
         <tr>
831
-          <td style="text-align:left;" colspan="6">
832
-            <span>特殊记录:{{record.summer && record.summer.dialysis_summary? record.summer.dialysis_summary: '/'}}</span>
1002
+          <td style="text-align:left;"  colspan="6">
1003
+            <span style="margin-left:15px">特殊记录:{{record.summer && record.summer.dialysis_summary? record.summer.dialysis_summary: '/'}}</span>
833 1004
           </td>
834 1005
         </tr>
835 1006
         <tr>
836
-        <td style="text-align:left;" colspan="6">
837
-            <span>医生签名:
838
-            <span
839
-                  v-if="
840
-                  !record.advices ||
841
-                 typeof record.advices[0] == 'undefined' ||
842
-                typeof record.advices[0][0] == 'undefined'
843
-                "
844
-                ></span>
845
-                <span
846
-                  v-else-if="
847
-                  setAdminUserES(
848
-                  record.advices[0][0],
849
-                    'advice_doctor'
850
-                   ) == ''
851
-                  "
852
-                  >{{
853
-                  getAdminUser(
854
-                  record.advices[0][0],
855
-                 "advice_doctor"
856
-                  )
857
-                  }}</span
858
-                   >
859
-                 <img
860
-                 class="es-img"
861
-                 :src="
862
-                  setAdminUserES(
863
-                  record.advices[0][0],
864
-                 'advice_doctor'
865
-                   )
866
-                   "
867
-                  alt=""
868
-                  srcset=""
869
-                   v-else
870
-                  style="height: 20px;"
871
-                   /></span>
1007
+        <td style="text-align:left;margin-left:15px" colspan="6">
1008
+              <span style="margin-left:15px">质控护士签名:
1009
+              </span>
872 1010
              </td>
873 1011
            </tr>
874 1012
          </table>
@@ -957,7 +1095,10 @@ export default {
957 1095
       appetite_arr: [],
958 1096
       precaution_arr: [],
959 1097
       showOne: false,
960
-      showTwo: false
1098
+      showTwo: false,
1099
+      arr:[],
1100
+      arrtwo:[],
1101
+       bloodAccess: []
961 1102
     }
962 1103
   },
963 1104
   created() {
@@ -974,11 +1115,33 @@ export default {
974 1115
       'hemodialysis',
975 1116
       'vascular_access_desc'
976 1117
     )
977
-    for (var key in bloodAccessParOpera) {
978
-      this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
979
-        bloodAccessParOpera[key]
980
-    }
981
-
1118
+    console.log("血管通路",bloodAccessParOpera)
1119
+     var arr = [];
1120
+    var arrtwo = [];
1121
+    for (let i = 0; i < bloodAccessParOpera.length; i++) {
1122
+      if (bloodAccessParOpera[i].name == "内瘘波动及震颤-存在") {
1123
+        bloodAccessParOpera[i].name = "存在";
1124
+        arr.push(bloodAccessParOpera[i]);
1125
+      }
1126
+      if (bloodAccessParOpera[i].name == "内瘘波动及震颤-减弱") {
1127
+        bloodAccessParOpera[i].name = "减弱";
1128
+        arr.push(bloodAccessParOpera[i]);
1129
+      }
1130
+      if (bloodAccessParOpera[i].name == "内瘘波动及震颤-消失") {
1131
+        bloodAccessParOpera[i].name = "消失";
1132
+        arr.push(bloodAccessParOpera[i]);
1133
+      }
1134
+      if (bloodAccessParOpera[i].name == "直穿") {
1135
+        arrtwo.push(bloodAccessParOpera[i]);
1136
+      }
1137
+      if (bloodAccessParOpera[i].name == "人造血管") {
1138
+        arrtwo.push(bloodAccessParOpera[i]);
1139
+      }
1140
+      if (bloodAccessParOpera[i].name == "移植血管") {
1141
+        arrtwo.push(bloodAccessParOpera[i]);
1142
+      }
1143
+      this.arr = arr;
1144
+      this.arrtwo = arrtwo;
982 1145
     this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
983 1146
 
984 1147
     var dialysateFormulationOptions = getDataConfig(
@@ -991,6 +1154,9 @@ export default {
991 1154
     }
992 1155
     this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
993 1156
     this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1157
+    var bloodAccess = getDataConfig("hemodialysis", "vascular_access");
1158
+    this.bloodAccess = bloodAccess;
1159
+   }
994 1160
   },
995 1161
   mounted() {
996 1162
     this.loading = true
@@ -1379,6 +1545,13 @@ export default {
1379 1545
           console.log('weight', weight)
1380 1546
         }
1381 1547
       })
1548
+    },
1549
+    getPartName(id) {
1550
+      for (let i = 0; i < this.bloodAccess.length; i++) {
1551
+        if ((this.bloodAccess[i].id = id)) {
1552
+          return this.bloodAccess[i].name;
1553
+        }
1554
+      }
1382 1555
     }
1383 1556
   }
1384 1557
 }

File diff suppressed because it is too large
+ 2444 - 2371
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue


File diff suppressed because it is too large
+ 346 - 280
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue


+ 92 - 38
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue ファイルの表示

@@ -76,15 +76,18 @@
76 76
               </div>
77 77
78 78
             </div>
79
-
79
+          </div>
80
+          <div class="row">
80 81
             <div class="inline_block" style="margin-left: 5px;">
81 82
               诊断:
82
-              <div class="under_line_two" style="width: 150px;text-align: left">
83
+              <div
84
+                class="under_line"
85
+                style="width: 880px;text-align: left;word-wrap: break-word;white-space: inherit;"
86
+              >
83 87
                 {{ record.patient.diagnose }}
84 88
               </div>
85 89
             </div>
86 90
           </div>
87
-
88 91
           <div
89 92
             class="row"
90 93
             :class="
@@ -451,25 +454,43 @@
451 454
                         <check-box
452 455
                           text="锁骨下"
453 456
                           :checked="
454
-                          record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','锁骨下')
455
-                          ? true
456
-                          : false
457
+                            record.assessment_before_dislysis
458
+                              .blood_access_part_id ==
459
+                            getIsCheckDataConfig(
460
+                              'hemodialysis',
461
+                              'vascular_access',
462
+                              '锁骨下'
463
+                            )
464
+                              ? true
465
+                              : false
457 466
                           "
458 467
                         ></check-box>
459 468
                         <check-box
460 469
                           text="颈静脉"
461 470
                           :checked="
462
-                          record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈静脉')
463
-                          ? true
464
-                          : false
471
+                            record.assessment_before_dislysis
472
+                              .blood_access_part_id ==
473
+                            getIsCheckDataConfig(
474
+                              'hemodialysis',
475
+                              'vascular_access',
476
+                              '颈静脉'
477
+                            )
478
+                              ? true
479
+                              : false
465 480
                           "
466 481
                         ></check-box>
467 482
                         <check-box
468 483
                           text="股静脉"
469 484
                           :checked="
470
-                           record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','股静脉')
471
-                          ? true
472
-                          : false
485
+                            record.assessment_before_dislysis
486
+                              .blood_access_part_id ==
487
+                            getIsCheckDataConfig(
488
+                              'hemodialysis',
489
+                              'vascular_access',
490
+                              '股静脉'
491
+                            )
492
+                              ? true
493
+                              : false
473 494
                           "
474 495
                         ></check-box>
475 496
                         <div class="inline_block">
@@ -1542,21 +1563,31 @@
1542 1563
                         <check-box
1543 1564
                           text="无"
1544 1565
                           :checked="
1545
-                      record.assessment_after_dislysis.complication.indexOf('无') > -1
1546
-                          ? true
1547
-                          : false
1548
-                      "
1566
+                            record.assessment_after_dislysis.complication.indexOf(
1567
+                              '无'
1568
+                            ) > -1
1569
+                              ? true
1570
+                              : false
1571
+                          "
1549 1572
                         ></check-box>
1550 1573
                         <check-box
1551 1574
                           text="有"
1552 1575
                           :checked="
1553
-                        record.assessment_after_dislysis.complication.indexOf('头晕') > -1 ||
1554
-                         record.assessment_after_dislysis.complication.indexOf('头痛') > -1||
1555
-                           record.assessment_after_dislysis.complication.indexOf('呕吐') > -1||
1556
-                             record.assessment_after_dislysis.complication.indexOf('低血压') > -1
1557
-                          ? true
1558
-                          : false
1559
-                      "
1576
+                            record.assessment_after_dislysis.complication.indexOf(
1577
+                              '头晕'
1578
+                            ) > -1 ||
1579
+                            record.assessment_after_dislysis.complication.indexOf(
1580
+                              '头痛'
1581
+                            ) > -1 ||
1582
+                            record.assessment_after_dislysis.complication.indexOf(
1583
+                              '呕吐'
1584
+                            ) > -1 ||
1585
+                            record.assessment_after_dislysis.complication.indexOf(
1586
+                              '低血压'
1587
+                            ) > -1
1588
+                              ? true
1589
+                              : false
1590
+                          "
1560 1591
                         ></check-box>
1561 1592
                       </div>
1562 1593
                       <div class="inline_block">
@@ -1693,17 +1724,40 @@
1693 1724
                       </div>
1694 1725
                       <div class="inline_block">
1695 1726
                         透析器凝血:
1696
-                          <check-box text="0"
1697
-                                     :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-0度') > -1"></check-box>
1698
-                          <check-box text="+"
1699
-                                     :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅰ度') > -1"></check-box>
1700
-                          <check-box text="++"
1701
-                                     :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅱ度') > -1"></check-box>
1702
-                          <check-box text="+++"
1703
-                                     :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅲ度') > -1"></check-box>
1704
-
1727
+                        <check-box
1728
+                          text="0"
1729
+                          :checked="
1730
+                            record.assessment_after_dislysis.cruor.indexOf(
1731
+                              '透析器-0度'
1732
+                            ) > -1
1733
+                          "
1734
+                        ></check-box>
1735
+                        <check-box
1736
+                          text="+"
1737
+                          :checked="
1738
+                            record.assessment_after_dislysis.cruor.indexOf(
1739
+                              '透析器-Ⅰ度'
1740
+                            ) > -1
1741
+                          "
1742
+                        ></check-box>
1743
+                        <check-box
1744
+                          text="++"
1745
+                          :checked="
1746
+                            record.assessment_after_dislysis.cruor.indexOf(
1747
+                              '透析器-Ⅱ度'
1748
+                            ) > -1
1749
+                          "
1750
+                        ></check-box>
1751
+                        <check-box
1752
+                          text="+++"
1753
+                          :checked="
1754
+                            record.assessment_after_dislysis.cruor.indexOf(
1755
+                              '透析器-Ⅲ度'
1756
+                            ) > -1
1757
+                          "
1758
+                        ></check-box>
1705 1759
 
1706
-                       <!-- <div
1760
+                        <!-- <div
1707 1761
                           class="under_line"
1708 1762
                           style="width: 100px;text-align: center"
1709 1763
                         >
@@ -2542,11 +2596,11 @@ export default {
2542 2596
       });
2543 2597
   },
2544 2598
   methods: {
2545
-    getIsCheckDataConfig(pName, cName, targetName){
2546
-      var arr = getDataConfig(pName,cName)
2547
-      for (let i = 0; i < arr.length; i++){
2548
-        if (arr[i].name == targetName){
2549
-          return arr[i].id
2599
+    getIsCheckDataConfig(pName, cName, targetName) {
2600
+      var arr = getDataConfig(pName, cName);
2601
+      for (let i = 0; i < arr.length; i++) {
2602
+        if (arr[i].name == targetName) {
2603
+          return arr[i].id;
2550 2604
         }
2551 2605
       }
2552 2606
     },

+ 45 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue ファイルの表示

@@ -447,6 +447,12 @@
447 447
                            <span class="under-line"
448 448
                           v-if="record.prescription.anticoagulant == 5"
449 449
                           >&nbsp;枸橼酸钠</span>
450
+                            <span class="under-line"
451
+                          v-if="record.prescription.anticoagulant == 6"
452
+                          >&nbsp;低分子肝素钙</span>
453
+                            <span class="under-line"
454
+                          v-if="record.prescription.anticoagulant == 7"
455
+                          >&nbsp;低分子肝素钠</span>
450 456
                         </td>
451 457
                         <td style="text-align:left;margin-left:15px">
452 458
                           首剂:<span class="under-line">{{
@@ -481,7 +487,20 @@
481 487
                           <span
482 488
                             v-if="record.prescription.anticoagulant == '无肝素'"
483 489
                           >mg</span
484
-                          >&nbsp;
490
+                          >
491
+                           <span
492
+                            v-if="
493
+                              record.prescription.anticoagulant == 6
494
+                            "
495
+                          >iu</span
496
+                          >
497
+                             <span
498
+                            v-if="
499
+                              record.prescription.anticoagulant == 7
500
+                            "
501
+                          >iu</span
502
+                          >
503
+                          &nbsp;
485 504
                         </td>
486 505
                         <td style="text-align:left;margin-left:15px">
487 506
                           维持:
@@ -520,6 +539,18 @@
520 539
                             v-if="record.prescription.anticoagulant == '无肝素'"
521 540
                           >mg/h</span
522 541
                           >
542
+                           <span
543
+                            v-if="
544
+                              record.prescription.anticoagulant == 6
545
+                            "
546
+                          >iu/h</span
547
+                          >
548
+                           <span
549
+                            v-if="
550
+                              record.prescription.anticoagulant == 7
551
+                            "
552
+                          >iu/h</span
553
+                          >
523 554
                         </td>
524 555
                         <td style="text-align:left;margin-left:15px">
525 556
                           总量:<span class="under-line"
@@ -556,7 +587,19 @@
556 587
                           <span
557 588
                             v-if="record.prescription.anticoagulant == '无肝素'"
558 589
                           >mg</span
559
-                          >;
590
+                          >
591
+                           <span
592
+                            v-if="
593
+                              record.prescription.anticoagulant == 6
594
+                            "
595
+                          >iu</span
596
+                          >
597
+                           <span
598
+                            v-if="
599
+                              record.prescription.anticoagulant ==7
600
+                            "
601
+                          >iu</span
602
+                          >
560 603
                         </td>
561 604
                       </tr>
562 605
                       <tr>

+ 3 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue ファイルの表示

@@ -570,10 +570,12 @@ export default {
570 570
     },
571 571
     blood_access: function() {
572 572
       var id = this.getValueStr("blood_access", "blood_access");
573
+      console.log("id", id);
573 574
       if (id == 0) {
574 575
         return "";
575 576
       }
576
-      var blood_access = this.$store.getters.blood_access_internal_fistula;
577
+      // var blood_access = this.$store.getters.blood_access_internal_fistula;
578
+      var blood_access = getDataConfig("hemodialysis", "vascular_access_desc");
577 579
       for (let i = 0; i < blood_access.length; i++) {
578 580
         if (blood_access[i].id == id) {
579 581
           return blood_access[i].name;

+ 9 - 6
src/xt_pages/dialysis/details/assessmentAfter.vue ファイルの表示

@@ -264,15 +264,18 @@
264 264
 
265 265
         <li v-if="isShow('中心静脉封管(肝素-A端)')">
266 266
           <label for="bzh">中心静脉封管(肝素-A端): </label>
267
-          <span class="content" id="tzjs">{{this.record.cvc_a?this.record.cvc_a:''}}</span>
268
-          <span class="unit">{{this.record.cvc_a?'ml':''}}</span>
267
+          <span class="content" id="tzjs">{{
268
+            this.record.cvc_a ? this.record.cvc_a : ""
269
+          }}</span>
270
+          <span class="unit">{{ this.record.cvc_a ? "ml" : "" }}</span>
269 271
         </li>
270 272
         <li v-if="isShow('中心静脉封管(肝素-V端)')">
271 273
           <label for="bzh">中心静脉封管(肝素-V端): </label>
272
-          <span class="content" id="tzjs">{{this.record.cvc_v?this.record.cvc_v:''}}</span>
273
-          <span class="unit">{{this.record.cvc_v?'ml':''}}</span>
274
+          <span class="content" id="tzjs">{{
275
+            this.record.cvc_v ? this.record.cvc_v : ""
276
+          }}</span>
277
+          <span class="unit">{{ this.record.cvc_v ? "ml" : "" }}</span>
274 278
         </li>
275
-
276 279
       </ul>
277 280
     </div>
278 281
     <div class="note">
@@ -439,7 +442,7 @@ export default {
439 442
         return "-";
440 443
       }
441 444
       const vascular_access = this.$store.getters.vascular_access_desc;
442
-      console.log(vascular_access);
445
+      // console.log(vascular_access);
443 446
       let name = "-";
444 447
       for (var index in vascular_access) {
445 448
         if (

+ 11 - 0
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue ファイルの表示

@@ -695,6 +695,13 @@ export default {
695 695
         this.form.observation_content = "";
696 696
         this.form.observation_content_other = "";
697 697
       }
698
+    }, "form.weight_after":function() {
699
+      if(this){
700
+
701
+
702
+
703
+      }
704
+
698 705
     }
699 706
   },
700 707
   methods: {
@@ -966,6 +973,10 @@ export default {
966 973
       this.isVisibility = true;
967 974
       this.predialysis = predialysis;
968 975
       // console.log("透后", predialysis);
976
+
977
+
978
+
979
+
969 980
       this.getPermission();
970 981
     },
971 982
 

+ 13 - 13
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue ファイルの表示

@@ -292,22 +292,22 @@ export default {
292 292
     },
293 293
     show(accepts) {
294 294
       this.accepts = accepts;
295
-      console.log("accepts", accepts);
295
+      // console.log("accepts", accepts);
296 296
       var arr = [];
297 297
       if (this.accepts.precaution) {
298 298
         var precaution = this.accepts.precaution.split(",");
299
-        console.log("precaution", precaution);
300
-        console.log("hhh", this.precaution_arr);
299
+        // console.log("precaution", precaution);
300
+        // console.log("hhh", this.precaution_arr);
301 301
         for (let i = 0; i < precaution.length; i++) {
302 302
           for (let j = 0; j < this.precaution_arr.length; j++) {
303 303
             if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
304
-              console.log("aaaa");
304
+              // console.log("aaaa");
305 305
               arr.push(this.precaution_arr[j].name);
306 306
             }
307 307
           }
308 308
         }
309 309
         this.precautionTwo = arr;
310
-        console.log("arr", arr);
310
+        // console.log("arr", arr);
311 311
       }
312 312
 
313 313
       this.getPermission();
@@ -342,14 +342,14 @@ export default {
342 342
           }
343 343
         }
344 344
       }
345
-      console.log("arr", arr);
345
+      // console.log("arr", arr);
346 346
       var obj = arr.join(",");
347 347
       this.receiveTreatmentAsses.precaution = obj;
348 348
       let ParamsQuery = this.receiveTreatmentAsses;
349
-      console.log("ParamsQuery", ParamsQuery);
349
+      // console.log("ParamsQuery", ParamsQuery);
350 350
       ParamsQuery["patient"] = this.patient.id;
351 351
       ParamsQuery["record_date"] = this.record_date;
352
-      console.log(this.receiver_treatment_access);
352
+      //console.log(this.receiver_treatment_access);
353 353
       ParamsQuery["mode"] = "1";
354 354
       if (this.receiver_treatment_access.id > 0) {
355 355
         ParamsQuery["mode"] = "2";
@@ -360,7 +360,7 @@ export default {
360 360
           ParamsQuery["mode"] = "3";
361 361
         }
362 362
       }
363
-      console.log("数据", this.precautionTwo);
363
+      // console.log("数据", this.precautionTwo);
364 364
       postAccepts(ParamsQuery).then(response => {
365 365
         if (response.data.state == 0) {
366 366
           this.$message.error(response.data.msg);
@@ -401,8 +401,8 @@ export default {
401 401
           }
402 402
         })
403 403
         .then(res => {
404
-          console.log(res);
405
-          console.log("接诊", this.accepts);
404
+          // console.log(res);
405
+          //console.log("接诊", this.accepts);
406 406
           if (res.data.state == 0) {
407 407
             this.hasPermission = false;
408 408
           } else if (res.data.state == 1) {
@@ -460,7 +460,7 @@ export default {
460 460
     }
461 461
   },
462 462
   created() {
463
-    console.log("接诊评估", this.receiver_treatment_access);
463
+    // console.log("接诊评估", this.receiver_treatment_access);
464 464
     var date = this.$route.query && this.$route.query.date;
465 465
     this.record_date = uParseTime(date, "{y}-{m}-{d}");
466 466
 
@@ -470,7 +470,7 @@ export default {
470 470
     this.posture_arr = getDataConfig("hemodialysis", "posture");
471 471
     this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
472 472
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
473
-    console.log("风险", this.precaution_arr);
473
+    // console.log("风险", this.precaution_arr);
474 474
     this.intake_arr = getDataConfig("hemodialysis", "intake");
475 475
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
476 476
   }

+ 55 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue ファイルの表示

@@ -1207,7 +1207,32 @@ export default {
1207 1207
         "hemodialysis",
1208 1208
         "dialysate_formulation"
1209 1209
       );
1210
-      this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1210
+      // this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1211
+      // console.log("0000000000", this.anticoagulantsConfit);
1212
+      var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit;
1213
+      console.log("333", anticoagulantsConfitOne);
1214
+      for (let i = 0; i < anticoagulantsConfitOne.length; i++) {
1215
+        console.log("anticoagulantsConfitOne", anticoagulantsConfitOne[i].name);
1216
+      }
1217
+      var anticoagulantsConfit = getDataConfig("hemodialysis", "anticoagulant");
1218
+      let arr = [];
1219
+      anticoagulantsConfit.map((item, index) => {
1220
+        let objChild = { ...item };
1221
+        arr.push(objChild);
1222
+      });
1223
+      var arrthree = {};
1224
+      arrthree = { ...arr };
1225
+      console.log("arrthree", arrthree);
1226
+      let arrFour = [];
1227
+      Object.keys(anticoagulantsConfitOne).map((item, index) => {
1228
+        Object.keys(arrthree).map((it, i) => {
1229
+          if (anticoagulantsConfitOne[item].name == arrthree[it].name) {
1230
+            arrFour.push(anticoagulantsConfitOne[item]);
1231
+          }
1232
+        });
1233
+      });
1234
+      console.log("arrFour", arrFour);
1235
+      this.anticoagulantsConfit = arrFour;
1211 1236
       this.dialysisList = this.devices;
1212 1237
 
1213 1238
       this.body_fluid_option = this.$store.getters.body_fluid;
@@ -1218,6 +1243,7 @@ export default {
1218 1243
         "hemodialysis",
1219 1244
         "vascular_access_desc"
1220 1245
       );
1246
+      console.log("血管通路", this.blood_access_option);
1221 1247
       var date = this.$route.query && this.$route.query.date;
1222 1248
       this.record_date = uParseTime(date, "{y}-{m}-{d}");
1223 1249
 
@@ -1262,7 +1288,6 @@ export default {
1262 1288
       } else {
1263 1289
         this.dialysisPrescription.mode_id = schedual.mode_id;
1264 1290
       }
1265
-
1266 1291
       var thismode = parseInt(this.dialysisPrescription.anticoagulant);
1267 1292
       if (isNaN(thismode) || thismode <= 0) {
1268 1293
         return false;
@@ -1542,6 +1567,9 @@ export default {
1542 1567
       return uParseTime(val, "{y}-{m}-{d} {h}:{i}");
1543 1568
     },
1544 1569
     show(pre) {
1570
+      if (pre.anticoagulant == 3) {
1571
+        this.dialysisPrescription.anticoagulant = "低分子肝素";
1572
+      }
1545 1573
       this.pre = pre;
1546 1574
       console.log("pre1", pre);
1547 1575
       this.getPermission();
@@ -1579,19 +1607,35 @@ export default {
1579 1607
       this.isVisibility = false;
1580 1608
     },
1581 1609
     changeThisAnticoagulant: function(val) {
1582
-      var thismode = parseInt(val);
1610
+      // console.log("val", val);
1611
+      //debugger;
1612
+      // var thismode = parseInt(val);
1613
+      var thismode = val;
1583 1614
       if (isNaN(thismode) || thismode <= 0) {
1584 1615
         return false;
1585 1616
       }
1586
-      if (
1587
-        typeof this.anticoagulantsConfit[thismode] === "undefined" ||
1588
-        this.anticoagulantsConfit[thismode] == null
1589
-      ) {
1590
-        return false;
1617
+
1618
+      //if (
1619
+      // typeof this.anticoagulantsConfit[thismode] === "undefined" ||
1620
+      //  this.anticoagulantsConfit[thismode] == null
1621
+      // ) {
1622
+      //   return false;
1623
+      // }
1624
+
1625
+      if (val < 2) {
1626
+        this.anticoagulant = this.anticoagulantsConfit[thismode - 1];
1591 1627
       }
1592
-      this.anticoagulant = this.anticoagulantsConfit[thismode];
1628
+      if (val > 2) {
1629
+        this.anticoagulant = this.anticoagulantsConfit[thismode - 2];
1630
+      }
1631
+
1632
+      //console.log("fffff", this.anticoagulant);
1593 1633
     },
1594 1634
     handleCommit: function() {
1635
+      console.log("aaaa----", this.dialysisPrescription.anticoagulant);
1636
+      if (this.dialysisPrescription.anticoagulant == "低分子肝素") {
1637
+        this.dialysisPrescription.anticoagulant = 3;
1638
+      }
1595 1639
       if (this.dialysisPrescription.anticoagulant == 1) {
1596 1640
         this.dialysisPrescription.anticoagulant_weichi = "0";
1597 1641
         this.dialysisPrescription.anticoagulant_shouji = "0";
@@ -1768,7 +1812,7 @@ export default {
1768 1812
             const ParamsQuery = this.dialysisPrescription;
1769 1813
             ParamsQuery["patient"] = this.patient.id;
1770 1814
             ParamsQuery["record_date"] = this.record_date;
1771
-            console.log(this.prescription);
1815
+            // console.log(this.prescription);
1772 1816
 
1773 1817
             if (this.prescription.creater <= 0) {
1774 1818
               mode = 1;
@@ -1789,6 +1833,7 @@ export default {
1789 1833
                 });
1790 1834
 
1791 1835
                 const prescription_resp = response.data.data.prescription;
1836
+                // console.log("aaaaaaa", prescription_resp);
1792 1837
                 var prescription = this.prescription;
1793 1838
                 for (var index in prescription_resp) {
1794 1839
                   // prescription[index] = prescription_resp[index];

+ 7 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue ファイルの表示

@@ -19,11 +19,11 @@
19 19
             }}</span>
20 20
           </td>
21 21
           <td style="text-align:center;">
22
-            性别:
23
-            <span style="display:inline-block;margin-left:10px;">{{
22
+          性别:
23
+          <span style="display:inline-block;margin-left:10px;">{{
24 24
               patientInfo.gender
25 25
             }}</span>
26
-          </td>
26
+        </td>
27 27
           <td style="text-align:center;">
28 28
             年龄:
29 29
             <span style="display:inline-block;margin-left:10px;">{{
@@ -768,9 +768,9 @@
768 768
               "
769 769
             ></label-box>
770 770
             <label-box
771
-              showValue="加强宣"
771
+              showValue="加强宣"
772 772
               :isChecked="
773
-                receiverTreatmentAccess.precaution.indexOf('加强宣') > -1
773
+                receiverTreatmentAccess.precaution.indexOf('加强宣') > -1
774 774
                   ? true
775 775
                   : false
776 776
               "
@@ -839,8 +839,8 @@
839 839
           <td>{{ monitor.sodium_concentration }}</td>
840 840
           <td>
841 841
             <span style="line-height:18px;display:block;"
842
-              >{{ monitor.symptom }} &nbsp;{{ monitor.result }}&nbsp;{{
843
-                monitor.dispose
842
+              >{{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
843
+                monitor.result
844 844
               }}</span
845 845
             >
846 846
           </td>

+ 3 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue ファイルの表示

@@ -1977,13 +1977,9 @@
1977 1977
             <td width="30">医生</td>
1978 1978
             <td width="80">
1979 1979
               <div class="under-line">
1980
-                &nbsp;
1981
-                <span v-if="doctorForm.url === ''">{{
1982
-                  doctorForm.doctor
1983
-                }}</span>
1984
-                <span v-if="doctorForm.url !== ''">
1985
-                  <img style="height:20px" :src="doctorForm.url" />
1986
-                </span>
1980
+                &nbsp
1981
+                <span v-if=" setAdminUserES(prescription.creater) == '' " >{{ getAdminUser(prescription.creater)}}</span >
1982
+                <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
1987 1983
               </div>
1988 1984
             </td>
1989 1985
             <td width="50">治疗护士</td>

File diff suppressed because it is too large
+ 2425 - 1592
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue


+ 31 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue ファイルの表示

@@ -289,7 +289,14 @@
289 289
                     <span v-if="prescription.anticoagulant == '普通肝素'"
290 290
                       >iu</span
291 291
                     >
292
-                    <span v-if="prescription.anticoagulant == '无肝素'">mg</span
292
+                    <span v-if="prescription.anticoagulant == '无肝素'"
293
+                      >mg</span
294
+                    >
295
+                    <span v-if="prescription.anticoagulant == '低分子肝素钙'"
296
+                      >iu</span
297
+                    >
298
+                    <span v-if="prescription.anticoagulant == '低分子肝素钠'"
299
+                      >iu</span
293 300
                     >&nbsp;
294 301
                   </td>
295 302
                   <td style="text-align:left;margin-left:15px">
@@ -316,6 +323,12 @@
316 323
                     <span v-if="prescription.anticoagulant == '无肝素'"
317 324
                       >mg/h</span
318 325
                     >
326
+                    <span v-if="prescription.anticoagulant == '低分子肝素钙'"
327
+                      >iu/h</span
328
+                    >
329
+                    <span v-if="prescription.anticoagulant == '低分子肝素钠'"
330
+                      >iu/h</span
331
+                    >
319 332
                   </td>
320 333
                   <td style="text-align:left;margin-left:15px">
321 334
                     总量:<span class="under-line"
@@ -337,8 +350,15 @@
337 350
                     <span v-if="prescription.anticoagulant == '普通肝素'"
338 351
                       >iu</span
339 352
                     >
340
-                    <span v-if="prescription.anticoagulant == '无肝素'">mg</span
341
-                    >;
353
+                    <span v-if="prescription.anticoagulant == '无肝素'"
354
+                      >mg</span
355
+                    >
356
+                    <span v-if="prescription.anticoagulant == '低分子肝素钙'"
357
+                      >iu</span
358
+                    >
359
+                    <span v-if="prescription.anticoagulant == '低分子肝素钠'"
360
+                      >iu</span
361
+                    >
342 362
                   </td>
343 363
                 </tr>
344 364
                 <tr>
@@ -403,6 +423,7 @@
403 423
                     </span>
404 424
                   </td>
405 425
                 </tr>
426
+
406 427
               </table>
407 428
             </td>
408 429
           </tr>
@@ -1290,7 +1311,13 @@ export default {
1290 1311
           this.doctorForm.doctor = doctorname.user_name;
1291 1312
           this.doctorForm.url = doctorname.url;
1292 1313
           var prescription = response.data.data.dialysisPrescription;
1293
-          //console.log("透析处方", prescription);
1314
+          console.log("透析处方", prescription);
1315
+          if (prescription.anticoagulant == 6) {
1316
+            prescription.anticoagulant = "低分子肝素钙";
1317
+          }
1318
+          if (prescription.anticoagulant == 7) {
1319
+            prescription.anticoagulant = "低分子肝素钠";
1320
+          }
1294 1321
           if (prescription.blood_access === 1) {
1295 1322
             prescription.blood_access = "正常";
1296 1323
           }

File diff suppressed because it is too large
+ 1085 - 227
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


+ 3 - 7
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue ファイルの表示

@@ -1977,13 +1977,9 @@
1977 1977
             <td width="30">医生</td>
1978 1978
             <td width="80">
1979 1979
               <div class="under-line">
1980
-                &nbsp;
1981
-                <span v-if="doctorForm.url === ''">{{
1982
-                  doctorForm.doctor
1983
-                }}</span>
1984
-                <span v-if="doctorForm.url !== ''">
1985
-                  <img style="height:20px" :src="doctorForm.url" />
1986
-                </span>
1980
+                &nbsp
1981
+                <span v-if=" setAdminUserES(prescription.creater) == '' " >{{ getAdminUser(prescription.creater)}}</span >
1982
+                <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
1987 1983
               </div>
1988 1984
             </td>
1989 1985
             <td width="50">治疗护士</td>

File diff suppressed because it is too large
+ 992 - 643
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue


File diff suppressed because it is too large
+ 1275 - 1033
src/xt_pages/user/dialysisSolution.vue


+ 2 - 1
src/xt_pages/workforce/components/tableWeeks.vue ファイルの表示

@@ -58,7 +58,7 @@
58 58
       </el-table-column>
59 59
       <el-table-column label="透析模式" min-width="100" align="center">
60 60
         <template slot-scope="scope">
61
-          {{ modeOptions[scope.row.mode_id].name }}
61
+          {{scope.row.mode_id && modeOptions[scope.row.mode_id] ? modeOptions[scope.row.mode_id].name:'' }}
62 62
         </template>
63 63
       </el-table-column>
64 64
       <el-table-column label="透析器" min-width="100" align="center">
@@ -318,6 +318,7 @@
318 318
       this.modeOptions = this.$store.getters.treatment_mode
319 319
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
320 320
 
321
+
321 322
       this.week_type = new Date().getDay()
322 323
       if(this.week_type == 0){
323 324
         this.week_type = 7