Commit 3f96c2a0 by NGO THI HONG

Update DASHBOARD.defaultDashboard

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