Browse Source

Merge branch '20200710_pc_vue_new_branch' into 20200916_pc_vue_new_branch

csx 4 years ago
parent
commit
4dc693a2be

+ 1 - 2
src/lang/zh.js View File

225
     signIndex:'签到排队',
225
     signIndex:'签到排队',
226
     signIn:'签到窗口',
226
     signIn:'签到窗口',
227
     lineUp:'排队窗口',
227
     lineUp:'排队窗口',
228
-    otherManagement:'其他管理',
229
     calling:'排队叫号',
228
     calling:'排队叫号',
230
     bedManagement:'床位管理',
229
     bedManagement:'床位管理',
231
     dictionaryManagement:'字典管理',
230
     dictionaryManagement:'字典管理',
235
   },
234
   },
236
   navbar: {
235
   navbar: {
237
     logOut: '退出登录',
236
     logOut: '退出登录',
238
-    dashboard: '首页',
237
+    dashboard: '透析首页',
239
     github: '项目地址',
238
     github: '项目地址',
240
     screenfull: '全屏',
239
     screenfull: '全屏',
241
     theme: '换肤'
240
     theme: '换肤'

+ 251 - 251
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

19
         ref="dialysisPrescription"
19
         ref="dialysisPrescription"
20
         :model="dialysisPrescription"
20
         :model="dialysisPrescription"
21
         label-width="148px"
21
         label-width="148px"
22
-      > 
22
+      >
23
         <el-row :gutter="24">
23
         <el-row :gutter="24">
24
           <el-col :span="8" v-if="isShows('透析模式')">
24
           <el-col :span="8" v-if="isShows('透析模式')">
25
             <el-form-item label="透析模式">
25
             <el-form-item label="透析模式">
219
             </el-form-item>
219
             </el-form-item>
220
           </el-col>
220
           </el-col>
221
 
221
 
222
-          
223
 
222
 
224
-       
223
+
224
+
225
 
225
 
226
           <el-col :span="8" v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id == 20)"
226
           <el-col :span="8" v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id == 20)"
227
                   v-show="zhiShow">
227
                   v-show="zhiShow">
519
           <!--          </el-col>-->
519
           <!--          </el-col>-->
520
 
520
 
521
           <!--透析耗材-->
521
           <!--透析耗材-->
522
-          <el-col
523
-            :span="8"
524
-            v-if="isShows('血液透析干粉') && config.is_open == 1"
525
-          >
526
-            <el-form-item label="血液透析干粉:">
527
-              <el-select
528
-                v-model="dialysisPrescription.niprocart"
529
-                placeholder="请选择"
530
-              >
531
-                <el-option :key="0" label="请选择" :value="0"></el-option>
532
-                <el-option
533
-                  v-for="(option, index) in niprocart_info"
534
-                  :key="index + 'p'"
535
-                  :label="option.GoodInfo.specification_name"
536
-                  :value="option.GoodInfo.id"
537
-                ></el-option>
538
-              </el-select>
539
-            </el-form-item>
540
-          </el-col>
541
-
542
-          <el-col
543
-            :span="8"
544
-            v-if="isShows('一次性使用动静脉穿刺针') && config.is_open == 1"
545
-          >
546
-            <el-form-item label="一次性使用动静脉穿刺针:">
547
-              <el-select
548
-                v-model="dialysisPrescription.jms"
549
-                placeholder="请选择"
550
-              >
551
-                <el-option :key="0" label="请选择" :value="0"></el-option>
552
-
553
-                <el-option
554
-                  v-for="(option, index) in jms_info"
555
-                  :key="index + 'a'"
556
-                  :label="option.GoodInfo.specification_name"
557
-                  :value="option.GoodInfo.id"
558
-                ></el-option>
559
-              </el-select>
560
-            </el-form-item>
561
-          </el-col>
562
-
563
-          <el-col
564
-            :span="8"
565
-            v-if="isShows('内瘘管翼状针') && config.is_open == 1"
566
-          >
567
-            <el-form-item label="内瘘管翼状针:">
568
-              <el-select
569
-                v-model="dialysisPrescription.fistula_needle_set"
570
-                placeholder="请选择"
571
-              >
572
-                <el-option :key="0" label="请选择" :value="0"></el-option>
573
-
574
-                <el-option
575
-                  v-for="(option, index) in fistula_needle_set_info"
576
-                  :key="index + 's'"
577
-                  :label="option.GoodInfo.specification_name"
578
-                  :value="option.GoodInfo.id"
579
-                ></el-option>
580
-              </el-select>
581
-            </el-form-item>
582
-          </el-col>
583
-
584
-          <el-col
585
-            :span="8"
586
-            v-if="isShows('内瘘管翼状针16G') && config.is_open == 1"
587
-          >
588
-            <el-form-item label="内瘘管翼状针16G:">
589
-              <el-select
590
-                v-model="dialysisPrescription.fistula_needle_set_16"
591
-                placeholder="请选择"
592
-              >
593
-                <el-option :key="0" label="请选择" :value="0"></el-option>
594
-
595
-                <el-option
596
-                  v-for="(option, index) in fistula_needle_set_16_info"
597
-                  :key="index + 'd'"
598
-                  :label="option.GoodInfo.specification_name"
599
-                  :value="option.GoodInfo.id"
600
-                ></el-option>
601
-              </el-select>
602
-            </el-form-item>
603
-          </el-col>
604
-
605
-          <el-col
606
-            :span="8"
607
-            v-if="isShows('一次性使用血液灌流器') && config.is_open == 1"
608
-          >
609
-            <el-form-item label="一次性使用血液灌流器:">
610
-              <el-select
611
-                v-model="dialysisPrescription.hemoperfusion"
612
-                placeholder="请选择"
613
-              >
614
-                <el-option :key="0" label="请选择" :value="0"></el-option>
615
-
616
-                <el-option
617
-                  v-for="(option, index) in hemoperfusion_info"
618
-                  :key="index + 'f'"
619
-                  :label="option.GoodInfo.specification_name"
620
-                  :value="option.GoodInfo.id"
621
-                ></el-option>
622
-              </el-select>
623
-            </el-form-item>
624
-          </el-col>
522
+          <!--<el-col-->
523
+            <!--:span="8"-->
524
+            <!--v-if="isShows('血液透析干粉') && config.is_open == 1"-->
525
+          <!--&gt;-->
526
+            <!--<el-form-item label="血液透析干粉:">-->
527
+              <!--<el-select-->
528
+                <!--v-model="dialysisPrescription.niprocart"-->
529
+                <!--placeholder="请选择"-->
530
+              <!--&gt;-->
531
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
532
+                <!--<el-option-->
533
+                  <!--v-for="(option, index) in niprocart_info"-->
534
+                  <!--:key="index + 'p'"-->
535
+                  <!--:label="option.GoodInfo.specification_name"-->
536
+                  <!--:value="option.GoodInfo.id"-->
537
+                <!--&gt;</el-option>-->
538
+              <!--</el-select>-->
539
+            <!--</el-form-item>-->
540
+          <!--</el-col>-->
541
+
542
+          <!--<el-col-->
543
+            <!--:span="8"-->
544
+            <!--v-if="isShows('一次性使用动静脉穿刺针') && config.is_open == 1"-->
545
+          <!--&gt;-->
546
+            <!--<el-form-item label="一次性使用动静脉穿刺针:">-->
547
+              <!--<el-select-->
548
+                <!--v-model="dialysisPrescription.jms"-->
549
+                <!--placeholder="请选择"-->
550
+              <!--&gt;-->
551
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
625
 
