Commit 1cb9ed90 authored by xiejb's avatar xiejb

路由跳转刷新

parent 06c5bd12
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
position="right" position="right"
get-container="body" get-container="body"
> >
<div class="title-layout font-bold font-16">供应商</div> <div class="title-layout font-bold font-16">客户</div>
<van-search <van-search
v-model="keywords" v-model="keywords"
placeholder="请输入编码或名称" placeholder="请输入编码或名称"
......
...@@ -3,8 +3,9 @@ const myInvoice = [ ...@@ -3,8 +3,9 @@ const myInvoice = [
path: '/myInvoice', path: '/myInvoice',
name: 'myInvoice', name: 'myInvoice',
meta: { meta: {
title: '我的订单', title: '发票',
auth: false auth: false,
keepAlive: true
}, },
component: resolve => require(['@/views/myInvoice'], resolve) component: resolve => require(['@/views/myInvoice'], resolve)
}, },
......
...@@ -4,7 +4,8 @@ const myOrder = [ ...@@ -4,7 +4,8 @@ const myOrder = [
name: 'myOrder', name: 'myOrder',
meta: { meta: {
title: '我的订单', title: '我的订单',
auth: false auth: false,
keepAlive: true
}, },
component: resolve => require(['@/views/myOrder'], resolve) component: resolve => require(['@/views/myOrder'], resolve)
}, },
......
...@@ -97,8 +97,8 @@ export default { ...@@ -97,8 +97,8 @@ export default {
show: true, show: true,
leftArrow: true, leftArrow: true,
rightIcon: false, rightIcon: false,
title: '', title: '订单详情',
leftText: '订单详情', leftText: '',
leftClick: this.onBrowserBack, leftClick: this.onBrowserBack,
rightClick: null rightClick: null
}) })
......
...@@ -106,6 +106,7 @@ export default { ...@@ -106,6 +106,7 @@ export default {
break break
case model.actionType === 'logistics': case model.actionType === 'logistics':
// 查看物流 // 查看物流
this.openPager('logisticsDetail')
break break
case model.actionType === 'clearance': case model.actionType === 'clearance':
// 清货单 // 清货单
...@@ -117,6 +118,12 @@ export default { ...@@ -117,6 +118,12 @@ export default {
break break
} }
}, },
openPager(path) {
this.$router.push({
path: path,
query: this.$store.state.linkInfo
})
},
// 查看订单详情 // 查看订单详情
gotoOrderDetail (model) { gotoOrderDetail (model) {
this.$router.push({ this.$router.push({
......
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