isdata-customer-sdk 0.1.19 → 0.1.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.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
+ getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
4884
4885
  getMenuDatasByGroupID: function() { return /* reexport */ getMenuDatasByGroupID; },
4885
4886
  getMenuDatasByRoleIDs: function() { return /* reexport */ getMenuDatasByRoleIDs; },
4886
4887
  getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
@@ -4888,6 +4889,7 @@ __webpack_require__.d(__webpack_exports__, {
4888
4889
  getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
4889
4890
  queryAssetById: function() { return /* reexport */ queryAssetById; },
4890
4891
  queryGroupIDByOfficeId: function() { return /* reexport */ queryGroupIDByOfficeId; },
4892
+ queryOfficeInfosById: function() { return /* reexport */ queryOfficeInfosById; },
4891
4893
  registerEventListener: function() { return /* reexport */ registerEventListener; },
4892
4894
  removeEventListener: function() { return /* reexport */ removeEventListener; },
4893
4895
  transformPortalData: function() { return /* reexport */ transformPortalData; }
@@ -5296,6 +5298,32 @@ const queryGroupIDByOfficeId = async id => {
5296
5298
  let group_id = groupDptData.id;
5297
5299
  return group_id;
5298
5300
  };
5301
+
5302
+ // 查询门户映射应用信息
5303
+ // * @param appID 应用ID
5304
+ // * @param groupID 集团ID
5305
+ const getMappingAppInfoByID = async (appID, groupID) => {
5306
+ let queryData = {
5307
+ "param": {
5308
+ "appID": appID,
5309
+ "groupID": groupID
5310
+ }
5311
+ };
5312
+ let resultData = await request.post(`/dataservice/rest/orchestration/getPortalMappingAppInfoByID`, queryData);
5313
+ let appInfo = resultData.data.appInfo;
5314
+ return appInfo;
5315
+ };
5316
+
5317
+ /**
5318
+ * 查询当前企业组织信息
5319
+ * @param id 组织ID
5320
+ *
5321
+ */
5322
+ const queryOfficeInfosById = async queryData => {
5323
+ let resultData = await request.post(`/dataservice/rest/orchestration/getOfficeInfosByID`, queryData);
5324
+ let groupDptData = resultData.data.officeData;
5325
+ return groupDptData;
5326
+ };
5299
5327
  ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
5300
5328
 
5301
5329