瀏覽代碼

Merge branch 'master' of https://git.steerinfo.com/DAL-DAZHOU/icore-pass

luobang 2 年之前
父節點
當前提交
4347f2344a

+ 7 - 4
src/views/statisticalReport/components/salesLogisticsStatistics/mapTest.vue

@@ -413,9 +413,12 @@ export default {
     addIndex() {
       let that = this
       let increment = that.listPath[0].runPath.length * 0.1
-      that.pathNavigator.start(
-        (that.point + increment) % that.listPath[0].runPath.length
-      )
+      let result = that.point + increment
+      if(result < that.listPath[0].runPath.length){
+        that.pathNavigator.start(that.point + increment)
+      }else{
+        that.pathNavigator.start(that.listPath[0].runPath.length-1)
+      }
     },
     ///che
     navgControl() {},
@@ -693,7 +696,7 @@ export default {
         })
         // 创建巡航器
         that.pathNavigator = that.pathSimplifierIns.createPathNavigator(0, {
-          loop: true, // 是否循环
+          loop: false, // 是否循环
           speed: that.speed, // 速度(km/h)
           pathNavigatorStyle: {
             width: 20,

+ 1 - 0
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -2888,6 +2888,7 @@ export default {
     //点击操作弹出框
     operation(row) {
       // this.isRowClick = 0
+      this.isCheckGPS=true;
       if (Object.values(this.steelMap).length == 0) {
         this.$message.error('请点击需要执行更改操作的行!')
         return