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
1ba205a7
Commit
1ba205a7
authored
Aug 13, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:钉钉登录地点字段
parent
e9963a11
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
129 additions
and
118 deletions
+129
-118
index.less
src/pages/Withdrawal/Examine/index.less
+1
-1
withdrawDetail.vue
src/pages/Withdrawal/Examine/withdrawDetail.vue
+1
-0
flowRecord.vue
src/pages/Withdrawal/walletAccount/flowRecord.vue
+98
-88
index.vue
src/pages/Withdrawal/walletAccount/index.vue
+29
-29
No files found.
src/pages/Withdrawal/Examine/index.less
View file @
1ba205a7
...
...
@@ -105,6 +105,6 @@
}
.el-message-box {
width:
8
0vw;
width:
2
0vw;
margin: 0 auto;
}
\ No newline at end of file
src/pages/Withdrawal/Examine/withdrawDetail.vue
View file @
1ba205a7
...
...
@@ -2,6 +2,7 @@
<div
class=
"goods-h5"
>
<el-form>
<ul
class=
"apply-list"
>
<li><span>
登录地点:
</span><span>
{{
dialogData
.
showData
.
withdraw_address
}}
</span></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>
...
...
src/pages/Withdrawal/walletAccount/flowRecord.vue
View file @
1ba205a7
<
template
>
<div
class=
"manage-wrapper"
v-loading=
"tableLoading"
element-loading-text=
"拼命加载中"
element-loading-spinner=
"el-icon-loading"
element-loading-background=
"rgba(0, 0, 0, 0.6)"
>
<el-card
class=
"role_management"
>
<!-- 检索区域 -->
<div
class=
"creatRole"
>
<el-form>
<el-form-item
label=
"用户Id"
>
<span>
{{
user_id
}}
</span>
</el-form-item>
<el-form-item
label=
"交易类型"
>
<el-select
v-model=
"type"
clearable
@
change=
"getRecordList"
>
<el-option
label=
"充值"
:value=
"1"
></el-option>
<el-option
label=
"提现"
:value=
"2"
></el-option>
<el-option
label=
"转账"
:value=
"3"
></el-option>
</el-select>
</el-form-item>
</el-form>
</div>
class=
"manage-wrapper"
v-loading=
"tableLoading"
element-loading-text=
"拼命加载中"
element-loading-spinner=
"el-icon-loading"
element-loading-background=
"rgba(0, 0, 0, 0.6)"
>
<el-card
class=
"role_management"
>
<!-- 检索区域 -->
<div
class=
"creatRole"
>
<el-form>
<el-form-item
label=
"用户Id"
>
<span>
{{
user_id
}}
</span>
</el-form-item>
<el-form-item
label=
"交易类型"
>
<el-select
v-model=
"type"
clearable
@
change=
"getRecordList"
>
<el-option
label=
"充值"
:value=
"1"
></el-option>
<el-option
label=
"提现"
:value=
"2"
></el-option>
<el-option
label=
"转账"
:value=
"3"
></el-option>
</el-select>
</el-form-item>
</el-form>
</div>
<!-- 用户搜索列表 -->
<el-table
border
:data=
"recordList"
>
<el-table-column
label=
"流水号"
width=
"200px"
prop=
"wallet_record_id"
align=
"center"
></el-table-column>
<el-table-column
label=
"更新时间"
prop=
"create_time"
align=
"center"
></el-table-column>
<el-table-column
label=
"金额"
prop=
"amount"
align=
"center"
></el-table-column>
<el-table-column
label=
"可用余额"
prop=
"balance"
align=
"center"
<!-- 用户搜索列表 -->
<el-table
border
:data=
"recordList"
>
<el-table-column
label=
"流水号"
width=
"200px"
prop=
"wallet_record_id"
align=
"center"
></el-table-column>
<el-table-column
label=
"更新时间"
prop=
"create_time"
align=
"center"
></el-table-column>
<el-table-column
label=
"金额"
prop=
"amount"
align=
"center"
></el-table-column>
<el-table-column
label=
"可用余额"
prop=
"balance"
align=
"center"
>
<template
#
default=
"scope"
>
{{
"¥ "
+
scope
.
row
.
balance
}}
</
template
>
</el-table-column>
<el-table-column
label=
"交易类型"
prop=
"trade_type"
align=
"center"
>
<
template
#
default=
"scope"
>
{{
getTradeType
(
scope
.
row
.
trade_type
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
width=
"200px"
prop=
"status"
align=
"center"
>
<
template
#
default=
"scope"
>
<span
:style=
"
{ color: scope.row.status === '失败' ? 'red' : 'black' }"
>
{{
scope
.
row
.
status
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"说明"
align=
"center"
prop=
"third_order_desc"
>
</el-table-column>
</el-table>
<el-button
type=
"primary"
@
click=
"handleBack"
style=
"margin-top: 50px; margin-left: 45%"
>
返回
</el-button
>
<template
#
default=
"scope"
>
{{
"¥ "
+
scope
.
row
.
balance
}}
</
template
>
</el-table-column>
<el-table-column
label=
"交易类型"
prop=
"trade_type"
align=
"center"
>
<
template
#
default=
"scope"
>
{{
getTradeType
(
scope
.
row
.
trade_type
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
width=
"200px"
prop=
"status"
align=
"center"
>
<
template
#
default=
"scope"
>
<span
:style=
"
{ color: scope.row.status==='失败' ?'red':'black'}" >
{{
scope
.
row
.
status
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"说明"
align=
"center"
prop=
"third_order_desc"
>
</el-table-column>
</el-table>
<el-button
type=
"primary"
@
click=
"handleBack"
style=
"margin-top:50px;margin-left: 45%;"
>
返回
</el-button>
<page
:totalNum=
"totalNum"
@
update=
"update"
/>
</el-card>
<page
:totalNum=
"totalNum"
@
update=
"update"
/>
</el-card>
</div>
</template>
<
script
>
import
page
from
"../../../components/Pagination"
;
import
{
getRecordList
}
from
"@/service/Withdrawal/withdrawal"
;
import
{
ElMessage
}
from
'element-plus'
;
import
{
ElMessage
}
from
"element-plus"
;
const
tradeType
=
{
1
:
"充值"
,
2
:
"提现"
,
3
:
"转账"
};
export
default
{
name
:
"flowRecord"
,
...
...
@@ -85,20 +93,20 @@ export default {
wallet_id
:
""
,
type
:
""
,
recordList
:
[
{
wallet_record_id
:
'243435676'
,
create_time
:
"2021-3-3
"
,
amount
:
4
,
balance
:
555
,
trade_type
:
"提现"
,
status
:
"失败"
}
{
wallet_record_id
:
"243435676
"
,
create_time
:
"2021-3-3"
,
amount
:
4
,
balance
:
555
,
trade_type
:
"提现"
,
status
:
"失败"
}
],
tableLoading
:
false
,
params
:
{
page
:
1
,
page_size
:
20
,
}
,
page_size
:
20
}
};
},
...
...
@@ -123,17 +131,19 @@ export default {
wallet_id
,
page
,
page_size
,
type
,
type
};
getRecordList
(
params_list
).
then
((
res
)
=>
{
this
.
tableLoading
=
true
;
this
.
recordList
=
res
.
result
.
list
;
this
.
totalNum
=
res
.
result
.
count
;
this
.
tableLoading
=
false
;
}).
catch
(
err
=>
{
getRecordList
(
params_list
)
.
then
((
res
)
=>
{
this
.
tableLoading
=
true
;
this
.
recordList
=
res
.
result
.
list
;
this
.
totalNum
=
res
.
result
.
count
;
this
.
tableLoading
=
false
;
ElMessage
.
error
(
"加载失败"
+
err
)
});;
})
.
catch
((
err
)
=>
{
this
.
tableLoading
=
false
;
ElMessage
.
error
(
"加载失败"
+
err
);
});
},
// 获取交易类型
getTradeType
(
code
)
{
...
...
@@ -141,8 +151,8 @@ export default {
},
// 返回
handleBack
()
{
this
.
$router
.
back
()
}
this
.
$router
.
back
()
;
}
,
},
};
</
script
>
...
...
src/pages/Withdrawal/walletAccount/index.vue
View file @
1ba205a7
...
...
@@ -116,7 +116,7 @@
</
template
>
</el-table-column>
</el-table>
<page
:totalNum=
"totalNum"
@
update=
"update"
ref=
"params"
/>
<page
:totalNum=
"totalNum"
@
update=
"update"
ref=
"params"
/>
</el-card>
</div>
</Layout>
...
...
@@ -135,24 +135,24 @@ export default {
props
:
[
"flowRecord"
],
components
:
{
page
,
Layout
,
Layout
},
data
()
{
return
{
searchProps
:
{
user_id
:
""
,
wallet_id
:
""
,
type
:
""
,
type
:
""
},
params
:
{
page
:
1
,
page_size
:
20
,
currentPage
:
1
currentPage
:
1
},
totalNum
:
null
,
dialogText
:
""
,
accountList
:
[],
tableLoading
:
false
,
tableLoading
:
false
};
},
created
()
{
...
...
@@ -170,9 +170,10 @@ export default {
page
,
page_size
,
type
,
user_id
:
user_id
||
undefined
,
user_id
:
user_id
||
undefined
};
getAccountList
(
params_list
).
then
((
res
)
=>
{
getAccountList
(
params_list
)
.
then
((
res
)
=>
{
this
.
tableLoading
=
true
;
this
.
accountList
=
res
.
result
.
list
;
this
.
totalNum
=
res
.
result
.
count
;
...
...
@@ -187,16 +188,16 @@ export default {
findProducts
()
{
this
.
tableLoading
=
true
;
this
.
params
.
page
=
1
;
this
.
$refs
.
params
.
currentPage
=
1
this
.
$refs
.
params
.
currentPage
=
1
;
this
.
getAccountList
();
},
//列表分页
update
(
obj
)
{
Object
.
assign
(
this
.
params
,
obj
);
let
{
page
,
page_size
}
=
this
.
params
;
this
.
getAccountList
(
page
,
page_size
);
this
.
getAccountList
(
page
,
page_size
);
this
.
params
.
page
=
1
;
console
.
log
(
obj
)
console
.
log
(
obj
)
;
},
//弹框提示
openBounced
(
type
,
user_id
,
wallet_id
)
{
...
...
@@ -209,7 +210,7 @@ export default {
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
center
:
true
,
center
:
true
}
)
.
then
(()
=>
{
...
...
@@ -218,12 +219,12 @@ export default {
}
else
{
this
.
release
(
user_id
,
wallet_id
);
}
console
.
log
(
"123456"
)
console
.
log
(
"123456"
)
;
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消"
,
message
:
"已取消"
});
});
},
...
...
@@ -234,7 +235,7 @@ export default {
this
.
tableLoading
=
true
;
let
params
=
{
user_id
,
wallet_id
,
wallet_id
};
try
{
await
getReblackList
(
params
);
...
...
@@ -244,29 +245,28 @@ export default {
ElMessage
(
"释放请求失败"
);
}
},
//
//
流水记录
//流水记录
handelRecord
(
row
)
{
this
.
$router
.
push
({
path
:
"/op/withdrawal/flowrecord"
,
query
:
{
user_id
:
row
.
user_id
,
wallet_id
:
row
.
wallet_id
}
,
query
:
{
user_id
:
row
.
user_id
,
wallet_id
:
row
.
wallet_id
}
});
},
// //黑名单
async
handleBlackList
(
user_id
,
wallet_id
)
{
this
.
tableLoading
=
true
;
let
params
=
{
//黑名单
async
handleBlackList
(
user_id
,
wallet_id
)
{
this
.
tableLoading
=
true
;
let
params
=
{
user_id
,
wallet_id
,
};
try
{
await
getAccountBlackList
(
params
);
ElMessage
(
"添加黑名单成功"
);
this
.
getAccountList
();
}
catch
(
error
)
{
ElMessage
(
"添加黑名单失败"
);
}
},
try
{
await
getAccountBlackList
(
params
);
ElMessage
(
"添加黑名单成功"
);
this
.
getAccountList
();
}
catch
(
error
)
{
ElMessage
(
"添加黑名单失败"
);
}
},
},
};
</
script
>
...
...
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