From 20f1b5ed91801abd64c5b3d5707c859300a9aa94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com> Date: Wed, 24 Jan 2024 15:00:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 16 +- src/api/archives/cosmetics.js | 49 +- src/api/archives/updata.js | 11 + src/layout/components/AppMain.vue | 2 +- src/permission.js | 14 +- src/router/index.js | 79 +- src/store/modules/myselfPermission.js | 18 +- src/utils/request.js | 4 +- src/views/components/MapCars.vue | 23 +- src/views/components/MapCarsLog.vue | 562 +++++++++++++ src/views/index.vue | 119 ++- src/views/monitor/operlog/index.vue | 2 +- src/views/productsMsg/components/bapz.vue | 781 ++++++++++++++++++ .../components/cosmeticsArchives.vue | 645 +-------------- src/views/productsMsg/components/health.vue | 262 ++++-- src/views/productsMsg/components/stscpz.vue | 692 ++++++++++++++++ .../productsMsg/drugArchives/yaopinbapz.vue | 647 +++++++++++++++ .../productsMsg/drugArchives/yaopinstscpz.vue | 582 +++++++++++++ .../drugArchives/yaopinyuanliao.vue | 566 +++++++++++++ src/views/productsMsg/index.vue | 479 +---------- src/views/productsMsg/zyzj.vue | 64 +- vue.config.js | 5 +- 22 files changed, 4381 insertions(+), 1241 deletions(-) create mode 100644 src/views/components/MapCarsLog.vue create mode 100644 src/views/productsMsg/components/bapz.vue create mode 100644 src/views/productsMsg/components/stscpz.vue create mode 100644 src/views/productsMsg/drugArchives/yaopinbapz.vue create mode 100644 src/views/productsMsg/drugArchives/yaopinstscpz.vue create mode 100644 src/views/productsMsg/drugArchives/yaopinyuanliao.vue diff --git a/src/App.vue b/src/App.vue index 27a7a70..01b7299 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,7 @@ + diff --git a/src/views/index.vue b/src/views/index.vue index 7520832..cf60e76 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -6,21 +6,42 @@
- -
- - {{ item.meta.title }} +
+
+ + {{ item.meta.title }} +
-
- + --> + + + +
+ + + + {{ + itemb.meta.title }} + + + + + {{ item.meta.title }} + +
+
+
-
@@ -42,10 +63,17 @@ export default { computed: { //获取自定义路由 myRouter() { + console.log("路由", this.$store.state.myselfPermission.routerList); + return this.$store.state.myselfPermission.routerList.filter((item) => item.name != "portal"); // return this.$store.state.myselfPermission.routerList; //.slice(0,this.$store.state.myselfPermission.routerList.length-1) }, + activeMenu() { + // 返回当前激活的路由路径 + console.log(this.$route.path); + return this.$route.path; + }, }, created() { }, }; @@ -59,6 +87,12 @@ export default { margin-right: 10px; } +::v-deep .el-submenu.is-active { + background: none !important; + border-radius: 5px !important; + +} + ::v-deep .el-submenu__title { padding: 0 8px !important; } @@ -69,7 +103,8 @@ export default { } ::v-deep .el-menu-item-group .el-menu-item { - padding-left: 35px !important; + align-items: center; + margin-left: 20px !important; } ::v-deep .el-menu-item-group__title { @@ -89,12 +124,13 @@ export default { } .tree-menu { + overflow: hidden; background: #465970; width: 180px; box-sizing: border-box; padding: 14px 10px; - &>div { + .mydiv { width: 200px; height: 40px; display: flex; @@ -142,4 +178,69 @@ export default { font-weight: 600; } } + +::v-deep .el-menu { + border-right: none; + background: none; + + .router-icon { + display: inline-block; + height: 16px; + width: 16px; + margin-right: 6px; + } + + .el-submenu__title { + height: 40px; + line-height: 40px; + border-radius: 5px; + color: #ffffff; + + i { + color: #ffffff; + } + + &:hover { + background: #1e80eb; + border-radius: 5px; + } + + &:focus { + background: #1e80eb; + border-radius: 5px; + + } + } + + .is-active { + background: #1e80eb ; + border-radius: 5px ; + } + + .el-menu-item { + min-width: 0; + // display: flex; + align-items: center; + font-size: 16px; + font-weight: 400; + color: #ffffff; + padding: 0 10px; + margin-bottom: 5px; + height: 40px; + line-height: 40px; + + + + &:hover { + background: #1e80eb; + border-radius: 5px; + } + + &:focus { + background: #1e80eb; + border-radius: 5px; + + } + } +} \ No newline at end of file diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index 34a3ce3..5e9fbc4 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -103,7 +103,7 @@ - + diff --git a/src/views/productsMsg/components/bapz.vue b/src/views/productsMsg/components/bapz.vue new file mode 100644 index 0000000..18179ba --- /dev/null +++ b/src/views/productsMsg/components/bapz.vue @@ -0,0 +1,781 @@ + + + + + diff --git a/src/views/productsMsg/components/cosmeticsArchives.vue b/src/views/productsMsg/components/cosmeticsArchives.vue index 32a93a6..a3e0f08 100644 --- a/src/views/productsMsg/components/cosmeticsArchives.vue +++ b/src/views/productsMsg/components/cosmeticsArchives.vue @@ -1,621 +1,24 @@ - - - - - + + + + + diff --git a/src/views/productsMsg/components/health.vue b/src/views/productsMsg/components/health.vue index 2442007..1d46dd2 100644 --- a/src/views/productsMsg/components/health.vue +++ b/src/views/productsMsg/components/health.vue @@ -28,20 +28,30 @@ - + +
+ + + + + + +
+
+ - - + +
@@ -49,14 +59,14 @@
- +
- + @@ -66,7 +76,8 @@
- + @@ -85,7 +96,8 @@
- + @@ -95,7 +107,8 @@
- + @@ -105,7 +118,8 @@
- + @@ -117,7 +131,8 @@
- + @@ -128,22 +143,14 @@
- +
- -
- - - - - -
-
@@ -153,7 +160,7 @@
- +
审评受理信息查询:
@@ -172,7 +179,7 @@
- +
注册检验、体系核查信息查询:
@@ -190,7 +197,7 @@
- + @@ -207,7 +214,7 @@ - +
临床试验信息查询:
@@ -225,13 +232,65 @@
- + + + +
产品抽检信息查询:
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
不良事件信息查询:
+ + + + + + +
+ + + +
+
+ + + + + + +
重置 @@ -252,38 +311,46 @@
产品列表
+ +
+
{{ item.label + }}
+
导出
- - + + - + - - - - - - - - + + + + - + - + + + + + - + + +