isdata-customer-sdk 0.2.66 → 0.2.68
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.common.js +34 -0
- package/dist/index.common.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.common.js
CHANGED
|
@@ -29565,6 +29565,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29565
29565
|
fireEvent: function() { return /* reexport */ fireEvent; },
|
|
29566
29566
|
getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
|
|
29567
29567
|
getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
|
|
29568
|
+
getAccountCountByName: function() { return /* reexport */ getAccountCountByName; },
|
|
29568
29569
|
getAllI18nTypes: function() { return /* reexport */ getAllI18nTypes; },
|
|
29569
29570
|
getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
|
|
29570
29571
|
getAppCustomData: function() { return /* reexport */ getAppCustomData; },
|
|
@@ -29606,6 +29607,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29606
29607
|
getPortalUserSig: function() { return /* reexport */ getPortalUserSig; },
|
|
29607
29608
|
getRobotInfoByID: function() { return /* reexport */ getRobotInfoByID; },
|
|
29608
29609
|
getRoleIDsByUserAndGroupID: function() { return /* reexport */ getRoleIDsByUserAndGroupID; },
|
|
29610
|
+
getTenetInfoByName: function() { return /* reexport */ getTenetInfoByName; },
|
|
29609
29611
|
getThirdAppPathByKey: function() { return /* reexport */ getThirdAppPathByKey; },
|
|
29610
29612
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
29611
29613
|
getUserAllMappngPortal: function() { return /* reexport */ getUserAllMappngPortal; },
|
|
@@ -30484,6 +30486,23 @@ const getPortalInfosByID = async id => {
|
|
|
30484
30486
|
return portalInfo;
|
|
30485
30487
|
};
|
|
30486
30488
|
|
|
30489
|
+
/**
|
|
30490
|
+
* 通过租户名称模糊匹配获取租户信息
|
|
30491
|
+
*
|
|
30492
|
+
* @param {名称信息} name
|
|
30493
|
+
* @returns
|
|
30494
|
+
*/
|
|
30495
|
+
const getTenetInfoByName = async name => {
|
|
30496
|
+
let queryData = {
|
|
30497
|
+
param: {
|
|
30498
|
+
name: name
|
|
30499
|
+
}
|
|
30500
|
+
};
|
|
30501
|
+
let response = await request.post(`/dataservice/rest/orchestration/getTenetInfoByName`, queryData);
|
|
30502
|
+
let resultDatas = response.data.resultDatas;
|
|
30503
|
+
return resultDatas;
|
|
30504
|
+
};
|
|
30505
|
+
|
|
30487
30506
|
/**
|
|
30488
30507
|
* 获取当前用户在门户中的所有映射数据
|
|
30489
30508
|
* @param {信息} data
|
|
@@ -33906,6 +33925,21 @@ const getViewKey = async () => {
|
|
|
33906
33925
|
let key = resultData.data.key;
|
|
33907
33926
|
return key;
|
|
33908
33927
|
};
|
|
33928
|
+
|
|
33929
|
+
/**
|
|
33930
|
+
* 通过账号获取账号数量
|
|
33931
|
+
* @returns
|
|
33932
|
+
*/
|
|
33933
|
+
const getAccountCountByName = async name => {
|
|
33934
|
+
let queryData = {
|
|
33935
|
+
param: {
|
|
33936
|
+
accountName: name
|
|
33937
|
+
}
|
|
33938
|
+
};
|
|
33939
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/getAccountCountByName`, queryData);
|
|
33940
|
+
let count = resultData.data.count;
|
|
33941
|
+
return count;
|
|
33942
|
+
};
|
|
33909
33943
|
;// ./src/api/utils.js
|
|
33910
33944
|
|
|
33911
33945
|
|