Commit ce33f84a by hoangson

#49486 Implement getDashboardSettingJson for iOS

parent 431739f9
......@@ -62,3 +62,8 @@ CHK_iOS.getSortType = function () {
return parseInt(callNativeApp(NATIVE_KEY_IOS.getSortType, {}));
}
CHK_iOS.getDashboardSettingJson = function () {
return JSON.parse(
callNativeApp(NATIVE_KEY_IOS.getDashboardSettingJson, {})
);
};
......@@ -256,7 +256,8 @@ const NATIVE_KEY_IOS = {
getOperationGroupMasterRelationListJson: "getOperationGroupMasterRelationListJson",
getPushMessageListJson: "getPushMessageListJson",
searchOperationList: "searchOperationList",
getSortType: "getSortType"
getSortType: "getSortType",
getDashboardSettingJson: "getDashboardSettingJson"
};
// レポートファイル保存タイプ
CHK.REPORT_SAVE_TYPE = {
......@@ -740,6 +741,9 @@ CHK.loadJson = function(fileName, callback) {
} else if (fileName == CHK.jsonPath.pushMessageList) {
json = CHK_iOS.getPushMessageListJson();
callback(json);
} else if (fileName == CHK.jsonPath.dashboardSetting) {
json = CHK_iOS.getDashboardSettingJson();
callback(json);
}
return;
}
......
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