Commit 69b41b43 by Kang Donghun

add test log

parent 8edcb9d5
......@@ -58,6 +58,7 @@ COMMON.avwScreenMove = function (url) {
* @param {String} key
*/
COMMON.showLoading = function () {
console.log("kdh check showLoading");
$('#loader').css( {
'width': $(window).width(),
'height': $(window).height()
......@@ -302,6 +303,7 @@ COMMON.cmsAjax = function (url, param, async = true, callback, errorCallback, ty
*/
COMMON.checkAuth = function (async = true) {
let params = {};
console.log("kdh check");
params.sid = COMMON.getSid;
const url = COMMON.format(ClientData.conf_checkApiUrl(), ClientData.userInfo_accountPath()) + CONSTANT.URL.CMS.API.AUTH_SESSION;
COMMON.cmsAjax(url, params, async, null, function () {
......
......@@ -12,12 +12,19 @@
RL.init = function () {
//Check if user is logged in
COMMON.showLoading();
console.log("kdh check closeLoading RL.init1");
COMMON.checkAuth(false);
console.log("kdh check closeLoading RL.init2");
console.log('ReportList init start');
console.log("kdh check closeLoading RL.init3");
RL.checkQuickReport();
console.log("kdh check closeLoading RL.init4");
RL.loadCommon();
console.log("kdh check closeLoading RL.init5");
RL.initTaskReportList();
console.log("kdh check closeLoading RL.init6");
COMMON.closeLoading();
console.log("kdh check closeLoading RL.init7");
};
/**
......
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