|
|
|
|
@ -100,12 +100,12 @@
|
|
|
|
|
this.select.filter = [{
|
|
|
|
|
"key": "name",
|
|
|
|
|
"op": "like",
|
|
|
|
|
"value": queryString
|
|
|
|
|
"value": queryString ? queryString : ''
|
|
|
|
|
}]
|
|
|
|
|
index(this.select).then(res=>{
|
|
|
|
|
|
|
|
|
|
console.log(res.data)
|
|
|
|
|
cb(res.data)
|
|
|
|
|
index(this.select).then(res=>{
|
|
|
|
|
|
|
|
|
|
console.log(res.data)
|
|
|
|
|
cb(res.data)
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
createStateFilter(queryString) {
|
|
|
|
|
@ -114,9 +114,9 @@
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
handleSelect(item) {
|
|
|
|
|
console.log(item);
|
|
|
|
|
this.form.point_id=item.id;
|
|
|
|
|
this.form.point=item.name;
|
|
|
|
|
console.log(item);
|
|
|
|
|
this.form.point_id=item.id;
|
|
|
|
|
this.form.point=item?.name;
|
|
|
|
|
},
|
|
|
|
|
show() {
|
|
|
|
|
this.isShow = true;
|
|
|
|
|
@ -170,8 +170,8 @@
|
|
|
|
|
const res = await show({
|
|
|
|
|
id: this.id
|
|
|
|
|
});
|
|
|
|
|
this.$integrateData(this.form, res);
|
|
|
|
|
this.form.pointName=res.point.name;
|
|
|
|
|
this.$integrateData(this.form, res);
|
|
|
|
|
this.form.pointName=res.point?.name;
|
|
|
|
|
this.form.option_list = res?.options.map(i => {
|
|
|
|
|
return {
|
|
|
|
|
title: i.title,
|
|
|
|
|
@ -266,4 +266,4 @@
|
|
|
|
|
bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</style>
|
|
|
|
|
|