Commit 611a9940 by Kang Donghun

Merge branch 'feature/1.0_check_web_dev_imai' into 'feature/1.0_check_web_dev'

Feature/1.0 check web dev imai

See merge request !78
parents 0639f7a5 8c4ec6ae
...@@ -35,68 +35,70 @@ ...@@ -35,68 +35,70 @@
<div id="includedHeader"></div> <div id="includedHeader"></div>
<!-- account setting --> <!-- account setting -->
<div id="includedMainTitle"></div> <div id="includedMainTitle"></div>
<main id="main"> <div id="loadingNone" style="display:none;">
<div class="container-wrap"> <main id="main">
<!-- content --> <div class="container-wrap">
<div class="row"> <!-- content -->
<div class="col-md-6 col-12 mb-4"> <div class="row">
<div class="card p-4"> <div class="col-md-6 col-12 mb-4">
<h2 class="fs-10 font-weight-bold mb-3 lang" lang="accountSetting"></h2> <div class="card p-4">
<table> <h2 class="fs-10 font-weight-bold mb-3 lang" lang="accountSetting"></h2>
<colgroup> <table>
<col span="1" class="w-120px"> <colgroup>
</colgroup> <col span="1" class="w-120px">
<tbody> </colgroup>
<tr class="border-bottom"> <tbody>
<th class="fs-9 p-2 text-secondary lang" lang="txtLoginId">ログインID</th> <tr class="border-bottom">
<td class="p-2" lang="txtLoginId" id="txtLoginId">login-idlogin-idlogin-id</td> <th class="fs-9 p-2 text-secondary lang" lang="txtLoginId">ログインID</th>
</tr> <td class="p-2" lang="txtLoginId" id="txtLoginId">login-idlogin-idlogin-id</td>
<tr class="border-bottom"> </tr>
<th class="fs-9 p-2 text-secondary lang" lang="txtLoginAccPath">アカウントパス</th> <tr class="border-bottom">
<td class="p-2" lang="txtLoginAccPath" id="txtLoginAccPath">account-textaccount</td> <th class="fs-9 p-2 text-secondary lang" lang="txtLoginAccPath">アカウントパス</th>
</tr> <td class="p-2" lang="txtLoginAccPath" id="txtLoginAccPath">account-textaccount</td>
<tr class="border-bottom"> </tr>
<th class="fs-9 p-2 text-secondary lang" lang="txtLoginDate">ログイン日時</th> <tr class="border-bottom">
<td class="p-2" lang="txtLastLoginTime" id="txtLastLoginTime">2022/09/30 12:00:00</td> <th class="fs-9 p-2 text-secondary lang" lang="txtLoginDate">ログイン日時</th>
</tr> <td class="p-2" lang="txtLastLoginTime" id="txtLastLoginTime">2022/09/30 12:00:00</td>
</tbody> </tr>
</table> </tbody>
</table>
</div>
</div> </div>
</div> <div class="col-md-6 col-12 mb-4">
<div class="col-md-6 col-12 mb-4"> <div class="card p-4 password">
<div class="card p-4 password"> <h2 class="fs-10 font-weight-bold mb-3 lang" lang="dspPwdUpd">パスワード変更</h2>
<h2 class="fs-10 font-weight-bold mb-3 lang" lang="dspPwdUpd">パスワード変更</h2> <form>
<form> <div class="form-group mb-3">
<div class="form-group mb-3"> <label id="lblPwdCur" class="lang" lang="txtPwdCurr">現在のパスワード</label>
<label id="lblPwdCur" class="lang" lang="txtPwdCurr">現在のパスワード</label> <input type="password" class="form-control" id="txtPwdCur" maxlength="16" aria-describedby="current">
<input type="password" class="form-control" id="txtPwdCur" maxlength="16" aria-describedby="current"> </div>
</div> <div class="form-group mb-3">
<div class="form-group mb-3"> <label id="lblPwdNew" class="lang" lang="txtPwdNew">新しいパスワード</label>
<label id="lblPwdNew" class="lang" lang="txtPwdNew">新しいパスワード</label> <input type="password" class="form-control" id="txtPwdNew" maxlength="16" aria-describedby="new">
<input type="password" class="form-control" id="txtPwdNew" maxlength="16" aria-describedby="new"> </div>
</div> <div class="form-group mb-4">
<div class="form-group mb-4"> <label id="lblPwdNewRe" class="lang" lang="txtPwdNewRe">新しいパスワード</label>
<label id="lblPwdNewRe" class="lang" lang="txtPwdNewRe">新しいパスワード</label> <input type="password" class="form-control" id="txtPwdNewRe" maxlength="16" aria-describedby="confirm">
<input type="password" class="form-control" id="txtPwdNewRe" maxlength="16" aria-describedby="confirm"> </div>
</div> <p class="error lang" id="main-error-message" style="display:none;">パスワードまたはIDに誤りがあります</p>
<p class="error lang" id="main-error-message" style="display:none;">パスワードまたはIDに誤りがあります</p> <button type="submit" class="btn btn-primary lang" lang="dspChange" id="dspPwdUpd1">変更</button>
<button type="submit" class="btn btn-primary lang" lang="dspChange" id="dspPwdUpd1">変更</button> </form>
</form> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </main>
</main>
<!-- alert --> <!-- alert -->
<div class="alert-overlay d-none"></div> <div class="alert-overlay d-none"></div>
<div class="alert-area d-none"> <div class="alert-area d-none">
<i class="text-right fas fa-times fa-2x loading-close" onclick="COMMON.alertClose();"></i> <i class="text-right fas fa-times fa-2x loading-close" onclick="COMMON.alertClose();"></i>
<div class="fs-13 mt-4 text-left" style="padding: 15px;" id="alertMsg"></div> <div class="fs-13 mt-4 text-left" style="padding: 15px;" id="alertMsg"></div>
</div>
<input type="hidden" id="getToken">
<!-- confirm -->
<div id="includedConfirmModal"></div>
</div> </div>
<input type="hidden" id="getToken">
<!-- confirm -->
<div id="includedConfirmModal"></div>
<script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script> <script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -41,32 +41,35 @@ ...@@ -41,32 +41,35 @@
<div id="loader"></div> <div id="loader"></div>
<!-- header --> <!-- header -->
<div id="includedHeader"></div> <div id="includedHeader"></div>
<!-- dashboard --> <div id="loadingNone" style="display:none;">
<main>
<div class="container-wrap"> <!-- dashboard -->
<div id="includedMainTitle"></div> <main>
<div class="container-wrap">
<!-- sub title --> <div id="includedMainTitle"></div>
<h2 class="fs-8 font-weight-bold lang" id="pickupHeader" lang="pickup"></h2>
<!-- sub title -->
<h2 class="fs-8 font-weight-bold lang" id="pickupHeader" lang="pickup"></h2>
<!-- card --> <!-- card -->
<ul class="dashboard-menu p-0 mt-3 d-grid col-gap-10 grid-col-md-4 grid-col-2" id ="pickupItems" > <ul class="dashboard-menu p-0 mt-3 d-grid col-gap-10 grid-col-md-4 grid-col-2" id ="pickupItems" >
</ul> </ul>
<!-- sub title --> <!-- sub title -->
<h2 class="fs-8 font-weight-bold lang" lang="communication"></h2> <h2 class="fs-8 font-weight-bold lang" lang="communication"></h2>
<!-- card --> <!-- card -->
<ul class="dashboard-menu p-0 mt-3 d-grid col-gap-10 grid-col-md-4 grid-col-2" id="communicationItems"> <ul class="dashboard-menu p-0 mt-3 d-grid col-gap-10 grid-col-md-4 grid-col-2" id="communicationItems">
</ul> </ul>
</div> </div>
</main> </main>
<!-- dashboard setting model --> <!-- dashboard setting model -->
<div id="includedDashboardSetting"></div> <div id="includedDashboardSetting"></div>
<!-- confirm --> <!-- confirm -->
<div id="includedConfirmModal"></div> <div id="includedConfirmModal"></div>
</div>
<script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script> <script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -40,15 +40,17 @@ ...@@ -40,15 +40,17 @@
<div id="loader"></div> <div id="loader"></div>
<!-- header --> <!-- header -->
<div id="includedHeader"></div> <div id="includedHeader"></div>
<div id="loadingNone" style="display:none;">
<!-- title --> <!-- title -->
<div id="includedMainTitle"></div> <div id="includedMainTitle"></div>
<!-- ↓↓↓ ここから共通HTML ↓↓↓ --> <!-- ↓↓↓ ここから共通HTML ↓↓↓ -->
<div class="container-wrap mb-5" id="pdfPrintDiv" ></div> <div class="container-wrap mb-5" id="pdfPrintDiv" ></div>
<!-- confirm --> <!-- confirm -->
<div id="includedConfirmModal"></div> <div id="includedConfirmModal"></div>
</div>
<script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script> <script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -37,41 +37,43 @@ ...@@ -37,41 +37,43 @@
<div id="loader"></div> <div id="loader"></div>
<!-- header --> <!-- header -->
<div id="includedHeader"></div> <div id="includedHeader"></div>
<!-- message detail --> <div id="loadingNone" style="display:none;">
<main> <!-- message detail -->
<div class="container-wrap"> <main>
<div id="includedMainTitle"></div> <div class="container-wrap">
<div class="row"> <div id="includedMainTitle"></div>
<div class="col-12"> <div class="row">
<div class="card p-4"> <div class="col-12">
<table> <div class="card p-4">
<colgroup> <table>
<col span="1" class="w-100px"> <colgroup>
</colgroup> <col span="1" class="w-100px">
<tbody> </colgroup>
<tr class="border-bottom"> <tbody>
<th class="fs-9 p-2 text-secondary lang" lang="operationName"></th> <tr class="border-bottom">
<td class="p-2" id="operationName"></td> <th class="fs-9 p-2 text-secondary lang" lang="operationName"></th>
</tr> <td class="p-2" id="operationName"></td>
<tr class="border-bottom"> </tr>
<th class="fs-9 p-2 text-secondary lang" lang="sendDate"></th> <tr class="border-bottom">
<td class="p-2" id="sendDate"></td> <th class="fs-9 p-2 text-secondary lang" lang="sendDate"></th>
</tr> <td class="p-2" id="sendDate"></td>
<tr class="border-bottom"> </tr>
<th class="fs-9 p-2 text-secondary lang" lang="sender"></th> <tr class="border-bottom">
<td class="p-2" id="sender"></td> <th class="fs-9 p-2 text-secondary lang" lang="sender"></th>
</tr> <td class="p-2" id="sender"></td>
<tr class="border-bottom"> </tr>
<th class="fs-9 p-2 text-secondary lang" lang="content"></th> <tr class="border-bottom">
<td class="p-2" id="content"></td> <th class="fs-9 p-2 text-secondary lang" lang="content"></th>
</tr> <td class="p-2" id="content"></td>
</tbody> </tr>
</table> </tbody>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </main>
</main> </div>
<script type="text/javascript" src="../common/js/app.js"></script> <script type="text/javascript" src="../common/js/app.js"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -37,22 +37,24 @@ ...@@ -37,22 +37,24 @@
<body> <body>
<div id="loader"></div> <div id="loader"></div>
<div id="includedHeader"></div> <div id="includedHeader"></div>
<!-- message list --> <div id="loadingNone" style="display:none;">
<main> <!-- message list -->
<div class="container-wrap"> <main>
<!-- header --> <div class="container-wrap">
<div id="includedMainTitle"></div> <!-- header -->
<!-- message --> <div id="includedMainTitle"></div>
<ul class="card-list message-list p-0" id="messageList"> <!-- message -->
<li class="card mb-2 not-found d-none"> <ul class="card-list message-list p-0" id="messageList">
<div class="text-dark mb-1 px-3 py-5 text-center m-auto"> <li class="card mb-2 not-found d-none">
<img src="../common/img/icon_not_found.svg" alt="メッセージがありません。" class="not-found-img mb-2"> <div class="text-dark mb-1 px-3 py-5 text-center m-auto">
<div class="fs-9 text-secondary font-weight-bold lang" lang="messageListEmpty"></div> <img src="../common/img/icon_not_found.svg" alt="メッセージがありません。" class="not-found-img mb-2">
</div> <div class="fs-9 text-secondary font-weight-bold lang" lang="messageListEmpty"></div>
</li> </div>
</ul> </li>
</div> </ul>
</main> </div>
</main>
</div>
<script type="text/javascript" src="../common/js/app.js"></script> <script type="text/javascript" src="../common/js/app.js"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -32,14 +32,24 @@ ...@@ -32,14 +32,24 @@
<div id="loader"></div> <div id="loader"></div>
<!-- header --> <!-- header -->
<div id="includedHeader"></div> <div id="includedHeader"></div>
<div id="loadingNone" style="display:none;">
<div id="includedMainTitle"></div>
<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">
<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom"
title="pdfPrint">
</div>
<!-- report list -->
<div class="mb-5" id="report-form"></div>
<div id="includedMainTitle"></div> <div id="includedMainTitle"></div>
<!-- report list --> <!-- report list -->
<div class="mb-5" id="report-form"></div> <div class="mb-5" id="report-form"></div>
<!-- confirm --> <!-- confirm -->
<div id="includedConfirmModal"></div> <div id="includedConfirmModal"></div>
</div>
<script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script> <script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -40,13 +40,15 @@ ...@@ -40,13 +40,15 @@
<div id="loader" style="display: none;"></div> <div id="loader" style="display: none;"></div>
<!-- header --> <!-- header -->
<div id="includedHeader"></div> <div id="includedHeader"></div>
<div id="includedMainTitle"></div> <div id="loadingNone" style="display:none;">
<div id="includedMainTitle"></div>
<!-- report list --> <!-- report list -->
<div class="container-wrap mb-5" id="reportList"></div> <div class="container-wrap mb-5" id="reportList"></div>
<!-- confirm --> <!-- confirm -->
<div id="includedConfirmModal"></div> <div id="includedConfirmModal"></div>
</div>
<script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script> <script type="text/javascript" src="../common/js/app.js?__UPDATEID__"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -40,57 +40,59 @@ ...@@ -40,57 +40,59 @@
<body> <body>
<div id="loader"></div> <div id="loader"></div>
<div id="includedHeader"></div> <div id="includedHeader"></div>
<!-- send message --> <div id="loadingNone" style="display:none;">
<main> <!-- send message -->
<div class="container-wrap"> <main>
<!-- header --> <div class="container-wrap">
<div id="includedMainTitle"></div> <!-- header -->
<!-- content --> <div id="includedMainTitle"></div>
<div class="py-2"> <!-- content -->
<div class="row"> <div class="py-2">
<div class="col-12"> <div class="row">
<form action="#"> <div class="col-12">
<div class="form-group form-row"> <form action="#">
<div class="col-lg-1 col-md-2 col-3 control-label"> <div class="form-group form-row">
<button type="button" class="btn btn-sm btn-tertiary lang" lang="buttonOperationSelect" data-toggle="modal" data-target="#task-list-modal"></button> <div class="col-lg-1 col-md-2 col-3 control-label">
</div> <button type="button" class="btn btn-sm btn-tertiary lang" lang="buttonOperationSelect" data-toggle="modal" data-target="#task-list-modal"></button>
<div class="col-lg-11 col-md-10 col-9"> </div>
<div id="operationSelected" data-operation-id=""></div> <div class="col-lg-11 col-md-10 col-9">
<div id="operationSelected" data-operation-id=""></div>
</div>
</div> </div>
</div> <div class="form-group form-row">
<div class="form-group form-row"> <label for="address" class="col-lg-1 col-md-2 col-3 control-label lang" lang="labelSendTypeTitle"></label>
<label for="address" class="col-lg-1 col-md-2 col-3 control-label lang" lang="labelSendTypeTitle"></label> <div class="col-lg-11 col-md-10 col-9">
<div class="col-lg-11 col-md-10 col-9"> <div class="btn-group btn-group-toggle" data-toggle="buttons">
<div class="btn-group btn-group-toggle" data-toggle="buttons"> <label class="btn btn-sm btn-primary custom active" for="sendTypeGroup">
<label class="btn btn-sm btn-primary custom active" for="sendTypeGroup"> <input type="radio" name="sendType" id="sendTypeGroup" value="0" autocomplete="off" checked></label>
<input type="radio" name="sendType" id="sendTypeGroup" value="0" autocomplete="off" checked></label> <label class="btn btn-sm btn-primary custom" for="sendTypeAll">
<label class="btn btn-sm btn-primary custom" for="sendTypeAll"> <input type="radio" name="sendType" id="sendTypeAll" value="1" autocomplete="off"></label>
<input type="radio" name="sendType" id="sendTypeAll" value="1" autocomplete="off"></label> </div>
</div> </div>
</div> </div>
</div> <div class="form-group mb-4">
<div class="form-group mb-4"> <div class="d-flex justify-content-between">
<div class="d-flex justify-content-between"> <label for="message-content" class="lang" lang="txtMessageContent"></label>
<label for="message-content" class="lang" lang="txtMessageContent"></label> <a href="#" data-toggle="modal" data-target="#select-template-modal" class="lang" lang="buttonTemplateSelection"></a>
<a href="#" data-toggle="modal" data-target="#select-template-modal" class="lang" lang="buttonTemplateSelection"></a> </div>
<textarea name="message-content" class="form-control" id="messageContent" cols="30" rows="10"></textarea>
</div> </div>
<textarea name="message-content" class="form-control" id="messageContent" cols="30" rows="10"></textarea> </form>
</div> </div>
</form>
</div> </div>
</div>
<button type="submit" class="btn btn-primary lang" lang="buttonSend" onclick="SendMessage.onClickSend();"></button> <button type="submit" class="btn btn-primary lang" lang="buttonSend" onclick="SendMessage.onClickSend();"></button>
</div> </div>
</div> </div>
</main> </main>
<!-- task list modal --> <!-- task list modal -->
<div id="includeOperationSelect"></div> <div id="includeOperationSelect"></div>
<!-- select template modal --> <!-- select template modal -->
<div id="includeTemplateModal"></div> <div id="includeTemplateModal"></div>
</div>
<script type="text/javascript" src="../common/js/app.js"></script> <script type="text/javascript" src="../common/js/app.js"></script>
<script src="../common/js/event.js?__UPDATEID__"></script> <script src="../common/js/event.js?__UPDATEID__"></script>
</body> </body>
......
...@@ -14,12 +14,12 @@ RF.addReportFlg; ...@@ -14,12 +14,12 @@ RF.addReportFlg;
RF.init = function () { RF.init = function () {
//Check if user is logged in //Check if user is logged in
COMMON.checkAuth(false); COMMON.checkAuth(false);
COMMON.checkQuickReport(function(result) { COMMON.checkQuickReport(function (result) {
if (result) { if (result) {
result.isQuickReport = RF.isQuickReport; result.isQuickReport = RF.isQuickReport;
result.addReportFlg = RF.addReportFlg; result.addReportFlg = RF.addReportFlg;
} }
}) });
RF.loadCommon(); RF.loadCommon();
RF.initFormView(); RF.initFormView();
}; };
...@@ -38,7 +38,7 @@ RF.loadCommon = function () { ...@@ -38,7 +38,7 @@ RF.loadCommon = function () {
*/ */
RF.initBreadcrumb = function () { RF.initBreadcrumb = function () {
if (sessionStorage.activeHomePage == CONSTANT.PAGE_TAB.DASHBOARD) { if (sessionStorage.activeHomePage == CONSTANT.PAGE_TAB.DASHBOARD) {
if (sessionStorage.getItem("pickUpType") == CONSTANT.PICK_UP_TYPE.CONTINOUS_WORK) { if (sessionStorage.getItem('pickUpType') == CONSTANT.PICK_UP_TYPE.CONTINOUS_WORK) {
navs = [ navs = [
{ {
titleLang: CONSTANT.PAGE_NAME.DASHBOARD, titleLang: CONSTANT.PAGE_NAME.DASHBOARD,
...@@ -49,10 +49,10 @@ RF.initBreadcrumb = function () { ...@@ -49,10 +49,10 @@ RF.initBreadcrumb = function () {
href: CONSTANT.URL_TREE_NAME.PICKUP_CONTINUOS, href: CONSTANT.URL_TREE_NAME.PICKUP_CONTINUOS,
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_FORM titleLang: CONSTANT.PAGE_NAME.REPORT_FORM,
}, },
] ];
} else if (sessionStorage.getItem("pickUpType") == CONSTANT.PICK_UP_TYPE.WARNING_REPORT) { } else if (sessionStorage.getItem('pickUpType') == CONSTANT.PICK_UP_TYPE.WARNING_REPORT) {
navs = [ navs = [
{ {
titleLang: CONSTANT.PAGE_NAME.DASHBOARD, titleLang: CONSTANT.PAGE_NAME.DASHBOARD,
...@@ -63,9 +63,9 @@ RF.initBreadcrumb = function () { ...@@ -63,9 +63,9 @@ RF.initBreadcrumb = function () {
href: CONSTANT.URL_TREE_NAME.PICKUP_WARNING, href: CONSTANT.URL_TREE_NAME.PICKUP_WARNING,
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_FORM titleLang: CONSTANT.PAGE_NAME.REPORT_FORM,
}, },
] ];
} else { } else {
navs = [ navs = [
{ {
...@@ -78,17 +78,17 @@ RF.initBreadcrumb = function () { ...@@ -78,17 +78,17 @@ RF.initBreadcrumb = function () {
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_LIST, titleLang: CONSTANT.PAGE_NAME.REPORT_LIST,
href: CONSTANT.URL_TREE_NAME.REPORT_LIST href: CONSTANT.URL_TREE_NAME.REPORT_LIST,
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_FORM titleLang: CONSTANT.PAGE_NAME.REPORT_FORM,
}, },
] ];
} }
} else { } else {
if (sessionStorage.getItem("pickUpType")) sessionStorage.removeItem("pickUpType"); if (sessionStorage.getItem('pickUpType')) sessionStorage.removeItem('pickUpType');
if ((RF.addReportFlg) && RF.addReportFlg == 1) { if (RF.addReportFlg && RF.addReportFlg == 1) {
navs = [ navs = [
{ {
titleLang: CONSTANT.PAGE_NAME.OPERATION_LIST, titleLang: CONSTANT.PAGE_NAME.OPERATION_LIST,
...@@ -96,12 +96,12 @@ RF.initBreadcrumb = function () { ...@@ -96,12 +96,12 @@ RF.initBreadcrumb = function () {
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_LIST, titleLang: CONSTANT.PAGE_NAME.REPORT_LIST,
href: CONSTANT.URL_TREE_NAME.REPORT_LIST href: CONSTANT.URL_TREE_NAME.REPORT_LIST,
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_FORM titleLang: CONSTANT.PAGE_NAME.REPORT_FORM,
}, },
] ];
} else { } else {
navs = [ navs = [
{ {
...@@ -109,17 +109,17 @@ RF.initBreadcrumb = function () { ...@@ -109,17 +109,17 @@ RF.initBreadcrumb = function () {
href: CONSTANT.URL_TREE_NAME.OPERATION_LIST, href: CONSTANT.URL_TREE_NAME.OPERATION_LIST,
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_FORM titleLang: CONSTANT.PAGE_NAME.REPORT_FORM,
}, },
] ];
} }
} }
TEMPLATE.loadMainNavsTitle('#includedMainTitle', CONSTANT.PAGE_NAME.REPORT_FORM, navs, RF.loadMainTitleCallback); TEMPLATE.loadMainNavsTitle('#includedMainTitle', CONSTANT.PAGE_NAME.REPORT_FORM, navs, RF.loadMainTitleCallback);
} };
/** /**
* load main title callcack * load main title callcack
*/ */
RF.loadMainTitleCallback = function () { RF.loadMainTitleCallback = function () {
//add dashboard setting item //add dashboard setting item
if (RF.isQuickReport) { if (RF.isQuickReport) {
...@@ -163,3 +163,22 @@ RF.initFormView = function () { ...@@ -163,3 +163,22 @@ RF.initFormView = function () {
COMMON.avwScreenMove('index.html'); COMMON.avwScreenMove('index.html');
} }
}; };
/**
* back page url
*/
RF.backPage = function () {
if (sessionStorage.activeHomePage == CONSTANT.PAGE_TAB.DASHBOARD) {
if (addReportFlg == 1) {
COMMON.avwScreenMove('reportList.html');
} else {
COMMON.avwScreenMove('pickup.html');
}
} else {
if (addReportFlg == 1) {
COMMON.avwScreenMove('reportList.html');
} else {
COMMON.avwScreenMove('index.html');
}
}
};
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