Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
6c293162
Commit
6c293162
authored
Apr 22, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、数据处理页面状态显示修改
parent
4ab5fa76
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
cit-calculate-data.ctrl.js
...t/reduction/cit-calculate-data/cit-calculate-data.ctrl.js
+8
-3
No files found.
atms-web/src/main/webapp/app/cit/reduction/cit-calculate-data/cit-calculate-data.ctrl.js
View file @
6c293162
...
...
@@ -578,7 +578,6 @@ debugger;
var
tasks
=
JSON
.
parse
(
job
.
status
);
if
(
job
.
jobStatus
==
'End'
)
{
items
.
forEach
(
function
(
item
,
index
)
{
item
.
status
=
'completed'
;
...
...
@@ -632,10 +631,11 @@ debugger;
items
.
forEach
(
function
(
item
,
index
)
{
item
.
items
.
forEach
(
function
(
_task
,
index
)
{
var
temp
=
false
;
tasks
.
forEach
(
function
(
task
)
{
if
(
task
.
code
==
_task
.
code
)
{
temp
=
true
;
if
(
task
.
status
==
'Error'
)
{
_task
.
status
=
'error'
;
}
else
if
(
task
.
status
==
'End'
)
{
...
...
@@ -645,7 +645,12 @@ debugger;
}
_task
.
text
=
$translate
.
instant
(
_task
.
status
);
}
})
});
//此时证明该code还未开始
if
(
!
temp
){
_task
.
status
=
'unstarted'
;
_task
.
text
=
$translate
.
instant
(
_task
.
status
);
}
})
});
}
...
...
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