更新bug 3.20

lijinlong
李劲龙 1 year ago
parent 0dd0c9fc08
commit d08143c7ca

@ -29,6 +29,14 @@ export function dcyp(query) {
responseType: 'blob'
});
}
export function exportZyzj(query) {
return request({
url: "/pharmaceuticals/deasCorpTcmpFiling/exportZyzj",
method: "GET",
params: query,
responseType: 'blob'
});
}
//条件导出医疗器械数据
export function dcylqx(query) {
return request({

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

@ -20,10 +20,10 @@
</div>
</div>
<div class="box" id="box">
<div class="box2" id="box2" v-show="collapsechange && echartstitle == '药品'">
<div class="box2" id="box2" v-show="collapsechange && echartstitle == '789798'">
<div class="echarts2" id="echarts2"></div>
</div>
<div class="box2" id="box2" v-show="collapsechange && echartstitle == '药品'">
<div class="box2" id="box2" v-show="collapsechange && echartstitle == '789798'">
<div class="echarts3" id="echarts3"></div>
</div>
</div>

@ -38,15 +38,15 @@
</div>
<div class="view-box">
<tags-view ref="tagsView" />
<div class="child-views">
<div class="view_box_title" v-show="$router.currentRoute.meta.title != '详情'">{{
<div class="view_box_title" v-show="$router.currentRoute.meta.title != '详情'">{{
$router.currentRoute.meta.topTitle ||
$router.currentRoute.meta.title }}</div>
<div class="child-views">
<keep-alive>
<router-view></router-view>
</keep-alive>
</div>
</div>
</div>
@ -102,20 +102,24 @@ export default {
::v-deep .el-submenu__title {
padding: 0 8px !important;
font-weight: bold !important;
}
::v-deep .el-menu-item {
padding: 0 8px !important;
margin-right: -1px;
}
::v-deep .el-menu-item-group .el-menu-item {
align-items: center;
margin-left: 20px !important;
font-weight: bold !important;
}
::v-deep .el-menu-item-group__title {
padding: 0 !important;
font-weight: bold;
}
.container {
@ -259,20 +263,24 @@ export default {
}
.view_box_title {
width: 100%;
// width: 700px;
position: sticky;
top: 0;
width: 98.8%;
height: 38px;
line-height: 38px;
text-align: center;
font-weight: 700;
font-size: 19px;
font-family: SourceHanSansCN;
border-radius: 5px;
color: #00356f;
margin: 0 0 10px 0;
margin: 10px 0 0 10px;
background: url("../assets/images/sub-title.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
font-weight: bold;
z-index: 9999999;
}

@ -361,7 +361,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -372,13 +372,13 @@
{{ zczt(scope.row.ppztDm) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq.split(" ")[0] }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -360,7 +360,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -371,12 +371,12 @@
{{ zczt(scope.row.ppztDm) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq.split(" ")[0] }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -361,7 +361,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -372,13 +372,13 @@
{{ zczt(scope.row.ppztDm) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq.split(" ")[0] }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -360,7 +360,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -371,13 +371,13 @@
{{ zczt(scope.row.ppztDm) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq.split(" ")[0] }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -360,7 +360,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -371,12 +371,12 @@
{{ zczt(scope.row.ppztDm) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq.split(" ")[0] }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -360,7 +360,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -370,12 +370,12 @@
{{ zczt(scope.row.ppztDm) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq.split(" ")[0] }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -363,7 +363,7 @@
</el-table-column>
<el-table-column label="产品类型" prop="cplx" min-width="120" align="center"></el-table-column>
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="120" align="center" sortable="custom">
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
</template>
@ -374,12 +374,12 @@
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="120" align="center" sortable="custom">
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq ? scope.row.pzrq.split(" ")[0] : "" }}
</template>
</el-table-column>
<el-table-column label="批准有效期至" prop="pzyxq" min-width="160" align="center" sortable="custom">
<el-table-column label="批准有效期至" prop="pzyxq" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzyxq ? scope.row.pzyxq.split(" ")[0] : "" }}
</template>

@ -43,12 +43,12 @@ export default {
},
activated() {
this.$nextTick(() => {
// 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:82?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:82?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 height = dom[0].getBoundingClientRect();

@ -173,13 +173,13 @@
{{ scope.row.scqy }}
</template>
</el-table-column>
<el-table-column label="批准日期" min-width="140" align="center" :sortable="sortableshow">
<el-table-column label="批准日期" min-width="170" align="center" :sortable="sortableshow">
<template slot-scope="scope">
{{ scope.row.pzrq }}
</template>
</el-table-column>
<el-table-column label="批准文号期限" min-width="170" align="center" :sortable="sortableshow">
<el-table-column label="批准文号期限" min-width="200" align="center" :sortable="sortableshow">
<template slot-scope="scope">
{{ scope.row.yppzwhyxq }}
@ -192,7 +192,7 @@
<div class="norepet">{{ scope.row.scdz }}</div>
</template>
</el-table-column>
<el-table-column label="操作" width="180" fixed="right" align="center">
<el-table-column label="操作" width="200" fixed="right" align="center">
<template slot-scope="scope">
<el-button type="primary" @click="toDetail(scope.row, 1)">详情</el-button>
<el-button type="primary" @click="mygotohuaxiang(scope.row, 1)">产品画像</el-button>

@ -154,13 +154,13 @@
{{ scope.row.scqy }}
</template>
</el-table-column>
<el-table-column label="批准日期" min-width="140" align="center" sortable="custom">
<el-table-column label="批准日期" min-width="170" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.pzrq }}
</template>
</el-table-column>
<el-table-column label="批准文号期限" min-width="180" align="center" sortable="custom">
<el-table-column label="批准文号期限" min-width="200" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.yppzwhyxq }}

@ -144,7 +144,7 @@
</template>
<script>
import { download, dcyp } from "../../api/archives/updata";
import { download, dcyp,exportZyzj } from "../../api/archives/updata";
import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
@ -237,12 +237,12 @@ export default {
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
});
dcyp(this.form1).then((res) => {
exportZyzj(this.form1).then((res) => {
const blob = new Blob([res], { type: res.type });
const link = document.createElement("a");
link.href = window.URL.createObjectURL(blob);
link.style.display = "none";
link.download = "药品" + ".xlsx";
link.download = "中药制剂" + ".xlsx";
link.click();
this.loadA.close();
this.$message({

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

Loading…
Cancel
Save