Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
8879184d
Commit
8879184d
authored
Oct 27, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户充值
parent
c9846c22
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
6 deletions
+66
-6
src/pages/authority/user/money.vue
src/pages/authority/user/money.vue
+45
-0
src/pages/authority/user/users.vue
src/pages/authority/user/users.vue
+15
-6
src/router/index.js
src/router/index.js
+6
-0
No files found.
src/pages/authority/user/money.vue
0 → 100644
View file @
8879184d
<
template
>
<div
class=
"users_list"
>
<el-breadcrumb
separator=
"/"
slot=
"breadcrumb"
>
<el-breadcrumb-item
to=
"/authority"
>
权限管理
</el-breadcrumb-item>
<el-breadcrumb-item
to=
"/authority/users"
>
用户管理
</el-breadcrumb-item>
<el-breadcrumb-item>
充值
</el-breadcrumb-item>
</el-breadcrumb>
</div>
</
template
>
<
script
>
import
apassDialog
from
"
@/components/apass-dialog
"
;
export
default
{
props
:
[],
components
:
{
apassDialog
},
data
()
{
return
{
};
},
watch
:
{
},
computed
:
{
},
created
()
{
},
mounted
()
{
},
methods
:
{
},
};
</
script
>
<
style
scoped
>
.users_list
{
padding
:
15px
20px
;
}
</
style
>
src/pages/authority/user/users.vue
View file @
8879184d
...
...
@@ -22,7 +22,11 @@
<el-table-column
label=
""
width=
"40"
></el-table-column>
<el-table-column
label=
"账号"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span
v-text=
"scope.row.user_id"
></span>
<div
class=
"row_action"
>
<a
class=
"btn"
v-text=
"scope.row.user_id"
@
click=
"
$router.push(`/authority/users/detail/$
{scope.row.user_id}`)
">
</a>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"业务系统名称"
>
...
...
@@ -62,19 +66,19 @@
<a
class=
"btn"
@
click=
"
$router.push(`/authority/users/
detail
/$
{scope.row.user_id}`)
$router.push(`/authority/users/
roles
/$
{scope.row.user_id}`)
"
>
详情
分配角色
</a>
<span
class=
"interval_line"
>
|
</span>
<a
class=
"btn
"
:class=
"
{btn:true,disabled:![3,4].includes(scope.row.is_admin)}
"
@click="
$router.push(`/authority/users/roles/$
{scope.row.user_id}`
)
goto_give_money(scope.row.user_id,scope.row.is_admin
)
"
>
分配角色
充值
</a>
<span
class=
"interval_line"
>
|
</span>
<a
...
...
@@ -126,6 +130,11 @@ export default {
console
.
log
(
error
);
});
},
goto_give_money
(
id
,
type
){
if
(
type
==
3
||
type
==
4
){
this
.
$router
.
push
(
`/authority/users/money/
${
id
}
`
)
}
},
changeState
(
item
)
{
console
.
log
(
item
);
...
...
src/router/index.js
View file @
8879184d
...
...
@@ -501,6 +501,12 @@ export default new Router({
component
:
()
=>
import
(
"
@/pages/authority/user/organizationuser
"
),
},
{
path
:
"
/authority/users/money/:id
"
,
// 用户管理-充值
name
:
"
usersmoney
"
,
component
:
()
=>
import
(
"
@/pages/authority/user/money
"
),
},
{
path
:
"
/authority/users/permission
"
,
// 用户管理页 - 权限审批
name
:
"
users
"
,
...
...
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