Browse Source

轨迹中显示站点

tomatozq 4 năm trước cách đây
mục cha
commit
9142800adf

+ 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;