552
 
626
-          <el-col
627
-            :span="8"
628
-            v-if="isShows('空心纤维血液透析器') && config.is_open == 1"
629
-          >
630
-            <el-form-item label="空心纤维血液透析器:">
631
-              <el-select
632
-                v-model="dialysisPrescription.dialyser_sterilised"
633
-                placeholder="请选择"
634
-              >
635
-                <el-option :key="0" label="请选择" :value="0"></el-option>
553
+                <!--<el-option-->
554
+                  <!--v-for="(option, index) in jms_info"-->
555
+                  <!--:key="index + 'a'"-->
556
+                  <!--:label="option.GoodInfo.specification_name"-->
557
+                  <!--:value="option.GoodInfo.id"-->
558
+                <!--&gt;</el-option>-->
559
+              <!--</el-select>-->
560
+            <!--</el-form-item>-->
561
+          <!--</el-col>-->
562
+
563
+          <!--<el-col-->
564
+            <!--:span="8"-->
565
+            <!--v-if="isShows('内瘘管翼状针') && config.is_open == 1"-->
566
+          <!--&gt;-->
567
+            <!--<el-form-item label="内瘘管翼状针:">-->
568
+              <!--<el-select-->
569
+                <!--v-model="dialysisPrescription.fistula_needle_set"-->
570
+                <!--placeholder="请选择"-->
571
+              <!--&gt;-->
572
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
636
 
573
 
637
-                <el-option
638
-                  v-for="(option, index) in dialyser_sterilised_info"
639
-                  :key="index + 'g'"
640
-                  :label="option.GoodInfo.specification_name"
641
-                  :value="option.GoodInfo.id"
642
-                ></el-option>
643
-              </el-select>
644
-            </el-form-item>
645
-          </el-col>
574
+                <!--<el-option-->
575
+                  <!--v-for="(option, index) in fistula_needle_set_info"-->
576
+                  <!--:key="index + 's'"-->
577
+                  <!--:label="option.GoodInfo.specification_name"-->
578
+                  <!--:value="option.GoodInfo.id"-->
579
+                <!--&gt;</el-option>-->
580
+              <!--</el-select>-->
581
+            <!--</el-form-item>-->
582
+          <!--</el-col>-->
583
+
584
+          <!--<el-col-->
585
+            <!--:span="8"-->
586
+            <!--v-if="isShows('内瘘管翼状针16G') && config.is_open == 1"-->
587
+          <!--&gt;-->
588
+            <!--<el-form-item label="内瘘管翼状针16G:">-->
589
+              <!--<el-select-->
590
+                <!--v-model="dialysisPrescription.fistula_needle_set_16"-->
591
+                <!--placeholder="请选择"-->
592
+              <!--&gt;-->
593
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
646
 
594
 
647
-          <el-col
648
-            :span="8"
649
-            v-if="isShows('中空纤维透析器') && config.is_open == 1"
650
-          >
651
-            <el-form-item label="中空纤维透析器:">
652
-              <el-select
653
-                v-model="dialysisPrescription.filtryzer"
654
-                placeholder="请选择"
655
-              >
656
-                <el-option :key="0" label="请选择" :value="0"></el-option>
595
+                <!--<el-option-->
596
+                  <!--v-for="(option, index) in fistula_needle_set_16_info"-->
597
+                  <!--:key="index + 'd'"-->
598
+                  <!--:label="option.GoodInfo.specification_name"-->
599
+                  <!--:value="option.GoodInfo.id"-->
600
+                <!--&gt;</el-option>-->
601
+              <!--</el-select>-->
602
+            <!--</el-form-item>-->
603
+          <!--</el-col>-->
604
+
605
+          <!--<el-col-->
606
+            <!--:span="8"-->
607
+            <!--v-if="isShows('一次性使用血液灌流器') && config.is_open == 1"-->
608
+          <!--&gt;-->
609
+            <!--<el-form-item label="一次性使用血液灌流器:">-->
610
+              <!--<el-select-->
611
+                <!--v-model="dialysisPrescription.hemoperfusion"-->
612
+                <!--placeholder="请选择"-->
613
+              <!--&gt;-->
614
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
657
 
615
 
658
-                <el-option
659
-                  v-for="(option, index) in filtryzer_info"
660
-                  :key="index + 'h'"
661
-                  :label="option.GoodInfo.specification_name"
662
-                  :value="option.GoodInfo.id"
663
-                ></el-option>
664
-              </el-select>
665
-            </el-form-item>
666
-          </el-col>
616
+                <!--<el-option-->
617
+                  <!--v-for="(option, index) in hemoperfusion_info"-->
618
+                  <!--:key="index + 'f'"-->
619
+                  <!--:label="option.GoodInfo.specification_name"-->
620
+                  <!--:value="option.GoodInfo.id"-->
621
+                <!--&gt;</el-option>-->
622
+              <!--</el-select>-->
623
+            <!--</el-form-item>-->
624
+          <!--</el-col>-->
625
+
626
+          <!--<el-col-->
627
+            <!--:span="8"-->
628
+            <!--v-if="isShows('空心纤维血液透析器') && config.is_open == 1"-->
629
+          <!--&gt;-->
630
+            <!--<el-form-item label="空心纤维血液透析器:">-->
631
+              <!--<el-select-->
632
+                <!--v-model="dialysisPrescription.dialyser_sterilised"-->
633
+                <!--placeholder="请选择"-->
634
+              <!--&gt;-->
635
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
667
 
