Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
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
王衍超
rbc-demo
Commits
56de8128
Commit
56de8128
authored
May 19, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf(@gms/gms-plugin-billexpand): 工作流轨迹修复审批结束节点,样式调整
parent
3fc45192
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
constant.js
develop/@gms/gms-plugin-billexpand/src/constant.js
+1
-0
workflow-track.vue
...@gms/gms-plugin-billexpand/src/control/workflow-track.vue
+11
-7
No files found.
develop/@gms/gms-plugin-billexpand/src/constant.js
View file @
56de8128
...
...
@@ -13,6 +13,7 @@ export const APPROVAL_TRACK_TABLE = {
CREATE_TIME
:
'createTime'
,
APPROVAL_COMMENT
:
'approvalcomments'
,
NODE_NAME
:
'approvalnodename'
,
CURRENT_NODE
:
'currnode'
,
CREATOR_FULL_NAME
:
'creatorfullname'
,
OPERATION
:
'operation'
,
}
...
...
develop/@gms/gms-plugin-billexpand/src/control/workflow-track.vue
View file @
56de8128
...
...
@@ -166,17 +166,20 @@ export default {
if
(
subTable
instanceof
Array
)
{
this
.
data
=
subTable
.
map
((
obj
)
=>
{
const
operation
=
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
OPERATION
)
const
currNode
=
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
CURRENT_NODE
)
return
{
state
:
2
,
result
:
operation
==
'提交'
?
-
1
:
operation
==
'同意'
?
1
:
operation
==
'驳回'
?
3
:
-
2
,
currNode
==
99
?
-
2
:
operation
==
'提交'
?
-
1
:
operation
==
'同意'
?
1
:
operation
==
'驳回'
?
3
:
-
2
,
actualOwner
:
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
CREATOR_FULL_NAME
),
createTime
:
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
CREATE_TIME
),
completeTime
:
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
CREATE_TIME
),
...
...
@@ -184,6 +187,7 @@ export default {
title
:
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
NODE_NAME
),
}
})
this
.
data
=
this
.
data
.
reverse
()
}
return
}
...
...
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