Commit 2f80b26e by Kang Donghun

fixed codes for pdf print test

parent 11089b39
...@@ -9,17 +9,17 @@ ...@@ -9,17 +9,17 @@
/** Direct home page setting */ /** Direct home page setting */
HEADER.goToHomePage = function (pageId) { HEADER.goToHomePage = function (pageId) {
DashboardSetting.getSettingData(function (settings) { // DashboardSetting.getSettingData(function (settings) {
if(settings.dashboardHome == 1) // if(settings.dashboardHome == 1)
{ // {
HEADER.goDashboard(); // HEADER.goDashboard();
} // }
else // else
{ // {
HEADER.goOperationList(); HEADER.goOperationList();
} // }
}); // });
} }
/** /**
......
...@@ -506,10 +506,17 @@ OL.resetSearch = function () { ...@@ -506,10 +506,17 @@ OL.resetSearch = function () {
OL.sendOperation = function (operationId, operationType, reportType, enableAddReport) { OL.sendOperation = function (operationId, operationType, reportType, enableAddReport) {
//save operation logs. needed for sorting //save operation logs. needed for sorting
OL.saveOperationReadingLog(operationId, operationType, reportType); OL.saveOperationReadingLog(operationId, operationType, reportType);
let params = {};
//Transition to the report form or operation list screen params.sid = COMMON.getSid();
params.operationId = operationId;
params.returnUrl = CONSTANT.URL.WEB.BASE + CONSTANT.URL.WEB.OPERATION_LIST;
const url = OL.createUrlOfOperation(enableAddReport, reportType);
sessionStorage.OL_operationId = operationId; sessionStorage.OL_operationId = operationId;
COMMON.avwScreenMove("reportList.html"); // COMMON.avwScreenMove("taskList.html");
COMMON.postCommunication(url, params);
// //Transition to the report form or operation list screen
// sessionStorage.OL_operationId = operationId;
// COMMON.avwScreenMove("reportList.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