| | |
| | | }, |
| | | methods: { |
| | | initOlMap() { |
| | | |
| | | |
| | | var val = 'http://{host}/LFData/2d/tiles/img/{z}/{x}/{y}.png'; |
| | | if (val.indexOf('{host}') > -1) { |
| | | val = val.replace("{host}", iisHost) |
| | | } |
| | | var vectorLayer = new TileLayer({ |
| | | source: new XYZ({ |
| | | url: 'http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}', |
| | | url: val, |
| | | }), |
| | | }); |
| | | |
| | | |
| | | |
| | | this.mapol = new Map({ |
| | | target: 'mapView', |
| | | layers: [vectorLayer], |
| | |
| | | } else { |
| | | this.shwoHistogram = false; |
| | | } |
| | | if (Node.level === 3) { |
| | | |
| | | if (Node.data.children == null) { |
| | | this.firstLevel = false; |
| | | } else { |
| | | this.firstLevel = true; |
| | | } |
| | | if (Node.level === 3 && Node.data.serveType == "Tileset") { |
| | | if (Node.data.children == null && Node.data.serveType == "Tileset") { |
| | | this.showlocal = true; |
| | | } else if (Node.level === 3 && Node.data.serveType != "Tileset") { |
| | | } else if (Node.data.children == null && Node.data.serveType != "Tileset") { |
| | | this.showlocal = false; |
| | | } |
| | | this.menuVisible = true; |
| | |
| | | :visible.sync="warehouseDialog" |
| | | width="70%" |
| | | :close-on-click-modal="false" |
| | | :before-close="handleWarehouseClose" |
| | | > |
| | | <div style="height:65vh"> |
| | | <el-table |
| | |
| | | label1: '上传', |
| | | label2: '文件上传进度:' |
| | | }, |
| | | warehouseDialog: true, |
| | | warehouseDialog: false, |
| | | wareData: [], |
| | | }; |
| | | }, |
| | |
| | | |
| | | this.setInsrtWareTableClose(); |
| | | }, |
| | | handleWarehouseClose() { |
| | | this.warehouseDialog = false; |
| | | this.wareData = []; |
| | | }, |
| | | //自动匹配 |
| | | autoMatchWare() { |
| | | var val1 = this.tableWareOne; |