|
@@ -10,7 +10,7 @@
|
|
|
[v-cloak] {
|
|
|
display: none;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
#editor {
|
|
|
height: 200px;
|
|
|
}
|
|
@@ -100,13 +100,15 @@
|
|
|
<div class="inputItem">
|
|
|
<div class="name">经度</div>
|
|
|
<div class="ipt">
|
|
|
- <input type="text" @input="limtInput('alon')" v-model="alon" name="alon" id="alon" value="120" />
|
|
|
+ <input type="text" @input="limtInput('alon')" v-model="alon" name="alon"
|
|
|
+ id="alon" value="120" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="inputItem">
|
|
|
<div class="name">纬度</div>
|
|
|
<div class="ipt">
|
|
|
- <input type="text" @input="limtInput('alat')" v-model="alat" name="alat" id="alat" value="22" />
|
|
|
+ <input type="text" @input="limtInput('alat')" v-model="alat" name="alat"
|
|
|
+ id="alat" value="22" />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -149,13 +151,15 @@
|
|
|
<div class="inputItem">
|
|
|
<div class="name">经度</div>
|
|
|
<div class="ipt">
|
|
|
- <input type="text" @input="limtInput('blon')" v-model="blon" name="blon" id="blon" value="123" />
|
|
|
+ <input type="text" @input="limtInput('blon')" v-model="blon" name="blon"
|
|
|
+ id="blon" value="123" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="inputItem">
|
|
|
<div class="name">纬度</div>
|
|
|
<div class="ipt">
|
|
|
- <input type="text" @input="limtInput('blat')" v-model="blat" name="blat" id="blat" value="22" />
|
|
|
+ <input type="text" @input="limtInput('blat')" v-model="blat" name="blat"
|
|
|
+ id="blat" value="22" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <div class="inputItem">
|
|
@@ -309,9 +313,21 @@
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ window.eventBus.off('closeMenu', closeMenu);
|
|
|
+ window.eventBus.on('closeMenu', closeMenu);
|
|
|
+
|
|
|
+ function closeMenu() {
|
|
|
+ if (IV.SidebarMenuService.navigationStack[0].title == '设置') {
|
|
|
+ if (IV.getMainView().ViewService.primaryView == 'map') {
|
|
|
+ IV.swapScenes()
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
+ }
|
|
|
},
|
|
|
+ destroyed() {
|
|
|
|
|
|
+ },
|
|
|
mounted() {
|
|
|
const origin = window.location.origin + window.location.pathname
|
|
|
const tokenKry = 'ls.' + origin + '#JWT'
|
|
@@ -319,12 +335,12 @@
|
|
|
axios.defaults.headers.common['X-Authorization'] = this.token;
|
|
|
// alert(sceneNum)
|
|
|
this.getContorlPoint()
|
|
|
- // this.sceneNum = window.location.pathname.split('/')[2]
|
|
|
- // this.$nextTick(() => {
|
|
|
- // let t = setTimeout(() => {
|
|
|
- // this.map = this.initMap('map');
|
|
|
- // }, 100)
|
|
|
- // })
|
|
|
+ // this.sceneNum = window.location.pathname.split('/')[2]
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // let t = setTimeout(() => {
|
|
|
+ // this.map = this.initMap('map');
|
|
|
+ // }, 100)
|
|
|
+ // })
|
|
|
|
|
|
|
|
|
|
|
@@ -470,7 +486,7 @@
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- }).catch(function(error) {
|
|
|
+ }).catch(function (error) {
|
|
|
this.hideLoading()
|
|
|
this.$message({
|
|
|
message: '控制点上传失败',
|
|
@@ -486,7 +502,7 @@
|
|
|
this.ageControlLocation2 = []
|
|
|
this.gpsControlCoordinate1 = []
|
|
|
this.gpsControlCoordinate2 = []
|
|
|
- //
|
|
|
+ //
|
|
|
this.ageControlLocation1.push(this.ax - 0)
|
|
|
this.ageControlLocation1.push(this.ay - 0)
|
|
|
this.ageControlLocation1.push(this.az - 0)
|