| | |
| | | width="90%" |
| | | top="10vh" |
| | | :close-on-click-modal="false" |
| | | :before-close="handleMaptClose" |
| | | > |
| | | <div style="height:73vh"> |
| | | <map-sdk v-if='showMapVisible'></map-sdk> |
| | |
| | | <el-button |
| | | class="primary" |
| | | size="small" |
| | | @click="getInsertDown" |
| | | @click="getInsertDownx" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | |
| | | .catch(_ => { }) |
| | | }, |
| | | downloadx() { |
| | | this.$bus.$emit("setInsertDown", this.codeForm) |
| | | this.$bus.$emit("setInsertDown2", this.codeForm) |
| | | // |
| | | }, |
| | | closeDownx() { |
| | |
| | | repassword: '', |
| | | } |
| | | }, |
| | | async getInsertDown() { |
| | | async getInsertDownx() { |
| | | |
| | | this.dialogInsertVisible = false; |
| | | this.dialogVisible1 = false; |
| | |
| | | for (var i in this.ruleForm.depname) { |
| | | std.push(this.ruleForm.depname[i].name) |
| | | } |
| | | |
| | | obj = { |
| | | pwd: encr(this.codeForm.password), |
| | | entities: entities, |
| | |
| | | } |
| | | var dirs = null; |
| | | if (this.listData.dirs) { |
| | | |
| | | dirs = this.listData.dirs |
| | | } |
| | | |
| | | obj = { |
| | | pwd: encr(this.codeForm.password), |
| | | entities: [this.listBankData.name], // bpachydrogeology,bhydrogeologyattach |
| | |
| | | this.$store.state.download = true; |
| | | |
| | | }, |
| | | |
| | | handleMaptClose() { |
| | | this.dialogMapVisible = false; |
| | | this.showMapVisible = false; |
| | | this.$store.state.mapMenuBoolean = false; |
| | | this.$store.state.mapMenuBoxFlag = null; |
| | | this.$store.state.mapPopBoolean = false; |
| | | this.$store.state.mapPopBoxFlag = false; |
| | | this.$store.state.download = false; |
| | | if (window.sgworld) { |
| | | window.sgworld.Creator.SimpleGraphic.clear(); |
| | | for (var i in this.$store.state.queryInfo) { |
| | | window.sgworld.Viewer.entities.remove(this.$store.state.queryInfo[i]); |
| | | } |
| | | } |
| | | |
| | | this.$store.state.queryInfo = []; |
| | | if (this.$store.state.primitLayer != null) { |
| | | sgworld.Viewer.entities.remove(this.$store.state.primitLayer); |
| | | sgworld.Creator.DeleteObject(this.$store.state.primitLayer); |
| | | this.$store.state.primitLayer = null; |
| | | } |
| | | }, |
| | | downloadMap(index, rows) { |
| | | var token = getToken() |
| | | var url = BASE_URL + "/dataLib/downloadFile?token=" + token + "&guid=" + rows.guid + "&pwd=" + rows.pwd; |