xyvcard-itsmsys 0.0.17 → 0.0.18

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.
Files changed (32) hide show
  1. package/dist/{edit-BAH_6b13.mjs → edit-C1zg8B0y.mjs} +1 -1
  2. package/dist/{edit-DdBemEtp.mjs → edit-CNFS8ehW.mjs} +2 -2
  3. package/dist/{edit-DgxHpvC6.mjs → edit-Cs3KIwaz.mjs} +2 -2
  4. package/dist/{edit-CJKLiFvj.mjs → edit-CxRGbAP_.mjs} +2 -2
  5. package/dist/{edit-a4L0fy11.mjs → edit-DLN1WFrt.mjs} +1 -1
  6. package/dist/{edit-CfJWdgBx.mjs → edit-DlEW6lB8.mjs} +1 -1
  7. package/dist/{edit-pCyaGLeW.mjs → edit-Dmxyf_Gp.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-CZ1mhblw.mjs → edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-V7Qgl4pY.mjs → edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs} +17 -17
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs → edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs} +1 -1
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bs8-z-IO.mjs → edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs} +1 -1
  12. package/dist/{import-upload-TERPQdeq.mjs → import-upload-BM5kcXdg.mjs} +1 -1
  13. package/dist/{import-upload-BISlCHWj.mjs → import-upload-BvBtwEbI.mjs} +1 -1
  14. package/dist/{import-upload-CzXWmSM6.mjs → import-upload-CjeTCQBx.mjs} +1 -1
  15. package/dist/{index-DRzFGqnW.mjs → index-Bxg8G8aA.mjs} +22 -22
  16. package/dist/{index-byYol6y6.mjs → index-BzqZLipq.mjs} +1 -1
  17. package/dist/{index-BxdZzcjP.mjs → index-CdQGs3Vu.mjs} +25 -25
  18. package/dist/{index-B8RLzH1x.mjs → index-D2BUGsak.mjs} +28 -28
  19. package/dist/{index-rAUwvtcF.mjs → index-D2e-NU3E.mjs} +1 -1
  20. package/dist/{index-DGX9vRbo.mjs → index-Dsf1qOUx.mjs} +1 -1
  21. package/dist/{index-C57850Qg.mjs → index-EhejgmO6.mjs} +22 -22
  22. package/dist/{index-ekie5iUI.mjs → index-nhzVBt2y.mjs} +1 -1
  23. package/dist/index.mjs +2 -2
  24. package/dist/{index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs → index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs} +2 -2
  25. package/dist/{info-BraECWiO.mjs → info-B2d8xPwW.mjs} +1 -1
  26. package/dist/{info-to4iDhQX.mjs → info-BZ7IZet8.mjs} +1 -1
  27. package/dist/{info-BNw5IiGi.mjs → info-CCfX-q4c.mjs} +1 -1
  28. package/dist/{info-Cjx0ceNM.mjs → info-CoizfoOq.mjs} +1 -1
  29. package/dist/{info-BqQdA6b-.mjs → info-DBObKyIh.mjs} +1 -1
  30. package/dist/{info-DHxVt25p.mjs → info-rnc-sgQt.mjs} +1 -1
  31. package/dts/api/itsm-sys-user-ext/types.d.ts +1 -0
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-Bs8-z-IO.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,9 +3,9 @@ import { ElMessage as $ } from "element-plus";
3
3
  import { s as E } from "./index-B2xwBTw-.mjs";
4
4
  import { useI18n as D } from "vue-i18n";
5
5
  import { useRoute as J, useRouter as z } from "vue-router";
6
- import { C as b } from "./index-C57850Qg.mjs";
6
+ import { C as b } from "./index-EhejgmO6.mjs";
7
7
  import { sysOrgApi as y } from "./index.mjs";
8
- import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
8
+ import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
9
9
  import { routerUtil as v } from "jmash-core";
