isdata-customer-sdk 0.1.29 → 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.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