|
@@ -116,8 +116,8 @@
|
|
<template v-if="qytsTabs[qytsIndex].result.length > 0">
|
|
<template v-if="qytsTabs[qytsIndex].result.length > 0">
|
|
<div
|
|
<div
|
|
class="zbcy-item"
|
|
class="zbcy-item"
|
|
- @click="industryDetail(item)"
|
|
|
|
v-for="(item, index) in qytsTabs[qytsIndex].result"
|
|
v-for="(item, index) in qytsTabs[qytsIndex].result"
|
|
|
|
+ @click="zbcyClick(item)"
|
|
:key="index"
|
|
:key="index"
|
|
>
|
|
>
|
|
<div class="icon" v-if="false"></div>
|
|
<div class="icon" v-if="false"></div>
|
|
@@ -143,7 +143,7 @@
|
|
<div
|
|
<div
|
|
class="zbyq-item"
|
|
class="zbyq-item"
|
|
v-for="(item, index) in qytsTabs[qytsIndex].result"
|
|
v-for="(item, index) in qytsTabs[qytsIndex].result"
|
|
- @click="parkDetail(item)"
|
|
|
|
|
|
+ @click="zbyqClick(item)"
|
|
:key="index"
|
|
:key="index"
|
|
>
|
|
>
|
|
<div class="icon zbyqdiv"></div>
|
|
<div class="icon zbyqdiv"></div>
|
|
@@ -154,17 +154,19 @@
|
|
item.address ? item.address : "-"
|
|
item.address ? item.address : "-"
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
- <div class="value">
|
|
|
|
|
|
+ <!-- <div class="value">
|
|
<img src="~@/assets/image/icon-yqlx.png" />园区类型:{{
|
|
<img src="~@/assets/image/icon-yqlx.png" />园区类型:{{
|
|
item.parkType
|
|
item.parkType
|
|
}}
|
|
}}
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
<div class="value">
|
|
<div class="value">
|
|
<img src="~@/assets/image/icon-zycy.png" />招引产业:{{
|
|
<img src="~@/assets/image/icon-zycy.png" />招引产业:{{
|
|
item.primaryindustry
|
|
item.primaryindustry
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
- <div class="btn-type">省级开发区</div>
|
|
|
|
|
|
+ <div class="btn-type">
|
|
|
|
+ {{ item.kfqjb == 2 ? "省级开发区" : "国家级开发区" }}
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -760,9 +762,9 @@ export default {
|
|
{ name: "三区三线分析", icon: "icon-wxpck" },
|
|
{ name: "三区三线分析", icon: "icon-wxpck" },
|
|
],
|
|
],
|
|
qytsTabs: [
|
|
qytsTabs: [
|
|
- { name: "人口特征", icon: "icon-zdxm",result:[] },
|
|
|
|
- { name: "周边产业", icon: "icon-zdxm" ,result:[]},
|
|
|
|
- { name: "周边园区", icon: "icon-zdxm" ,result:[]},
|
|
|
|
|
|
+ { name: "人口特征", icon: "icon-zdxm", result: [] },
|
|
|
|
+ { name: "周边产业", icon: "icon-zdxm", result: [] },
|
|
|
|
+ { name: "周边园区", icon: "icon-zdxm", result: [] },
|
|
],
|
|
],
|
|
qytsIndex: 0,
|
|
qytsIndex: 0,
|
|
jbxxIndex: 0,
|
|
jbxxIndex: 0,
|
|
@@ -1073,6 +1075,12 @@ export default {
|
|
this.analysis();
|
|
this.analysis();
|
|
}, 500);
|
|
}, 500);
|
|
},
|
|
},
|
|
|
|
+ zbcyClick(item) {
|
|
|
|
+ console.log(item);
|
|
|
|
+ },
|
|
|
|
+ zbyqClick(item) {
|
|
|
|
+ console.log(item);
|
|
|
|
+ },
|
|
//地类图斑定位
|
|
//地类图斑定位
|
|
goInfoLocation(wkt) {
|
|
goInfoLocation(wkt) {
|
|
this.$emit("gowkt", wkt);
|
|
this.$emit("gowkt", wkt);
|
|
@@ -1611,17 +1619,17 @@ export default {
|
|
},
|
|
},
|
|
initQyyq(wktStr) {
|
|
initQyyq(wktStr) {
|
|
let kfqintersectUrl = window.ApplicationConfig.kfqintersectUrl;
|
|
let kfqintersectUrl = window.ApplicationConfig.kfqintersectUrl;
|
|
- axios.get(kfqintersectUrl, { params: { wkt: wktStr} }).then((data) => {
|
|
|
|
|
|
+ axios.get(kfqintersectUrl, { params: { wkt: wktStr } }).then((data) => {
|
|
if (data && data.data && data.data.length) {
|
|
if (data && data.data && data.data.length) {
|
|
- this.qytsTabs[2].result = data.data;
|
|
|
|
|
|
+ this.qytsTabs[2].result = data.data;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
initZbcy(wktStr) {
|
|
initZbcy(wktStr) {
|
|
let gyydintersectUrl = window.ApplicationConfig.gyydintersectUrl;
|
|
let gyydintersectUrl = window.ApplicationConfig.gyydintersectUrl;
|
|
- axios.get(gyydintersectUrl, { params: { wkt: wktStr} }).then((data) => {
|
|
|
|
|
|
+ axios.get(gyydintersectUrl, { params: { wkt: wktStr } }).then((data) => {
|
|
if (data && data.data && data.data.length) {
|
|
if (data && data.data && data.data.length) {
|
|
- this.qytsTabs[1].result = data.data;
|
|
|
|
|
|
+ this.qytsTabs[1].result = data.data;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -1668,39 +1676,39 @@ export default {
|
|
// });
|
|
// });
|
|
// }
|
|
// }
|
|
that.zbTabs = [];
|
|
that.zbTabs = [];
|
|
- // if (data.trafficConditions) {
|
|
|
|
- // var str = "省道国道乡道县道";
|
|
|
|
- // var roadData = [];
|
|
|
|
- // data.trafficConditions.forEach((item) => {
|
|
|
|
- // if (str.indexOf(item.name) > -1) {
|
|
|
|
- // if (item.result) {
|
|
|
|
- // var label = "G";
|
|
|
|
- // if (item.name == "省道") {
|
|
|
|
- // label = "S";
|
|
|
|
- // }
|
|
|
|
- // if (item.name == "国道") {
|
|
|
|
- // label = "G";
|
|
|
|
- // }
|
|
|
|
- // if (item.name == "县道") {
|
|
|
|
- // label = "X";
|
|
|
|
- // }
|
|
|
|
- // if (item.name == "乡道") {
|
|
|
|
- // label = "S";
|
|
|
|
- // }
|
|
|
|
- // item.result.forEach((t) => {
|
|
|
|
- // t.label = label;
|
|
|
|
- // roadData.push(t);
|
|
|
|
- // });
|
|
|
|
- // }
|
|
|
|
- // } else {
|
|
|
|
- // that.zbTabs.push(item);
|
|
|
|
- // }
|
|
|
|
- // });
|
|
|
|
- // if (roadData) {
|
|
|
|
- // that.zbTabs.push({ name: "公路", result: roadData });
|
|
|
|
- // }
|
|
|
|
- // that.yyList = that.zbTabs[0].result;
|
|
|
|
- // }
|
|
|
|
|
|
+ if (data.trafficConditions) {
|
|
|
|
+ var str = "省道国道乡道县道";
|
|
|
|
+ var roadData = [];
|
|
|
|
+ data.trafficConditions.forEach((item) => {
|
|
|
|
+ if (str.indexOf(item.name) > -1) {
|
|
|
|
+ if (item.result) {
|
|
|
|
+ var label = "G";
|
|
|
|
+ if (item.name == "省道") {
|
|
|
|
+ label = "S";
|
|
|
|
+ }
|
|
|
|
+ if (item.name == "国道") {
|
|
|
|
+ label = "G";
|
|
|
|
+ }
|
|
|
|
+ if (item.name == "县道") {
|
|
|
|
+ label = "X";
|
|
|
|
+ }
|
|
|
|
+ if (item.name == "乡道") {
|
|
|
|
+ label = "S";
|
|
|
|
+ }
|
|
|
|
+ item.result.forEach((t) => {
|
|
|
|
+ t.label = label;
|
|
|
|
+ roadData.push(t);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ that.zbTabs.push(item);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ if (roadData) {
|
|
|
|
+ that.zbTabs.push({ name: "公路", result: roadData });
|
|
|
|
+ }
|
|
|
|
+ that.yyList = that.zbTabs[0].result;
|
|
|
|
+ }
|
|
that.ggssTabs = [];
|
|
that.ggssTabs = [];
|
|
if (data.publicService) {
|
|
if (data.publicService) {
|
|
data.publicService.forEach((item) => {
|
|
data.publicService.forEach((item) => {
|