xyvcard-itsmsys 0.0.25 → 0.0.26
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 → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/{edit-CNEVornb.mjs → edit-3Y_XpZxY.mjs} +3 -3
- package/dist/{edit-CfbonHOl.mjs → edit-4Z-ZnpFy.mjs} +1 -1
- package/dist/{edit-BrHOGUbU.mjs → edit-8-gDtIOz.mjs} +1 -1
- package/dist/{edit-C82n7Lq0.mjs → edit-BlkaYTGl.mjs} +1 -1
- package/dist/{edit-COKceKzl.mjs → edit-BuYTlsXr.mjs} +3 -3
- package/dist/{edit-DybO5r3p.mjs → edit-CEYAvHd3.mjs} +1 -1
- package/dist/{edit-DYqAdRsK.mjs → edit-diNsokNw.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs → edit.vue_vue_type_script_setup_true_lang-CFG4x85k.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs → edit.vue_vue_type_script_setup_true_lang-DeduEUOD.mjs} +100 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs → edit.vue_vue_type_script_setup_true_lang-T6aiep4s.mjs} +74 -72
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Cg1uyqed.mjs → edit.vue_vue_type_script_setup_true_lang-g81nThyI.mjs} +7 -7
- package/dist/{import-upload-CC1Ho43e.mjs → import-upload-BxVBkr7-.mjs} +2 -2
- package/dist/{import-upload-BaJGVcNb.mjs → import-upload-CtJh5u39.mjs} +2 -2
- package/dist/{index-igV06vtf.mjs → index-C2od41K0.mjs} +161 -153
- package/dist/{index-BV5uRZXE.mjs → index-CNmDTZ5s.mjs} +64 -58
- package/dist/{index-cpyRUYdS.mjs → index-CR3fzc4o.mjs} +79 -73
- package/dist/{index-Di1yx94g.mjs → index-Cgq1M4Qb.mjs} +120 -112
- package/dist/{index-CAzxJ_Vp.mjs → index-CuCoE8rm.mjs} +104 -98
- package/dist/{index-B2xwBTw-.mjs → index-RF4VErgF.mjs} +8 -8
- package/dist/{index-IpHv0Vzi.mjs → index-Trc70jRt.mjs} +1 -1
- package/dist/{index-cKI_mzoF.mjs → index-XMaINj6l.mjs} +188 -179
- package/dist/index.mjs +2 -2
- package/dist/index.vue_vue_type_script_setup_true_lang-B2_RWC8z.mjs +199 -0
- package/dist/{info-G1z1-aeX.mjs → info-0SKOqQd1.mjs} +2 -2
- package/dist/{info-DttXGxP3.mjs → info-BLmEh_qP.mjs} +2 -2
- package/dist/{info-BUKhtcuu.mjs → info-BVo8clC4.mjs} +2 -2
- package/dist/{info-AE3ch4Zw.mjs → info-Bbkgb1XC.mjs} +2 -2
- package/dist/{info-EodyqiPm.mjs → info-CSazWjOe.mjs} +2 -2
- package/dist/{info-6E3wqxd6.mjs → info-DPpTceEz.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs +0 -198
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as X, mergeModels as S, ref as y, useModel as Y, reactive as C, resolveComponent as m,
|
|
1
|
+
import { defineComponent as X, mergeModels as S, ref as y, useModel as Y, reactive as C, resolveComponent as m, createBlock as I, openBlock as h, withCtx as o, createVNode as l, unref as r, createCommentVNode as E, createTextVNode as w, toDisplayString as M, createElementVNode as Z } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
|
-
import { validatePhoneNumber as ee, validateEmail as le, validateIDCard as ae, generateRandomKey as
|
|
4
|
+
import { validatePhoneNumber as ee, validateEmail as le, validateIDCard as ae, generateRandomKey as se } from "jmash-core";
|
|
5
5
|
import { D as b, C as v } from "./index-dIcRC4jE.mjs";
|
|
6
|
-
import { deptApi as oe, jobApi as
|
|
6
|
+
import { deptApi as oe, jobApi as re, roleApi as te } from "jmash-rbac";
|
|
7
7
|
import { sysUserExtApi as q, sysOrgApi as de } from "./index.mjs";
|
|
8
|
-
const
|
|
8
|
+
const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
9
9
|
__name: "edit",
|
|
10
10
|
props: /* @__PURE__ */ S({
|
|
11
11
|
entityKey: {
|
|
@@ -21,7 +21,7 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
21
21
|
setup(N, { emit: A }) {
|
|
22
22
|
const { t: i } = x(), U = y(), $ = y(), R = y(), j = y(), p = Y(N, "modelValue"), P = A;
|
|
23
23
|
b.sysOrgBizDict.useValues(), b.parentIdBizDict.useValues();
|
|
24
|
-
let
|
|
24
|
+
let s = C({
|
|
25
25
|
requestId: Math.random() * 10 + "",
|
|
26
26
|
updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId,orgIds,roleIds",
|
|
27
27
|
userType: v.userType.companyManager,
|
|
@@ -90,17 +90,17 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
90
90
|
]
|
|
91
91
|
}), _ = N, K = Object.keys(_.entityKey), g = y(K.length >= 1);
|
|
92
92
|
g.value && q.findById(_.entityKey).then(({ data: e }) => {
|
|
93
|
-
Object.assign(
|
|
93
|
+
Object.assign(s, e), s.gender === "unknown" && (s.gender = "");
|
|
94
94
|
});
|
|
95
95
|
const F = async () => {
|
|
96
96
|
var e;
|
|
97
97
|
await ((e = j.value) == null ? void 0 : e.validate((a) => {
|
|
98
|
-
a && (g.value ? q.update(
|
|
98
|
+
a && (g.value ? q.update(s).then((d) => {
|
|
99
99
|
d.status === 200 && (O({
|
|
100
100
|
message: i("common.submitSuccess"),
|
|
101
101
|
type: "success"
|
|
102
102
|
}), p.value && (p.value = !1), P("refresh", d.status === 200));
|
|
103
|
-
}) : q.create(
|
|
103
|
+
}) : q.create(s).then((d) => {
|
|
104
104
|
d.status === 200 && (O({
|
|
105
105
|
message: i("common.submitSuccess"),
|
|
106
106
|
type: "success"
|
|
@@ -109,9 +109,9 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
109
109
|
}));
|
|
110
110
|
};
|
|
111
111
|
function L() {
|
|
112
|
-
oe.treelistDept(
|
|
112
|
+
oe.treelistDept().then(({ data: e }) => {
|
|
113
113
|
e.results ? U.value = e.results : U.value = [];
|
|
114
|
-
}),
|
|
114
|
+
}), re.treelistJob().then(({ data: e }) => {
|
|
115
115
|
$.value = e.results;
|
|
116
116
|
}), te.treelistRole().then(({ data: e }) => {
|
|
117
117
|
R.value = e.results;
|
|
@@ -120,25 +120,27 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
120
120
|
L();
|
|
121
121
|
function J() {
|
|
122
122
|
g.value || de.findOutSourceList({ orgType: v.orgType.cloud }).then(({ data: { results: e } }) => {
|
|
123
|
-
|
|
123
|
+
s.orgId = e[0].orgId;
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
J();
|
|
127
127
|
function G() {
|
|
128
|
-
|
|
128
|
+
s.userPassword = se();
|
|
129
129
|
}
|
|
130
130
|
function k() {
|
|
131
131
|
p.value && (p.value = !1);
|
|
132
132
|
}
|
|
133
133
|
return (e, a) => {
|
|
134
|
-
const d = m("jmash-select"),
|
|
135
|
-
return
|
|
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"), V = m("el-button"), H = m("el-row"), Q = m("el-form"), W = m("el-dialog");
|
|
135
|
+
return h(), I(W, {
|
|
136
136
|
modelValue: p.value,
|
|
137
137
|
"onUpdate:modelValue": a[13] || (a[13] = (t) => p.value = t),
|
|
138
|
+
"close-on-click-modal": !1,
|
|
139
|
+
"close-on-press-escape": !1,
|
|
138
140
|
onClose: k
|
|
139
141
|
}, {
|
|
140
142
|
footer: o(() => [
|
|
141
|
-
Z("div",
|
|
143
|
+
Z("div", ne, [
|
|
142
144
|
l(V, { onClick: k }, {
|
|
143
145
|
default: o(() => [
|
|
144
146
|
w(M(e.$t("common.cancel")), 1)
|
|
@@ -160,25 +162,25 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
160
162
|
l(Q, {
|
|
161
163
|
ref_key: "sysUserExtFormRef",
|
|
162
164
|
ref: j,
|
|
163
|
-
model: s
|
|
165
|
+
model: r(s),
|
|
164
166
|
"label-width": "100px",
|
|
165
167
|
rules: z
|
|
166
168
|
}, {
|
|
167
169
|
default: o(() => [
|
|
168
170
|
l(H, null, {
|
|
169
171
|
default: o(() => [
|
|
170
|
-
l(
|
|
172
|
+
l(u, { span: 12 }, {
|
|
171
173
|
default: o(() => [
|
|
172
|
-
l(
|
|
174
|
+
l(n, {
|
|
173
175
|
label: e.$t("sysUserMan.orgId"),
|
|
174
176
|
prop: "orgId"
|
|
175
177
|
}, {
|
|
176
178
|
default: o(() => [
|
|
177
179
|
l(d, {
|
|
178
|
-
modelValue: s
|
|
179
|
-
"onUpdate:modelValue": a[0] || (a[0] = (t) => s
|
|
180
|
+
modelValue: r(s).orgId,
|
|
181
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => r(s).orgId = t),
|
|
180
182
|
placeholder: e.$t("sysUserMan.orgIdRequired"),
|
|
181
|
-
data:
|
|
183
|
+
data: r(b).sysOrgBizDict.values,
|
|
182
184
|
clearable: "",
|
|
183
185
|
class: "w-full"
|
|
184
186
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -188,19 +190,19 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
188
190
|
]),
|
|
189
191
|
_: 1
|
|
190
192
|
}),
|
|
191
|
-
g.value ? E("", !0) : (
|
|
193
|
+
g.value ? E("", !0) : (h(), I(u, {
|
|
192
194
|
key: 0,
|
|
193
195
|
span: 12
|
|
194
196
|
}, {
|
|
195
197
|
default: o(() => [
|
|
196
|
-
l(
|
|
198
|
+
l(n, {
|
|
197
199
|
label: e.$t("sysUserMan.loginName"),
|
|
198
200
|
prop: "loginName"
|
|
199
201
|
}, {
|
|
200
202
|
default: o(() => [
|
|
201
203
|
l(f, {
|
|
202
|
-
modelValue: s
|
|
203
|
-
"onUpdate:modelValue": a[1] || (a[1] = (t) => s
|
|
204
|
+
modelValue: r(s).loginName,
|
|
205
|
+
"onUpdate:modelValue": a[1] || (a[1] = (t) => r(s).loginName = t),
|
|
204
206
|
clearable: "",
|
|
205
207
|
placeholder: e.$t("sysUserMan.loginNameRequired"),
|
|
206
208
|
maxlength: "30",
|
|
@@ -212,16 +214,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
212
214
|
]),
|
|
213
215
|
_: 1
|
|
214
216
|
})),
|
|
215
|
-
l(
|
|
217
|
+
l(u, { span: 12 }, {
|
|
216
218
|
default: o(() => [
|
|
217
|
-
l(
|
|
219
|
+
l(n, {
|
|
218
220
|
label: e.$t("sysUserMan.realName"),
|
|
219
221
|
prop: "realName"
|
|
220
222
|
}, {
|
|
221
223
|
default: o(() => [
|
|
222
224
|
l(f, {
|
|
223
|
-
modelValue: s
|
|
224
|
-
"onUpdate:modelValue": a[2] || (a[2] = (t) => s
|
|
225
|
+
modelValue: r(s).realName,
|
|
226
|
+
"onUpdate:modelValue": a[2] || (a[2] = (t) => r(s).realName = t),
|
|
225
227
|
placeholder: e.$t("sysUserMan.realNameRequired"),
|
|
226
228
|
maxlength: "8",
|
|
227
229
|
"show-word-limit": "",
|
|
@@ -233,17 +235,17 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
233
235
|
]),
|
|
234
236
|
_: 1
|
|
235
237
|
}),
|
|
236
|
-
l(
|
|
238
|
+
l(u, { span: 12 }, {
|
|
237
239
|
default: o(() => [
|
|
238
|
-
l(
|
|
240
|
+
l(n, {
|
|
239
241
|
label: e.$t("sysUserMan.gender"),
|
|
240
242
|
prop: "gender"
|
|
241
243
|
}, {
|
|
242
244
|
default: o(() => [
|
|
243
245
|
l(D, {
|
|
244
|
-
modelValue: s
|
|
245
|
-
"onUpdate:modelValue": a[3] || (a[3] = (t) => s
|
|
246
|
-
data:
|
|
246
|
+
modelValue: r(s).gender,
|
|
247
|
+
"onUpdate:modelValue": a[3] || (a[3] = (t) => r(s).gender = t),
|
|
248
|
+
data: r(b).genderDict.values
|
|
247
249
|
}, null, 8, ["modelValue", "data"])
|
|
248
250
|
]),
|
|
249
251
|
_: 1
|
|
@@ -251,16 +253,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
251
253
|
]),
|
|
252
254
|
_: 1
|
|
253
255
|
}),
|
|
254
|
-
l(
|
|
256
|
+
l(u, { span: 12 }, {
|
|
255
257
|
default: o(() => [
|
|
256
|
-
l(
|
|
258
|
+
l(n, {
|
|
257
259
|
label: e.$t("sysUserMan.mobilePhone"),
|
|
258
260
|
prop: "mobilePhone"
|
|
259
261
|
}, {
|
|
260
262
|
default: o(() => [
|
|
261
263
|
l(f, {
|
|
262
|
-
modelValue: s
|
|
263
|
-
"onUpdate:modelValue": a[4] || (a[4] = (t) => s
|
|
264
|
+
modelValue: r(s).mobilePhone,
|
|
265
|
+
"onUpdate:modelValue": a[4] || (a[4] = (t) => r(s).mobilePhone = t),
|
|
264
266
|
placeholder: e.$t("sysUserMan.mobilePhoneRequired"),
|
|
265
267
|
maxlength: "11",
|
|
266
268
|
"show-word-limit": "",
|
|
@@ -272,16 +274,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
272
274
|
]),
|
|
273
275
|
_: 1
|
|
274
276
|
}),
|
|
275
|
-
l(
|
|
277
|
+
l(u, { span: 12 }, {
|
|
276
278
|
default: o(() => [
|
|
277
|
-
l(
|
|
279
|
+
l(n, {
|
|
278
280
|
label: e.$t("sysUserMan.email"),
|
|
279
281
|
prop: "email"
|
|
280
282
|
}, {
|
|
281
283
|
default: o(() => [
|
|
282
284
|
l(f, {
|
|
283
|
-
modelValue: s
|
|
284
|
-
"onUpdate:modelValue": a[5] || (a[5] = (t) => s
|
|
285
|
+
modelValue: r(s).email,
|
|
286
|
+
"onUpdate:modelValue": a[5] || (a[5] = (t) => r(s).email = t),
|
|
285
287
|
placeholder: e.$t("sysUserMan.emailRequired"),
|
|
286
288
|
maxlength: "30",
|
|
287
289
|
"show-word-limit": "",
|
|
@@ -293,16 +295,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
293
295
|
]),
|
|
294
296
|
_: 1
|
|
295
297
|
}),
|
|
296
|
-
l(
|
|
298
|
+
l(u, { span: 12 }, {
|
|
297
299
|
default: o(() => [
|
|
298
|
-
l(
|
|
300
|
+
l(n, {
|
|
299
301
|
label: e.$t("sysUserOps.idNo"),
|
|
300
302
|
prop: "idNo"
|
|
301
303
|
}, {
|
|
302
304
|
default: o(() => [
|
|
303
305
|
l(f, {
|
|
304
|
-
modelValue: s
|
|
305
|
-
"onUpdate:modelValue": a[6] || (a[6] = (t) => s
|
|
306
|
+
modelValue: r(s).idNo,
|
|
307
|
+
"onUpdate:modelValue": a[6] || (a[6] = (t) => r(s).idNo = t),
|
|
306
308
|
placeholder: e.$t("sysUserOps.idNoRequired"),
|
|
307
309
|
maxlength: "18",
|
|
308
310
|
"show-word-limit": "",
|
|
@@ -314,16 +316,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
314
316
|
]),
|
|
315
317
|
_: 1
|
|
316
318
|
}),
|
|
317
|
-
l(
|
|
319
|
+
l(u, { span: 12 }, {
|
|
318
320
|
default: o(() => [
|
|
319
|
-
l(
|
|
321
|
+
l(n, {
|
|
320
322
|
label: e.$t("sysUserMan.deptId"),
|
|
321
323
|
prop: "deptId"
|
|
322
324
|
}, {
|
|
323
325
|
default: o(() => [
|
|
324
326
|
l(c, {
|
|
325
|
-
modelValue: s
|
|
326
|
-
"onUpdate:modelValue": a[7] || (a[7] = (t) => s
|
|
327
|
+
modelValue: r(s).deptId,
|
|
328
|
+
"onUpdate:modelValue": a[7] || (a[7] = (t) => r(s).deptId = t),
|
|
327
329
|
data: U.value || [],
|
|
328
330
|
"render-after-expand": !1,
|
|
329
331
|
filterable: "",
|
|
@@ -338,16 +340,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
338
340
|
]),
|
|
339
341
|
_: 1
|
|
340
342
|
}),
|
|
341
|
-
l(
|
|
343
|
+
l(u, { span: 12 }, {
|
|
342
344
|
default: o(() => [
|
|
343
|
-
l(
|
|
345
|
+
l(n, {
|
|
344
346
|
label: e.$t("sysUserMan.jobId"),
|
|
345
347
|
prop: "jobId"
|
|
346
348
|
}, {
|
|
347
349
|
default: o(() => [
|
|
348
350
|
l(c, {
|
|
349
|
-
modelValue: s
|
|
350
|
-
"onUpdate:modelValue": a[8] || (a[8] = (t) => s
|
|
351
|
+
modelValue: r(s).jobId,
|
|
352
|
+
"onUpdate:modelValue": a[8] || (a[8] = (t) => r(s).jobId = t),
|
|
351
353
|
data: $.value || [],
|
|
352
354
|
"render-after-expand": !1,
|
|
353
355
|
filterable: "",
|
|
@@ -362,17 +364,17 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
362
364
|
]),
|
|
363
365
|
_: 1
|
|
364
366
|
}),
|
|
365
|
-
l(
|
|
367
|
+
l(u, { span: 12 }, {
|
|
366
368
|
default: o(() => [
|
|
367
|
-
l(
|
|
369
|
+
l(n, {
|
|
368
370
|
label: e.$t("sysUserOps.jobStatus"),
|
|
369
371
|
prop: "jobStatus"
|
|
370
372
|
}, {
|
|
371
373
|
default: o(() => [
|
|
372
374
|
l(D, {
|
|
373
|
-
modelValue: s
|
|
374
|
-
"onUpdate:modelValue": a[9] || (a[9] = (t) => s
|
|
375
|
-
data:
|
|
375
|
+
modelValue: r(s).jobStatus,
|
|
376
|
+
"onUpdate:modelValue": a[9] || (a[9] = (t) => r(s).jobStatus = t),
|
|
377
|
+
data: r(b).jobStatusDictEnum.values
|
|
376
378
|
}, null, 8, ["modelValue", "data"])
|
|
377
379
|
]),
|
|
378
380
|
_: 1
|
|
@@ -380,16 +382,16 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
380
382
|
]),
|
|
381
383
|
_: 1
|
|
382
384
|
}),
|
|
383
|
-
l(
|
|
385
|
+
l(u, { span: 12 }, {
|
|
384
386
|
default: o(() => [
|
|
385
|
-
l(
|
|
387
|
+
l(n, {
|
|
386
388
|
label: e.$t("sysUserMan.roleIds"),
|
|
387
389
|
prop: "roleIds"
|
|
388
390
|
}, {
|
|
389
391
|
default: o(() => [
|
|
390
392
|
l(c, {
|
|
391
|
-
modelValue: s
|
|
392
|
-
"onUpdate:modelValue": a[10] || (a[10] = (t) => s
|
|
393
|
+
modelValue: r(s).roleIds,
|
|
394
|
+
"onUpdate:modelValue": a[10] || (a[10] = (t) => r(s).roleIds = t),
|
|
393
395
|
data: R.value,
|
|
394
396
|
"render-after-expand": !1,
|
|
395
397
|
"show-checkbox": "",
|
|
@@ -405,19 +407,19 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
405
407
|
]),
|
|
406
408
|
_: 1
|
|
407
409
|
}),
|
|
408
|
-
g.value ? E("", !0) : (
|
|
410
|
+
g.value ? E("", !0) : (h(), I(u, {
|
|
409
411
|
key: 1,
|
|
410
412
|
span: 12
|
|
411
413
|
}, {
|
|
412
414
|
default: o(() => [
|
|
413
|
-
l(
|
|
415
|
+
l(n, {
|
|
414
416
|
label: e.$t("sysUserMan.userPassword"),
|
|
415
417
|
prop: "userPassword"
|
|
416
418
|
}, {
|
|
417
419
|
default: o(() => [
|
|
418
420
|
l(f, {
|
|
419
|
-
modelValue: s
|
|
420
|
-
"onUpdate:modelValue": a[11] || (a[11] = (t) => s
|
|
421
|
+
modelValue: r(s).userPassword,
|
|
422
|
+
"onUpdate:modelValue": a[11] || (a[11] = (t) => r(s).userPassword = t),
|
|
421
423
|
clearable: "",
|
|
422
424
|
type: "password",
|
|
423
425
|
"show-password": "",
|
|
@@ -439,17 +441,17 @@ const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
439
441
|
]),
|
|
440
442
|
_: 1
|
|
441
443
|
})),
|
|
442
|
-
l(
|
|
444
|
+
l(u, { span: 24 }, {
|
|
443
445
|
default: o(() => [
|
|
444
|
-
l(
|
|
446
|
+
l(n, {
|
|
445
447
|
label: e.$t("sysUserMan.orgIds"),
|
|
446
448
|
prop: "orgIds"
|
|
447
449
|
}, {
|
|
448
450
|
default: o(() => [
|
|
449
451
|
l(c, {
|
|
450
|
-
modelValue: s
|
|
451
|
-
"onUpdate:modelValue": a[12] || (a[12] = (t) => s
|
|
452
|
-
data:
|
|
452
|
+
modelValue: r(s).orgIds,
|
|
453
|
+
"onUpdate:modelValue": a[12] || (a[12] = (t) => r(s).orgIds = t),
|
|
454
|
+
data: r(b).parentIdBizDict.values,
|
|
453
455
|
filterable: "",
|
|
454
456
|
clearable: "",
|
|
455
457
|
"check-strictly": "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, mergeModels as q, ref as N, useModel as F, reactive as R, resolveComponent as m,
|
|
1
|
+
import { defineComponent as z, mergeModels as q, ref as N, useModel as F, reactive as R, resolveComponent as m, createBlock as K, openBlock as A, withCtx as r, createVNode as e, unref as o, createElementVNode as G, createTextVNode as $, toDisplayString as E } from "vue";
|
|
2
2
|
import { ElMessage as j } from "element-plus";
|
|
3
3
|
import { useI18n as L } from "vue-i18n";
|
|
4
4
|
import { validatePhoneNumber as H, validateEmail as Q, validateIDCard as W } from "jmash-core";
|
|
@@ -19,11 +19,11 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
|
|
|
19
19
|
emits: /* @__PURE__ */ q(["refresh"], ["update:modelValue"]),
|
|
20
20
|
setup(c, { emit: C }) {
|
|
21
21
|
const { t: u } = L(), U = N(), p = F(c, "modelValue"), V = C;
|
|
22
|
-
g.
|
|
22
|
+
g.sysOrgBizDict.useValues();
|
|
23
23
|
let s = R({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
25
|
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineerType,engineerJobMode,engineerSpecialty,engineerCertificate",
|
|
26
|
-
userType: y.userType.
|
|
26
|
+
userType: y.userType.companyOps,
|
|
27
27
|
jobStatus: y.jobStatus.working,
|
|
28
28
|
engineerType: y.engineerType.ease_test,
|
|
29
29
|
engineerJobMode: y.engineerJobMode.resident
|
|
@@ -107,9 +107,11 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
|
|
|
107
107
|
}
|
|
108
108
|
return (a, l) => {
|
|
109
109
|
const n = m("jmash-select"), d = m("el-form-item"), i = m("el-col"), f = m("el-input"), v = m("jmash-enum-radio"), J = m("jmash-dict-select"), P = m("el-row"), k = m("el-form"), _ = m("el-button"), B = m("el-dialog");
|
|
110
|
-
return
|
|
110
|
+
return A(), K(B, {
|
|
111
111
|
modelValue: p.value,
|
|
112
112
|
"onUpdate:modelValue": l[11] || (l[11] = (t) => p.value = t),
|
|
113
|
+
"close-on-click-modal": !1,
|
|
114
|
+
"close-on-press-escape": !1,
|
|
113
115
|
onClose: w
|
|
114
116
|
}, {
|
|
115
117
|
footer: r(() => [
|
|
@@ -153,10 +155,8 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
|
|
|
153
155
|
modelValue: o(s).orgId,
|
|
154
156
|
"onUpdate:modelValue": l[0] || (l[0] = (t) => o(s).orgId = t),
|
|
155
157
|
placeholder: a.$t("sysUserOps.orgIdRequired"),
|
|
156
|
-
data: o(g).
|
|
158
|
+
data: o(g).sysOrgBizDict.values,
|
|
157
159
|
clearable: "",
|
|
158
|
-
filterable: "",
|
|
159
|
-
"check-strictly": "",
|
|
160
160
|
class: "w-full"
|
|
161
161
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
162
162
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l,
|
|
1
|
+
import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, createBlock as G, openBlock as J, unref as V, isRef as K, withCtx as o, createVNode as t, createElementVNode as a, toDisplayString as n, createTextVNode as m } from "vue";
|
|
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";
|
|
@@ -61,7 +61,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
|
|
|
61
61
|
}
|
|
62
62
|
return (e, s) => {
|
|
63
63
|
const y = l("el-col"), x = l("jmash-select"), F = l("el-row"), M = l("upload-filled"), T = l("el-icon"), j = l("el-upload"), h = l("el-button"), z = l("el-dialog");
|
|
64
|
-
return
|
|
64
|
+
return J(), G(z, {
|
|
65
65
|
modelValue: V(p),
|
|
66
66
|
"onUpdate:modelValue": s[1] || (s[1] = (c) => K(p) ? p.value = c : null),
|
|
67
67
|
title: e.$t("common.uploadFiles"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l,
|
|
1
|
+
import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, createBlock as G, openBlock as J, unref as V, isRef as K, withCtx as o, createVNode as t, createElementVNode as a, toDisplayString as n, createTextVNode as m } from "vue";
|
|
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";
|
|
@@ -61,7 +61,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
|
|
|
61
61
|
}
|
|
62
62
|
return (e, s) => {
|
|
63
63
|
const y = l("el-col"), x = l("jmash-select"), F = l("el-row"), M = l("upload-filled"), T = l("el-icon"), j = l("el-upload"), h = l("el-button"), z = l("el-dialog");
|
|
64
|
-
return
|
|
64
|
+
return J(), G(z, {
|
|
65
65
|
modelValue: V(u),
|
|
66
66
|
"onUpdate:modelValue": s[1] || (s[1] = (c) => K(u) ? u.value = c : null),
|
|
67
67
|
title: e.$t("common.uploadFiles"),
|