更新 药品,医疗器械侧边栏名称

master
李劲龙 1 year ago
parent b2c1855816
commit ac83569c9f

@ -5,11 +5,11 @@ VUE_APP_TITLE = 产品档案管理系统
ENV = 'production' ENV = 'production'
# 检查员管理系统/生产环境 # 检查员管理系统/生产环境
VUE_APP_BASE_API = '/ggfw-api' VUE_APP_BASE_API = '/api/ggfw/ggfw-api'
#外网(部署104、105服务器) #外网(部署104、105服务器)
# VUE_APP_BASE_API2 = '/api/inspector/inspector' # VUE_APP_BASE_API2 = '/api/inspector/inspector'
VUE_APP_BASE_API2 = '/ggfw-api' VUE_APP_BASE_API2 = '/api/ggfw/ggfw-api'
#调用外部接口 #调用外部接口
VUE_APP_BASE_API3 = '/api/admin' VUE_APP_BASE_API3 = '/api/admin'
#本地文件下载路径 #本地文件下载路径

@ -33,7 +33,7 @@ export default {
// renderDom: "#app", // renderDom: "#app",
// resize: true // resize: true
// }, false) // // }, false) //
//! getselfInfo //! getselfInfo
/* npm run build:prod /* npm run build:prod
sudo mv ggfw-dangan.zip /usr/share/nginx/html/ggfw-dangan MSSM-Dev 文件夹下 移动压缩包到 ggfw文件夹下 sudo mv ggfw-dangan.zip /usr/share/nginx/html/ggfw-dangan MSSM-Dev 文件夹下 移动压缩包到 ggfw文件夹下
@ -70,7 +70,7 @@ export default {
} }
::placeholder { ::placeholder {
color: #000 !important; color: #010 !important;
/* 这里替换为您希望的颜色值 */ /* 这里替换为您希望的颜色值 */
} }
@ -80,6 +80,7 @@ export default {
.el-input__inner { .el-input__inner {
width: 100%; width: 100%;
color: #000;
} }
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell { .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {

@ -3,7 +3,7 @@ import request from "@/utils/request";
//获取用户信息 //获取用户信息
export function getselfInfo() { export function getselfInfo() {
return request({ return request({
// baseURL: location.origin, baseURL: location.origin,
url: "/api/admin/user/getSelfInfo", url: "/api/admin/user/getSelfInfo",
method: "GET", method: "GET",
}); });

@ -67,44 +67,50 @@ export const constantRoutes = [
redirect: "drugArchives", redirect: "drugArchives",
isDiy: true, isDiy: true,
children: [ children: [
{ {
path: "/drugArchives", path: "/drugArchives",
name: "drugArchives", name: "drugArchives",
redirect: '/drugArchives/yaopinbapz',
icon: require("@/assets/images/tree4.svg"), icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/index.vue"), component: () => import("@/views/productsMsg/index.vue"),
meta: { title: "药品档案", keepAlive: true }, meta: { title: "药品档案", keepAlive: true },
redirect: '/drugArchives/yaopinbapz',
children: [ children: [
{ {
path: "/drugArchives/yaopinbapz", path: "/drugArchives/yaopinbapz",
name: "yaopinbapz", name: "yaopinbapz",
icon: require("@/assets/images/tree4.svg"), icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/drugArchives/yaopinbapz.vue"), component: () => import("@/views/productsMsg/drugArchives/yaopinbapz.vue"),
meta: { title: "注册备案品种", keepAlive: true,}, meta: { title: "本省持有品种", keepAlive: true, },
}, { }, {
path: "/drugArchives/yaopinstscpz", path: "/drugArchives/yaopinstscpz",
name: "yaopinstscpz", name: "yaopinstscpz",
icon: require("@/assets/images/tree4.svg"), icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/drugArchives/yaopinstscpz.vue"), component: () => import("@/views/productsMsg/drugArchives/yaopinstscpz.vue"),
meta: { title: "受托生产品种", keepAlive: true }, meta: { title: "外省委托品种", keepAlive: true },
}, },
{ {
path: "/drugArchives/yaopinyuanliao", path: "/drugArchives/yaopinyuanliao",
name: "yaopinstscpz", name: "yaopinyuanliao",
icon: require("@/assets/images/tree4.svg"), icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/drugArchives/yaopinyuanliao.vue"), component: () => import("@/views/productsMsg/drugArchives/yaopinyuanliao.vue"),
meta: { title: "原料药品种", keepAlive: true }, meta: { title: "原料药品种", keepAlive: true },
}, },
{
path: "/zyzj",
name: "zyzj",
icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/zyzj.vue"),
meta: { title: "中药制剂品种", keepAlive: true },
},
] ]
}, },
{ {
path: "/zyzj", path: "/health",
name: "zyzj", name: "health",
icon: require("@/assets/images/tree4.svg"), icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/zyzj.vue"), component: () => import("@/views/productsMsg/components/health.vue"),
meta: { title: "传统中药制剂档案", keepAlive: true }, meta: { title: "医疗器械档案", keepAlive: true },
}, },
{ {
path: "/cosmeticsArchives", path: "/cosmeticsArchives",
@ -125,7 +131,7 @@ export const constantRoutes = [
name: "stscpz", name: "stscpz",
icon: require("@/assets/images/tree4.svg"), icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/components/stscpz.vue"), component: () => import("@/views/productsMsg/components/stscpz.vue"),
meta: { title: "受托生产品种", keepAlive: true }, meta: { title: "外省委托品种", keepAlive: true },
}, },
] ]
}, },
@ -136,14 +142,8 @@ export const constantRoutes = [
component: () => import("@/views/productsMsg/components/productInfo.vue"), component: () => import("@/views/productsMsg/components/productInfo.vue"),
meta: { title: "详情", keepAlive: true }, meta: { title: "详情", keepAlive: true },
}, },
{
path: "/health",
name: "health",
icon: require("@/assets/images/tree4.svg"),
component: () => import("@/views/productsMsg/components/health.vue"),
meta: { title: "医疗器械档案", keepAlive: true },
},
// { // {
// path: "/portal", // path: "/portal",
// name: "portal", // name: "portal",

@ -71,7 +71,6 @@ const selfPermission = {
//存储用户信息 //存储用户信息
commit("SET_USERDATA", infoData.userDto); commit("SET_USERDATA", infoData.userDto);
console.log(789,infoData.userDto);
let ismyobj = { let ismyobj = {
"稽查一处": "沈阳市", "稽查一处": "沈阳市",
@ -102,7 +101,7 @@ const selfPermission = {
//过滤菜单 //过滤菜单
if(infoData.userDto.userCode == "admin"){ if(infoData.userDto.userCode == "admin"){
let fileTreeOut = staticRouter.filter(item=>item.meta.title !='详情') let fileTreeOut = staticRouter.filter(item=>item.meta.title !='详情')
fileTreeOut[0].meta.affix = true fileTreeOut[0].children[0].meta.affix = true
commit("SET_ROUTER", fileTreeOut); commit("SET_ROUTER", fileTreeOut);
resolve(fileTreeOut.length > 0 ? fileTreeOut[0].path : []); resolve(fileTreeOut.length > 0 ? fileTreeOut[0].path : []);
return return
@ -121,7 +120,7 @@ const selfPermission = {
// }); // });
// }); // });
fileTreeOut[0].meta.affix = true fileTreeOut[0].children[0].meta.affix = true
commit("SET_ROUTER", fileTreeOut); commit("SET_ROUTER", fileTreeOut);
resolve(fileTreeOut.length > 0 ? fileTreeOut[0].path : []); resolve(fileTreeOut.length > 0 ? fileTreeOut[0].path : []);
}) })
@ -138,7 +137,6 @@ function filterTree(tree, result) {
tree.forEach((item) => { tree.forEach((item) => {
staticRouter.forEach((router, index) => { staticRouter.forEach((router, index) => {
if (item.menuUrl == router.path) { if (item.menuUrl == router.path) {
console.log(router);
result.push(router); result.push(router);
} }
// if (item.childMenuList != null) { // if (item.childMenuList != null) {

@ -225,7 +225,7 @@ export default {
let msg2 = await _this.$api.apparatus[data]() let msg2 = await _this.$api.apparatus[data]()
if (msg2.code == 200) { if (msg2.code == 200) {
msg2.data.forEach(item => { msg2.data.forEach(item => {
_this.cityData[item.area] = item.count _this.cityData[item.area] = item.count || item.countOne
}) })
} }
_this.initPoitCenter(_this.cityData); _this.initPoitCenter(_this.cityData);
@ -470,7 +470,7 @@ export default {
}); });
this.mylayer = null; this.mylayer = null;
this.$emit('arealist', "") // this.$emit('arealist', "")
this.mystortTow = null this.mystortTow = null
this.isEcharts() this.isEcharts()
return return
@ -488,7 +488,7 @@ export default {
fillOpacity: 1, fillOpacity: 1,
fillColor: "#FFFF00" fillColor: "#FFFF00"
}); });
this.$emit('arealist', this.mylayer.feature.properties.name) // this.$emit('arealist', this.mylayer.feature.properties.name)
this.isEcharts() this.isEcharts()
this.mylayer.bringToFront(); this.mylayer.bringToFront();

@ -19,7 +19,7 @@
<el-menu class="el-menu-vertical-demo" :router="true" :default-active="activeMenu"> <el-menu class="el-menu-vertical-demo" :router="true" :default-active="activeMenu">
<div v-for="(item, index) in myRouter" :key="item.path"> <div v-for="(item, index) in myRouter" :key="item.path">
<el-submenu index="1" v-if="item.children"> <el-submenu :index="item.path" v-if="item.children">
<template slot="title"> <template slot="title">
<img :src="item.icon" alt="" class="router-icon" /> <img :src="item.icon" alt="" class="router-icon" />
<span>{{ item.meta.title }}</span> <span>{{ item.meta.title }}</span>
@ -225,7 +225,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #ffffff; color: #ffffff;
padding: 0 10px; padding: 0 10px;
margin-bottom: 5px; margin: 5px 0;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;

@ -61,23 +61,17 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="注册/备案人" placeholder="请输入注册/备案人"> <el-form-item label="注册/备案人" placeholder="请输入注册/备案人">
<el-input v-model="form1.scqy" placeholder="请输入注册/备案人" clearable @clear="isclear"></el-input> <el-input v-model="form1.zcrbar" placeholder="请输入注册人/备案人" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="生产企业" placeholder="请输入生产企业"> <el-form-item label="生产企业" placeholder="请输入生产企业">
<el-input v-model="form1.jnfzr" placeholder="请输入生产企业" clearable @clear="isclear"></el-input> <el-input v-model="form1.scqy" placeholder="请输入生产企业" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="8">
<div class="logformitem">
<el-form-item label="生产企业/境内责任人" placeholder="请输入境内责任人">
<el-input v-model="form1.jnfzr" placeholder="生产企业/境内责任人" clearable @clear="isclear"></el-input>
</el-form-item>
</div>
</el-col> -->
</el-row> </el-row>
<el-row> <el-row>
@ -85,12 +79,12 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="注册/备案状态"> <el-form-item label="注册/备案状态">
<!-- <el-input v-model="form1.status" placeholder="请输入注册/备案状态" clearable @clear="isclear"></el-input> --> <!-- <el-input v-model="form1.status" placeholder="请输入注册/备案状态" clearable @clear="isclear"></el-input> -->
<el-select v-model="form1.status" placeholder="请选择注册/备案状态" > <el-select v-model="form1.status" placeholder="请选择注册/备案状态">
<el-option v-for="item in optionsTwo" :key="item.value" :label="item.value" :value="item.value"> <el-option v-for="item in optionsTwo" :key="item.value" :label="item.value" :value="item.value">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -98,6 +92,11 @@
<el-input v-model="form1.scxkz" placeholder="请输入生产许可证" clearable @clear="isclear"></el-input> <el-input v-model="form1.scxkz" placeholder="请输入生产许可证" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8">
<el-form-item label="境内责任人" placeholder="请输入境内责任人">
<el-input v-model="form1.jnfzr" placeholder="请输入境内责任人" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-row> </el-row>
<el-row> <el-row>
@ -116,8 +115,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="检验受理编号"> <el-form-item label="检验报告书编号">
<el-input v-model="form1.jyslbh" placeholder="请输入检验受理编号" clearable @clear="isclear"></el-input> <el-input v-model="form1.jyslbh" placeholder="请输入检验报告书编号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -133,33 +132,46 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="抽样日期" placeholder="请输入化抽样日期"> <el-form-item label="抽样日期" placeholder="请输入抽样日期">
<el-input v-model="form1.cyrq" placeholder="抽样日期" clearable @clear="isclear"></el-input> <el-input v-model="form1.cyrq" placeholder="请输入抽样日期" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="最终检验结论" placeholder="请输入最终检验结论">
<el-input v-model="form1.zzjyjl" placeholder="请输入最终检验结论" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<div class="title-box">不良事件信息查询</div> <div class="title-box">不良反应信息查询</div>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发生年份"> <el-form-item label="发生年份">
<el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input> <el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="logformitem"> <el-form-item label="报告编号">
<el-form-item label="不良事件报告编号"> <el-input v-model="form1.blfybgbh" placeholder="请输入报告编号" clearable @clear="isclear"></el-input>
<el-input v-model="form1.blfybgbh" placeholder="请输入不良事件报告编号" clearable @clear="isclear"></el-input> </el-form-item>
</el-form-item>
</div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="不良事件类型"> <el-form-item label="报告类型">
<el-input v-model="form1.blfylx" placeholder="请输入不良事件类型" clearable @clear="isclear"></el-input> <!-- <el-input v-model="form1.blfylx" placeholder="请输入不良反应类型" clearable @clear="isclear"></el-input> -->
<el-select v-model="form1.blfylx" placeholder="请选择报告类型">
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- <el-row>
<el-col :span="8">
<el-form-item label="不良反应名称">
<el-input v-model="form1.sfyblfy" placeholder="请输入不良反应名称" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
</el-row> -->
<div class="footBox " v-show="!bthshow"> <div class="footBox " v-show="!bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button> <el-button icon="el-icon-refresh-left" @click="reset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="searchList"></el-button> <el-button type="primary" icon="el-icon-search" @click="searchList"></el-button>
@ -208,30 +220,31 @@
</el-table-column> </el-table-column>
<el-table-column label="注册/备案状态" min-width="200" align="center"> <el-table-column label="注册/备案状态" min-width="200" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.status }} {{ scope.row.status || scope.row.cpzt }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="注册/备案人" min-width="250" align="center"> <el-table-column label="注册/备案人" min-width="250" align="center" v-if="types != 3">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.zcr || scope.row.qymc }} {{ scope.row.zcr || scope.row.qymc || scope.row.zcrbar }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="注册/备案人统一社会信用代码" min-width="300" align="center"> <el-table-column label="境内负责人" min-width="180" align="center" v-if="types != 1 && types != 2">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.tyshxydw }} {{ scope.row.jnzrr }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产企业" min-width="250" align="center">
<el-table-column label="生产企业" min-width="230" align="center" v-if="types != 2 && types != 4">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.scqymc || scope.row.jnzrr }} {{ scope.row.zcr || scope.row.scqymc }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产企业许可证编号" min-width="250" align="center"> <el-table-column label="生产企业许可证" min-width="230" align="center" v-if="types == 1 && form1.allStatus != 2">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.xkzbh }} {{ scope.row.tyshxydwSc || scope.row.xkzbh }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产企业地址" min-width="250" align="center"> <el-table-column label="生产企业地址" min-width="250" align="center" v-if="types == 1">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.dzSc }} {{ scope.row.dzSc }}
</template> </template>
@ -270,6 +283,16 @@ export default {
components: { MapCars }, components: { MapCars },
data() { data() {
return { return {
options1: [
{
value: 0,
label: "一般",
},
{
value: 1,
label: "严重",
},
],
MapCarsshow: true, MapCarsshow: true,
loading: false, loading: false,
tableData: [], tableData: [],
@ -296,16 +319,16 @@ export default {
label: "进口特殊化妆品", label: "进口特殊化妆品",
}, },
], ],
optionsTwo:[ { optionsTwo: [{
value: "有效", value: "有效",
label: "有效", label: "有效",
},{ }, {
value: "取消备案", value: "取消备案",
label: "取消备案", label: "取消备案",
},{ }, {
value: "注销", value: "注销",
label: "注销", label: "注销",
},], },],
form1: { form1: {
babm: "", babm: "",
cpmc: "", cpmc: "",
@ -317,15 +340,16 @@ export default {
cybh: "", // cybh: "", //
cyjb: "", // cyjb: "", //
cyrq: "", // cyrq: "", //
blfybgbh: "", // blfybgbh: "", //
blfylx: "", // blfylx: "", //
fsnf: "", // fsnf: "", //
zcrbar: "",// zcrbar: "",//
jnfzr: "",// jnfzr: "",//
syrq: "", // 使 syrq: "", // 使
status: "", status: "",
allStatus:"", allStatus: "",
scxkz:"", scxkz: "",
zzjyjl:"",
area: this.$store.getters.usersort area: this.$store.getters.usersort
}, },
form: { form: {
@ -498,7 +522,6 @@ export default {
// //
searchList() { searchList() {
this.form.current = 1; this.form.current = 1;
for (let i in this.form1) { for (let i in this.form1) {
this.form[i] = this.form1[i]; this.form[i] = this.form1[i];
} }
@ -508,7 +531,8 @@ export default {
console.log(e); console.log(e);
this.form.current = e.page; this.form.current = e.page;
this.form.size = e.limit; this.form.size = e.limit;
this.chinaCosmetics(); // this.chinaCosmetics();
this.jieliuFunc()
}, },
// //
reset(type) { reset(type) {
@ -529,8 +553,11 @@ export default {
blfylx: "", blfylx: "",
fsnf: "", fsnf: "",
status: "", status: "",
allStatus:"", allStatus: "",
scxkz:"", scxkz: "",
zcrbar: "",//
zzjyjl:"",
area: this.$store.getters.usersort area: this.$store.getters.usersort
}; };
this.form = { this.form = {
@ -590,6 +617,7 @@ export default {
this.loading = false; this.loading = false;
}, },
async getData(e) { async getData(e) {
if (e == "1") { if (e == "1") {
this.A2 = "备案编码"; this.A2 = "备案编码";
this.A3 = "生产企业"; this.A3 = "生产企业";
@ -610,6 +638,31 @@ export default {
}, },
async changeType(e) { async changeType(e) {
// this.reset(); // this.reset();
this.form1 = {
babm: "",
cpmc: "",
name: "",
scqy: "",
//
name: "",
cjxm: "",
jyslbh: "",
cybh: "",
cyjb: "",
cyrq: "",
blfybgbh: "",
blfylx: "",
fsnf: "",
status: "",
allStatus: "",
scxkz: "",
zcrbar: "",//
area: this.$store.getters.usersort
};
this.form = {
size: 20,
current: 1,
};
this.$refs["mapcars"].isLefleat(e) this.$refs["mapcars"].isLefleat(e)
this.getData(e); this.getData(e);

@ -51,7 +51,7 @@
</el-col> --> </el-col> -->
<el-col :span="8"> <el-col :span="8">
<el-form-item label="注册/备案人"> <el-form-item label="注册/备案人">
<el-input v-model="form1.scqy" placeholder="请输入注册/备案人" clearable @clear="isclear"></el-input> <el-input v-model="form1.zcsqr" placeholder="请输入注册/备案人" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -248,8 +248,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="检验受理编号"> <el-form-item label="检验报告书编号">
<el-input v-model="form1.jyslbh" placeholder="请输入检验受理编号" clearable @clear="isclear"></el-input> <el-input v-model="form1.jyslbh" placeholder="请输入检验报告书编号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -265,13 +265,18 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="抽样日期" placeholder="请输入化抽样日期"> <el-form-item label="抽样日期" placeholder="请输入抽样日期">
<el-input v-model="form1.cyrq" placeholder="抽样日期" clearable @clear="isclear"></el-input> <el-input v-model="form1.cyrq" placeholder="请输入抽样日期" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="最终检验结论" placeholder="请输入最终检验结论">
<el-input v-model="form1.syrq" placeholder="请输入最终检验结论" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<div class="title-box">不良事件信息查询</div> <div class="title-box">不良反应信息查询</div>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发生年份"> <el-form-item label="发生年份">
<el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input> <el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input>
@ -279,18 +284,29 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="logformitem"> <div class="logformitem">
<el-form-item label="不良事件报告编号"> <el-form-item label="不良反应报告编号">
<el-input v-model="form1.blfybgbh" placeholder="请输入不良事件报告编号" clearable @clear="isclear"></el-input> <el-input v-model="form1.blfybgbh" placeholder="请输入不良反应报告编号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="不良事件类型"> <el-form-item label="报告类型">
<el-input v-model="form1.blfylx" placeholder="请输入不良事件类型" clearable @clear="isclear"></el-input> <!-- <el-input v-model="form1.blfylx" placeholder="请输入不良反应类型" clearable @clear="isclear"></el-input> -->
<el-select v-model="form1.lcsymc" placeholder="请选择报告类型">
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8">
<el-form-item label="不良反应名称">
<el-input v-model="form1.jcrq" placeholder="请输入不良反应名称" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row> <el-row>
<div class="footBox" v-show="!bthshow"> <div class="footBox" v-show="!bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button> <el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -383,8 +399,17 @@ export default {
data() { data() {
return { return {
options1: [
{
value: 0,
label: "一般",
},
{
value: 1,
label: "严重",
},
],
MapCarsshow: true, MapCarsshow: true,
//=========== //===========
loading: false, loading: false,
tableData: [], tableData: [],
@ -424,7 +449,7 @@ export default {
form1: { form1: {
cplb: "", cplb: "",
cpmc: "", cpmc: "",
scqy: "", zcsqr: "",
zczh: "", zczh: "",
size: 20, size: 20,
current: 1, current: 1,
@ -435,8 +460,8 @@ export default {
cybh: "", // cybh: "", //
cyjb: "", // cyjb: "", //
cyrq: "", // cyrq: "", //
blfybgbh: "", // blfybgbh: "", //
blfylx: "", // blfylx: "", //
fsnf: "", // fsnf: "", //
lcsymc: "", // lcsymc: "", //
@ -484,27 +509,27 @@ export default {
label: '一类体外试剂', label: '一类体外试剂',
iscss: "warning", iscss: "warning",
value: '第一类', value: '第一类',
cplx: "体外试剂" cplx: "体外诊断试剂"
}, { }, {
label: '二类医疗器械', label: '二类医疗器械',
iscss: "success", iscss: "success",
value: '第二类', value: '第二类',
cplx: "医疗器械" cplx: "医疗器械"
}, { }, {
label: '二类体外试剂', label: '二类体外试剂',
iscss: "success", iscss: "success",
value: '第二类', value: '第二类',
cplx: "体外试剂" cplx: "体外诊断试剂"
}, { }, {
label: '三类医疗器械', label: '三类医疗器械',
iscss: "primary", iscss: "primary",
value: '第三类', value: '第三类',
cplx: "医疗器械" cplx: "医疗器械"
}, { }, {
label: '三类体外试剂', label: '三类体外试剂',
iscss: "primary", iscss: "primary",
value: '第三类', value: '第三类',
cplx: "体外试剂" cplx: "体外诊断试剂"
}] }]
}; };
}, },
@ -578,7 +603,7 @@ export default {
}, },
exportList() { exportList() {
this.src = `确定导出${this.form1.cpmc ? `产品名称为${this.form1.cpmc}` : "" this.src = `确定导出${this.form1.cpmc ? `产品名称为${this.form1.cpmc}` : ""
}${this.form1.cplb ? `产品类别为${this.form1.cplb}` : ""}${this.form1.scqy ? `生产企业为${this.form1.scqy}` : "" }${this.form1.cplb ? `产品类别为${this.form1.cplb}` : ""}${this.form1.zcsqr ? `生产企业为${this.form1.zcsqr}` : ""
}${this.form1.zczh ? `注册证编号或备案编号为${this.form1.zczh}` : "" }${this.form1.zczh ? `注册证编号或备案编号为${this.form1.zczh}` : ""
}数据吗?`; }数据吗?`;
this.showCK = true; this.showCK = true;
@ -621,7 +646,7 @@ export default {
this.form1 = { this.form1 = {
cplb: "", cplb: "",
cpmc: "", cpmc: "",
scqy: "", zcsqr: "",
zczh: "", zczh: "",
size: 20, size: 20,
current: 1, current: 1,
@ -852,4 +877,5 @@ export default {
background-color: #1e80eb; background-color: #1e80eb;
color: #ffffff; color: #ffffff;
border: 1px solid #1e80eb; border: 1px solid #1e80eb;
}</style> }
</style>

@ -43,12 +43,12 @@ export default {
}, },
activated() { activated() {
this.$nextTick(() => { this.$nextTick(() => {
// this.Url = `${location.origin}/ggfw-iframe/#/productinformation?type=${this.$route.query.type this.Url = `${location.origin}/ggfw-iframe/#/productinformation?type=${this.$route.query.type
// }&flag=${this.$route.query.flag}&data=${this.$route.query.data
// }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
this.Url = `http://localhost:81?type=${this.$route.query.type
}&flag=${this.$route.query.flag}&data=${this.$route.query.data }&flag=${this.$route.query.flag}&data=${this.$route.query.data
}&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}` }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
// this.Url = `http://localhost:81?type=${this.$route.query.type
// }&flag=${this.$route.query.flag}&data=${this.$route.query.data
// }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
let dom = document.getElementsByClassName("ifram-view"); let dom = document.getElementsByClassName("ifram-view");
let height = dom[0].getBoundingClientRect(); let height = dom[0].getBoundingClientRect();
// let windowWidth = window.innerWidth; // let windowWidth = window.innerWidth;

@ -108,13 +108,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="抽样日期" placeholder="请输入抽样日期"> <el-form-item label="抽样日期" placeholder="请输入抽样日期">
<el-input v-model="form1.cyrq" placeholder="抽样日期" clearable @clear="isclear"></el-input> <el-input v-model="form1.cyrq" placeholder="请输入抽样日期" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<div class="title-box">不良事件信息查询</div> <div class="title-box">不良反应信息查询</div>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发生年份"> <el-form-item label="发生年份">
<el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input> <el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input>
@ -122,14 +122,14 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="logformitem"> <div class="logformitem">
<el-form-item label="不良事件报告编号"> <el-form-item label="不良反应报告编号">
<el-input v-model="form1.blfybgbh" placeholder="请输入不良事件报告编号" clearable @clear="isclear"></el-input> <el-input v-model="form1.blfybgbh" placeholder="请输入不良反应报告编号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="不良事件类型"> <el-form-item label="不良反应类型">
<el-input v-model="form1.blfylx" placeholder="请输入不良事件类型" clearable @clear="isclear"></el-input> <el-input v-model="form1.blfylx" placeholder="请输入不良反应类型" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="产品名称"> <el-form-item label="产品名称">
<el-input v-model="form1.cpmc" placeholder="请输入产品名称" clearable @clear="isclear"></el-input> <el-input v-model="form1.yptymc" placeholder="请输入产品名称" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -39,14 +39,14 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="批准文号"> <el-form-item label="批准文号">
<el-input v-model="form1.pzwh" placeholder="请输入批准文号" clearable @clear="isclear"></el-input> <el-input v-model="form1.yppzwh" placeholder="请输入批准文号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="生产单位"> <el-form-item label="生产企业">
<el-input v-model="form1.scqy" placeholder="请输入生产单位" clearable @clear="isclear"></el-input> <el-input v-model="form1.scqy" placeholder="请输入生产企业" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -54,10 +54,11 @@
<el-select v-model="form1.jx" placeholder="请选择剂型" clearable @clear="isclear"> <el-select v-model="form1.jx" placeholder="请选择剂型" clearable @clear="isclear">
<el-option v-for="item in jxType" :key="item" :label="item" :value="item"> <el-option v-for="item in jxType" :key="item" :label="item" :value="item">
</el-option> </el-option>
</el-select> </el-form-item></el-col> </el-select>
</el-form-item></el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="持有人"> <el-form-item label="持有人">
<el-input v-model="form1.ssxkcyr" placeholder="请输入持有人" clearable @clear="isclear"></el-input> <el-input v-model="form1.ypssxkcyr" placeholder="请输入持有人" clearable @clear="isclear"></el-input>
</el-form-item></el-col> </el-form-item></el-col>
</el-row> </el-row>
@ -67,6 +68,14 @@
<el-input v-model="form1.ypbm" placeholder="请输入药品编码" clearable @clear="isclear"></el-input> <el-input v-model="form1.ypbm" placeholder="请输入药品编码" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8">
<el-form-item label="特殊药品类型">
<el-select v-model="form1.tsypglfl" placeholder="请选择特殊药品类型" clearable @clear="isclear">
<el-option v-for="item in teshu" :key="item.value" :label="item.value" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row> </el-row>
<div class="footBox" v-show="bthshow"> <div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button> <el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -82,8 +91,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="检验受理编号"> <el-form-item label="检验报告书编号">
<el-input v-model="form1.jyslbh" placeholder="请输入检验受理编号" clearable @clear="isclear"></el-input> <el-input v-model="form1.jyslbh" placeholder="请输入检验报告书编号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -99,13 +108,18 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="抽样日期" placeholder="请输入化抽样日期"> <el-form-item label="抽样日期" placeholder="请输入抽样日期">
<el-input v-model="form1.cyrq" placeholder="抽样日期" clearable @clear="isclear"></el-input> <el-input v-model="form1.cyrq" placeholder="请输入抽样日期" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="最终检验结论" placeholder="请输入最终检验结论">
<el-input v-model="form1.zzjyjl" placeholder="请输入最终检验结论" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<div class="title-box">不良事件信息查询</div> <div class="title-box">不良反应信息查询</div>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发生年份"> <el-form-item label="发生年份">
<el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input> <el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input>
@ -113,18 +127,29 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="logformitem"> <div class="logformitem">
<el-form-item label="不良事件报告编号"> <el-form-item label="不良反应报告编号">
<el-input v-model="form1.blfybgbh" placeholder="请输入不良事件报告编号" clearable @clear="isclear"></el-input> <el-input v-model="form1.blfybgbh" placeholder="请输入不良反应报告编号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="不良事件类型"> <el-form-item label="报告类型">
<el-input v-model="form1.blfylx" placeholder="请输入不良事件类型" clearable @clear="isclear"></el-input> <!-- <el-input v-model="form1.blfylx" placeholder="请输入不良反应类型" clearable @clear="isclear"></el-input> -->
<el-select v-model="form1.bglx" placeholder="请选择报告类型">
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8">
<el-form-item label="不良反应名称">
<el-input v-model="form1.blfymc" placeholder="请输入不良反应名称" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="footBox " v-show="!bthshow"> <div class="footBox " v-show="!bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button> <el-button icon="el-icon-refresh-left" @click="reset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="searchList"></el-button> <el-button type="primary" icon="el-icon-search" @click="searchList"></el-button>
@ -174,22 +199,27 @@
</el-table-column> </el-table-column>
<el-table-column label="规格" min-width="120" align="center"> <el-table-column label="规格" min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.ypgg }} {{ scope.row.gg }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="批准日期" min-width="110" align="center"> <el-table-column label="批准日期" min-width="140" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.pzrq }} {{ scope.row.pzrq }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="批准文号期" min-width="140" align="center"> <el-table-column label="批准文号" min-width="170" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.yppzwhyxq }} {{ scope.row.yppzwhyxq }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产单位" min-width="170" align="center"> <el-table-column label="上市许可持有人" min-width="190" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.ypscqymc }} {{ scope.row.ypssxkcyr }}
</template>
</el-table-column>
<el-table-column label="生产企业" min-width="170" align="center">
<template slot-scope="scope">
{{ scope.row.scqy }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产地址" min-width="170" align="center"> <el-table-column label="生产地址" min-width="170" align="center">
@ -197,11 +227,6 @@
<div class="norepet">{{ scope.row.scdz }}</div> <div class="norepet">{{ scope.row.scdz }}</div>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="生产企业" min-width="230" align="center">
<template slot-scope="scope">
{{ scope.row.ypscqymc }}
</template>
</el-table-column> -->
<el-table-column label="操作" width="100" fixed="right" align="center"> <el-table-column label="操作" width="100" fixed="right" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" @click="toDetail(scope.row)"></el-button> <el-button type="primary" @click="toDetail(scope.row)"></el-button>
@ -235,6 +260,49 @@ export default {
}, },
data() { data() {
return { return {
options1: [
{
value: 0,
label: "一般",
},
{
value: 1,
label: "严重",
},
],
teshu: [
{
value: "麻醉药品",
label: "麻醉药品",
}, {
value: "第一类精神药品",
label: "第一类精神药品",
}, {
value: "第二类精神药品",
label: "第二类精神药品",
}, {
value: "医疗用毒性药品",
label: "医疗用毒性药品",
}, {
value: "药品类易制毒化学品",
label: "药品类易制毒化学品",
}, {
value: "其他",
label: "其他",
}, {
value: "生物制品(其他)",
label: "生物制品(其他)",
}, {
value: "疫苗",
label: "疫苗",
}, {
value: "集中采集药品",
label: "集中采集药品",
}, {
value: "血液制品",
label: "血液制品",
},
],
MapCarsshow: true, MapCarsshow: true,
bthshow: true, bthshow: true,
@ -243,28 +311,31 @@ export default {
tableData: [], tableData: [],
total: 0, total: 0,
form1: { form1: {
cpmc: "", // yptymc: "", //
jx: "", // jx: "", //
pzwh: "", // yppzwh: "", //
scqy: "",// scqy: "",//
ypfl: "", // ypfl: "", //
name: "", name: "",
ssxkcyr: "", // ypssxkcyr: "", //
ypbm: "", // ypbm: "", //
sfyblfy: "", // blfymc: "", //
// //
cjxm: "", // cjxm: "", //
jyslbh: "", // jyslbh: "", //
cybh: "", // cybh: "", //
cyjb: "", // cyjb: "", //
cyrq: "", // cyrq: "", //
blfybgbh: "", // blfybgbh: "", //
blfylx: "", // bglx: "", //
fsnf: "", // fsnf: "", //
zzjyjl: "",//
tsypglfl:"",
area: this.$store.getters.usersort, area: this.$store.getters.usersort,
myEntrust: "全部", myEntrust: "全部",
type: "" type: ""
}, },
form: { form: {
size: 20, size: 20,
current: 1, current: 1,
@ -300,7 +371,7 @@ export default {
}, { }, {
label: '委托', label: '委托',
iscss: "primary", iscss: "primary",
value: '委托' value: '委托'
}], }],
btnShow: "全部", btnShow: "全部",
jieliuShow: true, jieliuShow: true,
@ -322,15 +393,15 @@ export default {
}, },
methods: { methods: {
// //
xuanzelist(item) { xuanzelist(item) {
this.btnShow=item.label this.btnShow = item.value
if (item.label == '全部') { if (item.label == '全部') {
this.form1.myEntrust = '全部'; this.form1.myEntrust = '全部';
this.form1.type = ""; this.form1.type = "";
} else { } else {
this.form1.myEntrust = '' this.form1.myEntrust = ''
this.form1.type = item.label; this.form1.type = item.value;
} }
this.searchList(); this.searchList();
// if(item == '') {} // if(item == '') {}
@ -368,7 +439,7 @@ export default {
const link = document.createElement("a"); const link = document.createElement("a");
link.href = window.URL.createObjectURL(blob); link.href = window.URL.createObjectURL(blob);
link.style.display = "none"; link.style.display = "none";
link.download = "药品" + ".xlsx"; link.download = "注册备案品种" + ".xlsx";
link.click(); link.click();
this.loadA.close(); this.loadA.close();
this.$message({ this.$message({
@ -392,8 +463,8 @@ export default {
}, },
// //
exportList() { exportList() {
this.src = `确定导出${this.form1.cpmc ? `产品名称为${this.form1.cpmc}` : "" this.src = `确定导出${this.form1.yptymc ? `产品名称为${this.form1.yptymc}` : ""
}${this.form1.ypfl ? `药品分类为${this.form1.ypfl}` : ""}${this.form1.pzwh ? `批准文号为${this.form1.pzwh}` : "" }${this.form1.ypfl ? `药品分类为${this.form1.ypfl}` : ""}${this.form1.yppzwh ? `批准文号为${this.form1.yppzwh}` : ""
}${this.form1.scqy ? `生产单位为${this.form1.scqy}` : ""}${this.form1.jx ? `剂型为${this.form1.jx}` : "" }${this.form1.scqy ? `生产单位为${this.form1.scqy}` : ""}${this.form1.jx ? `剂型为${this.form1.jx}` : ""
}数据吗?`; }数据吗?`;
this.showCK = true; this.showCK = true;
@ -438,11 +509,11 @@ export default {
this.btnShow = '全部' this.btnShow = '全部'
this.form1 = { this.form1 = {
// //
cpmc: "", yptymc: "",
// //
jx: "", jx: "",
// //
pzwh: "", yppzwh: "",
// //
scqy: "", scqy: "",
// //
@ -450,10 +521,10 @@ export default {
// //
name: "", name: "",
// //
ssxkcyr: "", ypssxkcyr: "",
ypbm: "", ypbm: "",
// //
sfyblfy: "", blfymc: "",
// //
cjxm: "", cjxm: "",
jyslbh: "", jyslbh: "",
@ -461,12 +532,13 @@ export default {
cyjb: "", cyjb: "",
cyrq: "", cyrq: "",
blfybgbh: "", blfybgbh: "",
blfylx: "", bglx: "",
fsnf: "", fsnf: "",
myEntrust: "全部", myEntrust: "全部",
type: "", type: "",
zzjyjl: "",//
tsypglfl:"",
area: this.$store.getters.usersort area: this.$store.getters.usersort
}; };
this.form = { this.form = {
size: 20, size: 20,

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="产品名称"> <el-form-item label="产品名称">
<el-input v-model="form1.cpmc" placeholder="请输入产品名称" clearable @clear="isclear"></el-input> <el-input v-model="form1.yptymc" placeholder="请输入产品名称" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -39,14 +39,14 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="批准文号"> <el-form-item label="批准文号">
<el-input v-model="form1.pzwh" placeholder="请输入批准文号" clearable @clear="isclear"></el-input> <el-input v-model="form1.yppzwh" placeholder="请输入批准文号" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="生产单位"> <el-form-item label="生产企业">
<el-input v-model="form1.scqy" placeholder="请输入生产单位" clearable @clear="isclear"></el-input> <el-input v-model="form1.scqy" placeholder="请输入生产企业" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -57,7 +57,7 @@
</el-select> </el-form-item></el-col> </el-select> </el-form-item></el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="持有人"> <el-form-item label="持有人">
<el-input v-model="form1.ssxkcyr" placeholder="请输入持有人" clearable @clear="isclear"></el-input> <el-input v-model="form1.ypssxkcyr" placeholder="请输入持有人" clearable @clear="isclear"></el-input>
</el-form-item></el-col> </el-form-item></el-col>
</el-row> </el-row>
@ -82,8 +82,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="检验受理编号"> <el-form-item label="检验报告书编号">
<el-input v-model="form1.jyslbh" placeholder="请输入检验受理编号" clearable <el-input v-model="form1.jyslbh" placeholder="请输入检验报告书编号" clearable
@clear="isclear"></el-input> @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -100,13 +100,19 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="抽样日期" placeholder="请输入化抽样日期"> <el-form-item label="抽样日期" placeholder="请输入抽样日期">
<el-input v-model="form1.cyrq" placeholder="抽样日期" clearable @clear="isclear"></el-input> <el-input v-model="form1.cyrq" placeholder="请输入抽样日期" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="最终检验结论" placeholder="请输入最终检验结论">
<el-input v-model="form1.zzjyjl" placeholder="请输入最终检验结论" clearable
@clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<div class="title-box">不良事件信息查询</div> <div class="title-box">不良反应信息查询</div>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发生年份"> <el-form-item label="发生年份">
<el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input> <el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input>
@ -114,20 +120,32 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="logformitem"> <div class="logformitem">
<el-form-item label="不良事件报告编号"> <el-form-item label="不良反应报告编号">
<el-input v-model="form1.blfybgbh" placeholder="请输入不良事件报告编号" clearable <el-input v-model="form1.blfybgbh" placeholder="请输入不良反应报告编号" clearable
@clear="isclear"></el-input> @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="不良事件类型"> <el-form-item label="报告类型">
<el-input v-model="form1.blfylx" placeholder="请输入不良事件类型" clearable <!-- <el-input v-model="form1.blfylx" placeholder="请输入不良反应类型" clearable @clear="isclear"></el-input> -->
@clear="isclear"></el-input> <el-select v-model="form1.bglx" placeholder="请选择报告类型">
<el-option v-for="item in options1" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8">
<el-form-item label="不良反应名称">
<el-input v-model="form1.blfymc" placeholder="请输入不良反应名称" clearable
@clear="isclear"></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="footBox " v-show="!bthshow"> <div class="footBox " v-show="!bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button> <el-button icon="el-icon-refresh-left" @click="reset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="searchList"></el-button> <el-button type="primary" icon="el-icon-search" @click="searchList"></el-button>
@ -171,22 +189,27 @@
</el-table-column> </el-table-column>
<el-table-column label="规格" min-width="120" align="center"> <el-table-column label="规格" min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.ypgg }} {{ scope.row.gg }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="批准日期" min-width="110" align="center"> <el-table-column label="批准日期" min-width="140" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.pzrq }} {{ scope.row.pzrq }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="批准文号期" min-width="140" align="center"> <el-table-column label="批准文号" min-width="180" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.yppzwhyxq }} {{ scope.row.yppzwhyxq }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产单位" min-width="170" align="center"> <el-table-column label="上市许可持有人" min-width="190" align="center">
<template slot-scope="scope">
{{ scope.row.ypssxkcyr }}
</template>
</el-table-column>
<el-table-column label="生产企业" min-width="170" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.ypscqymc }} {{ scope.row.scqy }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产地址" min-width="170" align="center"> <el-table-column label="生产地址" min-width="170" align="center">
@ -194,11 +217,6 @@
<div class="norepet">{{ scope.row.scdz }}</div> <div class="norepet">{{ scope.row.scdz }}</div>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="生产企业" min-width="230" align="center">
<template slot-scope="scope">
{{ scope.row.ypscqymc }}
</template>
</el-table-column> -->
<el-table-column label="操作" width="100" fixed="right" align="center"> <el-table-column label="操作" width="100" fixed="right" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" @click="toDetail(scope.row)"></el-button> <el-button type="primary" @click="toDetail(scope.row)"></el-button>
@ -232,6 +250,16 @@ export default {
}, },
data() { data() {
return { return {
options1: [
{
value: 0,
label: "一般",
},
{
value: 1,
label: "严重",
},
],
MapCarsshow: true, MapCarsshow: true,
bthshow: true, bthshow: true,
@ -240,27 +268,27 @@ export default {
tableData: [], tableData: [],
total: 0, total: 0,
form1: { form1: {
cpmc: "", // yptymc: "", //
jx: "", // jx: "", //
pzwh: "", // yppzwh: "", //
scqy: "",// scqy: "",//
ypfl: "", // ypfl: "", //
name: "", name: "",
ssxkcyr: "", // ypssxkcyr: "", //
ypbm: "", // ypbm: "", //
sfyblfy: "", // blfymc: "", //
// //
cjxm: "", // cjxm: "", //
jyslbh: "", // jyslbh: "", //
cybh: "", // cybh: "", //
cyjb: "", // cyjb: "", //
cyrq: "", // cyrq: "", //
blfybgbh: "", // blfybgbh: "", //
blfylx: "", // bglx: "", //
fsnf: "", // fsnf: "", //
zzjyjl: "",//
area: this.$store.getters.usersort, area: this.$store.getters.usersort,
type: "受托" type: "受托"
}, },
form: { form: {
size: 20, size: 20,
@ -337,7 +365,7 @@ export default {
const link = document.createElement("a"); const link = document.createElement("a");
link.href = window.URL.createObjectURL(blob); link.href = window.URL.createObjectURL(blob);
link.style.display = "none"; link.style.display = "none";
link.download = "药品" + ".xlsx"; link.download = "受托生产品种" + ".xlsx";
link.click(); link.click();
this.loadA.close(); this.loadA.close();
this.$message({ this.$message({
@ -405,32 +433,25 @@ export default {
// //
reset(type) { reset(type) {
this.form1 = { this.form1 = {
// yptymc: "", //
cpmc: "", jx: "", //
// yppzwh: "", //
jx: "", scqy: "",//
// ypfl: "", //
pzwh: "",
//
scqy: "",
//
ypfl: "",
//
name: "", name: "",
// ypssxkcyr: "", //
ssxkcyr: "", ypbm: "", //
ypbm: "", blfymc: "", //
//
sfyblfy: "",
// //
cjxm: "", cjxm: "", //
jyslbh: "", jyslbh: "", //
cybh: "", cybh: "", //
cyjb: "", cyjb: "", //
cyrq: "", cyrq: "", //
blfybgbh: "", blfybgbh: "", //
blfylx: "", bglx: "", //
fsnf: "", fsnf: "", //
zzjyjl: "",//
area: this.$store.getters.usersort, area: this.$store.getters.usersort,
type: "受托" type: "受托"
}; };
@ -440,7 +461,7 @@ export default {
area: this.$store.getters.usersort, area: this.$store.getters.usersort,
type: "受托" type: "受托"
}; };
this.jieliuFunc(); this.jieliuFunc();
}, },
// //

@ -85,13 +85,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="抽样日期" placeholder="请输入抽样日期"> <el-form-item label="抽样日期" placeholder="请输入抽样日期">
<el-input v-model="form1.cyrq" placeholder="抽样日期" clearable @clear="isclear"></el-input> <el-input v-model="form1.cyrq" placeholder="请输入抽样日期" clearable @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<div class="title-box">不良事件信息查询</div> <div class="title-box">不良反应信息查询</div>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="发生年份"> <el-form-item label="发生年份">
<el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input> <el-input v-model="form1.fsnf" placeholder="请输入发生年份" clearable @clear="isclear"></el-input>
@ -99,15 +99,15 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="logformitem"> <div class="logformitem">
<el-form-item label="不良事件报告编号"> <el-form-item label="不良反应报告编号">
<el-input v-model="form1.blfybgbh" placeholder="请输入不良事件报告编号" clearable <el-input v-model="form1.blfybgbh" placeholder="请输入不良反应报告编号" clearable
@clear="isclear"></el-input> @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="不良事件类型"> <el-form-item label="不良反应类型">
<el-input v-model="form1.blfylx" placeholder="请输入不良事件类型" clearable <el-input v-model="form1.blfylx" placeholder="请输入不良反应类型" clearable
@clear="isclear"></el-input> @clear="isclear"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -149,36 +149,37 @@
{{ scope.row.cpSource }} {{ scope.row.cpSource }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="规格" min-width="100" align="center"> <!-- <el-table-column label="规格" min-width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.gg }} {{ scope.row.gg }}
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="包装规格" min-width="180" align="center"> <el-table-column label="包装规格" min-width="180" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.bzgg }} {{ scope.row.bzgg }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产许可证" min-width="150" align="center"> <el-table-column label="企业名称" min-width="200" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.scxkz }} {{ scope.row.qymc }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产许可证状态" min-width="180" align="center"> <el-table-column label="统一社会信用代码" min-width="200" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ dataArr[scope.row.scxkzStatus] || "--" }} <div class="norepet">{{ scope.row.uniscid }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="企业名称" min-width="200" align="center"> <el-table-column label="生产许可证" min-width="150" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.qymc }} {{ scope.row.scxkz }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="统一社会信用代码" min-width="200" align="center"> <el-table-column label="生产许可证状态" min-width="170" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="norepet">{{ scope.row.uniscid }}</div> {{ dataArr[scope.row.scxkzStatus] || "--" }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="100" fixed="right" align="center"> <el-table-column label="操作" width="100" fixed="right" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
@ -237,8 +238,8 @@ export default {
cybh: "", // cybh: "", //
cyjb: "", // cyjb: "", //
cyrq: "", // cyrq: "", //
blfybgbh: "", // blfybgbh: "", //
blfylx: "", // blfylx: "", //
fsnf: "", // fsnf: "", //
area: this.$store.getters.usersort, area: this.$store.getters.usersort,
@ -322,7 +323,7 @@ export default {
const link = document.createElement("a"); const link = document.createElement("a");
link.href = window.URL.createObjectURL(blob); link.href = window.URL.createObjectURL(blob);
link.style.display = "none"; link.style.display = "none";
link.download = "药品" + ".xlsx"; link.download = "原料药品" + ".xlsx";
link.click(); link.click();
this.loadA.close(); this.loadA.close();
this.$message({ this.$message({

@ -42,9 +42,9 @@ module.exports = {
open: true, open: true,
proxy: { proxy: {
"/configApi": { "/configApi": {
// target: "https://dev-mssm-liaoning.imian.org.cn/ggfw-api", target: "https://dev-mssm-liaoning.lesdev.cn/ggfw-api",
// target: "http://172.24.20.196/ggfw-api", // target: "http://172.24.20.196/ggfw-api",
target: "http://192.168.0.111:9023/ggfw-api", // target: "http://192.168.0.113:9023/ggfw-api",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {

Loading…
Cancel
Save