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
cfbfb108
Commit
cfbfb108
authored
Aug 11, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:列表
parent
a0daee39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
21 deletions
+33
-21
index.vue
src/pages/Withdrawal/walletAccount/index.vue
+24
-21
withdrawal.js
src/service/Withdrawal/withdrawal.js
+9
-0
No files found.
src/pages/Withdrawal/walletAccount/index.vue
View file @
cfbfb108
...
@@ -2,14 +2,17 @@
...
@@ -2,14 +2,17 @@
<el-card
class=
"role_management"
>
<el-card
class=
"role_management"
>
<!-- 检索区域 -->
<!-- 检索区域 -->
<div
class=
"creatRole"
>
<div
class=
"creatRole"
>
<el-form
inline
:model=
"search
Form
"
>
<el-form
inline
:model=
"search
Props
"
>
<el-form-item
label=
"用户Id"
>
<el-form-item
label=
"用户Id"
>
<el-input
v-model=
"searchForm.roleName"
></el-input>
<el-input
v-model=
"searchProps.user_id"
@
input=
"
searchProps.user_id = $event
.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g, '')
"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"账户状态"
>
<el-form-item
label=
"账户状态"
>
<el-select
v-model=
"search
Form.roleStatus
"
>
<el-select
v-model=
"search
Props.type
"
>
<el-option
label=
"黑名单"
:value=
"
1
"
></el-option>
<el-option
label=
"黑名单"
:value=
"
2
"
></el-option>
<el-option
label=
"正常用户"
:value=
"
2
"
></el-option>
<el-option
label=
"正常用户"
:value=
"
1
"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-button
<el-button
...
@@ -22,45 +25,45 @@
...
@@ -22,45 +25,45 @@
</div>
</div>
<!-- 用户搜索列表 -->
<!-- 用户搜索列表 -->
<el-table
border
:data=
"
manageme
ntList"
>
<el-table
border
:data=
"
accou
ntList"
>
<el-table-column
<el-table-column
label=
"用户id"
label=
"用户id"
prop=
"
role_name
"
prop=
"
user_id
"
align=
"center"
align=
"center"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
label=
"账户可用金额"
label=
"账户可用金额"
prop=
"
update_time
"
prop=
"
available_fund
"
align=
"center"
align=
"center"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
label=
"账户冻结金额"
label=
"账户冻结金额"
prop=
"
update_user_name
"
prop=
"
freezing_fund
"
align=
"center"
align=
"center"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
label=
"历史提现金额"
label=
"历史提现金额"
prop=
"
update_user_name
"
prop=
"
history_fund
"
align=
"center"
align=
"center"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
label=
"账户状态"
label=
"账户状态"
width=
"200px"
width=
"200px"
:formatter=
"
hasStatusFormat
"
:formatter=
"
type
"
align=
"center"
align=
"center"
>
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
>
<el-table-column
label=
"操作"
align=
"center"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
<el-button
<el-button
v-show=
"scope.row.
role_status
== 2"
v-show=
"scope.row.
type
== 2"
@
click
.
stop=
"handleBlackList(scope.row)"
@
click
.
stop=
"handleBlackList(scope.row)"
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
>
黑名单
</el-button
>
黑名单
</el-button
>
>
<el-button
<el-button
v-show=
"scope.row.
role_status
== 1"
v-show=
"scope.row.
type
== 1"
@
click
.
stop=
"handelDelete(scope.row)"
@
click
.
stop=
"handelDelete(scope.row)"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -88,9 +91,9 @@ export default {
...
@@ -88,9 +91,9 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
searchProps
:
{
roleName
:
""
,
user_id
:
""
,
roleStatus
:
""
,
type
:
""
,
},
},
formLabelWidth
:
"120px"
,
formLabelWidth
:
"120px"
,
params
:
{
params
:
{
...
@@ -110,7 +113,7 @@ export default {
...
@@ -110,7 +113,7 @@ export default {
selectedOptions
:
[],
selectedOptions
:
[],
dialogVisible
:
false
,
dialogVisible
:
false
,
dialogText
:
""
,
dialogText
:
""
,
manageme
ntList
:
[],
accou
ntList
:
[],
role_info_detail
:
{
role_info_detail
:
{
//详情非编辑项
//详情非编辑项
role_id
:
""
,
role_id
:
""
,
...
@@ -151,11 +154,11 @@ export default {
...
@@ -151,11 +154,11 @@ export default {
// let paramsRole_list = {
// let paramsRole_list = {
// page,
// page,
// page_size,
// page_size,
//
role_status: this.searchForm.roleStatus
,
//
type: this.searchProps.type
,
//
role_name: this.searchForm.roleName
,
//
user_id: this.searchProps.user_id
,
// };
// };
// reqGetRole_list(paramsRole_list, this.appId).then((res) => {
// reqGetRole_list(paramsRole_list, this.appId).then((res) => {
// this.
manageme
ntList = res.result;
// this.
accou
ntList = res.result;
// this.totalNum = res.count;
// this.totalNum = res.count;
// });
// });
// },
// },
...
@@ -165,7 +168,7 @@ export default {
...
@@ -165,7 +168,7 @@ export default {
// },
// },
// //重置
// //重置
// onReset() {
// onReset() {
// (this.search
Form.roleName = ""), (this.searchForm.roleStatus
= "");
// (this.search
Props.user_id = ""), (this.searchProps.type
= "");
// this.getGetRole_list();
// this.getGetRole_list();
// },
// },
// //列表分页
// //列表分页
...
...
src/service/Withdrawal/withdrawal.js
View file @
cfbfb108
...
@@ -47,3 +47,12 @@ export async function getRolesForUser(user_email) {
...
@@ -47,3 +47,12 @@ export async function getRolesForUser(user_email) {
);
);
return
res
.
permissions
;
return
res
.
permissions
;
}
}
// 迭代---钱包账户
// 获取账户列表
// 获取提现审核列表
export
async
function
getAccountList
(
params
)
{
const
res
=
await
axios
.
get
(
"/api/v1/get_account_list"
,
{
params
:
getParams
(
params
)
});
return
res
;
}
\ No newline at end of file
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