Commit f060d73b by liwk

commit

1 parent 1f148485
...@@ -63,11 +63,12 @@ export default { ...@@ -63,11 +63,12 @@ export default {
}) })
}, },
jump(params, name) { jump(params, name) {
let arr = name == 'order' ? '订单管理' : '售后管理' let parent = name == 'order' ? '订单管理' : '售后管理'
// window.location.href = `./detail.html?orderCode=${orderCode}` // window.location.href = `./detail.html?orderCode=${orderCode}`
let target = ['嘀加权益卡管理平台', '运营平台', '权益', arr, '*详情'] let target = ['嘀加权益卡管理平台', '运营平台', '权益', parent, '*详情']
if (window.$config.axios.environment) { if (window.$config.axios.environment) {
target = [] let arr = name == 'order' ?  ['订单管理', '*权益订单详情'] : ['售后管理', '售后详情']
target = ['权益卡管理平台', '运营平台', 'SCRM权益平台', ...arr]
} }
console.log(target, { orderCode: params.orderCode }) console.log(target, { orderCode: params.orderCode })
this.$root.to(target, { orderCode: params.orderCode }) this.$root.to(target, { orderCode: params.orderCode })
......
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
if (status == 0) params.edit = true if (status == 0) params.edit = true
let target = ['嘀加权益卡管理平台', '运营平台', '权益', '商品管理', '*商品'] let target = ['嘀加权益卡管理平台', '运营平台', '权益', '商品管理', '*商品']
if (window.$config.axios.environment) { if (window.$config.axios.environment) {
target = [] target = ['权益卡管理平台', '运营平台', 'SCRM权益平台', '商品管理', '*商品详情']
} }
console.log(target) console.log(target)
// window.location.href = url // window.location.href = url
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!