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
6cda1f25
Commit
6cda1f25
authored
Feb 22, 2023
by
NGO THI HONG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#50202 fix bug direct detail form for routine report
parent
3afcff19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
app/script/check_pu.js
+3
-1
No files found.
app/script/check_pu.js
View file @
6cda1f25
...
...
@@ -349,6 +349,7 @@ CHK_pu.createReportWithWarning = function(operationListOld, isSearched = false)
for
(
var
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
//TODO aタグlist.html 転移処理
var
operationNameLi
;
var
startDateStr
;
switch
(
operationList
[
i
].
reportType
)
{
case
0
:
...
...
@@ -361,9 +362,10 @@ CHK_pu.createReportWithWarning = function(operationListOld, isSearched = false)
+
"</div></div> <i class='fas fa-chevron-right fs-12'></i> </a></li>"
);
break
;
case
1
:
startDateStr
=
operationList
[
i
].
reportStartDateString
.
replace
(
/
\/
/g
,
"-"
).
replace
(
/:/g
,
""
).
replace
(
/ /
,
""
)
+
"00"
;
operationNameLi
=
$
(
"<li class='item list-unstyled rounded border mb-2' id = 'list_"
+
operationList
[
i
].
taskKey
+
"'><a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
" ', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','"
+
operationList
[
i
].
taskKey
+
"');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
" ', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','"
+
startDateStr
+
"');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"<div class='title'>"
+
operationList
[
i
].
operationName
+
"</div> <div class='sub-title-wrap'> <div class='fs-8 text-secondary mr-2'><div class='sub-title'>"
+
CHK_pu
.
getInspectDate
(
operationList
[
i
].
reportStartDateString
)
+
" ~ "
+
CHK_pu
.
getInspectDate
(
operationList
[
i
].
reportEndDateString
)
+
"</div></div> </div> <i class='fas fa-chevron-right fs-12'></i> </a></li>"
);
...
...
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