| | |
| | | console.log(tab, event) |
| | | if (tab.label === '分析') { |
| | | // 关闭弹窗 |
| | | window.layerFactory.clickSwitch = false |
| | | window.mapManager.clickDialogSwitch = false |
| | | } else { |
| | | // 打开弹窗 |
| | | window.layerFactory.clickSwitch = true |
| | | window.mapManager.clickDialogSwitch = true |
| | | } |
| | | }, |
| | | // 根据返回数据 确认展示图片 |
| | |
| | | this.wfsHelper.setTypeName([this.form.dataType.typeName]) |
| | | if (this.form.keyword) { |
| | | this.wfsHelper.addLike('name', this.form.keyword) |
| | | this.wfsHelper.setFilter(this.form.keyword) |
| | | } |
| | | const filter = this.form.dataType.filter |
| | | if (filter) { |
| | | this.wfsHelper.setFilter(filter) |
| | | } |
| | | // const filter = this.form.dataType.filter |
| | | // if (filter) { |
| | | // this.wfsHelper.setFilter(filter) |
| | | // } |
| | | // const _this = this |
| | | const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {}) |
| | | if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) { |