isdata-customer-sdk 0.2.67 → 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 +18 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +18 -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
|
@@ -29607,6 +29607,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29607
29607
|
getPortalUserSig: function() { return /* reexport */ getPortalUserSig; },
|
|
29608
29608
|
getRobotInfoByID: function() { return /* reexport */ getRobotInfoByID; },
|
|
29609
29609
|
getRoleIDsByUserAndGroupID: function() { return /* reexport */ getRoleIDsByUserAndGroupID; },
|
|
29610
|
+
getTenetInfoByName: function() { return /* reexport */ getTenetInfoByName; },
|
|
29610
29611
|
getThirdAppPathByKey: function() { return /* reexport */ getThirdAppPathByKey; },
|
|
29611
29612
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
29612
29613
|
getUserAllMappngPortal: function() { return /* reexport */ getUserAllMappngPortal; },
|
|
@@ -30485,6 +30486,23 @@ const getPortalInfosByID = async id => {
|
|
|
30485
30486
|
return portalInfo;
|
|
30486
30487
|
};
|
|
30487
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
|
+
|
|
30488
30506
|
/**
|
|
30489
30507
|
* 获取当前用户在门户中的所有映射数据
|
|
30490
30508
|
* @param {信息} data
|