| | |
| | | <!-- <i class="state"></i>--> |
| | | <img class="state" :src="getImgSrc()" style="background: none"/> |
| | | <div> |
| | | <h3 @click="handleLocation()">事件名称:XXX事件</h3> |
| | | <h3 @click="handleLocation(item,index)">事件名称:XXX事件</h3> |
| | | <h5> |
| | | 事件事件:2021年3月21日 |
| | | <el-button class="rt btn00fff6" size="mini" style="margin-right: 0.04rem;">删除</el-button> |
| | |
| | | 事件状态:<span>审批阶段</span> |
| | | </p> |
| | | <p>事件类型:<span>{{ item.properties.pipecode }}</span> |
| | | <el-button class="rt btn00fff6" size="mini" style="margin-right: 0.04rem;" |
| | | @click="btnAffiliatedFacilities()">事件管理 |
| | | <el-button class="rt btn00fff6" size="mini" style="margin-right: 0.04rem;">事件管理 |
| | | </el-button> |
| | | </p> |
| | | </div> |
| | |
| | | this.wfsHelper.addLike('name', this.form.keyword) |
| | | } |
| | | const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {}) |
| | | this.list = res.features |
| | | console.log(res) |
| | | if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) { |
| | | this.list = res.features |
| | | } |
| | | }, |
| | | handleLocation (val, index) { |
| | | console.log(val) |
| | | this.activeNum = index |
| | | // layer && layer.openPopup() |
| | | window.layerFactory.flyByFeature(val, this.form.dataType.code) |
| | | // window.layerFactory.flyByFeature(val, this.form.dataType.code) |
| | | window.map.flyTo([val.properties.y, val.properties.x], 15) |
| | | }, |
| | | btnAffiliatedFacilities () { |
| | | console.log('item') |