Explorar o código

修改船舶动态

zx %!s(int64=3) %!d(string=hai) anos
pai
achega
d0eb9eb625

+ 2 - 2
config/index.js

@@ -64,14 +64,14 @@ let proxyTable = {
   },
   },
   // 所有数据的请求域名地址
   // 所有数据的请求域名地址
   "/api/v1": {
   "/api/v1": {
-    target: "http://localhost:8080",
+    target: "http://localhost:8019",
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {
       "^/api/v1": "/api/v1"
       "^/api/v1": "/api/v1"
     }
     }
   },
   },
   "/views/api/v1": {
   "/views/api/v1": {
-    target: "http://localhost:8080",
+    target: "http://localhost:8019",
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {
       "^/views/api/v1": "/api/v1"
       "^/views/api/v1": "/api/v1"

+ 2 - 5
src/views/statisticalReport/components/Ship_dynamic_table.vue

@@ -157,11 +157,8 @@ export default {
         if (res.data.code == "200") {
         if (res.data.code == "200") {
           this.tableData = res.data.data;
           this.tableData = res.data.data;
           console.log("aaad" +res.data.data);
           console.log("aaad" +res.data.data);
-        } else {
-          this.$message({
-            type: "warning",
-            message: res.data.data,
-          });
+        } else if(res.data.data=="暂时没有船舶动态") { 
+            this.tableData = [];
         }
         }
       });
       });
     },
     },