From 4e004fc38e7b92f76cfd326c030092f61890a412 Mon Sep 17 00:00:00 2001 From: duan Date: Tue, 9 Aug 2022 18:07:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/client):=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=9F=9C=E4=BD=93=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reagent/client.js | 10 ++ src/icons/svg/仪器数据.svg | 15 +++ src/icons/svg/分配禁用用户.svg | 15 +++ src/icons/svg/柜体管理.svg | 15 +++ src/icons/svg/用户信息.svg | 15 +++ src/icons/svg/角色信息.svg | 15 +++ src/icons/svg/返回主界面.svg | 15 +++ src/router/modules/reagent.js | 13 ++ src/router/modules/user.js | 4 +- src/views/reagent/client/index.vue | 169 ++++++++++++++++++++++++ src/views/reagent/warehousing/index.vue | 2 +- 11 files changed, 285 insertions(+), 3 deletions(-) create mode 100644 src/api/reagent/client.js create mode 100644 src/icons/svg/仪器数据.svg create mode 100644 src/icons/svg/分配禁用用户.svg create mode 100644 src/icons/svg/柜体管理.svg create mode 100644 src/icons/svg/用户信息.svg create mode 100644 src/icons/svg/角色信息.svg create mode 100644 src/icons/svg/返回主界面.svg create mode 100644 src/views/reagent/client/index.vue diff --git a/src/api/reagent/client.js b/src/api/reagent/client.js new file mode 100644 index 0000000..64b898c --- /dev/null +++ b/src/api/reagent/client.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// /api/client/get_list +export function get_list(data) { + return request({ + url: '/api/client/get_list', + method: 'post', + data + }) +} diff --git a/src/icons/svg/仪器数据.svg b/src/icons/svg/仪器数据.svg new file mode 100644 index 0000000..b0c5898 --- /dev/null +++ b/src/icons/svg/仪器数据.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/icons/svg/分配禁用用户.svg b/src/icons/svg/分配禁用用户.svg new file mode 100644 index 0000000..cb5401d --- /dev/null +++ b/src/icons/svg/分配禁用用户.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/icons/svg/柜体管理.svg b/src/icons/svg/柜体管理.svg new file mode 100644 index 0000000..8c03462 --- /dev/null +++ b/src/icons/svg/柜体管理.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/icons/svg/用户信息.svg b/src/icons/svg/用户信息.svg new file mode 100644 index 0000000..9e7bc8e --- /dev/null +++ b/src/icons/svg/用户信息.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/icons/svg/角色信息.svg b/src/icons/svg/角色信息.svg new file mode 100644 index 0000000..660c834 --- /dev/null +++ b/src/icons/svg/角色信息.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/icons/svg/返回主界面.svg b/src/icons/svg/返回主界面.svg new file mode 100644 index 0000000..c7fa8e4 --- /dev/null +++ b/src/icons/svg/返回主界面.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/router/modules/reagent.js b/src/router/modules/reagent.js index 822d39e..feb181a 100644 --- a/src/router/modules/reagent.js +++ b/src/router/modules/reagent.js @@ -187,6 +187,19 @@ const reagentRouter = [ } ] }, + { + path: '/reagent/client', + component: Layout, + meta: { classification: 'reagent' }, + children: [ + { + path: 'index', + name: 'Client', + component: () => import('@/views/reagent/client/index'), + meta: { title: '柜体管理', icon: '柜体管理', classification: 'reagent' } + } + ] + }, { path: '/reagent/buy', component: Layout, diff --git a/src/router/modules/user.js b/src/router/modules/user.js index 4d42590..29396dc 100644 --- a/src/router/modules/user.js +++ b/src/router/modules/user.js @@ -18,7 +18,7 @@ const userRouter = [ path: 'index', component: () => import('@/views/user/index'), name: 'UserInfo', - meta: { title: '用户信息', icon: 'lock', classification: 'user' } + meta: { title: '用户信息', icon: '用户信息', classification: 'user' } } ] }, @@ -31,7 +31,7 @@ const userRouter = [ path: 'index', component: () => import('@/views/user/role/index'), name: 'Role', - meta: { title: '角色信息', icon: 'lock', classification: 'user' } + meta: { title: '角色信息', icon: '角色信息', classification: 'user' } } ] }, diff --git a/src/views/reagent/client/index.vue b/src/views/reagent/client/index.vue new file mode 100644 index 0000000..d88d552 --- /dev/null +++ b/src/views/reagent/client/index.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/views/reagent/warehousing/index.vue b/src/views/reagent/warehousing/index.vue index 8fbec04..078007c 100644 --- a/src/views/reagent/warehousing/index.vue +++ b/src/views/reagent/warehousing/index.vue @@ -15,7 +15,7 @@ 选择试剂入库 绑定入库 + 新增试剂模板 - 试剂模板 + 编辑试剂模板 打印模板条码 导入入库模板