Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
58898e4e
Commit
58898e4e
authored
Jul 13, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员页面删除按钮
parent
79657e41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
index.vue
src/views/member/user/index.vue
+13
-0
No files found.
src/views/member/user/index.vue
View file @
58898e4e
...
...
@@ -74,6 +74,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"operationLogFn(scope.row)"
>
操作日志
</el-button>
<el-button
v-if=
"scope.row.identityAuditStatus !== 0 && scope.row.identityAuditStatus !== undefined"
size=
"mini"
type=
"text"
@
click=
"identityFn(scope.row , '1')"
>
身份证
</el-button>
<el-button
v-if=
"scope.row.enterpriseAuditStatus !== 0 && scope.row.enterpriseAuditStatus !== undefined"
size=
"mini"
type=
"text"
@
click=
"identityFn(scope.row, '2')"
>
营业执照
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"deleteFn(scope.row)"
>
删 除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -315,6 +316,18 @@ export default {
this
.
getList
();
},
methods
:
{
deleteFn
(
row
){
console
.
log
(
row
)
this
.
$modal
.
confirm
(
`是否要删除昵称为
${
row
.
nickname
}
的会员`
).
then
(
function
(){
return
deleteUser
(
row
.
id
)
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
this
.
getList
();
this
.
$message
.
success
(
'
删除成功
'
)
}).
catch
(()
=>
{
this
.
$message
.
success
(
'
删除失败
'
)
}
)
},
//导出
exportFn
(){
this
.
$modal
.
confirm
(
'
是否确认导出所有用户数据项?
'
).
then
(()
=>
{
...
...
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