Commit cd620032 by Lee JaeWon

ヘッダーバー固定

parent fc809f5e
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
<script src="script/constant.js?__UPDATEID__"></script> <script src="script/constant.js?__UPDATEID__"></script>
</head> </head>
<body onload="CHK_L.init();"> <body onload="CHK_L.init();" style="position: relative; margin-top: 53px;">
<header> <header style="position: fixed; width: 100%; top: 0px; left: 0; z-index: 999;">
<nav class="navbar navbar-dark bg-primary"> <nav class="navbar navbar-dark bg-primary">
<a class="navbar-brand category-btn lht-0" href="#" > <a class="navbar-brand category-btn lht-0" href="#" >
<i class="fa fa-folder fs-12 p-1" id="category-toggle-button"></i> <i class="fa fa-folder fs-12 p-1" id="category-toggle-button"></i>
......
...@@ -24,6 +24,28 @@ CHK_L.init = function() { ...@@ -24,6 +24,28 @@ CHK_L.init = function() {
} }
var urlParam = CHK.getUrlParameter(); 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 (CHK.reportType == CHK.REPORT_TYPE.INSPECT) {
// 簡易帳票・改行改列の定期点検 // 簡易帳票・改行改列の定期点検
if (isQRTableInspect != 0) { if (isQRTableInspect != 0) {
......
...@@ -29,6 +29,7 @@ CHK.questionApertureList; //絞り検索グループ ...@@ -29,6 +29,7 @@ CHK.questionApertureList; //絞り検索グループ
CHK.groupTreeInfo; //担当グループ参照用 ログインユーザーが所属しているグループ情報 CHK.groupTreeInfo; //担当グループ参照用 ログインユーザーが所属しているグループ情報
CHK.operationGroup; //担当グループ参照用 作業の報告担当グループ情報 CHK.operationGroup; //担当グループ参照用 作業の報告担当グループ情報
CHK.operation; //作業情報
// PDFプロジェクト対応 // PDFプロジェクト対応
CHK.pdf_numPages; CHK.pdf_numPages;
...@@ -127,7 +128,8 @@ CHK.jsonPath = { ...@@ -127,7 +128,8 @@ CHK.jsonPath = {
operationList: "operationList.json", // 作業一覧JSONデータ operationList: "operationList.json", // 作業一覧JSONデータ
operationGroupMasterList: "operationGroupMasterList.json", // カテゴリーJSONデータ operationGroupMasterList: "operationGroupMasterList.json", // カテゴリーJSONデータ
operationGroupMasterRelationList: "operationGroupMasterRelationList.json", // 作業・カテゴリー関係JSONデータ operationGroupMasterRelationList: "operationGroupMasterRelationList.json", // 作業・カテゴリー関係JSONデータ
pushMessageList: "pushMessageList.json" // コミュニケーションデータJSONデータ pushMessageList: "pushMessageList.json", // コミュニケーションデータJSONデータ
operation: "operation.json" //作業情報
}; };
//アプリ送信用コマンド //アプリ送信用コマンド
CHK.apiCmd = { CHK.apiCmd = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment