产品档案更改bug

lijinlong
李劲龙 12 months ago
parent 7d9de7cddd
commit 0dd0c9fc08

@ -40,10 +40,6 @@ export default {
cd /usr/share/nginx/html/ggfw-dangan 移动到文件夹下
unzip ggfw-dangan.zip -d . 解压
*/
},
};

@ -32,6 +32,22 @@ export default {
params: query,
});
},
//药品特殊药品类型统计
tsypCount(query) {
return request({
url: "/pharmaceuticals/vRdgYpwhGxwz/tsypCount",
method: "GET",
params: query,
});
},
//药品剂型统计
jxCount(query) {
return request({
url: "/pharmaceuticals/vRdgYpwhGxwz/jxCount",
method: "GET",
params: query,
});
},
// 药品地图
vRdgYpwhGxwztareacount(query) {
return request({

@ -39,6 +39,7 @@ import router from "./router";
import directive from "./directive"; // directive
import plugins from "./plugins"; // plugins
import { download } from "@/utils/request";
import { mygotohuaxiang } from "@/utils/request";
import "./assets/icons"; // icon
import "./permission"; // permission control
@ -87,6 +88,7 @@ Vue.prototype.addDateRange = addDateRange;
Vue.prototype.selectDictLabel = selectDictLabel;
Vue.prototype.selectDictLabels = selectDictLabels;
Vue.prototype.download = download;
Vue.prototype.mygotohuaxiang = mygotohuaxiang;
Vue.prototype.handleTree = handleTree;
Vue.prototype.dictList = dictList;
Vue.prototype.$api = API;

@ -33,6 +33,9 @@ router.beforeEach((to, from, next) => {
// }else{
// from.meta.keepAlive = true
// }
if(JSON.stringify(to.query) != '{}'){
store.commit('ADD_QUERY',to.query)
}
if (to.query.token) {
localStorage.setItem('MSSM-LIAONING__TOKEN', to.query.token)
}

@ -54,9 +54,9 @@ const selfPermission = {
.then((res) => {
if (res.message == '未知的token,请重新登录!' || res.status == 40002) {
setTimeout(() => {
// location.href = location.origin + "/login";
location.href = location.origin + "/login";
Message.error(res.message);
}, 2000);
}, 4000);
}
let infoData = res.result;
// let query = {

@ -9,12 +9,16 @@
const mapSate = {
state: {
list: [],
myquery:{}
},
mutations: {
ADD_ROUTER(state, view) {
state.list = view;
},
ADD_QUERY(state, view) {
state.myquery = view;
},
},
actions: {},

@ -210,5 +210,22 @@ export function download(url, params, filename, config) {
downloadLoadingInstance.close();
});
}
export function mygotohuaxiang(row,type){
console.log(row,type);
if(type==1){
window.open(`${location.origin}/ggfw-jcphx/#/bgpage?code=${row.yppzwh}&name=${row.yptymc}&type=${type}`);
}
if(type==2){
window.open(`${location.origin}/ggfw-jcphx/#/bgpage?code=${row.zczh}&name=${row.cpmc}&type=${type}`);
}
if(type=='国产' || type=='进口普通'){
window.open(`${location.origin}/ggfw-jcphx/#/bgpage?code=${row.bah}&name=${row.cpmc}&type=${3}`);
}
if(type=='国产特殊' || type=='进口特殊'){
window.open(`${location.origin}/ggfw-jcphx/#/bgpage?code=${row.zczh}&name=${row.cpmc}&type=${3}`);
}
}
export default service;

@ -0,0 +1,54 @@
<template>
<div>
<el-col :span="8">
<el-form-item label="所在地市" :disabled="$store.getters.usersort">
<el-select v-model="form1.area" placeholder="请选择地市" clearable @clear="isclear">
<el-option v-for="item in dishi" :key="item" :label="item" :value="item">
</el-option>
</el-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
export default {
name: '',
components: {},
data() {
return {
dishi: ["沈阳市",
"大连市",
"鞍山市",
"抚顺市",
"本溪市",
"丹东市",
"锦州市",
"营口市",
"阜新市",
"辽阳市",
"盘锦市",
"铁岭市",
"朝阳市",
"葫芦岛市",
"沈抚示范区",],
}
},
props: {
form1: {
type: Object,
default: null
},
},
created() { },
mounted() { },
methods: {
isclear() {
this.$emit("isclear")
},
},
computed: {}
}
</script>
<style scoped lang='scss'></style>

@ -94,6 +94,10 @@ export default {
mystortTow: null,
chartData: ["其他"],
chartDatatow: [10],
chartDataYao1: ["其他"],
chartDatatowYao1: [10],
chartDataYao2: ["其他"],
chartDatatowYao2: [10],
clickShow: true,
};
},
@ -138,6 +142,10 @@ export default {
}
} else if (this.echartstitle == "药品") {
let msg1 = await this.$api.apparatus.vRdgYpwhGxwztypecount({ area: this.mystortTow });
//
let msg2 = await this.$api.apparatus.tsypCount({ area: this.mystortTow });
//
let msg3 = await this.$api.apparatus.jxCount({ area: this.mystortTow });
if (msg1.code == 200) {
msg1.data.forEach(item => {
if (item.ypfl && item.ypfl != 'null') {
@ -146,6 +154,18 @@ export default {
}
})
msg2.data.forEach(item => {
if (item.ypfl && item.ypfl != 'null') {
this.chartDatatowYao1.push(item.count)
this.chartDataYao1.push(item.ypfl)
}
})
msg3.data.forEach(item => {
if (item.ypfl && item.ypfl != 'null') {
this.chartDatatowYao2.push(item.count)
this.chartDataYao2.push(item.ypfl)
}
})
this.clickShow = true
}
@ -296,10 +316,84 @@ export default {
};
this.myChart.setOption(option, true);
this.myChart2.setOption(option, true);
this.myChart3.setOption(option, true);
if (this.echartstitle == '药品') {
this.Yaotongyi()
}
},
ops(chartData, chartDatatow,bzc) {
return {
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
},
formatter: function (params) {
if (params && params.length > 0) {
return params[0].name + ' : ' + params[0].value;
}
return '';
}
},
grid: {
left: '5%',
right: '8%',
bottom: '10%',
containLabel: true
},
xAxis: [{
type: 'category',
data: chartData,
axisTick: {
alignWithLabel: true
},
axisLabel: {
formatter: function (value) {
return value.split('\n').join('\n'); // 使
},
},
}],
yAxis: [{
type: 'value'
}],
series: [{
name: 'Direct',
type: 'bar',
barWidth: '20%', // 20%
data: chartDatatow,
label: {
show: true,
position: 'top',
},
}],
dataZoom: [
{
"show": true,
"height": 25,
"xAxisIndex": [
0
],
bottom: 0,
"start": 0,
"end": bzc,
zoomLock: true, // dataZoom
handleSize: '110%',
handleStyle: {
color: "#d3dee5",
},
textStyle: {
color: "#fff"
},
borderColor: "#90979c"
}
],
};
},
Yaotongyi(data) {
this.myChart2.setOption(this.ops(this.chartDataYao1, this.chartDatatowYao1,15), true);
this.myChart3.setOption(this.ops(this.chartDataYao2, this.chartDatatowYao2,2), true);
},
initMap() {
this.globalMap = L.map("leafletMap", {
@ -363,10 +457,11 @@ export default {
let that = this;
erd.listenTo(document.getElementById("echarts"), function (element) {
that.myChart.resize();
that.myChart2.resize();
that.myChart3.resize();
if (that.echartstitle == '药品') {
that.myChart2.resize();
that.myChart3.resize();
}
that.globalMap.fitBounds(that.mygeojson.getBounds());
})
},
showinitCityLayer() {
@ -530,12 +625,14 @@ export default {
width: 45vw;
height: 60vh;
}
.echarts2 {
width: 45vw;
width: 42vw;
height: 60vh;
}
.echarts3 {
width: 45vw;
width: 42vw;
height: 60vh;
}

@ -45,7 +45,6 @@
$router.currentRoute.meta.title }}</div>
<keep-alive>
<router-view></router-view>
</keep-alive>
</div>

@ -138,6 +138,7 @@
</el-select>
</el-form-item>
</div>
</el-col>
<el-col :span="8">
<div class="logformitem">
@ -150,8 +151,17 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -385,11 +395,12 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -415,11 +426,17 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: {
MapCars,
AdvancedSearch
AdvancedSearch,
mydata,
dishi
},
mixins: [mySortChange],
data() {
@ -507,6 +524,7 @@ export default {
jgjzccf: "",//
cplx: "医疗器械",//
cplb: "第一类",//
zcrszshi: "",
area: this.$store.getters.usersort
},
@ -566,12 +584,15 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -661,8 +682,9 @@ export default {
},
//
searchList() {
//
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
this.form[i] = this.form1[i];
}
@ -675,6 +697,8 @@ export default {
},
//
reset(type) {
//
this.mydataFnqingkong()
this.btnArrshow = '全部'
this.$refs.tableRef.clearSort(); //
@ -708,6 +732,7 @@ export default {
jgjzccf: "",//
cplx: "医疗器械",//
cplb: "第一类",//
zcrszshi: "",
area: this.$store.getters.usersort
};
this.form = {

@ -150,8 +150,17 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -384,11 +393,13 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -415,11 +426,16 @@ import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: {
MapCars,
AdvancedSearch
AdvancedSearch,
mydata,
dishi
},
mixins: [mySortChange],
data() {
@ -507,6 +523,8 @@ export default {
jgjzccf: "",//
cplx: "医疗器械",//
cplb: "第三类",//
zcrszshi: "",
area: this.$store.getters.usersort
},
@ -566,12 +584,15 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -661,6 +682,8 @@ export default {
},
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
@ -675,6 +698,8 @@ export default {
},
//
reset(type) {
this.mydataFnqingkong()
this.$refs.tableRef.clearSort(); //
this.btnArrshow = '全部'
@ -708,6 +733,8 @@ export default {
jgjzccf: "",//
cplx: "医疗器械",//
cplb: "第三类",//
zcrszshi: "",
area: this.$store.getters.usersort
};
this.form = {

@ -150,8 +150,18 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -385,11 +395,13 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -415,11 +427,15 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: {
MapCars,
AdvancedSearch
AdvancedSearch,
mydata,
dishi
},
mixins: [mySortChange],
data() {
@ -507,6 +523,8 @@ export default {
jgjzccf: "",//
cplx: "医疗器械",//
cplb: "第二类",//
zcrszshi:"",
area: this.$store.getters.usersort
},
@ -566,12 +584,15 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -661,6 +682,7 @@ export default {
},
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
@ -675,6 +697,8 @@ export default {
},
//
reset(type) {
this.mydataFnqingkong()
this.$refs.tableRef.clearSort(); //
this.btnArrshow = '全部'
@ -708,6 +732,8 @@ export default {
jgjzccf: "",//
cplx: "医疗器械",//
cplb: "第二类",//
zcrszshi:"",
area: this.$store.getters.usersort
};
this.form = {

@ -150,8 +150,17 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -385,11 +394,13 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -415,8 +426,11 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: { MapCars, AdvancedSearch },
components: { MapCars, AdvancedSearch, mydata,dishi },
mixins: [mySortChange],
data() {
return {
@ -503,6 +517,8 @@ export default {
jgjzccf: "",//
cplx: "体外诊断试剂",//
cplb: "第一类",//
zcrszshi:"",
area: this.$store.getters.usersort
},
@ -562,12 +578,15 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -657,6 +676,8 @@ export default {
},
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
@ -671,6 +692,8 @@ export default {
},
//
reset(type) {
this.mydataFnqingkong()
this.$refs.tableRef.clearSort(); //
this.btnArrshow = '全部'
@ -704,6 +727,8 @@ export default {
jgjzccf: "",//
cplx: "体外诊断试剂",//
cplb: "第一类",//
zcrszshi:"",
area: this.$store.getters.usersort
};
this.form = {

@ -150,7 +150,16 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
@ -384,11 +393,13 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -415,11 +426,16 @@ import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: {
MapCars,
AdvancedSearch
AdvancedSearch,
mydata,
dishi
},
mixins: [mySortChange],
@ -508,6 +524,8 @@ export default {
jgjzccf: "",//
cplx: "体外诊断试剂",//
cplb: "第三类",//
zcrszshi: "",
area: this.$store.getters.usersort
},
@ -567,12 +585,15 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -662,6 +683,8 @@ export default {
},
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
@ -676,6 +699,8 @@ export default {
},
//
reset(type) {
this.mydataFnqingkong()
this.$refs.tableRef.clearSort(); //
this.btnArrshow = '全部'
@ -709,6 +734,8 @@ export default {
jgjzccf: "",//
cplx: "体外诊断试剂",//
cplb: "第三类",//
zcrszshi: "",
area: this.$store.getters.usersort
/*
*/

@ -150,8 +150,17 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -383,11 +392,13 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -413,11 +424,16 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: {
MapCars,
AdvancedSearch
AdvancedSearch,
mydata,
dishi
},
mixins: [mySortChange],
@ -506,6 +522,8 @@ export default {
jgjzccf: "",//
cplx: "体外诊断试剂",//
cplb: "第二类",//
zcrszshi:"",
area: this.$store.getters.usersort
},
@ -565,12 +583,15 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -660,6 +681,8 @@ export default {
},
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
@ -674,6 +697,7 @@ export default {
},
//
reset(type) {
this.mydataFnqingkong()
this.$refs.tableRef.clearSort(); //
this.btnArrshow = '全部'
@ -707,6 +731,8 @@ export default {
jgjzccf: "",//
cplx: "体外诊断试剂",//
cplb: "第二类",//
zcrszshi:"",
area: this.$store.getters.usersort
};
this.form = {

@ -0,0 +1,66 @@
<template>
<div>
<el-col :span="8">
<el-form-item label="批准日期">
<el-date-picker v-model="pzrqStartTime" type="daterange" range-separator="" start-placeholder=""
end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable
@change="changeisclear">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="批准有效期至">
<el-date-picker v-model="yppzwhyxqStartTime" type="daterange" range-separator=""
start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
clearable @change="changeisclear">
</el-date-picker>
</el-form-item>
</el-col>
</div>
</template>
<script>
export default {
name: 'mydata',
components: {},
data() {
return {
pzrqStartTime: "",
yppzwhyxqStartTime: ""
}
},
props: {
form1: {
type: Object,
default: null
},
},
created() { },
mounted() { },
methods: {
changeisclear(e) {
if (e == null) {
this.$emit("isclear")
}
},
},
computed: {}
}
</script>
<style scoped lang='scss'>
::v-deep .el-date-editor--daterange.el-input,
.el-date-editor--daterange.el-input__inner,
.el-date-editor--timerange.el-input,
.el-date-editor--timerange.el-input__inner {
width: 100%;
}
::v-deep.el-date-editor .el-range__close-icon {
color: #555555;
&:hover {
font-size: 18px;
color: #000;
}
}
</style>

@ -152,8 +152,17 @@
</el-form-item>
</div>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="所在地市">
<el-input v-model="form1.zcrszshi" placeholder="请输入所在地市" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<mydata :form1="form1" @isclear="isclear" ref="mydata" @mydataFn="mydataFn"></mydata>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -387,11 +396,11 @@
</el-table-column>
<el-table-column label="生产地址" prop="scdz" min-width="230" align="center"></el-table-column>
<el-table-column label="操作" width="100" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, 2)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -417,11 +426,14 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCars.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import { mySortChange } from './mySortChange.js';
import mydata from "./components/mydata.vue"
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: { MapCars, AdvancedSearch },
components: { MapCars, AdvancedSearch, mydata,dishi },
mixins: [mySortChange],
data() {
return {
@ -503,6 +515,7 @@ export default {
ylqxflbm: "",//
jgjzccf: "",//
cplx: "",
zcrszshi: "",//
area: this.$store.getters.usersort
},
@ -565,17 +578,21 @@ export default {
};
},
async mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
},
methods: {
// mySortChange(e) {
// this.sortableshowDaty = e
// this.form1.pzrqSort = ""
@ -676,8 +693,8 @@ export default {
},
//
searchList() {
this.mydataFn();
this.form.current = 1;
for (let i in this.form1) {
this.form[i] = this.form1[i];
}
@ -690,6 +707,7 @@ export default {
},
//
reset(type) {
this.mydataFnqingkong()
this.$refs.tableRef.clearSort(); //
this.btnArrshow = '全部'
this.form1 = {
@ -722,6 +740,7 @@ export default {
ylqxflbm: "",//
jgjzccf: "",//
cplx: "",
zcrszshi: "",//
area: this.$store.getters.usersort
};
this.form = {

@ -21,5 +21,26 @@ export const mySortChange = {
}
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 = ""
}
}
};

@ -107,6 +107,10 @@
</el-col>
</el-row>
</el-row>
<el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -273,11 +277,13 @@
</template>
</el-table-column>
<el-table-column label="操作" width="120" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, '国产')">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -303,8 +309,10 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: { MapCars, AdvancedSearch },
components: { MapCars, AdvancedSearch, dishi },
data() {
return {
options1: [
@ -399,12 +407,15 @@ export default {
};
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.changeType("1");
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
},
@ -416,7 +427,7 @@ export default {
if (e.column.label == "注册/备案日期") {
this.form1.sqsjSort = indextype
}
this.searchList()
},
shijianguolv(data) {
@ -443,7 +454,6 @@ export default {
this.form.area = area
this.form1.area = area
this.getData(this.types);
},
collapsechange(e) {
if (e == 0) {

@ -107,6 +107,9 @@
</el-col>
</el-row>
</el-row>
<el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -213,7 +216,7 @@
<section class="table-box">
<div class="table-item">
<el-table v-loading="loading" :data="tableData" border height="500" style="width: 100%"
@sort-change="mySortChange" ref="tableRef">
@sort-change="mySortChange" ref="tableRef">
<el-table-column type="selection" width="60" align="center">
</el-table-column>
<el-table-column type="index" label="序号" width="80" align="center" />
@ -273,11 +276,13 @@
</template>
</el-table-column>
<el-table-column label="操作" width="120" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, '国产特殊')">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -304,8 +309,10 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: { MapCars, AdvancedSearch },
components: { MapCars, AdvancedSearch,dishi },
data() {
return {
options1: [
@ -401,12 +408,15 @@ export default {
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.changeType("2");
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
},
@ -418,7 +428,7 @@ export default {
if (e.column.label == "注册/备案日期") {
this.form1.pzrqSort = indextype
}
this.searchList()
},
shijianguolv(data) {

@ -107,6 +107,9 @@
</el-col>
</el-row>
</el-row>
<el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -213,7 +216,7 @@
<section class="table-box">
<div class="table-item">
<el-table v-loading="loading" :data="tableData" border height="500" style="width: 100%"
@sort-change="mySortChange" ref="tableRef">
@sort-change="mySortChange" ref="tableRef">
<el-table-column type="selection" width="60" align="center">
</el-table-column>
<el-table-column type="index" label="序号" width="80" align="center" />
@ -273,11 +276,13 @@
</template>
</el-table-column>
<el-table-column label="操作" width="120" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, '进口普通')">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -303,10 +308,11 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: { MapCars, AdvancedSearch },
components: { MapCars, AdvancedSearch, dishi },
data() {
return {
options1: [
@ -402,12 +408,15 @@ export default {
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.changeType("3");
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
},
@ -419,7 +428,7 @@ export default {
if (e.column.label == "注册/备案日期") {
this.form1.sjSort = indextype
}
this.searchList()
},
shijianguolv(data) {

@ -106,6 +106,10 @@
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
@ -213,7 +217,7 @@
<section class="table-box">
<div class="table-item">
<el-table v-loading="loading" :data="tableData" border height="500" style="width: 100%"
@sort-change="mySortChange" ref="tableRef">
@sort-change="mySortChange" ref="tableRef">
<el-table-column type="selection" width="60" align="center">
</el-table-column>
<el-table-column type="index" label="序号" width="80" align="center" />
@ -273,11 +277,13 @@
</template>
</el-table-column>
<el-table-column label="操作" width="120" 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)"></el-button>
<!-- <el-button size="mini" plain type="warning">编辑</el-button> -->
<el-button type="primary" @click="mygotohuaxiang(scope.row, '进口特殊')">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -304,10 +310,11 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: { MapCars, AdvancedSearch },
components: { MapCars, AdvancedSearch, dishi },
data() {
return {
options1: [
@ -402,13 +409,15 @@ export default {
};
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.changeType("4");
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
},
@ -420,7 +429,7 @@ export default {
if (e.column.label == "注册/备案日期") {
this.form1.pzrqSort = indextype
}
this.searchList()
},
shijianguolv(data) {

@ -49,6 +49,7 @@ export default {
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();
// let windowWidth = window.innerWidth;

@ -92,6 +92,15 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- <el-col :span="8">
<el-form-item label="药品编码">
<el-input v-model="form1.ypbm" placeholder="请输入药品编码" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="searchList"></el-button>
@ -183,11 +192,10 @@
<div class="norepet">{{ scope.row.scdz }}</div>
</template>
</el-table-column>
<el-table-column label="操作" width="200" fixed="right" align="center">
<el-table-column label="操作" width="180" fixed="right" align="center">
<template slot-scope="scope">
<el-button type="primary" @click="toDetail(scope.row, 1)">查看</el-button>
<el-button type="primary" @click="toDetail(scope.row, 2)">产品画像</el-button>
<el-button type="primary" @click="toDetail(scope.row, 1)">详情</el-button>
<el-button type="primary" @click="mygotohuaxiang(scope.row, 1)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -212,15 +220,32 @@ import { download, dcyp } from "../../../api/archives/updata";
import { Notification, MessageBox, Message, Loading, TabPane } from "element-ui";
import MapCars from "@/views/components/MapCars.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
export default {
components: {
MapCars,
AdvancedSearch
AdvancedSearch,
dishi
},
data() {
return {
sortableshow: true,
dishi: ["沈阳市",
"大连市",
"鞍山市",
"抚顺市",
"本溪市",
"丹东市",
"锦州市",
"营口市",
"阜新市",
"辽阳市",
"盘锦市",
"铁岭市",
"朝阳市",
"葫芦岛市",
"沈抚示范区",],
options1: [
{
value: 0,
@ -345,12 +370,15 @@ export default {
};
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -470,14 +498,12 @@ export default {
});
}, 1000);
} else {
console.log(e);
window.open(`${location.origin}/ggfw-jcphx/#/bgpage?code=${e.yppzwh}&name=${e.yptymc}&type=1`);
}
},
//
searchList() {
if (this.pzrqStartTime) {
this.form1.pzrqStartTime = this.pzrqStartTime[0]
this.form1.pzrqEndTime = this.pzrqStartTime[1]
@ -494,7 +520,6 @@ export default {
}
this.form.current = 1;
console.log(this.form1);
for (let i in this.form1) {
this.form[i] = this.form1[i];
}

@ -176,8 +176,8 @@
<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="toDetail(scope.row, 2)">产品画像</el-button>
<el-button type="primary" @click="toDetail(scope.row, 1)">详情</el-button>
<el-button type="primary" @click="mygotohuaxiang(scope.row, 1)">产品画像</el-button>
</template>
</el-table-column>
</el-table>
@ -284,12 +284,15 @@ export default {
};
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
@ -436,6 +439,8 @@ export default {
},
//
reset(type) {
this.pzrqStartTime = ""
this.yppzwhyxqStartTime = ""
this.$refs.tableRef.clearSort(); //
this.form1 = {

@ -197,7 +197,7 @@
<el-table-column label="操作" width="100" fixed="right" align="center">
<template slot-scope="scope">
<el-button type="primary" @click="toDetail(scope.row)"></el-button>
<el-button type="primary" @click="toDetail(scope.row)"></el-button>
</template>
</el-table-column>
</el-table>

@ -35,7 +35,7 @@
</el-col>
<el-col :span="8">
<el-form-item label=" 剂型">
<el-select v-model="form1.jx" placeholder=" 请选择剂型" clearable @clear="isclear">
<el-select v-model="form1.jx" placeholder=" 请选择剂型" multiple clearable @clear="isclear">
<el-option v-for="item in jxType" :key="item" :label="item" :value="item">
</el-option>
</el-select>
@ -58,6 +58,7 @@
</el-select>
</el-form-item>
</el-col>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<div class="footBox">
@ -122,7 +123,7 @@
</el-table-column>
<el-table-column label="操作" width="100" fixed="right" align="center">
<template slot-scope="scope">
<el-button type="primary" @click="toDetail(scope.row)"></el-button>
<el-button type="primary" @click="toDetail(scope.row)"></el-button>
</template>
</el-table-column>
</el-table>
@ -146,9 +147,10 @@
import { download, dcyp } 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";
export default {
components: { MapCars },
components: { MapCars, dishi },
data() {
return {
MapCarsshow: true,
@ -157,6 +159,7 @@ export default {
loading: false,
tableData: [],
total: 0,
form1: {
//
tymc: "",
@ -205,13 +208,15 @@ export default {
};
},
mounted() {
this.form1.name = this.$route.query.value || "";
if (this.form1.name) {
this.searchList();
} else {
this.chinaCosmetics(1);
console.log(123, this.$store.state.tags.myquery);
if (JSON.stringify(this.$store.state.tags.myquery) != '{}') {
for (let i in this.form1) {
this.form1[i] = this.$store.state.tags.myquery[i] || "";
}
this.$store.commit('ADD_QUERY', {})
}
console.log(this.form1);
this.searchList();
},
created() {
},

@ -5,7 +5,7 @@
<el-tab-pane label="表单属性" name="form" />
</el-tabs>
<div class="field-box">
<a class="document-link" target="_blank" :href="documentLink" title="查看组件文档">
<a class="document-link" target="_blank" :href="documentLink" title="详情组件文档">
<i class="el-icon-link" />
</a>
<el-scrollbar class="right-scrollbar">

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

Loading…
Cancel
Save