| | |
| | | '桩号_Point', |
| | | ], |
| | | mssageInfo: null, |
| | | propertyNames:null, |
| | | Init(html) { |
| | | |
| | | if (!html) return; |
| | |
| | | store.state.showZhaiHaiImg = null; |
| | | store.state.isshowZhaiHai = false; |
| | | store.state.showMessageInfo = false; |
| | | this.mssageInfo = null |
| | | this.mssageInfo = null; |
| | | store.state.isShowImgUpDate = false; |
| | | store.state.isShowImgUrl= null; |
| | | this.propertyNames=null |
| | | |
| | | }, |
| | | setGeoJsonInfo(res) { |
| | | if (res.projectId && res.frameNo) { |
| | | this.setRestLayer(); |
| | | |
| | | store.state.showZhaiHaiImg = res; |
| | | store.state.isshowZhaiHai = true; |
| | | }else if(res.sourceType && res.sourceType._value == "imgUp"){ |
| | | this.setRestLayer(); |
| | | |
| | | setTimeout(() => { |
| | | store.state.isShowImgUrl= res._path._value; |
| | | store.state.isShowImgUpDate = true; |
| | | }, 100); |
| | | |
| | | } else { |
| | | var val_name = res._propertyNames; |
| | | this.propertyNames =res._propertyNames; |
| | | var val = []; |
| | | for (var i = 0; i < val_name.length; i++) { |
| | | var obj = { |
| | |
| | | } |
| | | val.push(obj) |
| | | } |
| | | if (val.length == 0) return |
| | | |
| | | this.showMapInfo(val); |
| | | } |
| | | }, |