Ver Fonte

嘉兴智能选址

liutao há 1 mês atrás
pai
commit
f00ae83b75

+ 1 - 7
jiaxing/web_ui/src/router/index.js

@@ -12,7 +12,6 @@ import Login from '@/views/Login'
 
 
 import AiIndustriaLandDetail from '@/views/industrial-land/AiIndustriaLandDetail'
-import AiZtzsDetail from '@/views/znzt-land/AiZtzsDetail'
 
 Vue.use(Router)
 
@@ -22,11 +21,6 @@ export default new Router({
       path: '/znxz',
       name: 'znxz',
       component: AiIndustriaLandDetail
-    },
-    {
-      path: '/ztzs',
-      name: 'ztzs',
-      component: AiZtzsDetail
-    },
+    }
   ]
 })

+ 9 - 31
jiaxing/web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue

@@ -7,26 +7,9 @@
             class="radar-scan-an"
             v-show="radarShow"
             :style="`width: ${radarScanStyle.width}; heigth: ${radarScanStyle.height}; top: ${radarScanStyle.top};left: ${radarScanStyle.left};`"
-          >
-            <!-- <radar-scan-animation /> -->
-          </div>
+          ></div>
         </div>
         <div class="right-tool">
-          <!-- <div class="layer-container c">
-            <div
-              class="layer-panel"
-              @click="toggleIdentity"
-              :class="{ checked: showIndentify }"
-            >
-              <img
-                src="~@/assets/image/icon-i-checked.png"
-                class="img"
-                v-if="showIndentify"
-              />
-              <img src="~@/assets/image/icon-i-normal.png" class="img" v-else />
-              <span :class="{ c: showIndentify }">属性识别</span>
-            </div>
-          </div> -->
           <div class="layer-container">
             <div
               class="layer-panel"
@@ -410,7 +393,7 @@ export default {
           kw: "帮我在秀洲区推荐几块30-100亩左右的工业用地",
         },
         {
-          kw: "帮我在鸣羊村推荐几块50亩左右的工业用地",
+          kw: "帮我在鸣羊村推荐几块工业用地",
         },
         {
           kw: "请在秀洲区找出面积最大的物流仓储用地",
@@ -924,7 +907,7 @@ export default {
       this.activeItem = item;
       //高亮marker
       this.hightMarker(index);
-      this.showDetail = true;
+      // this.showDetail = true;
       this.dkIndex = index;
       this.goLocation(item, index);
     },
@@ -983,12 +966,10 @@ export default {
         this.map.removeLayer(this.identifyGeojsonLayer);
       }
       let that = this;
-      let layerName = "kzxxxgh";
 
-      this.kgQuery([item.id], (res) => {
+      this.xzgyydQuery([item.id], (res) => {
         that.detailData = res[0];
-        that.detailData.name = res[0].ydxz;
-        that.detailData.layerName = layerName;
+        // that.detailData.name = res[0].ydxz;
         let geojson = wkt.parse(res[0].geom);
         var geos = L.geoJSON(geojson, {
           style: function (feature) {
@@ -1031,12 +1012,9 @@ export default {
         const result = res.map((ele) => {
           let viewObj = {
             id: ele.id,
-            name: ele.ydxz,
-            tdyt:
-              ele.ydxz && ele.yddm
-                ? `${ele.ydxz}(${ele.yddm})`
-                : ele.ydxz || "",
-            dkmj: ele.pfmarea ? (ele.pfmarea * 0.0015).toFixed(2) : "",
+            name: ele.zldwmc + "-" + ele.tbbh,
+            tdyt: ele.dlmc,
+            dkmj: ele.tbmj ? (ele.tbmj * 0.0015).toFixed(2) : "",
             center_wkt: ele.center_wkt,
             geom: ele.geom,
             wzxx: "",
@@ -1887,7 +1865,7 @@ export default {
           id: 1845,
         },
       ];
-     
+
       this.getDetailByIdList(this.xgdk, (data) => {
         this.xgdk = data;
         this.addGdLayer(this.xgdk);

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 102
jiaxing/web_ui/static/config.js


+ 1 - 0
web_ui/static/config.js

@@ -1,5 +1,6 @@
 (function (window) {
   const landsiteai_base_url = '/landsiteai'
+  // const landsiteai_base_url = 'http://localhost:8521'
   window.ApplicationConfig = {
     serverURL: "/server",
     // ===================== 订阅与推送服务 (8511) =====================

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff