xyvcard-itsmsys 0.0.17 → 0.0.19

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 (48) hide show
  1. package/README.md +51 -51
  2. package/dist/{edit-BAH_6b13.mjs → edit-BrHOGUbU.mjs} +1 -1
  3. package/dist/{edit-DgxHpvC6.mjs → edit-CNEVornb.mjs} +100 -100
  4. package/dist/{edit-CJKLiFvj.mjs → edit-COKceKzl.mjs} +87 -87
  5. package/dist/{edit-a4L0fy11.mjs → edit-Czi-Vkbf.mjs} +1 -1
  6. package/dist/{edit-DdBemEtp.mjs → edit-DYqAdRsK.mjs} +99 -99
  7. package/dist/{edit-CfJWdgBx.mjs → edit-DybO5r3p.mjs} +1 -1
  8. package/dist/{edit-pCyaGLeW.mjs → edit-_QJnKCdq.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bs8-z-IO.mjs → edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs} +136 -136
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-V7Qgl4pY.mjs → edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs} +173 -174
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs → edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs} +53 -53
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-CZ1mhblw.mjs → edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs} +108 -108
  13. package/dist/{import-upload-TERPQdeq.mjs → import-upload-BvY7RZa-.mjs} +2 -2
  14. package/dist/{import-upload-BISlCHWj.mjs → import-upload-DBk1lPqR.mjs} +5 -5
  15. package/dist/{index-BxdZzcjP.mjs → index-BHcHN6PY.mjs} +25 -25
  16. package/dist/{index-DRzFGqnW.mjs → index-Cow_4AlE.mjs} +22 -22
  17. package/dist/{index-rAUwvtcF.mjs → index-CuBZptA_.mjs} +1 -1
  18. package/dist/{index-ekie5iUI.mjs → index-D__UxnZG.mjs} +13 -15
  19. package/dist/{index-DGX9vRbo.mjs → index-IpHv0Vzi.mjs} +1 -1
  20. package/dist/{index-byYol6y6.mjs → index-cpyRUYdS.mjs} +57 -55
  21. package/dist/{index-C57850Qg.mjs → index-dIcRC4jE.mjs} +23 -29
  22. package/dist/{index-B8RLzH1x.mjs → index-p50UkFiJ.mjs} +28 -28
  23. package/dist/index.mjs +1021 -936
  24. package/dist/{index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs → index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs} +2 -2
  25. package/dist/{info-DHxVt25p.mjs → info-BUKhtcuu.mjs} +2 -2
  26. package/dist/{info-BqQdA6b-.mjs → info-Bn5mhJtq.mjs} +2 -2
  27. package/dist/{info-to4iDhQX.mjs → info-Dx5fzSIP.mjs} +2 -2
  28. package/dist/{info-BraECWiO.mjs → info-EodyqiPm.mjs} +2 -2
  29. package/dist/{info-Cjx0ceNM.mjs → info-G1z1-aeX.mjs} +2 -2
  30. package/dist/{info-BNw5IiGi.mjs → info-bYWisCey.mjs} +2 -2
  31. package/dist/style.css +1 -1
  32. package/dts/api/itsm-sys-org/index.d.ts +5 -0
  33. package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -3
  34. package/dts/api/itsm-sys-user-ext/types.d.ts +9 -0
  35. package/dts/constant.d.ts +0 -4
  36. package/dts/index.d.ts +0 -1
  37. package/dts/lang/itsmsys/en.d.ts +130 -49
  38. package/dts/lang/itsmsys/zh-cn.d.ts +0 -3
  39. package/dts/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +8 -2
  40. package/dts/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +8 -2
  41. package/dts/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +8 -2
  42. package/dts/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +8 -2
  43. package/package.json +18 -20
  44. package/dist/import-upload-CzXWmSM6.mjs +0 -161
  45. package/dts/components/TMaps/index.vue.d.ts +0 -20
  46. package/dts/utils/TMap.d.ts +0 -1
  47. package/dts/utils/common.d.ts +0 -1
  48. package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +0 -31
