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
539f8a5b
authored
Sep 24, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 member 详情无法展示的问题
parent
e4896277
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
src/views/member/user/detail/index.vue
+1
-1
src/views/member/user/index.vue
+7
-0
No files found.
src/views/member/user/detail/index.vue
View file @
539f8a5b
...
...
@@ -75,7 +75,7 @@ defineOptions({ name: 'MemberDetail' })
const
activeName
=
ref
(
'point'
)
// 账户明细 选中的 tabs
const
loading
=
ref
(
true
)
// 加载中
const
user
=
ref
<
UserApi
.
UserVO
>
()
const
user
=
ref
<
UserApi
.
UserVO
>
(
{}
)
/** 添加/修改操作 */
const
formRef
=
ref
()
...
...
src/views/member/user/index.vue
View file @
539f8a5b
...
...
@@ -160,6 +160,7 @@
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
*
as
UserApi
from
'@/api/member/user'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
UserForm
from
'./UserForm.vue'
import
MemberTagSelect
from
'@/views/member/tag/components/MemberTagSelect.vue'
import
MemberLevelSelect
from
'@/views/member/level/components/MemberLevelSelect.vue'
import
MemberGroupSelect
from
'@/views/member/group/components/MemberGroupSelect.vue'
...
...
@@ -218,6 +219,12 @@ const openDetail = (id: number) => {
push
({
name
:
'MemberUserDetail'
,
params
:
{
id
}
})
}
/** 添加/修改操作 */
const
formRef
=
ref
()
const
openForm
=
(
type
:
string
,
id
?:
number
)
=>
{
formRef
.
value
.
open
(
type
,
id
)
}
/** 表格选中事件 */
const
handleSelectionChange
=
(
rows
:
UserApi
.
UserVO
[])
=>
{
selectedIds
.
value
=
rows
.
map
((
row
)
=>
row
.
id
)
...
...
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