isdata-customer-sdk 0.1.39 → 0.1.40
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 +17 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +17 -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
|
@@ -22259,6 +22259,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
22259
22259
|
initEventCenter: function() { return /* reexport */ initEventCenter; },
|
|
22260
22260
|
loginAccount: function() { return /* reexport */ loginAccount; },
|
|
22261
22261
|
logoutAccount: function() { return /* reexport */ logoutAccount; },
|
|
22262
|
+
queryAppVariable: function() { return /* reexport */ queryAppVariable; },
|
|
22262
22263
|
queryAssetById: function() { return /* reexport */ queryAssetById; },
|
|
22263
22264
|
queryGroupIDByOfficeId: function() { return /* reexport */ queryGroupIDByOfficeId; },
|
|
22264
22265
|
queryGroupInfosByOfficeId: function() { return /* reexport */ queryGroupInfosByOfficeId; },
|
|
@@ -22943,6 +22944,22 @@ const queryGroupIDByOfficeId = async id => {
|
|
|
22943
22944
|
return group_id;
|
|
22944
22945
|
};
|
|
22945
22946
|
|
|
22947
|
+
/**
|
|
22948
|
+
* 查询当前企业组织的集团组织ID
|
|
22949
|
+
* @param id 组织ID
|
|
22950
|
+
*
|
|
22951
|
+
*/
|
|
22952
|
+
const queryAppVariable = async (name, appVariables) => {
|
|
22953
|
+
if (appVariables && appVariables.length > 0) {
|
|
22954
|
+
for (let i = 0; i < appVariables.length; i++) {
|
|
22955
|
+
if (appVariables[i].name === name) {
|
|
22956
|
+
return appVariables[i].defaultValue;
|
|
22957
|
+
}
|
|
22958
|
+
}
|
|
22959
|
+
}
|
|
22960
|
+
return "";
|
|
22961
|
+
};
|
|
22962
|
+
|
|
22946
22963
|
/**
|
|
22947
22964
|
* 添加或更新对象使用次数
|
|
22948
22965
|
* @param {信息} data
|