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
cd620032
Commit
cd620032
authored
Jul 30, 2021
by
Lee JaeWon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ヘッダーバー固定
parent
fc809f5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
3 deletions
+27
-3
app/index.html
+2
-2
app/script/check-list.js
+22
-0
app/script/check.js
+3
-1
No files found.
app/index.html
View file @
cd620032
...
...
@@ -17,8 +17,8 @@
<script
src=
"script/constant.js?__UPDATEID__"
></script>
</head>
<body
onload=
"CHK_L.init();"
>
<header>
<body
onload=
"CHK_L.init();"
style=
"position: relative; margin-top: 53px;"
>
<header
style=
"position: fixed; width: 100%; top: 0px; left: 0; z-index: 999;"
>
<nav
class=
"navbar navbar-dark bg-primary"
>
<a
class=
"navbar-brand category-btn lht-0"
href=
"#"
>
<i
class=
"fa fa-folder fs-12 p-1"
id=
"category-toggle-button"
></i>
...
...
app/script/check-list.js
View file @
cd620032
...
...
@@ -24,6 +24,28 @@ CHK_L.init = function() {
}
var
urlParam
=
CHK
.
getUrlParameter
();
if
(
CHK
.
isAndroid
||
CHK
.
isIOS
||
CHK
.
isWindows
)
{
var
relatedOperation
;
if
(
CHK
.
isAndroid
)
{
relatedOperation
=
JSON
.
parse
(
android
.
getOperation
()).
operationList
[
0
];
}
else
if
(
CHK
.
isIOS
)
{
relatedOperation
=
CHK_iOS
.
getOperationListJson
().
operationList
[
0
];
}
else
if
(
CHK
.
isWindows
)
{
CHK
.
loadJson
(
CHK
.
jsonPath
.
operation
,
function
(
operation
)
{
relatedOperation
=
operation
;
});
}
if
(
CHK
.
isWindows
)
{
var
yyyyMMddStartDate
=
relatedOperation
.
OperationStartDate
;
var
yyyyMMddENdDate
=
relatedOperation
.
OperationEndDate
;
$
(
"#operationStartDate"
).
html
(
yyyyMMddStartDate
.
substring
(
1
,
12
));
$
(
"#operationEndDate"
).
html
(
yyyyMMddENdDate
.
substring
(
1
,
12
));
}
else
{
$
(
"#operationStartDate"
).
html
(
relatedOperation
.
operationStartDate
);
$
(
"#operationEndDate"
).
html
(
relatedOperation
.
operationEndDate
);
}
$
(
"#contentType"
).
html
(
relatedOperation
.
operationName
);
}
if
(
CHK
.
reportType
==
CHK
.
REPORT_TYPE
.
INSPECT
)
{
// 簡易帳票・改行改列の定期点検
if
(
isQRTableInspect
!=
0
)
{
...
...
app/script/check.js
View file @
cd620032
...
...
@@ -29,6 +29,7 @@ CHK.questionApertureList; //絞り検索グループ
CHK
.
groupTreeInfo
;
//担当グループ参照用 ログインユーザーが所属しているグループ情報
CHK
.
operationGroup
;
//担当グループ参照用 作業の報告担当グループ情報
CHK
.
operation
;
//作業情報
// PDFプロジェクト対応
CHK
.
pdf_numPages
;
...
...
@@ -127,7 +128,8 @@ CHK.jsonPath = {
operationList
:
"operationList.json"
,
// 作業一覧JSONデータ
operationGroupMasterList
:
"operationGroupMasterList.json"
,
// カテゴリーJSONデータ
operationGroupMasterRelationList
:
"operationGroupMasterRelationList.json"
,
// 作業・カテゴリー関係JSONデータ
pushMessageList
:
"pushMessageList.json"
// コミュニケーションデータJSONデータ
pushMessageList
:
"pushMessageList.json"
,
// コミュニケーションデータJSONデータ
operation
:
"operation.json"
//作業情報
};
//アプリ送信用コマンド
CHK
.
apiCmd
=
{
...
...
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