isdata-customer-sdk 0.1.92 → 0.1.94

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.
@@ -29570,6 +29570,7 @@ __webpack_require__.d(__webpack_exports__, {
29570
29570
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29571
29571
  getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29572
29572
  getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
29573
+ getCurrentUserPortalMapping: function() { return /* reexport */ getCurrentUserPortalMapping; },
29573
29574
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29574
29575
  getDifyFileType: function() { return /* reexport */ getDifyFileType; },
29575
29576
  getFileSize: function() { return /* reexport */ getFileSize; },
@@ -29699,6 +29700,7 @@ const removeEventListener = (eventName, actionFun) => {
29699
29700
  };
29700
29701
  const fireEvent = (eventName, eventData) => {
29701
29702
  let eventBus = window.rjEventCenter;
29703
+ eventData.eventKey = eventName;
29702
29704
  if (eventBus && eventBus.fireEvent) {
29703
29705
  eventBus.fireEvent(eventName, eventData);
29704
29706
  }
@@ -30253,6 +30255,24 @@ const getCurrentUserPortalPageID = async userData => {
30253
30255
  return portal_id;
30254
30256
  };
30255
30257
 
30258
+ /**
30259
+ * 获取当前用户默认的门户页面ID
30260
+ *
30261
+ * 该方法用于获取当前用户在门户中的默认页面ID
30262
+ * @param {信息} userData
30263
+ * @returns
30264
+ */
30265
+ const getCurrentUserPortalMapping = async userData => {
30266
+ let queryData = {
30267
+ param: {
30268
+ userData: userData
30269
+ }
30270
+ };
30271
+ let response = await request.post(`/dataservice/rest/orchestration/getPortalMappingInfo`, queryData);
30272
+ let portal_id = response.data.portal_info;
30273
+ return portal_id;
30274
+ };
30275
+
30256
30276
  /**
30257
30277
  * 获取当前用户在门户中的所有映射数据
30258
30278
  * @param {信息} data