Commit 09e8d8c2 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 !113
parents f1c7941f 4646bbf9
...@@ -122,12 +122,17 @@ RF.initFormView = function () { ...@@ -122,12 +122,17 @@ RF.initFormView = function () {
if (reportStartDate) params.reportStartDate = reportStartDate; if (reportStartDate) params.reportStartDate = reportStartDate;
const url = COMMON.format(ClientData.conf_checkApiUrl(), ClientData.userInfo_accountPath()) + CONSTANT.URL.CMS.HTML.BASE + CONSTANT.URL.CMS.HTML.LIST_REPORT_FORM; const url = COMMON.format(ClientData.conf_checkApiUrl(), ClientData.userInfo_accountPath()) + CONSTANT.URL.CMS.HTML.BASE + CONSTANT.URL.CMS.HTML.LIST_REPORT_FORM;
$('#report-form').load(url, params, function () { $('#report-form').load(url, params, function (data, status) {
if (status === 'success') {
initPageLoad(); initPageLoad();
COMMON.closeLoading(); COMMON.closeLoading();
} else {
RF.backPage();
COMMON.closeLoading();
}
}); });
} else { } else {
COMMON.avwScreenMove('index.html'); RF.backPage();
} }
}; };
...@@ -137,9 +142,6 @@ RF.initFormView = function () { ...@@ -137,9 +142,6 @@ RF.initFormView = function () {
RF.backPage = function () { RF.backPage = function () {
// need to save Data // need to save Data
setTimeout(function () { setTimeout(function () {
RF.initFormView();
}, 750);
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.NEW_REPORT) {
COMMON.avwScreenMove('reportList.html'); COMMON.avwScreenMove('reportList.html');
...@@ -154,4 +156,5 @@ RF.backPage = function () { ...@@ -154,4 +156,5 @@ RF.backPage = function () {
COMMON.avwScreenMove('index.html'); COMMON.avwScreenMove('index.html');
} }
} }
}, 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