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.umd.js
CHANGED
|
@@ -29576,6 +29576,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29576
29576
|
addWindowTrustedOrigin: function() { return /* reexport */ addWindowTrustedOrigin; },
|
|
29577
29577
|
checkTextFormat: function() { return /* reexport */ checkTextFormat; },
|
|
29578
29578
|
createFileFromUrl: function() { return /* reexport */ createFileFromUrl; },
|
|
29579
|
+
createRegistApply: function() { return /* reexport */ createRegistApply; },
|
|
29579
29580
|
destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
|
|
29580
29581
|
extractFilenameFromUrl: function() { return /* reexport */ extractFilenameFromUrl; },
|
|
29581
29582
|
extractNewItems: function() { return /* reexport */ extractNewItems; },
|
|
@@ -29625,6 +29626,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29625
29626
|
getPortalUserSig: function() { return /* reexport */ getPortalUserSig; },
|
|
29626
29627
|
getRobotInfoByID: function() { return /* reexport */ getRobotInfoByID; },
|
|
29627
29628
|
getRoleIDsByUserAndGroupID: function() { return /* reexport */ getRoleIDsByUserAndGroupID; },
|
|
29629
|
+
getTenetInfoByName: function() { return /* reexport */ getTenetInfoByName; },
|
|
29628
29630
|
getThirdAppPathByKey: function() { return /* reexport */ getThirdAppPathByKey; },
|
|
29629
29631
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
29630
29632
|
getUserAllMappngPortal: function() { return /* reexport */ getUserAllMappngPortal; },
|
|
@@ -30503,6 +30505,23 @@ const getPortalInfosByID = async id => {
|
|
|
30503
30505
|
return portalInfo;
|
|
30504
30506
|
};
|
|
30505
30507
|
|
|
30508
|
+
/**
|
|
30509
|
+
* 通过租户名称模糊匹配获取租户信息
|
|
30510
|
+
*
|
|
30511
|
+
* @param {名称信息} name
|
|
30512
|
+
* @returns
|
|
30513
|
+
*/
|
|
30514
|
+
const getTenetInfoByName = async name => {
|
|
30515
|
+
let queryData = {
|
|
30516
|
+
param: {
|
|
30517
|
+
name: name
|
|
30518
|
+
}
|
|
30519
|
+
};
|
|
30520
|
+
let response = await request.post(`/dataservice/rest/orchestration/getTenetInfoByName`, queryData);
|
|
30521
|
+
let resultDatas = response.data.resultDatas;
|
|
30522
|
+
return resultDatas;
|
|
30523
|
+
};
|
|
30524
|
+
|
|
30506
30525
|
/**
|
|
30507
30526
|
* 获取当前用户在门户中的所有映射数据
|
|
30508
30527
|
* @param {信息} data
|
|
@@ -33940,6 +33959,21 @@ const getAccountCountByName = async name => {
|
|
|
33940
33959
|
let count = resultData.data.count;
|
|
33941
33960
|
return count;
|
|
33942
33961
|
};
|
|
33962
|
+
|
|
33963
|
+
/**
|
|
33964
|
+
* 新建账户注册申请
|
|
33965
|
+
* @returns
|
|
33966
|
+
*/
|
|
33967
|
+
const createRegistApply = async registInfo => {
|
|
33968
|
+
let queryData = {
|
|
33969
|
+
param: {
|
|
33970
|
+
registInfo: registInfo
|
|
33971
|
+
}
|
|
33972
|
+
};
|
|
33973
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/createRegistApply`, queryData);
|
|
33974
|
+
let operateResult = resultData.data.operateResult;
|
|
33975
|
+
return operateResult;
|
|
33976
|
+
};
|
|
33943
33977
|
;// ./src/api/utils.js
|
|
33944
33978
|
|
|
33945
33979
|
|