更新产品档案

lijinlong
李劲龙 6 months ago
parent 319ab0763c
commit 2ccc2e4ae2

@ -47,6 +47,9 @@ export default {
</script>
<style>
.tabsBottom{
position: relative;
}
#app .theme-picker {
display: none;
}

@ -25,6 +25,7 @@ export default {
params: query,
});
},
// 药品
vRdgYpwhGxwztypecount(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",
});

@ -133,7 +133,9 @@ L.Icon.Default.mergeOptions({
*
*/
import gegnxinshijian from '@/views/components/gegnxinshijian/index.vue';
Vue.component('gegnxinshijian', gegnxinshijian);
Vue.use(Element, {
size: Cookies.get("size") || "medium", // set element-ui default size

@ -506,7 +506,7 @@ export default {
${data[feature.properties.fName]}
</div>
<div class="city-name">${ismyobj[feature.properties.fName]}</div>
<div class="city-name">${feature.properties.fName}</div>
<div class="city-name">${feature.properties.fName}</div>
</div>`,
}),
});
@ -519,7 +519,7 @@ export default {
${data[feature.properties.fName]}
</div>
<div class="city-name">${ismyobj[feature.properties.fName]}</div>
<div class="city-name">${feature.properties.fName}</div>
<div class="city-name">${feature.properties.fName}</div>
</div>`,
}),
});

@ -0,0 +1,35 @@
<template>
<div class="zuihougengxin">
最后更新时间{{ mydata }}
</div>
</template>
<script>
export default {
name: '',
components: {},
data() {
return {
}
},
created() { },
mounted() { },
methods: {},
computed: {},
props: {
mydata: {
type: String,
default: "2024-7-30 1:22:13"
}
},
}
</script>
<style scoped lang='scss'>
.zuihougengxin {
position: absolute;
top: 15px;
right: 20px;
z-index: 999;
font-size: 16px;
}
</style>

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
@ -377,9 +379,7 @@ export default {
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
this.form[i] = this.form1[i];
}

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">

@ -36,6 +36,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 2:15:23"></gegnxinshijian>
</div>
<div class="exportBtn">
@ -65,7 +67,7 @@
<el-table-column label="产品管理类别" prop="cplb" min-width="160" align="center"></el-table-column>
<el-table-column label="所在地" prop="zcrszshi" min-width="150" align="center" sortable="custom">
<template slot-scope="scope">
{{ scope.row.zcrszshi }}
{{ isdishi(scope.row.zcrszshi) }}
</template>
</el-table-column>
<el-table-column label="批准日期" prop="pzrq" min-width="170" align="center" sortable="custom">
@ -80,7 +82,9 @@
</el-table-column>
<el-table-column label="统一社会信用代码" prop="shxydm" min-width="220" align="center">
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center">
</el-table-column>
<el-table-column label=" 注册证状态/备案凭证状态" prop="ppztDm" min-width="280" align="center">
<template slot-scope="scope">
{{ zczt(scope.row.ppztDm) }}

@ -1,46 +1,65 @@
export const mySortChange = {
created() {
console.log('混入');
created() {
console.log('混入');
},
methods: {
mySortChange(e) {
this.sortableshowDaty = e
this.form1.pzrqSort = ""
this.form1.pzyxqSort = ""
this.form1.zcrszshiSort = ""
console.log(e.order);
let indextype = e.order == "ascending" ? 1 : e.order == "descending" ? 2 : ""
if (e.column.label == "批准日期") {
this.form1.pzrqSort = indextype
}
if (e.column.label == "批准有效期至") {
this.form1.pzyxqSort = indextype
}
if (e.column.label == "所在地") {
this.form1.zcrszshiSort = indextype
}
this.searchList()
},
methods: {
mySortChange(e) {
this.sortableshowDaty = e
this.form1.pzrqSort = ""
this.form1.pzyxqSort = ""
this.form1.zcrszshiSort = ""
console.log(e.order);
let indextype = e.order == "ascending" ? 1 : e.order == "descending" ? 2 : ""
if (e.column.label == "批准日期") {
this.form1.pzrqSort = indextype
}
if (e.column.label == "批准有效期至") {
this.form1.pzyxqSort = indextype
}
if (e.column.label == "所在地") {
this.form1.zcrszshiSort = indextype
}
this.searchList()
},
mydataFn() {
if (this.$refs.mydata.pzrqStartTime) {
this.form1.pzrqStart = this.$refs.mydata.pzrqStartTime[0]
this.form1.pzrqEnd = this.$refs.mydata.pzrqStartTime[1]
} else {
this.$refs.mydata.form1.pzrqStart = ""
this.$refs.mydata.form1.pzrqEnd = ""
}
if (this.$refs.mydata.yppzwhyxqStartTime) {
this.form1.pzyxqStart = this.$refs.mydata.yppzwhyxqStartTime[0]
this.form1.pzyxqEnd = this.$refs.mydata.yppzwhyxqStartTime[1]
} else {
this.form1.pzyxqStart = ""
this.form1.pzyxqEnd = ""
}
// this.searchList()
},
mydataFnqingkong(){
this.$refs.mydata.pzrqStartTime = ""
this.$refs.mydata.yppzwhyxqStartTime = ""
}
mydataFn() {
if (this.$refs.mydata.pzrqStartTime) {
this.form1.pzrqStart = this.$refs.mydata.pzrqStartTime[0]
this.form1.pzrqEnd = this.$refs.mydata.pzrqStartTime[1]
} else {
this.$refs.mydata.form1.pzrqStart = ""
this.$refs.mydata.form1.pzrqEnd = ""
}
if (this.$refs.mydata.yppzwhyxqStartTime) {
this.form1.pzyxqStart = this.$refs.mydata.yppzwhyxqStartTime[0]
this.form1.pzyxqEnd = this.$refs.mydata.yppzwhyxqStartTime[1]
} else {
this.form1.pzyxqStart = ""
this.form1.pzyxqEnd = ""
}
// this.searchList()
},
mydataFnqingkong() {
this.$refs.mydata.pzrqStartTime = ""
this.$refs.mydata.yppzwhyxqStartTime = ""
},
isdishi(type) {
let cities = {
210100000000: '沈阳市',
210200000000: '大连市',
210300000000: '鞍山市',
210400000000: '抚顺市',
210500000000: '本溪市',
210600000000: '丹东市',
210700000000: '锦州市',
210800000000: '营口市',
210900000000: '阜新市',
211000000000: '辽阳市',
211100000000: '盘锦市',
211200000000: '铁岭市',
211300000000: '朝阳市',
211400000000: '葫芦岛市'
}
return cities[type] || "外地"
}
};
}
};

@ -209,6 +209,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 3:22:11"></gegnxinshijian>
</div>
<div class="exportBtn">
<div>

@ -208,6 +208,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 3:22:11"></gegnxinshijian>
</div>
<div class="exportBtn">
<div>

@ -205,6 +205,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 3:22:11"></gegnxinshijian>
</div>
<div class="exportBtn">
<div>

@ -208,6 +208,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-7-30 3:22:11"></gegnxinshijian>
</div>
<div class="exportBtn">
<div>

@ -43,13 +43,13 @@ 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:81?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
}&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
let dom = document.getElementsByClassName("ifram-view");
let height = dom[0].getBoundingClientRect();

@ -149,6 +149,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2023-12-28 14:25:33"></gegnxinshijian>
</div>
<div class="exportBtn">
<el-button type="primary" icon="el-icon-edit-outline" @click="exportList()">excel</el-button>

@ -62,6 +62,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">产品列表</div>
<gegnxinshijian mydata="2024-5-30 17:15:22"></gegnxinshijian>
</div>
<div class="exportBtn">
<div>

@ -118,6 +118,7 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">药品列表</div>
<gegnxinshijian mydata="2024-7-30 1:22:13"></gegnxinshijian>
</div>
<div class="exportBtn">
<div>

@ -104,6 +104,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">药品列表</div>
<gegnxinshijian mydata="2024-7-30 1:22:13"></gegnxinshijian>
</div>
<div class="exportBtn">
<el-button type="primary" icon="el-icon-edit-outline" @click="exportList()">excel</el-button>

@ -142,6 +142,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">药品列表</div>
<gegnxinshijian mydata="2024-3-30 10:44:20"></gegnxinshijian>
</div>
<div class="exportBtn">
<el-button type="primary" icon="el-icon-edit-outline" @click="exportList()">excel</el-button>

@ -76,6 +76,8 @@
<div class="foot-main">
<div class="headerText">
<div class="searchP">传统中药制剂列表</div>
<gegnxinshijian mydata="2024-7-22 14:17:25"></gegnxinshijian>
</div>
<div class="exportBtn">
<el-button type="primary" icon="el-icon-edit-outline" @click="exportList()">excel</el-button>

@ -43,7 +43,7 @@ module.exports = {
proxy: {
"/configApi": {
target: "https://dev-mssm-liaoning.lesdev.cn/ggfw-api",
// target: "http://172.24.21.7/ggfw-api",
// target: "http://192.168.0.118:9023/ggfw-api",
changeOrigin: true,
pathRewrite: {
"^/configApi": "",

Loading…
Cancel
Save