@@ -1,11 +1,11 @@
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 X, mergeModels as S, ref as y, useModel as Y, reactive as C, resolveComponent as m, openBlock as V, createBlock as I, withCtx as o, createElementVNode as Z, createVNode as l, createTextVNode as h, toDisplayString as w, unref as s, createCommentVNode as E } 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";
5
- import { deptApi as ee, jobApi as le, roleApi as ae } from "jmash-rbac";
6
- import { sysUserExtApi as $, sysOrgApi as se } from "./index.mjs";
7
- import { generateRandomKey as oe } from "jmash-core";
8
- const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
4
+ import { validatePhoneNumber as ee, validateEmail as le, validateIDCard as ae, generateRandomKey as re } from "jmash-core";
5
+ import { D as b, C as M } from "./index-dIcRC4jE.mjs";
6
+ import { deptApi as oe, jobApi as se, roleApi as te } from "jmash-rbac";
7
+ import { sysUserExtApi as v, sysOrgApi as de } from "./index.mjs";
8
+ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
9
9
  __name: "edit",
10
10
  props: /* @__PURE__ */ S({
11
11
  entityKey: {
@@ -18,165 +18,167 @@ 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;
23
- y.sysOrgBizDict.useValues(), y.parentIdBizDict.useValues();
24
- let a = A({
21
+ setup(q, { emit: A }) {
22
+ const { t: i } = x(), N = y(), $ = y(), R = y(), j = y(), p = Y(q, "modelValue"), P = A;
23
+ b.sysOrgBizDict.useValues(), b.parentIdBizDict.useValues();
24
+ let r = C({
25
25
  requestId: Math.random() * 10 + "",
26
26
  updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId,orgIds,roleIds",
27
- userType: w.userType.companyManager,
28
- jobStatus: w.jobStatus.working
27
+ userType: M.userType.companyManager,
28
+ jobStatus: M.jobStatus.working
29
29
  });
30
- const B = (e, o, i) => {
31
- o === void 0 && i(new Error(u("sysUserMan.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || i(new Error(u("sysUserMan.mobilePhoneRequireds"))), i();
32
- }, E = A({
30
+ const B = (e, a, d) => {
31
+ a && (le(a) || d(new Error(i("sysUserMan.emailRequireds")))), d();
32
+ }, T = (e, a, d) => {
33
+ a && (ae(a) || d(new Error(i("sysUserMan.idNoLengthRequired")))), d();
34
+ }, z = C({
33
35
  realName: [
34
36
  {
35
37
  required: !0,
36
- message: u("sysUserMan.realNameRequired"),
38
+ message: i("sysUserMan.realNameRequired"),
37
39
  trigger: "blur"
38
40
  }
39
41
  ],
40
42
  mobilePhone: [
41
43
  {
42
44
  required: !0,
43
- trigger: "blur",
44
- validator: B
45
+ validator: (e, a, d) => {
46
+ a ? ee(a) ? d() : d(new Error(i("sysUserMan.mobilePhoneRequireds"))) : d(new Error(i("sysUserMan.mobilePhoneRequired")));
47
+ },
48
+ trigger: "blur"
45
49
  }
46
50
  ],
47
51
  email: [
48
52
  {
49
- pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/,
50
- message: u("sysUserMan.emailRequireds"),
53
+ validator: B,
51
54
  trigger: "blur"
52
55
  }
53
56
  ],
54
57
  idNo: [
55
58
  {
56
- pattern: /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|3[0-1])\d{3}(\d|X)$/,
57
- message: u("sysUserMan.idNoLengthRequired"),
59
+ validator: T,
58
60
  trigger: "blur"
59
61
  }
60
62
  ],
61
63
  orgId: [
62
64
  {
63
65
  required: !0,
64
- message: u("sysUserMan.orgIdRequired"),
66
+ message: i("sysUserMan.orgIdRequired"),
65
67
  trigger: "change"
66
68
  }
67
69
  ],
68
70
  userPassword: [
69
71
  {
70
72
  required: !0,
71
- message: u("sysUserMan.userPasswordRequired"),
73
+ message: i("sysUserMan.userPasswordRequired"),
72
74
  trigger: "blur"
73
75
  }
74
76
  ],
75
77
  loginName: [
76
78
  {
77
79
  required: !0,
78
- message: u("sysUserMan.loginNameRequired"),
80
+ message: i("sysUserMan.loginNameRequired"),
79
81
  trigger: "blur"
80
82
  }
81
83
  ],
82
84
  roleIds: [
83
85
  {
84
86
  required: !0,
85
- message: u("sysUserMan.roleIdsRequired"),
87
+ message: i("sysUserMan.roleIdsRequired"),
86
88
  trigger: "blur"
87
89
  }
88
90
  ]
89
- }), P = q, z = Object.keys(P.entityKey), g = b(z.length >= 1);
90
- g.value && $.findById(P.entityKey).then(({ data: e }) => {
91
- Object.assign(a, e), a.gender === "unknown" && (a.gender = "");
91
+ }), _ = q, K = Object.keys(_.entityKey), g = y(K.length >= 1);
92
+ g.value && v.findById(_.entityKey).then(({ data: e }) => {
93
+ Object.assign(r, e), r.gender === "unknown" && (r.gender = "");
92
94
  });
93
- const T = async () => {
95
+ const F = async () => {
94
96
  var e;
95
- await ((e = j.value) == null ? void 0 : e.validate((o) => {
96
- o && (g.value ? $.update(a).then((i) => {
97
- i.status === 200 && (C({
98
- message: u("common.submitSuccess"),
97
+ await ((e = j.value) == null ? void 0 : e.validate((a) => {
98
+ a && (g.value ? v.update(r).then((d) => {
99
+ d.status === 200 && (O({
100
+ message: i("common.submitSuccess"),
99
101
  type: "success"
100
- }), p.value && (p.value = !1), _("refresh", i.status === 200));
101
- }) : $.create(a).then((i) => {
102
- i.status === 200 && (C({
103
- message: u("common.submitSuccess"),
102
+ }), p.value && (p.value = !1), P("refresh", d.status === 200));
103
+ }) : v.create(r).then((d) => {
104
+ d.status === 200 && (O({
105
+ message: i("common.submitSuccess"),
104
106
  type: "success"
105
- }), p.value && (p.value = !1), _("refresh", i.status === 200));
107
+ }), p.value && (p.value = !1), P("refresh", d.status === 200));
106
108
  }));
107
109
  }));
108
110
  };
109
- function K() {
110
- ee.treelistDept().then(({ data: e }) => {
111
- v.value = e.results;
112
- }), le.treelistJob().then(({ data: e }) => {
113
- R.value = e.results;
114
- }), ae.treelistRole().then(({ data: e }) => {
111
+ function L() {
112
+ oe.treelistDept().then(({ data: e }) => {
115
113
  N.value = e.results;
114
+ }), se.treelistJob().then(({ data: e }) => {
115
+ $.value = e.results;
116
+ }), te.treelistRole().then(({ data: e }) => {
117
+ R.value = e.results;
116
118
  });
117
119
  }
118
- K();
119
- function F() {
120
- g.value || se.findPage({ orgType: w.orgType.cloud }).then(({ data: { results: e } }) => {
121
- a.orgId = e[0].orgId;
120
+ L();
121
+ function J() {
122
+ g.value || de.findOutSourceList({ orgType: M.orgType.cloud }).then(({ data: { results: e } }) => {
123
+ r.orgId = e[0].orgId;
122
124
  });
123
125
  }
124
- F();
125
- function Z() {
126
- a.userPassword = oe();
126
+ J();
127
+ function G() {
128
+ r.userPassword = re();
127
129
  }
128
130
  function k() {
129
131
  p.value && (p.value = !1);
130
132
  }
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");
133
- return U(), V(H, {
133
+ return (e, a) => {
134
+ const d = m("jmash-select"), n = m("el-form-item"), u = m("el-col"), f = m("el-input"), D = m("jmash-enum-radio"), c = m("el-tree-select"), U = m("el-button"), H = m("el-row"), Q = m("el-form"), W = m("el-dialog");
135
+ return V(), I(W, {
134
136
  modelValue: p.value,
135
- "onUpdate:modelValue": o[13] || (o[13] = (t) => p.value = t),
137
+ "onUpdate:modelValue": a[13] || (a[13] = (t) => p.value = t),
136
138
  onClose: k
137
139
  }, {
138
- footer: s(() => [
139
- Y("div", re, [
140
- l(h, { onClick: k }, {
141
- default: s(() => [
142
- I(M(e.$t("common.cancel")), 1)
140
+ footer: o(() => [
141
+ Z("div", ne, [
142
+ l(U, { onClick: k }, {
143
+ default: o(() => [
144
+ h(w(e.$t("common.cancel")), 1)
143
145
  ]),
144
146
  _: 1
145
147
  }),
146
- l(h, {
148
+ l(U, {
147
149
  type: "primary",
148
- onClick: T
150
+ onClick: F
149
151
  }, {
150
- default: s(() => [
151
- I(M(e.$t("common.confirm")), 1)
152
+ default: o(() => [
153
+ h(w(e.$t("common.confirm")), 1)
152
154
  ]),
153
155
  _: 1
154
156
  })
155
157
  ])
156
158
  ]),
157
- default: s(() => [
158
- l(X, {
159
+ default: o(() => [
160
+ l(Q, {
159
161
  ref_key: "sysUserExtFormRef",
160
162
  ref: j,
161
- model: r(a),
163
+ model: s(r),
162
164
  "label-width": "100px",
163
- rules: E
165
+ rules: z
164
166
  }, {
165
- default: s(() => [
166
- l(L, null, {
167
- default: s(() => [
168
- l(n, { span: 12 }, {
169
- default: s(() => [
170
- l(d, {
167
+ default: o(() => [
168
+ l(H, null, {
169
+ default: o(() => [
170
+ l(u, { span: 12 }, {
171
+ default: o(() => [
172
+ l(n, {
171
173
  label: e.$t("sysUserMan.orgId"),
172
174
  prop: "orgId"
173
175
  }, {
174
- default: s(() => [
175
- l(i, {
176
- modelValue: r(a).orgId,
177
- "onUpdate:modelValue": o[0] || (o[0] = (t) => r(a).orgId = t),
176
+ default: o(() => [
177
+ l(d, {
178
+ modelValue: s(r).orgId,
179
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => s(r).orgId = t),
178
180
  placeholder: e.$t("sysUserMan.orgIdRequired"),
179
- data: r(y).sysOrgBizDict.values,
181
+ data: s(b).sysOrgBizDict.values,
180
182
  clearable: "",
181
183
  class: "w-full"
182
184
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -186,19 +188,19 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
186
188
  ]),
187
189
  _: 1
188
190
  }),
189
- g.value ? D("", !0) : (U(), V(n, {
191
+ g.value ? E("", !0) : (V(), I(u, {
190
192
  key: 0,
191
193
  span: 12
192
194
  }, {
193
- default: s(() => [
194
- l(d, {
195
+ default: o(() => [
196
+ l(n, {
195
197
  label: e.$t("sysUserMan.loginName"),
196
198
  prop: "loginName"
197
199
  }, {
198
- default: s(() => [
200
+ default: o(() => [
199
201
  l(f, {
200
- modelValue: r(a).loginName,
201
- "onUpdate:modelValue": o[1] || (o[1] = (t) => r(a).loginName = t),
202
+ modelValue: s(r).loginName,
203
+ "onUpdate:modelValue": a[1] || (a[1] = (t) => s(r).loginName = t),
202
204
  clearable: "",
203
205
  placeholder: e.$t("sysUserMan.loginNameRequired"),
204
206
  maxlength: "30",
@@ -210,16 +212,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
210
212
  ]),
211
213
  _: 1
212
214
  })),
213
- l(n, { span: 12 }, {
214
- default: s(() => [
215
- l(d, {
215
+ l(u, { span: 12 }, {
216
+ default: o(() => [
217
+ l(n, {
216
218
  label: e.$t("sysUserMan.realName"),
217
219
  prop: "realName"
218
220
  }, {
219
- default: s(() => [
221
+ default: o(() => [
220
222
  l(f, {
221
- modelValue: r(a).realName,
222
- "onUpdate:modelValue": o[2] || (o[2] = (t) => r(a).realName = t),
223
+ modelValue: s(r).realName,
224
+ "onUpdate:modelValue": a[2] || (a[2] = (t) => s(r).realName = t),
223
225
  placeholder: e.$t("sysUserMan.realNameRequired"),
224
226
  maxlength: "8",
225
227
  "show-word-limit": "",
@@ -231,37 +233,34 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
231
233
  ]),
232
234
  _: 1
233
235
  }),
234
- l(n, { span: 12 }, {
235
- default: s(() => [
236
- l(d, {
236
+ l(u, { span: 12 }, {
237
+ default: o(() => [
238
+ l(n, {
237
239
  label: e.$t("sysUserMan.gender"),
238
240
  prop: "gender"
239
241
  }, {
240
- default: s(() => [
241
- l(G, {
242
- modelValue: r(a).gender,
243
- "onUpdate:modelValue": o[3] || (o[3] = (t) => r(a).gender = t),
244
- clearable: "",
245
- placeholder: e.$t("sysUserMan.genderRequired"),
246
- "enum-type": "jmash.protobuf.Gender",
247
- class: "w-full"
248
- }, null, 8, ["modelValue", "placeholder"])
242
+ default: o(() => [
243
+ l(D, {
244
+ modelValue: s(r).gender,
245
+ "onUpdate:modelValue": a[3] || (a[3] = (t) => s(r).gender = t),
246
+ data: s(b).genderDict.values
247
+ }, null, 8, ["modelValue", "data"])
249
248
  ]),
250
249
  _: 1
251
250
  }, 8, ["label"])
252
251
  ]),
253
252
  _: 1
254
253
  }),
255
- l(n, { span: 12 }, {
256
- default: s(() => [
257
- l(d, {
254
+ l(u, { span: 12 }, {
255
+ default: o(() => [
256
+ l(n, {
258
257
  label: e.$t("sysUserMan.mobilePhone"),
259
258
  prop: "mobilePhone"
260
259
  }, {
261
- default: s(() => [
260
+ default: o(() => [
262
261
  l(f, {
263
- modelValue: r(a).mobilePhone,
264
- "onUpdate:modelValue": o[4] || (o[4] = (t) => r(a).mobilePhone = t),
262
+ modelValue: s(r).mobilePhone,
263
+ "onUpdate:modelValue": a[4] || (a[4] = (t) => s(r).mobilePhone = t),
265
264
  placeholder: e.$t("sysUserMan.mobilePhoneRequired"),
266
265
  maxlength: "11",
267
266
  "show-word-limit": "",
@@ -273,16 +272,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
273
272
  ]),
274
273
  _: 1
275
274
  }),
276
- l(n, { span: 12 }, {
277
- default: s(() => [
278
- l(d, {
275
+ l(u, { span: 12 }, {
276
+ default: o(() => [
277
+ l(n, {
279
278
  label: e.$t("sysUserMan.email"),
280
279
  prop: "email"
281
280
  }, {
282
- default: s(() => [
281
+ default: o(() => [
283
282
  l(f, {
284
- modelValue: r(a).email,
285
- "onUpdate:modelValue": o[5] || (o[5] = (t) => r(a).email = t),
283
+ modelValue: s(r).email,
284
+ "onUpdate:modelValue": a[5] || (a[5] = (t) => s(r).email = t),
286
285
  placeholder: e.$t("sysUserMan.emailRequired"),
287
286
  maxlength: "30",
288
287
  "show-word-limit": "",
@@ -294,16 +293,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
294
293
  ]),
295
294
  _: 1
296
295
  }),
297
- l(n, { span: 12 }, {
298
- default: s(() => [
299
- l(d, {
296
+ l(u, { span: 12 }, {
297
+ default: o(() => [
298
+ l(n, {
300
299
  label: e.$t("sysUserOps.idNo"),
301
300
  prop: "idNo"
302
301
  }, {
303
- default: s(() => [
302
+ default: o(() => [
304
303
  l(f, {
305
- modelValue: r(a).idNo,
306
- "onUpdate:modelValue": o[6] || (o[6] = (t) => r(a).idNo = t),
304
+ modelValue: s(r).idNo,
305
+ "onUpdate:modelValue": a[6] || (a[6] = (t) => s(r).idNo = t),
307
306
  placeholder: e.$t("sysUserOps.idNoRequired"),
308
307
  maxlength: "18",
309
308
  "show-word-limit": "",
@@ -315,23 +314,23 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
315
314
  ]),
316
315
  _: 1
317
316
  }),
318
- l(n, { span: 12 }, {
319
- default: s(() => [
320
- l(d, {
317
+ l(u, { span: 12 }, {
318
+ default: o(() => [
319
+ l(n, {
321
320
  label: e.$t("sysUserMan.deptId"),
322
321
  prop: "deptId"
323
322
  }, {
324
- default: s(() => [
323
+ default: o(() => [
325
324
  l(c, {
326
- modelValue: r(a).deptId,
327
- "onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).deptId = t),
328
- data: v.value,
325
+ modelValue: s(r).deptId,
326
+ "onUpdate:modelValue": a[7] || (a[7] = (t) => s(r).deptId = t),
327
+ data: N.value,
329
328
  "render-after-expand": !1,
330
329
  filterable: "",
331
330
  clearable: "",
332
331
  "check-strictly": "",
333
332
  placeholder: e.$t("sysUserMan.deptIdRequired"),
334
- style: { width: "100%" }
333
+ class: "w-full"
335
334
  }, null, 8, ["modelValue", "data", "placeholder"])
336
335
  ]),
337
336
  _: 1
@@ -339,23 +338,23 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
339
338
  ]),
340
339
  _: 1
341
340
  }),
342
- l(n, { span: 12 }, {
343
- default: s(() => [
344
- l(d, {
341
+ l(u, { span: 12 }, {
342
+ default: o(() => [
343
+ l(n, {
345
344
  label: e.$t("sysUserMan.jobId"),
346
345
  prop: "jobId"
347
346
  }, {
348
- default: s(() => [
347
+ default: o(() => [
349
348
  l(c, {
350
- modelValue: r(a).jobId,
351
- "onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).jobId = t),
352
- data: R.value,
349
+ modelValue: s(r).jobId,
350
+ "onUpdate:modelValue": a[8] || (a[8] = (t) => s(r).jobId = t),
351
+ data: $.value,
353
352
  "render-after-expand": !1,
354
353
  filterable: "",
355
354
  clearable: "",
356
355
  "check-strictly": "",
357
356
  placeholder: e.$t("sysUserMan.jobIdRequired"),
358
- style: { width: "100%" }
357
+ class: "w-full"
359
358
  }, null, 8, ["modelValue", "data", "placeholder"])
360
359
  ]),
361
360
  _: 1
@@ -363,17 +362,17 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
363
362
  ]),
364
363
  _: 1
365
364
  }),
366
- l(n, { span: 12 }, {
367
- default: s(() => [
368
- l(d, {
365
+ l(u, { span: 12 }, {
366
+ default: o(() => [
367
+ l(n, {
369
368
  label: e.$t("sysUserOps.jobStatus"),
370
369
  prop: "jobStatus"
371
370
  }, {
372
- default: s(() => [
373
- l(J, {
374
- modelValue: r(a).jobStatus,
375
- "onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).jobStatus = t),
376
- data: r(y).jobStatusDictEnum.values
371
+ default: o(() => [
372
+ l(D, {
373
+ modelValue: s(r).jobStatus,
374
+ "onUpdate:modelValue": a[9] || (a[9] = (t) => s(r).jobStatus = t),
375
+ data: s(b).jobStatusDictEnum.values
377
376
  }, null, 8, ["modelValue", "data"])
378
377
  ]),
379
378
  _: 1
@@ -381,23 +380,23 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
381
380
  ]),
382
381
  _: 1
383
382
  }),
384
- l(n, { span: 12 }, {
385
- default: s(() => [
386
- l(d, {
383
+ l(u, { span: 12 }, {
384
+ default: o(() => [
385
+ l(n, {
387
386
  label: e.$t("sysUserMan.roleIds"),
388
387
  prop: "roleIds"
389
388
  }, {
390
- default: s(() => [
389
+ default: o(() => [
391
390
  l(c, {
392
- modelValue: r(a).roleIds,
393
- "onUpdate:modelValue": o[10] || (o[10] = (t) => r(a).roleIds = t),
394
- data: N.value,
391
+ modelValue: s(r).roleIds,
392
+ "onUpdate:modelValue": a[10] || (a[10] = (t) => s(r).roleIds = t),
393
+ data: R.value,
395
394
  "render-after-expand": !1,
396
395
  "show-checkbox": "",
397
396
  "check-strictly": !0,
398
397
  multiple: "",
399
398
  clearable: "",
400
- style: { width: "100%" },
399
+ class: "w-full",
401
400
  placeholder: e.$t("sysUserMan.roleIdsRequired")
402
401
  }, null, 8, ["modelValue", "data", "placeholder"])
403
402
  ]),
@@ -406,28 +405,28 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
406
405
  ]),
407
406
  _: 1
408
407
  }),
409
- g.value ? D("", !0) : (U(), V(n, {
408
+ g.value ? E("", !0) : (V(), I(u, {
410
409
  key: 1,
411
410
  span: 12
412
411
  }, {
413
- default: s(() => [
414
- l(d, {
412
+ default: o(() => [
413
+ l(n, {
415
414
  label: e.$t("sysUserMan.userPassword"),
416
415
  prop: "userPassword"
417
416
  }, {
418
- default: s(() => [
417
+ default: o(() => [
419
418
  l(f, {
420
- modelValue: r(a).userPassword,
421
- "onUpdate:modelValue": o[11] || (o[11] = (t) => r(a).userPassword = t),
419
+ modelValue: s(r).userPassword,
420
+ "onUpdate:modelValue": a[11] || (a[11] = (t) => s(r).userPassword = t),
422
421
  clearable: "",
423
422
  type: "password",
424
423
  "show-password": "",
425
424
  placeholder: e.$t("sysUserMan.userPasswordRequired")
426
425
  }, {
427
- append: s(() => [
428
- l(h, { onClick: Z }, {
429
- default: s(() => [
430
- I(M(e.$t("sysUserMan.randomPwd")), 1)
426
+ append: o(() => [
427
+ l(U, { onClick: G }, {
428
+ default: o(() => [
429
+ h(w(e.$t("sysUserMan.randomPwd")), 1)
431
430
  ]),
432
431
  _: 1
433
432
  })
@@ -440,22 +439,22 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
440
439
  ]),
441
440
  _: 1
442
441
  })),
443
- l(n, { span: 24 }, {
444
- default: s(() => [
445
- l(d, {
442
+ l(u, { span: 24 }, {
443
+ default: o(() => [
444
+ l(n, {
446
445
  label: e.$t("sysUserMan.orgIds"),
447
446
  prop: "orgIds"
448
447
  }, {
449
- default: s(() => [
448
+ default: o(() => [
450
449
  l(c, {
451
- modelValue: r(a).orgIds,
452
- "onUpdate:modelValue": o[12] || (o[12] = (t) => r(a).orgIds = t),
453
- data: r(y).parentIdBizDict.values,
450
+ modelValue: s(r).orgIds,
451
+ "onUpdate:modelValue": a[12] || (a[12] = (t) => s(r).orgIds = t),
452
+ data: s(b).parentIdBizDict.values,
454
453
  filterable: "",
455
454
  clearable: "",
456
455
  "check-strictly": "",
457
456
  "render-after-expand": !1,
458
- style: { width: "100%" },
457
+ class: "w-full",
459
458
  placeholder: e.$t("sysUserMan.orgIdsRequired"),
460
459
  multiple: ""
461
460
  }, null, 8, ["modelValue", "data", "placeholder"])
@@ -478,5 +477,5 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
478
477
  }
479
478
  });
480
479
  export {
481
- fe as _
480
+ ye as _
482
481
  };