trade:增加用户 App 的订单分页和详情接口

This commit is contained in:
YunaiV
2022-12-10 23:06:53 +08:00
parent b7d78a24a4
commit 7f131a3853
16 changed files with 366 additions and 174 deletions

View File

@ -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: '订单详情' },

View File

@ -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 }})
}
}
}