This commit is contained in:
admin-lmm
2023-07-11 10:06:57 +08:00
parent afcffa5a86
commit c27c5a767f

View File

@@ -57,7 +57,7 @@
<el-table-column label="交易日期" align="center" prop="tradeDate" /> <el-table-column label="交易日期" align="center" prop="tradeDate" />
<el-table-column label="站点名称" align="center" prop="stationName" > <el-table-column label="站点名称" align="center" prop="stationName" >
<template slot-scope="scope"> <template slot-scope="scope">
<span class="link-type" @click="goStationOrderReport(scope)">{{ scope.row.stationName }}</span> <span class="link-type" @click="goStationOrder(scope)">{{ scope.row.stationName }}</span>
</template> </template>
</el-table-column> </el-table-column>
@@ -152,10 +152,9 @@ export default {
} }
); );
}, },
goStationOrderReport(scope) { goStationOrder(scope) {
this.$router.push({ this.$router.push({
path: 'station/orderReport', name: 'stationDetail',
name: 'Report',
params: { params: {
id: scope.row.stationId, id: scope.row.stationId,
stationName: scope.row.stationName, stationName: scope.row.stationName,