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.
- package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
- package/dist/{edit-CiCHPkRg.mjs → edit-BSgQ7aTw.mjs} +1 -1
- package/dist/{edit-BcE5qrWo.mjs → edit-BSllWdRO.mjs} +1 -1
- package/dist/{edit-BSIP_9Mq.mjs → edit-C-Ddf0UV.mjs} +27 -25
- package/dist/{edit-BsUWSNnA.mjs → edit-CNw8JPUb.mjs} +23 -21
- package/dist/{edit-znznl9Td.mjs → edit-Cd4dWFsH.mjs} +1 -1
- package/dist/{edit-Dxs-2AFY.mjs → edit-aqBMKpoJ.mjs} +23 -21
- package/dist/{edit-CW0kqOpj.mjs → edit-q5TFAMBm.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs +463 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs +463 -0
- 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
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs → edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs} +79 -56
- package/dist/import-upload-BIT504-g.mjs +4 -0
- package/dist/import-upload-pZG8yku3.mjs +4 -0
- package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +162 -0
- package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +162 -0
- package/dist/{index-BV3Je3Rq.mjs → index-BY5Djw_C.mjs} +7 -7
- package/dist/{index-BIvJ7rs4.mjs → index-BaixQptZ.mjs} +7 -7
- package/dist/index-CoMhbtrg.mjs +449 -0
- package/dist/{index-CNRO77Xg.mjs → index-Cz9Xj4Mn.mjs} +1 -1
- package/dist/{index-Hh4b5GAI.mjs → index-DPz8be3T.mjs} +32 -32
- package/dist/{index-cBbN-uY2.mjs → index-Dno_3GpX.mjs} +49 -59
- package/dist/{index-4qnVgDwe.mjs → index-DrBtW9Aj.mjs} +183 -132
- package/dist/{index-CzE5REdf.mjs → index-LOMCvxtf.mjs} +1 -1
- package/dist/index.mjs +214 -181
- package/dist/{index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs → index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs} +41 -34
- package/dist/{info-BP7wPWFZ.mjs → info-BUDmirQy.mjs} +1 -1
- package/dist/{info-CtGMbfQJ.mjs → info-BivxW-qV.mjs} +1 -1
- package/dist/{info-BCPme1g5.mjs → info-Bn-BseIm.mjs} +1 -1
- package/dist/{info-Dk3RzCIp.mjs → info-C-ga_8K9.mjs} +1 -1
- package/dist/{info-DRYPl2T-.mjs → info-C3knY6l_.mjs} +58 -47
- package/dist/{info-DCRqBi8M.mjs → info-D0Pwnmsu.mjs} +71 -60
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +0 -6
- package/dts/api/index.d.ts +4 -2
- package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -0
- package/dts/api/itsm-sys-user-ext/index.d.ts +3 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +15 -1
- package/dts/constant.d.ts +1 -0
- package/dts/index.d.ts +1 -0
- package/dts/lang/itsmsys/zh-cn.d.ts +13 -0
- package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +31 -0
- package/dts/views/itsmsys/itsm-sys-user-out/import-upload.vue.d.ts +31 -0
- package/package.json +3 -3
- package/dist/edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs +0 -422
- package/dist/edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs +0 -422
- package/dist/index-BTO0NHK6.mjs +0 -397
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
|
|
4
|
-
import { D as
|
|
5
|
-
import { deptApi as
|
|
6
|
-
import { sysUserExtApi as
|
|
7
|
-
import { generateRandomKey as
|
|
8
|
-
const
|
|
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__ */
|
|
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__ */
|
|
21
|
-
setup(
|
|
22
|
-
const { t: i } =
|
|
23
|
-
|
|
24
|
-
let 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:
|
|
28
|
-
jobStatus:
|
|
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
|
|
31
|
-
o === void 0 &&
|
|
32
|
-
},
|
|
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:
|
|
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
|
-
}),
|
|
76
|
-
|
|
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
|
|
93
|
+
const T = async () => {
|
|
80
94
|
var e;
|
|
81
|
-
await ((e =
|
|
82
|
-
o && (
|
|
83
|
-
console.log(
|
|
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),
|
|
87
|
-
}) :
|
|
88
|
-
console.log(
|
|
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),
|
|
105
|
+
}), p.value && (p.value = !1), _("refresh", n.status === 200));
|
|
92
106
|
}));
|
|
93
107
|
}));
|
|
94
108
|
};
|
|
95
|
-
function
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}),
|
|
99
|
-
|
|
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
|
-
|
|
103
|
-
function
|
|
104
|
-
|
|
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
|
-
|
|
109
|
-
function
|
|
110
|
-
s.userPassword =
|
|
124
|
+
F();
|
|
125
|
+
function Z() {
|
|
126
|
+
s.userPassword = se();
|
|
111
127
|
}
|
|
112
|
-
function
|
|
128
|
+
function k() {
|
|
113
129
|
p.value && (p.value = !1);
|
|
114
130
|
}
|
|
115
131
|
return (e, o) => {
|
|
116
|
-
const
|
|
117
|
-
return
|
|
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[
|
|
120
|
-
onClose:
|
|
135
|
+
"onUpdate:modelValue": o[13] || (o[13] = (t) => p.value = t),
|
|
136
|
+
onClose: k
|
|
121
137
|
}, {
|
|
122
138
|
footer: a(() => [
|
|
123
|
-
|
|
124
|
-
l(
|
|
139
|
+
Y("div", re, [
|
|
140
|
+
l(h, { onClick: k }, {
|
|
125
141
|
default: a(() => [
|
|
126
|
-
|
|
142
|
+
I(M(e.$t("common.cancel")), 1)
|
|
127
143
|
]),
|
|
128
144
|
_: 1
|
|
129
145
|
}),
|
|
130
|
-
l(
|
|
146
|
+
l(h, {
|
|
131
147
|
type: "primary",
|
|
132
|
-
onClick:
|
|
148
|
+
onClick: T
|
|
133
149
|
}, {
|
|
134
150
|
default: a(() => [
|
|
135
|
-
|
|
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(
|
|
158
|
+
l(X, {
|
|
143
159
|
ref_key: "sysUserExtFormRef",
|
|
144
|
-
ref:
|
|
145
|
-
model:
|
|
160
|
+
ref: j,
|
|
161
|
+
model: r(s),
|
|
146
162
|
"label-width": "100px",
|
|
147
|
-
rules:
|
|
163
|
+
rules: E
|
|
148
164
|
}, {
|
|
149
165
|
default: a(() => [
|
|
150
|
-
l(
|
|
166
|
+
l(L, null, {
|
|
151
167
|
default: a(() => [
|
|
152
|
-
l(
|
|
168
|
+
l(u, { span: 12 }, {
|
|
153
169
|
default: a(() => [
|
|
154
|
-
l(
|
|
170
|
+
l(d, {
|
|
155
171
|
label: e.$t("sysUserMan.orgId"),
|
|
156
172
|
prop: "orgId"
|
|
157
173
|
}, {
|
|
158
174
|
default: a(() => [
|
|
159
|
-
l(
|
|
160
|
-
modelValue:
|
|
161
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
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:
|
|
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
|
-
|
|
189
|
+
g.value ? D("", !0) : (U(), V(u, {
|
|
190
|
+
key: 0,
|
|
191
|
+
span: 12
|
|
192
|
+
}, {
|
|
174
193
|
default: a(() => [
|
|
175
|
-
l(
|
|
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:
|
|
182
|
-
"onUpdate:modelValue": o[
|
|
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(
|
|
234
|
+
l(u, { span: 12 }, {
|
|
195
235
|
default: a(() => [
|
|
196
|
-
l(
|
|
236
|
+
l(d, {
|
|
197
237
|
label: e.$t("sysUserMan.gender"),
|
|
198
238
|
prop: "gender"
|
|
199
239
|
}, {
|
|
200
240
|
default: a(() => [
|
|
201
|
-
l(
|
|
202
|
-
modelValue:
|
|
203
|
-
"onUpdate:modelValue": o[
|
|
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(
|
|
255
|
+
l(u, { span: 12 }, {
|
|
216
256
|
default: a(() => [
|
|
217
|
-
l(
|
|
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:
|
|
224
|
-
"onUpdate:modelValue": o[
|
|
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(
|
|
276
|
+
l(u, { span: 12 }, {
|
|
237
277
|
default: a(() => [
|
|
238
|
-
l(
|
|
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:
|
|
245
|
-
"onUpdate:modelValue": o[
|
|
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(
|
|
297
|
+
l(u, { span: 12 }, {
|
|
258
298
|
default: a(() => [
|
|
259
|
-
l(
|
|
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:
|
|
266
|
-
"onUpdate:modelValue": o[
|
|
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(
|
|
318
|
+
l(u, { span: 12 }, {
|
|
279
319
|
default: a(() => [
|
|
280
|
-
l(
|
|
320
|
+
l(d, {
|
|
281
321
|
label: e.$t("sysUserMan.deptId"),
|
|
282
322
|
prop: "deptId"
|
|
283
323
|
}, {
|
|
284
324
|
default: a(() => [
|
|
285
|
-
l(
|
|
286
|
-
modelValue:
|
|
287
|
-
"onUpdate:modelValue": o[
|
|
288
|
-
data:
|
|
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(
|
|
342
|
+
l(u, { span: 12 }, {
|
|
303
343
|
default: a(() => [
|
|
304
|
-
l(
|
|
344
|
+
l(d, {
|
|
305
345
|
label: e.$t("sysUserMan.jobId"),
|
|
306
346
|
prop: "jobId"
|
|
307
347
|
}, {
|
|
308
348
|
default: a(() => [
|
|
309
|
-
l(
|
|
310
|
-
modelValue:
|
|
311
|
-
"onUpdate:modelValue": o[
|
|
312
|
-
data:
|
|
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(
|
|
366
|
+
l(u, { span: 12 }, {
|
|
327
367
|
default: a(() => [
|
|
328
|
-
l(
|
|
368
|
+
l(d, {
|
|
329
369
|
label: e.$t("sysUserOps.jobStatus"),
|
|
330
370
|
prop: "jobStatus"
|
|
331
371
|
}, {
|
|
332
372
|
default: a(() => [
|
|
333
|
-
l(
|
|
334
|
-
modelValue:
|
|
335
|
-
"onUpdate:modelValue": o[
|
|
336
|
-
|
|
337
|
-
|
|
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
|
-
|
|
357
|
-
|
|
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(
|
|
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:
|
|
368
|
-
"onUpdate:modelValue": o[
|
|
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(
|
|
428
|
+
l(h, { onClick: Z }, {
|
|
376
429
|
default: a(() => [
|
|
377
|
-
|
|
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
|
-
|
|
481
|
+
fe as _
|
|
404
482
|
};
|