xyvcard-itsmsys 0.0.21 → 0.0.22

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.mjs CHANGED
@@ -3115,7 +3115,7 @@ class Ga {
3115
3115
  // 获取单位数量
3116
3116
  getUnitData(t) {
3117
3117
  const s = D().user.tenant;
3118
- return Y(t), R({
3118
+ return t && (t.hasOrgType = t.orgType != null), Y(t), R({
3119
3119
  url: "/v1/itsmsys/sys_org/count/" + s,
3120
3120
  method: "get",
3121
3121
  params: t
@@ -84,5 +84,6 @@ export interface SysOrgMoveKey {
84
84
  }
85
85
  export interface SysOrgCountReq {
86
86
  tenant?: string;
87
+ hasOrgType: boolean;
87
88
  orgType?: string;
88
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsmsys",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",