Browse Source

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

csx 4 years ago
parent
commit
19bbac4d5c

+ 14 - 10
src/lang/zh.js View File

@@ -62,13 +62,13 @@ export default {
62 62
     clipboardDemo: 'Clipboard',
63 63
     i18n: '国际化',
64 64
     medicalScheduling:'医护排班',
65
-    medicalSchedulingIndex:'医护排班',
65
+    medicalSchedulingIndex:'排班管理',
66 66
     class:'班种列表',
67 67
     schedulingStatistics:'排班统计',
68 68
     permissionManage: '权限管理',
69 69
     adminManage: '员工管理',
70 70
     roleManage: '权限管理',
71
-    dialysis: '透析管理',
71
+    dialysis: '透析监控',
72 72
     paper: '透析管理',
73 73
     advice: '今日医嘱',
74 74
     prepare: '透析准备',
@@ -77,17 +77,17 @@ export default {
77 77
     data_dictionary: '数据字典',
78 78
     specialDictionary: '专项字典',
79 79
     field_config: '字段配置',
80
-    template: '模版配置',
80
+    template: '数据模版',
81 81
     druguse: '医嘱模版',
82 82
     watch: '透析监测',
83 83
     addAdmin: '新增用户',
84 84
     editAdmin: '编辑用户信息',
85 85
     setupPerview: '设置权限',
86
-    user: '病人管理',
87
-    createPatient: '新增病人',
86
+    user: '患者中心',
87
+    createPatient: '新增患者',
88 88
     patientPage: '病人信息',
89 89
     editPatient: '修改病人信息',
90
-    patient: '病人管理',
90
+    patient: '患者中心',
91 91
     dialysisSolution: '透析处方',
92 92
     inspection: '检验检查',
93 93
     home: '首页',
@@ -119,7 +119,7 @@ export default {
119 119
     completeOrder: '购买结果',
120 120
     orderRecord: '订单详情',
121 121
     recordList: '订单记录',
122
-    stockManage: '库存管理',
122
+    stockManage: '耗材管理',
123 123
     goodType: '商品类型',
124 124
     stockIn: '入库管理',
125 125
     stockOut: '出库管理',
@@ -149,7 +149,8 @@ export default {
149 149
     RescueRecord: '抢救记录',
150 150
     special_permission_manage: '特殊权限管理',
151 151
     schedule_print: '排班打印',
152
-
152
+    
153
+    otherManagement:'其他管理',
153 154
     drugsExpiryDate:'药品有效期预警',
154 155
     drugsSurplus:'药品剩余预警',
155 156
     drugsQuery:'明细查询',
@@ -195,7 +196,7 @@ export default {
195 196
     upload_config: '质控上报配置',
196 197
     quality_control: '质控上报',
197 198
     remind_print: '排版提醒打印',
198
-    system_prescription: '透析方案',
199
+    system_prescription: '处方模版',
199 200
     integration_config: '集成配置',
200 201
     his_config: 'HIS集成配置',
201 202
 
@@ -226,6 +227,9 @@ export default {
226 227
     lineUp:'排队窗口',
227 228
     otherManagement:'其他管理',
228 229
     calling:'排队叫号',
230
+    bedManagement:'床位管理',
231
+    dictionaryManagement:'字典管理',
232
+    templateManagement:'模板管理',
229 233
 
230 234
   },
231 235
   navbar: {
@@ -318,7 +322,7 @@ export default {
318 322
   data_config: {
319 323
     patient: '病人管理',
320 324
     scheduling: '排班管理',
321
-    device: '设备管理',
325
+    device: '院感管理',
322 326
     hemodialysis: '血透管理',
323 327
     system: '系统配置',
324 328
     education: '透后宣教',

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

@@ -39,6 +39,9 @@ import dataPrescription from './modules/dataPrescription'
39 39
 import dataDruguse from './modules/dataDruguse'
40 40
 import dataShowconfig from './modules/dataShowconfig'
41 41
 import dataPrint from './modules/dataPrint'
42
+import bedManagement from './modules/bedManagement'
43
+import dictionaryManagement from './modules/dictionaryManagement'
44
+import templateManagement from './modules/templateManagement'
42 45
 
43 46
 Vue.use(Router)
44 47
 
@@ -132,8 +135,11 @@ var _asy_router_map = [
132 135
   integration,
133 136
   systems,
134 137
   roleManage,
135
-  dataDictionary,
136
-  specialDictionary,
138
+  bedManagement,
139
+  dictionaryManagement,
140
+  templateManagement,
141
+  // dataDictionary,
142
+  // specialDictionary,
137 143
   dataTemplate,
138 144
   dataPrescription,
139 145
   dataDruguse,

+ 46 - 0
src/router/modules/bedManagement.js View File

@@ -0,0 +1,46 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/bedManagement',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'bedManagement',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'bedManagement',
11
+    icon: 'bedManagement',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+        path: '/device/groups',
17
+        component: () => import('@/xt_pages/device/group_main'),
18
+        name: 'deviceGroupManage',
19
+        meta: {
20
+          title: 'deviceGroupManage',
21
+          noCache: true,
22
+  
23
+        }
24
+    },
25
+    {
26
+        path: '/device/zones',
27
+        component: () => import('@/xt_pages/device/zone_main'),
28
+        name: 'deviceZoneManage',
29
+        meta: {
30
+          title: 'deviceZoneManage',
31
+          noCache: true,
32
+  
33
+        }
34
+    }, 
35
+    {
36
+        path: '/device/numbers',
37
+        component: () => import('@/xt_pages/device/number_main'),
38
+        name: 'deviceNumberManage',
39
+        meta: {
40
+          title: 'deviceNumberManage',
41
+          noCache: true,
42
+  
43
+        }
44
+    },
45
+  ]
46
+}

+ 7 - 35
src/router/modules/device.js View File

@@ -13,32 +13,14 @@ export default {
13 13
     title: 'deviceManage',
14 14
     icon: 'shebei'
15 15
   },
16
-  children: [{
17
-      path: '/device/zones',
18
-      component: () => import('@/xt_pages/device/zone_main'),
19
-      name: 'deviceZoneManage',
20
-      meta: {
21
-        title: 'deviceZoneManage',
22
-        noCache: true,
23
-
24
-      }
25
-    },
26
-    {
27
-      path: '/device/groups',
28
-      component: () => import('@/xt_pages/device/group_main'),
29
-      name: 'deviceGroupManage',
30
-      meta: {
31
-        title: 'deviceGroupManage',
32
-        noCache: true,
33
-
34
-      }
35
-    },
16
+  children: [
36 17
     {
37
-      path: '/device/numbers',
38
-      component: () => import('@/xt_pages/device/number_main'),
39
-      name: 'deviceNumberManage',
18
+      path: '/device/main',
19
+      component: () => import('@/xt_pages/management/index'),
20
+      // component: () => import("@/xt_pages/device/main"),
21
+      name: 'dialysisMachineManage',
40 22
       meta: {
41
-        title: 'deviceNumberManage',
23
+        title: 'dialysisMachineManage',
42 24
         noCache: true,
43 25
 
44 26
       }
@@ -53,17 +35,7 @@ export default {
53 35
 
54 36
       }
55 37
     },
56
-    {
57
-      path: '/device/main',
58
-      component: () => import('@/xt_pages/management/index'),
59
-      // component: () => import("@/xt_pages/device/main"),
60
-      name: 'dialysisMachineManage',
61
-      meta: {
62
-        title: 'dialysisMachineManage',
63
-        noCache: true,
64
-
65
-      }
66
-    },
38
+    
67 39
     {
68 40
       path: '/device/home',
69 41
       component: () => import('@/xt_pages/management/home'),

+ 36 - 0
src/router/modules/dictionaryManagement.js View File

@@ -0,0 +1,36 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/dictionaryManagement',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'dictionaryManagement',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'dictionaryManagement',
11
+    icon: 'dictionaryManagement',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+        path: '/data/dictionary',
17
+        component: () => import('@/xt_pages/data/index'),
18
+        name: 'dictionary',
19
+        meta: {
20
+          title: 'data_dictionary',
21
+          noCache: true,
22
+    
23
+        }
24
+    },
25
+    {
26
+        path: '/data/specialDictionary',
27
+        component: () => import('@/xt_pages/data/specialDictionary'),
28
+        name: 'specialDictionary',
29
+        meta: {
30
+          title: 'specialDictionary',
31
+          noCache: true,
32
+    
33
+        }
34
+    }
35
+  ]
36
+}

+ 43 - 0
src/router/modules/templateManagement.js View File

@@ -0,0 +1,43 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+  path: '/templateManagement',
5
+  component: Layout,
6
+  redirect: 'noredirect',
7
+  name: 'templateManagement',
8
+  alwaysShow: true,
9
+  meta: {
10
+    title: 'templateManagement',
11
+    icon: 'templateManagement',
12
+    isChild: true
13
+  },
14
+  children: [
15
+    {
16
+        path: '/data/druguse',
17
+        component: () => import('@/xt_pages/data/druguseTemplate'),
18
+        name: 'druguse',
19
+        meta: {
20
+          title: 'druguse'
21
+        }
22
+    },
23
+    {
24
+        path: '/data/template',
25
+        component: () => import('@/xt_pages/data/template'),
26
+        name: 'template',
27
+        meta: {
28
+          title: 'template',
29
+          noCache: true,
30
+    
31
+        }
32
+    },
33
+    {
34
+        path: '/data/prescription',
35
+        component: () => import('@/xt_pages/data/prescription'),
36
+        name: 'prescription',
37
+        meta: {
38
+          title: 'system_prescription'
39
+        }
40
+    },
41
+    
42
+  ]
43
+}

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

@@ -255,6 +255,7 @@ export default {
255 255
     background: #1F2D3D;
256 256
     margin-top:50px;
257 257
     .navOne{
258
+      font-size:14px;
258 259
       width:80px;
259 260
       height:80px;
260 261
       color:#BFCBD9;

+ 4 - 4
src/views/layout/components/Sidebar/index.vue View File

@@ -11,7 +11,7 @@
11 11
       :default-active="$route.path"
12 12
       background-color="#f3f5f6"
13 13
       text-color="#000"
14
-      active-text-color="#000"
14
+      active-text-color="#409EFF"
15 15
     >
16 16
       <sidebar-item v-for="route in arr" :key="route.name" :item="route" :base-path="route.path"></sidebar-item>
17 17
     </el-menu>
@@ -48,7 +48,7 @@ export default {
48 48
   },
49 49
   created(){
50 50
     if(this.navTitle == '透析管理'){
51
-      let nameArr = ['workforce','dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'quality_control']
51
+      let nameArr = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control']
52 52
       // console.log('permission_routers',this.permission_routers)
53 53
       let routerArr = []
54 54
       this.permission_routers.map(item => {
@@ -103,7 +103,7 @@ export default {
103 103
             this.$emit('func',a)
104 104
           }
105 105
         }else if(newVal == '透析管理'){
106
-          let nameArr = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'quality_control']
106
+          let nameArr = ['workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control']
107 107
           // console.log('permission_routers',this.permission_routers)
108 108
           let routerArr = []
109 109
           this.permission_routers.map(item => {
@@ -138,7 +138,7 @@ export default {
138 138
             this.$emit('func',a)
139 139
           }
140 140
         }else if(newVal == '配置管理'){
141
-          let nameArr = ['system','roleManage','dictionary','specialDictionary','template','prescription','druguse','showconfig','printTemplate']
141
+          let nameArr = ['system','roleManage', 'bedManagement', 'dictionaryManagement', 'templateManagement','showconfig','printTemplate']
142 142
           // console.log('permission_routers',this.permission_routers)
143 143
           let routerArr = []
144 144
           this.permission_routers.map(item => {