isdata-customer-sdk 0.1.22 → 0.1.24

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 CHANGED
@@ -4881,6 +4881,7 @@ __webpack_require__.r(__webpack_exports__);
4881
4881
  __webpack_require__.d(__webpack_exports__, {
4882
4882
  fireEvent: function() { return /* reexport */ fireEvent; },
4883
4883
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
4884
+ getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
4884
4885
  getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
4885
4886
  getMenuDatasByGroupID: function() { return /* reexport */ getMenuDatasByGroupID; },
4886
4887
  getMenuDatasByRoleIDs: function() { return /* reexport */ getMenuDatasByRoleIDs; },
@@ -4889,6 +4890,7 @@ __webpack_require__.d(__webpack_exports__, {
4889
4890
  getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
4890
4891
  queryAssetById: function() { return /* reexport */ queryAssetById; },
4891
4892
  queryGroupIDByOfficeId: function() { return /* reexport */ queryGroupIDByOfficeId; },
4893
+ queryGroupInfosByOfficeId: function() { return /* reexport */ queryGroupInfosByOfficeId; },
4892
4894
  queryOfficeInfosById: function() { return /* reexport */ queryOfficeInfosById; },
4893
4895
  registerEventListener: function() { return /* reexport */ registerEventListener; },
4894
4896
  removeEventListener: function() { return /* reexport */ removeEventListener; },
@@ -5304,6 +5306,38 @@ const queryGroupIDByOfficeId = async id => {
5304
5306
  return group_id;
5305
5307
  };
5306
5308
 
5309
+ /**
5310
+ * 获取当前用户默认的门户页面ID
5311
+ *
5312
+ * 该方法用于获取当前用户在门户中的默认页面ID
5313
+ * @param {信息} userData
5314
+ * @returns
5315
+ */
5316
+ const getCurrentUserPortalPageID = userData => {
5317
+ let queryData = {
5318
+ "param": {
5319
+ "userData": userData
5320
+ }
5321
+ };
5322
+ return request.post(`/dataservice/rest/orchestration/getPortalPageID`, queryData);
5323
+ };
5324
+
5325
+ /**
5326
+ * 查询当前企业组织的集团组织ID
5327
+ * @param id 组织ID
5328
+ *
5329
+ */
5330
+ const queryGroupInfosByOfficeId = async id => {
5331
+ let queryData_office = {
5332
+ "param": {
5333
+ "id": id
5334
+ }
5335
+ };
5336
+ let result = await request.post(`/dataservice/rest/orchestration/getGroupIDByDptID`, queryData_office);
5337
+ let groupDptData = result.data.resultDptData;
5338
+ return groupDptData;
5339
+ };
5340
+
5307
5341
  // 查询门户映射应用信息
5308
5342
  // * @param appID 应用ID
5309
5343
  // * @param groupID 集团ID