diff --git a/src/App.vue b/src/App.vue index e66704d..d11c4fb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,6 +5,7 @@ @@ -53,6 +52,7 @@ export default { width: 0 !important; } ::-webkit-scrollbar { - width: 0 !important;height: 0; + width: 0 !important; + height: 0; } diff --git a/src/api/cosmetics/index.js b/src/api/cosmetics/index.js index 603e8de..f61b7fe 100644 --- a/src/api/cosmetics/index.js +++ b/src/api/cosmetics/index.js @@ -28,4 +28,18 @@ export default { method: "get", }) }, + //通过批准文号查询单条药品批件信息 + getYaoPin(e){ + return request({ + url: `/pharmaceuticals/vRdgYpwhGxwz/${e}`, + method: "get", + }) + }, + //通过注册证编号查询单条器械品种数据 + getQiXie(e){ + return request({ + url: `/pharmaceuticals/ylqxJnyelcp/${e}`, + method: "get", + }) + } } \ No newline at end of file diff --git a/src/api/index.js b/src/api/index.js index a01f69d..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..01a89c7 100644 --- a/src/views/firmContent/drugInfo/PZchouyang/PZchouyang.vue +++ b/src/views/firmContent/drugInfo/PZchouyang/PZchouyang.vue @@ -1,5 +1,31 @@ diff --git a/src/views/firmContent/drugInfo/PZchouyang/basicInfo/basicInfo.vue b/src/views/firmContent/drugInfo/PZchouyang/basicInfo/basicInfo.vue index e8e1bde..f0ffca6 100644 --- a/src/views/firmContent/drugInfo/PZchouyang/basicInfo/basicInfo.vue +++ b/src/views/firmContent/drugInfo/PZchouyang/basicInfo/basicInfo.vue @@ -1,152 +1,473 @@ 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 @@ diff --git a/src/views/firmContent/drugInfo/index.vue b/src/views/firmContent/drugInfo/index.vue index d9e450e..848c8ee 100644 --- a/src/views/firmContent/drugInfo/index.vue +++ b/src/views/firmContent/drugInfo/index.vue @@ -3,9 +3,9 @@
- 药品通用名称: - 产品名称: - {{ name }} + {{ pruduct.key }} : + + {{ pruduct.value || '暂无' }}
{{ item.name }} @@ -33,7 +33,7 @@
-
+
- +
@@ -88,21 +88,7 @@ export default { name:'疗效显著' }, ], - options:[ - { - value:0, - label:'国抽' - },{ - value:1, - label:'省抽' - }, - ], - value:'', action:1, - // action == 3 报告编号 ⌈ 输入框绑定的值 ⌋ - number:'', - // action == 2抽样编号/action == 3患者姓名 ⌈ 输入框绑定的值 ⌋ - name:'', currentComponent:'basicInfo', drugExitStyle:{ height:'', @@ -111,9 +97,11 @@ export default { goback:true, id:null, token:null, - isYppzwh:false, - isHzp:false, - isTsHzp:false, + //产品名称 + pruduct:{ + key:'某某产品', + value:'-' + } } }, components:{ @@ -122,6 +110,11 @@ export default { adverseReaction }, methods:{ + //获取名称 + getCPName(e){ + this.pruduct.key = e.key + this.pruduct.value = e.value + }, goBack(){ this.$router.go(-1) }, @@ -148,12 +141,6 @@ export default { // this.$router.push({ name:'adverseReaction' }) } }, - inquire(){ - // this.isOne = true; - }, - reset(){ - // this.isOne = false; - }, getHeight(){ let dom = document.getElementsByClassName('drug-exit'); let height = dom[0].getBoundingClientRect(); @@ -348,75 +335,7 @@ export default { } } } - .drug-input { - background: #F5F9FC; - padding: vh(40) vw(22); - display: flex; - align-items: center; - .inputs { - display: flex; - align-items: center; - .rank , .number { - display: flex; - align-items: center; - .input--label { - font-size: vw(16); - font-family: Source Han Sans CN; - font-weight: 400; - color: #6A6C6F; - } - ::v-deep .el-input__inner { - width: vw(386); - height: vw(40); - border-radius: vw(2); - } - ::v-deep .el-select__caret::before { - line-height: vw(40); - } - } - .number { - margin-left: vw(39); - } - } - .search-btns { - margin-left: vw(40); - display: flex; - align-items: center; - .inquire { - display: flex; - justify-content: center; - align-items: center; - border: none; - width: vw(64); - height: vh(40); - background: #1e80eb; - border-radius: vw(4); - font-size: vw(16); - font-family: Source Han Sans CN; - font-weight: 400; - color: #ffffff; - line-height: vh(50); - margin-left: vw(10); - cursor: pointer; - } - .reset { - display: flex; - justify-content: center; - align-items: center; - width: vw(64); - height: vh(40); - border: vw(1) solid #1e80eb; - border-radius: vw(4); - background-color: #fff; - font-size: vw(16); - font-family: Source Han Sans CN; - font-weight: 400; - color: #1e80eb; - line-height: vh(50); - cursor: pointer; - } - } - } + .drug-exit { margin-top: vh(25); padding-bottom: vw(20);