Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
bp
op-web-service
Commits
0abce1bc
Commit
0abce1bc
authored
Jul 20, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:清空dialog
parent
055c77bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
88 deletions
+1
-88
index.vue
src/pages/Withdrawal/Audit/index.vue
+1
-0
user-detail.vue
src/pages/Withdrawal/User/user-detail.vue
+0
-83
index.js
src/router/Withdrawal/index.js
+0
-5
No files found.
src/pages/Withdrawal/Audit/index.vue
View file @
0abce1bc
...
...
@@ -386,6 +386,7 @@ export default {
try
{
const
res
=
await
urlObj
[
action
](
params
);
this
.
getApplyList
();
this
.
outerVisible
=
false
;
this
.
$message
({
type
:
"success"
,
message
:
"操作成功"
,
...
...
src/pages/Withdrawal/User/user-detail.vue
deleted
100644 → 0
View file @
055c77bd
<
template
>
<div
class=
"user-detail"
>
<el-page-header
@
back=
"goBack"
content=
"用户详情页面"
>
</el-page-header>
<el-card
class=
"management"
>
<h2
style=
"margin-bottom: 10px"
>
用户信息
</h2>
<el-descriptions
class=
"margin-top"
:column=
"3"
:size=
"size"
border
>
<el-descriptions-item>
<template
#
label
>
用户姓名
</
template
>
{{ user_info.user_name }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
手机号
</
template
>
{{ user_info.user_mobile }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
所属组织
</
template
>
{{ user_info.organization }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
添加人账号
</
template
>
{{ user_info.create_user_name }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
添加时间
</
template
>
{{ user_info.create_time }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
最后修改人账号
</
template
>
{{ user_info.update_user_name }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
最后修改时间
</
template
>
{{ user_info.update_user_name }}
</el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
敏感词权限
</
template
>
{{ user_info.is_sensitive_authority == 1 ? "有" : "无" }}
</el-descriptions-item>
</el-descriptions>
<div
class=
"role"
>
角色信息
</div>
<el-table
:data=
"role_list"
border
style=
"width: 100%"
>
<el-table-column
prop=
"role_id"
label=
"ID"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"role_name"
label=
"角色名称"
>
</el-table-column>
</el-table>
</el-card>
</div>
</template>
<
script
>
import
{
getUser_detail
as
reqGetUser_detail
}
from
"../../../service/user"
;
export
default
{
data
()
{
return
{
user_id
:
this
.
$route
.
query
.
userId
,
user_info
:
{},
role_list
:
[]
//角色池
}
},
created
()
{
this
.
getUser_date
()
},
methods
:
{
getUser_date
()
{
reqGetUser_detail
(
this
.
user_id
).
then
((
res
)
=>
{
this
.
user_info
=
res
.
user_info
this
.
role_list
=
res
.
role_list
})
},
goBack
()
{
this
.
$router
.
go
(
-
1
)
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.user-detail {
margin: 50px;
.role {
margin: 10px;
font-weight: bold;
}
}
</
style
>
\ No newline at end of file
src/router/Withdrawal/index.js
View file @
0abce1bc
...
...
@@ -15,11 +15,6 @@ const withdrawalRoutes = [
name
:
"User"
,
component
:
()
=>
import
(
/* webpackChunkName: "Withdrawal" */
"@/pages/Withdrawal/User/userList"
),
},
{
path
:
"/op/withdrawal/userDetail"
,
name
:
"UserDetail"
,
component
:
()
=>
import
(
/* webpackChunkName: "Withdrawal" */
"@/pages/Withdrawal/User/user-detail.vue"
),
},
//角色管理
{
path
:
"/op/withdrawal/roleAddRole"
,
...
...
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