|
|
|
@ -3,11 +3,12 @@
|
|
|
|
|
<div class="select-search">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParmas.color"
|
|
|
|
|
placeholder="分色"
|
|
|
|
|
placeholder="选择分色"
|
|
|
|
|
clearable
|
|
|
|
|
multiple
|
|
|
|
|
collapse-tags
|
|
|
|
|
:popper-append-to-body="false"
|
|
|
|
|
@change="changeColor"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.b_color_type"
|
|
|
|
@ -18,7 +19,7 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParmas.parentid"
|
|
|
|
|
placeholder="网格"
|
|
|
|
|
placeholder="选择网格"
|
|
|
|
|
clearable
|
|
|
|
|
:popper-append-to-body="false"
|
|
|
|
|
@change="handleNetwork"
|
|
|
|
@ -79,6 +80,12 @@ export default {
|
|
|
|
|
this.getNetworkList();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
changeColor(e) {
|
|
|
|
|
console.log(e);
|
|
|
|
|
this.$store.commit("CHANGE_QUERY", {
|
|
|
|
|
color: e.length > 0 ? e.toString() : undefined,
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
async getNetworkList() {
|
|
|
|
|
let res = await getNetWorkId({
|
|
|
|
|
xiaoquId: this.queryParamsXiaoqu.xiaoquId,
|
|
|
|
@ -119,6 +126,13 @@ export default {
|
|
|
|
|
let itemData = this.multipleList.filter((it) => it.label == item)[0];
|
|
|
|
|
this.queryParmas[itemData.key] = itemData.value;
|
|
|
|
|
});
|
|
|
|
|
this.$store.commit("CHANGE_QUERY", {
|
|
|
|
|
type: this.queryParmas.type,
|
|
|
|
|
isd: this.queryParmas.isd,
|
|
|
|
|
isk: this.queryParmas.isk,
|
|
|
|
|
isx: this.queryParmas.isx,
|
|
|
|
|
isj: this.queryParmas.isj,
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
filterDisabled(label) {
|
|
|
|
|
if (label == "户籍" || label == "流动") {
|
|
|
|
|