isdata-customer-sdk 0.1.28 → 0.1.30
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.js +21 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +21 -1
- 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
|
@@ -4900,6 +4900,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
4900
4900
|
getMenuDatasByRoleIDs: function() { return /* reexport */ getMenuDatasByRoleIDs; },
|
|
4901
4901
|
getOfficeInfosByIDs: function() { return /* reexport */ getOfficeInfosByIDs; },
|
|
4902
4902
|
getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
|
|
4903
|
+
getPortalPageMenuID: function() { return /* reexport */ getPortalPageMenuID; },
|
|
4903
4904
|
getRoleIDsByUserAndGroupID: function() { return /* reexport */ getRoleIDsByUserAndGroupID; },
|
|
4904
4905
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
4905
4906
|
loginAccount: function() { return /* reexport */ loginAccount; },
|
|
@@ -5355,6 +5356,25 @@ const getCurrentUserPortalPageID = async userData => {
|
|
|
5355
5356
|
return portal_id;
|
|
5356
5357
|
};
|
|
5357
5358
|
|
|
5359
|
+
/**
|
|
5360
|
+
* 获取当前用户在门户中的默认页面ID
|
|
5361
|
+
*
|
|
5362
|
+
* 该方法用于获取当前用户在门户中的默认页面ID
|
|
5363
|
+
* @param {信息} userData
|
|
5364
|
+
* @returns
|
|
5365
|
+
*/
|
|
5366
|
+
const getPortalPageMenuID = async (pageID, app_id) => {
|
|
5367
|
+
let queryData = {
|
|
5368
|
+
"param": {
|
|
5369
|
+
"id": pageID,
|
|
5370
|
+
"appid": app_id
|
|
5371
|
+
}
|
|
5372
|
+
};
|
|
5373
|
+
let response = await request.post(`/dataservice/rest/orchestration/getPortalPageMenuID`, queryData);
|
|
5374
|
+
let menu_id = response.data.menu_id;
|
|
5375
|
+
return menu_id;
|
|
5376
|
+
};
|
|
5377
|
+
|
|
5358
5378
|
/**
|
|
5359
5379
|
* 通过账户名获取集团组织映射数据
|
|
5360
5380
|
* @param {*} account
|
|
@@ -5398,7 +5418,7 @@ const getOfficeInfosByIDs = async group_ids => {
|
|
|
5398
5418
|
"ids": group_ids
|
|
5399
5419
|
}
|
|
5400
5420
|
};
|
|
5401
|
-
let resultData = request.post(`/dataservice/rest/orchestration/getOfficeInfosByIDs`, queryData_groupData);
|
|
5421
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/getOfficeInfosByIDs`, queryData_groupData);
|
|
5402
5422
|
let groupDatas = resultData.data.officeInfos;
|
|
5403
5423
|
return groupDatas;
|
|
5404
5424
|
};
|