Преглед изворни кода

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 пре 5 дана
родитељ
комит
8b9a34e5a5

+ 9 - 0
src/api/config.js Прегледај датотеку

@@ -251,4 +251,13 @@ export function getSelfPrintList(params){
251 251
     method:"get",
252 252
     params:params,
253 253
   })
254
+}
255
+
256
+export function changeDrugCodeOpen(params){
257
+ 
258
+  return request({
259
+    url:"/api/changedrugcodeopen",
260
+    method:"get",
261
+    params:params
262
+  })
254 263
 }

+ 9 - 0
src/api/pharmacy.js Прегледај датотеку

@@ -173,4 +173,13 @@ export function updateDrugInventoryWarehouseInfo(params){
173 173
     method:"get",
174 174
     params:params
175 175
   })
176
+}
177
+
178
+export function changeDrugCode(params){
179
+
180
+  return request({
181
+    url:"/api/pharmacy/changedrugcode",
182
+    method:"get",
183
+    params:params,
184
+  })
176 185
 }

+ 1 - 1
src/lang/zh.js Прегледај датотеку

@@ -306,7 +306,7 @@ export default {
306 306
     queryData:"结算数据查询",
307 307
     chargeDetailManagementTwo:"门诊明细上传",
308 308
     orgExportData:"数据导出",
309
-
309
+    eleFaPiao:"电子发票",
310 310
 
311 311
 
312 312
     settleDetail:"结算明细列表",

+ 2 - 2
src/router/index.js Прегледај датотеку

@@ -37,7 +37,7 @@ import hospitalStation from './modules/hospitalStation'
37 37
 import hospitalCharges from './modules/hospitalCharges'
38 38
 import DepositManagement from './modules/DepositManagement'
39 39
 import hisTool from './modules/hisTool'
40
-import faPiao from './modules/faPiao'
40
+import eleFaPiao from './modules/eleFaPiao'
41 41
 
42 42
 import supply from './modules/supply'
43 43
 
@@ -203,7 +203,7 @@ var _asy_router_map = [
203 203
   hospitalStation,
204 204
   hospitalCharges,
205 205
   hisTool,
206
-  faPiao,
206
+  eleFaPiao,
207 207
   integration,
208 208
   basicConfig,
209 209
   supply,

src/router/modules/faPiao.js → src/router/modules/eleFaPiao.js Прегледај датотеку

@@ -1,31 +1,31 @@
1 1
 import Layout from '@/views/layout/Layout'
2 2
 
3 3
 export default {
4
-  path: '/fapiao',
4
+  path: '/eleFaPiao',
5 5
   component: Layout,
6 6
   redirect: 'noredirect',
7
-  name: 'fapiao',
7
+  name: 'eleFaPiao',
8 8
   alwaysShow: true,
9 9
   meta: {
10
-    title: 'fapiao',
10
+    title: 'eleFaPiao',
11 11
     isChild: true
12 12
   },
13 13
   children: [
14 14
     {
15
-      path: '/fapiao/settle',
16
-      component: () => import('@/xt_pages/fapiao/settleDetail'),
15
+      path: '/eleFaPiao/settle',
16
+      component: () => import('@/xt_pages/eleFaPiao/settleDetail'),
17 17
       name: 'settleDetail',
18 18
       meta: { title: 'settleDetail', noCache: true }
19 19
     },
20 20
     {
21
-      path: '/fapiao/patientsettle',
22
-      component: () => import('@/xt_pages/fapiao/patientSettleDetail'),
21
+      path: '/eleFaPiao/patientsettle',
22
+      component: () => import('@/xt_pages/eleFaPiao/patientSettleDetail'),
23 23
       name: 'patientSettleDetail',
24 24
       meta: { title: 'patientSettleDetail', noCache: true },
25 25
     },
26 26
     {
27
-      path: '/fapiao/elefapiao',
28
-      component: () => import('@/xt_pages/fapiao/fapiao'),
27
+      path: '/eleFaPiao/elefapiao',
28
+      component: () => import('@/xt_pages/eleFaPiao/fapiao'),
29 29
       name: 'elefapiao',
30 30
       meta: { title: 'elefapiao', noCache: true },
31 31
     },

+ 6 - 1
src/router/modules/hisTool.js Прегледај датотеку

@@ -95,8 +95,13 @@ export default {
95 95
     //   component: () => import('@/xt_pages/outpatientTool/fapiao'),
96 96
     //   name: 'faPiao',
97 97
     //   meta: { title: 'faPiao', noCache: true }
98
-    // }, 
98
+    // },
99 99
     {
100
+      path: '/hisTool/faPiao',
101
+      component: () => import('@/xt_pages/outpatientTool/fapiao'),
102
+      name: 'faPiao',
103
+      meta: { title: 'faPiao', noCache: true }
104
+    }, {
100 105
       path: '/hisTool/yidiClear',
101 106
       component: () => import('@/xt_pages/outpatientTool/yidiClear'),
102 107
       name: 'yidiClear',

+ 1 - 1
src/views/layout/Layout.vue Прегледај датотеку

@@ -132,7 +132,7 @@ export default {
132 132
     }
133 133
   },
134 134
   created(){
135
-    let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","DepositManagement","hisTool","faPiao",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
135
+    let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","DepositManagement","hisTool","eleFaPiao",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
136 136
     let bingli = ['User','createPatient'];
137 137
     let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index'];
138 138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];

+ 37 - 8
src/xt_pages/Pharmacy/DrugDispensing.vue Прегледај датотеку

@@ -195,14 +195,14 @@
195 195
             <el-table-column
196 196
               type="index"
197 197
               label="序号"
198
-              width="120"
198
+              width="50"
199 199
               align="center"
200 200
             >
201 201
             </el-table-column>
202 202
             <el-table-column
203 203
               prop="name"
204 204
               label="患者名称"
205
-              width="180"
205
+              width="100"
206 206
               align="center"
207 207
             >
208 208
               <template slot-scope="scope">
@@ -212,7 +212,7 @@
212 212
             <el-table-column
213 213
               prop="name"
214 214
               label="单次用量"
215
-              width="170"
215
+              width="100"
216 216
               align="center"
217 217
             >
218 218
               <template slot-scope="scope">
@@ -222,7 +222,7 @@
222 222
             <el-table-column
223 223
               prop="name"
224 224
               label="用法"
225
-              width="160"
225
+              width="100"
226 226
               align="center"
227 227
             >
228 228
               <template slot-scope="scope">
@@ -232,7 +232,7 @@
232 232
             <el-table-column
233 233
               prop="name"
234 234
               label="频率"
235
-              width="160"
235
+              width="100"
236 236
               align="center"
237 237
             >
238 238
               <template slot-scope="scope">
@@ -242,7 +242,7 @@
242 242
             <el-table-column
243 243
               prop="name"
244 244
               label="天数"
245
-              width="160"
245
+              width="100"
246 246
               align="center"
247 247
             >
248 248
               <template slot-scope="scope">
@@ -252,17 +252,22 @@
252 252
             <el-table-column
253 253
               prop="name"
254 254
               label="总量"
255
-              width="160"
255
+              width="100"
256 256
               align="center"
257 257
             >
258 258
               <template slot-scope="scope">
259 259
                 {{ scope.row.total }}
260 260
               </template>
261 261
             </el-table-column>
262
+            <el-table-column label="药品追溯码" width="162" align="center">
263
+              <template slot-scope="scope">
264
+                 <el-input style="width: 100;" v-model="scope.row.DrugCode" @input="changeDrugCode(scope.row.ID,scope.row.DataSources,scope.row.DrugCode)"></el-input>
265
+              </template>
266
+            </el-table-column>
262 267
             <el-table-column
263 268
               prop="name"
264 269
               label="数据来源"
265
-              width="162"
270
+              width="102"
266 271
               align="center"
267 272
             >
268 273
               <template slot-scope="scope">
@@ -454,6 +459,7 @@ import {
454 459
   getcurrentname,
455 460
   getpartitionlist,
456 461
   routeofadministration,
462
+  changeDrugCode
457 463
 } from "@/api/pharmacy";
458 464
 const moment = require("moment");
459 465
 export default {
@@ -506,6 +512,29 @@ export default {
506 512
   },
507 513
 
508 514
   methods: {
515
+    changeDrugCode(id,DataSources,drug_code){
516
+       var is_source =0
517
+       if (DataSources == "his处方"){
518
+        is_source = 1
519
+       }
520
+       if (DataSources == "临时医嘱"){
521
+         is_source = 2
522
+       }
523
+       var params = {
524
+        id:id,
525
+        data_source:is_source,
526
+        drug_code:drug_code,
527
+       }
528
+       console.log("paramss",params)
529
+      
530
+      changeDrugCode(params).then(response=>{
531
+         if(response.data.state == 1){
532
+            this.$message.success("保存成功!")
533
+         }
534
+      })
535
+    
536
+
537
+    },
509 538
     tt() {},
510 539
     async fun3() {
511 540
       this.fun1().then((val) => {

+ 33 - 2
src/xt_pages/Pharmacy/PatientDispensing.vue Прегледај датотеку

@@ -178,11 +178,11 @@
178 178
             <el-table-column
179 179
               type="index"
180 180
               label="序号"
181
-              width="120"
181
+              width="50"
182 182
               align="center"
183 183
             >
184 184
             </el-table-column>
185
-            <el-table-column label="名称" width="200" align="center">
185
+            <el-table-column label="名称" width="100" align="center">
186 186
               <template slot-scope="scope">
187 187
                 <span>{{ scope.row.Name ? scope.row.Name : "" }}</span>
188 188
               </template>
@@ -226,6 +226,11 @@
226 226
                 <span>{{ getManutuer(scope.row.DrugId) }}</span>
227 227
               </template>
228 228
             </el-table-column>
229
+            <el-table-column label="药品追溯码" width="162" align="center">
230
+              <template slot-scope="scope">
231
+                 <el-input style="width: 100;" v-model="scope.row.DrugCode" @input="changeDrugCode(scope.row.ID,scope.row.DataSources,scope.row.DrugCode)"></el-input>
232
+              </template>
233
+            </el-table-column>
229 234
             <el-table-column label="开立医生" width="150" align="center">
230 235
               <template slot-scope="scope">
231 236
                 <span>{{ scope.row.Doctor ? scope.row.Doctor : "" }}</span>
@@ -243,6 +248,8 @@
243 248
                 <span>{{getDrugName(scope.row.DrugId)}}</span>
244 249
               </template>
245 250
             </el-table-column>
251
+
252
+        
246 253
             <el-table-column label="备注" width="170" align="center">
247 254
               <template slot-scope="scope">
248 255
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
@@ -304,7 +311,9 @@ import {
304 311
   dispensingmedicine,
305 312
   drugwithdrawal,
306 313
   getpartitionlist,
314
+  changeDrugCode
307 315
 } from "@/api/pharmacy";
316
+import dataDruguse from "../../router/modules/dataDruguse";
308 317
 const moment = require("moment");
309 318
 export default {
310 319
   components: {
@@ -792,6 +801,28 @@ export default {
792 801
          }
793 802
        }
794 803
        return spc
804
+    },
805
+    changeDrugCode(id,DataSources,drug_code){
806
+       var is_source =0
807
+       if (DataSources == "his处方"){
808
+        is_source = 1
809
+       }
810
+       if (DataSources == "临时医嘱"){
811
+         is_source = 2
812
+       }
813
+       var params = {
814
+        id:id,
815
+        data_source:is_source,
816
+        drug_code:drug_code,
817
+       }
818
+       console.log("paramss",params)
819
+      changeDrugCode(params).then(response=>{
820
+         if(response.data.state == 1){
821
+            this.$message.success("保存成功!")
822
+         }
823
+      })
824
+    
825
+
795 826
     }
796 827
   },
797 828
 };

+ 49 - 41
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Прегледај датотеку

@@ -517,7 +517,7 @@
517 517
                         style="
518 518
                           width: 100px;
519 519
                           text-align: center;
520
-                          font-weight: 600;
520
+                         
521 521
                         "
522 522
                         v-if="prescription.mode_id == 1"
523 523
                       >
@@ -528,7 +528,7 @@
528 528
                         style="
529 529
                           width: 100px;
530 530
                           text-align: center;
531
-                          font-weight: 600;
531
+                        
532 532
                         "
533 533
                         v-if="prescription.mode_id == 2"
534 534
                       >
@@ -539,7 +539,7 @@
539 539
                         style="
540 540
                           width: 100px;
541 541
                           text-align: center;
542
-                          font-weight: 600;
542
+                         
543 543
                         "
544 544
                         v-if="prescription.mode_id == 3"
545 545
                       >
@@ -550,7 +550,7 @@
550 550
                         style="
551 551
                           width: 100px;
552 552
                           text-align: center;
553
-                          font-weight: 600;
553
+                          
554 554
                         "
555 555
                         v-if="prescription.mode_id == 4"
556 556
                       >
@@ -561,7 +561,7 @@
561 561
                         style="
562 562
                           width: 100px;
563 563
                           text-align: center;
564
-                          font-weight: 600;
564
+                         
565 565
                         "
566 566
                         v-if="prescription.mode_id == 5"
567 567
                       >
@@ -572,7 +572,7 @@
572 572
                         style="
573 573
                           width: 100px;
574 574
                           text-align: center;
575
-                          font-weight: 600;
575
+                         
576 576
                         "
577 577
                         v-if="prescription.mode_id == 6"
578 578
                       >
@@ -583,7 +583,7 @@
583 583
                         style="
584 584
                           width: 100px;
585 585
                           text-align: center;
586
-                          font-weight: 600;
586
+                          
587 587
                         "
588 588
                         v-if="prescription.mode_id == 7"
589 589
                       >
@@ -594,7 +594,7 @@
594 594
                         style="
595 595
                           width: 100px;
596 596
                           text-align: center;
597
-                          font-weight: 600;
597
+                         
598 598
                         "
599 599
                         v-if="prescription.mode_id == 8"
600 600
                       >
@@ -605,7 +605,7 @@
605 605
                         style="
606 606
                           width: 100px;
607 607
                           text-align: center;
608
-                          font-weight: 600;
608
+                          
609 609
                         "
610 610
                         v-if="prescription.mode_id == 9"
611 611
                       >
@@ -616,7 +616,7 @@
616 616
                         style="
617 617
                           width: 100px;
618 618
                           text-align: center;
619
-                          font-weight: 600;
619
+                          
620 620
                         "
621 621
                         v-if="prescription.mode_id == 10"
622 622
                       >
@@ -627,7 +627,7 @@
627 627
                         style="
628 628
                           width: 100px;
629 629
                           text-align: center;
630
-                          font-weight: 600;
630
+                         
631 631
                         "
632 632
                         v-if="prescription.mode_id == 11"
633 633
                       >
@@ -638,7 +638,7 @@
638 638
                         style="
639 639
                           width: 100px;
640 640
                           text-align: center;
641
-                          font-weight: 600;
641
+                          
642 642
                         "
643 643
                         v-if="prescription.mode_id == 12"
644 644
                       >
@@ -649,7 +649,7 @@
649 649
                         style="
650 650
                           width: 100px;
651 651
                           text-align: center;
652
-                          font-weight: 600;
652
+                         
653 653
                         "
654 654
                         v-if="prescription.mode_id == 13"
655 655
                       >
@@ -660,7 +660,7 @@
660 660
                         style="
661 661
                           width: 100px;
662 662
                           text-align: center;
663
-                          font-weight: 600;
663
+                         
664 664
                         "
665 665
                         v-if="prescription.mode_id == 14"
666 666
                       >
@@ -671,7 +671,7 @@
671 671
                         style="
672 672
                           width: 100px;
673 673
                           text-align: center;
674
-                          font-weight: 600;
674
+                         
675 675
                         "
676 676
                         v-if="prescription.mode_id == 15"
677 677
                       >
@@ -682,7 +682,7 @@
682 682
                         style="
683 683
                           width: 100px;
684 684
                           text-align: center;
685
-                          font-weight: 600;
685
+                          
686 686
                         "
687 687
                         v-if="prescription.mode_id == 16"
688 688
                       >
@@ -693,7 +693,7 @@
693 693
                         style="
694 694
                           width: 100px;
695 695
                           text-align: center;
696
-                          font-weight: 600;
696
+                          
697 697
                         "
698 698
                         v-if="prescription.mode_id == 17"
699 699
                       >
@@ -704,7 +704,7 @@
704 704
                         style="
705 705
                           width: 100px;
706 706
                           text-align: center;
707
-                          font-weight: 600;
707
+                          
708 708
                         "
709 709
                         v-if="prescription.mode_id == 18"
710 710
                       >
@@ -715,7 +715,7 @@
715 715
                         style="
716 716
                           width: 100px;
717 717
                           text-align: center;
718
-                          font-weight: 600;
718
+                          
719 719
                         "
720 720
                         v-if="prescription.mode_id == 19"
721 721
                       >
@@ -726,7 +726,7 @@
726 726
                         style="
727 727
                           width: 150px;
728 728
                           text-align: center;
729
-                          font-weight: 600;
729
+                         
730 730
                         "
731 731
                         v-if="prescription.mode_id == 22"
732 732
                       >
@@ -737,7 +737,7 @@
737 737
                         style="
738 738
                           width: 150px;
739 739
                           text-align: center;
740
-                          font-weight: 600;
740
+                          
741 741
                         "
742 742
                         v-if="prescription.mode_id == 23"
743 743
                       >
@@ -748,7 +748,7 @@
748 748
                         style="
749 749
                           width: 150px;
750 750
                           text-align: center;
751
-                          font-weight: 600;
751
+                         
752 752
                         "
753 753
                         v-if="prescription.mode_id == 24"
754 754
                       >
@@ -758,7 +758,7 @@
758 758
                         class="under_line"
759 759
                         style="width: 100px;
760 760
                           text-align: center;
761
-                          font-weight: 600;
761
+                         
762 762
                         "
763 763
                         v-if="prescription.mode_id == 25"
764 764
                       >
@@ -769,7 +769,7 @@
769 769
                         style="
770 770
                           width: 100px;
771 771
                           text-align: center;
772
-                          font-weight: 600;
772
+                         
773 773
                         "
774 774
                         v-if="prescription.mode_id == 29"
775 775
                       >
@@ -780,7 +780,7 @@
780 780
                         style="
781 781
                           width: 100px;
782 782
                           text-align: center;
783
-                          font-weight: 600;
783
+                          
784 784
                         "
785 785
                         v-if="prescription.mode_id == 30"
786 786
                       >
@@ -791,7 +791,7 @@
791 791
                         style="
792 792
                           width: 100px;
793 793
                           text-align: center;
794
-                          font-weight: 600;
794
+                          
795 795
                         "
796 796
                         v-if="prescription.mode_id == 31"
797 797
                       >
@@ -802,7 +802,7 @@
802 802
                         style="
803 803
                           width: 100px;
804 804
                           text-align: center;
805
-                          font-weight: 600;
805
+                          
806 806
                         "
807 807
                         v-if="prescription.mode_id == 32"
808 808
                       >
@@ -813,7 +813,7 @@
813 813
                         style="
814 814
                           width: 100px;
815 815
                           text-align: center;
816
-                          font-weight: 600;
816
+                          
817 817
                         "
818 818
                         v-if="prescription.mode_id == 33"
819 819
                       >
@@ -824,7 +824,7 @@
824 824
                         style="
825 825
                           width: 100px;
826 826
                           text-align: center;
827
-                          font-weight: 600;
827
+                          
828 828
                         "
829 829
                         v-if="prescription.mode_id == 34"
830 830
                       >
@@ -835,7 +835,7 @@
835 835
                         style="
836 836
                           width: 100px;
837 837
                           text-align: center;
838
-                          font-weight: 600;
838
+                         
839 839
                         "
840 840
                         v-if="prescription.mode_id == 35"
841 841
                       >
@@ -846,7 +846,7 @@
846 846
                         style="
847 847
                           width: 100px;
848 848
                           text-align: center;
849
-                          font-weight: 600;
849
+                          
850 850
                         "
851 851
                         v-if="prescription.mode_id == 36"
852 852
                       >
@@ -857,7 +857,7 @@
857 857
                         style="
858 858
                           width: 100px;
859 859
                           text-align: center;
860
-                          font-weight: 600;
860
+                         
861 861
                         "
862 862
                         v-if="prescription.mode_id == 37"
863 863
                       >
@@ -868,7 +868,7 @@
868 868
                         style="
869 869
                           width: 100px;
870 870
                           text-align: center;
871
-                          font-weight: 600;
871
+                         
872 872
                         "
873 873
                         v-if="prescription.mode_id == 38"
874 874
                       >
@@ -879,7 +879,7 @@
879 879
                         style="
880 880
                           width: 100px;
881 881
                           text-align: center;
882
-                          font-weight: 600;
882
+                          
883 883
                         "
884 884
                         v-if="prescription.mode_id == 39"
885 885
                       >
@@ -891,7 +891,7 @@
891 891
                         style="
892 892
                           width: 100px;
893 893
                           text-align: center;
894
-                          font-weight: 600;
894
+                          
895 895
                         "
896 896
                         v-if="prescription.mode_id == 40"
897 897
                       >
@@ -903,7 +903,7 @@
903 903
                         style="
904 904
                           width: 100px;
905 905
                           text-align: center;
906
-                          font-weight: 600;
906
+                         
907 907
                         "
908 908
                         v-if="prescription.mode_id == 41"
909 909
                       >
@@ -915,7 +915,7 @@
915 915
                         style="
916 916
                           width: 100px;
917 917
                           text-align: center;
918
-                          font-weight: 600;
918
+                         
919 919
                         "
920 920
                         v-if="prescription.mode_id == 42"
921 921
                       >
@@ -927,7 +927,7 @@
927 927
                         style="
928 928
                           width: 100px;
929 929
                           text-align: center;
930
-                          font-weight: 600;
930
+                          
931 931
                         "
932 932
                         v-if="prescription.mode_id == 43"
933 933
                       >
@@ -5435,7 +5435,7 @@ export default {
5435 5435
 
5436 5436
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5437 5437
 
5438
-        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489){
5438
+        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489 || this.org_id == 0){
5439 5439
           let projectsOne = [];
5440 5440
           response.data.data.projects.map((item) => {
5441 5441
               projectsOne.push(item);
@@ -5545,6 +5545,14 @@ export default {
5545 5545
             }
5546 5546
             }
5547 5547
 
5548
+          
5549
+
5550
+            for(let i=0;i<newHisArr.length;i++){
5551
+              newHisArr[i].advice_name_str = ""
5552
+              newHisArr[i].advice_name_str = newHisArr[i].project_team + (newHisArr[i].prescription_id).toString()
5553
+            }
5554
+            console.log("newHisArr===================================",newHisArr)
5555
+
5548 5556
             var ordHisArr = this.getQuChong(newHisArr)
5549 5557
 
5550 5558
            this.doctor_advices.push(...ordHisArr)
@@ -5686,9 +5694,9 @@ export default {
5686 5694
       let result = [];
5687 5695
         let obj = {};
5688 5696
         for (let i = 0; i < tempArr.length; i++) {
5689
-            if (!obj[tempArr[i].project_team]) {
5697
+            if (!obj[tempArr[i].advice_name_str]) {
5690 5698
                 result.push(tempArr[i]);
5691
-                obj[tempArr[i].project_team] = true;
5699
+                obj[tempArr[i].advice_name_str] = true;
5692 5700
             };
5693 5701
         };
5694 5702
         return result;

src/xt_pages/fapiao/fapiao.vue → src/xt_pages/eleFaPiao/fapiao.vue Прегледај датотеку


src/xt_pages/fapiao/newSettleDetail.vue → src/xt_pages/eleFaPiao/newSettleDetail.vue Прегледај датотеку

@@ -428,13 +428,10 @@ export default {
428 428
                 .catch(() => {
429 429
                 })
430 430
             }
431
-
432 431
           }
433
-
434 432
         }
435 433
       }).catch(function(error) {
436 434
       })
437
-
438 435
     },
439 436
     query(){
440 437
 

src/xt_pages/fapiao/patientSettleDetail.vue → src/xt_pages/eleFaPiao/patientSettleDetail.vue Прегледај датотеку


src/xt_pages/fapiao/settleDetail.vue → src/xt_pages/eleFaPiao/settleDetail.vue Прегледај датотеку


+ 0 - 5
src/xt_pages/stock/query/purchaseNewStockQuery.vue Прегледај датотеку

@@ -161,11 +161,6 @@
161 161
           >
162 162
             </el-pagination>
163 163
      </div>
164
-
165
-
166
-
167
-  
168
-
169 164
   </div>
170 165
 </template>
171 166
 <script>

+ 0 - 1
src/xt_pages/user/components/PatientDetail.vue Прегледај датотеку

@@ -120,7 +120,6 @@
120 120
               <el-form-item
121 121
                 label="身份证号 : "
122 122
                 class="is-required"
123
-                prop="idCardNo"
124 123
               >
125 124
                 <el-input v-model="form.idCardNo" disabled></el-input>
126 125
               </el-form-item>

+ 0 - 2
src/xt_pages/user/components/PatientForm.vue Прегледај датотеку

@@ -129,10 +129,8 @@
129 129
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
130 130
                 <el-form-item
131 131
                   label="身份证号 : "
132
-                  prop="idCardNo"
133 132
                 >
134 133
                   <el-input
135
-                    @input="checkIdCardNo"
136 134
                     v-model="form.idCardNo"
137 135
                   ></el-input><!---->
138 136
                 </el-form-item>

+ 13 - 13
src/xt_permission.js Прегледај датотеку

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))