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
d22379f0
Commit
d22379f0
authored
2 years ago
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 工作流等待时间显示错误
parent
abe14953
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
workflow-track.vue
...@gms/gms-plugin-billexpand/src/control/workflow-track.vue
+2
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/control/workflow-track.vue
View file @
d22379f0
...
...
@@ -115,7 +115,7 @@ export default {
formatStepTime
(
step
)
{
const
currentTimestamp
=
Date
.
now
()
if
(
step
.
state
===
1
)
{
let
ans
=
'
已等待
'
let
ans
=
''
const
createTimestamp
=
(
new
Date
(
step
.
createTime
)).
getTime
()
let
seconds
=
(
currentTimestamp
-
createTimestamp
)
/
1000
const
formatList
=
[
...
...
@@ -147,6 +147,7 @@ export default {
seconds
-=
num
*
o
.
rate
}
}
ans
=
'已等待'
+
ans
return
ans
}
else
{
...
...
@@ -206,7 +207,6 @@ export default {
}
return
step
})
console
.
log
(
curTrack
)
curTrack
.
steps
.
push
({
title
:
"提交申请"
,
state
:
2
,
...
...
This diff is collapsed.
Click to expand it.
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