isdata-customer-sdk 0.2.19 → 0.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.common.js +13 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +13 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -29608,6 +29608,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29608
29608
|
getObjectUseTimes: function() { return /* reexport */ getObjectUseTimes; },
|
|
29609
29609
|
getOfficeInfosByIDs: function() { return /* reexport */ getOfficeInfosByIDs; },
|
|
29610
29610
|
getPageIDByComponentID: function() { return /* reexport */ getPageIDByComponentID; },
|
|
29611
|
+
getPlatformBortherMenusByMenuID: function() { return /* reexport */ getPlatformBortherMenusByMenuID; },
|
|
29611
29612
|
getPojectDptsByUserAndGroupID: function() { return /* reexport */ getPojectDptsByUserAndGroupID; },
|
|
29612
29613
|
getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
|
|
29613
29614
|
getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
|
|
@@ -30045,6 +30046,17 @@ const getLoginPortalAccountKey = async (loginName, groupID) => {
|
|
|
30045
30046
|
let result = await request.post(`/dataservice/rest/orchestration/getLoginPortalAccountKey`, queryData);
|
|
30046
30047
|
return result;
|
|
30047
30048
|
};
|
|
30049
|
+
const getPlatformBortherMenusByMenuID = async menu_id => {
|
|
30050
|
+
let queryData_groupData = {
|
|
30051
|
+
"param": {
|
|
30052
|
+
"menu_id": menu_id
|
|
30053
|
+
}
|
|
30054
|
+
};
|
|
30055
|
+
let result = await request.post(`/dataservice/rest/orchestration/getPlatformBortherMenusByMenuID`, queryData_groupData);
|
|
30056
|
+
let menuDatas = result.data.menuDatas;
|
|
30057
|
+
//获取菜单数据
|
|
30058
|
+
return menuDatas;
|
|
30059
|
+
};
|
|
30048
30060
|
|
|
30049
30061
|
/**
|
|
30050
30062
|
* 转换门户菜单数据
|
|
@@ -30085,6 +30097,7 @@ const transformPortalData = (datas, menuTypes, filterObjectMap) => {
|
|
|
30085
30097
|
//如果存在快捷菜单映射数据或者是主菜单入口
|
|
30086
30098
|
//如果是主菜单或者存在快捷访问映射或者孩子存在快捷访问映射或者是应用默认的菜单,则纳入到菜单中
|
|
30087
30099
|
if (filterObjectMap && filterObjectMap[id] || data.type == "4" || parentMaps[id] || data.is_app_defalut == "1") {
|
|
30100
|
+
//TODO:判断是否有平台系统的menu_id权限,有可能有映射权限,但角色没有平台权限,则不显示
|
|
30088
30101
|
menuMaps[id] = tempMenuData;
|
|
30089
30102
|
}
|
|
30090
30103
|
}
|