大铁项目 ctc 车务管理端 列车固定路径 代码调整
This commit is contained in:
parent
c58262a066
commit
0269ae8144
@ -86,7 +86,9 @@
|
||||
width="75"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.trackSectionCode">
|
||||
{{ filterSectionMap[scope.row.trackSectionCode].name }}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -95,7 +97,9 @@
|
||||
width="110"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.departStationCode">
|
||||
{{ stationMap[scope.row.departStationCode].name }}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -104,7 +108,9 @@
|
||||
width="155"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.arriveDirectionCode">
|
||||
{{ mapStationDirectionData[scope.row.arriveDirectionCode].name }}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -113,7 +119,9 @@
|
||||
width="155"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.departDirectionCode">
|
||||
{{ mapStationDirectionData[scope.row.departDirectionCode].name }}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -122,7 +130,9 @@
|
||||
width="110"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.arriveStationCode">
|
||||
{{ stationMap[scope.row.arriveStationCode].name }}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -398,7 +408,7 @@ export default {
|
||||
});
|
||||
},
|
||||
coverTime(time) {
|
||||
return time.split(':').splice(0, 2).join(':');
|
||||
return time ? time.split(':').splice(0, 2).join(':') : '';
|
||||
},
|
||||
handleData() {
|
||||
this.tableData = [];
|
||||
|
Loading…
Reference in New Issue
Block a user