636
 
668
-          <el-col :span="8" v-if="isShows('透析器') && config.is_open == 1">
669
-            <el-form-item label="透析器:">
670
-              <el-select
671
-                v-model="dialysisPrescription.dialyzers"
672
-                placeholder="请选择"
673
-              >
674
-                <el-option :key="0" label="请选择" :value="0"></el-option>
637
+                <!--<el-option-->
638
+                  <!--v-for="(option, index) in dialyser_sterilised_info"-->
639
+                  <!--:key="index + 'g'"-->
640
+                  <!--:label="option.GoodInfo.specification_name"-->
641
+                  <!--:value="option.GoodInfo.id"-->
642
+                <!--&gt;</el-option>-->
643
+              <!--</el-select>-->
644
+            <!--</el-form-item>-->
645
+          <!--</el-col>-->
646
+
647
+          <!--<el-col-->
648
+            <!--:span="8"-->
649
+            <!--v-if="isShows('中空纤维透析器') && config.is_open == 1"-->
650
+          <!--&gt;-->
651
+            <!--<el-form-item label="中空纤维透析器:">-->
652
+              <!--<el-select-->
653
+                <!--v-model="dialysisPrescription.filtryzer"-->
654
+                <!--placeholder="请选择"-->
655
+              <!--&gt;-->
656
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
675
 
657
 
676
-                <el-option
677
-                  v-for="(option, index) in dialyzers_info"
678
-                  :key="index + 1"
679
-                  :label="option.GoodInfo.specification_name"
680
-                  :value="option.GoodInfo.id"
681
-                ></el-option>
682
-              </el-select>
683
-            </el-form-item>
684
-          </el-col>
658
+                <!--<el-option-->
659
+                  <!--v-for="(option, index) in filtryzer_info"-->
660
+                  <!--:key="index + 'h'"-->
661
+                  <!--:label="option.GoodInfo.specification_name"-->
662
+                  <!--:value="option.GoodInfo.id"-->
663
+                <!--&gt;</el-option>-->
664
+              <!--</el-select>-->
665
+            <!--</el-form-item>-->
666
+          <!--</el-col>-->
685
 
667
 
686
-          <el-col :span="8" v-if="isShows('注射器') && config.is_open == 1">
687
-            <el-form-item label="注射器:">
688
-              <el-select
689
-                v-model="dialysisPrescription.injector"
690
-                placeholder="请选择"
691
-              >
692
-                <el-option :key="0" label="请选择" :value="0"></el-option>
668
+          <!--<el-col :span="8" v-if="isShows('透析器') && config.is_open == 1">-->
669
+            <!--<el-form-item label="透析器:">-->
670
+              <!--<el-select-->
671
+                <!--v-model="dialysisPrescription.dialyzers"-->
672
+                <!--placeholder="请选择"-->
673
+              <!--&gt;-->
674
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
693
 
675
 
694
-                <el-option
695
-                  v-for="(option, index) in injector_info"
696
-                  :key="index + 'j'"
697
-                  :label="option.GoodInfo.specification_name"
698
-                  :value="option.GoodInfo.id"
699
-                ></el-option>
700
-              </el-select>
701
-            </el-form-item>
702
-          </el-col>
676
+                <!--<el-option-->
677
+                  <!--v-for="(option, index) in dialyzers_info"-->
678
+                  <!--:key="index + 1"-->
679
+                  <!--:label="option.GoodInfo.specification_name"-->
680
+                  <!--:value="option.GoodInfo.id"-->
681
+                <!--&gt;</el-option>-->
682
+              <!--</el-select>-->
683
+            <!--</el-form-item>-->
684
+          <!--</el-col>-->
703
 
685
 
704
-          <el-col
705
-            :span="8"
706
-            v-if="isShows('体外循环血路管') && config.is_open == 1"
707
-          >
708
-            <el-form-item label="体外循环血路管:">
709
-              <el-select
710
-                v-model="dialysisPrescription.bloodlines"
711
-                placeholder="请选择"
712
-              >
713
-                <el-option :key="0" label="请选择" :value="0"></el-option>
686
+          <!--<el-col :span="8" v-if="isShows('注射器') && config.is_open == 1">-->
687
+            <!--<el-form-item label="注射器:">-->
688
+              <!--<el-select-->
689
+                <!--v-model="dialysisPrescription.injector"-->
690
+                <!--placeholder="请选择"-->
691
+              <!--&gt;-->
692
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
714
 
693
 
715
-                <el-option
716
-                  v-for="(option, index) in bloodlines_info"
717
-                  :key="index + 'k'"
718
-                  :label="option.GoodInfo.specification_name"
719
-                  :value="option.GoodInfo.id"
720
-                ></el-option>
721
-              </el-select>
722
-            </el-form-item>
723
-          </el-col>
694
+                <!--<el-option-->
695
+                  <!--v-for="(option, index) in injector_info"-->
696
+                  <!--:key="index + 'j'"-->
697
+                  <!--:label="option.GoodInfo.specification_name"-->
698
+                  <!--:value="option.GoodInfo.id"-->
699
+                <!--&gt;</el-option>-->
700
+              <!--</el-select>-->
701
+            <!--</el-form-item>-->
702
+          <!--</el-col>-->
703
+
704
+          <!--<el-col-->
705
+            <!--:span="8"-->
706
+            <!--v-if="isShows('体外循环血路管') && config.is_open == 1"-->
707
+          <!--&gt;-->
708
+            <!--<el-form-item label="体外循环血路管:">-->
709
+              <!--<el-select-->
710
+                <!--v-model="dialysisPrescription.bloodlines"-->
711
+                <!--placeholder="请选择"-->
712
+              <!--&gt;-->
713
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
724
 
714
 
