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 1c8eb3b6
authored
Sep 06, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
bab20963
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
src/views/withdraw/approveView.vue
src/views/withdraw/approveView.vue
View file @
1c8eb3b
...
...
@@ -36,22 +36,21 @@
</el-row>
</el-form>
</div>
<div
v-if=
"operationList
&&
operationList.length"
>
<div
v-if=
"operationList
&&
operationList.length"
>
<p
class=
"edit-title"
>
操作记录
</p>
<div
class=
"block"
>
<el-timeline>
<template
v-for=
"(item, index) in operationList"
>
<el-timeline-item
:key=
"index"
>
<div
class=
"timeline-item"
>
<div
class=
"operation-result"
>
{{
item
.
operationTypetext
}}
<span
:class=
"item.active"
>
{{
item
.
operationResult
}}
</span>
<template
v-for=
"(item, index) in operationList"
>
<el-timeline-item
:key=
"index"
>
<div
class=
"timeline-item"
>
<div
class=
"operation-result"
>
{{
item
.
operationTypetext
}}
<span
:class=
"item.active"
>
{{
item
.
operationResult
}}
</span>
</div>
<div
class=
"operation-Note"
>
{{
item
.
operationNote
}}
</div>
</div>
<div
class=
"operation-Note"
>
{{
item
.
operationNote
}}
</div>
</div>
</el-timeline-item>
</el-timeline-item>
</
template
>
</el-timeline>
</div>
</div>
...
...
@@ -104,18 +103,22 @@ export default {
let
arr
this
.
$apis
.
withdraw
.
getApprovalLog
({
id
:
this
.
id
}).
then
(
res
=>
{
arr
=
res
.
map
(
item
=>
{
let
active
,
operationTypetext
let
active
,
operationTypetext
//单独处理付款审核时,屏蔽付款审核结果
if
(
item
.
operationType
==
1
)
{
item
.
operationResult
=
''
}
if
(
item
.
operationResult
==
'审批中'
)
{
active
=
'wait'
}
else
if
(
item
.
operationResult
==
'通过'
)
{
active
=
'success'
}
else
if
(
item
.
operationResult
==
'审批驳回'
||
item
.
operationResult
==
'不通过'
)
{
}
else
if
(
item
.
operationResult
==
'审批驳回'
||
item
.
operationResult
==
'不通过'
)
{
active
=
'fail'
}
else
{
active
=
'close'
}
else
{
active
=
'close'
}
operationTypetext
=
operate_status
[
item
.
operationType
]
operationTypetext
=
operate_status
[
item
.
operationType
]
return
{
...
item
,
active
,
...
...
@@ -239,7 +242,7 @@ export default {
}
.block
{
margin-top
:
20px
;
max-height
:
250px
;
max-height
:
250px
;
overflow-y
:
auto
;
}
.timeline-item
{
...
...
@@ -259,8 +262,8 @@ export default {
.close
{
color
:
#999999
ff
;
}
.fail
{
color
:
#EB4E4E
FF
;
.fail
{
color
:
#eb4e4e
ff
;
}
}
.operation-Note
{
...
...
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