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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
constant.js
develop/@gms/gms-plugin-billexpand/src/constant.js
+1
-0
workflow-track.vue
...@gms/gms-plugin-billexpand/src/control/workflow-track.vue
+5
-1
No files found.
develop/@gms/gms-plugin-billexpand/src/constant.js
View file @
56de8128
...
@@ -13,6 +13,7 @@ export const APPROVAL_TRACK_TABLE = {
...
@@ -13,6 +13,7 @@ export const APPROVAL_TRACK_TABLE = {
CREATE_TIME
:
'createTime'
,
CREATE_TIME
:
'createTime'
,
APPROVAL_COMMENT
:
'approvalcomments'
,
APPROVAL_COMMENT
:
'approvalcomments'
,
NODE_NAME
:
'approvalnodename'
,
NODE_NAME
:
'approvalnodename'
,
CURRENT_NODE
:
'currnode'
,
CREATOR_FULL_NAME
:
'creatorfullname'
,
CREATOR_FULL_NAME
:
'creatorfullname'
,
OPERATION
:
'operation'
,
OPERATION
:
'operation'
,
}
}
...
...
develop/@gms/gms-plugin-billexpand/src/control/workflow-track.vue
View file @
56de8128
...
@@ -166,11 +166,14 @@ export default {
...
@@ -166,11 +166,14 @@ export default {
if
(
subTable
instanceof
Array
)
{
if
(
subTable
instanceof
Array
)
{
this
.
data
=
subTable
.
map
((
obj
)
=>
{
this
.
data
=
subTable
.
map
((
obj
)
=>
{
const
operation
=
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
OPERATION
)
const
operation
=
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
OPERATION
)
const
currNode
=
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
CURRENT_NODE
)
return
{
return
{
state
:
2
,
state
:
2
,
result
:
result
:
operation
==
'提交'
currNode
==
99
?
-
2
:
operation
==
'提交'
?
-
1
?
-
1
:
operation
==
'同意'
:
operation
==
'同意'
?
1
?
1
...
@@ -184,6 +187,7 @@ export default {
...
@@ -184,6 +187,7 @@ export default {
title
:
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
NODE_NAME
),
title
:
obj
.
getValue
(
APPROVAL_TRACK_TABLE
.
NODE_NAME
),
}
}
})
})
this
.
data
=
this
.
data
.
reverse
()
}
}
return
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