725
-          <el-col
726
-            :span="8"
727
-            v-if="isShows('血液净化补液管路(置换管)') && config.is_open == 1"
728
-          >
729
-            <el-form-item label="血液净化补液管路(置换管):">
730
-              <el-select
731
-                v-model="dialysisPrescription.tubing_hemodialysis"
732
-                placeholder="请选择"
733
-              >
734
-                <el-option :key="0" label="请选择" :value="0"></el-option>
715
+                <!--<el-option-->
716
+                  <!--v-for="(option, index) in bloodlines_info"-->
717
+                  <!--:key="index + 'k'"-->
718
+                  <!--:label="option.GoodInfo.specification_name"-->
719
+                  <!--:value="option.GoodInfo.id"-->
720
+                <!--&gt;</el-option>-->
721
+              <!--</el-select>-->
722
+            <!--</el-form-item>-->
723
+          <!--</el-col>-->
724
+
725
+          <!--<el-col-->
726
+            <!--:span="8"-->
727
+            <!--v-if="isShows('血液净化补液管路(置换管)') && config.is_open == 1"-->
728
+          <!--&gt;-->
729
+            <!--<el-form-item label="血液净化补液管路(置换管):">-->
730
+              <!--<el-select-->
731
+                <!--v-model="dialysisPrescription.tubing_hemodialysis"-->
732
+                <!--placeholder="请选择"-->
733
+              <!--&gt;-->
734
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
735
 
735
 
736
-                <el-option
737
-                  v-for="(option, index) in tubingHemodialysis_info"
738
-                  :key="index + 'x'"
739
-                  :label="option.GoodInfo.specification_name"
740
-                  :value="option.GoodInfo.id"
741
-                ></el-option>
742
-              </el-select>
743
-            </el-form-item>
744
-          </el-col>
736
+                <!--<el-option-->
737
+                  <!--v-for="(option, index) in tubingHemodialysis_info"-->
738
+                  <!--:key="index + 'x'"-->
739
+                  <!--:label="option.GoodInfo.specification_name"-->
740
+                  <!--:value="option.GoodInfo.id"-->
741
+                <!--&gt;</el-option>-->
742
+              <!--</el-select>-->
743
+            <!--</el-form-item>-->
744
+          <!--</el-col>-->
745
 
745
 
746
-          <el-col :span="8" v-if="isShows('护理包') && config.is_open == 1">
747
-            <el-form-item label="护理包:">
748
-              <el-select
749
-                v-model="dialysisPrescription.package"
750
-                placeholder="请选择"
751
-              >
752
-                <el-option :key="0" label="请选择" :value="0"></el-option>
746
+          <!--<el-col :span="8" v-if="isShows('护理包') && config.is_open == 1">-->
747
+            <!--<el-form-item label="护理包:">-->
748
+              <!--<el-select-->
749
+                <!--v-model="dialysisPrescription.package"-->
750
+                <!--placeholder="请选择"-->
751
+              <!--&gt;-->
752
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
753
 
753
 
754
-                <el-option
755
-                  v-for="(option, index) in safe_package_info"
756
-                  :key="index + 'z'"
757
-                  :label="option.GoodInfo.specification_name"
758
-                  :value="option.GoodInfo.id"
759
-                ></el-option>
760
-              </el-select>
761
-            </el-form-item>
762
-          </el-col>
754
+                <!--<el-option-->
755
+                  <!--v-for="(option, index) in safe_package_info"-->
756
+                  <!--:key="index + 'z'"-->
757
+                  <!--:label="option.GoodInfo.specification_name"-->
758
+                  <!--:value="option.GoodInfo.id"-->
759
+                <!--&gt;</el-option>-->
760
+              <!--</el-select>-->
761
+            <!--</el-form-item>-->
762
+          <!--</el-col>-->
763
 
763
 
764
-          <el-col :span="8" v-if="isShows('A液') && config.is_open == 1">
765
-            <el-form-item label="A液:">
766
-              <el-select
767
-                v-model="dialysisPrescription.a_liquid"
768
-                placeholder="请选择"
769
-              >
770
-                <el-option :key="0" label="请选择" :value="0"></el-option>
764
+          <!--<el-col :span="8" v-if="isShows('A液') && config.is_open == 1">-->
765
+            <!--<el-form-item label="A液:">-->
766
+              <!--<el-select-->
767
+                <!--v-model="dialysisPrescription.a_liquid"-->
768
+                <!--placeholder="请选择"-->
769
+              <!--&gt;-->
770
+                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
771
 
771
 
772
-                <el-option
773
-                  v-for="(option, index) in aliquid_info"
774
-                  :key="index + 'c'"
775
-                  :label="option.GoodInfo.specification_name"
776
-                  :value="option.GoodInfo.id"
777
-                ></el-option>
778
-              </el-select>
779
-            </el-form-item>
780
-          </el-col>
772
+                <!--<el-option-->
773
+                  <!--v-for="(option, index) in aliquid_info"-->
774
+                  <!--:key="index + 'c'"-->
775
+                  <!--:label="option.GoodInfo.specification_name"-->
776
+                  <!--:value="option.GoodInfo.id"-->
777
+                <!--&gt;</el-option>-->
778
+              <!--</el-select>-->
779
+            <!--</el-form-item>-->
780
+          <!--</el-col>-->
781
 
781
 
782
 
782
 
783
 
783
 
1369
         }
1369
         }
1370
       },
1370
       },
1371
       setLastRecord: function(schedual,lastAssessmentAfterDislysis,lastPredialysisEvaluation,lastDialysisPrescribe,lastDryWeightDislysis,system_prescribe) {
1371
       setLastRecord: function(schedual,lastAssessmentAfterDislysis,lastPredialysisEvaluation,lastDialysisPrescribe,lastDryWeightDislysis,system_prescribe) {
1372
-        
1373
-       
1372
+
1373
+
1374
         this.treatment_mode = this.$store.getters.treatment_mode
1374
         this.treatment_mode = this.$store.getters.treatment_mode
1375
         console.log("99999",this.treatment_mode)
1375
         console.log("99999",this.treatment_mode)
1376
         this.perfusion_apparatus = getDataConfig(
1376
         this.perfusion_apparatus = getDataConfig(
1462
             }
1462
             }
1463
           }
1463
           }
