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
b9c2d311
authored
Aug 19, 2024
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】MALL: 会员详情增加售后管理界面
parent
ab706403
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
src/views/mall/trade/afterSale/index.vue
+10
-3
src/views/member/user/detail/index.vue
+4
-1
No files found.
src/views/mall/trade/afterSale/index.vue
View file @
b9c2d311
...
...
@@ -156,7 +156,7 @@
<dict-tag
:type=
"DICT_TYPE.TRADE_AFTER_SALE_WAY"
:value=
"scope.row.way"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"1
6
0"
>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"1
2
0"
>
<
template
#
default=
"{ row }"
>
<el-button
link
type=
"primary"
@
click=
"openAfterSaleDetail(row.id)"
>
处理退款
</el-button>
</
template
>
...
...
@@ -181,6 +181,9 @@ import { cloneDeep } from 'lodash-es'
import
{
fenToYuan
}
from
'@/utils'
defineOptions
({
name
:
'TradeAfterSale'
})
const
props
=
defineProps
<
{
userId
?:
number
}
>
()
const
{
push
}
=
useRouter
()
// 路由跳转
...
...
@@ -204,7 +207,8 @@ const queryParams = reactive({
spuName
:
null
,
createTime
:
[],
way
:
null
,
type
:
null
type
:
null
,
userId
:
null
})
/** 查询列表 */
const
getList
=
async
()
=>
{
...
...
@@ -215,8 +219,11 @@ const getList = async () => {
if
(
data
.
status
===
'0'
)
{
delete
data
.
status
}
if
(
props
.
userId
)
{
data
.
userId
=
props
.
userId
}
// 执行查询
const
res
=
(
await
AfterSaleApi
.
getAfterSalePage
(
data
))
as
AfterSaleApi
.
TradeAfterSaleVO
[]
const
res
=
await
AfterSaleApi
.
getAfterSalePage
(
data
)
list
.
value
=
res
.
list
total
.
value
=
res
.
total
}
finally
{
...
...
src/views/member/user/detail/index.vue
View file @
b9c2d311
...
...
@@ -48,7 +48,9 @@
<el-tab-pane
label=
"订单管理"
lazy
>
<UserOrderList
:user-id=
"id"
/>
</el-tab-pane>
<el-tab-pane
label=
"售后管理"
lazy
>
售后管理(WIP)
</el-tab-pane>
<el-tab-pane
label=
"售后管理"
lazy
>
<TradeAfterSale
:user-id=
"id"
/>
</el-tab-pane>
<el-tab-pane
label=
"收藏记录"
lazy
>
<UserFavoriteList
:user-id=
"id"
/>
</el-tab-pane>
...
...
@@ -81,6 +83,7 @@ import UserPointList from './UserPointList.vue'
import
UserSignList
from
'./UserSignList.vue'
import
UserFavoriteList
from
'./UserFavoriteList.vue'
import
WalletTransactionList
from
'@/views/pay/wallet/transaction/WalletTransactionList.vue'
import
TradeAfterSale
from
'@/views/mall/trade/afterSale/index.vue'
import
{
CardTitle
}
from
'@/components/Card/index'
import
{
ElMessage
}
from
'element-plus'
...
...
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