Sfoglia il codice sorgente

智能选址属性修改

liutao 3 mesi fa
parent
commit
1c58f009fc

File diff suppressed because it is too large
+ 642 - 635
web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue


+ 7 - 3
web_ui/src/views/industrial-land/ZnxzDetail.vue

@@ -783,7 +783,7 @@ export default {
       zbhjList: [],
       currentItem: null,
       currentCollectItem: null,
-      tabs: ["地块信息", "区域特色", "公共设施",  "综合交通"],
+      tabs: ["地块信息", "区域特色", "公共设施", "综合交通"],
       zbTabs: [],
       ggssIndex: 0,
       ggssTabs: [],
@@ -1026,6 +1026,8 @@ export default {
       }
     },
     goLocationByCenter(item) {
+      console.log("goLocationByCenter");
+      console.log(item);
       item.cp = this.center;
       this.$emit("location", item);
     },
@@ -1419,6 +1421,8 @@ export default {
 
     analysis() {
       let pointWkt = this.item.center_wkt;
+      var c = this.item.center_wkt;
+      this.center = c.substring(6, c.length - 1).replace(" ", ",");
       // POINT(120.912063 29.486802)
       // const input = "POINT(120.912063 29.486802)";
       // 正则表达式匹配括号内的两个数值(允许正负号和小数)
@@ -1560,9 +1564,9 @@ export default {
           that.dlfxList.push(t);
         });
       }
-      this.dkxx.forEach(prop => {
+      this.dkxx.forEach((prop) => {
         if (prop.key in this.item) {
-          prop.value = this.item[prop.key]
+          prop.value = this.item[prop.key];
         }
       });
       this.loading = false;

Some files were not shown because too many files changed in this diff