Tiroble 3 năm trước cách đây
mục cha
commit
2bc09f1ce9

+ 2 - 2
config/index.js

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

BIN
dist.zip


+ 8 - 4
src/views/sale/components/offSiteTransportation/checkGPS.vue

@@ -454,12 +454,16 @@ export default {
           that.endPointName = result.regeocode.formattedAddress;
           setInterval(
             that.initCustomMarkes(
-              that.carNumber + "(" + that.listPath[0].miled + ")",
+              that.carNumber ,
               "起点:" +
                 that.startPointName +
                 "<br/>" +
                 "终点:" +
-                that.endPointName,
+                that.endPointName+
+                "<br/>" +
+                "距离:" +
+                that.listPath[0].miled
+                ,
               lnglatXY[0],
               lnglatXY[1]
             )
@@ -569,10 +573,10 @@ export default {
       let that = this;
       //自定义窗体内容
       var content = [
-        "<div  style='top:1px;width: 180px; background-color: rgba(0, 0, 0, 1);' ><font color='white'>" +
+        "<div  style='top:1px;width: 180px; background-color:  rgba(22, 160, 133, 1);' ><font color='white'>" +
           title +
           "</font>",
-        "<div style='background-color:rgba(255, 255, 255, 0.5);'><font color='white'>" +
+        "<div style='background-color:rgba(22, 160, 133, 1);'><font color='white'>" +
           details +
           "</font></div></div>"
       ];

+ 2 - 2
src/views/sale/components/offSiteTransportation/currentLocation.vue

@@ -120,10 +120,10 @@ export default {
       let that = this;
       //自定义窗体内容
       var content = [
-        "<div  style='top:1px;width: 180px; background-color: rgba(0, 0, 0, 1);' ><font color='white'>" +
+        "<div  style='top:1px;width: 180px; background-color:rgba(22, 160, 133, 1);' ><font color='white'>" +
           title +
           "</font>",
-        "<div style='background-color:rgba(255, 255, 255, 0.5);'><font color='white'>" +
+        "<div style='background-color:rgba(22, 160, 133, 1);'><font color='white'>" +
           details +
           "</font></div></div>"
       ];

+ 4 - 4
src/views/sale/components/offSiteTransportation/mapTest.vue

@@ -470,7 +470,7 @@ export default {
             that.geocoder.getAddress(lnglatXY, function(status, result) {
                 if (status === 'complete' && result.info === 'OK') {
                     that.currentPointName = result.regeocode.formattedAddress;
-                    that.initCustomMarkes(that.capacityNumber+"("+that.listPath[0].miled+")",that.currentPointName,lnglatXY[0],lnglatXY[1])
+                    that.initCustomMarkes(that.capacityNumber,"位置:"+that.currentPointName+"<br/>"+"距离:"+that.listPath[0].miled,lnglatXY[0],lnglatXY[1])
                 }
             });  
         },
@@ -502,8 +502,8 @@ export default {
              let that=this;
             //自定义窗体内容
             var content = [
-                "<div  style='top:1px;width: 180px; background-color: rgba(0, 0, 0, 1);' ><font color='white'>"+title+"</font>",
-                "<div style='background-color:rgba(255, 255, 255, 0.5);'><font color='white'>"+details+"</font></div></div>"
+                "<div  style='top:1px;width: 180px; background-color: rgba(22, 160, 133, 1);' ><font color='white'>"+title+"</font>",
+                "<div style='background-color:(22, 160, 133, 1); ;'><font color='white'>"+details+"</font></div></div>"
             ];
             // 创建 infoWindow 实例	
             var infoWindow = new AMap.InfoWindow({
@@ -684,7 +684,7 @@ export default {
 }
 .driving_information2 {
     position: relative;
-    top: 50px;
+    top: 70px;
 }
 .driving_information3 {
     position: absolute;z-index:99;top:0;left:0;

+ 1 - 0
src/views/sale/components/transport_excute/tms-offsite/arrivalResult.vue

@@ -140,6 +140,7 @@ export default {
       srcList: [],
       dataColumnData: [],
       columnData: [],
+      srcList: [],
       src: "",
       isShow: false,
       input: "",