|
@@ -146,6 +146,11 @@ export default {
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.loading = true
|
|
this.loading = true
|
|
|
|
+ const { tab } = this.$route.query
|
|
|
|
+ console.log('tab', tab)
|
|
|
|
+ if (tab) {
|
|
|
|
+ this.doRefresh(tab)
|
|
|
|
+ }
|
|
this.getOrderDetailFun()
|
|
this.getOrderDetailFun()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -168,6 +173,7 @@ export default {
|
|
},
|
|
},
|
|
doSelectTabName (name = '订单详情') {
|
|
doSelectTabName (name = '订单详情') {
|
|
const tabKey = this.tabList.find(v => v.label === name).name
|
|
const tabKey = this.tabList.find(v => v.label === name).name
|
|
|
|
+ console.log('tabKey', tabKey)
|
|
this.activeTabName = tabKey
|
|
this.activeTabName = tabKey
|
|
}
|
|
}
|
|
}
|
|
}
|