Commit ac0d3971 by Takumi Imai

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

parent cc8c1da8
...@@ -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.CONTINOUS_WORK) { if (sessionStorage.getItem('pickUpType') == CONSTANT.PICK_UP_TYPE.NEW_REPORT) {
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(CONSTANT.URL_TREE_NAME.REPORT_LIST); COMMON.avwScreenMove('reportList.html');
} else { } else {
COMMON.avwScreenMove(CONSTANT.URL_TREE_NAME.OPERATION_LIST); COMMON.avwScreenMove('index.html');
} }
} }
}, 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