Commit 3f96c2a0 by NGO THI HONG

Update DASHBOARD.defaultDashboard

parent 8e848331
...@@ -19,10 +19,13 @@ DASHBOARD.communicationItems = [ ...@@ -19,10 +19,13 @@ DASHBOARD.communicationItems = [
/** Default dashboard setting data */ /** Default dashboard setting data */
DASHBOARD.defaultDashboard = { DASHBOARD.defaultDashboard = {
dashboard: {
newReport: 0, newReport: 0,
continousWork: 0, continousWork: 0,
warningReport: 0, warningReport: 0,
pushMesage: 0, pushMesage: 0
}
}; };
DASHBOARD.getDataApiUrl = COMMON.format(ClientData.conf_checkApiUrl(), ClientData.userInfo_accountPath()) + CONSTANT.URL.CMS.API.DASHBOARD; DASHBOARD.getDataApiUrl = COMMON.format(ClientData.conf_checkApiUrl(), ClientData.userInfo_accountPath()) + CONSTANT.URL.CMS.API.DASHBOARD;
...@@ -33,7 +36,7 @@ DASHBOARD.getDataApiUrl = COMMON.format(ClientData.conf_checkApiUrl(), ClientDat ...@@ -33,7 +36,7 @@ DASHBOARD.getDataApiUrl = COMMON.format(ClientData.conf_checkApiUrl(), ClientDat
*/ */
DASHBOARD.getDashboardData = function (callback) { DASHBOARD.getDashboardData = function (callback) {
let param = { let param = {
sid: COMMON.getSid(), sid: COMMON.getSid()
}; };
COMMON.cmsAjax( COMMON.cmsAjax(
DASHBOARD.getDataApiUrl, DASHBOARD.getDataApiUrl,
......
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