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
e9963a11
Commit
e9963a11
authored
Aug 13, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:释放接口
parent
979efc91
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
index.vue
src/pages/Withdrawal/walletAccount/index.vue
+11
-4
withdrawal.js
src/service/Withdrawal/withdrawal.js
+2
-2
No files found.
src/pages/Withdrawal/walletAccount/index.vue
View file @
e9963a11
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<page
:totalNum=
"totalNum"
@
update=
"update"
/>
<page
:totalNum=
"totalNum"
@
update=
"update"
ref=
"params"
/>
</el-card>
</el-card>
</div>
</div>
</Layout>
</Layout>
...
@@ -147,6 +147,7 @@ export default {
...
@@ -147,6 +147,7 @@ export default {
params
:
{
params
:
{
page
:
1
,
page
:
1
,
page_size
:
20
,
page_size
:
20
,
currentPage
:
1
},
},
totalNum
:
null
,
totalNum
:
null
,
dialogText
:
""
,
dialogText
:
""
,
...
@@ -171,8 +172,7 @@ export default {
...
@@ -171,8 +172,7 @@ export default {
type
,
type
,
user_id
:
user_id
||
undefined
,
user_id
:
user_id
||
undefined
,
};
};
getAccountList
(
params_list
)
getAccountList
(
params_list
).
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
tableLoading
=
true
;
this
.
tableLoading
=
true
;
this
.
accountList
=
res
.
result
.
list
;
this
.
accountList
=
res
.
result
.
list
;
this
.
totalNum
=
res
.
result
.
count
;
this
.
totalNum
=
res
.
result
.
count
;
...
@@ -186,13 +186,17 @@ export default {
...
@@ -186,13 +186,17 @@ export default {
//查询
//查询
findProducts
()
{
findProducts
()
{
this
.
tableLoading
=
true
;
this
.
tableLoading
=
true
;
this
.
params
.
page
=
1
;
this
.
$refs
.
params
.
currentPage
=
1
this
.
getAccountList
();
this
.
getAccountList
();
},
},
//列表分页
//列表分页
update
(
obj
)
{
update
(
obj
)
{
Object
.
assign
(
this
.
params
,
obj
);
Object
.
assign
(
this
.
params
,
obj
);
let
{
page
,
page_size
}
=
this
.
params
;
let
{
page
,
page_size
}
=
this
.
params
;
this
.
getAccountList
(
page
,
page_size
);
this
.
getAccountList
(
page
,
page_size
);
this
.
params
.
page
=
1
;
console
.
log
(
obj
)
},
},
//弹框提示
//弹框提示
openBounced
(
type
,
user_id
,
wallet_id
)
{
openBounced
(
type
,
user_id
,
wallet_id
)
{
...
@@ -227,6 +231,7 @@ export default {
...
@@ -227,6 +231,7 @@ export default {
//释放
//释放
async
release
(
user_id
,
wallet_id
)
{
async
release
(
user_id
,
wallet_id
)
{
this
.
dialogText
=
"确认后则将用户释放出黑名单"
;
this
.
dialogText
=
"确认后则将用户释放出黑名单"
;
this
.
tableLoading
=
true
;
let
params
=
{
let
params
=
{
user_id
,
user_id
,
wallet_id
,
wallet_id
,
...
@@ -247,7 +252,9 @@ export default {
...
@@ -247,7 +252,9 @@ export default {
});
});
},
},
// //黑名单
// //黑名单
async
handleBlackList
(
user_id
,
wallet_id
)
{
async
handleBlackList
(
user_id
,
wallet_id
)
{
this
.
tableLoading
=
true
;
let
params
=
{
let
params
=
{
user_id
,
user_id
,
wallet_id
,
wallet_id
,
...
...
src/service/Withdrawal/withdrawal.js
View file @
e9963a11
...
@@ -50,12 +50,12 @@ export async function getRolesForUser(user_email) {
...
@@ -50,12 +50,12 @@ export async function getRolesForUser(user_email) {
// 迭代---钱包账户
// 迭代---钱包账户
// 获取账户列表
// 获取账户列表
export
async
function
getAccountList
(
params
)
{
export
async
function
getAccountList
(
params
)
{
const
res
=
await
axios
.
get
(
"/api/v1/get_account_list"
,
params
);
const
res
=
await
axios
.
get
(
"/api/v1/get_account_list"
,
{
params
}
);
return
res
;
return
res
;
}
}
// 获取账户流水列表
// 获取账户流水列表
export
async
function
getRecordList
(
params
)
{
export
async
function
getRecordList
(
params
)
{
const
res
=
await
axios
.
get
(
"/api/v1/get_record_list"
,
params
);
const
res
=
await
axios
.
get
(
"/api/v1/get_record_list"
,
{
params
}
);
return
res
;
return
res
;
}
}
// 钱包账户-黑名单
// 钱包账户-黑名单
...
...
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