Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
264a29e4
authored
Aug 31, 2023
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新订单和售后退款详情页面路由
parent
688dad31
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
src/router/modules/remaining.ts
+4
-4
src/views/mall/trade/order/form/OrderDeliveryForm.vue
+0
-1
No files found.
src/router/modules/remaining.ts
View file @
264a29e4
...
...
@@ -393,7 +393,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
]
},
{
path
:
'/trade
/order
'
,
path
:
'/trade'
,
component
:
Layout
,
name
:
'Order'
,
meta
:
{
...
...
@@ -401,13 +401,13 @@ const remainingRouter: AppRouteRecordRaw[] = [
},
children
:
[
{
path
:
'order
Detail/:orderId(\\d+)'
,
// TODO @puhui999:路径合理的是 trade/order/detail
path
:
'order
/detail/:orderId(\\d+)'
,
component
:
()
=>
import
(
'@/views/mall/trade/order/detail/index.vue'
),
name
:
'TradeOrderDetail'
,
// TODO @puhui999:路径合理的是 trade/after-sale/detail
name
:
'TradeOrderDetail'
,
meta
:
{
title
:
'订单详情'
,
icon
:
''
,
activeMenu
:
'/trade/trade/order'
}
},
{
path
:
'after
SaleD
etail/:orderId(\\d+)'
,
path
:
'after
-sale/d
etail/:orderId(\\d+)'
,
component
:
()
=>
import
(
'@/views/mall/trade/afterSale/detail/index.vue'
),
name
:
'TradeAfterSaleDetail'
,
meta
:
{
title
:
'退款详情'
,
icon
:
''
,
activeMenu
:
'/trade/trade/after-sale'
}
...
...
src/views/mall/trade/order/form/OrderDeliveryForm.vue
View file @
264a29e4
...
...
@@ -34,7 +34,6 @@ import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express'
import
*
as
TradeOrderApi
from
'@/api/mall/trade/order'
import
{
copyValueToTarget
}
from
'@/utils'
// TODO @puhui999:要不 Form 保持和别的模块一样,和 index.vue 放在一个目录下,不作为 components;components 更多要支持给多个模块使用哈。
defineOptions
({
name
:
'OrderDeliveryForm'
})
const
{
t
}
=
useI18n
()
// 国际化
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment