|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="content">
|
|
|
|
@ -35,7 +34,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="content-content">
|
|
|
|
|
<div class="title">
|
|
|
|
|
<img src="@/assets/images/daping/guangxian.png" alt="" />
|
|
|
|
|
<div>产品画像搜索</div>
|
|
|
|
@ -57,13 +56,85 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottomList">
|
|
|
|
|
<div class="conbtm-item" v-for="(item, index) in btmLitstTitle" v-show="btmLitstTitleShow">
|
|
|
|
|
<span class="conitem-bgimg">{{ index + 1 }}</span>
|
|
|
|
|
<div class="conitme-title"><span class="spantext">{{ item.name }}</span>:</div>
|
|
|
|
|
<div class="conitme-right-item" v-for="(item, index) in item.childarray" @click="onActivebtm(item)"
|
|
|
|
|
:class="activebtm == item.value ? 'conitme-right-item-active' : ''">
|
|
|
|
|
{{ item.lable }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottomListShow">
|
|
|
|
|
<el-button type="success" @click="btmLitstTitleShow = !btmLitstTitleShow">{{ btmLitstTitleShow ? "收起" : "展开"
|
|
|
|
|
}}<i class="el-icon-d-arrow-left"></i></el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="listBottom" v-loading="loadingTow">
|
|
|
|
|
<div class="listBottom-title">
|
|
|
|
|
<div class="span1"></div>
|
|
|
|
|
<div class="div1">为您查询到
|
|
|
|
|
<span class="span2">{{ total }}</span>
|
|
|
|
|
条数据
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="listBottom-item" v-for="(item, index) in btmLise">
|
|
|
|
|
<div class="listBottom-item-left">
|
|
|
|
|
<div class="listitem-title">
|
|
|
|
|
{{ item.name || "" }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="listitemleft-bottom">
|
|
|
|
|
<span class="span1">
|
|
|
|
|
<span>药品批准文号:</span>
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="item.code || ''" placement="top-start">
|
|
|
|
|
<span class="span2">{{ item.code || "" }}</span>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="span1">
|
|
|
|
|
|
|
|
|
|
<span>持有/注册/备案人:</span>
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="item.scqy || ''" placement="top-start">
|
|
|
|
|
<span class="span2">{{ item.scqy || "" }}</span>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="listBottom-item-right">
|
|
|
|
|
<div class="listitem-title">近3年统计</div>
|
|
|
|
|
<div class="listitemright-bottom">
|
|
|
|
|
<div class="listitemright-bottom-item">
|
|
|
|
|
<img src='../assets/images/icon-xxx1.png' alt="">抽检不合格:<span>{{ item.cjbhg || "0" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="listitemright-bottom-item">
|
|
|
|
|
<img src='../assets/images/icon-xxx2.png' alt="">不良反应:<span>{{ item.blfy || "0" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="listitemright-bottom-item">
|
|
|
|
|
<img src='../assets/images/icon-xxx3.png' alt="">产品召回:<span>{{ item.cpzh || "0" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="listBottom-item-xiangqing">
|
|
|
|
|
<el-button type="primary" @click="ListGO(item)">详情</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div ref="pagination">
|
|
|
|
|
<Pagination :total="total" :page="query.current" :limit="query.size" @pagination="changeList"
|
|
|
|
|
:smallShow="false"></Pagination>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import Pagination from "@/views/components/Pagination";
|
|
|
|
|
import { findByType } from "@/api/largeScreen/index";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: '',
|
|
|
|
|
components: {},
|
|
|
|
|
components: { Pagination },
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
input: "",
|
|
|
|
@ -73,6 +144,63 @@ export default {
|
|
|
|
|
searchList: [],
|
|
|
|
|
getData: {},
|
|
|
|
|
userName: '',
|
|
|
|
|
btmLitstTitleShow: true,
|
|
|
|
|
btmLitstTitle: [{
|
|
|
|
|
name: "药品",
|
|
|
|
|
childarray: [{
|
|
|
|
|
lable: "本省注册药品",
|
|
|
|
|
value: 1,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "本省持受托生产药品",
|
|
|
|
|
value: 2,
|
|
|
|
|
},]
|
|
|
|
|
}, {
|
|
|
|
|
name: "医疗器械",
|
|
|
|
|
childarray: [{
|
|
|
|
|
lable: "三类医疗器械",
|
|
|
|
|
value: 3,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "三类体外诊断试剂",
|
|
|
|
|
value: 4,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "二类医疗器械",
|
|
|
|
|
value: 5,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "二类体外诊断试剂",
|
|
|
|
|
value: 6,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "一类医疗器械",
|
|
|
|
|
value: 7,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "一类体外诊断试剂",
|
|
|
|
|
value: 8,
|
|
|
|
|
},]
|
|
|
|
|
}, {
|
|
|
|
|
name: "化妆品",
|
|
|
|
|
childarray: [{
|
|
|
|
|
lable: "国产普通化妆品",
|
|
|
|
|
value: 9,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "国产特殊化妆品",
|
|
|
|
|
value: 10,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "进口普通化妆品",
|
|
|
|
|
value: 11,
|
|
|
|
|
}, {
|
|
|
|
|
lable: "进口特殊化妆品",
|
|
|
|
|
value: 12,
|
|
|
|
|
}]
|
|
|
|
|
},],
|
|
|
|
|
activebtm: 1,
|
|
|
|
|
query: {
|
|
|
|
|
current: 1,
|
|
|
|
|
size: 10,
|
|
|
|
|
type: 1,
|
|
|
|
|
},
|
|
|
|
|
total: 0,
|
|
|
|
|
btmLise: [],
|
|
|
|
|
loadingTow: true
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
@ -93,12 +221,41 @@ export default {
|
|
|
|
|
created() { this.dataNow(1) },
|
|
|
|
|
mounted() {
|
|
|
|
|
this.getDataInterval(1)
|
|
|
|
|
console.log(localStorage.getItem('userDto'))
|
|
|
|
|
this.getLiset()
|
|
|
|
|
let user = JSON.parse(localStorage.getItem('userDto'))
|
|
|
|
|
console.log(user)
|
|
|
|
|
this.userName = user.realName
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
ListGO(item) {
|
|
|
|
|
this.$router.push({ path: "/bgpage", query: { code: item.code, name: item.name, type: item.type } })
|
|
|
|
|
},
|
|
|
|
|
changeList(e) {
|
|
|
|
|
this.loadingTow = true
|
|
|
|
|
this.query.current = e.page;
|
|
|
|
|
this.query.size = e.limit;
|
|
|
|
|
this.getLiset()
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
onActivebtm(item) {
|
|
|
|
|
this.loadingTow = true
|
|
|
|
|
this.activebtm = item.value;
|
|
|
|
|
this.query.current = 1;
|
|
|
|
|
this.query.size = 10;
|
|
|
|
|
this.query.type = item.value
|
|
|
|
|
this.getLiset()
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
//获取列表
|
|
|
|
|
getLiset() {
|
|
|
|
|
findByType(this.query).then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.total = res.data.total
|
|
|
|
|
this.btmLise = res.data.records
|
|
|
|
|
this.loadingTow = false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
gotoBgpage() {
|
|
|
|
|
if (this.input) {
|
|
|
|
|
console.log(this.searchList, 'this.searchList')
|
|
|
|
@ -185,7 +342,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
padding: 10px 40px 0;
|
|
|
|
|
background-color: #000000;
|
|
|
|
|
position: relative;
|
|
|
|
@ -250,7 +407,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-family: SourceHanSansSC;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #FEFFFF;
|
|
|
|
@ -286,18 +443,25 @@ export default {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content-content {
|
|
|
|
|
height: 23vh;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
margin-top: 250px;
|
|
|
|
|
margin-top: 60px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
|
|
// display: flex;
|
|
|
|
|
// justify-content: center;
|
|
|
|
|
div {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
padding-left: 50px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 48px;
|
|
|
|
|
font-family: Tensentype;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
text-shadow: 0px 8px 16px rgba(24, 118, 172, 0.6);
|
|
|
|
@ -305,22 +469,25 @@ export default {
|
|
|
|
|
// -webkit-background-clip: text;
|
|
|
|
|
// -webkit-text-fill-color: transparent;
|
|
|
|
|
z-index: 20;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
width: 316px;
|
|
|
|
|
height: 316px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 220px;
|
|
|
|
|
left: 830px;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-40%, -30%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content-bottom-box {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
top: 60%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
z-index: 999;
|
|
|
|
|
|
|
|
|
|
.content-bottom {
|
|
|
|
|
position: relative;
|
|
|
|
@ -386,7 +553,8 @@ export default {
|
|
|
|
|
top: 120px;
|
|
|
|
|
left: 10px;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
background: linear-gradient(to right, rgba(24, 101, 242, 0.1), rgba(24, 101, 242, 0.1));
|
|
|
|
|
// background: linear-gradient(to right, rgba(24, 101, 242, 0.1), rgba(24, 101, 242, 0.1));
|
|
|
|
|
background: linear-gradient(to right, rgb(1, 2, 62), rgb(25, 31, 84));
|
|
|
|
|
overflow: scroll;
|
|
|
|
|
|
|
|
|
|
.dialog-item {
|
|
|
|
@ -409,18 +577,218 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottomList {
|
|
|
|
|
padding-left: 50px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
|
|
.conbtm-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 20px 0;
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
|
|
.conitem-bgimg {
|
|
|
|
|
width: 45px;
|
|
|
|
|
height: 45px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
background-image: url("../assets/images/icon-type.png");
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.conitme-title {
|
|
|
|
|
color: #f28221;
|
|
|
|
|
padding: 0 15px;
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
text-align: justify;
|
|
|
|
|
|
|
|
|
|
/* 将文字两端对齐 */
|
|
|
|
|
.spantext {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 70px;
|
|
|
|
|
text-align: justify;
|
|
|
|
|
text-align-last: justify;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.conitme-right-item {
|
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
background-color: #314b70;
|
|
|
|
|
margin-right: 1rem;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: #1d82dc;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.conitme-right-item-active {
|
|
|
|
|
background: #1d82dc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottomListShow {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 200;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-left: -60px;
|
|
|
|
|
|
|
|
|
|
.el-icon-d-arrow-left {
|
|
|
|
|
transform: rotate(90deg);
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::v-deep .el-button {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
background: #4ed4a4;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.listBottom {
|
|
|
|
|
.listBottom-title {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.span1 {
|
|
|
|
|
width: 25px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
background-image: url("../assets/images/icon-search.png");
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.div1 {
|
|
|
|
|
color: #accbee;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
|
|
.span2 {
|
|
|
|
|
color: #0cc16e;
|
|
|
|
|
margin: 0 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.listBottom-item {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 15px 20px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background: #1f3552;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
margin: 15px 0;
|
|
|
|
|
|
|
|
|
|
.listitem-title {
|
|
|
|
|
width: 100%;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
/* 禁止文本换行 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
/* 溢出部分隐藏 */
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.listBottom-item-left {
|
|
|
|
|
width: 40%;
|
|
|
|
|
|
|
|
|
|
.listitemleft-bottom {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
color: #accbee;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.span1 {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.span2 {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 200px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
/* 禁止文本换行 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
/* 溢出部分隐藏 */
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
/* 显示省略号 */
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.listBottom-item-right {
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
|
|
.listitemright-bottom {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.listitemright-bottom-item {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
width: 45px;
|
|
|
|
|
height: 45px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
color: #35c4ff;
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.listBottom-item-xiangqing {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
::v-deep .el-button {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//设置遮罩层颜色
|
|
|
|
|
::v-deep .el-loading-mask {
|
|
|
|
|
background-color: rgba(205, 235, 243, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//设置图标颜色
|
|
|
|
|
// //设置图标颜色
|
|
|
|
|
// ::v-deep .el-loading-spinner .path{
|
|
|
|
|
// stroke: #005432;
|
|
|
|
|
// }
|
|
|
|
|
// 设置文字颜色
|
|
|
|
|
// ::v-deep .el-loading-spinner .el-loading-text{
|
|
|
|
|
// color: #005432;
|
|
|
|
|
// }
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
// }</style>
|