Commit 0aad3f39 by Takumi Imai

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

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