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
0d566af7
Commit
0d566af7
authored
Aug 30, 2022
by
NGO THI HONG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19123 Update Back button
parent
dadc1f39
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
app/script/check-list.js
+5
-1
app/script/check_pu.js
+6
-6
No files found.
app/script/check-list.js
View file @
0d566af7
...
...
@@ -243,12 +243,16 @@ CHK_L.updateList = function() {
* アプリにコマンド送信
* @param {any} command
*/
CHK_L
.
sendAppCommand
=
function
(
command
,
operationId
,
contentId
,
operationGroupMasterId
)
{
CHK_L
.
sendAppCommand
=
function
(
command
,
operationId
,
contentId
,
operationGroupMasterId
,
directPage
,
backPage
,
directTaskKey
)
{
var
param
=
{};
param
.
cmd
=
CHK
.
getCommand
(
command
);
param
.
operationId
=
operationId
;
param
.
contentId
=
contentId
;
param
.
operationGroupMasterId
=
operationGroupMasterId
;
param
.
directPage
=
directPage
;
param
.
backPage
=
backPage
;
param
.
directTaskKey
=
directPage
;
console
.
log
(
"CHK_L.sendAppCommand "
+
JSON
.
stringify
(
param
));
CHK
.
sendABookCheckApi
(
param
);
}
/**
...
...
app/script/check_pu.js
View file @
0d566af7
...
...
@@ -166,7 +166,7 @@ CHK_pu.createNewReportList = function(operationList, isSearched = false) {
}
else
{
ahrefRequiredFlg
=
$
(
"<a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"
'
);
\"
class='d-block px-3 py-3 text-decoration-none text-dark'></a>"
);
ahrefRequiredFlg
=
$
(
"<a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"
', null ,'NEW_FORM_INPUT' ,'NEW_REPORT',null
);
\"
class='d-block px-3 py-3 text-decoration-none text-dark'></a>"
);
}
var
divTitle
=
$
(
"<div class='title'>"
+
operationList
[
i
].
operationName
+
"</div>"
);
var
iIcon
=
$
(
"<i class='fas fa-chevron-right fs-12'></i>"
);
...
...
@@ -209,7 +209,7 @@ CHK_pu.createContinousWorkList = function(operationList, isSearched = false) {
else
{
ahrefRequiredFlg
=
$
(
"<a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"
'
);
\"
class='d-block px-3 py-2 text-decoration-none text-dark'></a>"
);
+
"
', null ,'NEW_FORM_INPUT' ,'CONTINOUS_WORK',null
);
\"
class='d-block px-3 py-2 text-decoration-none text-dark'></a>"
);
}
var
divProccess
=
$
(
"<div class='tag fs-8 text-secondary px-2 py-1 mr-2 rounded border mb-1'>"
+
operationList
[
i
].
processList
[
0
].
processName
+
"</div>"
);
var
divTitle
=
$
(
"<div class='title'>"
+
operationList
[
i
].
operationName
+
"</div>"
);
...
...
@@ -264,7 +264,7 @@ CHK_pu.createReportWithWarning = function(operationList, isSearched = false) {
case
0
:
operationNameLi
=
$
(
"<li class='item list-unstyled rounded border mb-2' id = 'list_"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"'><a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"
', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"
');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"<div class='tag fs-8 text-secondary px-2 py-1 mr-2 rounded border mb-1'>"
+
operationList
[
i
].
operationName
+
"</div> <div class='sub-title-wrap'> <div class='fs-8 text-secondary mr-2'><div class='data'>"
+
operationList
[
i
].
warningReportList
[
j
].
taskCode
+
"</div></div> <div class='sub-title'>"
+
operationList
[
i
].
warningReportList
[
j
].
taskName
...
...
@@ -273,7 +273,7 @@ CHK_pu.createReportWithWarning = function(operationList, isSearched = false) {
case
1
:
operationNameLi
=
$
(
"<li class='item list-unstyled rounded border mb-2' id = 'list_"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"'><a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"
', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"
');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"<div class='tag fs-8 text-secondary px-2 py-1 mr-2 rounded border mb-1'>"
+
operationList
[
i
].
operationName
+
"</div> <div class='sub-title-wrap'> <div class='fs-8 text-secondary mr-2'><div class='data'>"
+
operationList
[
i
].
operationStartDate
+
" / "
+
operationList
[
i
].
operationEndDate
+
"</div></div> </div> <i class='fas fa-chevron-right fs-12''></i> </a></li>"
);
...
...
@@ -281,7 +281,7 @@ CHK_pu.createReportWithWarning = function(operationList, isSearched = false) {
case
2
:
operationNameLi
=
$
(
"<li class='item list-unstyled rounded border mb-2' id = 'list_"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"'><a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"
', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"
');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"<div class='tag fs-8 text-secondary px-2 py-1 mr-2 rounded border mb-1'>"
+
operationList
[
i
].
operationName
+
"</div> <div class='sub-title-wrap'> <div class='fs-8 text-secondary mr-2'><div class='data'>"
+
operationList
[
i
].
warningReportList
[
j
].
taskCode
+
"</div></div> <div class='sub-title'>"
+
operationList
[
i
].
warningReportList
[
j
].
taskName
...
...
@@ -290,7 +290,7 @@ CHK_pu.createReportWithWarning = function(operationList, isSearched = false) {
case
3
:
operationNameLi
=
$
(
"<li class='item list-unstyled rounded border mb-2' id = 'list_"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"'><a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"
', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','"
+
operationList
[
i
].
warningReportList
[
j
].
taskKey
+
"
');
\"
class='d-block px-3 py-2 text-decoration-none text-dark'>"
+
"<div class='tag fs-8 text-secondary px-2 py-1 mr-2 rounded border mb-1'>"
+
operationList
[
i
].
processList
[
0
].
processName
+
"</div> <div class='title'>"
+
operationList
[
i
].
operationName
+
"</div> <div class='sub-title-wrap'> <div class='fs-8 text-secondary mr-2'><div class='data'>"
+
operationList
[
i
].
warningReportList
[
j
].
taskCode
...
...
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