|
@@ -235,6 +235,16 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.$vm.$on('refreshListData', (payload) => {
|
|
|
+ for (let i = 0; i < this.xzList.length; i++){
|
|
|
+ if (this.xzList[i]['dksyh'] === payload['dksyh']) {
|
|
|
+ this.xzList.splice(i, 1, payload);
|
|
|
+ this.$vm.$emit('setGdDetailType', 24);
|
|
|
+ this.$vm.$emit('getGdDetailData', payload);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$vm.$emit('setGdDetailType', 24);
|
|
@@ -274,7 +284,7 @@ export default {
|
|
|
refreshP += ` and dkbh like '%${this.query.name}%'`;
|
|
|
}
|
|
|
if (this.query.gddw) {
|
|
|
- refreshP += ` and gddw like '${this.query.gddw}'`;
|
|
|
+ refreshP += ` and gddw like '%${this.query.gddw}%'`;
|
|
|
}
|
|
|
if (this.query.small) {
|
|
|
refreshP += ` and mj >= ${this.query.small}`;
|
|
@@ -334,6 +344,7 @@ export default {
|
|
|
},
|
|
|
xzClick(item) {
|
|
|
this.$vm.$emit('setGdDetailType', 24);
|
|
|
+ this.$vm.$emit('getGdDetailData', item);
|
|
|
this.$vm.$emit('location-feature-where', {
|
|
|
layerId: 'bj-dkgl',
|
|
|
where: `dksyh = '${item.dksyh}'`,
|