| | |
| | | @click="getCheckedNodes" |
| | | >确认</el-button> |
| | | <el-button |
| | | size="small" |
| | | size="small" |
| | | type="info" |
| | | plain |
| | | @click="resetCheckedNodes" |
| | |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | plain size="small" |
| | | plain |
| | | size="small" |
| | | @click="getAttributeQuery" |
| | | >查询</el-button> |
| | | <el-button |
| | | type="info" size="small" |
| | | type="info" |
| | | size="small" |
| | | @click="clearQuery" |
| | | plain |
| | | >重置</el-button> |
| | |
| | | } |
| | | } |
| | | if (count != 4) { |
| | | alert('ShapeFile文件选择不全!'); |
| | | |
| | | this.$message({ |
| | | message: 'ShapeFile文件选择不全!', |
| | | type: 'warning' |
| | | }); |
| | | return; |
| | | } |
| | | $.ajax(BASE_URL + '/inquiry/uploadShp?token=' + getToken(), { |
| | |
| | | console.log(res.geometry) |
| | | var jsonToWkt = this.$wkt.convert(res.geometry); |
| | | this.$store.state.mapMenuShpFile = encr(jsonToWkt); |
| | | |
| | | |
| | | this.showMapMenuPop(); |
| | | }, |
| | | showMapMenuPop() { |
| | |
| | | this.$refs && this.$refs.queryinfo && this.$refs.queryinfo.open("空间查询", null, { |
| | | close: () => { |
| | | |
| | | if (this.$store.state.primitLayer != null) { |
| | | if (this.$store.state.primitLayer != null) { |
| | | sgworld.Creator.DeleteObject(this.$store.state.primitLayer); |
| | | this.$store.state.primitLayer = null; |
| | | } |