1464
         } else {
1464
         } else {
1465
-           
1465
+
1466
           if (schedual.mode_id == 2 ||schedual.mode_id == 5 ||schedual.mode_id == 12) {
1466
           if (schedual.mode_id == 2 ||schedual.mode_id == 5 ||schedual.mode_id == 12) {
1467
             this.zhiShow = true
1467
             this.zhiShow = true
1468
             this.huShow = true
1468
             this.huShow = true
3025
                       response.data.data.system_prescription[key]
3025
                       response.data.data.system_prescription[key]
3026
                   }
3026
                   }
3027
                 }
3027
                 }
3028
-                
3028
+
3029
               } else {
3029
               } else {
3030
                 for (const key in this.dialysisPrescription) {
3030
                 for (const key in this.dialysisPrescription) {
3031
                   // 临时处方为空
3031
                   // 临时处方为空
3641
           }
3641
           }
3642
         }
3642
         }
3643
       },
3643
       },
3644
-    
3644
+
3645
     }
3645
     }
3646
   }
3646
   }
3647
 </script>
3647
 </script>

+ 9 - 2
src/xt_pages/index/verify_token.vue View File

14
           // alert('token 验证成功')
14
           // alert('token 验证成功')
15
           // console.log(this.$store.getters.xt_permission.addRouters)
15
           // console.log(this.$store.getters.xt_permission.addRouters)
16
           this.$router.addRoutes(this.$store.getters.xt_permission.addRouters) // 动态添加可访问路由表
16
           this.$router.addRoutes(this.$store.getters.xt_permission.addRouters) // 动态添加可访问路由表
17
-  //        next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 ,set the replace: true so the navigation will not leave a history record
18
-          this.$router.replace({ path: '/dialysis/dialysisrecord' })
17
+  //          next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 ,set the replace: true so the navigation will not leave a history record
18
+          if(this.$store.getters.current_role_urls.includes('/dialysis/dialysisrecord')){
19
+            this.$router.replace({ path: '/dialysis/dialysisrecord' })
20
+
21
+          }else{
22
+            this.$router.replace({ path: '/home' })
23
+
24
+
25
+          }
19
 
26
 
20
         })
27
         })
21
       })
28
       })

+ 6 - 9
src/xt_pages/role/components/AdminRoleInfoForm.vue View File

10
         <el-input v-model="form.name" placeholder="用户姓名"></el-input>
10
         <el-input v-model="form.name" placeholder="用户姓名"></el-input>
11
       </el-form-item>
11
       </el-form-item>
12
 
12
 
13
-      <el-form-item label="角色 : " prop="role" label-width="60px">
13
+      <!--<el-form-item label="角色 : " prop="role_ids" label-width="60px">-->
14
 
14
 
15
-           <el-checkbox-group v-model="form.role">
16
-            <el-checkbox label="子管理员" name="type"></el-checkbox>
17
-            <el-checkbox label="医生" name="type"></el-checkbox>
18
-            <el-checkbox label="护士" name="type"></el-checkbox>
19
-            <el-checkbox label="技师" name="type"></el-checkbox>
20
-            <el-checkbox label="运营" name="type"></el-checkbox>
21
-            <el-checkbox label="库存" name="type"></el-checkbox>
22
-            <el-checkbox label="院长" name="type"></el-checkbox>
15
+        <el-form-item label="角色 : " prop="role_ids">
16
+          <el-checkbox-group v-model="form.role_ids">
17
+            <el-checkbox v-for="( item,index) in roles" :key="index" :label="item.id" :value="item.id">{{item.name}}
18
+            </el-checkbox>
23
           </el-checkbox-group>
19
           </el-checkbox-group>
24
         </el-form-item>
20
         </el-form-item>
25
 
21
 
22
+
26
       <el-form-item label="职称 : ">
23
       <el-form-item label="职称 : ">
27
         <el-select v-model="form.user_type" placeholder="用户类型">
24
         <el-select v-model="form.user_type" placeholder="用户类型">
28
           <el-option
25
           <el-option

+ 4 - 2
src/xt_pages/stock/cancelStockOrderAdd.vue View File

369
         manufacturer_id: this.form.manufacturer,
369
         manufacturer_id: this.form.manufacturer,
370
         dealer_id: this.form.dealer
370
         dealer_id: this.form.dealer
371
       }
371
       }
372
+      this.propForm.goods = []
373
+
372
       GetAllGoodInfoByID(params).then(response => {
374
       GetAllGoodInfoByID(params).then(response => {
373
           if (response.data.state == 0) {
375
           if (response.data.state == 0) {
374
             this.$message.error(response.data.msg)
376
             this.$message.error(response.data.msg)
384
             }
386
             }
385
             this.$refs.dialog.show()
387
             this.$refs.dialog.show()
386
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
388
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
387
-              this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
389
+              this.propForm.goodType.push(response.data.data.goodInfo[i].type)
388
             }
390
             }
389
             const obj = {}
391
             const obj = {}
390
             this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
392
             this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
400
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
402
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
401
               var respObj = response.data.data.goodInfo[a]
403
               var respObj = response.data.data.goodInfo[a]
402
               respObj['isSelected'] = false
404
               respObj['isSelected'] = false
403
-              if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
405
+              if (respObj.type.id == this.propForm.goodType[i].id) {
404
                 goodInfo.push(respObj)
406
                 goodInfo.push(respObj)
405
               }
407
               }
406
             }
408
             }

+ 4 - 2
src/xt_pages/stock/cancelStockOrderEdit.vue View File

326
           manufacturer_id: this.form.manufacturer,
326
           manufacturer_id: this.form.manufacturer,
327
           dealer_id: this.form.dealer
327
           dealer_id: this.form.dealer
328
         }
328
         }
