diff --git a/src/jmapNew/theme/xian_01/planConfig.js b/src/jmapNew/theme/xian_01/planConfig.js index 5c6a6967a..e61a97759 100644 --- a/src/jmapNew/theme/xian_01/planConfig.js +++ b/src/jmapNew/theme/xian_01/planConfig.js @@ -21,6 +21,7 @@ export default { sepField: '车次号', columns: { '停车站名称': { key: 'stationName', formatter: (val) => { return val; } }, + '停车轨名称':{key: 'trackName', formatter: (val) => { return val; }}, '到达时间': { key: 'arriveTime', formatter: (val) => { return val; } }, '出发时间': { key: 'departureTime', formatter: (val) => { return val; } } } @@ -82,7 +83,7 @@ export default { // 添加字段值 if (Object.keys(stationObj).length) { - if (stationObj.arriveTime) { + if (stationObj.trackName || stationObj.arriveTime) { tripObj.arrivalList.push(stationObj); } }