Commit 2f80b26e by Kang Donghun

fixed codes for pdf print test

parent 11089b39
......@@ -9,17 +9,17 @@
/** Direct home page setting */
HEADER.goToHomePage = function (pageId) {
DashboardSetting.getSettingData(function (settings) {
if(settings.dashboardHome == 1)
{
HEADER.goDashboard();
}
else
{
// DashboardSetting.getSettingData(function (settings) {
// if(settings.dashboardHome == 1)
// {
// HEADER.goDashboard();
// }
// else
// {
HEADER.goOperationList();
}
// }
});
// });
}
/**
......
......@@ -506,10 +506,17 @@ OL.resetSearch = function () {
OL.sendOperation = function (operationId, operationType, reportType, enableAddReport) {
//save operation logs. needed for sorting
OL.saveOperationReadingLog(operationId, operationType, reportType);
//Transition to the report form or operation list screen
let params = {};
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;
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