Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ba7bfae8
authored
Oct 21, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分管理
1 parent
d6609fe1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
44 deletions
src/views/withdraw/approve.vue
src/views/withdraw/list.vue
src/views/withdraw/payApproval.vue
src/views/withdraw/approve.vue
View file @
ba7bfae
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<template
slot=
"channelHtml"
>
<template
slot=
"channelHtml"
>
<el-cascader
style=
"width: 100%"
:props=
"props"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
<el-cascader
style=
"width: 100%"
:props=
"props"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
</
template
>
</
template
>
</GLCombiForm>
</GLCombiForm>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
maxlength
:
20
maxlength
:
20
},
},
{
{
label
:
'付款
主体
'
,
label
:
'付款
渠道
'
,
name
:
'channelList'
,
name
:
'channelList'
,
type
:
'select'
,
type
:
'select'
,
addHtml
:
'channelHtml'
,
addHtml
:
'channelHtml'
,
...
@@ -371,7 +371,6 @@ export default {
...
@@ -371,7 +371,6 @@ export default {
return
list
return
list
},
},
selectAddAttr
(
e
,
formName
)
{
selectAddAttr
(
e
,
formName
)
{
console
.
log
(
e
)
let
[
value1
,
value2
,
value3
]
=
e
let
[
value1
,
value2
,
value3
]
=
e
if
(
value2
)
this
[
formName
].
paymentSubjectId
=
value2
if
(
value2
)
this
[
formName
].
paymentSubjectId
=
value2
...
@@ -430,7 +429,6 @@ export default {
...
@@ -430,7 +429,6 @@ export default {
params
.
userSettleTimeStart
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
userSettleTimeStart
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
userSettleTimeEnd
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
params
.
userSettleTimeEnd
=
dayjs
(
this
.
searchForm
.
userSettleTime
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
}
console
.
log
(
this
.
searchForm
.
oaApprovalTime
)
if
(
this
.
searchForm
.
oaApprovalTime
&&
this
.
searchForm
.
oaApprovalTime
.
length
)
{
if
(
this
.
searchForm
.
oaApprovalTime
&&
this
.
searchForm
.
oaApprovalTime
.
length
)
{
params
.
oaApprovalTimeStart
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
oaApprovalTimeStart
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
oaApprovalTimeEnd
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
params
.
oaApprovalTimeEnd
=
dayjs
(
this
.
searchForm
.
oaApprovalTime
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
...
@@ -453,6 +451,7 @@ export default {
...
@@ -453,6 +451,7 @@ export default {
batchNo
:
''
,
batchNo
:
''
,
oaSpNo
:
''
,
oaSpNo
:
''
,
paymentSubjectId
:
''
,
paymentSubjectId
:
''
,
channelList
:[],
paymentChannelId
:
''
,
paymentChannelId
:
''
,
approvalTime
:
[],
approvalTime
:
[],
oaApprovalTime
:
[],
oaApprovalTime
:
[],
...
...
src/views/withdraw/list.vue
View file @
ba7bfae
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<template
slot=
"channel"
>
<template
slot=
"channel"
>
<el-cascader
:options=
"baseData.channelList"
:props=
"props"
style=
"width: 100%"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
<el-cascader
:options=
"baseData.channelList"
:props=
"props"
style=
"width: 100%"
v-model=
"searchForm.channelList"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event, 'searchForm')"
></el-cascader>
</
template
>
</
template
>
</GLCombiForm>
</GLCombiForm>
<div
class=
"statistics"
>
<div
class=
"statistics"
>
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"fold"
@
click=
"isMore
=
true"
>
<div
class=
"fold"
@
click=
"isMore
=
true"
>
查看更多
查看更多
<i
class=
"el-icon-arrow-right"
></i>
<i
class=
"el-icon-arrow-right"
></i>
</div>
</div>
<!-- <div :class="['content', !isFold ? 'dynamic' : '']">
<!-- <div :class="['content', !isFold ? 'dynamic' : '']">
累计结算金额:熠轩-银行卡
累计结算金额:熠轩-银行卡
<span class="price">{{ settleAmount.yiXuanSettleAmount }}</span>
<span class="price">{{ settleAmount.yiXuanSettleAmount }}</span>
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
元, 薪享云-银行卡
元, 薪享云-银行卡
<span class="price">{{ settleAmount.xinXiangYunSettleAmount }}</span>
<span class="price">{{ settleAmount.xinXiangYunSettleAmount }}</span>
</div> -->
</div> -->
</div>
</div>
<div
class=
"table-header"
>
<div
class=
"table-header"
>
<h2>
积分提现列表
</h2>
<h2>
积分提现列表
</h2>
...
@@ -198,14 +197,14 @@
...
@@ -198,14 +197,14 @@
<!-- 累计结算金额 -->
<!-- 累计结算金额 -->
<GLDialog
class=
"settleAmount-dialog"
title=
"累计结算金额"
mode=
"big"
:visible
.
sync=
"isMore"
:close-on-click-modal=
"false"
:hasFooter=
"hasFooter"
>
<GLDialog
class=
"settleAmount-dialog"
title=
"累计结算金额"
mode=
"big"
:visible
.
sync=
"isMore"
:close-on-click-modal=
"false"
:hasFooter=
"hasFooter"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"content-item"
v-for=
"(item, index) in statisticsTypeList"
:key=
"index"
>
<div
class=
"content-item"
v-for=
"(item, index) in statisticsTypeList"
:key=
"index"
>
<div
class=
"content-item-title"
>
{{ item.confLabel }}
</div>
<div
class=
"content-item-title"
>
{{ item.confLabel }}
</div>
<div
class=
"content-item-price"
>
<div
class=
"content-item-price"
>
{{ settleAmount[item.confId] }}
{{ settleAmount[item.confId] }}
<span
class=
"unit"
>
元
</span>
<span
class=
"unit"
>
元
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</GLDialog>
</GLDialog>
</div>
</div>
</template>
</template>
...
@@ -226,7 +225,7 @@ export default {
...
@@ -226,7 +225,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
isMore
:
false
,
isMore
:
false
,
statisticsTypeList
,
statisticsTypeList
,
props
:
{
props
:
{
value
:
'code'
,
value
:
'code'
,
...
@@ -457,7 +456,7 @@ export default {
...
@@ -457,7 +456,7 @@ export default {
{
{
label
:
'提现类型'
,
label
:
'提现类型'
,
prop
:
'transferType'
,
prop
:
'transferType'
,
width
:
'
20
0px'
,
width
:
'
12
0px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
let
arr
=
this
.
baseData
.
withdrawalTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
transferType
)
let
arr
=
this
.
baseData
.
withdrawalTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
transferType
)
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
...
@@ -466,7 +465,7 @@ export default {
...
@@ -466,7 +465,7 @@ export default {
{
{
label
:
'提现方式'
,
label
:
'提现方式'
,
prop
:
'mode'
,
prop
:
'mode'
,
width
:
'
2
00px'
,
width
:
'
1
00px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
let
arr
=
this
.
baseData
.
modeTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
mode
)
let
arr
=
this
.
baseData
.
modeTypeList
.
filter
(
item
=>
item
.
confId
==
cellValue
.
mode
)
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
return
arr
.
length
>
0
?
arr
[
0
].
confLabel
:
'--'
...
@@ -511,7 +510,7 @@ export default {
...
@@ -511,7 +510,7 @@ export default {
label
:
'收款人身份证'
,
label
:
'收款人身份证'
,
prop
:
'idCardNo'
,
prop
:
'idCardNo'
,
addHtml
:
'idCardNo'
,
addHtml
:
'idCardNo'
,
width
:
'
18
0px'
width
:
'
20
0px'
},
},
{
{
label
:
'收款银行卡号'
,
label
:
'收款银行卡号'
,
...
@@ -566,12 +565,14 @@ export default {
...
@@ -566,12 +565,14 @@ export default {
{
{
label
:
'付款主体'
,
label
:
'付款主体'
,
prop
:
'paymentEntityName'
,
prop
:
'paymentEntityName'
,
width
:
'200px'
width
:
200
,
line
:
1
},
},
{
{
label
:
'代征主体'
,
label
:
'代征主体'
,
prop
:
'levyName'
,
prop
:
'levyName'
,
width
:
'200px'
width
:
200
,
line
:
1
},
},
{
{
label
:
'付款时间'
,
label
:
'付款时间'
,
...
@@ -783,7 +784,6 @@ export default {
...
@@ -783,7 +784,6 @@ export default {
return
arr
.
map
(
item
=>
{
return
arr
.
map
(
item
=>
{
// 如果有 child 字段,递归处理
// 如果有 child 字段,递归处理
if
(
item
.
child
)
{
if
(
item
.
child
)
{
console
.
log
(
this
)
item
.
child
=
this
.
removeEmptyChild
(
item
.
child
)
item
.
child
=
this
.
removeEmptyChild
(
item
.
child
)
}
}
...
@@ -885,7 +885,22 @@ export default {
...
@@ -885,7 +885,22 @@ export default {
return
null
return
null
},
},
selectAddAttr
(
e
,
formName
)
{
selectAddAttr
(
e
,
formName
)
{
let
[
value1
,
value2
,
value3
]
=
e
let
[
value1
,
value2
,
value3
]
=
e
||
[
''
,
''
,
''
]
// 处理清除情况
if
(
!
e
||
e
.
length
===
0
)
{
this
[
formName
].
channel
=
''
this
[
formName
].
levyCode
=
''
this
[
formName
].
channelProvider
=
''
this
[
formName
].
paymentEntityCode
=
''
this
[
formName
].
channelList
=
[]
this
.
$nextTick
(()
=>
{
// 手动触发重新渲染
this
.
$forceUpdate
()
})
return
}
this
[
formName
].
channel
=
value1
?
value1
:
''
this
[
formName
].
channel
=
value1
?
value1
:
''
this
[
formName
].
levyCode
=
value3
?
value3
:
''
//代征主体
this
[
formName
].
levyCode
=
value3
?
value3
:
''
//代征主体
...
@@ -1024,10 +1039,7 @@ export default {
...
@@ -1024,10 +1039,7 @@ export default {
params
.
receiptDateStart
=
dayjs
(
this
.
searchForm
.
receiptDateStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
receiptDateStart
=
dayjs
(
this
.
searchForm
.
receiptDateStr
[
0
]).
format
(
'YYYY-MM-DD'
)
+
' 00:00:01'
params
.
receiptDateEnd
=
dayjs
(
this
.
searchForm
.
receiptDateStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
params
.
receiptDateEnd
=
dayjs
(
this
.
searchForm
.
receiptDateStr
[
1
]).
format
(
'YYYY-MM-DD'
)
+
' 23:59:59'
}
}
if
(
this
.
searchForm
.
channelList
.
length
)
{
delete
params
.
channelList
delete
params
.
channelList
}
delete
params
.
payTimeStr
,
delete
params
.
applyDateStr
,
delete
params
.
receiptDateStr
delete
params
.
payTimeStr
,
delete
params
.
applyDateStr
,
delete
params
.
receiptDateStr
return
params
return
params
},
},
...
@@ -1056,7 +1068,8 @@ export default {
...
@@ -1056,7 +1068,8 @@ export default {
channelProvider
:
''
,
channelProvider
:
''
,
paymentEntityCode
:
''
,
paymentEntityCode
:
''
,
levyCode
:
''
,
levyCode
:
''
,
channel
:
''
channel
:
''
,
transferType
:
''
}
}
this
.
handleSearch
()
this
.
handleSearch
()
},
},
...
@@ -1356,6 +1369,9 @@ export default {
...
@@ -1356,6 +1369,9 @@ export default {
this
.
form
.
remark
=
''
this
.
form
.
remark
=
''
this
.
showPassDialog
=
false
this
.
showPassDialog
=
false
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
if
(
this
.
$refs
.
payFormRef
&&
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
)
{
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
.
resetFields
()
}
},
},
dialogClose
()
{
dialogClose
()
{
this
.
detailVisible
=
false
this
.
detailVisible
=
false
...
@@ -1390,15 +1406,17 @@ export default {
...
@@ -1390,15 +1406,17 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
this
.
$apis
.
withdraw
[
Methods
](
params
)
this
.
$apis
.
withdraw
[
Methods
](
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
this
.
handleReset
()
this
.
getSettleAmount
()
this
.
cancelPay
()
}
this
.
$message
({
this
.
$message
({
message
:
res
.
code
==
'0'
?
'付款成功'
:
res
.
message
,
message
:
res
.
code
==
'0'
?
'付款成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
handleReset
()
this
.
getSettleAmount
()
this
.
cancelPay
()
this
.
loading
=
false
this
.
loading
=
false
})
})
}
}
...
@@ -1419,6 +1437,9 @@ export default {
...
@@ -1419,6 +1437,9 @@ export default {
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
this
.
timer
=
null
this
.
timer
=
null
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
this
.
$refs
.
withdrawRef
.
clearMutiSelect
()
if
(
this
.
$refs
.
payFormRef
&&
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
)
{
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
.
resetFields
()
}
},
},
getCode
()
{
getCode
()
{
...
@@ -1512,16 +1533,16 @@ export default {
...
@@ -1512,16 +1533,16 @@ export default {
color
:
#999999
;
color
:
#999999
;
line-height
:
18px
;
line-height
:
18px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
position
:
relative
;
position
:
relative
;
.content
{
.content
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-right
:
140px
;
margin-right
:
140px
;
.content-item
{
.content-item
{
padding
:
20px
;
padding
:
20px
;
background
:
#f7f9fa
;
background
:
#f7f9fa
;
flex
:
1
;
flex
:
1
;
margin-right
:
16px
;
margin-right
:
16px
;
&-title
{
&-title
{
color
:
#333333
;
color
:
#333333
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -1560,9 +1581,9 @@ position: relative;
...
@@ -1560,9 +1581,9 @@ position: relative;
align-items
:
center
;
align-items
:
center
;
white-space
:
nowrap
;
white-space
:
nowrap
;
margin-left
:
16px
;
margin-left
:
16px
;
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
right
:
58px
;
right
:
58px
;
}
}
}
}
.price
{
.price
{
...
@@ -1573,7 +1594,7 @@ position: relative;
...
@@ -1573,7 +1594,7 @@ position: relative;
font-size
:
12px
;
font-size
:
12px
;
margin-left
:
154px
;
margin-left
:
154px
;
color
:
#999999
;
color
:
#999999
;
margin-top
:
-
2
0px
;
margin-top
:
-
1
0px
;
.price
{
.price
{
color
:
#333333
;
color
:
#333333
;
}
}
...
@@ -1738,18 +1759,18 @@ position: relative;
...
@@ -1738,18 +1759,18 @@ position: relative;
}
}
}
}
}
}
.settleAmount-dialog
{
.settleAmount-dialog
{
.content
{
.content
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.content-item
{
.content-item
{
width
:
calc
((
100%
-
16px
*
4
)
/
4
);
width
:
calc
((
100%
-
16px
*
4
)
/
4
);
padding
:
20px
;
padding
:
20px
;
background
:
#f7f9fa
;
background
:
#f7f9fa
;
margin-right
:
16px
;
margin-right
:
16px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
&-title
{
&-title
{
color
:
#333333
;
color
:
#333333
;
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/withdraw/payApproval.vue
View file @
ba7bfae
...
@@ -209,7 +209,7 @@ export default {
...
@@ -209,7 +209,7 @@ export default {
async
getListPayLevy
(
value
)
{
async
getListPayLevy
(
value
)
{
this
.
baseData
.
paymentEntityList
=
await
this
.
$apis
.
withdraw
.
getListPayLevy
({
this
.
baseData
.
paymentEntityList
=
await
this
.
$apis
.
withdraw
.
getListPayLevy
({
paymentEntityId
:
value
,
paymentEntityId
:
value
,
channel
:
this
.
payForm
.
channel
channel
:
this
.
payForm
.
channel
})
})
let
list
=
this
.
baseData
.
paymentEntityList
.
map
(
item
=>
{
let
list
=
this
.
baseData
.
paymentEntityList
.
map
(
item
=>
{
return
{
return
{
...
@@ -352,6 +352,9 @@ export default {
...
@@ -352,6 +352,9 @@ export default {
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
this
.
timer
=
null
this
.
timer
=
null
this
.
$emit
(
'cancelPay'
)
this
.
$emit
(
'cancelPay'
)
if
(
this
.
$refs
.
payFormRef
&&
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
)
{
this
.
$refs
.
payFormRef
.
$refs
.
payChildRef
.
resetFields
()
}
},
},
getCode
()
{
getCode
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment