|
@@ -114,7 +114,7 @@
|
|
|
autocomplete="off"
|
|
|
spellcheck="false"
|
|
|
autocorrect="off"
|
|
|
- placeholder="您可以试着这样问我,如“帮我在萧山区推荐一宗30亩左右的工业用地”"
|
|
|
+ placeholder="您可以试着这样问我,如“帮我在萧山区推荐一宗60亩左右的工业用地”"
|
|
|
autofocus=""
|
|
|
>
|
|
|
</textarea>
|
|
@@ -180,7 +180,7 @@
|
|
|
>
|
|
|
<div class="number">{{ i + 1 }}</div>
|
|
|
<div class="content">
|
|
|
- <h3>{{ citem.name }}</h3>
|
|
|
+ <h3>{{ citem.dkmc }}</h3>
|
|
|
<p>
|
|
|
面积:{{ citem.dkmj ? citem.dkmj.toFixed(2) : "-" }}亩
|
|
|
土地用途:{{ citem.tdyt ? citem.tdyt : "-" }}
|
|
@@ -365,7 +365,7 @@ export default {
|
|
|
name: "请帮我在杭州市萧山机场附近推荐几块总价不超过2000万的工业用地",
|
|
|
},
|
|
|
{
|
|
|
- name: "帮我在萧山区推荐一宗30亩左右的工业用地",
|
|
|
+ name: "帮我在萧山区推荐一宗60亩左右的工业用地",
|
|
|
},
|
|
|
{
|
|
|
name: "请帮我杭州市找几块在开发区内,园区主导产业为新能源的工业用地",
|
|
@@ -757,7 +757,7 @@ export default {
|
|
|
if (this.inputText == "" || this.inputText == null) {
|
|
|
// this.$Message.info("请输入");
|
|
|
// return;
|
|
|
- this.inputText = "帮我在萧山区推荐一宗30亩左右的工业用地";
|
|
|
+ this.inputText = "帮我在萧山区推荐一宗60亩左右的工业用地";
|
|
|
}
|
|
|
|
|
|
this.zwinputText = "";
|
|
@@ -767,7 +767,7 @@ export default {
|
|
|
},
|
|
|
zwsend() {
|
|
|
if (!this.zwinputText) {
|
|
|
- this.zwinputText = "帮我在萧山区推荐一宗30亩左右的工业用地";
|
|
|
+ this.zwinputText = "帮我在萧山区推荐一宗60亩左右的工业用地";
|
|
|
}
|
|
|
var item = { name: this.zwinputText, loading: true };
|
|
|
this.hzData = [item];
|
|
@@ -863,7 +863,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
initMap() {
|
|
|
-
|
|
|
this.layers = window.ApplicationConfig.layerTreeConfig;
|
|
|
this.layers.forEach((item, index) => {
|
|
|
if (index == 0) {
|
|
@@ -916,7 +915,32 @@ export default {
|
|
|
}
|
|
|
);
|
|
|
this.map.addLayer(cia);
|
|
|
+ // let dtLayers = {
|
|
|
+ // name: "底图",
|
|
|
+ // layers: [
|
|
|
+ // {
|
|
|
+ // name: "浙江影像",
|
|
|
+ // id: "zjyx",
|
|
|
+ // checked: true,
|
|
|
+ // type: "wmts",
|
|
|
+ // url: "https://kjzl.zrzyt.zj.gov.cn/zdzy/gtkj/zjgt48/34048bffdd0d4d148ca4a40da7eade21/services/wmts/imgmap/default/oss",
|
|
|
+ // layername: "imgmap",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: "浙江注记",
|
|
|
+ // id: "zjzj",
|
|
|
+ // checked: true,
|
|
|
+ // type: "wmts",
|
|
|
+ // url: "https://kjzl.zrzyt.zj.gov.cn/zdzy/gtkj/zjgt48/34048bffdd0d4d148ca4a40da7eade21/services/wmts/imgmap_lab/default/oss",
|
|
|
+ // layername: "imgmap_lab",
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // };
|
|
|
|
|
|
+ // var zjyx = dtLayers.layers[0];
|
|
|
+ // this.switchMapLayer(zjyx);
|
|
|
+ // var zjzj = dtLayers.layers[1];
|
|
|
+ // this.switchMapLayer(zjzj);
|
|
|
|
|
|
//定位浙江省
|
|
|
this.location(polygons);
|
|
@@ -1016,7 +1040,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.clearMark();
|
|
|
- this.showDetail = true;
|
|
|
+ this.showDetail = false;
|
|
|
this.activeItem = item;
|
|
|
this.dkIndex = index;
|
|
|
//高亮marker
|
|
@@ -1137,7 +1161,8 @@ export default {
|
|
|
"?service=WFS&version=1.0.0&request=GetFeature&typeName=" +
|
|
|
window.ApplicationConfig.gdLayerName +
|
|
|
"&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=dkmc='" +
|
|
|
- item.dkmc+"'";
|
|
|
+ item.dkmc +
|
|
|
+ "'";
|
|
|
axios.get(query).then((data) => {
|
|
|
console.log(data);
|
|
|
if (data.data.features.length < 1) {
|
|
@@ -1166,7 +1191,8 @@ export default {
|
|
|
"?service=WFS&version=1.0.0&request=GetFeature&typeName=" +
|
|
|
window.ApplicationConfig.gdLayerName +
|
|
|
"&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=dkmc='" +
|
|
|
- item.dkmc+"'";
|
|
|
+ item.dkmc +
|
|
|
+ "'";
|
|
|
axios.get(query).then((data) => {
|
|
|
if (data.data.features.length < 1) {
|
|
|
this.$Message.info("未查询到数据");
|