代码调整

This commit is contained in:
joylink_cuiweidong 2022-07-14 13:52:20 +08:00
parent cf10f19b96
commit b1a546828d

View File

@ -41,7 +41,7 @@
width="105"
>
<template slot-scope="scope">
<div v-if="scope.row.arriveRunPlan" :title="scope.row.arriveRunPlan.accessName">{{ scope.row.arriveRunPlan.accessName }}</div>
<div v-if="scope.row.arriveRunPlan" :title="mapStationDirectionData[scope.row.arriveRunPlan.accessName].name">{{ mapStationDirectionData[scope.row.arriveRunPlan.accessName].name }}</div>
</template>
</el-table-column>
<el-table-column
@ -60,7 +60,7 @@
width="105"
>
<template slot-scope="scope">
<div v-if="scope.row.departRunPlan" :title="scope.row.departRunPlan.accessName">{{ scope.row.departRunPlan.accessName }}</div>
<div v-if="scope.row.departRunPlan" :title="mapStationDirectionData[scope.row.departRunPlan.accessName].name">{{ mapStationDirectionData[scope.row.departRunPlan.accessName].name }}</div>
</template>
</el-table-column>
<el-table-column
@ -152,6 +152,9 @@ export default {
},
title() {
return '发送计划';
},
mapStationDirectionData() {
return this.$store.state.map.mapStationDirectionData;
}
},
methods:{