Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCheck
design
Commits
29008935
Commit
29008935
authored
Sep 16, 2022
by
rua
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
5c63b92d
' into feature/1.4.3_dev
parents
1f641dbf
5c63b92d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
app/script/check_pu.js
+10
-10
No files found.
app/script/check_pu.js
View file @
29008935
...
...
@@ -43,15 +43,7 @@ CHK_pu.init = function() {
}
CHK_pu
.
initOperationList
=
function
(
operationList
)
{
operationList
=
operationList
.
sort
(
function
(
a
,
b
)
{
if
(
a
.
operationId
<
b
.
operationId
)
return
1
;
if
(
a
.
operationId
>
b
.
operationId
)
return
-
1
;
return
0
;
});
CHK_pu
.
createNewReportList
(
operationList
);
CHK_pu
.
createContinousWorkList
(
operationList
);
CHK_pu
.
createReportWithWarning
(
operationList
);
...
...
@@ -134,8 +126,16 @@ CHK_pu.setCountElementInPickup = function() {
$
(
"#count-ReportWithWarning"
)[
0
].
innerHTML
=
CHK_pu
.
countReportWithWarning
;
}
}
CHK_pu
.
createNewReportList
=
function
(
operationList
,
isSearched
=
false
)
{
CHK_pu
.
sortNewReportList
=
function
(
operationList
)
{
operationList
=
operationList
.
sort
(
function
(
a
,
b
)
{
if
(
a
.
operationId
<
b
.
operationId
)
return
1
;
if
(
a
.
operationId
>
b
.
operationId
)
return
-
1
;
return
0
;
});
return
operationList
;
}
CHK_pu
.
createNewReportList
=
function
(
operationListOld
,
isSearched
=
false
)
{
var
operationList
=
CHK_pu
.
sortContinousWorkList
(
operationListOld
);
$
(
"#newReport-list"
).
empty
();
CHK_pu
.
countNewReportList
=
0
;
...
...
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