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 +28 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +28 -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
|
+
getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
|
|
4894
4895
|
getMenuDatasByGroupID: function() { return /* reexport */ getMenuDatasByGroupID; },
|
|
4895
4896
|
getMenuDatasByRoleIDs: function() { return /* reexport */ getMenuDatasByRoleIDs; },
|
|
4896
4897
|
getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
|
|
@@ -4898,6 +4899,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
4898
4899
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
4899
4900
|
queryAssetById: function() { return /* reexport */ queryAssetById; },
|
|
4900
4901
|
queryGroupIDByOfficeId: function() { return /* reexport */ queryGroupIDByOfficeId; },
|
|
4902
|
+
queryOfficeInfosById: function() { return /* reexport */ queryOfficeInfosById; },
|
|
4901
4903
|
registerEventListener: function() { return /* reexport */ registerEventListener; },
|
|
4902
4904
|
removeEventListener: function() { return /* reexport */ removeEventListener; },
|
|
4903
4905
|
transformPortalData: function() { return /* reexport */ transformPortalData; }
|
|
@@ -5306,6 +5308,32 @@ const queryGroupIDByOfficeId = async id => {
|
|
|
5306
5308
|
let group_id = groupDptData.id;
|
|
5307
5309
|
return group_id;
|
|
5308
5310
|
};
|
|
5311
|
+
|
|
5312
|
+
// 查询门户映射应用信息
|
|
5313
|
+
// * @param appID 应用ID
|
|
5314
|
+
// * @param groupID 集团ID
|
|
5315
|
+
const getMappingAppInfoByID = async (appID, groupID) => {
|
|
5316
|
+
let queryData = {
|
|
5317
|
+
"param": {
|
|
5318
|
+
"appID": appID,
|
|
5319
|
+
"groupID": groupID
|
|
5320
|
+
}
|
|
5321
|
+
};
|
|
5322
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/getPortalMappingAppInfoByID`, queryData);
|
|
5323
|
+
let appInfo = resultData.data.appInfo;
|
|
5324
|
+
return appInfo;
|
|
5325
|
+
};
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* 查询当前企业组织信息
|
|
5329
|
+
* @param id 组织ID
|
|
5330
|
+
*
|
|
5331
|
+
*/
|
|
5332
|
+
const queryOfficeInfosById = async queryData => {
|
|
5333
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/getOfficeInfosByID`, queryData);
|
|
5334
|
+
let groupDptData = resultData.data.officeData;
|
|
5335
|
+
return groupDptData;
|
|
5336
|
+
};
|
|
5309
5337
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
|
|
5310
5338
|
|
|
5311
5339
|
|