|
@@ -15,7 +15,7 @@
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
</div> -->
|
|
- <div class="item cursor" @click="draw_vector()">
|
|
|
|
|
|
+ <div class="item cursor" @click="draw_vector('jsc_kjgh_yjjbnt_layer')">
|
|
<div class="icon">
|
|
<div class="icon">
|
|
<div class="icon_yrkkg">
|
|
<div class="icon_yrkkg">
|
|
|
|
|
|
@@ -27,7 +27,7 @@
|
|
<i style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
<i style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="item cursor" @click="draw_vector()">
|
|
|
|
|
|
+ <div class="item cursor" @click="draw_vector('jsc_kjgh_stbhhx_layer')">
|
|
<div class="icon">
|
|
<div class="icon">
|
|
<div class="icon_xzjsyd">
|
|
<div class="icon_xzjsyd">
|
|
|
|
|
|
@@ -41,7 +41,7 @@
|
|
<i style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
<i style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="item cursor" @click="draw_vector()">
|
|
|
|
|
|
+ <div class="item cursor" @click="draw_vector('jsc_kjgh_czkfbj_layer')">
|
|
<div class="icon">
|
|
<div class="icon">
|
|
<div class="icon_jsydzzb">
|
|
<div class="icon_jsydzzb">
|
|
|
|
|
|
@@ -53,7 +53,7 @@
|
|
<i style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
<i style="pointer-events:all" :class="{ 'el-icon-view': true }"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="box_bottom">
|
|
|
|
|
|
+ <div class="box_bottom cursor" @click="draw_vector('jsc_kjgh_czkfbjinkg_layer')" >
|
|
<div class="box_text">
|
|
<div class="box_text">
|
|
<div class="text box_bottom_text">
|
|
<div class="text box_bottom_text">
|
|
<p>城镇开发边界内控规范围
|
|
<p>城镇开发边界内控规范围
|
|
@@ -79,7 +79,7 @@
|
|
import { cockpitInfo } from '@/api/cockpit'
|
|
import { cockpitInfo } from '@/api/cockpit'
|
|
import { QueryOne } from '@/api/cockpitNew'
|
|
import { QueryOne } from '@/api/cockpitNew'
|
|
import Title from './common/Title.vue';
|
|
import Title from './common/Title.vue';
|
|
-
|
|
|
|
|
|
+import * as tdsy from "@/views/cockpit/js/tdsy";
|
|
export default {
|
|
export default {
|
|
components: { Title },
|
|
components: { Title },
|
|
data() {
|
|
data() {
|
|
@@ -139,9 +139,12 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
async draw_vector(jscType) {
|
|
async draw_vector(jscType) {
|
|
|
|
+ store.setViewerFlagb(false);
|
|
|
|
+ store.setToolBarShow(false);
|
|
|
|
+ store.setXzqh_flag(false);
|
|
let res = await QueryOne({ jscType, id: "4602" });
|
|
let res = await QueryOne({ jscType, id: "4602" });
|
|
- this.layersData = { ...res.data, title: this.title };
|
|
|
|
- tdsy.addLayer(this.layersData);
|
|
|
|
|
|
+ let layersData = { ...res.data, title: this.title };
|
|
|
|
+ tdsy.addLayer(layersData);
|
|
},
|
|
},
|
|
},
|
|
},
|
|
beforeCreate() { }, //生命周期 - 创建之前
|
|
beforeCreate() { }, //生命周期 - 创建之前
|