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
f953fd3d
Commit
f953fd3d
authored
Sep 08, 2022
by
NGO THI HONG
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19123 fix bug new report list
parent
d2f6e290
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
app/script/check.js
+1
-1
app/script/check_pu.js
+2
-3
No files found.
app/script/check.js
View file @
f953fd3d
...
...
@@ -591,7 +591,7 @@ CHK.loadDashboardBatch = function(operationList) {
CHK
.
dashboardBatch
.
reportWarning
=
0
;
for
(
var
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
let
operation
=
operationList
[
i
];
if
(
!
(
operationList
[
i
].
enableAddReport
!=
1
||
(
operationList
[
i
].
newReportFlg
!=
1
&&
operationList
[
i
].
reportType
==
3
)
||
(
operationList
[
i
].
enableReportEdit
!=
1
&&
operationList
[
i
].
reportType
==
2
))
){
if
(
!
(
operationList
[
i
].
enableAddReport
!=
1
||
(
operationList
[
i
].
reportType
==
3
&&
operationList
[
i
].
newReportFlg
==
0
)
||
(
operationList
[
i
].
reportType
==
2
&&
operationList
[
i
].
enableReportEdit
==
0
))
){
CHK
.
dashboardBatch
.
newReport
+=
1
;
}
if
(
operation
.
reportType
==
3
)
{
...
...
app/script/check_pu.js
View file @
f953fd3d
...
...
@@ -153,9 +153,8 @@ CHK_pu.createNewReportList = function(operationList, isSearched = false) {
$
(
'#notFoundNewReport'
).
addClass
(
'd-none'
);
for
(
var
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
if
(
operationList
[
i
].
enableAddReport
!=
1
||
(
operationList
[
i
].
newReportFlg
!=
1
&&
operationList
[
i
].
reportType
==
3
)
||
(
operationList
[
i
].
enableReportEdit
!=
1
&&
operationList
[
i
].
reportType
==
2
)
)
continue
;
//TODO aタグlist.html 転移処理
if
(
operationList
[
i
].
enableAddReport
!=
1
||
(
operationList
[
i
].
reportType
==
3
&&
operationList
[
i
].
newReportFlg
==
0
)
||
(
operationList
[
i
].
reportType
==
2
&&
operationList
[
i
].
enableReportEdit
==
0
)
)
continue
;
//TODO aタグlist.html 転移処理operationList[i].reportType == 2 && operationList[i].enableReportEdit == 0
var
messageli
=
$
(
"<li class='item list-unstyled rounded border mb-2'name = 'operationId_"
+
operationList
[
i
].
operationId
+
"' ></li>"
);
var
ahrefRequiredFlg
;
if
(
operationList
[
i
].
permitCodeRequiredFlg
==
1
)
...
...
NGUYEN HOANG SON
@hoangson
mentioned in commit
a887b0de
Sep 08, 2022
mentioned in commit
a887b0de
mentioned in commit a887b0ded47f0f3d853c45b5fdad514440b164d7
Toggle commit list
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