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 +34 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +34 -0
- 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
|
@@ -4891,6 +4891,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4891
4891
|
__webpack_require__.d(__webpack_exports__, {
|
|
4892
4892
|
fireEvent: function() { return /* reexport */ fireEvent; },
|
|
4893
4893
|
getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
|
|
4894
|
+
getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
|
|
4894
4895
|
getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
|
|
4895
4896
|
getMenuDatasByGroupID: function() { return /* reexport */ getMenuDatasByGroupID; },
|
|
4896
4897
|
getMenuDatasByRoleIDs: function() { return /* reexport */ getMenuDatasByRoleIDs; },
|
|
@@ -4899,6 +4900,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
4899
4900
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
4900
4901
|
queryAssetById: function() { return /* reexport */ queryAssetById; },
|
|
4901
4902
|
queryGroupIDByOfficeId: function() { return /* reexport */ queryGroupIDByOfficeId; },
|
|
4903
|
+
queryGroupInfosByOfficeId: function() { return /* reexport */ queryGroupInfosByOfficeId; },
|
|
4902
4904
|
queryOfficeInfosById: function() { return /* reexport */ queryOfficeInfosById; },
|
|
4903
4905
|
registerEventListener: function() { return /* reexport */ registerEventListener; },
|
|
4904
4906
|
removeEventListener: function() { return /* reexport */ removeEventListener; },
|
|
@@ -5314,6 +5316,38 @@ const queryGroupIDByOfficeId = async id => {
|
|
|
5314
5316
|
return group_id;
|
|
5315
5317
|
};
|
|
5316
5318
|
|
|
5319
|
+
/**
|
|
5320
|
+
* 获取当前用户默认的门户页面ID
|
|
5321
|
+
*
|
|
5322
|
+
* 该方法用于获取当前用户在门户中的默认页面ID
|
|
5323
|
+
* @param {信息} userData
|
|
5324
|
+
* @returns
|
|
5325
|
+
*/
|
|
5326
|
+
const getCurrentUserPortalPageID = userData => {
|
|
5327
|
+
let queryData = {
|
|
5328
|
+
"param": {
|
|
5329
|
+
"userData": userData
|
|
5330
|
+
}
|
|
5331
|
+
};
|
|
5332
|
+
return request.post(`/dataservice/rest/orchestration/getPortalPageID`, queryData);
|
|
5333
|
+
};
|
|
5334
|
+
|
|
5335
|
+
/**
|
|
5336
|
+
* 查询当前企业组织的集团组织ID
|
|
5337
|
+
* @param id 组织ID
|
|
5338
|
+
*
|
|
5339
|
+
*/
|
|
5340
|
+
const queryGroupInfosByOfficeId = async id => {
|
|
5341
|
+
let queryData_office = {
|
|
5342
|
+
"param": {
|
|
5343
|
+
"id": id
|
|
5344
|
+
}
|
|
5345
|
+
};
|
|
5346
|
+
let result = await request.post(`/dataservice/rest/orchestration/getGroupIDByDptID`, queryData_office);
|
|
5347
|
+
let groupDptData = result.data.resultDptData;
|
|
5348
|
+
return groupDptData;
|
|
5349
|
+
};
|
|
5350
|
+
|
|
5317
5351
|
// 查询门户映射应用信息
|
|
5318
5352
|
// * @param appID 应用ID
|
|
5319
5353
|
// * @param groupID 集团ID
|