From e764c12f0e258ff0ab2ba555cfd805f82ddcff92 Mon Sep 17 00:00:00 2001 From: dhy1725534722 <1725534722@qq.com> Date: Sun, 6 Aug 2023 21:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/cosmetics/index.js | 7 + src/api/index.js | 2 + src/api/yaoPin/index.js | 26 + src/components/Pagination/index.vue | 112 +-- src/store/modules/app.js | 7 +- .../components/descriptions/index.vue | 2 +- .../firmContent/components/table/index.vue | 45 ++ .../drugInfo/PZchouyang/PZchouyang.vue | 693 +++++++++++++----- .../PZchouyang/basicInfo/basicInfo.vue | 597 +++++++++++---- .../drugInfo/PZchouyang/chouYang/chouYang.vue | 365 +++------ .../drugInfo/drugBasicInfo/drugBasicInfo.vue | 125 +++- 11 files changed, 1308 insertions(+), 673 deletions(-) create mode 100644 src/api/yaoPin/index.js create mode 100644 src/views/firmContent/components/table/index.vue diff --git a/src/api/cosmetics/index.js b/src/api/cosmetics/index.js index 603e8de..191be76 100644 --- a/src/api/cosmetics/index.js +++ b/src/api/cosmetics/index.js @@ -28,4 +28,11 @@ export default { method: "get", }) }, + //通过批准文号查询单条药品批件信息 + getYaoPin(e){ + return request({ + url: `/pharmaceuticals/vRdgYpwhGxwz/${e}`, + method: "get", + }) + } } \ No newline at end of file diff --git a/src/api/index.js b/src/api/index.js index a40391a..eb6370f 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,7 +1,9 @@ // 召回 import frimCenter from "./Myapi/frimCenter/index.js"; import cosmetics from './cosmetics/index.js' +import yaoPin from './yaoPin/index.js' export default { frimCenter, cosmetics, + yaoPin }; diff --git a/src/api/yaoPin/index.js b/src/api/yaoPin/index.js new file mode 100644 index 0000000..65963c8 --- /dev/null +++ b/src/api/yaoPin/index.js @@ -0,0 +1,26 @@ +import request from "@/utils/request"; +export default { + //分页条件查询国家药品抽检数据-抽样信息表 + getYPList(query) { + return request({ + url: `/pharmaceuticals/gjypcjsjCyxxb`, + method: "get", + params:query + }) + }, + //通过主键查询单条国家药品抽检数据-抽样信息表 + getSingle(id){ + return request({ + url: `/pharmaceuticals/gjypcjsjCyxxb/${id}`, + method: "get", + }) + }, + //分页条件查询国家药品抽检数据-检验项目表 + jyList(query){ + return request({ + url: `/pharmaceuticals/gjypcjsjJyxmb`, + method: "get", + params:query + }) + } +} \ No newline at end of file diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue index 56f5a6b..cb95d5a 100644 --- a/src/components/Pagination/index.vue +++ b/src/components/Pagination/index.vue @@ -1,113 +1,127 @@ + \ No newline at end of file diff --git a/src/views/firmContent/drugInfo/PZchouyang/PZchouyang.vue b/src/views/firmContent/drugInfo/PZchouyang/PZchouyang.vue index 6c3b1be..b5580a8 100644 --- a/src/views/firmContent/drugInfo/PZchouyang/PZchouyang.vue +++ b/src/views/firmContent/drugInfo/PZchouyang/PZchouyang.vue @@ -10,32 +10,27 @@ border > - + + - + @@ -52,17 +47,9 @@ header-align="center" > - + - + - + + +
-
- +
基本信息
-
- - 品种抽样 +
+ 检验项目
- + - + - + - + - + - +
diff --git a/src/views/firmContent/drugInfo/PZchouyang/chouYang/chouYang.vue b/src/views/firmContent/drugInfo/PZchouyang/chouYang/chouYang.vue index 995c7eb..44fb7a8 100644 --- a/src/views/firmContent/drugInfo/PZchouyang/chouYang/chouYang.vue +++ b/src/views/firmContent/drugInfo/PZchouyang/chouYang/chouYang.vue @@ -1,290 +1,121 @@