Commit 735b0cc5 by Takumi Imai

#51290「工程作業」タブか「警告を含む報告」タブで入力後、「新規報告」タブへ戻る

parent 898f6c23
......@@ -143,17 +143,19 @@ RF.backPage = function () {
// need to save Data
setTimeout(function () {
if (sessionStorage.activeHomePage == CONSTANT.PAGE_TAB.DASHBOARD) {
if (sessionStorage.getItem('pickUpType') == CONSTANT.PICK_UP_TYPE.NEW_REPORT) {
COMMON.avwScreenMove('reportList.html');
if (sessionStorage.getItem('pickUpType') == CONSTANT.PICK_UP_TYPE.CONTINOUS_WORK) {
COMMON.avwScreenMove(CONSTANT.URL_TREE_NAME.PICKUP_CONTINUOS);
} else if (sessionStorage.getItem('pickUpType') == CONSTANT.PICK_UP_TYPE.WARNING_REPORT) {
COMMON.avwScreenMove(CONSTANT.URL_TREE_NAME.PICKUP_WARNING);
} else {
COMMON.avwScreenMove('pickup.html');
COMMON.avwScreenMove(CONSTANT.URL_TREE_NAME.REPORT_LIST);
}
} else {
const reportType = sessionStorage.getItem('reportType');
if (addReportFlg == 1 || reportType == CONSTANT.REPORT_TYPE_INT.ROUTINE) {
COMMON.avwScreenMove('reportList.html');
COMMON.avwScreenMove(CONSTANT.URL_TREE_NAME.REPORT_LIST);
} else {
COMMON.avwScreenMove('index.html');
COMMON.avwScreenMove(CONSTANT.URL_TREE_NAME.OPERATION_LIST);
}
}
}, 750);
......
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