Browse Source

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

yq1 5 days ago
parent
commit
8b9a34e5a5

+ 9 - 0
src/api/config.js View File

251
     method:"get",
251
     method:"get",
252
     params:params,
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 View File

173
     method:"get",
173
     method:"get",
174
     params:params
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 View File

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

+ 2 - 2
src/router/index.js View File

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

src/router/modules/faPiao.js → src/router/modules/eleFaPiao.js View File

1
 import Layout from '@/views/layout/Layout'
1
 import Layout from '@/views/layout/Layout'
2
 
2
 
3
 export default {
3
 export default {
4
-  path: '/fapiao',
4
+  path: '/eleFaPiao',
5
   component: Layout,
5
   component: Layout,
6
   redirect: 'noredirect',
6
   redirect: 'noredirect',
7
-  name: 'fapiao',
7
+  name: 'eleFaPiao',
8
   alwaysShow: true,
8
   alwaysShow: true,
9
   meta: {
9
   meta: {
10
-    title: 'fapiao',
10
+    title: 'eleFaPiao',
11
     isChild: true
11
     isChild: true
12
   },
12
   },
13
   children: [
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
       name: 'settleDetail',
17
       name: 'settleDetail',
18
       meta: { title: 'settleDetail', noCache: true }
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
       name: 'patientSettleDetail',
23
       name: 'patientSettleDetail',
24
       meta: { title: 'patientSettleDetail', noCache: true },
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
       name: 'elefapiao',
29
       name: 'elefapiao',
30
       meta: { title: 'elefapiao', noCache: true },
30
       meta: { title: 'elefapiao', noCache: true },
31
     },
31
     },

+ 6 - 1
src/router/modules/hisTool.js View File

95
     //   component: () => import('@/xt_pages/outpatientTool/fapiao'),
95
     //   component: () => import('@/xt_pages/outpatientTool/fapiao'),
96
     //   name: 'faPiao',
96
     //   name: 'faPiao',
97
     //   meta: { title: 'faPiao', noCache: true }
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
       path: '/hisTool/yidiClear',
105
       path: '/hisTool/yidiClear',
101
       component: () => import('@/xt_pages/outpatientTool/yidiClear'),
106
       component: () => import('@/xt_pages/outpatientTool/yidiClear'),
102
       name: 'yidiClear',
107
       name: 'yidiClear',

+ 1 - 1
src/views/layout/Layout.vue View File

132
     }
132
     }
133
   },
133
   },
134
   created(){
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
     let bingli = ['User','createPatient'];
136
     let bingli = ['User','createPatient'];
137
     let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index'];
137
     let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index'];
138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];
138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];

+ 37 - 8
src/xt_pages/Pharmacy/DrugDispensing.vue View File

195
             <el-table-column
195
             <el-table-column
196
               type="index"
196
               type="index"
197
               label="序号"
197
               label="序号"
198
-              width="120"
198
+              width="50"
199
               align="center"
199
               align="center"
200
             >
200
             >
201
             </el-table-column>
201
             </el-table-column>
202
             <el-table-column
202
             <el-table-column
203
               prop="name"
203
               prop="name"
204
               label="患者名称"
204
               label="患者名称"
205
-              width="180"
205
+              width="100"
206
               align="center"
206
               align="center"
207
             >
207
             >
208
               <template slot-scope="scope">
208
               <template slot-scope="scope">
212
             <el-table-column
212
             <el-table-column
213
               prop="name"
213
               prop="name"
214
               label="单次用量"
214
               label="单次用量"
215
-              width="170"
215
+              width="100"
216
               align="center"
216
               align="center"
217
             >
217
             >
218
               <template slot-scope="scope">
218
               <template slot-scope="scope">
222
             <el-table-column
222
             <el-table-column
223
               prop="name"
223
               prop="name"
224
               label="用法"
224
               label="用法"
225
-              width="160"
225
+              width="100"
226
               align="center"
226
               align="center"
227
             >
227
             >
228
               <template slot-scope="scope">
228
               <template slot-scope="scope">
232
             <el-table-column
232
             <el-table-column
233
               prop="name"
233
               prop="name"
234
               label="频率"
234
               label="频率"
235
-              width="160"
235
+              width="100"
236
               align="center"
236
               align="center"
237
             >
237
             >
238
               <template slot-scope="scope">
238
               <template slot-scope="scope">
242
             <el-table-column
242
             <el-table-column
243
               prop="name"
243
               prop="name"
244
               label="天数"
244
               label="天数"
245
-              width="160"
245
+              width="100"
246
               align="center"
246
               align="center"
247
             >
247
             >
248
               <template slot-scope="scope">
248
               <template slot-scope="scope">
