代码调整
This commit is contained in:
parent
5b191b60b7
commit
d0f4c4b5cd
@ -33,14 +33,14 @@
|
||||
<div>{{ scope.row.tripNumber }} {{ scope.row.status==-1?'(删)':'' }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column width="155" prop="trainType" label="列车类型">
|
||||
<el-table-column width="155" prop="trainType" label="列车类型">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.trainType" class="accessName">
|
||||
{{ runTypeMap[scope.row.trainType] }}
|
||||
{{ trainTypeMap[scope.row.trainType] }}
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column width="155" prop="runType" label="运行类型">
|
||||
<!-- <el-table-column width="155" prop="runType" label="运行类型">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.runType" class="accessName">
|
||||
{{ runTypeMap[scope.row.runType].name }}
|
||||
@ -212,7 +212,25 @@ export default {
|
||||
tableData:[],
|
||||
group:'',
|
||||
currentRow:null,
|
||||
trainTypeMap:{'FAST_PASSENGER_TRAIN':'跨局快速旅客列车'},
|
||||
trainTypeMap:{
|
||||
'LOCAL_EXPRESS_PASSENGER_TRAIN':'管内特快旅客列车',
|
||||
'LOCAL_FAST_PASSENGER_TRAIN':'管内快速旅客列车',
|
||||
'LOCAL_PASSENGER_TRAIN':'管内普通旅客快车',
|
||||
'LOCAL_SLOW_PASSENGER_TRAIN':'管内普通旅客慢车',
|
||||
'LOCAL_TEMPORARY_PASSENGER_TRAIN':'管内临时旅客列车',
|
||||
'LOCAL_TEMPORARY_TOURIST_TRAIN':'管内临时旅游列车',
|
||||
|
||||
'FAST_PASSENGER_TRAIN':'跨局快速旅客列车',
|
||||
'TEMPORARY_TOURIST_TRAIN':'跨局临时旅游列车',
|
||||
'TWO_PASSENGER_TRAIN':'跨两局普通旅客快车',
|
||||
'TWO_SLOW_PASSENGER_TRAIN':'跨两局普通旅客慢车',
|
||||
'TWO_TEMPORARY_PASSENGER_TRAIN':'跨两局临时旅客列车',
|
||||
'MORE_PASSENGER_TRAIN':'跨三局及其以上普通旅客快车',
|
||||
|
||||
'BACK_FACTORY_PASSENGER_TRAIN':'回送出入厂客车底列车',
|
||||
'FAULT_TRUE_BACK_PASSENGER_TRAIN':'因故折返旅客列车'
|
||||
},
|
||||
|
||||
runTypeMap:{'FAST_PASSENGER_TRAIN':'快速旅客列车'}
|
||||
};
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user