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
47de99d6
Commit
47de99d6
authored
Aug 25, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:h5页面
parent
6364f9d5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
136 deletions
+139
-136
h5.vue
src/pages/Withdrawal/Examine/h5.vue
+80
-78
index.less
src/pages/Withdrawal/Examine/index.less
+2
-2
withdrawDetail.vue
src/pages/Withdrawal/Examine/withdrawDetail.vue
+57
-56
No files found.
src/pages/Withdrawal/Examine/h5.vue
View file @
47de99d6
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
},
},
// 提现申请审核详情
// 提现申请审核详情
async
handleDetail
(
id
)
{
async
handleDetail
(
id
)
{
this
.
$router
.
push
({
name
:
'withdrawDetail'
,
query
:
{
id
:
id
}
})
this
.
$router
.
push
({
name
:
"withdrawDetail"
,
query
:
{
id
:
id
}
});
// try {
// try {
// const res = await getApplyDetail({ id });
// const res = await getApplyDetail({ id });
// const showData = res.info || {};
// const showData = res.info || {};
...
@@ -312,7 +312,9 @@ export default {
...
@@ -312,7 +312,9 @@ export default {
const
WITHDRAWAL_PERMISSION_ID1
=
10000005
;
const
WITHDRAWAL_PERMISSION_ID1
=
10000005
;
let
withdrawlPermission
=
this
.
permissions
.
filter
(
let
withdrawlPermission
=
this
.
permissions
.
filter
(
(
item
)
=>
(
item
.
id
===
WITHDRAWAL_PERMISSION_ID
||
item
.
id
===
WITHDRAWAL_PERMISSION_ID1
)
(
item
)
=>
item
.
id
===
WITHDRAWAL_PERMISSION_ID
||
item
.
id
===
WITHDRAWAL_PERMISSION_ID1
);
);
// 无此模块权限
// 无此模块权限
if
(
withdrawlPermission
.
length
===
0
)
{
if
(
withdrawlPermission
.
length
===
0
)
{
...
@@ -322,7 +324,8 @@ export default {
...
@@ -322,7 +324,8 @@ export default {
const
AUDIT_PERMSSION_ID
=
14
;
const
AUDIT_PERMSSION_ID
=
14
;
const
AUDIT_PERMSSION_ID1
=
10000014
;
const
AUDIT_PERMSSION_ID1
=
10000014
;
const
auditPermission
=
withdrawlPermission
[
0
].
sub_permissions
.
filter
(
const
auditPermission
=
withdrawlPermission
[
0
].
sub_permissions
.
filter
(
(
item
)
=>
(
item
.
id
===
AUDIT_PERMSSION_ID
||
item
.
id
===
AUDIT_PERMSSION_ID1
)
(
item
)
=>
item
.
id
===
AUDIT_PERMSSION_ID
||
item
.
id
===
AUDIT_PERMSSION_ID1
);
);
return
auditPermission
.
length
!==
0
;
return
auditPermission
.
length
!==
0
;
...
@@ -350,7 +353,6 @@ export default {
...
@@ -350,7 +353,6 @@ export default {
}
}
}
}
}
}
}
}
.el-message-box {
.el-message-box {
width: 80vw;
width: 80vw;
...
...
src/pages/Withdrawal/Examine/index.less
View file @
47de99d6
...
@@ -93,11 +93,11 @@
...
@@ -93,11 +93,11 @@
}
}
.apply-list {
.apply-list {
li {
li {
width:
7
0%;
width:
9
0%;
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
span {
span {
width:
7
0px;
width:
15
0px;
text-align: left;
text-align: left;
}
}
}
}
...
...
src/pages/Withdrawal/Examine/withdrawDetail.vue
View file @
47de99d6
...
@@ -2,14 +2,34 @@
...
@@ -2,14 +2,34 @@
<div
class=
"goods-h5"
>
<div
class=
"goods-h5"
>
<el-form>
<el-form>
<ul
class=
"apply-list"
>
<ul
class=
"apply-list"
>
<li><span>
登录地点:
</span><span>
{{
dialogData
.
showData
.
withdraw_address
}}
</span></li>
<li>
<li><span>
风控等级:
</span><span>
{{
dialogData
.
showData
.
risk_level_text
}}
</span></li>
<span>
登录地点:
</span
<li>
提现用户:
<span>
{{
dialogData
.
showData
.
user_id
}}
</span></li>
><span>
{{
dialogData
.
showData
.
withdraw_address
}}
</span>
<li>
提现金额:
<span>
{{
dialogData
.
showData
.
amount
}}
</span></li>
</li>
<li>
最近24小时收入:
<span>
{{
dialogData
.
showData
.
lately_amount
}}
</span></li>
<li>
<li>
近两天分享增长:
<span>
{{
dialogData
.
showData
.
lately_share
}}
</span></li>
<span>
风控等级:
</span
<li>
近两天分享下载量:
<span>
{{
dialogData
.
showData
.
lately_download
}}
</span></li>
><span>
{{
dialogData
.
showData
.
risk_level_text
}}
</span>
<li>
历史分享增长:
<span>
{{
dialogData
.
showData
.
history_share
}}
</span></li>
</li>
<li>
提现用户:
<span>
{{
dialogData
.
showData
.
user_id
}}
</span>
</li>
<li>
提现金额:
<span>
{{
dialogData
.
showData
.
amount
}}
</span>
</li>
<li>
最近24小时收入:
<span>
{{
dialogData
.
showData
.
lately_amount
}}
</span>
</li>
<li>
近两天分享增长:
<span>
{{
dialogData
.
showData
.
lately_share
}}
</span>
</li>
<li>
近两天分享下载量:
<span>
{{
dialogData
.
showData
.
lately_download
}}
</span>
</li>
<li>
历史分享增长:
<span>
{{
dialogData
.
showData
.
history_share
}}
</span>
</li>
</ul>
</ul>
<el-form-item
label=
"奖励明细:"
>
<el-form-item
label=
"奖励明细:"
>
<el-table
<el-table
...
@@ -18,28 +38,15 @@
...
@@ -18,28 +38,15 @@
align=
"center"
align=
"center"
max-height=
"300"
max-height=
"300"
size=
"small"
size=
"small"
>
<el-table-column
align=
"center"
prop=
"create_time"
label=
"流水时间"
>
>
<el-table-column
align=
"center"
prop=
"create_time"
label=
"流水时间"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
prop=
"amount"
label=
"分享用户量"
>
align=
"center"
prop=
"amount"
label=
"分享用户量"
>
<template
v-slot:default=
"scope"
>
<template
v-slot:default=
"scope"
>
<span>
{{
scope
?
"+"
+
scope
.
row
.
amount
:
null
}}
</span>
<span>
{{
scope
?
"+"
+
scope
.
row
.
amount
:
null
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
prop=
"third_order_desc"
label=
"说明"
>
align=
"center"
prop=
"third_order_desc"
label=
"说明"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-form-item>
</el-form-item>
...
@@ -52,10 +59,7 @@
...
@@ -52,10 +59,7 @@
@
click=
"handleAdoptRefuse('通过')"
@
click=
"handleAdoptRefuse('通过')"
>
通过
</el-button
>
通过
</el-button
>
>
<el-button
<el-button
type=
"danger"
size=
"small"
@
click=
"handleAdoptRefuse('拒绝')"
type=
"danger"
size=
"small"
@
click=
"handleAdoptRefuse('拒绝')"
>
拒绝
</el-button
>
拒绝
</el-button
>
>
<el-button
<el-button
...
@@ -65,11 +69,7 @@
...
@@ -65,11 +69,7 @@
>
黑名单
</el-button
>
黑名单
</el-button
>
>
</div>
</div>
<el-button
<el-button
size=
"small"
type=
"primary"
v-else
@
click=
"$router.go(-1)"
size=
"small"
type=
"primary"
v-else
@
click=
"$router.go(-1)"
>
返回
</el-button
>
返回
</el-button
>
>
</div>
</div>
...
@@ -119,9 +119,7 @@ export default {
...
@@ -119,9 +119,7 @@ export default {
const
showData
=
res
.
info
||
{};
const
showData
=
res
.
info
||
{};
this
.
dialogData
=
{
...
this
.
dialogData
,
showData
};
this
.
dialogData
=
{
...
this
.
dialogData
,
showData
};
},
},
async
mounted
()
{
async
mounted
()
{},
},
methods
:
{
methods
:
{
async
getPermissionsAll
()
{
async
getPermissionsAll
()
{
// 不能够信赖 store 中的 email,无法知道全局中的 fetchCurrentUser 处理完毕
// 不能够信赖 store 中的 email,无法知道全局中的 fetchCurrentUser 处理完毕
...
@@ -158,7 +156,7 @@ export default {
...
@@ -158,7 +156,7 @@ export default {
})
})
.
catch
(
async
()
=>
{
.
catch
(
async
()
=>
{
const
res
=
await
urlObj
[
action
](
params
);
const
res
=
await
urlObj
[
action
](
params
);
if
(
+
res
.
code
===
0
)
{
if
(
+
res
.
code
===
0
)
{
this
.
$message
({
this
.
$message
({
type
:
"success"
,
type
:
"success"
,
message
:
"操作成功"
,
message
:
"操作成功"
,
...
@@ -206,7 +204,9 @@ export default {
...
@@ -206,7 +204,9 @@ export default {
const
WITHDRAWAL_PERMISSION_ID1
=
10000005
;
const
WITHDRAWAL_PERMISSION_ID1
=
10000005
;
let
withdrawlPermission
=
this
.
permissions
.
filter
(
let
withdrawlPermission
=
this
.
permissions
.
filter
(
(
item
)
=>
(
item
.
id
===
WITHDRAWAL_PERMISSION_ID
||
item
.
id
===
WITHDRAWAL_PERMISSION_ID1
)
(
item
)
=>
item
.
id
===
WITHDRAWAL_PERMISSION_ID
||
item
.
id
===
WITHDRAWAL_PERMISSION_ID1
);
);
// 无此模块权限
// 无此模块权限
if
(
withdrawlPermission
.
length
===
0
)
{
if
(
withdrawlPermission
.
length
===
0
)
{
...
@@ -216,7 +216,8 @@ export default {
...
@@ -216,7 +216,8 @@ export default {
const
AUDIT_PERMSSION_ID
=
14
;
const
AUDIT_PERMSSION_ID
=
14
;
const
AUDIT_PERMSSION_ID1
=
10000014
;
const
AUDIT_PERMSSION_ID1
=
10000014
;
const
auditPermission
=
withdrawlPermission
[
0
].
sub_permissions
.
filter
(
const
auditPermission
=
withdrawlPermission
[
0
].
sub_permissions
.
filter
(
(
item
)
=>
(
item
.
id
===
AUDIT_PERMSSION_ID
||
item
.
id
===
AUDIT_PERMSSION_ID1
)
(
item
)
=>
item
.
id
===
AUDIT_PERMSSION_ID
||
item
.
id
===
AUDIT_PERMSSION_ID1
);
);
return
auditPermission
.
length
!==
0
;
return
auditPermission
.
length
!==
0
;
...
...
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