| | |
| | | :class="activeNum===index?'hover':''" @click="handleLocation(item,index)"> |
| | | <img class="state" :src="getImgSrc(item.properties.type)" style="background: none"/> |
| | | <h3>{{changeAmount}}类型:{{item.properties.type}}</h3> |
| | | <h5>{{changeAmount}}名称:{{item.properties.companyname}}</h5> |
| | | <h5>{{changeAmount}}名称:{{item.properties.name}}</h5> |
| | | <p>负责人:<span>{{item.properties.resperson}}</span></p> |
| | | <p>电话:<span>{{item.properties.telephone}}</span></p> |
| | | <p v-if="item.properties.address">地址:<span>{{item.properties.address}}</span></p> |
| | | <p v-else>地址:<span>{{item.properties.adminzonename}}</span></p> |
| | | </div> |
| | | </el-scrollbar> |
| | | </div> |
| | |
| | | this.wfsHelper.clearFilter() |
| | | this.wfsHelper.setTypeName(['sewer:emergency']) |
| | | this.wfsHelper.setMaxFeatures(100) |
| | | // form表单选择搜索 |
| | | if (this.form.dataType) { |
| | | this.wfsHelper.addEquals('orgname', '\'' + this.form.eventName + '\'') |
| | | this.wfsHelper.addEquals('type', '\'' + this.form.dataType.name + '\'') |
| | | } |
| | | // 搜索框keyword |
| | | if (this.form.keyword) { |
| | | this.wfsHelper.setFilter(this.form.keyword) |
| | | this.wfsHelper.addLike('name', this.form.keyword) |
| | | } |
| | | const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {}) |