252
             <el-table-column
252
             <el-table-column
253
               prop="name"
253
               prop="name"
254
               label="总量"
254
               label="总量"
255
-              width="160"
255
+              width="100"
256
               align="center"
256
               align="center"
257
             >
257
             >
258
               <template slot-scope="scope">
258
               <template slot-scope="scope">
259
                 {{ scope.row.total }}
259
                 {{ scope.row.total }}
260
               </template>
260
               </template>
261
             </el-table-column>
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
             <el-table-column
267
             <el-table-column
263
               prop="name"
268
               prop="name"
264
               label="数据来源"
269
               label="数据来源"
265
-              width="162"
270
+              width="102"
266
               align="center"
271
               align="center"
267
             >
272
             >
268
               <template slot-scope="scope">
273
               <template slot-scope="scope">
454
   getcurrentname,
459
   getcurrentname,
455
   getpartitionlist,
460
   getpartitionlist,
456
   routeofadministration,
461
   routeofadministration,
462
+  changeDrugCode
457
 } from "@/api/pharmacy";
463
 } from "@/api/pharmacy";
458
 const moment = require("moment");
464
 const moment = require("moment");
459
 export default {
465
 export default {
506
   },
512
   },
507
 
513
 
508
   methods: {
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
     tt() {},
538
     tt() {},
510
     async fun3() {
539
     async fun3() {
511
       this.fun1().then((val) => {
540
       this.fun1().then((val) => {

+ 33 - 2
src/xt_pages/Pharmacy/PatientDispensing.vue View File

178
             <el-table-column
178
             <el-table-column
179
               type="index"
179
               type="index"
180
               label="序号"
180
               label="序号"
181
-              width="120"
181
+              width="50"
182
               align="center"
182
               align="center"
183
             >
183
             >
184
             </el-table-column>
184
             </el-table-column>
185
-            <el-table-column label="名称" width="200" align="center">
185
+            <el-table-column label="名称" width="100" align="center">
186
               <template slot-scope="scope">
186
               <template slot-scope="scope">
187
                 <span>{{ scope.row.Name ? scope.row.Name : "" }}</span>
187
                 <span>{{ scope.row.Name ? scope.row.Name : "" }}</span>
188
               </template>
188
               </template>
226
                 <span>{{ getManutuer(scope.row.DrugId) }}</span>
226
                 <span>{{ getManutuer(scope.row.DrugId) }}</span>
227
               </template>
227
               </template>
228
             </el-table-column>
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
             <el-table-column label="开立医生" width="150" align="center">
234
             <el-table-column label="开立医生" width="150" align="center">
230
               <template slot-scope="scope">
235
               <template slot-scope="scope">
231
                 <span>{{ scope.row.Doctor ? scope.row.Doctor : "" }}</span>
236
                 <span>{{ scope.row.Doctor ? scope.row.Doctor : "" }}</span>
243
                 <span>{{getDrugName(scope.row.DrugId)}}</span>
248
                 <span>{{getDrugName(scope.row.DrugId)}}</span>
244
               </template>
249
               </template>
245
             </el-table-column>
250
             </el-table-column>
251
+
252
+        
246
             <el-table-column label="备注" width="170" align="center">
253
             <el-table-column label="备注" width="170" align="center">
247
               <template slot-scope="scope">
254
               <template slot-scope="scope">
248
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
255
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
304
   dispensingmedicine,
311
   dispensingmedicine,
305
   drugwithdrawal,
312
   drugwithdrawal,
306
   getpartitionlist,
313
   getpartitionlist,
314
+  changeDrugCode
307
 } from "@/api/pharmacy";
315
 } from "@/api/pharmacy";
316
+import dataDruguse from "../../router/modules/dataDruguse";
308
 const moment = require("moment");
317
 const moment = require("moment");
309
 export default {
318
 export default {
310
   components: {
319
   components: {
792
          }
801
          }
793
        }
802
        }
794
        return spc
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 View File

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

src/xt_pages/fapiao/fapiao.vue → src/xt_pages/eleFaPiao/fapiao.vue View File


src/xt_pages/fapiao/newSettleDetail.vue → src/xt_pages/eleFaPiao/newSettleDetail.vue View File

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

src/xt_pages/fapiao/patientSettleDetail.vue → src/xt_pages/eleFaPiao/patientSettleDetail.vue View File


src/xt_pages/fapiao/settleDetail.vue → src/xt_pages/eleFaPiao/settleDetail.vue View File


+ 0 - 5
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

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

+ 0 - 1
src/xt_pages/user/components/PatientDetail.vue View File

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

+ 0 - 2
src/xt_pages/user/components/PatientForm.vue View File

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

+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
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
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))