Commit dd7cf70f authored by Facius's avatar Facius

improve: 订单管理传参

parent bc8802cb
...@@ -81,13 +81,7 @@ export default { ...@@ -81,13 +81,7 @@ export default {
{ label: '审核中', type: 'audit', key: 'reviewingCount' }, { label: '审核中', type: 'audit', key: 'reviewingCount' },
] ]
}, },
nextTitle() {
return (
this.timeTypeTexts[this.current].name +
'-' +
this.detailLabels[this.current].label
)
},
params() { params() {
var date = new Date() var date = new Date()
var timestamp = date.getTime() var timestamp = date.getTime()
...@@ -140,7 +134,7 @@ export default { ...@@ -140,7 +134,7 @@ export default {
url: 'pages/mine/order/list', url: 'pages/mine/order/list',
params: { params: {
orderType: item.type, orderType: item.type,
title: this.nextTitle, title: this.timeTypeTexts[this.current].name + '-' + item.label,
...this.currentParam, ...this.currentParam,
}, },
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment