添加搜索

lijinlong
李劲龙 1 year ago
parent 34318fa53c
commit 1b4370d8ad

@ -54,8 +54,8 @@ export default {
params: query,
});
},
//分页条件查询药品批件数据
vRdgYpwhGxwzylList(query) {
//分页条件查询药品批件数据
vRdgYpwhGxwzylList(query) {
return request({
url: "/pharmaceuticals/vRdgYpwhGxwz/ylList",
method: "GET",
@ -91,6 +91,12 @@ export default {
});
},
getDicts(params) {
return request({
url: '/pharmaceuticals/groductsLabel/dict',
method: 'get',
params
})
},
}

@ -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",
});

@ -0,0 +1,63 @@
<template>
<div>
<el-col :span="8" v-if="false">
<el-form-item label="产品标签" :disabled="$store.getters.usersort">
<el-select v-model="form1.cpbq" placeholder="请选择产品标签" clearable @clear="isclear" multiple>
<el-option v-for="item in options" :key="item" :label="item" :value="item">
</el-option>
</el-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
export default {
name: '',
components: {},
data() {
return {
options: [],
}
},
props: {
form1: {
type: Object,
default: null
},
mytype: {
type: String,
default: "3"
},
},
created() { },
mounted() { this.listIS(this.mytype) },
methods: {
isclear() {
this.$emit("isclear")
},
listIS(type) {
let obj = {
1: "labelTypeHZP",
2: "labelTypeYP",
3: "labelTypeYLQX",
4: "labelTypeYP",
5: "labelTypeYP",
}
this.options = []
this.$api.cosmetics.getDicts({ dict: obj[type] || "zw" }).then(res => {
console.log(798, res);
if (res.code == 200) {
res.data.map(element => {
this.options.push(element.dictLabel)
});
}
})
}
},
computed: {}
}
</script>
<style scoped lang='scss'></style>

