代码调整

This commit is contained in:
joylink_cuiweidong 2022-08-29 11:16:15 +08:00
parent f0d9184a13
commit 9577b8ecf2

View File

@ -206,10 +206,10 @@ export default {
this.mapStationDirectionMap = mapStationDirectionMap;
const mapStationDirectionList = Object.values(mapStationDirectionMap);
this.enterDirList = mapStationDirectionList.filter(stationDirection=>{
return stationDirection.runStatus == 'R';
return stationDirection.runStatus == 'R' && stationDirection.stationCode == stationCode;
});
this.outDirList = mapStationDirectionList.filter(stationDirection=>{
return stationDirection.runStatus == 'D';
return stationDirection.runStatus == 'D' && stationDirection.stationCode == stationCode;
});
this.addModel.stationCode = stationCode;
this.filterSectionList = Object.values(filterSectionMap);