mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 11:19:52 +08:00
修改
This commit is contained in:
@@ -63,8 +63,15 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="orderCode"
|
prop="orderCode"
|
||||||
label="订单号"
|
label="订单号"
|
||||||
align="center"
|
align="center">
|
||||||
/>
|
<template slot-scope="scope">
|
||||||
|
<router-link
|
||||||
|
:to="'/order/index/orderDetail/' +scope.row.orderCode"
|
||||||
|
class="link-type">
|
||||||
|
{{ scope.row.orderCode }}
|
||||||
|
</router-link>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="transactionCode"
|
prop="transactionCode"
|
||||||
label="交易流水号"
|
label="交易流水号"
|
||||||
@@ -76,7 +83,11 @@
|
|||||||
label="站点名称"
|
label="站点名称"
|
||||||
align="center"
|
align="center"
|
||||||
width="130"
|
width="130"
|
||||||
/>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span class="link-type" @click="goStationDetail(scope)">{{ scope.row.stationName }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="orderAmount"
|
prop="orderAmount"
|
||||||
label="订单金额"
|
label="订单金额"
|
||||||
@@ -128,6 +139,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
goStationDetail(scope) {
|
||||||
|
// console.log(scope,'跳转站点名称')
|
||||||
|
// console.log("跳转到充电站详情", scope.row.stationName);
|
||||||
|
this.$router.push({
|
||||||
|
name: 'stationDetail',
|
||||||
|
params: {
|
||||||
|
id: scope.row.stationId,
|
||||||
|
stationName: scope.row.stationName,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
defaultDate() {
|
defaultDate() {
|
||||||
let beg = getDay(-30); //当月第一天
|
let beg = getDay(-30); //当月第一天
|
||||||
let end = getDay(0); //当天
|
let end = getDay(0); //当天
|
||||||
|
|||||||
@@ -56,10 +56,9 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<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="goStationOrderReport(scope)">{{ scope.row.stationName }}</span>-->
|
</template>
|
||||||
<!-- </template>-->
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -158,7 +157,7 @@ export default {
|
|||||||
path: 'station/orderReport',
|
path: 'station/orderReport',
|
||||||
name: 'Report',
|
name: 'Report',
|
||||||
params: {
|
params: {
|
||||||
id: scope.row.id,
|
id: scope.row.stationId,
|
||||||
stationName: scope.row.stationName,
|
stationName: scope.row.stationName,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user