mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 18:45:06 +08:00
trade:增加用户 App 的订单分页和详情接口
This commit is contained in:
@ -198,20 +198,12 @@ export const constantRoutes = [
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/order',
|
||||
path: '/trade/order',
|
||||
component: Layout,
|
||||
name: '订单管理',
|
||||
meta: { title: '订单管理' },
|
||||
alwaysShow: true,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: '/mall/trade/order',
|
||||
name: '商品订单',
|
||||
meta: { title: '商品订单' },
|
||||
component: (resolve) => require(['@/views/mall/trade/order'], resolve)
|
||||
},
|
||||
{
|
||||
path: '/mall/trade/order/detail',
|
||||
path: 'detail',
|
||||
name: '订单详情',
|
||||
hidden: true,
|
||||
meta: { title: '订单详情' },
|
||||
|
@ -229,7 +229,7 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
goToDetail (row) {
|
||||
this.$router.push({ path: '/mall/trade/order/detail', query: { id: row.id }})
|
||||
this.$router.push({ path: '/trade/order/detail', query: { id: row.id }})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user