329
+        this.propForm.goods = []
330
+
329
         GetAllGoodInfoByID(params).then(response => {
331
         GetAllGoodInfoByID(params).then(response => {
330
             if (response.data.state == 0) {
332
             if (response.data.state == 0) {
331
               this.$message.error(response.data.msg)
333
               this.$message.error(response.data.msg)
341
               }
343
               }
342
               this.$refs.dialog.show()
344
               this.$refs.dialog.show()
343
               for (let i = 0; i < response.data.data.goodInfo.length; i++) {
345
               for (let i = 0; i < response.data.data.goodInfo.length; i++) {
344
-                this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
346
+                this.propForm.goodType.push(response.data.data.goodInfo[i].type)
345
               }
347
               }
346
               const obj = {}
348
               const obj = {}
347
               this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
349
               this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
357
               for (let a = 0; a < response.data.data.goodInfo.length; a++) {
359
               for (let a = 0; a < response.data.data.goodInfo.length; a++) {
358
                 var respObj = response.data.data.goodInfo[a]
360
                 var respObj = response.data.data.goodInfo[a]
359
                 respObj['isSelected'] = false
361
                 respObj['isSelected'] = false
360
-                if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
362
+                if (respObj.type.id == this.propForm.goodType[i].id) {
361
                   goodInfo.push(respObj)
363
                   goodInfo.push(respObj)
362
                 }
364
                 }
363
               }
365
               }

+ 4 - 2
src/xt_pages/stock/salesReturnEdit.vue View File

324
           manufacturer_id: this.form.manufacturer,
324
           manufacturer_id: this.form.manufacturer,
325
           dealer_id: this.form.dealer
325
           dealer_id: this.form.dealer
326
         };
326
         };
327
+        this.propForm.goods = []
328
+
327
         GetAllGoodInfoByID(params).then(response => {
329
         GetAllGoodInfoByID(params).then(response => {
328
           if (response.data.state == 0) {
330
           if (response.data.state == 0) {
329
             this.$message.error(response.data.msg);
331
             this.$message.error(response.data.msg);
336
             this.$refs.dialog.show();
338
             this.$refs.dialog.show();
337
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
339
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
338
               this.propForm.goodType.push(
340
               this.propForm.goodType.push(
339
-                response.data.data.goodInfo[i].GoodsType
341
+                response.data.data.goodInfo[i].type
340
               );
342
               );
341
             }
343
             }
342
             const obj = {};
344
             const obj = {};
356
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
358
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
357
               var respObj = response.data.data.goodInfo[a];
359
               var respObj = response.data.data.goodInfo[a];
358
               respObj["isSelected"] = false;
360
               respObj["isSelected"] = false;
359
-              if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
361
+              if (respObj.type.id == this.propForm.goodType[i].id) {
360
                 goodInfo.push(respObj);
362
                 goodInfo.push(respObj);
361
               }
363
               }
362
             }
364
             }

+ 4 - 2
src/xt_pages/stock/salesReturnOrderAdd.vue View File

306
           manufacturer_id: this.form.manufacturer,
306
           manufacturer_id: this.form.manufacturer,
307
           dealer_id: this.form.dealer
307
           dealer_id: this.form.dealer
308
         }
308
         }
