isdata-customer-sdk 0.1.39 → 0.1.42
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.js
CHANGED
|
@@ -22249,6 +22249,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
22249
22249
|
initEventCenter: function() { return /* reexport */ initEventCenter; },
|
|
22250
22250
|
loginAccount: function() { return /* reexport */ loginAccount; },
|
|
22251
22251
|
logoutAccount: function() { return /* reexport */ logoutAccount; },
|
|
22252
|
+
queryAppVariable: function() { return /* reexport */ queryAppVariable; },
|
|
22252
22253
|
queryAssetById: function() { return /* reexport */ queryAssetById; },
|
|
22253
22254
|
queryGroupIDByOfficeId: function() { return /* reexport */ queryGroupIDByOfficeId; },
|
|
22254
22255
|
queryGroupInfosByOfficeId: function() { return /* reexport */ queryGroupInfosByOfficeId; },
|
|
@@ -22933,6 +22934,22 @@ const queryGroupIDByOfficeId = async id => {
|
|
|
22933
22934
|
return group_id;
|
|
22934
22935
|
};
|
|
22935
22936
|
|
|
22937
|
+
/**
|
|
22938
|
+
* 查询当前企业组织的集团组织ID
|
|
22939
|
+
* @param id 组织ID
|
|
22940
|
+
*
|
|
22941
|
+
*/
|
|
22942
|
+
const queryAppVariable = (name, appVariables) => {
|
|
22943
|
+
if (appVariables && appVariables.length > 0) {
|
|
22944
|
+
for (let i = 0; i < appVariables.length; i++) {
|
|
22945
|
+
if (appVariables[i].name === name) {
|
|
22946
|
+
return appVariables[i].defaultValue;
|
|
22947
|
+
}
|
|
22948
|
+
}
|
|
22949
|
+
}
|
|
22950
|
+
return "";
|
|
22951
|
+
};
|
|
22952
|
+
|
|
22936
22953
|
/**
|
|
22937
22954
|
* 添加或更新对象使用次数
|
|
22938
22955
|
* @param {信息} data
|