From 4977b1a80db993fc09f91e5d3d02635348d5b47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com> Date: Thu, 2 Nov 2023 13:29:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/archives/cosmetics.js | 8 + src/api/archives/toLogin.js | 4 +- src/permission.js | 1 + src/router/index.js | 7 + .../productsMsg/components/productInfo.vue | 18 +- src/views/productsMsg/index.vue | 2 +- src/views/productsMsg/zyzj.vue | 357 ++++++++++++++++++ 7 files changed, 382 insertions(+), 15 deletions(-) create mode 100644 src/views/productsMsg/zyzj.vue diff --git a/src/api/archives/cosmetics.js b/src/api/archives/cosmetics.js index 134562e..110475e 100644 --- a/src/api/archives/cosmetics.js +++ b/src/api/archives/cosmetics.js @@ -54,6 +54,14 @@ export default { params: query, }); }, + //分页条件查询药品批件数据 + deasCorpTcmpFiling(query) { + return request({ + url: "/pharmaceuticals/deasCorpTcmpFiling", + method: "GET", + params: query, + }); + }, } diff --git a/src/api/archives/toLogin.js b/src/api/archives/toLogin.js index 5449c5d..c74becf 100644 --- a/src/api/archives/toLogin.js +++ b/src/api/archives/toLogin.js @@ -3,8 +3,8 @@ export default { // 登录 frimLogin() { return request({ - // baseURL: process.env.VUE_APP_USER_LOGIN, - url: "/pharmaceuticals/login", + baseURL: process.env.VUE_APP_USER_LOGIN, + // url: "/pharmaceuticals/login", headers: { "Content-Type": "application/json", isToken: true, diff --git a/src/permission.js b/src/permission.js index 8c608de..31ede5c 100644 --- a/src/permission.js +++ b/src/permission.js @@ -18,6 +18,7 @@ const whiteList = [ "/cosmeticsArchives", "/cosmeticsDetail", "/health", + "/zyzj", ]; NProgress.configure({ showSpinner: false }); router.beforeEach((to, from, next) => { diff --git a/src/router/index.js b/src/router/index.js index 56764ed..d1fc9eb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -95,6 +95,13 @@ export const constantRoutes = [ component: () => import("@/views/productsMsg/components/health.vue"), meta: { title: "医疗器械档案", }, }, + { + path: "/zyzj", + name: "zyzj", + icon: require("@/assets/images/tree4.svg"), + component: () => import("@/views/productsMsg/zyzj.vue"), + meta: { title: "传统中药制剂档案", }, + }, ] }, //可以按着若依的思路来写,把菜单全部都设置成一级路由,然后有下拉选择框的去进行区别判断设置成二级子路由 diff --git a/src/views/productsMsg/components/productInfo.vue b/src/views/productsMsg/components/productInfo.vue index 1f52488..33f4967 100644 --- a/src/views/productsMsg/components/productInfo.vue +++ b/src/views/productsMsg/components/productInfo.vue @@ -2,12 +2,7 @@
- +
+ +