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.common.js
CHANGED
|
@@ -29590,6 +29590,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29590
29590
|
getObjectUseTimes: function() { return /* reexport */ getObjectUseTimes; },
|
|
29591
29591
|
getOfficeInfosByIDs: function() { return /* reexport */ getOfficeInfosByIDs; },
|
|
29592
29592
|
getPageIDByComponentID: function() { return /* reexport */ getPageIDByComponentID; },
|
|
29593
|
+
getPlatformBortherMenusByMenuID: function() { return /* reexport */ getPlatformBortherMenusByMenuID; },
|
|
29593
29594
|
getPojectDptsByUserAndGroupID: function() { return /* reexport */ getPojectDptsByUserAndGroupID; },
|
|
29594
29595
|
getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
|
|
29595
29596
|
getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
|
|
@@ -30027,6 +30028,17 @@ const getLoginPortalAccountKey = async (loginName, groupID) => {
|
|
|
30027
30028
|
let result = await request.post(`/dataservice/rest/orchestration/getLoginPortalAccountKey`, queryData);
|
|
30028
30029
|
return result;
|
|
30029
30030
|
};
|
|
30031
|
+
const getPlatformBortherMenusByMenuID = async menu_id => {
|
|
30032
|
+
let queryData_groupData = {
|
|
30033
|
+
"param": {
|
|
30034
|
+
"menu_id": menu_id
|
|
30035
|
+
}
|
|
30036
|
+
};
|
|
30037
|
+
let result = await request.post(`/dataservice/rest/orchestration/getPlatformBortherMenusByMenuID`, queryData_groupData);
|
|
30038
|
+
let menuDatas = result.data.menuDatas;
|
|
30039
|
+
//获取菜单数据
|
|
30040
|
+
return menuDatas;
|
|
30041
|
+
};
|
|
30030
30042
|
|
|
30031
30043
|
/**
|
|
30032
30044
|
* 转换门户菜单数据
|
|
@@ -30067,6 +30079,7 @@ const transformPortalData = (datas, menuTypes, filterObjectMap) => {
|
|
|
30067
30079
|
//如果存在快捷菜单映射数据或者是主菜单入口
|
|
30068
30080
|
//如果是主菜单或者存在快捷访问映射或者孩子存在快捷访问映射或者是应用默认的菜单,则纳入到菜单中
|
|
30069
30081
|
if (filterObjectMap && filterObjectMap[id] || data.type == "4" || parentMaps[id] || data.is_app_defalut == "1") {
|
|
30082
|
+
//TODO:判断是否有平台系统的menu_id权限,有可能有映射权限,但角色没有平台权限,则不显示
|
|
30070
30083
|
menuMaps[id] = tempMenuData;
|
|
30071
30084
|
}
|
|
30072
30085
|
}
|