309
+        this.propForm.goods = []
310
+
309
         GetAllGoodInfoByID(params).then(response => {
311
         GetAllGoodInfoByID(params).then(response => {
310
             if (response.data.state == 0) {
312
             if (response.data.state == 0) {
311
               this.$message.error(response.data.msg)
313
               this.$message.error(response.data.msg)
321
               }
323
               }
322
               this.$refs.dialog.show()
324
               this.$refs.dialog.show()
323
               for (let i = 0; i < response.data.data.goodInfo.length; i++) {
325
               for (let i = 0; i < response.data.data.goodInfo.length; i++) {
324
-                this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
326
+                this.propForm.goodType.push(response.data.data.goodInfo[i].type)
325
               }
327
               }
326
               const obj = {}
328
               const obj = {}
327
               this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
329
               this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
337
               for (let a = 0; a < response.data.data.goodInfo.length; a++) {
339
               for (let a = 0; a < response.data.data.goodInfo.length; a++) {
338
                 var respObj = response.data.data.goodInfo[a]
340
                 var respObj = response.data.data.goodInfo[a]
339
                 respObj['isSelected'] = false
341
                 respObj['isSelected'] = false
340
-                if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
342
+                if (respObj.type.id == this.propForm.goodType[i].id) {
341
                   goodInfo.push(respObj)
343
                   goodInfo.push(respObj)
342
                 }
344
                 }
343
               }
345
               }

+ 4 - 2
src/xt_pages/stock/stockInOrderAdd.vue View File

496
           manufacturer_id: this.form.manufacturer,
496
           manufacturer_id: this.form.manufacturer,
497
           dealer_id: this.form.dealer
497
           dealer_id: this.form.dealer
498
         }
498
         }
499
+        this.propForm.goods = []
500
+
499
         GetAllGoodInfoByID(params).then(response => {
501
         GetAllGoodInfoByID(params).then(response => {
500
             if (response.data.state == 0) {
502
             if (response.data.state == 0) {
501
               this.$message.error(response.data.msg)
503
               this.$message.error(response.data.msg)
511
               }
513
               }
512
               this.$refs.dialog.show()
514
               this.$refs.dialog.show()
513
               for (let i = 0; i < response.data.data.goodInfo.length; i++) {
515
               for (let i = 0; i < response.data.data.goodInfo.length; i++) {
514
-                this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
516
+                this.propForm.goodType.push(response.data.data.goodInfo[i].type)
515
               }
517
               }
516
               const obj = {}
518
               const obj = {}
517
               this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
519
               this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
527
               for (let a = 0; a < response.data.data.goodInfo.length; a++) {
529
               for (let a = 0; a < response.data.data.goodInfo.length; a++) {
528
                 var respObj = response.data.data.goodInfo[a]
530
                 var respObj = response.data.data.goodInfo[a]
529
                 respObj['isSelected'] = false
531
                 respObj['isSelected'] = false
530
-                if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
532
+                if (respObj.type.id == this.propForm.goodType[i].id) {
531
                   goodInfo.push(respObj)
533
                   goodInfo.push(respObj)
532
                 }
534
                 }
533
               }
535
               }

+ 4 - 2
src/xt_pages/stock/stockInOrderEdit.vue View File

505
         manufacturer_id: this.form.manufacturer,
505
         manufacturer_id: this.form.manufacturer,
506
         dealer_id: this.form.dealer
506
         dealer_id: this.form.dealer
507
       };
507
       };
508
+      this.propForm.goods = []
509
+
508
       GetAllGoodInfoByID(params).then(response => {
510
       GetAllGoodInfoByID(params).then(response => {
509
         if (response.data.state == 0) {
511
         if (response.data.state == 0) {
510
           this.$message.error(response.data.msg);
512
           this.$message.error(response.data.msg);
517
           this.$refs.dialog.show();
519
           this.$refs.dialog.show();
518
           for (let i = 0; i < response.data.data.goodInfo.length; i++) {
520
           for (let i = 0; i < response.data.data.goodInfo.length; i++) {
519
             this.propForm.goodType.push(
521
             this.propForm.goodType.push(
520
-              response.data.data.goodInfo[i].GoodsType
522
+              response.data.data.goodInfo[i].type
521
             );
523
             );
522
           }
524
           }
523
           const obj = {};
525
           const obj = {};
537
           for (let a = 0; a < response.data.data.goodInfo.length; a++) {
539
           for (let a = 0; a < response.data.data.goodInfo.length; a++) {
538
             var respObj = response.data.data.goodInfo[a];
540
             var respObj = response.data.data.goodInfo[a];
539
             respObj["isSelected"] = false;
541
             respObj["isSelected"] = false;
540
-            if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
542
+            if (respObj.type.id == this.propForm.goodType[i].id) {
541
               goodInfo.push(respObj);
543
               goodInfo.push(respObj);
542
             }
544
             }
543
           }
545
           }

+ 3 - 2
src/xt_pages/stock/stockOutOrderAdd.vue View File

485
         manufacturer_id: this.form.manufacturer,
485
         manufacturer_id: this.form.manufacturer,
486
         dealer_id: this.form.dealer
486
         dealer_id: this.form.dealer
487
       }
487
       }
488
+      this.propForm.goods = []
488
       GetAllGoodInfoByID(params).then(response => {
489
       GetAllGoodInfoByID(params).then(response => {
489
           if (response.data.state == 0) {
490
           if (response.data.state == 0) {
490
             this.$message.error(response.data.msg)
491
             this.$message.error(response.data.msg)
500
             }
501
             }
501
             this.$refs.dialog.show()
502
             this.$refs.dialog.show()
502
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
503
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
503
-              this.propForm.goodType.push(response.data.data.goodInfo[i].GoodsType)
504
+              this.propForm.goodType.push(response.data.data.goodInfo[i].type)
504
             }
505
             }
505
             const obj = {}
506
             const obj = {}
506
             this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
507
             this.propForm.goodType = this.propForm.goodType.reduce((cur, next) => {
516
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
517
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
517
               var respObj = response.data.data.goodInfo[a]
518
               var respObj = response.data.data.goodInfo[a]
518
               respObj['isSelected'] = false
519
               respObj['isSelected'] = false
519
-              if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
520
+              if (respObj.type.id == this.propForm.goodType[i].id) {
520
                 goodInfo.push(respObj)
521
                 goodInfo.push(respObj)
521
               }
522
               }
522
             }
523
             }

+ 4 - 2
src/xt_pages/stock/stockOutOrderEdit.vue View File

369
           manufacturer_id: this.form.manufacturer,
369
           manufacturer_id: this.form.manufacturer,
370
           dealer_id: this.form.dealer
370
           dealer_id: this.form.dealer
371
         };
371
         };
372
+        this.propForm.goods = []
373
+
372
         GetAllGoodInfoByID(params).then(response => {
374
         GetAllGoodInfoByID(params).then(response => {
373
           if (response.data.state == 0) {
375
           if (response.data.state == 0) {
374
             this.$message.error(response.data.msg);
376
             this.$message.error(response.data.msg);
381
             this.$refs.dialog.show();
383
             this.$refs.dialog.show();
382
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
384
             for (let i = 0; i < response.data.data.goodInfo.length; i++) {
383
               this.propForm.goodType.push(
385
               this.propForm.goodType.push(
384
-                response.data.data.goodInfo[i].GoodsType
386
+                response.data.data.goodInfo[i].type
385
               );
387
               );
386
             }
388
             }
387
             const obj = {};
389
             const obj = {};
401
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
403
             for (let a = 0; a < response.data.data.goodInfo.length; a++) {
402
               var respObj = response.data.data.goodInfo[a];
404
               var respObj = response.data.data.goodInfo[a];
403
               respObj["isSelected"] = false;
405
               respObj["isSelected"] = false;
404
-              if (respObj.GoodsType.id == this.propForm.goodType[i].id) {
406
+              if (respObj.type.id == this.propForm.goodType[i].id) {
405
                 goodInfo.push(respObj);
407
                 goodInfo.push(respObj);
406
               }
408
               }
407
             }
409
             }

+ 17 - 10
src/xt_pages/user/components/EditGroupAdvice.vue View File

399
                   :value="item.drug_name"
399
                   :value="item.drug_name"
400
                 ></el-option>
400
                 ></el-option>
401
               </el-select>
401
               </el-select>
402
-              
402
+
403
             </el-form-item>
403
             </el-form-item>
404
           </el-col>
404
           </el-col>
405
           <el-col :span="14">
405
           <el-col :span="14">
647
       },
647
       },
648
 
648
 
649
       drugOptions: [],
649
       drugOptions: [],
650
-      deliveryWayOptions: [],
651
-      executionFrequencyOptions: [],
652
       adviceTemplates: [],
650
       adviceTemplates: [],
653
       submitGroupForm: {
651
       submitGroupForm: {
654
         advice_type: "",
652
         advice_type: "",
708
         return [];
706
         return [];
709
       }
707
       }
710
     },
708
     },
711
-
712
-    unitsOption: {
709
+    executionFrequencyOptions: {
710
+      type: Array,
711
+      default: function() {
712
+        return [];
713
+      }
714
+    }, deliveryWayOptions: {
715
+      type: Array,
716
+      default: function() {
717
+        return [];
718
+      }
719
+    }, unitsOption: {
713
       type: Array,
720
       type: Array,
714
       default: function() {
721
       default: function() {
715
         return [];
722
         return [];
856
         .catch(() => {});
863
         .catch(() => {});
857
     },
864
     },
858
     submitNameForm(formName) {
865
     submitNameForm(formName) {
859
-     
866
+
860
       if(this.src_type == ""){
867
       if(this.src_type == ""){
861
           this.nameForm.way = 0
868
           this.nameForm.way = 0
862
           this.nameForm.drug_id = 0
869
           this.nameForm.drug_id = 0
868
        }
875
        }
869
 
876
 
870
       //  if(typeof(this.nameForm.advice_name) == "string"){
877
       //  if(typeof(this.nameForm.advice_name) == "string"){
871
-         
878
+
872
       //     this.nameForm.advice_name == this.nameForm.advice_name
879
       //     this.nameForm.advice_name == this.nameForm.advice_name
873
       // }
880
       // }
874
 
881
 
890
       //       var arr = name.split("(自备药)")
897
       //       var arr = name.split("(自备药)")
891
       //       drug_name = arr[0]
898
       //       drug_name = arr[0]
892
       //     }
899
       //     }
893
-          
900
+
894
       //     this.nameForm.advice_name = drug_name
901
       //     this.nameForm.advice_name = drug_name
895
       //     this.nameForm.way = way
902
       //     this.nameForm.way = way
896
       // }
903
       // }
2491
                 this.all_drug.push(obj)
2498
                 this.all_drug.push(obj)
2492
                 console.log("中2222222222222222222",this.all_drug)
2499
                 console.log("中2222222222222222222",this.all_drug)
2493
               }
2500
               }
2494
-            }   
2501
+            }
2495
         })
2502
         })
