Bladeren bron

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 jaren geleden
bovenliggende
commit
e5b7e36943

+ 4 - 1
src/lang/zh.js Bestand weergeven

@@ -254,7 +254,10 @@ export default {
254 254
     hospitalStation: '住院工作站',
255 255
     pastInquiries: '既往查询',
256 256
 
257
-    prescriptionTemplate: '处方模版'
257
+    prescriptionTemplate: '处方模版',
258
+    hospitalRecord:"住院登记",
259
+    hisTool:"HIS工具",
260
+    hospitalCharges:'住院收费',
258 261
 
259 262
   },
260 263
   navbar: {

+ 12 - 4
src/router/index.js Bestand weergeven

@@ -27,10 +27,16 @@ import outpatientRegistration from './modules/outpatientRegistration'
27 27
 import outpatientDoctorStation from './modules/outpatientDoctorStation'
28 28
 import outpatientCharges from './modules/outpatientCharges'
29 29
 import outpatientPharmacy from './modules/outpatientPharmacy'
30
+import hospitalRecord from './modules/hospitalRecord'
30 31
 import hospitalStation from './modules/hospitalStation'
32
+import hospitalCharges from './modules/hospitalCharges'
33
+import hisTool from './modules/hisTool'
31 34
 
32 35
 
33
-import outpatientRecord from './modules/outpatientRecord'
36
+
37
+
38
+
39
+// import outpatientRecord from './modules/outpatientRecord'
34 40
 import kuyiShopping from './modules/kuyiShopping'
35 41
 import createPatient from './modules/createPatient'
36 42
 import dialysisRecord from './modules/dialysisRecord'
@@ -49,6 +55,8 @@ import templateManagement from './modules/templateManagement'
49 55
 import DepartManage from './modules/DepartManage'
50 56
 import basicConfig from './modules/basicConfig'
51 57
 
58
+
59
+
52 60
 Vue.use(Router);
53 61
 
54 62
 /** note: submenu only apppear when children.length>=1
@@ -155,7 +163,6 @@ var _asy_router_map = [
155 163
   slow,
156 164
   scrm,
157 165
   shop,
158
-
159 166
   systems,
160 167
   DepartManage,
161 168
   roleManage,
@@ -173,9 +180,10 @@ var _asy_router_map = [
173 180
   outpatientDoctorStation,
174 181
   outpatientCharges,
175 182
   outpatientPharmacy,
176
-  outpatientRecord,
183
+  hospitalRecord,
177 184
   hospitalStation,
178
-  // kuyiShopping,
185
+  hospitalCharges,
186
+  hisTool,
179 187
   integration,
180 188
   basicConfig
181 189
 ];

+ 40 - 0
src/router/modules/hisTool.js Bestand weergeven

@@ -0,0 +1,40 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/hisTool',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'hisTool',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'hisTool',
11
+    icon: 'hisTool',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+      path: '/hisTool/prescriptionTemplate',
17
+      component: () => import('@/xt_pages/outpatientDoctorStation/prescriptionTemplate'),
18
+      name: 'prescriptionTemplate',
19
+      meta: { title: 'prescriptionTemplate', noCache: true }
20
+    }, {
21
+      path: '/hisTool/prescriptionTemplatedetail',
22
+      component: () => import('@/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail'),
23
+      name: 'prescriptionTemplatedetail',
24
+      hidden: true,
25
+      is_menu: false,
26
+      meta: { title: 'prescriptionTemplatedetail', noCache: true }
27
+    }, {
28
+      path: '/hisTool/costComparison',
29
+      component: () => import('@/xt_pages/outpatientCharges/costComparison'),
30
+      name: 'costComparison',
31
+      meta: { title: 'costComparison', noCache: true }
32
+    }, {
33
+      path: '/hisTool/outpatientRecord',
34
+      component: () => import('@/xt_pages/outpatientRecord/outpatientRecord'),
35
+      name: 'outpatientSickRecord',
36
+      meta: { title: 'outpatientSickRecord', noCache: true }
37
+    },
38
+
39
+  ]
40
+}

+ 82 - 0
src/router/modules/hospitalCharges.js Bestand weergeven

@@ -0,0 +1,82 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/hospitalCharges',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'hospitalCharges',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'hospitalCharges',
11
+    icon: 'hospitalCharges',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+      path: '/hospitalCharges/outpatientChargesManagement',
17
+      component: () => import('@/xt_pages/hospitalStation/outpatientChargesManagement'),
18
+      name: 'outpatientChargesManagement',
19
+      meta: { title: 'outpatientChargesManagement', noCache: true }
20
+    },
21
+    // {
22
+    //   path: '/outpatientCharges/outpatientInvoice',
23
+    //   component: () => import('@/xt_pages/outpatientCharges/outpatientInvoice'),
24
+    //   name: 'outpatientInvoice',
25
+    //   meta: { title: 'outpatientInvoice', noCache: true }
26
+    // },
27
+    // {
28
+    //   path: '/outpatientCharges/advancePayment',
29
+    //   component: () => import('@/xt_pages/outpatientCharges/advancePayment'),
30
+    //   name: 'advancePayment',
31
+    //   meta: { title: 'advancePayment', noCache: true }
32
+    // },
33
+    // {
34
+    //   path: '/outpatientCharges/labelPrinting',
35
+    //   component: () => import('@/xt_pages/outpatientCharges/labelPrinting'),
36
+    //   name: 'labelPrinting',
37
+    //   meta: { title: 'labelPrinting', noCache: true }
38
+    // },
39
+    {
40
+      path: '/hospitalCharges/summary',
41
+      component: () => import('@/xt_pages/hospitalStation/summary'),
42
+      name: 'summary',
43
+      meta: { title: 'summary', noCache: true }
44
+    },
45
+    // {
46
+    //   path: '/outpatientCharges/incomeStatistics',
47
+    //   component: () => import('@/xt_pages/outpatientCharges/incomeStatistics'),
48
+    //   name: 'incomeStatistics',
49
+    //   meta: { title: 'incomeStatistics', noCache: true }
50
+    // },
51
+    // {
52
+    //     path: '/outpatientCharges/costComparison',
53
+    //     component: () => import('@/xt_pages/outpatientCharges/costComparison'),
54
+    //     name: 'costComparison',
55
+    //     meta: { title: 'costComparison', noCache: true }
56
+    // },
57
+    {
58
+      path: '/hospitalCharges/summaryDetail',
59
+      component: () => import('@/xt_pages/hospitalStation/summaryDetail'),
60
+      hidden: true,
61
+      is_menu: false,
62
+      name: 'summaryDetail',
63
+      meta: { title: 'summaryDetail', noCache: true }
64
+    },
65
+    {
66
+      path: '/outpatientCharges/treatPrint',
67
+      component: () => import('@/xt_pages/outpatientCharges/treatPrint'),
68
+      hidden: true,
69
+      is_menu: false,
70
+      name: 'outpatientChargesTreatPrint',
71
+      meta: { title: 'outpatientChargesTreatPrint', noCache: true }
72
+    },
73
+    {
74
+      path: '/outpatientCharges/print',
75
+      component: () => import('@/xt_pages/outpatientCharges/print'),
76
+      hidden: true,
77
+      is_menu: false,
78
+      name: 'outpatientChargesPrint',
79
+      meta: { title: 'outpatientChargesPrint', noCache: true }
80
+    },
81
+  ]
82
+}

+ 23 - 0
src/router/modules/hospitalRecord.js Bestand weergeven

@@ -0,0 +1,23 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/hospitalRecord',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'hospitalRecord',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'hospitalRecord',
11
+    icon: 'hospitalRecord',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+      path: '/hospitalRecord/index',
17
+      component: () => import('@/xt_pages/hospitalStation/index'),
18
+      name: 'hospitalIndex',
19
+      meta: { title: 'hospitalIndex', noCache: true }
20
+    },
21
+
22
+  ]
23
+}

+ 5 - 10
src/router/modules/hospitalStation.js Bestand weergeven

@@ -12,12 +12,7 @@ export default {
12 12
     isChild: true
13 13
   },
14 14
   children: [
15
-    {
16
-      path: '/hospitalStation/index',
17
-      component: () => import('@/xt_pages/hospitalStation/index'),
18
-      name: 'hospitalIndex',
19
-      meta: { title: 'hospitalIndex', noCache: true }
20
-    },
15
+
21 16
     {
22 17
       path: '/hospitalStation/doctorDesk',
23 18
       component: () => import('@/xt_pages/hospitalStation/doctorDesk'),
@@ -25,10 +20,10 @@ export default {
25 20
       meta: { title: 'outpatientDoctorStationDoctorDesk', noCache: true }
26 21
     },
27 22
     {
28
-      path: '/hospitalStation/outpatientChargesManagement',
29
-      component: () => import('@/xt_pages/hospitalStation/outpatientChargesManagement'),
30
-      name: 'hospitalChargesManagement',
31
-      meta: { title: 'hospitalChargesManagement', noCache: true }
23
+      path: '/hospitalStation/pastInquiries',
24
+      component: () => import('@/xt_pages/hospitalStation/pastInquiries'),
25
+      name: 'pastInquiries',
26
+      meta: { title: 'pastInquiries', noCache: true }
32 27
     },
33 28
 
34 29
     // {

+ 6 - 6
src/router/modules/outpatientCharges.js Bestand weergeven

@@ -48,12 +48,12 @@ export default {
48 48
         name: 'incomeStatistics',
49 49
         meta: { title: 'incomeStatistics', noCache: true }
50 50
     },
51
-    {
52
-        path: '/outpatientCharges/costComparison',
53
-        component: () => import('@/xt_pages/outpatientCharges/costComparison'),
54
-        name: 'costComparison',
55
-        meta: { title: 'costComparison', noCache: true }
56
-    },
51
+    // {
52
+    //     path: '/outpatientCharges/costComparison',
53
+    //     component: () => import('@/xt_pages/outpatientCharges/costComparison'),
54
+    //     name: 'costComparison',
55
+    //     meta: { title: 'costComparison', noCache: true }
56
+    // },
57 57
     {
58 58
         path: '/outpatientCharges/summaryDetail',
59 59
         component: () => import('@/xt_pages/outpatientCharges/summaryDetail'),

+ 16 - 16
src/router/modules/outpatientDoctorStation.js Bestand weergeven

@@ -24,22 +24,22 @@ export default {
24 24
         name: 'outpatientDoctorStationPastInquiries',
25 25
         meta: { title: 'outpatientDoctorStationPastInquiries', noCache: true }
26 26
     },
27
-    {
28
-      path: '/outpatientDoctorStation/prescriptionTemplate',
29
-      component: () => import('@/xt_pages/outpatientDoctorStation/prescriptionTemplate'),
30
-      name: 'prescriptionTemplate',
31
-      meta: { title: 'prescriptionTemplate', noCache: true }
32
-    },
33
-
34
-    {
35
-      path: '/outpatientDoctorStation/prescriptionTemplatedetail',
36
-      component: () => import('@/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail'),
37
-      name: 'prescriptionTemplatedetail',
38
-      hidden: true,
39
-      is_menu: false,
40
-      meta: { title: 'prescriptionTemplatedetail', noCache: true }
41
-    },
42
-
27
+    // {
28
+    //   path: '/outpatientDoctorStation/prescriptionTemplate',
29
+    //   component: () => import('@/xt_pages/outpatientDoctorStation/prescriptionTemplate'),
30
+    //   name: 'prescriptionTemplate',
31
+    //   meta: { title: 'prescriptionTemplate', noCache: true }
32
+    // },
33
+    //
34
+    // {
35
+    //   path: '/outpatientDoctorStation/prescriptionTemplatedetail',
36
+    //   component: () => import('@/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail'),
37
+    //   name: 'prescriptionTemplatedetail',
38
+    //   hidden: true,
39
+    //   is_menu: false,
40
+    //   meta: { title: 'prescriptionTemplatedetail', noCache: true }
41
+    // },
42
+    //
43 43
 
44 44
 
45 45
     {

+ 1 - 1
src/views/layout/Layout.vue Bestand weergeven

@@ -123,7 +123,7 @@ export default {
123 123
   },
124 124
   created(){
125 125
     console.log('permission_routers',this.permission_routers);
126
-    let menzhen = ['hospitalStation','outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord',];
126
+    let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","hisTool",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
127 127
     let bingli = ['User','createPatient'];
128 128
     let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control'];
129 129
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','otherManagement'];

+ 1 - 1
src/views/layout/components/Sidebar/index.vue Bestand weergeven

@@ -69,7 +69,7 @@ export default {
69 69
     navTitle:{
70 70
       handler(newVal,oldVal){
71 71
         if(newVal == 'HIS管理'){
72
-          let nameArr = ['hospitalStation','outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord',];
72
+          let nameArr = ['hospitalStation','hospitalRecord','hospitalCharges','hisTool','outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord',];
73 73
           // console.log('permission_routers',this.permission_routers)
74 74
           let routerArr = [];
75 75
           this.permission_routers.map(item => {

+ 1 - 0
src/xt_pages/hospitalStation/index.vue Bestand weergeven

@@ -557,6 +557,7 @@
557 557
                   // this.$refs.register.hide()
558 558
                   return false
559 559
                 } else {
560
+                  this.loadingone = false
560 561
                   that.$message({ message: '登记成功', type: 'success' })
561 562
                   that.form.name = ''
562 563
                   that.form.certificates = ''