10
10
  const Q = { class: "app-container" }, re = /* @__PURE__ */ I({
11
11
  __name: "edit",
@@ -4,9 +4,9 @@ import { s as J } from "./index-B2xwBTw-.mjs";
4
4
  import { useI18n as H } from "vue-i18n";
5
5
  import { useRoute as Q, useRouter as W } from "vue-router";
6
6
  import { routerUtil as $ } from "jmash-core";
7
- import { C as y, D as R } from "./index-C57850Qg.mjs";
7
+ import { C as y, D as R } from "./index-EhejgmO6.mjs";
8
8
  import { sysOrgApi as b } from "./index.mjs";
9
- import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
9
+ import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
10
10
  const Y = { class: "app-container" }, de = /* @__PURE__ */ A({
11
11
  __name: "edit",
12
12
  setup(Z) {
@@ -4,9 +4,9 @@ import { s as E } from "./index-B2xwBTw-.mjs";
4
4
  import { useI18n as D } from "vue-i18n";
5
5
  import { useRoute as J, useRouter as z } from "vue-router";
6
6
  import { routerUtil as v } from "jmash-core";
7
- import { C as b } from "./index-C57850Qg.mjs";
7
+ import { C as b } from "./index-EhejgmO6.mjs";
8
8
  import { sysOrgApi as y } from "./index.mjs";
9
- import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
9
+ import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
10
10
  const Q = { class: "app-container" }, se = /* @__PURE__ */ I({
11
11
  __name: "edit",
12
12
  setup(W) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-V7Qgl4pY.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-CZ1mhblw.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,7 +2,7 @@ import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reacti
2
2
  import { ElMessage as j } from "element-plus";
3
3
  import { useI18n as Z } from "vue-i18n";
4
4
  import { sysUserExtApi as b } from "./index.mjs";
5
- import { D as f, C as y } from "./index-C57850Qg.mjs";
5
+ import { D as f, C as y } from "./index-EhejgmO6.mjs";
6
6
  const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
7
7
  __name: "edit",
8
8
  props: /* @__PURE__ */ R({
@@ -1,7 +1,7 @@
1
- import { defineComponent as Q, mergeModels as S, ref as b, useModel as W, reactive as A, resolveComponent as m, openBlock as U, createBlock as V, withCtx as s, createElementVNode as Y, createVNode as l, createTextVNode as I, toDisplayString as M, unref as r, createCommentVNode as D } from "vue";
2
- import { ElMessage as C } from "element-plus";
1
+ import { defineComponent as Q, mergeModels as S, ref as g, useModel as W, reactive as A, resolveComponent as m, openBlock as U, createBlock as V, withCtx as s, createElementVNode as Y, createVNode as l, createTextVNode as I, toDisplayString as M, unref as r, createCommentVNode as D } from "vue";
2
+ import { ElMessage as O } from "element-plus";
3
3
  import { useI18n as x } from "vue-i18n";
4
- import { D as y, C as w } from "./index-C57850Qg.mjs";
4
+ import { D as y, C as w } from "./index-EhejgmO6.mjs";
5
5
  import { deptApi as ee, jobApi as le, roleApi as ae } from "jmash-rbac";
6
6
  import { sysUserExtApi as $, sysOrgApi as se } from "./index.mjs";
7
7
  import { generateRandomKey as oe } from "jmash-core";
@@ -18,8 +18,8 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
18
18
  modelModifiers: {}
19
19
  }),
20
20
  emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
21
- setup(q, { emit: O }) {
22
- const { t: u } = x(), v = b(), R = b(), N = b(), j = b(), p = W(q, "modelValue"), _ = O;
21
+ setup(q, { emit: C }) {
22
+ const { t: u } = x(), v = g(), R = g(), N = g(), j = g(), p = W(q, "modelValue"), _ = C;
23
23
  y.sysOrgBizDict.useValues(), y.parentIdBizDict.useValues();
24
24
  let a = A({
25
25
  requestId: Math.random() * 10 + "",
@@ -86,20 +86,20 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
86
86
  trigger: "blur"
87
87
  }
88
88
  ]
89
- }), P = q, z = Object.keys(P.entityKey), g = b(z.length >= 1);
90
- g.value && $.findById(P.entityKey).then(({ data: e }) => {
89
+ }), P = q, z = Object.keys(P.entityKey), b = g(z.length >= 1);
90
+ b.value && $.findById(P.entityKey).then(({ data: e }) => {
91
91
  Object.assign(a, e), a.gender === "unknown" && (a.gender = "");
92
92
  });
93
93
  const T = async () => {
94
94
  var e;
95
95
  await ((e = j.value) == null ? void 0 : e.validate((o) => {
96
- o && (g.value ? $.update(a).then((i) => {
97
- i.status === 200 && (C({
96
+ o && (b.value ? $.update(a).then((i) => {
97
+ i.status === 200 && (O({
98
98
  message: u("common.submitSuccess"),
99
99
  type: "success"
100
100
  }), p.value && (p.value = !1), _("refresh", i.status === 200));
101
101
  }) : $.create(a).then((i) => {
102
- i.status === 200 && (C({
102
+ i.status === 200 && (O({
103
103
  message: u("common.submitSuccess"),
104
104
  type: "success"
105
105
  }), p.value && (p.value = !1), _("refresh", i.status === 200));
@@ -117,7 +117,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
117
117
  }
118
118
  K();
119
119
  function F() {
120
- g.value || se.findPage({ orgType: w.orgType.cloud }).then(({ data: { results: e } }) => {
120
+ b.value || se.findOutSourceList({ orgType: w.orgType.cloud }).then(({ data: { results: e } }) => {
121
121
  a.orgId = e[0].orgId;
122
122
  });
123
123
  }
@@ -129,7 +129,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
129
129
  p.value && (p.value = !1);
130
130
  }
131
131
  return (e, o) => {
132
- const i = m("jmash-select"), d = m("el-form-item"), n = m("el-col"), f = m("el-input"), G = m("jmash-enum-select"), c = m("el-tree-select"), J = m("jmash-enum-radio"), h = m("el-button"), L = m("el-row"), X = m("el-form"), H = m("el-dialog");
132
+ const i = m("jmash-select"), d = m("el-form-item"), n = m("el-col"), f = m("el-input"), L = m("jmash-enum-select"), c = m("el-tree-select"), G = m("jmash-enum-radio"), h = m("el-button"), J = m("el-row"), X = m("el-form"), H = m("el-dialog");
133
133
  return U(), V(H, {
134
134
  modelValue: p.value,
135
135
  "onUpdate:modelValue": o[13] || (o[13] = (t) => p.value = t),
@@ -163,7 +163,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
163
163
  rules: E
164
164
  }, {
165
165
  default: s(() => [
166
- l(L, null, {
166
+ l(J, null, {
167
167
  default: s(() => [
168
168
  l(n, { span: 12 }, {
169
169
  default: s(() => [
@@ -186,7 +186,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
186
186
  ]),
187
187
  _: 1
188
188
  }),
189
- g.value ? D("", !0) : (U(), V(n, {
189
+ b.value ? D("", !0) : (U(), V(n, {
190
190
  key: 0,
191
191
  span: 12
192
192
  }, {
@@ -238,7 +238,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
238
238
  prop: "gender"
239
239
  }, {
240
240
  default: s(() => [
241
- l(G, {
241
+ l(L, {
242
242
  modelValue: r(a).gender,
243
243
  "onUpdate:modelValue": o[3] || (o[3] = (t) => r(a).gender = t),
244
244
  clearable: "",
@@ -370,7 +370,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
370
370
  prop: "jobStatus"
371
371
  }, {
372
372
  default: s(() => [
373
- l(J, {
373
+ l(G, {
374
374
  modelValue: r(a).jobStatus,
375
375
  "onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).jobStatus = t),
376
376
  data: r(y).jobStatusDictEnum.values
@@ -406,7 +406,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
406
406
  ]),
407
407
  _: 1
408
408
  }),
409
- g.value ? D("", !0) : (U(), V(n, {
409
+ b.value ? D("", !0) : (U(), V(n, {
410
410
  key: 1,
411
411
  span: 12
412
412
  }, {
@@ -3,7 +3,7 @@ import { ElMessage as q } from "element-plus";
3
3
  import { useI18n as L } from "vue-i18n";
4
4
  import { useRoute as z } from "vue-router";
5
5
  import { s as b } from "./index-B6vJj_z6.mjs";
6
- import { D as G, C as T } from "./index-C57850Qg.mjs";
6
+ import { D as G, C as T } from "./index-EhejgmO6.mjs";
7
7
  const H = { class: "dialog-footer" }, Z = /* @__PURE__ */ K({
8
8
  __name: "edit",
9
9
  props: /* @__PURE__ */ R({
@@ -2,7 +2,7 @@ import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reacti
2
2
  import { ElMessage as j } from "element-plus";
3
3
  import { useI18n as Z } from "vue-i18n";
4
4
  import { sysUserExtApi as b } from "./index.mjs";
5
- import { D as f, C as y } from "./index-C57850Qg.mjs";
5
+ import { D as f, C as y } from "./index-EhejgmO6.mjs";
6
6
  const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
7
7
  __name: "edit",
8
8
  props: /* @__PURE__ */ R({
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
2
2
  import { useI18n as L } from "vue-i18n";
3
3
  import { ElMessage as f } from "element-plus";
4
4
  import { fileApi as w, useUserStore as D } from "jmash-core";
5
- import { D as I } from "./index-C57850Qg.mjs";
5
+ import { D as I } from "./index-EhejgmO6.mjs";
6
6
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
8
8
  __name: "import-upload",
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
2
2
  import { useI18n as L } from "vue-i18n";
3
3
  import { ElMessage as f } from "element-plus";
4
4
  import { fileApi as w, useUserStore as D } from "jmash-core";
5
- import { D as I } from "./index-C57850Qg.mjs";
5
+ import { D as I } from "./index-EhejgmO6.mjs";
6
6
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
8
8
  __name: "import-upload",
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
2
2
  import { useI18n as L } from "vue-i18n";
3
3
  import { ElMessage as f } from "element-plus";
4
4
  import { fileApi as w, useUserStore as D } from "jmash-core";
5
- import { D as I } from "./index-C57850Qg.mjs";
5
+ import { D as I } from "./index-EhejgmO6.mjs";
6
6
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
8
8
  __name: "import-upload",
@@ -1,19 +1,19 @@
1
- import { defineComponent as re, ref as S, reactive as P, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as M, createCommentVNode as O, vShow as J } from "vue";
1
+ import { defineComponent as re, ref as S, reactive as M, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as J, createCommentVNode as O, vShow as q } from "vue";
2
2
  import { useTableHooks as ie } from "jmash-core";
3
3
  import { useI18n as de } from "vue-i18n";
4
4
  import { useRouter as pe } from "vue-router";
5
- import { D as p, C as q } from "./index-C57850Qg.mjs";
5
+ import { D as p, C as D } from "./index-EhejgmO6.mjs";
6
6
  import { sysUserExtApi as z } from "./index.mjs";
7
- import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-Bs8-z-IO.mjs";
7
+ import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs";
8
8
  import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import be from "./import-upload-TERPQdeq.mjs";
9
+ import be from "./import-upload-BM5kcXdg.mjs";
10
10
  const ge = { class: "app-container" }, fe = { class: "search-container" }, ce = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], je = /* @__PURE__ */ re({
11
11
  __name: "index",
12
12
  setup(Ce) {
13
13
  const { t: C } = de(), B = pe();
14
14
  p.sysOutBizDict.useValues();
15
15
  const r = S({
16
- userType: q.userType.outsourceOps
16
+ userType: D.userType.outsourceOps
17
17
  }), {
18
18
  tableHooks: u,
19
19
  multipleTableRef: K,
@@ -101,16 +101,16 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
101
101
  isColumn: !0
102
102
  }
103
103
  ]);
104
- function D(l) {
104
+ function I(l) {
105
105
  l.showEncrypt = !l.showEncrypt;
106
106
  }
107
107
  const b = S({
108
108
  title: C("common.edit"),
109
109
  visible: !1
110
110
  });
111
- let j = P({});
111
+ let j = M({});
112
112
  function A() {
113
- j = P({}), b.value.title = C("common.add"), b.value.visible = !0;
113
+ j = M({}), b.value.title = C("common.add"), b.value.visible = !0;
114
114
  }
115
115
  function x(l) {
116
116
  j.userId = l.userId, b.value.title = C("common.edit"), b.value.visible = !0;
@@ -134,7 +134,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
134
134
  });
135
135
  }
136
136
  function X(l) {
137
- l.updateMask = "", u.importExcel(l).then(() => {
137
+ l.updateMask = "", l.userType = D.userType.outsourceOps, u.importExcel(l).then(() => {
138
138
  $.value = !1;
139
139
  });
140
140
  }
@@ -148,7 +148,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
148
148
  l && u.getList();
149
149
  }
150
150
  return u.getList(), (l, t) => {
151
- const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), I = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), N = i("el-tag"), R = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ue("hasPerm");
151
+ const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), N = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), P = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ue("hasPerm");
152
152
  return d(), V("div", ge, [
153
153
  m("div", fe, [
154
154
  a(le, {
@@ -158,7 +158,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
158
158
  inline: !0
159
159
  }, {
160
160
  default: o(() => [
161
- a(I, null, {
161
+ a(N, null, {
162
162
  default: o(() => [
163
163
  a(g, { span: 6 }, {
164
164
  default: o(() => [
@@ -304,7 +304,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
304
304
  class: "table-container"
305
305
  }, {
306
306
  header: o(() => [
307
- a(I, null, {
307
+ a(N, null, {
308
308
  default: o(() => [
309
309
  a(g, { span: 17 }, {
310
310
  default: o(() => [
@@ -352,7 +352,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
352
352
  ]),
353
353
  a(oe, {
354
354
  modelValue: n(h),
355
- "onUpdate:modelValue": t[14] || (t[14] = (e) => M(h) ? h.value = e : h = e),
355
+ "onUpdate:modelValue": t[14] || (t[14] = (e) => J(h) ? h.value = e : h = e),
356
356
  "label-name": "itsmsys/itsm-sys-user-ext"
357
357
  }, null, 8, ["modelValue"])
358
358
  ]),
@@ -366,7 +366,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
366
366
  n(T) > 0 ? (d(), c(ae, {
367
367
  key: 0,
368
368
  total: n(T),
369
- "onUpdate:total": t[15] || (t[15] = (e) => M(T) ? T.value = e : null),
369
+ "onUpdate:total": t[15] || (t[15] = (e) => J(T) ? T.value = e : null),
370
370
  "current-page": r.value.curPage,
371
371
  "onUpdate:currentPage": t[16] || (t[16] = (e) => r.value.curPage = e),
372
372
  "page-size": r.value.pageSize,
@@ -399,7 +399,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
399
399
  ]),
400
400
  jobStatus: o((e) => [
401
401
  m("span", null, [
402
- e.data.row.jobStatus === n(q).jobStatus.working ? (d(), c(N, {
402
+ e.data.row.jobStatus === n(D).jobStatus.working ? (d(), c(R, {
403
403
  key: 0,
404
404
  type: "primary"
405
405
  }, {
@@ -407,7 +407,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
407
407
  y(s(n(p).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
408
408
  ]),
409
409
  _: 2
410
- }, 1024)) : (d(), c(N, {
410
+ }, 1024)) : (d(), c(R, {
411
411
  key: 1,
412
412
  type: "danger"
413
413
  }, {
@@ -435,17 +435,17 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
435
435
  ]),
436
436
  operation: o((e) => [
437
437
  e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ce, [
438
- f(a(R, {
438
+ f(a(P, {
439
439
  "icon-class": "close-eye",
440
- onClick: (E) => D(e.data.row)
440
+ onClick: (E) => I(e.data.row)
441
441
  }, null, 8, ["onClick"]), [
442
- [J, !e.data.row.showEncrypt]
442
+ [q, !e.data.row.showEncrypt]
443
443
  ]),
444
- f(a(R, {
444
+ f(a(P, {
445
445
  "icon-class": "eye-open",
446
- onClick: (E) => D(e.data.row)
446
+ onClick: (E) => I(e.data.row)
447
447
  }, null, 8, ["onClick"]), [
448
- [J, e.data.row.showEncrypt]
448
+ [q, e.data.row.showEncrypt]
449
449
  ])
450
450
  ])) : O("", !0),
451
451
  f((d(), V("span", {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective as X, openBlock as m, createElementBlock as h, createElementVNode as V, createVNode as n, withCtx as l, withKeys as N, unref as a, createTextVNode as d, toDisplayString as u, withDirectives as b, createBlock as C, isRef as O, createCommentVNode as Y } from "vue";
2
2
  import { useTableHooks as Z } from "jmash-core";
3
3
  import { useI18n as x } from "vue-i18n";
4
- import { C as k, D as ee } from "./index-C57850Qg.mjs";
4
+ import { C as k, D as ee } from "./index-EhejgmO6.mjs";
5
5
  import { sysOrgApi as oe } from "./index.mjs";
6
6
  import { useRouter as te } from "vue-router";
7
7
  const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], ge = /* @__PURE__ */ W({
@@ -1,19 +1,19 @@
1
- import { defineComponent as re, ref as U, reactive as z, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as k, createElementVNode as b, createVNode as a, withCtx as o, withKeys as V, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as f, isRef as B, createCommentVNode as S, vShow as q } from "vue";
1
+ import { defineComponent as re, ref as U, reactive as B, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as k, createElementVNode as b, createVNode as a, withCtx as o, withKeys as V, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
2
  import { useTableHooks as ie } from "jmash-core";
3
3
  import { useI18n as de } from "vue-i18n";
4
4
  import { useRouter as me } from "vue-router";
5
- import { D as p, C as K } from "./index-C57850Qg.mjs";
5
+ import { D as p, C as N } from "./index-EhejgmO6.mjs";
6
6
  import { sysUserExtApi as Q } from "./index.mjs";
7
- import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-V7Qgl4pY.mjs";
7
+ import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs";
8
8
  import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import be from "./import-upload-CzXWmSM6.mjs";
9
+ import be from "./import-upload-CjeTCQBx.mjs";
10
10
  const ce = { class: "app-container" }, fe = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], ge = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
11
11
  __name: "index",
12
12
  setup(je) {
13
13
  const { t: g } = de(), L = me();
14
14
  p.deptBizDict.useValues(), p.jobBizDict.useValues();
15
15
  const r = U({
16
- userType: K.userType.companyManager
16
+ userType: N.userType.companyManager
17
17
  }), {
18
18
  tableHooks: u,
19
19
  multipleTableRef: x,
@@ -91,16 +91,16 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
91
91
  isColumn: !0
92
92
  }
93
93
  ]);
94
- function M(l) {
94
+ function T(l) {
95
95
  l.showEncrypt = !l.showEncrypt;
96
96
  }
97
97
  const y = U({
98
98
  title: g("common.edit"),
99
99
  visible: !1
100
100
  });
101
- let E = z({});
101
+ let E = B({});
102
102
  function O() {
103
- E = z({}), y.value.title = g("common.add"), y.value.visible = !0;
103
+ E = B({}), y.value.title = g("common.add"), y.value.visible = !0;
104
104
  }
105
105
  function G(l) {
106
106
  E.userId = l.userId, y.value.title = g("common.edit"), y.value.visible = !0;
@@ -124,7 +124,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
124
124
  });
125
125
  }
126
126
  function Y(l) {
127
- l.updateMask = "", u.importExcel(l).then(() => {
127
+ l.updateMask = "", l.userType = N.userType.companyManager, u.importExcel(l).then(() => {
128
128
  j.value = !1;
129
129
  });
130
130
  }
@@ -138,7 +138,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
138
138
  l && u.getList();
139
139
  }
140
140
  return u.getList(), (l, t) => {
141
- const D = i("el-input"), h = i("el-form-item"), v = i("el-col"), N = i("jmash-select"), C = i("el-button"), T = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), P = i("el-tag"), R = i("svg-icon"), ae = i("jmash-table"), ne = i("jmash-pagination"), se = i("el-card"), w = ue("hasPerm");
141
+ const D = i("el-input"), h = i("el-form-item"), v = i("el-col"), M = i("jmash-select"), C = i("el-button"), P = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), z = i("svg-icon"), ae = i("jmash-table"), ne = i("jmash-pagination"), se = i("el-card"), w = ue("hasPerm");
142
142
  return d(), k("div", ce, [
143
143
  b("div", fe, [
144
144
  a(le, {
@@ -148,7 +148,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
148
148
  inline: !0
149
149
  }, {
150
150
  default: o(() => [
151
- a(T, null, {
151
+ a(P, null, {
152
152
  default: o(() => [
153
153
  a(v, { span: 6 }, {
154
154
  default: o(() => [
@@ -178,7 +178,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
178
178
  prop: "deptId"
179
179
  }, {
180
180
  default: o(() => [
181
- a(N, {
181
+ a(M, {
182
182
  modelValue: r.value.deptId,
183
183
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.deptId = e),
184
184
  placeholder: l.$t("sysUserMan.deptIdRequired"),
@@ -199,7 +199,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
199
199
  prop: "jobId"
200
200
  }, {
201
201
  default: o(() => [
202
- a(N, {
202
+ a(M, {
203
203
  modelValue: r.value.jobId,
204
204
  "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.jobId = e),
205
205
  placeholder: l.$t("sysUserMan.jobIdRequired"),
@@ -220,7 +220,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
220
220
  prop: "jobStatus"
221
221
  }, {
222
222
  default: o(() => [
223
- a(N, {
223
+ a(M, {
224
224
  modelValue: r.value.jobStatus,
225
225
  "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.jobStatus = e),
226
226
  placeholder: l.$t("sysUserMan.jobStatusRequired"),
@@ -274,7 +274,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
274
274
  class: "table-container"
275
275
  }, {
276
276
  header: o(() => [
277
- a(T, null, {
277
+ a(P, null, {
278
278
  default: o(() => [
279
279
  a(v, { span: 17 }, {
280
280
  default: o(() => [
@@ -322,7 +322,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
322
322
  ]),
323
323
  a(oe, {
324
324
  modelValue: n(_),
325
- "onUpdate:modelValue": t[12] || (t[12] = (e) => B(_) ? _.value = e : _ = e),
325
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => q(_) ? _.value = e : _ = e),
326
326
  "label-name": "itsmsys/itsm-sys-user-ext"
327
327
  }, null, 8, ["modelValue"])
328
328
  ]),
@@ -336,7 +336,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
336
336
  n(I) > 0 ? (d(), f(ne, {
337
337
  key: 0,
338
338
  total: n(I),
339
- "onUpdate:total": t[13] || (t[13] = (e) => B(I) ? I.value = e : null),
339
+ "onUpdate:total": t[13] || (t[13] = (e) => q(I) ? I.value = e : null),
340
340
  "current-page": r.value.curPage,
341
341
  "onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
342
342
  "page-size": r.value.pageSize,
@@ -372,7 +372,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
372
372
  ]),
373
373
  jobStatus: o((e) => [
374
374
  b("span", null, [
375
- e.data.row.jobStatus === n(K).jobStatus.working ? (d(), f(P, {
375
+ e.data.row.jobStatus === n(N).jobStatus.working ? (d(), f(R, {
376
376
  key: 0,
377
377
  type: "primary"
378
378
  }, {
@@ -380,7 +380,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
380
380
  m(s(n(p).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
381
381
  ]),
382
382
  _: 2
383
- }, 1024)) : (d(), f(P, {
383
+ }, 1024)) : (d(), f(R, {
384
384
  key: 1,
385
385
  type: "danger"
386
386
  }, {
@@ -393,17 +393,17 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve =
393
393
  ]),
394
394
  operation: o((e) => [
395
395
  e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), k("span", ve, [
396
- c(a(R, {
396
+ c(a(z, {
397
397
  "icon-class": "close-eye",
398
- onClick: ($) => M(e.data.row)
398
+ onClick: ($) => T(e.data.row)
399
399
  }, null, 8, ["onClick"]), [
400
- [q, !e.data.row.showEncrypt]
400
+ [K, !e.data.row.showEncrypt]
401
401
  ]),
402
- c(a(R, {
402
+ c(a(z, {
403
403
  "icon-class": "eye-open",
404
- onClick: ($) => M(e.data.row)
404
+ onClick: ($) => T(e.data.row)
405
405
  }, null, 8, ["onClick"]), [
406
- [q, e.data.row.showEncrypt]
406
+ [K, e.data.row.showEncrypt]
407
407
  ])
408
408
  ])) : S("", !0),
409
409
  c((d(), k("span", {
@@ -1,24 +1,24 @@
1
- import { defineComponent as re, ref as V, reactive as I, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as J, createCommentVNode as S, vShow as q } from "vue";
1
+ import { defineComponent as re, ref as V, reactive as J, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
2
  import { useTableHooks as ue } from "jmash-core";
3
3
  import { useI18n as de } from "vue-i18n";
4
4
  import { useRouter as pe } from "vue-router";
5
- import { C as K, D as y } from "./index-C57850Qg.mjs";
5
+ import { C as O, D as y } from "./index-EhejgmO6.mjs";
6
6
  import { sysUserExtApi as Q } from "./index.mjs";
7
- import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-CZ1mhblw.mjs";
7
+ import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs";
8
8
  import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import be from "./import-upload-BISlCHWj.mjs";
9
+ import be from "./import-upload-BvBtwEbI.mjs";
10
10
  const ce = { class: "app-container" }, fe = { class: "search-container" }, ge = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
11
11
  __name: "index",
12
12
  setup(Ce) {
13
13
  const { t: w } = de(), z = pe(), r = V({
14
- userType: K.userType.companyOps
14
+ userType: O.userType.companyOps
15
15
  }), {
16
16
  tableHooks: i,
17
17
  multipleTableRef: L,
18
18
  queryFormRef: x,
19
19
  listLoading: B,
20
20
  tableData: F,
21
- total: U
21
+ total: T
22
22
  } = ue(w, Q, r);
23
23
  let _ = V([
24
24
  {
@@ -91,16 +91,16 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
91
91
  isColumn: !0
92
92
  }
93
93
  ]);
94
- function O(o) {
94
+ function M(o) {
95
95
  o.showEncrypt = !o.showEncrypt;
96
96
  }
97
97
  const b = V({
98
98
  title: w("common.edit"),
99
99
  visible: !1
100
100
  });
101
- let j = I({});
101
+ let j = J({});
102
102
  function A() {
103
- j = I({}), b.value.title = w("common.add"), b.value.visible = !0;
103
+ j = J({}), b.value.title = w("common.add"), b.value.visible = !0;
104
104
  }
105
105
  function H(o) {
106
106
  j.userId = o.userId, b.value.title = w("common.edit"), b.value.visible = !0;
@@ -124,7 +124,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
124
124
  });
125
125
  }
126
126
  function Y(o) {
127
- o.updateMask = "", i.importExcel(o).then(() => {
127
+ o.updateMask = "", o.userType = O.userType.companyOps, i.importExcel(o).then(() => {
128
128
  C.value = !1;
129
129
  });
130
130
  }
@@ -138,7 +138,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
138
138
  o && i.getList();
139
139
  }
140
140
  return i.getList(), (o, t) => {
141
- const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), M = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), P = u("el-tag"), R = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
141
+ const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), P = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), R = u("el-tag"), I = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
142
142
  return d(), $("div", ce, [
143
143
  m("div", fe, [
144
144
  a(oe, {
@@ -148,7 +148,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
148
148
  inline: !0
149
149
  }, {
150
150
  default: l(() => [
151
- a(M, null, {
151
+ a(P, null, {
152
152
  default: l(() => [
153
153
  a(g, { span: 6 }, {
154
154
  default: l(() => [
@@ -273,7 +273,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
273
273
  class: "table-container"
274
274
  }, {
275
275
  header: l(() => [
276
- a(M, null, {
276
+ a(P, null, {
277
277
  default: l(() => [
278
278
  a(g, { span: 17 }, {
279
279
  default: l(() => [
@@ -321,7 +321,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
321
321
  ]),
322
322
  a(le, {
323
323
  modelValue: n(_),
324
- "onUpdate:modelValue": t[12] || (t[12] = (e) => J(_) ? _.value = e : _ = e),
324
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => q(_) ? _.value = e : _ = e),
325
325
  "label-name": "itsmsys/itsm-sys-user-ext"
326
326
  }, null, 8, ["modelValue"])
327
327
  ]),
@@ -332,10 +332,10 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
332
332
  })
333
333
  ]),
334
334
  footer: l(() => [
335
- n(U) > 0 ? (d(), f(ae, {
335
+ n(T) > 0 ? (d(), f(ae, {
336
336
  key: 0,
337
- total: n(U),
338
- "onUpdate:total": t[13] || (t[13] = (e) => J(U) ? U.value = e : null),
337
+ total: n(T),
338
+ "onUpdate:total": t[13] || (t[13] = (e) => q(T) ? T.value = e : null),
339
339
  "current-page": r.value.curPage,
340
340
  "onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
341
341
  "page-size": r.value.pageSize,
@@ -365,7 +365,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
365
365
  ]),
366
366
  jobStatus: l((e) => [
367
367
  m("span", null, [
368
- e.data.row.jobStatus === n(K).jobStatus.working ? (d(), f(P, {
368
+ e.data.row.jobStatus === n(O).jobStatus.working ? (d(), f(R, {
369
369
  key: 0,
370
370
  type: "primary"
371
371
  }, {
@@ -373,7 +373,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
373
373
  p(s(n(y).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
374
374
  ]),
375
375
  _: 2
376
- }, 1024)) : (d(), f(P, {
376
+ }, 1024)) : (d(), f(R, {
377
377
  key: 1,
378
378
  type: "danger"
379
379
  }, {
@@ -401,22 +401,22 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
401
401
  ]),
402
402
  operation: l((e) => [
403
403
  e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ge, [
404
- c(a(R, {
404
+ c(a(I, {
405
405
  "icon-class": "close-eye",
406
- onClick: (T) => O(e.data.row)
406
+ onClick: (U) => M(e.data.row)
407
407
  }, null, 8, ["onClick"]), [
408
- [q, !e.data.row.showEncrypt]
408
+ [K, !e.data.row.showEncrypt]
409
409
  ]),
410
- c(a(R, {
410
+ c(a(I, {
411
411
  "icon-class": "eye-open",
412
- onClick: (T) => O(e.data.row)
412
+ onClick: (U) => M(e.data.row)
413
413
  }, null, 8, ["onClick"]), [
414
- [q, e.data.row.showEncrypt]
414
+ [K, e.data.row.showEncrypt]
415
415
  ])
416
416
  ])) : S("", !0),
417
417
  c((d(), $("span", {
418
418
  class: "el-button-color dropdown-left",
419
- onClick: (T) => H(e.data.row)
419
+ onClick: (U) => H(e.data.row)
420
420
  }, [
421
421
  p(s(o.$t("common.edit")), 1)
422
422
  ], 8, ve)), [
@@ -424,7 +424,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
424
424
  ]),
425
425
  c((d(), $("span", {
426
426
  class: "el-button-color dropdown-left",
427
- onClick: (T) => n(i).deleteRecord(e.data.row)
427
+ onClick: (U) => n(i).deleteRecord(e.data.row)
428
428
  }, [
429
429
  p(s(o.$t("common.delete")), 1)
430
430
  ], 8, we)), [
@@ -432,7 +432,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
432
432
  ]),
433
433
  c((d(), $("span", {
434
434
  class: "el-button-color dropdown-left",
435
- onClick: (T) => G(e.data.row)
435
+ onClick: (U) => G(e.data.row)
436
436
  }, [
437
437
  p(s(o.$t("common.view")), 1)
438
438
  ], 8, _e)), [
@@ -2,7 +2,7 @@ import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective
2
2
  import { useTableHooks as Z } from "jmash-core";
3
3
  import { useI18n as x } from "vue-i18n";
4
4
  import { useRouter as ee } from "vue-router";
5
- import { C as k, D as te } from "./index-C57850Qg.mjs";
5
+ import { C as k, D as te } from "./index-EhejgmO6.mjs";
6
6
  import { sysOrgApi as oe } from "./index.mjs";
7
7
  const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
8
8
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,9 +2,9 @@ var T = Object.defineProperty;
2
2
  var d = (a, i, t) => i in a ? T(a, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[i] = t;
3
3
  var s = (a, i, t) => d(a, typeof i != "symbol" ? i + "" : i, t);
4
4
  import { ref as m } from "vue";
5
- import { BizLayDict as _, BizDict as n, CustomBizDict as h, EnumDict as o } from "jmash-core";
5
+ import { BizLayDict as S, BizDict as n, CustomBizDict as _, EnumDict as E } from "jmash-core";
6
6
  import { sysOrgApi as l } from "./index.mjs";
7
- import { deptApi as S, jobApi as N } from "jmash-rbac";
7
+ import { deptApi as h, jobApi as N } from "jmash-rbac";
8
8
  import { EntryDict as O } from "jmash-dict";
9
9
  class e {
10
10
  }
@@ -75,7 +75,7 @@ s(e, "taxRate", {
75
75
  max: 0.99
76
76
  }), // 岗位字典传参
77
77
  s(e, "roleType", "job");
78
- class g extends _ {
78
+ class M extends S {
79
79
  // 实现 useValues 方法
80
80
  useValues(i) {
81
81
  return new Promise((t, u) => {
@@ -83,8 +83,8 @@ class g extends _ {
83
83
  t(this.values);
84
84
  return;
85
85
  }
86
- const E = { ...this.query, excludeOrgId: i };
87
- l.findList(E).then(({ data: c }) => {
86
+ const o = { ...this.query, excludeOrgId: i };
87
+ l.findList(o).then(({ data: c }) => {
88
88
  const y = c.results;
89
89
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(y)), t(this.values);
90
90
  }).catch(u);
@@ -103,10 +103,10 @@ class p extends n {
103
103
  // 实现 useValues 方法
104
104
  useValues() {
105
105
  return new Promise((i, t) => {
106
- l.findPage(this.query).then(({ data: u }) => {
107
- const E = u.results;
106
+ l.findOutSourceList(this.query).then(({ data: u }) => {
107
+ const o = u.results;
108
108
  this.values.length = 0, this.values.push(
109
- ...E.map(
109
+ ...o.map(
110
110
  (c) => ({
111
111
  key: c.orgId,
112
112
  value: c.orgName
@@ -117,14 +117,14 @@ class p extends n {
117
117
  });
118
118
  }
119
119
  }
120
- class M extends n {
120
+ class g extends n {
121
121
  // 实现 useValues 方法
122
122
  useValues() {
123
123
  return new Promise((i, t) => {
124
- S.findList(this.query).then(({ data: u }) => {
125
- const E = u.results;
124
+ h.findList(this.query).then(({ data: u }) => {
125
+ const o = u.results;
126
126
  this.values.length = 0, this.values.push(
127
- ...E.map(
127
+ ...o.map(
128
128
  (c) => ({
129
129
  key: c.deptId,
130
130
  value: c.deptName
@@ -140,9 +140,9 @@ class I extends n {
140
140
  useValues() {
141
141
  return new Promise((i, t) => {
142
142
  N.findPage(this.query).then(({ data: u }) => {
143
- const E = u.results;
143
+ const o = u.results;
144
144
  this.values.length = 0, this.values.push(
145
- ...E.map(
145
+ ...o.map(
146
146
  (c) => ({
147
147
  key: c.roleId,
148
148
  value: c.roleName
@@ -156,27 +156,27 @@ class I extends n {
156
156
  class r {
157
157
  }
158
158
  // 公司管理状态
159
- s(r, "hasStatusDict", new h(e.HAS_STATUS, {})), // 公司发票类型
160
- s(r, "invoiceTypeDictEnum", new o(
159
+ s(r, "hasStatusDict", new _(e.HAS_STATUS, {})), // 公司发票类型
160
+ s(r, "invoiceTypeDictEnum", new E(
161
161
  e.MODULE_ITSMSYS,
162
162
  e.ENUM_INVOICE_TYPE
163
163
  )), // 厅局管理父厅级单位
164
- s(r, "parentIdBizDict", new g({
164
+ s(r, "parentIdBizDict", new M({
165
165
  orgType: e.orgType.hall
166
166
  })), // 管理人员工作状态
167
- s(r, "jobStatusDictEnum", new o(
167
+ s(r, "jobStatusDictEnum", new E(
168
168
  e.MODULE_ITSMSYS,
169
169
  e.ENUM_JOB_ATATUS
170
170
  )), // 运维人员工作模式
171
- s(r, "engineerJobModeDictEnum", new o(
171
+ s(r, "engineerJobModeDictEnum", new E(
172
172
  e.MODULE_ITSMSYS,
173
173
  e.ENUM_ENGINEER_JOB_MODE
174
174
  )), // 性别
175
- s(r, "genderDict", new o(
175
+ s(r, "genderDict", new E(
176
176
  e.MODULE_RBAC,
177
177
  e.ENUM_GENDER
178
178
  )), // 运维人员工程师类型
179
- s(r, "engineerTypeDictEnum", new o(
179
+ s(r, "engineerTypeDictEnum", new E(
180
180
  e.MODULE_ITSMSYS,
181
181
  e.ENUM_ENGINEER_TYPE
182
182
  )), // 公司人员选择公司名称
@@ -189,7 +189,7 @@ s(r, "sysOutBizDict", new p({
189
189
  s(r, "engineerCertificateDict", new O(
190
190
  e.DICT_ENGINEER_GRADE
191
191
  )), // 分组
192
- s(r, "deptBizDict", new M({})), // 岗位
192
+ s(r, "deptBizDict", new g({})), // 岗位
193
193
  s(r, "jobBizDict", new I({
194
194
  roleType: e.roleType
195
195
  }));
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as N, resolveComponent as s, resolveDirectiv
2
2
  import { useTableHooks as se } from "jmash-core";
3
3
  import { ElMessageBox as j, ElMessage as T } from "element-plus";
4
4
  import { useI18n as ae } from "vue-i18n";
5
- import { C as re, D as ie } from "./index-C57850Qg.mjs";
5
+ import { C as re, D as ie } from "./index-EhejgmO6.mjs";
6
6
  import { sysOrgApi as u } from "./index.mjs";
7
7
  import { useRouter as me } from "vue-router";
8
8
  const ce = { class: "app-container" }, de = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], fe = ["onClick"], ke = /* @__PURE__ */ te({
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Layout as Ys, deepMerge as Tt, useUserStore as D, clearEmpty as T, request as Y, addViteMenus as Os, addDynamicRoute as Ts, i18n as bs } from "jmash-core";
2
- const Ps = () => import("./edit-DdBemEtp.mjs"), Rs = () => import("./info-Cjx0ceNM.mjs"), xs = () => import("./edit-DgxHpvC6.mjs"), Ns = () => import("./info-DHxVt25p.mjs"), Is = () => import("./edit-CJKLiFvj.mjs"), Ws = () => import("./info-BraECWiO.mjs"), Ls = () => import("./info-to4iDhQX.mjs"), Fs = () => import("./info-BNw5IiGi.mjs"), Cs = () => import("./info-BqQdA6b-.mjs"), Us = [
2
+ const Ps = () => import("./edit-CNFS8ehW.mjs"), Rs = () => import("./info-CoizfoOq.mjs"), xs = () => import("./edit-Cs3KIwaz.mjs"), Ns = () => import("./info-rnc-sgQt.mjs"), Is = () => import("./edit-CxRGbAP_.mjs"), Ws = () => import("./info-B2d8xPwW.mjs"), Ls = () => import("./info-BZ7IZet8.mjs"), Fs = () => import("./info-CCfX-q4c.mjs"), Cs = () => import("./info-DBObKyIh.mjs"), Us = [
3
3
  {
4
4
  path: "/rawitsmsys",
5
5
  component: Ys,
@@ -3118,7 +3118,7 @@ class qi {
3118
3118
  });
3119
3119
  }
3120
3120
  }
3121
- const Bi = new qi(), zi = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-DgxHpvC6.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-ekie5iUI.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-DHxVt25p.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-pCyaGLeW.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-DGX9vRbo.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DdBemEtp.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-byYol6y6.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-Cjx0ceNM.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-CJKLiFvj.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-rAUwvtcF.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-BraECWiO.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-a4L0fy11.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-CzXWmSM6.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-BxdZzcjP.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-to4iDhQX.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-CfJWdgBx.mjs"), "./views/itsmsys/itsm-sys-user-ops/import-upload.vue": () => import("./import-upload-BISlCHWj.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-B8RLzH1x.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-BNw5IiGi.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-BAH_6b13.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-TERPQdeq.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-DRzFGqnW.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-BqQdA6b-.mjs") }), Ji = {
3121
+ const Bi = new qi(), zi = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-Cs3KIwaz.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-nhzVBt2y.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-rnc-sgQt.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-Dmxyf_Gp.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-Dsf1qOUx.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-CNFS8ehW.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-BzqZLipq.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-CoizfoOq.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-CxRGbAP_.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-D2e-NU3E.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-B2d8xPwW.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-C1zg8B0y.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-CjeTCQBx.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-CdQGs3Vu.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-BZ7IZet8.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DLN1WFrt.mjs"), "./views/itsmsys/itsm-sys-user-ops/import-upload.vue": () => import("./import-upload-BvBtwEbI.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-D2BUGsak.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-CCfX-q4c.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-DlEW6lB8.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-BM5kcXdg.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-Bxg8G8aA.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-DBObKyIh.mjs") }), Ji = {
3122
3122
  install(e) {
3123
3123
  Os(zi, 7), Ts(Us), Gi(bs), e.use(Ai);
3124
3124
  }
@@ -3,8 +3,8 @@ import { useTableHooks as F } from "jmash-core";
3
3
  import { useI18n as G } from "vue-i18n";
4
4
  import { useRoute as J } from "vue-router";
5
5
  import { s as M } from "./index-B6vJj_z6.mjs";
6
- import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs";
7
- import { D as W } from "./index-C57850Qg.mjs";
6
+ import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs";
7
+ import { D as W } from "./index-EhejgmO6.mjs";
8
8
  const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
9
9
  __name: "index",
10
10
  setup(ee) {
@@ -3,7 +3,7 @@ import { useRouter as G, useRoute as R } from "vue-router";
3
3
  import { routerUtil as S } from "jmash-core";
4
4
  import { sysOrgApi as U } from "./index.mjs";
5
5
  import { s as J } from "./index-B6vJj_z6.mjs";
6
- import { D as y, C as h } from "./index-C57850Qg.mjs";
6
+ import { D as y, C as h } from "./index-EhejgmO6.mjs";
7
7
  const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ w({
8
8
  __name: "info",
9
9
  setup(ee) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as M, getCurrentInstance as j, ref as h, computed as z, onBeforeMount as k, resolveComponent as m, openBlock as v, createElementBlock as g, createVNode as n, withCtx as e, createTextVNode as r, toDisplayString as l, createElementVNode as o, unref as u, Fragment as C, renderList as N, createBlock as T } from "vue";
2
2
  import { useRouter as w, useRoute as S } from "vue-router";
3
- import { D as a } from "./index-C57850Qg.mjs";
3
+ import { D as a } from "./index-EhejgmO6.mjs";
4
4
  import { fileApi as Y, routerUtil as x } from "jmash-core";
5
5
  import { sysUserExtApi as A } from "./index.mjs";
6
6
  import { d as F } from "./avatar-DFToerb2.mjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as U, getCurrentInstance as $, ref as f, computed as O, onBeforeMount as V, resolveComponent as d, openBlock as C, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as l, createElementVNode as o, unref as r } from "vue";
2
2
  import { useRouter as B, useRoute as M } from "vue-router";
3
- import { D as u } from "./index-C57850Qg.mjs";
3
+ import { D as u } from "./index-EhejgmO6.mjs";
4
4
  import { fileApi as N, routerUtil as S } from "jmash-core";
5
5
  import { sysUserExtApi as j } from "./index.mjs";
6
6
  import { d as k } from "./avatar-DFToerb2.mjs";
@@ -3,7 +3,7 @@ import { useRouter as G, useRoute as R } from "vue-router";
3
3
  import { routerUtil as S } from "jmash-core";
4
4
  import { sysOrgApi as U } from "./index.mjs";
5
5
  import { s as J } from "./index-B6vJj_z6.mjs";
6
- import { D as y, C as h } from "./index-C57850Qg.mjs";
6
+ import { D as y, C as h } from "./index-EhejgmO6.mjs";
7
7
  const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ w({
8
8
  __name: "info",
9
9
  setup(ee) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as U, getCurrentInstance as $, ref as f, computed as O, onBeforeMount as V, resolveComponent as d, openBlock as C, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as o, unref as r } from "vue";
2
2
  import { useRouter as B, useRoute as M } from "vue-router";
3
- import { D as u } from "./index-C57850Qg.mjs";
3
+ import { D as u } from "./index-EhejgmO6.mjs";
4
4
  import { fileApi as N, routerUtil as S } from "jmash-core";
5
5
  import { sysUserExtApi as j } from "./index.mjs";
6
6
  import { d as k } from "./avatar-DFToerb2.mjs";
@@ -3,7 +3,7 @@ import { useRouter as q, useRoute as R } from "vue-router";
3
3
  import { routerUtil as S } from "jmash-core";
4
4
  import { sysOrgApi as U } from "./index.mjs";
5
5
  import { s as J } from "./index-B6vJj_z6.mjs";
6
- import { D as y, C as h } from "./index-C57850Qg.mjs";
6
+ import { D as y, C as h } from "./index-EhejgmO6.mjs";
7
7
  const K = { class: "app-container" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ie = /* @__PURE__ */ B({
8
8
  __name: "info",
9
9
  setup(ee) {
@@ -105,4 +105,5 @@ export interface SysUserExtUpdateReq extends EntityUpdateReq {
105
105
  }
106
106
  export type SysUserExtFormReq = SysUserExtCreateReq | SysUserExtUpdateReq;
107
107
  export interface SysUserExtImportReq extends EntityImportReq {
108
+ userType?: string;
108
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsmsys",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",