@ -139,14 +139,18 @@
</el-date-picker>
</el-form-item>
</el-col>
<cpbq :form1="form1" @isclear="isclear" mytype="3"></cpbq>
</el-row>
</div>
</template>
<script>
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
name: 'AdvancedSearch',
components: {},
components: {cpbq},
data() {
return {

@ -212,6 +212,8 @@ export default {
cplx: "医疗器械",//
cplb: "第一类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
},
@ -423,6 +425,8 @@ export default {
cplx: "医疗器械",//
cplb: "第一类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
};
this.form = {

@ -213,6 +213,7 @@ export default {
cplx: "医疗器械",//
cplb: "第三类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
@ -428,6 +429,7 @@ export default {
cplx: "医疗器械",//
cplb: "第三类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
};

@ -211,6 +211,7 @@ export default {
cplx: "医疗器械",//
cplb: "第二类",//
zcrszshi:"",
cpbq:"",//
area: this.$store.getters.usersort
@ -425,6 +426,7 @@ export default {
cplx: "医疗器械",//
cplb: "第二类",//
zcrszshi:"",
cpbq:"",//
area: this.$store.getters.usersort
};

@ -207,6 +207,7 @@ export default {
cplx: "体外诊断试剂",//
cplb: "第一类",//
zcrszshi:"",
cpbq:"",//
area: this.$store.getters.usersort
@ -422,6 +423,7 @@ export default {
cplx: "体外诊断试剂",//
cplb: "第一类",//
zcrszshi:"",
cpbq:"",//
area: this.$store.getters.usersort
};

@ -214,6 +214,7 @@ export default {
cplx: "体外诊断试剂",//
cplb: "第三类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
@ -429,6 +430,7 @@ export default {
cplx: "体外诊断试剂",//
cplb: "第三类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
/*

@ -212,6 +212,7 @@ export default {
cplx: "体外诊断试剂",//
cplb: "第二类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
},
@ -422,6 +423,7 @@ export default {
cplx: "体外诊断试剂",//
cplb: "第二类",//
zcrszshi: "",
cpbq:"",//
area: this.$store.getters.usersort
};

@ -205,6 +205,7 @@ export default {
jgjzccf: "",//
cplx: "",
zcrszshi: "",//
cpbq:"",//
area: this.$store.getters.usersort
},
@ -433,6 +434,7 @@ export default {
jgjzccf: "",//
cplx: "",
zcrszshi: "",//
cpbq:"",//
area: this.$store.getters.usersort
};
this.form = {

@ -108,6 +108,10 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<cpbq :form1="form1" @isclear="isclear" mytype="1"></cpbq>
</el-row>
</el-row>
<!-- <el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
@ -316,9 +320,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";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: { MapCars, AdvancedSearch, dishi },
components: { MapCars, AdvancedSearch, dishi,cpbq },
data() {
return {
options1: [
@ -393,6 +398,8 @@ export default {
allStatus: "",
scxkz: "",
zzjyjl: "",
cpbq: "",//
area: this.$store.getters.usersort
},
form: {
@ -608,7 +615,7 @@ export default {
zcrbar: "",//
zzjyjl: "",
status: "有效",
cpbq: "",//
area: this.$store.getters.usersort
};
this.form = {

@ -109,6 +109,10 @@
</el-col>
</el-row>
</el-row>
<el-row>
<cpbq :form1="form1" @isclear="isclear" mytype="1"></cpbq>
</el-row>
<!-- <el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row> -->
@ -312,9 +316,10 @@ import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: { MapCars, AdvancedSearch, dishi },
components: { MapCars, AdvancedSearch, dishi,cpbq },
data() {
return {
options1: [
@ -389,6 +394,8 @@ export default {
allStatus: "",
scxkz: "",
zzjyjl: "",
cpbq: "",//
area: this.$store.getters.usersort
},
form: {
@ -604,6 +611,7 @@ export default {
scxkz: "",
zcrbar: "",//
zzjyjl: "",
cpbq: "",//
area: this.$store.getters.usersort
};

@ -109,7 +109,10 @@
</el-col>
</el-row>
</el-row>
<el-row>
<cpbq :form1="form1" @isclear="isclear" mytype="1"></cpbq>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -309,10 +312,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";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: { MapCars, AdvancedSearch, dishi },
components: { MapCars, AdvancedSearch, dishi,cpbq },
data() {
return {
options1: [
@ -387,6 +391,7 @@ export default {
scxkz: "",
zzjyjl: "",
status: "有效",
cpbq: "",//
area: this.$store.getters.usersort
},
@ -604,6 +609,7 @@ export default {
zcrbar: "",//
zzjyjl: "",
status: "有效",
cpbq: "",//
area: this.$store.getters.usersort
};

@ -108,7 +108,10 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<cpbq :form1="form1" @isclear="isclear" mytype="1"></cpbq>
</el-row>
</el-row>
<!-- <el-row>
<dishi :form1="form1" @isclear="isclear"></dishi>
@ -313,10 +316,11 @@ import MapCars from "@/views/components/MapCarsLog.vue";
import AdvancedSearch from "@/views/components/AdvancedSearch";
import dishi from "@/views/components/AdvancedSearch/dishi.vue";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: { MapCars, AdvancedSearch, dishi },
components: { MapCars, AdvancedSearch, dishi,cpbq },
data() {
return {
options1: [
@ -390,6 +394,7 @@ export default {
status: "",
allStatus: "",
scxkz: "",
cpbq: "",//
zzjyjl: "",
area: this.$store.getters.usersort
},
@ -604,7 +609,7 @@ export default {
scxkz: "",
zcrbar: "",//
zzjyjl: "",
cpbq: "",//
area: this.$store.getters.usersort
};
this.form = {

@ -47,7 +47,7 @@ export default {
}&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 = `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}`

@ -74,6 +74,8 @@
<el-input v-model="form1.syrq" placeholder="支持模糊查询" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
<cpbq :form1="form1" @isclear="isclear" mytype="1"></cpbq>
</el-row>
<el-row>
<div class="footBox" v-show="bthshow">
@ -247,11 +249,13 @@ import { download, entrustedEnterexport } from "../../../api/archives/updata";
import { Notification, MessageBox, Message, Loading } from "element-ui";
// import logVue from '../../monitor/job/log.vue';
import MapCars from "@/views/components/MapCars.vue";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
/*
*/
export default {
components: { MapCars },
components: { MapCars,cpbq },
data() {
return {
MapCarsshow: true,
@ -301,6 +305,8 @@ export default {
zcrtyshxydm: "",//
scqytyshxydm: "",//
scqyxkzbh: "",//
cpbq: "",//
area: this.$store.getters.usersort
},
form: {
@ -309,7 +315,6 @@ export default {
area: this.$store.getters.usersort
},
jieliuShow: true,
loadA: null,
showCK: false,
src: "",
@ -492,6 +497,8 @@ export default {
zcrtyshxydm: "",//
scqytyshxydm: "",//
scqyxkzbh: "",//
cpbq: "",//
area: this.$store.getters.usersort
};
this.form = {

@ -99,6 +99,7 @@
</el-form-item>
</el-col> -->
<dishi :form1="form1" @isclear="isclear"></dishi>
<cpbq :form1="form1" @isclear="isclear" mytype="2"></cpbq>
</el-row>
<div class="footBox" v-show="bthshow">
@ -187,7 +188,6 @@
</el-table-column>
<el-table-column label="生产地址" min-width="170" align="center">
<template slot-scope="scope">
<div class="norepet">{{ scope.row.scdz }}</div>
</template>
@ -221,12 +221,14 @@ 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";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: {
MapCars,
AdvancedSearch,
dishi
dishi,
cpbq
},
data() {
return {
@ -319,6 +321,7 @@ export default {
fsnf: "", //
zzjyjl: "",//
tsypglfl: "",
cpbq:"",//
area: this.$store.getters.usersort,
myEntrust: "全部",
type: ""
@ -570,6 +573,7 @@ export default {
type: "",
zzjyjl: "",//
tsypglfl: "",
cpbq:"",
area: this.$store.getters.usersort
};
this.form = {

@ -84,6 +84,8 @@
</el-date-picker>
</el-form-item>
</el-col>
<cpbq :form1="form1" @isclear="isclear" mytype="2"></cpbq>
</el-row>
<div class="footBox" v-show="bthshow">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -201,12 +203,14 @@ 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 cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: {
// MapCars,
AdvancedSearch
AdvancedSearch,
cpbq
},
data() {
return {
@ -249,6 +253,7 @@ export default {
bglx: "", //
fsnf: "", //
zzjyjl: "",//
cpbq: "",//
area: this.$store.getters.usersort,
type: "受托"
},
@ -464,6 +469,7 @@ export default {
bglx: "", //
fsnf: "", //
zzjyjl: "",//
cpbq: "",//
area: this.$store.getters.usersort,
type: "受托"
};

@ -26,8 +26,7 @@
<el-row>
<el-col :span="8">
<el-form-item label="产品名称">
<el-input v-model="form1.pzName" placeholder="支持模糊查询" clearable
@clear="isclear"></el-input>
<el-input v-model="form1.pzName" placeholder="支持模糊查询" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
@ -51,17 +50,19 @@
</el-form-item></el-col>
<el-col :span="8">
<el-form-item label="生产许可证">
<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-col>
<el-col :span="8">
<el-form-item label="批准文号">
<el-input v-model="form1.bz" placeholder="支持模糊查询" clearable
@clear="isclear"></el-input>
<el-input v-model="form1.bz" placeholder="支持模糊查询" clearable @clear="isclear"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<cpbq :form1="form1" @isclear="isclear" mytype="2"></cpbq>
</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>
@ -227,10 +228,12 @@
import { download, vRdgYpwhGxwzexportYly } from "../../../api/archives/updata";
import { Notification, MessageBox, Message, Loading, TabPane } from "element-ui";
// import MapCars from "@/views/components/MapCars.vue";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: {
// MapCars,
cpbq
},
data() {
return {
@ -261,7 +264,9 @@ export default {
blfybgbh: "", //
blfylx: "", //
fsnf: "", //
bz:"",
bz: "",
cpbq: "",//
area: this.$store.getters.usersort,
},
@ -392,7 +397,7 @@ ${this.form1.scxkz}、` : ""
setTimeout(() => {
this.$router.push({
path: `/cosmeticsDetail`,
query: { type: "5", data: e.xh },
query: { type: "5", data: e.xh, bah: e.bz },
});
}, 1000);
},
@ -441,7 +446,9 @@ ${this.form1.scxkz}、` : ""
blfybgbh: "",
blfylx: "",
fsnf: "",
bz:"",
bz: "",
cpbq: "",//
area: this.$store.getters.usersort,
};
this.form = {

@ -60,6 +60,10 @@
</el-col>
<dishi :form1="form1" @isclear="isclear"></dishi>
</el-row>
<el-row>
<cpbq :form1="form1" @isclear="isclear" mytype="2"></cpbq>
</el-row>
<div class="footBox">
<el-button icon="el-icon-refresh-left" @click="reset"></el-button>
@ -149,9 +153,10 @@ 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";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
components: { MapCars, dishi },
components: { MapCars, dishi,cpbq },
data() {
return {
MapCarsshow: true,
@ -175,6 +180,8 @@ export default {
//
name: "",
status: "正常",//
cpbq: "",//
area: this.$store.getters.usersort
},
@ -325,7 +332,7 @@ export default {
//
yljgmc: "",
status: "正常",//
cpbq: "",//
area: this.$store.getters.usersort
};

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

Loading…
Cancel
Save