Commit ce33f84a by hoangson

#49486 Implement getDashboardSettingJson for iOS

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