Przeglądaj źródła

更新龙岗二院需求问题

XMLWAN 5 lat temu
rodzic
commit
eb97854ada

+ 31 - 2
src/store/modules/globalConfig.js Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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;

Plik diff jest za duży
+ 798 - 686
src/xt_pages/data/prescription.vue


+ 72 - 22
src/xt_pages/dialysis/batch_print/batch_print_order.vue Wyświetl plik

@@ -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 Wyświetl plik

@@ -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
 }

Plik diff jest za duży
+ 2444 - 2371
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue


+ 45 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue Wyświetl plik

@@ -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 Wyświetl plik

@@ -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;

+ 10 - 7
src/xt_pages/dialysis/details/assessmentAfter.vue Wyświetl plik

@@ -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 (
@@ -708,7 +711,7 @@ export default {
708 711
       return dialyzerName;
709 712
     },
710 713
     isShow(name) {
711
-      console.log("name", name);
714
+      // console.log("name", name);
712 715
       var filedList = store.getters.xt_user.fileds;
713 716
 
714 717
       for (let i = 0; i < filedList.length; i++) {

+ 13 - 13
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Wyświetl plik

@@ -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
   }

+ 56 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Wyświetl plik

@@ -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("pre", pre);
1547 1575
       this.getPermission();
@@ -1579,19 +1607,36 @@ 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
+      console.log("hhhh", this.anticoagulantsConfit);
1625
+      console.log("oooooo", this.anticoagulantsConfit[5]);
1626
+      if (val < 2) {
1627
+        this.anticoagulant = this.anticoagulantsConfit[thismode - 1];
1591 1628
       }
1592
-      this.anticoagulant = this.anticoagulantsConfit[thismode];
1629
+      if (val > 2) {
1630
+        this.anticoagulant = this.anticoagulantsConfit[thismode - 2];
1631
+      }
1632
+
1633
+      console.log("fffff", this.anticoagulant);
1593 1634
     },
1594 1635
     handleCommit: function() {
1636
+      console.log("aaaa----", this.dialysisPrescription.anticoagulant);
1637
+      if (this.dialysisPrescription.anticoagulant == "低分子肝素") {
1638
+        this.dialysisPrescription.anticoagulant = 3;
1639
+      }
1595 1640
       if (this.dialysisPrescription.anticoagulant == 1) {
1596 1641
         this.dialysisPrescription.anticoagulant_weichi = "0";
1597 1642
         this.dialysisPrescription.anticoagulant_shouji = "0";
@@ -1768,7 +1813,7 @@ export default {
1768 1813
             const ParamsQuery = this.dialysisPrescription;
1769 1814
             ParamsQuery["patient"] = this.patient.id;
1770 1815
             ParamsQuery["record_date"] = this.record_date;
1771
-            console.log(this.prescription);
1816
+            // console.log(this.prescription);
1772 1817
 
1773 1818
             if (this.prescription.creater <= 0) {
1774 1819
               mode = 1;
@@ -1789,6 +1834,7 @@ export default {
1789 1834
                 });
1790 1835
 
1791 1836
                 const prescription_resp = response.data.data.prescription;
1837
+                // console.log("aaaaaaa", prescription_resp);
1792 1838
                 var prescription = this.prescription;
1793 1839
                 for (var index in prescription_resp) {
1794 1840
                   // prescription[index] = prescription_resp[index];

+ 7 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Wyświetl plik

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

+ 97 - 62
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Wyświetl plik

@@ -753,12 +753,30 @@
753 753
                   <tr>
754 754
                     <td width="40">肝素:</td>
755 755
                     <td width="75">
756
-                      <label-box
757
-                        :isChecked="
758
-                          prescription.anticoagulant == 3 ? true : false
759
-                        "
760
-                        showValue="低分子:"
761
-                      ></label-box>
756
+                      <span v-if="prescription.anticoagulant == 3">
757
+                        <label-box
758
+                          :isChecked="
759
+                            prescription.anticoagulant == 3 ? true : false
760
+                          "
761
+                          showValue="低分子:"
762
+                        ></label-box>
763
+                      </span>
764
+                      <span v-if="prescription.anticoagulant == 6">
765
+                        <label-box
766
+                          :isChecked="
767
+                            prescription.anticoagulant == 6 ? true : false
768
+                          "
769
+                          showValue="低分子:"
770
+                        ></label-box>
771
+                      </span>
772
+                      <span v-if="prescription.anticoagulant == 7">
773
+                        <label-box
774
+                          :isChecked="
775
+                            prescription.anticoagulant == 7 ? true : false
776
+                          "
777
+                          showValue="低分子:"
778
+                        ></label-box>
779
+                      </span>
762 780
                     </td>
763 781
 
764 782
                     <td width="60">
@@ -795,9 +813,7 @@
795 813
                     <td width="40">
796 814
                       <div class="under-line">
797 815
                         &nbsp;
798
-                        <span v-if="prescription.anticoagulant == 2">{{
799
-                          prescription.anticoagulant_shouji
800
-                        }}</span>
816
+                        <span>{{ prescription.anticoagulant_shouji }}</span>
801 817
                       </div>
802 818
                     </td>
803 819
                     <td width="20">
@@ -805,6 +821,8 @@
805 821
                       <span v-if="prescription.anticoagulant == 3">iu</span>
806 822
                       <span v-if="prescription.anticoagulant == 2">iu</span>
807 823
                       <span v-if="prescription.anticoagulant == 1">mg</span>
824
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
825
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
808 826
                     </td>
809 827
                     <td width="10"></td>
810 828
                     <td width="35">追加</td>
@@ -824,6 +842,8 @@
824 842
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
825 843
                       <span v-if="prescription.anticoagulant == 2">iu/h</span>
826 844
                       <span v-if="prescription.anticoagulant == 1">mg/h</span>
845
+                      <span v-if="prescription.anticoagulant == 6">iu/h</span>
846
+                      <span v-if="prescription.anticoagulant == 7">iu/h</span>
827 847
                     </td>
828 848
 
829 849
                     <td width="35">总量:</td>
@@ -841,6 +861,8 @@
841 861
                       <span v-if="prescription.anticoagulant == 3">iu</span>
842 862
                       <span v-if="prescription.anticoagulant == 2">iu</span>
843 863
                       <span v-if="prescription.anticoagulant == 1">mg</span>
864
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
865
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
844 866
                     </td>
845 867
                     <td width="40"></td>
846 868
                   </tr>
@@ -1383,7 +1405,7 @@
1383 1405
                   </tr> -->
1384 1406
                   <tr>
1385 1407
                     <td width="70">拔针压迫:</td>
1386
-                    <td width="300">
1408
+                    <td width="350">
1387 1409
                       <div style="display:flex;justify-content:space-between;">
1388 1410
                         <label-box
1389 1411
                           showValue="自己压迫"
@@ -1405,6 +1427,12 @@
1405 1427
                             afterdialysis.hemostasis_opera == 1 ? true : false
1406 1428
                           "
1407 1429
                         ></label-box>
1430
+                        <label-box
1431
+                          showValue="内瘘止血带"
1432
+                          :isChecked="
1433
+                            afterdialysis.hemostasis_opera == 4 ? true : false
1434
+                          "
1435
+                        ></label-box>
1408 1436
                       </div>
1409 1437
                     </td>
1410 1438
                     <td width="50"></td>
@@ -1413,19 +1441,30 @@
1413 1441
                       <div style="display:flex;justify-content:space-between;">
1414 1442
                         <label-box
1415 1443
                           :isChecked="
1416
-                           afterdialysis.internal_fistula.indexOf('震颤-存在')>-1?true:false
1444
+                            afterdialysis.internal_fistula.indexOf(
1445
+                              '震颤-存在'
1446
+                            ) > -1
1447
+                              ? true
1448
+                              : false
1417 1449
                           "
1418 1450
                           showValue="存在"
1419 1451
                         ></label-box>
1420 1452
                         <label-box
1421 1453
                           :isChecked="
1422
-                            afterdialysis.internal_fistula.indexOf('震颤-减弱')>-1? true : false
1454
+                            afterdialysis.internal_fistula.indexOf(
1455
+                              '震颤-减弱'
1456
+                            ) > -1
1457
+                              ? true
1458
+                              : false
1423 1459
                           "
1424 1460
                           showValue="减弱"
1425 1461
                         ></label-box>
1426 1462
                         <label-box
1427 1463
                           :isChecked="
1428
-                             afterdialysis.internal_fistula.indexOf('震颤-无')>-1 ? true : false
1464
+                            afterdialysis.internal_fistula.indexOf('震颤-无') >
1465
+                            -1
1466
+                              ? true
1467
+                              : false
1429 1468
                           "
1430 1469
                           showValue="不存在"
1431 1470
                         ></label-box>
@@ -1488,20 +1527,18 @@
1488 1527
                     <td width="40">肝素:</td>
1489 1528
                     <td width="30">A端</td>
1490 1529
                     <td width="30">
1491
-                      <div class="under-line">&nbsp;{{
1492
-                        afterdialysis.cvc_a
1493
-                        ? afterdialysis.cvc_a
1494
-                        : ""
1495
-                        }}</div>
1530
+                      <div class="under-line">
1531
+                        &nbsp;{{
1532
+                          afterdialysis.cvc_a ? afterdialysis.cvc_a : ""
1533
+                        }}
1534
+                      </div>
1496 1535
                     </td>
1497 1536
                     <td width="20">ml</td>
1498 1537
                     <td width="30">V端</td>
1499 1538
                     <td width="30">
1500
-                      <div class="under-line">{{
1501
-                        afterdialysis.cvc_v
1502
-                        ? afterdialysis.cvc_v
1503
-                        : ""
1504
-                        }}</div>
1539
+                      <div class="under-line">
1540
+                        {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "" }}
1541
+                      </div>
1505 1542
                     </td>
1506 1543
                     <td width="20">ml</td>
1507 1544
                     <td></td>
@@ -1525,8 +1562,7 @@
1525 1562
                         ></label-box>
1526 1563
                         <label-box
1527 1564
                           :isChecked="
1528
-                            afterdialysis.complication.indexOf('头晕') >
1529
-                            -1
1565
+                            afterdialysis.complication.indexOf('头晕') > -1
1530 1566
                               ? true
1531 1567
                               : false
1532 1568
                           "
@@ -1534,8 +1570,7 @@
1534 1570
                         ></label-box>
1535 1571
                         <label-box
1536 1572
                           :isChecked="
1537
-                            afterdialysis.complication.indexOf('头痛') >
1538
-                            -1
1573
+                            afterdialysis.complication.indexOf('头痛') > -1
1539 1574
                               ? true
1540 1575
                               : false
1541 1576
                           "
@@ -1543,8 +1578,7 @@
1543 1578
                         ></label-box>
1544 1579
                         <label-box
1545 1580
                           :isChecked="
1546
-                            afterdialysis.complication.indexOf('呕吐') >
1547
-                            -1
1581
+                            afterdialysis.complication.indexOf('呕吐') > -1
1548 1582
                               ? true
1549 1583
                               : false
1550 1584
                           "
@@ -1552,9 +1586,7 @@
1552 1586
                         ></label-box>
1553 1587
                         <label-box
1554 1588
                           :isChecked="
1555
-                            afterdialysis.complication.indexOf(
1556
-                              '低血压'
1557
-                            ) > -1
1589
+                            afterdialysis.complication.indexOf('低血压') > -1
1558 1590
                               ? true
1559 1591
                               : false
1560 1592
                           "
@@ -1563,8 +1595,7 @@
1563 1595
                         <label-box showValue="发热"></label-box>
1564 1596
                         <label-box
1565 1597
                           :isChecked="
1566
-                            afterdialysis.complication.indexOf('抽搐') >
1567
-                            -1
1598
+                            afterdialysis.complication.indexOf('抽搐') > -1
1568 1599
                               ? true
1569 1600
                               : false
1570 1601
                           "
@@ -1572,9 +1603,7 @@
1572 1603
                         ></label-box>
1573 1604
                         <label-box
1574 1605
                           :isChecked="
1575
-                            afterdialysis.complication.indexOf(
1576
-                              '高血压'
1577
-                            ) > -1
1606
+                            afterdialysis.complication.indexOf('高血压') > -1
1578 1607
                               ? true
1579 1608
                               : false
1580 1609
                           "
@@ -1582,9 +1611,7 @@
1582 1611
                         ></label-box>
1583 1612
                         <label-box
1584 1613
                           :isChecked="
1585
-                            afterdialysis.complication.indexOf(
1586
-                              '心律失常'
1587
-                            ) > -1
1614
+                            afterdialysis.complication.indexOf('心律失常') > -1
1588 1615
                               ? true
1589 1616
                               : false
1590 1617
                           "
@@ -1639,48 +1666,56 @@
1639 1666
                       <div style="display:flex;justify-content:space-between;">
1640 1667
                         <label-box
1641 1668
                           :isChecked="
1642
-                            afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false
1669
+                            afterdialysis.cruor.indexOf('透析器-0度') > -1
1670
+                              ? true
1671
+                              : false
1643 1672
                           "
1644 1673
                           showValue="无"
1645 1674
                         ></label-box>
1646 1675
                         <label-box
1647 1676
                           :isChecked="
1648
-                             afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false
1677
+                            afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1
1678
+                              ? true
1679
+                              : false
1649 1680
                           "
1650 1681
                           showValue="+"
1651 1682
                         ></label-box>
1652 1683
                         <label-box
1653 1684
                           :isChecked="
1654
-                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') >  -1 ? true : false
1685
+                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1
1686
+                              ? true
1687
+                              : false
1655 1688
                           "
1656 1689
                           showValue="+ +"
1657 1690
                         ></label-box>
1658 1691
                         <label-box
1659 1692
                           :isChecked="
1660
-                            afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1  ? true : false
1693
+                            afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1
1694
+                              ? true
1695
+                              : false
1661 1696
                           "
1662 1697
                           showValue="+ + +"
1663 1698
                         ></label-box>
1664 1699
                       </div>
1665 1700
                     </td>
1666
-                    <td width="80"></td>
1667
-                    <td width="60">管路:</td>
1668
-                    <td width="220">
1669
-                      <div style="display:flex;justify-content:space-between;">
1670
-                        <label-box showValue="无" :isChecked="
1671
-                            afterdialysis.channel == 1 ? true : false
1672
-                          "></label-box>
1673
-                        <label-box showValue="+" :isChecked="
1674
-                            afterdialysis.channel == 2 ? true : false
1675
-                          "></label-box>
1676
-                        <label-box showValue="+ +" :isChecked="
1677
-                            afterdialysis.channel == 3  ? true : false
1678
-                          "></label-box>
1679
-                        <label-box showValue="+ + +" :isChecked="
1680
-                            afterdialysis.channel == 4 ? true : false
1681
-                          "></label-box>
1682
-                      </div>
1683
-                    </td>
1701
+                    <!--<td width="80"></td>-->
1702
+                    <!--<td width="60">管路:</td>-->
1703
+                    <!--<td width="220">-->
1704
+                    <!--<div style="display:flex;justify-content:space-between;">-->
1705
+                    <!--<label-box showValue="无" :isChecked="-->
1706
+                    <!--afterdialysis.channel == 1 ? true : false-->
1707
+                    <!--"></label-box>-->
1708
+                    <!--<label-box showValue="+" :isChecked="-->
1709
+                    <!--afterdialysis.channel == 2 ? true : false-->
1710
+                    <!--"></label-box>-->
1711
+                    <!--<label-box showValue="+ +" :isChecked="-->
1712
+                    <!--afterdialysis.channel == 3  ? true : false-->
1713
+                    <!--"></label-box>-->
1714
+                    <!--<label-box showValue="+ + +" :isChecked="-->
1715
+                    <!--afterdialysis.channel == 4 ? true : false-->
1716
+                    <!--"></label-box>-->
1717
+                    <!--</div>-->
1718
+                    <!--</td>-->
1684 1719
                     <td></td>
1685 1720
                   </tr>
1686 1721
                 </tbody>

Plik diff jest za duży
+ 2425 - 1592
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue


+ 31 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Wyświetl plik

@@ -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
           }

Plik diff jest za duży
+ 1456 - 506
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


Plik diff jest za duży
+ 1275 - 1033
src/xt_pages/user/dialysisSolution.vue