xyvcard-itsmsys 0.0.21 → 0.0.23

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.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-Ddo5V16V.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -109,7 +109,7 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
109
109
  }));
110
110
  };
111
111
  function L() {
112
- oe.treelistDept({}).then(({ data: e }) => {
112
+ oe.treelistDept().then(({ data: e }) => {
113
113
  N.value = e.results;
114
114
  }), se.treelistJob().then(({ data: e }) => {
115
115
  $.value = e.results;
@@ -4,7 +4,7 @@ import { useI18n as me } from "vue-i18n";
4
4
  import { useRouter as pe } from "vue-router";
5
5
  import { D as p, C as N } from "./index-dIcRC4jE.mjs";
6
6
  import { sysUserExtApi as Q } from "./index.mjs";
7
- import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-Ddo5V16V.mjs";
7
+ import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs";
8
8
  import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
9
9
  import ce from "./import-upload-BaJGVcNb.mjs";
10
10
  const fe = { class: "app-container" }, ve = { class: "search-container" }, we = { key: 0 }, ge = ["onClick"], _e = ["onClick"], je = ["onClick"], Me = /* @__PURE__ */ re({
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
@@ -3212,7 +3212,7 @@ class ja {
3212
3212
  });
3213
3213
  }
3214
3214
  }
3215
- const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-tX79QBAc.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-BaJGVcNb.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-BWc93IIa.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-6E3wqxd6.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DybO5r3p.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-Di1yx94g.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-AE3ch4Zw.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-_QJnKCdq.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-CC1Ho43e.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-WHNNztBg.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-DttXGxP3.mjs") }), Ba = {
3215
+ const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-Czi-Vkbf.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-BaJGVcNb.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-q_wZjCJN.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-6E3wqxd6.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DybO5r3p.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-Di1yx94g.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-AE3ch4Zw.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-_QJnKCdq.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-CC1Ho43e.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-WHNNztBg.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-DttXGxP3.mjs") }), Ba = {
3216
3216
  install(e) {
3217
3217
  Ys(za, 7), Os(Us), Va(bs), e.use(Ea);
3218
3218
  }
@@ -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.23",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",