2496
-       
2503
+
2497
     },
2504
     },
2498
     changeDrugName(name){
2505
     changeDrugName(name){
2499
        this.current_drug_name = name
2506
        this.current_drug_name = name

+ 12 - 9
src/xt_pages/user/doctorAdvice.vue View File

1062
                     >
1062
                     >
1063
                     </el-option>
1063
                     </el-option>
1064
                   </el-select>
1064
                   </el-select>
1065
-                
1065
+
1066
                 </el-col>
1066
                 </el-col>
1067
               </el-form-item>
1067
               </el-form-item>
1068
             </el-col>
1068
             </el-col>
2288
       });
2288
       });
2289
     },
2289
     },
2290
     submitgroupAdvice(formName) {
2290
     submitgroupAdvice(formName) {
2291
-     
2291
+
2292
       this.addLoading = true;
2292
       this.addLoading = true;
2293
       this.$refs[formName].validate(valid => {
2293
       this.$refs[formName].validate(valid => {
2294
         if (valid) {
2294
         if (valid) {
2304
           console.log("22222",submitForm)
2304
           console.log("22222",submitForm)
2305
           console.log("33333",this.private_drug_config.drug_start)
2305
           console.log("33333",this.private_drug_config.drug_start)
2306
           console.log("44444",this.medicals)
2306
           console.log("44444",this.medicals)
2307
-         
2307
+
2308
           var adviceNames = [];
2308
           var adviceNames = [];
2309
           for (const index in this.groupForm.adviceNames) {
2309
           for (const index in this.groupForm.adviceNames) {
2310
             this.groupForm.adviceNames[
2310
             this.groupForm.adviceNames[
2317
           submitForm.adviceNames = adviceNames;
2317
           submitForm.adviceNames = adviceNames;
2318
 
2318
 
2319
 
2319
 
2320
-         
2320
+
2321
 
2321
 
2322
           let mode = "";
2322
           let mode = "";
2323
           if (this.groupForm.advice_type == 1) {
2323
           if (this.groupForm.advice_type == 1) {
2327
           }
2327
           }
2328
         console.log("22222222",this.medicals)
2328
         console.log("22222222",this.medicals)
2329
         console.log("3333333",submitForm)
2329
         console.log("3333333",submitForm)
2330
-      
2330
+
2331
         if(this.private_drug_config.drug_start == 1){
2331
         if(this.private_drug_config.drug_start == 1){
2332
               for(let index=0;index<submitForm.adviceNames.length;index++){
2332
               for(let index=0;index<submitForm.adviceNames.length;index++){
2333
                   for(let i=0;i<this.medicals.length;i++){
2333
                   for(let i=0;i<this.medicals.length;i++){
2339
               }
2339
               }
2340
           }
2340
           }
2341
           console.log("模板数据",submitForm)
2341
           console.log("模板数据",submitForm)
2342
-        
2342
+
2343
           CreateNewGroupAdvice(this.patientID, 0, submitForm, mode).then(
2343
           CreateNewGroupAdvice(this.patientID, 0, submitForm, mode).then(
2344
             response => {
2344
             response => {
2345
               if (response.data.state == 0) {
2345
               if (response.data.state == 0) {
4030
       });
4030
       });
4031
     },
4031
     },
4032
     submitNameForm(formName) {
4032
     submitNameForm(formName) {
4033
-       
4033
+
4034
        if(this.src_type == ""){
4034
        if(this.src_type == ""){
4035
           this.nameForm.way = 0
4035
           this.nameForm.way = 0
4036
           this.nameForm.drug_id = 0
4036
           this.nameForm.drug_id = 0
4040
           var arr = this.nameForm.advice_name.split("(自备药)")
4040
           var arr = this.nameForm.advice_name.split("(自备药)")
4041
           this.nameForm.advice_name = arr[0]
4041
           this.nameForm.advice_name = arr[0]
4042
        }
4042
        }
4043
-      
4043
+
4044
       var _this = this;
4044
       var _this = this;
4045
       this.$refs[formName].validate(valid => {
4045
       this.$refs[formName].validate(valid => {
4046
         if (valid) {
4046
         if (valid) {
4343
               : response.data.data.drugways;
4343
               : response.data.data.drugways;
4344
           this.executionFrequencyOptions =
4344
           this.executionFrequencyOptions =
4345
             response.data.data.efs === null ? [] : response.data.data.efs;
4345
             response.data.data.efs === null ? [] : response.data.data.efs;
4346
+          console.log(this.deliveryWayOptions)
4347
+          console.log(this.executionFrequencyOptions)
4348
+
4346
         }
4349
         }
4347
       });
4350
       });
4348
     },
4351
     },
4489
             this.private_drug_config = response.data.data.private_drug_config
4492
             this.private_drug_config = response.data.data.private_drug_config
4490
             console.log("medicals",medicalList)
4493
             console.log("medicals",medicalList)
4491
             this.medicals = medicalList
4494
             this.medicals = medicalList
4492
-          
4495
+
4493
       })
4496
       })
4494
     },
4497
     },
4495
    changeDrugName(name){
4498
    changeDrugName(name){