xyvcard-itsmsys 0.0.11 → 0.0.12

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 (47) hide show
  1. package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
  2. package/dist/{edit-CiCHPkRg.mjs → edit-BSgQ7aTw.mjs} +1 -1
  3. package/dist/{edit-BcE5qrWo.mjs → edit-BSllWdRO.mjs} +1 -1
  4. package/dist/{edit-BSIP_9Mq.mjs → edit-C-Ddf0UV.mjs} +27 -25
  5. package/dist/{edit-BsUWSNnA.mjs → edit-CNw8JPUb.mjs} +23 -21
  6. package/dist/{edit-znznl9Td.mjs → edit-Cd4dWFsH.mjs} +1 -1
  7. package/dist/{edit-Dxs-2AFY.mjs → edit-aqBMKpoJ.mjs} +23 -21
  8. package/dist/{edit-CW0kqOpj.mjs → edit-q5TFAMBm.mjs} +1 -1
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs +463 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs +463 -0
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-PDq1GpSZ.mjs → edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs} +202 -124
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs → edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs} +79 -56
  13. package/dist/import-upload-BIT504-g.mjs +4 -0
  14. package/dist/import-upload-pZG8yku3.mjs +4 -0
  15. package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +162 -0
  16. package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +162 -0
  17. package/dist/{index-BV3Je3Rq.mjs → index-BY5Djw_C.mjs} +7 -7
  18. package/dist/{index-BIvJ7rs4.mjs → index-BaixQptZ.mjs} +7 -7
  19. package/dist/index-CoMhbtrg.mjs +449 -0
  20. package/dist/{index-CNRO77Xg.mjs → index-Cz9Xj4Mn.mjs} +1 -1
  21. package/dist/{index-Hh4b5GAI.mjs → index-DPz8be3T.mjs} +32 -32
  22. package/dist/{index-cBbN-uY2.mjs → index-Dno_3GpX.mjs} +49 -59
  23. package/dist/{index-4qnVgDwe.mjs → index-DrBtW9Aj.mjs} +183 -132
  24. package/dist/{index-CzE5REdf.mjs → index-LOMCvxtf.mjs} +1 -1
  25. package/dist/index.mjs +214 -181
  26. package/dist/{index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs → index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs} +41 -34
  27. package/dist/{info-BP7wPWFZ.mjs → info-BUDmirQy.mjs} +1 -1
  28. package/dist/{info-CtGMbfQJ.mjs → info-BivxW-qV.mjs} +1 -1
  29. package/dist/{info-BCPme1g5.mjs → info-Bn-BseIm.mjs} +1 -1
  30. package/dist/{info-Dk3RzCIp.mjs → info-C-ga_8K9.mjs} +1 -1
  31. package/dist/{info-DRYPl2T-.mjs → info-C3knY6l_.mjs} +58 -47
  32. package/dist/{info-DCRqBi8M.mjs → info-D0Pwnmsu.mjs} +71 -60
  33. package/dist/style.css +1 -1
  34. package/dts/api/dict.d.ts +0 -6
  35. package/dts/api/index.d.ts +4 -2
  36. package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -0
  37. package/dts/api/itsm-sys-user-ext/index.d.ts +3 -1
  38. package/dts/api/itsm-sys-user-ext/types.d.ts +15 -1
  39. package/dts/constant.d.ts +1 -0
  40. package/dts/index.d.ts +1 -0
  41. package/dts/lang/itsmsys/zh-cn.d.ts +13 -0
  42. package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +31 -0
  43. package/dts/views/itsmsys/itsm-sys-user-out/import-upload.vue.d.ts +31 -0
  44. package/package.json +3 -3
  45. package/dist/edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs +0 -422
  46. package/dist/edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs +0 -422
  47. package/dist/index-BTO0NHK6.mjs +0 -397
@@ -1,13 +1,13 @@
1
- import { defineComponent as H, mergeModels as k, ref as y, useModel as Q, reactive as S, resolveComponent as n, openBlock as g, createBlock as V, withCtx as a, createElementVNode as W, createVNode as l, createTextVNode as c, toDisplayString as h, unref as t, createElementBlock as Y, Fragment as x, renderList as ee, createCommentVNode as le } from "vue";
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 a, createElementVNode as Y, createVNode as l, createTextVNode as I, toDisplayString as M, unref as r, createCommentVNode as D } from "vue";
2
2
  import { ElMessage as C } from "element-plus";
