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 5e6ccd1d
authored
Sep 01, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
c00d15ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
9 deletions
src/utils/constants.js
src/views/withdraw/approve.vue
src/views/withdraw/approveDetail.vue
src/utils/constants.js
View file @
5e6ccd1
...
@@ -79,7 +79,7 @@ export const statusList = [
...
@@ -79,7 +79,7 @@ export const statusList = [
},
},
{
{
confId
:
'3'
,
confId
:
'3'
,
confLabel
:
'
已
驳回'
confLabel
:
'
审批
驳回'
},
},
{
{
confId
:
'4'
,
confId
:
'4'
,
...
@@ -87,6 +87,10 @@ export const statusList = [
...
@@ -87,6 +87,10 @@ export const statusList = [
},
},
{
{
confId
:
'5'
,
confId
:
'5'
,
confLabel
:
'用户到账'
},
{
confId
:
'6'
,
confLabel
:
'到账异常'
confLabel
:
'到账异常'
}
}
]
]
...
...
src/views/withdraw/approve.vue
View file @
5e6ccd1
...
@@ -136,6 +136,9 @@ export default {
...
@@ -136,6 +136,9 @@ export default {
type
:
'text'
,
type
:
'text'
,
fn
:
'编辑'
fn
:
'编辑'
},
},
condition
:
row
=>
{
return
row
.
status
==
0
||
row
.
status
==
3
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
handleEdit
(
row
)
this
.
handleEdit
(
row
)
...
@@ -165,9 +168,9 @@ export default {
...
@@ -165,9 +168,9 @@ export default {
type
:
'text'
,
type
:
'text'
,
fn
:
'到账明细'
fn
:
'到账明细'
},
},
//
condition: row => {
condition
:
row
=>
{
// return row.status == 0 || row.status == 1
|| row.status == 6
return
row
.
status
==
5
||
row
.
status
==
6
//
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
handleParticulars
(
row
)
this
.
handleParticulars
(
row
)
...
@@ -181,9 +184,6 @@ export default {
...
@@ -181,9 +184,6 @@ export default {
type
:
'text'
,
type
:
'text'
,
fn
:
'导出'
fn
:
'导出'
},
},
condition
:
row
=>
{
return
row
.
status
==
1
||
row
.
status
==
6
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
this
.
handleExport
(
row
)
this
.
handleExport
(
row
)
...
...
src/views/withdraw/approveDetail.vue
View file @
5e6ccd1
...
@@ -10,7 +10,11 @@
...
@@ -10,7 +10,11 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"withdrawRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
selectionTable=
"selectionTable"
>
<GLTable
ref=
"withdrawRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
selectionTable=
"selectionTable"
>
</GLTable>
<div
class=
"flex_sc"
slot=
"colorStatus"
slot-scope=
"scope"
>
<div
class=
"table_point"
:style=
"
{ background: colors[scope.scope.status] }">
</div>
<span>
{{
tableStatus
[
scope
.
scope
.
status
]
}}
</span>
</div>
</GLTable>
<!-- 表格区域 end -->
<!-- 表格区域 end -->
</div>
</div>
</div>
</div>
...
@@ -19,12 +23,16 @@
...
@@ -19,12 +23,16 @@
<
script
>
<
script
>
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
modeTypeList
}
from
'@/utils/constants.js'
import
{
modeTypeList
}
from
'@/utils/constants.js'
const
tableStatus
=
[
'待审核'
,
'已审核'
,
'第三方处理'
,
'成功'
,
'失败'
,
'驳回'
,
'受理失败'
]
const
colors
=
[
'#FDB757'
,
'#2CCA74'
,
'#5850FF'
,
'#2CCA74'
,
'#999999'
,
'#EB4E4E'
,
'#2CCA74'
]
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
id
:
this
.
$route
.
query
.
id
,
id
:
this
.
$route
.
query
.
id
,
size
:
'small'
,
size
:
'small'
,
url
:
url
,
url
:
url
,
tableStatus
,
colors
,
searchForm
:
{
searchForm
:
{
customerName
:
''
,
customerName
:
''
,
customerPhone
:
''
customerPhone
:
''
...
@@ -119,7 +127,18 @@ export default {
...
@@ -119,7 +127,18 @@ export default {
label
:
'收款手机号'
,
label
:
'收款手机号'
,
prop
:
'mobile'
,
prop
:
'mobile'
,
width
:
'130px'
width
:
'130px'
}
},
{
label
:
'到账情况'
,
prop
:
'status'
,
width
:
'200px'
,
addHtml
:
'colorStatus'
},
{
label
:
'到账时间'
,
prop
:
'receiptDate'
,
width
:
180
},
]
]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
...
@@ -173,6 +192,12 @@ export default {
...
@@ -173,6 +192,12 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
}
}
}
}
.table_point
{
width
:
6px
;
height
:
6px
;
border-radius
:
50%
;
margin-right
:
8px
;
}
}
}
</
style
>
</
style
>
...
...
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