isdata-customer-sdk 0.2.67 → 0.2.69
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
|
@@ -29558,6 +29558,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29558
29558
|
addWindowTrustedOrigin: function() { return /* reexport */ addWindowTrustedOrigin; },
|
|
29559
29559
|
checkTextFormat: function() { return /* reexport */ checkTextFormat; },
|
|
29560
29560
|
createFileFromUrl: function() { return /* reexport */ createFileFromUrl; },
|
|
29561
|
+
createRegistApply: function() { return /* reexport */ createRegistApply; },
|
|
29561
29562
|
destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
|
|
29562
29563
|
extractFilenameFromUrl: function() { return /* reexport */ extractFilenameFromUrl; },
|
|
29563
29564
|
extractNewItems: function() { return /* reexport */ extractNewItems; },
|
|
@@ -29607,6 +29608,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29607
29608
|
getPortalUserSig: function() { return /* reexport */ getPortalUserSig; },
|
|
29608
29609
|
getRobotInfoByID: function() { return /* reexport */ getRobotInfoByID; },
|
|
29609
29610
|
getRoleIDsByUserAndGroupID: function() { return /* reexport */ getRoleIDsByUserAndGroupID; },
|
|
29611
|
+
getTenetInfoByName: function() { return /* reexport */ getTenetInfoByName; },
|
|
29610
29612
|
getThirdAppPathByKey: function() { return /* reexport */ getThirdAppPathByKey; },
|
|
29611
29613
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
29612
29614
|
getUserAllMappngPortal: function() { return /* reexport */ getUserAllMappngPortal; },
|
|
@@ -30485,6 +30487,23 @@ const getPortalInfosByID = async id => {
|
|
|
30485
30487
|
return portalInfo;
|
|
30486
30488
|
};
|
|
30487
30489
|
|
|
30490
|
+
/**
|
|
30491
|
+
* 通过租户名称模糊匹配获取租户信息
|
|
30492
|
+
*
|
|
30493
|
+
* @param {名称信息} name
|
|
30494
|
+
* @returns
|
|
30495
|
+
*/
|
|
30496
|
+
const getTenetInfoByName = async name => {
|
|
30497
|
+
let queryData = {
|
|
30498
|
+
param: {
|
|
30499
|
+
name: name
|
|
30500
|
+
}
|
|
30501
|
+
};
|
|
30502
|
+
let response = await request.post(`/dataservice/rest/orchestration/getTenetInfoByName`, queryData);
|
|
30503
|
+
let resultDatas = response.data.resultDatas;
|
|
30504
|
+
return resultDatas;
|
|
30505
|
+
};
|
|
30506
|
+
|
|
30488
30507
|
/**
|
|
30489
30508
|
* 获取当前用户在门户中的所有映射数据
|
|
30490
30509
|
* @param {信息} data
|
|
@@ -33922,6 +33941,21 @@ const getAccountCountByName = async name => {
|
|
|
33922
33941
|
let count = resultData.data.count;
|
|
33923
33942
|
return count;
|
|
33924
33943
|
};
|
|
33944
|
+
|
|
33945
|
+
/**
|
|
33946
|
+
* 新建账户注册申请
|
|
33947
|
+
* @returns
|
|
33948
|
+
*/
|
|
33949
|
+
const createRegistApply = async registInfo => {
|
|
33950
|
+
let queryData = {
|
|
33951
|
+
param: {
|
|
33952
|
+
registInfo: registInfo
|
|
33953
|
+
}
|
|
33954
|
+
};
|
|
33955
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/createRegistApply`, queryData);
|
|
33956
|
+
let operateResult = resultData.data.operateResult;
|
|
33957
|
+
return operateResult;
|
|
33958
|
+
};
|
|
33925
33959
|
;// ./src/api/utils.js
|
|
33926
33960
|
|
|
33927
33961
|
|