3
- import { useI18n as ae } from "vue-i18n";
4
- import { D as _, C as M } from "./index-cBbN-uY2.mjs";
5
- import { deptApi as oe, jobApi as se } from "jmash-rbac";
6
- import { sysUserExtApi as w, sysOrgApi as re } from "./index.mjs";
7
- import { generateRandomKey as te } from "jmash-core";
8
- const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
3
+ import { useI18n as x } from "vue-i18n";
4
+ import { D as y, C as w } from "./index-Dno_3GpX.mjs";
5
+ import { deptApi as ee, jobApi as le, roleApi as ae } from "jmash-rbac";
6
+ import { sysUserExtApi as $, sysOrgApi as oe } from "./index.mjs";
7
+ import { generateRandomKey as se } from "jmash-core";
8
+ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
9
9
  __name: "edit",
10
- props: /* @__PURE__ */ k({
10
+ props: /* @__PURE__ */ S({
11
11
  entityKey: {
12
12
  type: Object,
13
13
  default: () => {
@@ -17,19 +17,19 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
17
17
  modelValue: { type: Boolean },
18
18
  modelModifiers: {}
19
19
  }),
20
- emits: /* @__PURE__ */ k(["refresh"], ["update:modelValue"]),
21
- setup(v, { emit: O }) {
22
- const { t: i } = ae(), I = y(), j = y(), $ = y(), p = Q(v, "modelValue"), q = O;
23
- _.sysOrgBizDict.useValues();
24
- let s = S({
20
+ emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
21
+ setup(q, { emit: O }) {
22
+ const { t: i } = x(), v = b(), R = b(), N = b(), j = b(), p = W(q, "modelValue"), _ = O;
23
+ y.sysOrgBizDict.useValues(), y.parentIdBizDict.useValues();
24
+ let s = A({
25
25
  requestId: Math.random() * 10 + "",
26
- updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId",
27
- userType: M.userType.companyManager,
28
- jobStatus: M.jobStatus.working
26
+ updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId,orgIds,roleIds",
27
+ userType: w.userType.companyManager,
28
+ jobStatus: w.jobStatus.working
29
29
  });
30
- const A = (e, o, d) => {
31
- o === void 0 && d(new Error(i("sysUserMan.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || d(new Error(i("sysUserMan.mobilePhoneRequireds"))), d();
32
- }, D = S({
30
+ const B = (e, o, n) => {
31
+ o === void 0 && n(new Error(i("sysUserMan.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || n(new Error(i("sysUserMan.mobilePhoneRequireds"))), n();
32
+ }, E = A({
33
33
  realName: [
34
34
  {
35
35
  required: !0,
@@ -41,7 +41,7 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
41
41
  {
42
42
  required: !0,
43
43
  trigger: "blur",
44
- validator: A
44
+ validator: B
45
45
  }
46
46
  ],
47
47
  email: [
@@ -71,96 +71,112 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
71
71
  message: i("sysUserMan.userPasswordRequired"),
72
72
  trigger: "blur"
73
73
  }
74
+ ],
75
+ loginName: [
76
+ {
77
+ required: !0,
78
+ message: i("sysUserMan.loginNameRequired"),
79
+ trigger: "blur"
80
+ }
81
+ ],
82
+ roleIds: [
83
+ {
84
+ required: !0,
85
+ message: i("sysUserMan.roleIdsRequired"),
86
+ trigger: "blur"
87
+ }
74
88
  ]
75
- }), R = v, E = Object.keys(R.entityKey), b = y(E.length >= 1);
76
- b.value && w.findById(R.entityKey).then(({ data: e }) => {
89
+ }), P = q, z = Object.keys(P.entityKey), g = b(z.length >= 1);
90
+ g.value && $.findById(P.entityKey).then(({ data: e }) => {
77
91
  Object.assign(s, e);
78
92
  });
79
- const B = async () => {
93
+ const T = async () => {
80
94
  var e;
81
- await ((e = $.value) == null ? void 0 : e.validate((o) => {
82
- o && (b.value ? w.update(s).then((d) => {
83
- console.log(d), d.status === 200 && (C({
95
+ await ((e = j.value) == null ? void 0 : e.validate((o) => {
96
+ o && (g.value ? $.update(s).then((n) => {
97
+ console.log(n), n.status === 200 && (C({
84
98
  message: i("common.submitSuccess"),
85
99
  type: "success"
86
- }), p.value && (p.value = !1), q("refresh", d.status === 200));
87
- }) : w.create(s).then((d) => {
88
- console.log(d), d.status === 200 && (C({
100
+ }), p.value && (p.value = !1), _("refresh", n.status === 200));
101
+ }) : $.create(s).then((n) => {
102
+ console.log(n), n.status === 200 && (C({
89
103
  message: i("common.submitSuccess"),
90
104
  type: "success"
91
- }), p.value && (p.value = !1), q("refresh", d.status === 200));
105
+ }), p.value && (p.value = !1), _("refresh", n.status === 200));
92
106
  }));
93
107
  }));
94
108
  };
95
- function z() {
96
- oe.treelistDept().then(({ data: e }) => {
97
- I.value = e.results;
98
- }), se.treelistJob().then(({ data: e }) => {
99
- j.value = e.results;
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 }) => {
115
+ N.value = e.results;
100
116
  });
101
117
  }
102
- z();
103
- function T() {
104
- b.value || re.findPage({ orgType: M.orgType.cloud }).then(({ data: { results: e } }) => {
118
+ K();
119
+ function F() {
120
+ g.value || oe.findPage({ orgType: w.orgType.cloud }).then(({ data: { results: e } }) => {
105
121
  s.orgId = e[0].orgId;
106
122
  });
107
123
  }
108
- T();
109
- function F() {
110
- s.userPassword = te();
124
+ F();
125
+ function Z() {
126
+ s.userPassword = se();
111
127
  }
112
- function N() {
128
+ function k() {
113
129
  p.value && (p.value = !1);
114
130
  }
115
131
  return (e, o) => {
116
- const d = n("jmash-select"), u = n("el-form-item"), m = n("el-col"), f = n("el-input"), K = n("jmash-enum-select"), P = n("el-tree-select"), Z = n("el-radio"), L = n("el-radio-group"), U = n("el-button"), G = n("el-row"), J = n("el-form"), X = n("el-dialog");
117
- return g(), V(X, {
132
+ const n = m("jmash-select"), d = m("el-form-item"), u = 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, {
118
134
  modelValue: p.value,
119
- "onUpdate:modelValue": o[10] || (o[10] = (r) => p.value = r),
120
- onClose: N
135
+ "onUpdate:modelValue": o[13] || (o[13] = (t) => p.value = t),
136
+ onClose: k
121
137
  }, {
122
138
  footer: a(() => [
123
- W("div", de, [
124
- l(U, { onClick: N }, {
139
+ Y("div", re, [
140
+ l(h, { onClick: k }, {
125
141
  default: a(() => [
126
- c(h(e.$t("common.cancel")), 1)
142
+ I(M(e.$t("common.cancel")), 1)
127
143
  ]),
128
144
  _: 1
129
145
  }),
130
- l(U, {
146
+ l(h, {
131
147
  type: "primary",
132
- onClick: B
148
+ onClick: T
133
149
  }, {
134
150
  default: a(() => [
135
- c(h(e.$t("common.confirm")), 1)
151
+ I(M(e.$t("common.confirm")), 1)
136
152
  ]),
137
153
  _: 1
138
154
  })
139
155
  ])
140
156
  ]),
141
157
  default: a(() => [
142
- l(J, {
158
+ l(X, {
143
159
  ref_key: "sysUserExtFormRef",
144
- ref: $,
145
- model: t(s),
160
+ ref: j,
161
+ model: r(s),
146
162
  "label-width": "100px",
147
- rules: D
163
+ rules: E
148
164
  }, {
149
165
  default: a(() => [
150
- l(G, null, {
166
+ l(L, null, {
151
167
  default: a(() => [
152
- l(m, { span: 12 }, {
168
+ l(u, { span: 12 }, {
153
169
  default: a(() => [
154
- l(u, {
170
+ l(d, {
155
171
  label: e.$t("sysUserMan.orgId"),
156
172
  prop: "orgId"
157
173
  }, {
158
174
  default: a(() => [
159
- l(d, {
160
- modelValue: t(s).orgId,
161
- "onUpdate:modelValue": o[0] || (o[0] = (r) => t(s).orgId = r),
175
+ l(n, {
176
+ modelValue: r(s).orgId,
177
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => r(s).orgId = t),
162
178
  placeholder: e.$t("sysUserMan.orgIdRequired"),
163
- data: t(_).sysOrgBizDict.values,
179
+ data: r(y).sysOrgBizDict.values,
164
180
  clearable: "",
165
181
  class: "w-full"
166
182
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -170,16 +186,40 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
170
186
  ]),
171
187
  _: 1
172
188
  }),
173
- l(m, { span: 12 }, {
189
+ g.value ? D("", !0) : (U(), V(u, {
190
+ key: 0,
191
+ span: 12
192
+ }, {
174
193
  default: a(() => [
175
- l(u, {
194
+ l(d, {
195
+ label: e.$t("sysUserMan.loginName"),
196
+ prop: "loginName"
197
+ }, {
198
+ default: a(() => [
199
+ l(f, {
200
+ modelValue: r(s).loginName,
201
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => r(s).loginName = t),
202
+ clearable: "",
203
+ placeholder: e.$t("sysUserMan.loginNameRequired"),
204
+ maxlength: "30",
205
+ "show-word-limit": ""
206
+ }, null, 8, ["modelValue", "placeholder"])
207
+ ]),
208
+ _: 1
209
+ }, 8, ["label"])
210
+ ]),
211
+ _: 1
212
+ })),
213
+ l(u, { span: 12 }, {
214
+ default: a(() => [
215
+ l(d, {
176
216
  label: e.$t("sysUserMan.realName"),
177
217
  prop: "realName"
178
218
  }, {
179
219
  default: a(() => [
180
220
  l(f, {
181
- modelValue: t(s).realName,
182
- "onUpdate:modelValue": o[1] || (o[1] = (r) => t(s).realName = r),
221
+ modelValue: r(s).realName,
222
+ "onUpdate:modelValue": o[2] || (o[2] = (t) => r(s).realName = t),
183
223
  placeholder: e.$t("sysUserMan.realNameRequired"),
184
224
  maxlength: "8",
185
225
  "show-word-limit": "",
@@ -191,16 +231,16 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
191
231
  ]),
192
232
  _: 1
193
233
  }),
194
- l(m, { span: 12 }, {
234
+ l(u, { span: 12 }, {
195
235
  default: a(() => [
196
- l(u, {
236
+ l(d, {
197
237
  label: e.$t("sysUserMan.gender"),
198
238
  prop: "gender"
199
239
  }, {
200
240
  default: a(() => [
201
- l(K, {
202
- modelValue: t(s).gender,
203
- "onUpdate:modelValue": o[2] || (o[2] = (r) => t(s).gender = r),
241
+ l(G, {
242
+ modelValue: r(s).gender,
243
+ "onUpdate:modelValue": o[3] || (o[3] = (t) => r(s).gender = t),
204
244
  clearable: "",
205
245
  placeholder: e.$t("sysUserMan.genderRequired"),
206
246
  "enum-type": "jmash.protobuf.Gender",
@@ -212,16 +252,16 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
212
252
  ]),
213
253
  _: 1
214
254
  }),
215
- l(m, { span: 12 }, {
255
+ l(u, { span: 12 }, {
216
256
  default: a(() => [
217
- l(u, {
257
+ l(d, {
218
258
  label: e.$t("sysUserMan.mobilePhone"),
219
259
  prop: "mobilePhone"
220
260
  }, {
221
261
  default: a(() => [
222
262
  l(f, {
223
- modelValue: t(s).mobilePhone,
224
- "onUpdate:modelValue": o[3] || (o[3] = (r) => t(s).mobilePhone = r),
263
+ modelValue: r(s).mobilePhone,
264
+ "onUpdate:modelValue": o[4] || (o[4] = (t) => r(s).mobilePhone = t),
225
265
  placeholder: e.$t("sysUserMan.mobilePhoneRequired"),
226
266
  maxlength: "11",
227
267
  "show-word-limit": "",
@@ -233,16 +273,16 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
233
273
  ]),
234
274
  _: 1
235
275
  }),
236
- l(m, { span: 12 }, {
276
+ l(u, { span: 12 }, {
237
277
  default: a(() => [
238
- l(u, {
278
+ l(d, {
239
279
  label: e.$t("sysUserMan.email"),
240
280
  prop: "email"
241
281
  }, {
242
282
  default: a(() => [
243
283
  l(f, {
244
- modelValue: t(s).email,
245
- "onUpdate:modelValue": o[4] || (o[4] = (r) => t(s).email = r),
284
+ modelValue: r(s).email,
285
+ "onUpdate:modelValue": o[5] || (o[5] = (t) => r(s).email = t),
246
286
  placeholder: e.$t("sysUserMan.emailRequired"),
247
287
  maxlength: "30",
248
288
  "show-word-limit": "",
@@ -254,16 +294,16 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
254
294
  ]),
255
295
  _: 1
256
296
  }),
257
- l(m, { span: 12 }, {
297
+ l(u, { span: 12 }, {
258
298
  default: a(() => [
259
- l(u, {
299
+ l(d, {
260
300
  label: e.$t("sysUserOps.idNo"),
261
301
  prop: "idNo"
262
302
  }, {
263
303
  default: a(() => [
264
304
  l(f, {
265
- modelValue: t(s).idNo,
266
- "onUpdate:modelValue": o[5] || (o[5] = (r) => t(s).idNo = r),
305
+ modelValue: r(s).idNo,
306
+ "onUpdate:modelValue": o[6] || (o[6] = (t) => r(s).idNo = t),
267
307
  placeholder: e.$t("sysUserOps.idNoRequired"),
268
308
  maxlength: "18",
269
309
  "show-word-limit": "",
@@ -275,17 +315,17 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
275
315
  ]),
276
316
  _: 1
277
317
  }),
278
- l(m, { span: 12 }, {
318
+ l(u, { span: 12 }, {
279
319
  default: a(() => [
280
- l(u, {
320
+ l(d, {
281
321
  label: e.$t("sysUserMan.deptId"),
282
322
  prop: "deptId"
283
323
  }, {
284
324
  default: a(() => [
285
- l(P, {
286
- modelValue: t(s).deptId,
287
- "onUpdate:modelValue": o[6] || (o[6] = (r) => t(s).deptId = r),
288
- data: I.value,
325
+ l(c, {
326
+ modelValue: r(s).deptId,
327
+ "onUpdate:modelValue": o[7] || (o[7] = (t) => r(s).deptId = t),
328
+ data: v.value,
289
329
  "render-after-expand": !1,
290
330
  filterable: "",
291
331
  clearable: "",
@@ -299,17 +339,17 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
299
339
  ]),
300
340
  _: 1
301
341
  }),
302
- l(m, { span: 12 }, {
342
+ l(u, { span: 12 }, {
303
343
  default: a(() => [
304
- l(u, {
344
+ l(d, {
305
345
  label: e.$t("sysUserMan.jobId"),
306
346
  prop: "jobId"
307
347
  }, {
308
348
  default: a(() => [
309
- l(P, {
310
- modelValue: t(s).jobId,
311
- "onUpdate:modelValue": o[7] || (o[7] = (r) => t(s).jobId = r),
312
- data: j.value,
349
+ l(c, {
350
+ modelValue: r(s).jobId,
351
+ "onUpdate:modelValue": o[8] || (o[8] = (t) => r(s).jobId = t),
352
+ data: R.value,
313
353
  "render-after-expand": !1,
314
354
  filterable: "",
315
355
  clearable: "",
@@ -323,58 +363,71 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
323
363
  ]),
324
364
  _: 1
325
365
  }),
326
- l(m, { span: 12 }, {
366
+ l(u, { span: 12 }, {
327
367
  default: a(() => [
328
- l(u, {
368
+ l(d, {
329
369
  label: e.$t("sysUserOps.jobStatus"),
330
370
  prop: "jobStatus"
331
371
  }, {
332
372
  default: a(() => [
333
- l(L, {
334
- modelValue: t(s).jobStatus,
335
- "onUpdate:modelValue": o[8] || (o[8] = (r) => t(s).jobStatus = r)
336
- }, {
337
- default: a(() => [
338
- (g(!0), Y(x, null, ee(t(_).jobStatusDictEnum.values, (r) => (g(), V(Z, {
339
- key: r.key,
340
- label: r.key
341
- }, {
342
- default: a(() => [
343
- c(h(r.value), 1)
344
- ]),
345
- _: 2
346
- }, 1032, ["label"]))), 128))
347
- ]),
348
- _: 1
349
- }, 8, ["modelValue"])
373
+ l(J, {
374
+ modelValue: r(s).jobStatus,
375
+ "onUpdate:modelValue": o[9] || (o[9] = (t) => r(s).jobStatus = t),
376
+ data: r(y).jobStatusDictEnum.values
377
+ }, null, 8, ["modelValue", "data"])
350
378
  ]),
351
379
  _: 1
352
380
  }, 8, ["label"])
353
381
  ]),
354
382
  _: 1
355
383
  }),
356
- b.value ? le("", !0) : (g(), V(m, {
357
- key: 0,
384
+ l(u, { span: 12 }, {
385
+ default: a(() => [
386
+ l(d, {
387
+ label: e.$t("sysUserMan.roleIds"),
388
+ prop: "roleIds"
389
+ }, {
390
+ default: a(() => [
391
+ l(c, {
392
+ modelValue: r(s).roleIds,
393
+ "onUpdate:modelValue": o[10] || (o[10] = (t) => r(s).roleIds = t),
394
+ data: N.value,
395
+ "render-after-expand": !1,
396
+ "show-checkbox": "",
397
+ "check-strictly": !0,
398
+ multiple: "",
399
+ clearable: "",
400
+ style: { width: "100%" },
401
+ placeholder: e.$t("sysUserMan.roleIdsRequired")
402
+ }, null, 8, ["modelValue", "data", "placeholder"])
403
+ ]),
404
+ _: 1
405
+ }, 8, ["label"])
406
+ ]),
407
+ _: 1
408
+ }),
409
+ g.value ? D("", !0) : (U(), V(u, {
410
+ key: 1,
358
411
  span: 12
359
412
  }, {
360
413
  default: a(() => [
361
- l(u, {
414
+ l(d, {
362
415
  label: e.$t("sysUserMan.userPassword"),
363
416
  prop: "userPassword"
364
417
  }, {
365
418
  default: a(() => [
366
419
  l(f, {
367
- modelValue: t(s).userPassword,
368
- "onUpdate:modelValue": o[9] || (o[9] = (r) => t(s).userPassword = r),
420
+ modelValue: r(s).userPassword,
421
+ "onUpdate:modelValue": o[11] || (o[11] = (t) => r(s).userPassword = t),
369
422
  clearable: "",
370
423
  type: "password",
371
424
  "show-password": "",
372
425
  placeholder: e.$t("sysUserMan.userPasswordRequired")
373
426
  }, {
374
427
  append: a(() => [
375
- l(U, { onClick: F }, {
428
+ l(h, { onClick: Z }, {
376
429
  default: a(() => [
377
- c(h(e.$t("sysUserMan.randomPwd")), 1)
430
+ I(M(e.$t("sysUserMan.randomPwd")), 1)
378
431
  ]),
379
432
  _: 1
380
433
  })
@@ -386,7 +439,32 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
386
439
  }, 8, ["label"])
387
440
  ]),
388
441
  _: 1
389
- }))
442
+ })),
443
+ l(u, { span: 24 }, {
444
+ default: a(() => [
445
+ l(d, {
446
+ label: e.$t("sysUserMan.orgIds"),
447
+ prop: "orgIds"
448
+ }, {
449
+ default: a(() => [
450
+ l(c, {
451
+ modelValue: r(s).orgIds,
452
+ "onUpdate:modelValue": o[12] || (o[12] = (t) => r(s).orgIds = t),
453
+ data: r(y).parentIdBizDict.values,
454
+ filterable: "",
455
+ clearable: "",
456
+ "check-strictly": "",
457
+ "render-after-expand": !1,
458
+ style: { width: "100%" },
459
+ placeholder: e.$t("sysUserMan.orgIdsRequired"),
460
+ multiple: ""
461
+ }, null, 8, ["modelValue", "data", "placeholder"])
462
+ ]),
463
+ _: 1
464
+ }, 8, ["label"])
465
+ ]),
466
+ _: 1
467
+ })
390
468
  ]),
391
469
  _: 1
392
470
  })
@@ -400,5 +478,5 @@ const de = { class: "dialog-footer" }, ye = /* @__PURE__ */ H({
400
478
  }
401
479
  });
402
480
  export {
403
- ye as _
481
+ fe as _
404
482
  };