songxy 2 ماه پیش
والد
کامیت
17630b4540
3فایلهای تغییر یافته به همراه8 افزوده شده و 5 حذف شده
  1. 2 2
      web_ui/build/webpack.base.conf.js
  2. 3 0
      web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue
  3. 3 3
      web_ui/static/config.js

+ 2 - 2
web_ui/build/webpack.base.conf.js

@@ -68,8 +68,8 @@ module.exports = {
         use: [{
           loader: 'file-loader',
           options: {
-            name: 'fonts/[name].[hash:7].[ext]', // 输出到/fonts目录
-            publicPath: '../',
+            name: 'fonts/[name].[hash:7].[ext]',
+            publicPath: process.env.NODE_ENV === 'production' ? '../' : './static/',
             outputPath: 'static/'           // 物理存储路径
           }
         }]

+ 3 - 0
web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue

@@ -1931,6 +1931,9 @@ export default {
                   T.getDetailByIdList(dk, (data) => {
                     T.clearMark();
                     // T.addGdLayer(data);
+                    data.forEach((item, index) => {
+                      this.goLocation(item, index);
+                    })
                     T.xgdk = data;
                     T.showXgdkCenterPoint();
                     //todo

+ 3 - 3
web_ui/static/config.js

@@ -1,11 +1,11 @@
 (function (window) {
   window.ApplicationConfig = {
     serverURL: "/server",
-    // subscribeUrl: 'http://ai.zjugis.com:8511/subscribe/',
+    subscribeUrl: '/agentai/subscribe/',
     // subscribeUrl: 'http://10.249.6.132:8528/agentai/subscribe/',
-    subscribeUrl: 'http://localhost:8511/subscribe/',
+    // subscribeUrl: 'http://localhost:8511/subscribe/',
     queryGeometryUrl: 'http://localhost:8511/queryGeometry',
-    kgQueryUrl: 'http://localhost:8511/kgQuery',
+    kgQueryUrl: '/agentai/kgQuery',
     klyzyQueryUrl: 'http://localhost:8511/klyzyQuery',
     queryGeometryListUrl: 'http://localhost:8511/queryGeometryList',
     queryYjjbntGeometryUrl: 'http://localhost:8511/queryYjjbntGeometry',