|
|
@@ -424,7 +424,8 @@
|
|
|
}
|
|
|
});
|
|
|
if(stationTaskIn_toAdd){
|
|
|
- _this.station.station_tasks_today.push(stationTaskIn_toAdd);
|
|
|
+ _this.station.station_tasks_today.unshift(stationTaskIn_toAdd);
|
|
|
+ _this.$forceUpdate();
|
|
|
}
|
|
|
})
|
|
|
|
|
|
@@ -493,10 +494,10 @@
|
|
|
stationTask.station_task_batches.forEach(function(stationTaskBatch){
|
|
|
if(typeof(_this.stationTaskBatch_index['_'+stationTaskBatch.batch_id])==='undefined'){
|
|
|
// if(stationTaskBatch_index['_'+stationTaskBatch.batch_id]['status']==='完成')return;
|
|
|
- stationTaskBatches.push(stationTaskBatch)
|
|
|
_this.stationTaskBatch_index['_'+stationTaskBatch.batch_id]=stationTaskBatch;
|
|
|
_this.stationTask_indexByBatch['_'+stationTaskBatch.batch_id]=stationTask;
|
|
|
}
|
|
|
+ stationTaskBatches.push(stationTaskBatch)
|
|
|
})
|
|
|
});
|
|
|
return stationTaskBatches;
|