瀏覽代碼

轨迹中显示站点

tomatozq 4 年之前
父節點
當前提交
9142800adf
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      src/views/bus/vehicleHistory-list.vue
  2. 2 1
      src/views/bus/vehicleInfo-list.vue

+ 1 - 1
src/views/bus/vehicleHistory-list.vue

@@ -275,7 +275,7 @@ export default {
     },
     mounted() {
         //this.changePage(1);
-        this.loadRouteMap(this.routeId);
+        //this.loadRouteMap(this.routeId);
     },
     created() {
 

+ 2 - 1
src/views/bus/vehicleInfo-list.vue

@@ -420,7 +420,8 @@ export default {
         this.$nextTick(()=>{
             this.$refs.vehicleHistoryList.getCurrentMonthFirst();
             this.$refs.vehicleHistoryList.changePage(1);
-        });            
+            this.$refs.vehicleHistoryList.loadRouteMap(row.routeId);
+        });
     },
     pageSizeChange(pageSize) {
       this.pageSize = pageSize;