xyvcard-itsmsys 0.0.23 → 0.0.25
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/{edit-Czi-Vkbf.mjs → edit-C82n7Lq0.mjs} +1 -1
- package/dist/{edit-_QJnKCdq.mjs → edit-CfbonHOl.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs → edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs} +52 -52
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs → edit.vue_vue_type_script_setup_true_lang-Cg1uyqed.mjs} +64 -62
- package/dist/{index-WHNNztBg.mjs → index-cKI_mzoF.mjs} +30 -26
- package/dist/{index-q_wZjCJN.mjs → index-igV06vtf.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as X, mergeModels as S, ref as y, useModel as Y, reactive as C, resolveComponent as m, openBlock as
|
|
1
|
+
import { defineComponent as X, mergeModels as S, ref as y, useModel as Y, reactive as C, resolveComponent as m, openBlock as I, createBlock as h, withCtx as o, createElementVNode as Z, createVNode as l, createTextVNode as w, toDisplayString as M, unref as s, createCommentVNode as E } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
4
|
import { validatePhoneNumber as ee, validateEmail as le, validateIDCard as ae, generateRandomKey as re } from "jmash-core";
|
|
5
|
-
import { D as b, C as
|
|
5
|
+
import { D as b, C as v } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { deptApi as oe, jobApi as se, roleApi as te } from "jmash-rbac";
|
|
7
|
-
import { sysUserExtApi as
|
|
8
|
-
const
|
|
7
|
+
import { sysUserExtApi as q, sysOrgApi as de } from "./index.mjs";
|
|
8
|
+
const ue = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
9
9
|
__name: "edit",
|
|
10
10
|
props: /* @__PURE__ */ S({
|
|
11
11
|
entityKey: {
|
|
@@ -18,14 +18,14 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
|
|
21
|
-
setup(
|
|
22
|
-
const { t: i } = x(),
|
|
21
|
+
setup(N, { emit: A }) {
|
|
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
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:
|
|
28
|
-
jobStatus:
|
|
27
|
+
userType: v.userType.companyManager,
|
|
28
|
+
jobStatus: v.jobStatus.working
|
|
29
29
|
});
|
|
30
30
|
const B = (e, a, d) => {
|
|
31
31
|
a && (le(a) || d(new Error(i("sysUserMan.emailRequireds")))), d();
|
|
@@ -88,19 +88,19 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
88
88
|
trigger: "blur"
|
|
89
89
|
}
|
|
90
90
|
]
|
|
91
|
-
}), _ =
|
|
92
|
-
g.value &&
|
|
91
|
+
}), _ = N, K = Object.keys(_.entityKey), g = y(K.length >= 1);
|
|
92
|
+
g.value && q.findById(_.entityKey).then(({ data: e }) => {
|
|
93
93
|
Object.assign(r, e), r.gender === "unknown" && (r.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 ?
|
|
98
|
+
a && (g.value ? q.update(r).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
|
-
}) :
|
|
103
|
+
}) : q.create(r).then((d) => {
|
|
104
104
|
d.status === 200 && (O({
|
|
105
105
|
message: i("common.submitSuccess"),
|
|
106
106
|
type: "success"
|
|
@@ -109,8 +109,8 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
109
109
|
}));
|
|
110
110
|
};
|
|
111
111
|
function L() {
|
|
112
|
-
oe.treelistDept().then(({ data: e }) => {
|
|
113
|
-
|
|
112
|
+
oe.treelistDept({}).then(({ data: e }) => {
|
|
113
|
+
e.results ? U.value = e.results : U.value = [];
|
|
114
114
|
}), se.treelistJob().then(({ data: e }) => {
|
|
115
115
|
$.value = e.results;
|
|
116
116
|
}), te.treelistRole().then(({ data: e }) => {
|
|
@@ -119,7 +119,7 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
119
119
|
}
|
|
120
120
|
L();
|
|
121
121
|
function J() {
|
|
122
|
-
g.value || de.findOutSourceList({ orgType:
|
|
122
|
+
g.value || de.findOutSourceList({ orgType: v.orgType.cloud }).then(({ data: { results: e } }) => {
|
|
123
123
|
r.orgId = e[0].orgId;
|
|
124
124
|
});
|
|
125
125
|
}
|
|
@@ -131,26 +131,26 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
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"), u = m("el-form-item"), n = 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 I(), h(W, {
|
|
136
136
|
modelValue: p.value,
|
|
137
137
|
"onUpdate:modelValue": a[13] || (a[13] = (t) => p.value = t),
|
|
138
138
|
onClose: k
|
|
139
139
|
}, {
|
|
140
140
|
footer: o(() => [
|
|
141
|
-
Z("div",
|
|
142
|
-
l(
|
|
141
|
+
Z("div", ue, [
|
|
142
|
+
l(V, { onClick: k }, {
|
|
143
143
|
default: o(() => [
|
|
144
|
-
|
|
144
|
+
w(M(e.$t("common.cancel")), 1)
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
147
147
|
}),
|
|
148
|
-
l(
|
|
148
|
+
l(V, {
|
|
149
149
|
type: "primary",
|
|
150
150
|
onClick: F
|
|
151
151
|
}, {
|
|
152
152
|
default: o(() => [
|
|
153
|
-
|
|
153
|
+
w(M(e.$t("common.confirm")), 1)
|
|
154
154
|
]),
|
|
155
155
|
_: 1
|
|
156
156
|
})
|
|
@@ -167,9 +167,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
167
167
|
default: o(() => [
|
|
168
168
|
l(H, null, {
|
|
169
169
|
default: o(() => [
|
|
170
|
-
l(
|
|
170
|
+
l(n, { span: 12 }, {
|
|
171
171
|
default: o(() => [
|
|
172
|
-
l(
|
|
172
|
+
l(u, {
|
|
173
173
|
label: e.$t("sysUserMan.orgId"),
|
|
174
174
|
prop: "orgId"
|
|
175
175
|
}, {
|
|
@@ -188,12 +188,12 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
188
188
|
]),
|
|
189
189
|
_: 1
|
|
190
190
|
}),
|
|
191
|
-
g.value ? E("", !0) : (
|
|
191
|
+
g.value ? E("", !0) : (I(), h(n, {
|
|
192
192
|
key: 0,
|
|
193
193
|
span: 12
|
|
194
194
|
}, {
|
|
195
195
|
default: o(() => [
|
|
196
|
-
l(
|
|
196
|
+
l(u, {
|
|
197
197
|
label: e.$t("sysUserMan.loginName"),
|
|
198
198
|
prop: "loginName"
|
|
199
199
|
}, {
|
|
@@ -212,9 +212,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
212
212
|
]),
|
|
213
213
|
_: 1
|
|
214
214
|
})),
|
|
215
|
-
l(
|
|
215
|
+
l(n, { span: 12 }, {
|
|
216
216
|
default: o(() => [
|
|
217
|
-
l(
|
|
217
|
+
l(u, {
|
|
218
218
|
label: e.$t("sysUserMan.realName"),
|
|
219
219
|
prop: "realName"
|
|
220
220
|
}, {
|
|
@@ -233,9 +233,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
233
233
|
]),
|
|
234
234
|
_: 1
|
|
235
235
|
}),
|
|
236
|
-
l(
|
|
236
|
+
l(n, { span: 12 }, {
|
|
237
237
|
default: o(() => [
|
|
238
|
-
l(
|
|
238
|
+
l(u, {
|
|
239
239
|
label: e.$t("sysUserMan.gender"),
|
|
240
240
|
prop: "gender"
|
|
241
241
|
}, {
|
|
@@ -251,9 +251,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
251
251
|
]),
|
|
252
252
|
_: 1
|
|
253
253
|
}),
|
|
254
|
-
l(
|
|
254
|
+
l(n, { span: 12 }, {
|
|
255
255
|
default: o(() => [
|
|
256
|
-
l(
|
|
256
|
+
l(u, {
|
|
257
257
|
label: e.$t("sysUserMan.mobilePhone"),
|
|
258
258
|
prop: "mobilePhone"
|
|
259
259
|
}, {
|
|
@@ -272,9 +272,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
272
272
|
]),
|
|
273
273
|
_: 1
|
|
274
274
|
}),
|
|
275
|
-
l(
|
|
275
|
+
l(n, { span: 12 }, {
|
|
276
276
|
default: o(() => [
|
|
277
|
-
l(
|
|
277
|
+
l(u, {
|
|
278
278
|
label: e.$t("sysUserMan.email"),
|
|
279
279
|
prop: "email"
|
|
280
280
|
}, {
|
|
@@ -293,9 +293,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
293
293
|
]),
|
|
294
294
|
_: 1
|
|
295
295
|
}),
|
|
296
|
-
l(
|
|
296
|
+
l(n, { span: 12 }, {
|
|
297
297
|
default: o(() => [
|
|
298
|
-
l(
|
|
298
|
+
l(u, {
|
|
299
299
|
label: e.$t("sysUserOps.idNo"),
|
|
300
300
|
prop: "idNo"
|
|
301
301
|
}, {
|
|
@@ -314,9 +314,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
314
314
|
]),
|
|
315
315
|
_: 1
|
|
316
316
|
}),
|
|
317
|
-
l(
|
|
317
|
+
l(n, { span: 12 }, {
|
|
318
318
|
default: o(() => [
|
|
319
|
-
l(
|
|
319
|
+
l(u, {
|
|
320
320
|
label: e.$t("sysUserMan.deptId"),
|
|
321
321
|
prop: "deptId"
|
|
322
322
|
}, {
|
|
@@ -324,7 +324,7 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
324
324
|
l(c, {
|
|
325
325
|
modelValue: s(r).deptId,
|
|
326
326
|
"onUpdate:modelValue": a[7] || (a[7] = (t) => s(r).deptId = t),
|
|
327
|
-
data:
|
|
327
|
+
data: U.value || [],
|
|
328
328
|
"render-after-expand": !1,
|
|
329
329
|
filterable: "",
|
|
330
330
|
clearable: "",
|
|
@@ -338,9 +338,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
338
338
|
]),
|
|
339
339
|
_: 1
|
|
340
340
|
}),
|
|
341
|
-
l(
|
|
341
|
+
l(n, { span: 12 }, {
|
|
342
342
|
default: o(() => [
|
|
343
|
-
l(
|
|
343
|
+
l(u, {
|
|
344
344
|
label: e.$t("sysUserMan.jobId"),
|
|
345
345
|
prop: "jobId"
|
|
346
346
|
}, {
|
|
@@ -348,7 +348,7 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
348
348
|
l(c, {
|
|
349
349
|
modelValue: s(r).jobId,
|
|
350
350
|
"onUpdate:modelValue": a[8] || (a[8] = (t) => s(r).jobId = t),
|
|
351
|
-
data: $.value,
|
|
351
|
+
data: $.value || [],
|
|
352
352
|
"render-after-expand": !1,
|
|
353
353
|
filterable: "",
|
|
354
354
|
clearable: "",
|
|
@@ -362,9 +362,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
362
362
|
]),
|
|
363
363
|
_: 1
|
|
364
364
|
}),
|
|
365
|
-
l(
|
|
365
|
+
l(n, { span: 12 }, {
|
|
366
366
|
default: o(() => [
|
|
367
|
-
l(
|
|
367
|
+
l(u, {
|
|
368
368
|
label: e.$t("sysUserOps.jobStatus"),
|
|
369
369
|
prop: "jobStatus"
|
|
370
370
|
}, {
|
|
@@ -380,9 +380,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
380
380
|
]),
|
|
381
381
|
_: 1
|
|
382
382
|
}),
|
|
383
|
-
l(
|
|
383
|
+
l(n, { span: 12 }, {
|
|
384
384
|
default: o(() => [
|
|
385
|
-
l(
|
|
385
|
+
l(u, {
|
|
386
386
|
label: e.$t("sysUserMan.roleIds"),
|
|
387
387
|
prop: "roleIds"
|
|
388
388
|
}, {
|
|
@@ -405,12 +405,12 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
407
|
}),
|
|
408
|
-
g.value ? E("", !0) : (
|
|
408
|
+
g.value ? E("", !0) : (I(), h(n, {
|
|
409
409
|
key: 1,
|
|
410
410
|
span: 12
|
|
411
411
|
}, {
|
|
412
412
|
default: o(() => [
|
|
413
|
-
l(
|
|
413
|
+
l(u, {
|
|
414
414
|
label: e.$t("sysUserMan.userPassword"),
|
|
415
415
|
prop: "userPassword"
|
|
416
416
|
}, {
|
|
@@ -424,9 +424,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
424
424
|
placeholder: e.$t("sysUserMan.userPasswordRequired")
|
|
425
425
|
}, {
|
|
426
426
|
append: o(() => [
|
|
427
|
-
l(
|
|
427
|
+
l(V, { onClick: G }, {
|
|
428
428
|
default: o(() => [
|
|
429
|
-
|
|
429
|
+
w(M(e.$t("sysUserMan.randomPwd")), 1)
|
|
430
430
|
]),
|
|
431
431
|
_: 1
|
|
432
432
|
})
|
|
@@ -439,9 +439,9 @@ const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
|
439
439
|
]),
|
|
440
440
|
_: 1
|
|
441
441
|
})),
|
|
442
|
-
l(
|
|
442
|
+
l(n, { span: 24 }, {
|
|
443
443
|
default: o(() => [
|
|
444
|
-
l(
|
|
444
|
+
l(u, {
|
|
445
445
|
label: e.$t("sysUserMan.orgIds"),
|
|
446
446
|
prop: "orgIds"
|
|
447
447
|
}, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as z, mergeModels as q, ref as N, useModel as F, reactive as R, resolveComponent as m, openBlock as K, createBlock as A, withCtx as r, createElementVNode as G, createVNode as e, createTextVNode as $, toDisplayString as E, unref as
|
|
1
|
+
import { defineComponent as z, mergeModels as q, ref as N, useModel as F, reactive as R, resolveComponent as m, openBlock as K, createBlock as A, withCtx as r, createElementVNode as G, createVNode as e, createTextVNode as $, toDisplayString as E, unref as o } 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";
|
|
5
5
|
import { D as g, C as y } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysUserExtApi as b } from "./index.mjs";
|
|
7
|
-
const X = { class: "dialog-footer" },
|
|
7
|
+
const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ q({
|
|
10
10
|
entityKey: {
|
|
@@ -28,9 +28,9 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
28
28
|
engineerType: y.engineerType.ease_test,
|
|
29
29
|
engineerJobMode: y.engineerJobMode.resident
|
|
30
30
|
});
|
|
31
|
-
const M = (
|
|
31
|
+
const M = (a, l, n) => {
|
|
32
32
|
l && (Q(l) || n(new Error(u("sysUserOps.emailRequireds")))), n();
|
|
33
|
-
}, S = (
|
|
33
|
+
}, S = (a, l, n) => {
|
|
34
34
|
l && (W(l) || n(new Error(u("sysUserOps.idNoLengthRequired")))), n();
|
|
35
35
|
}, I = R({
|
|
36
36
|
realName: [
|
|
@@ -43,7 +43,7 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
43
43
|
mobilePhone: [
|
|
44
44
|
{
|
|
45
45
|
required: !0,
|
|
46
|
-
validator: (
|
|
46
|
+
validator: (a, l, n) => {
|
|
47
47
|
l ? H(l) ? n() : n(new Error(u("sysUserOps.mobilePhoneRequireds"))) : n(new Error(u("sysUserOps.mobilePhoneRequired")));
|
|
48
48
|
},
|
|
49
49
|
trigger: "blur"
|
|
@@ -83,12 +83,12 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
83
83
|
}
|
|
84
84
|
]
|
|
85
85
|
}), h = c, T = Object.keys(h.entityKey), O = N(T.length >= 1);
|
|
86
|
-
O.value && b.findById(h.entityKey).then(({ data:
|
|
87
|
-
Object.assign(s,
|
|
86
|
+
O.value && b.findById(h.entityKey).then(({ data: a }) => {
|
|
87
|
+
Object.assign(s, a), s.gender === "unknown" && (s.gender = "");
|
|
88
88
|
});
|
|
89
89
|
const D = async () => {
|
|
90
|
-
var
|
|
91
|
-
await ((
|
|
90
|
+
var a;
|
|
91
|
+
await ((a = U.value) == null ? void 0 : a.validate((l) => {
|
|
92
92
|
l && (O.value ? b.update(s).then((n) => {
|
|
93
93
|
n.status === 200 && (j({
|
|
94
94
|
message: u("common.submitSuccess"),
|
|
@@ -105,7 +105,7 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
105
105
|
function w() {
|
|
106
106
|
p.value && (p.value = !1);
|
|
107
107
|
}
|
|
108
|
-
return (
|
|
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
110
|
return K(), A(B, {
|
|
111
111
|
modelValue: p.value,
|
|
@@ -116,7 +116,7 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
116
116
|
G("div", X, [
|
|
117
117
|
e(_, { onClick: w }, {
|
|
118
118
|
default: r(() => [
|
|
119
|
-
$(E(
|
|
119
|
+
$(E(a.$t("common.cancel")), 1)
|
|
120
120
|
]),
|
|
121
121
|
_: 1
|
|
122
122
|
}),
|
|
@@ -125,7 +125,7 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
125
125
|
onClick: D
|
|
126
126
|
}, {
|
|
127
127
|
default: r(() => [
|
|
128
|
-
$(E(
|
|
128
|
+
$(E(a.$t("common.confirm")), 1)
|
|
129
129
|
]),
|
|
130
130
|
_: 1
|
|
131
131
|
})
|
|
@@ -135,7 +135,7 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
135
135
|
e(k, {
|
|
136
136
|
ref_key: "sysUserExtFormRef",
|
|
137
137
|
ref: U,
|
|
138
|
-
model:
|
|
138
|
+
model: o(s),
|
|
139
139
|
"label-width": "100px",
|
|
140
140
|
rules: I
|
|
141
141
|
}, {
|
|
@@ -145,16 +145,18 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
145
145
|
e(i, { span: 12 }, {
|
|
146
146
|
default: r(() => [
|
|
147
147
|
e(d, {
|
|
148
|
-
label:
|
|
148
|
+
label: a.$t("sysUserOps.orgId"),
|
|
149
149
|
prop: "orgId"
|
|
150
150
|
}, {
|
|
151
151
|
default: r(() => [
|
|
152
152
|
e(n, {
|
|
153
|
-
modelValue:
|
|
154
|
-
"onUpdate:modelValue": l[0] || (l[0] = (t) =>
|
|
155
|
-
placeholder:
|
|
156
|
-
data:
|
|
153
|
+
modelValue: o(s).orgId,
|
|
154
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => o(s).orgId = t),
|
|
155
|
+
placeholder: a.$t("sysUserOps.orgIdRequired"),
|
|
156
|
+
data: o(g).sysOutBizDict.values,
|
|
157
157
|
clearable: "",
|
|
158
|
+
filterable: "",
|
|
159
|
+
"check-strictly": "",
|
|
158
160
|
class: "w-full"
|
|
159
161
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
160
162
|
]),
|
|
@@ -166,14 +168,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
166
168
|
e(i, { span: 12 }, {
|
|
167
169
|
default: r(() => [
|
|
168
170
|
e(d, {
|
|
169
|
-
label:
|
|
171
|
+
label: a.$t("sysUserOps.realName"),
|
|
170
172
|
prop: "realName"
|
|
171
173
|
}, {
|
|
172
174
|
default: r(() => [
|
|
173
175
|
e(f, {
|
|
174
|
-
modelValue:
|
|
175
|
-
"onUpdate:modelValue": l[1] || (l[1] = (t) =>
|
|
176
|
-
placeholder:
|
|
176
|
+
modelValue: o(s).realName,
|
|
177
|
+
"onUpdate:modelValue": l[1] || (l[1] = (t) => o(s).realName = t),
|
|
178
|
+
placeholder: a.$t("sysUserOps.realNameRequired"),
|
|
177
179
|
maxlength: "8",
|
|
178
180
|
"show-word-limit": "",
|
|
179
181
|
clearable: ""
|
|
@@ -187,14 +189,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
187
189
|
e(i, { span: 12 }, {
|
|
188
190
|
default: r(() => [
|
|
189
191
|
e(d, {
|
|
190
|
-
label:
|
|
192
|
+
label: a.$t("sysUserOps.gender"),
|
|
191
193
|
prop: "gender"
|
|
192
194
|
}, {
|
|
193
195
|
default: r(() => [
|
|
194
196
|
e(v, {
|
|
195
|
-
modelValue:
|
|
196
|
-
"onUpdate:modelValue": l[2] || (l[2] = (t) =>
|
|
197
|
-
data:
|
|
197
|
+
modelValue: o(s).gender,
|
|
198
|
+
"onUpdate:modelValue": l[2] || (l[2] = (t) => o(s).gender = t),
|
|
199
|
+
data: o(g).genderDict.values
|
|
198
200
|
}, null, 8, ["modelValue", "data"])
|
|
199
201
|
]),
|
|
200
202
|
_: 1
|
|
@@ -205,14 +207,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
205
207
|
e(i, { span: 12 }, {
|
|
206
208
|
default: r(() => [
|
|
207
209
|
e(d, {
|
|
208
|
-
label:
|
|
210
|
+
label: a.$t("sysUserOps.mobilePhone"),
|
|
209
211
|
prop: "mobilePhone"
|
|
210
212
|
}, {
|
|
211
213
|
default: r(() => [
|
|
212
214
|
e(f, {
|
|
213
|
-
modelValue:
|
|
214
|
-
"onUpdate:modelValue": l[3] || (l[3] = (t) =>
|
|
215
|
-
placeholder:
|
|
215
|
+
modelValue: o(s).mobilePhone,
|
|
216
|
+
"onUpdate:modelValue": l[3] || (l[3] = (t) => o(s).mobilePhone = t),
|
|
217
|
+
placeholder: a.$t("sysUserOps.mobilePhoneRequired"),
|
|
216
218
|
maxlength: "11",
|
|
217
219
|
"show-word-limit": "",
|
|
218
220
|
clearable: ""
|
|
@@ -226,14 +228,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
226
228
|
e(i, { span: 12 }, {
|
|
227
229
|
default: r(() => [
|
|
228
230
|
e(d, {
|
|
229
|
-
label:
|
|
231
|
+
label: a.$t("sysUserOps.email"),
|
|
230
232
|
prop: "email"
|
|
231
233
|
}, {
|
|
232
234
|
default: r(() => [
|
|
233
235
|
e(f, {
|
|
234
|
-
modelValue:
|
|
235
|
-
"onUpdate:modelValue": l[4] || (l[4] = (t) =>
|
|
236
|
-
placeholder:
|
|
236
|
+
modelValue: o(s).email,
|
|
237
|
+
"onUpdate:modelValue": l[4] || (l[4] = (t) => o(s).email = t),
|
|
238
|
+
placeholder: a.$t("sysUserOps.emailRequired"),
|
|
237
239
|
maxlength: "30",
|
|
238
240
|
"show-word-limit": "",
|
|
239
241
|
clearable: ""
|
|
@@ -247,14 +249,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
247
249
|
e(i, { span: 12 }, {
|
|
248
250
|
default: r(() => [
|
|
249
251
|
e(d, {
|
|
250
|
-
label:
|
|
252
|
+
label: a.$t("sysUserOps.idNo"),
|
|
251
253
|
prop: "idNo"
|
|
252
254
|
}, {
|
|
253
255
|
default: r(() => [
|
|
254
256
|
e(f, {
|
|
255
|
-
modelValue:
|
|
256
|
-
"onUpdate:modelValue": l[5] || (l[5] = (t) =>
|
|
257
|
-
placeholder:
|
|
257
|
+
modelValue: o(s).idNo,
|
|
258
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => o(s).idNo = t),
|
|
259
|
+
placeholder: a.$t("sysUserOps.idNoRequired"),
|
|
258
260
|
maxlength: "18",
|
|
259
261
|
"show-word-limit": "",
|
|
260
262
|
clearable: ""
|
|
@@ -268,15 +270,15 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
268
270
|
e(i, { span: 12 }, {
|
|
269
271
|
default: r(() => [
|
|
270
272
|
e(d, {
|
|
271
|
-
label:
|
|
273
|
+
label: a.$t("sysUserOps.engineerType"),
|
|
272
274
|
prop: "engineerType"
|
|
273
275
|
}, {
|
|
274
276
|
default: r(() => [
|
|
275
277
|
e(n, {
|
|
276
|
-
modelValue:
|
|
277
|
-
"onUpdate:modelValue": l[6] || (l[6] = (t) =>
|
|
278
|
-
placeholder:
|
|
279
|
-
data:
|
|
278
|
+
modelValue: o(s).engineerType,
|
|
279
|
+
"onUpdate:modelValue": l[6] || (l[6] = (t) => o(s).engineerType = t),
|
|
280
|
+
placeholder: a.$t("sysUserOps.engineerTypeRequired"),
|
|
281
|
+
data: o(g).engineerTypeDictEnum.values,
|
|
280
282
|
clearable: "",
|
|
281
283
|
class: "w-full"
|
|
282
284
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -289,15 +291,15 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
289
291
|
e(i, { span: 12 }, {
|
|
290
292
|
default: r(() => [
|
|
291
293
|
e(d, {
|
|
292
|
-
label:
|
|
294
|
+
label: a.$t("sysUserOps.engineerCertificate"),
|
|
293
295
|
prop: "engineerCertificate"
|
|
294
296
|
}, {
|
|
295
297
|
default: r(() => [
|
|
296
298
|
e(J, {
|
|
297
|
-
modelValue:
|
|
298
|
-
"onUpdate:modelValue": l[7] || (l[7] = (t) =>
|
|
299
|
-
placeholder:
|
|
300
|
-
"type-code":
|
|
299
|
+
modelValue: o(s).engineerCertificate,
|
|
300
|
+
"onUpdate:modelValue": l[7] || (l[7] = (t) => o(s).engineerCertificate = t),
|
|
301
|
+
placeholder: a.$t("sysUserOps.engineerCertificateRequired"),
|
|
302
|
+
"type-code": o(y).DICT_ENGINEER_GRADE,
|
|
301
303
|
clearable: "",
|
|
302
304
|
filterable: "",
|
|
303
305
|
class: "w-full"
|
|
@@ -311,15 +313,15 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
311
313
|
e(i, { span: 12 }, {
|
|
312
314
|
default: r(() => [
|
|
313
315
|
e(d, {
|
|
314
|
-
label:
|
|
316
|
+
label: a.$t("sysUserOps.engineerJobMode"),
|
|
315
317
|
prop: "engineerJobMode"
|
|
316
318
|
}, {
|
|
317
319
|
default: r(() => [
|
|
318
320
|
e(n, {
|
|
319
|
-
modelValue:
|
|
320
|
-
"onUpdate:modelValue": l[8] || (l[8] = (t) =>
|
|
321
|
-
placeholder:
|
|
322
|
-
data:
|
|
321
|
+
modelValue: o(s).engineerJobMode,
|
|
322
|
+
"onUpdate:modelValue": l[8] || (l[8] = (t) => o(s).engineerJobMode = t),
|
|
323
|
+
placeholder: a.$t("sysUserOps.engineerJobModeRequired"),
|
|
324
|
+
data: o(g).engineerJobModeDictEnum.values,
|
|
323
325
|
clearable: "",
|
|
324
326
|
class: "w-full"
|
|
325
327
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -332,14 +334,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
332
334
|
e(i, { span: 12 }, {
|
|
333
335
|
default: r(() => [
|
|
334
336
|
e(d, {
|
|
335
|
-
label:
|
|
337
|
+
label: a.$t("sysUserOps.jobStatus"),
|
|
336
338
|
prop: "jobStatus"
|
|
337
339
|
}, {
|
|
338
340
|
default: r(() => [
|
|
339
341
|
e(v, {
|
|
340
|
-
modelValue:
|
|
341
|
-
"onUpdate:modelValue": l[9] || (l[9] = (t) =>
|
|
342
|
-
data:
|
|
342
|
+
modelValue: o(s).jobStatus,
|
|
343
|
+
"onUpdate:modelValue": l[9] || (l[9] = (t) => o(s).jobStatus = t),
|
|
344
|
+
data: o(g).jobStatusDictEnum.values
|
|
343
345
|
}, null, 8, ["modelValue", "data"])
|
|
344
346
|
]),
|
|
345
347
|
_: 1
|
|
@@ -350,14 +352,14 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
350
352
|
e(i, { span: 24 }, {
|
|
351
353
|
default: r(() => [
|
|
352
354
|
e(d, {
|
|
353
|
-
label:
|
|
355
|
+
label: a.$t("sysUserOps.engineerSpecialty"),
|
|
354
356
|
prop: "engineerSpecialty"
|
|
355
357
|
}, {
|
|
356
358
|
default: r(() => [
|
|
357
359
|
e(f, {
|
|
358
|
-
modelValue:
|
|
359
|
-
"onUpdate:modelValue": l[10] || (l[10] = (t) =>
|
|
360
|
-
placeholder:
|
|
360
|
+
modelValue: o(s).engineerSpecialty,
|
|
361
|
+
"onUpdate:modelValue": l[10] || (l[10] = (t) => o(s).engineerSpecialty = t),
|
|
362
|
+
placeholder: a.$t("sysUserOps.engineerSpecialtyRequired"),
|
|
361
363
|
type: "textarea",
|
|
362
364
|
autosize: { minRows: 2 },
|
|
363
365
|
maxlength: "200",
|
|
@@ -383,5 +385,5 @@ const X = { class: "dialog-footer" }, ae = /* @__PURE__ */ z({
|
|
|
383
385
|
}
|
|
384
386
|
});
|
|
385
387
|
export {
|
|
386
|
-
|
|
388
|
+
oe as _
|
|
387
389
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as re, ref as
|
|
1
|
+
import { defineComponent as re, ref as U, reactive as M, onActivated as ue, resolveComponent as i, resolveDirective as ie, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as T, 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 de } from "jmash-core";
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { useRouter as me } from "vue-router";
|
|
5
5
|
import { D as p, C as D } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysUserExtApi as z } from "./index.mjs";
|
|
7
|
-
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-Cg1uyqed.mjs";
|
|
8
8
|
import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
9
|
import ge from "./import-upload-CC1Ho43e.mjs";
|
|
10
10
|
const fe = { class: "app-container" }, ce = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], _e = ["onClick"], Ce = ["onClick"], De = /* @__PURE__ */ re({
|
|
@@ -12,7 +12,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
12
12
|
setup(he) {
|
|
13
13
|
const { t: C } = pe(), B = me();
|
|
14
14
|
p.sysOutBizDict.useValues();
|
|
15
|
-
const r =
|
|
15
|
+
const r = U({
|
|
16
16
|
userType: D.userType.outsourceOps
|
|
17
17
|
}), {
|
|
18
18
|
tableHooks: u,
|
|
@@ -20,9 +20,9 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
20
20
|
queryFormRef: Q,
|
|
21
21
|
listLoading: L,
|
|
22
22
|
tableData: A,
|
|
23
|
-
total:
|
|
23
|
+
total: E
|
|
24
24
|
} = de(C, z, r);
|
|
25
|
-
let h =
|
|
25
|
+
let h = U([
|
|
26
26
|
{
|
|
27
27
|
label: "sysUserOps.realName",
|
|
28
28
|
prop: "realName",
|
|
@@ -104,7 +104,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
104
104
|
function I(l) {
|
|
105
105
|
l.showEncrypt = !l.showEncrypt;
|
|
106
106
|
}
|
|
107
|
-
const b =
|
|
107
|
+
const b = U({
|
|
108
108
|
title: C("common.edit"),
|
|
109
109
|
visible: !1
|
|
110
110
|
});
|
|
@@ -112,6 +112,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
112
112
|
function F() {
|
|
113
113
|
j = M({}), b.value.title = C("common.add"), b.value.visible = !0;
|
|
114
114
|
}
|
|
115
|
+
U();
|
|
115
116
|
function x(l) {
|
|
116
117
|
j.userId = l.userId, b.value.title = C("common.edit"), b.value.visible = !0;
|
|
117
118
|
}
|
|
@@ -121,7 +122,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
121
122
|
query: { userId: l.userId }
|
|
122
123
|
});
|
|
123
124
|
}
|
|
124
|
-
const $ =
|
|
125
|
+
const $ = U(!1);
|
|
125
126
|
function G() {
|
|
126
127
|
$.value = !1;
|
|
127
128
|
}
|
|
@@ -150,7 +151,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
150
151
|
return ue(() => {
|
|
151
152
|
u.getList();
|
|
152
153
|
}), (l, t) => {
|
|
153
|
-
const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"),
|
|
154
|
+
const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), k = 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"), _ = ie("hasPerm");
|
|
154
155
|
return d(), V("div", fe, [
|
|
155
156
|
m("div", ce, [
|
|
156
157
|
a(le, {
|
|
@@ -175,7 +176,10 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
175
176
|
placeholder: l.$t("sysUserOps.orgIdRequired"),
|
|
176
177
|
data: n(p).sysOutBizDict.values,
|
|
177
178
|
clearable: "",
|
|
178
|
-
|
|
179
|
+
filterable: "",
|
|
180
|
+
"check-strictly": "",
|
|
181
|
+
"render-after-expand": !1,
|
|
182
|
+
onKeyup: t[1] || (t[1] = T((e) => n(u).handleQuery(), ["enter"]))
|
|
179
183
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
180
184
|
]),
|
|
181
185
|
_: 1
|
|
@@ -194,7 +198,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
194
198
|
modelValue: r.value.loginName,
|
|
195
199
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.loginName = e),
|
|
196
200
|
placeholder: l.$t("sysUserOps.loginNameRequired"),
|
|
197
|
-
onKeyup: t[3] || (t[3] =
|
|
201
|
+
onKeyup: t[3] || (t[3] = T((e) => n(u).handleQuery(), ["enter"])),
|
|
198
202
|
class: "!w-[203px]"
|
|
199
203
|
}, null, 8, ["modelValue", "placeholder"])
|
|
200
204
|
]),
|
|
@@ -215,7 +219,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
215
219
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.engineerType = e),
|
|
216
220
|
placeholder: l.$t("sysUserOps.engineerTypeRequired"),
|
|
217
221
|
data: n(p).engineerTypeDictEnum.values,
|
|
218
|
-
onKeyup: t[5] || (t[5] =
|
|
222
|
+
onKeyup: t[5] || (t[5] = T((e) => n(u).handleQuery(), ["enter"])),
|
|
219
223
|
clearable: ""
|
|
220
224
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
221
225
|
]),
|
|
@@ -236,7 +240,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
236
240
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.engineerJobMode = e),
|
|
237
241
|
placeholder: l.$t("sysUserOps.engineerJobModeRequired"),
|
|
238
242
|
data: n(p).engineerJobModeDictEnum.values,
|
|
239
|
-
onKeyup: t[7] || (t[7] =
|
|
243
|
+
onKeyup: t[7] || (t[7] = T((e) => n(u).handleQuery(), ["enter"])),
|
|
240
244
|
clearable: ""
|
|
241
245
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
242
246
|
]),
|
|
@@ -257,7 +261,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
257
261
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.jobStatus = e),
|
|
258
262
|
placeholder: l.$t("sysUserOps.jobStatusRequired"),
|
|
259
263
|
data: n(p).jobStatusDictEnum.values,
|
|
260
|
-
onKeyup: t[9] || (t[9] =
|
|
264
|
+
onKeyup: t[9] || (t[9] = T((e) => n(u).handleQuery(), ["enter"])),
|
|
261
265
|
clearable: ""
|
|
262
266
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
263
267
|
]),
|
|
@@ -270,7 +274,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
270
274
|
default: o(() => [
|
|
271
275
|
a(w, { class: "search-btn" }, {
|
|
272
276
|
default: o(() => [
|
|
273
|
-
a(
|
|
277
|
+
a(k, {
|
|
274
278
|
type: "primary",
|
|
275
279
|
onClick: t[10] || (t[10] = (e) => n(u).handleQuery())
|
|
276
280
|
}, {
|
|
@@ -279,7 +283,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
279
283
|
]),
|
|
280
284
|
_: 1
|
|
281
285
|
}),
|
|
282
|
-
a(
|
|
286
|
+
a(k, {
|
|
283
287
|
onClick: t[11] || (t[11] = (e) => n(u).resetQuery())
|
|
284
288
|
}, {
|
|
285
289
|
default: o(() => [
|
|
@@ -310,7 +314,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
310
314
|
default: o(() => [
|
|
311
315
|
a(g, { span: 17 }, {
|
|
312
316
|
default: o(() => [
|
|
313
|
-
f((d(), c(
|
|
317
|
+
f((d(), c(k, {
|
|
314
318
|
type: "primary",
|
|
315
319
|
onClick: F
|
|
316
320
|
}, {
|
|
@@ -321,7 +325,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
321
325
|
})), [
|
|
322
326
|
[_, ["itsmsys:sys_user_ext_out:add"]]
|
|
323
327
|
]),
|
|
324
|
-
f((d(), c(
|
|
328
|
+
f((d(), c(k, {
|
|
325
329
|
type: "primary",
|
|
326
330
|
onClick: t[12] || (t[12] = (e) => n(u).deleteRecords())
|
|
327
331
|
}, {
|
|
@@ -340,7 +344,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
340
344
|
class: "container-float"
|
|
341
345
|
}, {
|
|
342
346
|
default: o(() => [
|
|
343
|
-
f((d(), c(
|
|
347
|
+
f((d(), c(k, {
|
|
344
348
|
plain: "",
|
|
345
349
|
type: "primary",
|
|
346
350
|
onClick: t[13] || (t[13] = (e) => $.value = !0)
|
|
@@ -365,10 +369,10 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
365
369
|
})
|
|
366
370
|
]),
|
|
367
371
|
footer: o(() => [
|
|
368
|
-
n(
|
|
372
|
+
n(E) > 0 ? (d(), c(ae, {
|
|
369
373
|
key: 0,
|
|
370
|
-
total: n(
|
|
371
|
-
"onUpdate:total": t[15] || (t[15] = (e) => J(
|
|
374
|
+
total: n(E),
|
|
375
|
+
"onUpdate:total": t[15] || (t[15] = (e) => J(E) ? E.value = e : null),
|
|
372
376
|
"current-page": r.value.curPage,
|
|
373
377
|
"onUpdate:currentPage": t[16] || (t[16] = (e) => r.value.curPage = e),
|
|
374
378
|
"page-size": r.value.pageSize,
|
|
@@ -439,20 +443,20 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
439
443
|
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ve, [
|
|
440
444
|
f(a(P, {
|
|
441
445
|
"icon-class": "close-eye",
|
|
442
|
-
onClick: (
|
|
446
|
+
onClick: (S) => I(e.data.row)
|
|
443
447
|
}, null, 8, ["onClick"]), [
|
|
444
448
|
[q, !e.data.row.showEncrypt]
|
|
445
449
|
]),
|
|
446
450
|
f(a(P, {
|
|
447
451
|
"icon-class": "eye-open",
|
|
448
|
-
onClick: (
|
|
452
|
+
onClick: (S) => I(e.data.row)
|
|
449
453
|
}, null, 8, ["onClick"]), [
|
|
450
454
|
[q, e.data.row.showEncrypt]
|
|
451
455
|
])
|
|
452
456
|
])) : O("", !0),
|
|
453
457
|
f((d(), V("span", {
|
|
454
458
|
class: "el-button-color dropdown-left",
|
|
455
|
-
onClick: (
|
|
459
|
+
onClick: (S) => x(e.data.row)
|
|
456
460
|
}, [
|
|
457
461
|
y(s(l.$t("common.edit")), 1)
|
|
458
462
|
], 8, we)), [
|
|
@@ -460,7 +464,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
460
464
|
]),
|
|
461
465
|
f((d(), V("span", {
|
|
462
466
|
class: "el-button-color dropdown-left",
|
|
463
|
-
onClick: (
|
|
467
|
+
onClick: (S) => n(u).deleteRecord(e.data.row)
|
|
464
468
|
}, [
|
|
465
469
|
y(s(l.$t("common.delete")), 1)
|
|
466
470
|
], 8, _e)), [
|
|
@@ -468,7 +472,7 @@ const fe = { class: "app-container" }, ce = { class: "search-container" }, ve =
|
|
|
468
472
|
]),
|
|
469
473
|
f((d(), V("span", {
|
|
470
474
|
class: "el-button-color dropdown-left",
|
|
471
|
-
onClick: (
|
|
475
|
+
onClick: (S) => H(e.data.row)
|
|
472
476
|
}, [
|
|
473
477
|
y(s(l.$t("common.view")), 1)
|
|
474
478
|
], 8, Ce)), [
|
|
@@ -4,7 +4,7 @@ import { useI18n as me } from "vue-i18n";
|
|
|
4
4
|
import { useRouter as pe } from "vue-router";
|
|
5
5
|
import { D as p, C as N } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysUserExtApi as Q } from "./index.mjs";
|
|
7
|
-
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs";
|
|
8
8
|
import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
9
|
import ce from "./import-upload-BaJGVcNb.mjs";
|
|
10
10
|
const fe = { class: "app-container" }, ve = { class: "search-container" }, we = { key: 0 }, ge = ["onClick"], _e = ["onClick"], je = ["onClick"], Me = /* @__PURE__ */ re({
|
package/dist/index.mjs
CHANGED
|
@@ -3212,7 +3212,7 @@ class ja {
|
|
|
3212
3212
|
});
|
|
3213
3213
|
}
|
|
3214
3214
|
}
|
|
3215
|
-
const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-
|
|
3215
|
+
const Ja = new ja(), za = /* @__PURE__ */ Object.assign({ "./views/itsmsys/itsm-sys-gov/edit.vue": () => import("./edit-CNEVornb.mjs"), "./views/itsmsys/itsm-sys-gov/index.vue": () => import("./index-CAzxJ_Vp.mjs"), "./views/itsmsys/itsm-sys-gov/info.vue": () => import("./info-BUKhtcuu.mjs"), "./views/itsmsys/itsm-sys-org-invoice/edit.vue": () => import("./edit-BrHOGUbU.mjs"), "./views/itsmsys/itsm-sys-org-invoice/index.vue": () => import("./index-IpHv0Vzi.mjs"), "./views/itsmsys/itsm-sys-org/edit.vue": () => import("./edit-DYqAdRsK.mjs"), "./views/itsmsys/itsm-sys-org/index.vue": () => import("./index-cpyRUYdS.mjs"), "./views/itsmsys/itsm-sys-org/info.vue": () => import("./info-G1z1-aeX.mjs"), "./views/itsmsys/itsm-sys-out/edit.vue": () => import("./edit-COKceKzl.mjs"), "./views/itsmsys/itsm-sys-out/index.vue": () => import("./index-BV5uRZXE.mjs"), "./views/itsmsys/itsm-sys-out/info.vue": () => import("./info-EodyqiPm.mjs"), "./views/itsmsys/itsm-sys-user-man/edit.vue": () => import("./edit-CfbonHOl.mjs"), "./views/itsmsys/itsm-sys-user-man/import-upload.vue": () => import("./import-upload-BaJGVcNb.mjs"), "./views/itsmsys/itsm-sys-user-man/index.vue": () => import("./index-igV06vtf.mjs"), "./views/itsmsys/itsm-sys-user-man/info.vue": () => import("./info-6E3wqxd6.mjs"), "./views/itsmsys/itsm-sys-user-ops/edit.vue": () => import("./edit-DybO5r3p.mjs"), "./views/itsmsys/itsm-sys-user-ops/index.vue": () => import("./index-Di1yx94g.mjs"), "./views/itsmsys/itsm-sys-user-ops/info.vue": () => import("./info-AE3ch4Zw.mjs"), "./views/itsmsys/itsm-sys-user-out/edit.vue": () => import("./edit-C82n7Lq0.mjs"), "./views/itsmsys/itsm-sys-user-out/import-upload.vue": () => import("./import-upload-CC1Ho43e.mjs"), "./views/itsmsys/itsm-sys-user-out/index.vue": () => import("./index-cKI_mzoF.mjs"), "./views/itsmsys/itsm-sys-user-out/info.vue": () => import("./info-DttXGxP3.mjs") }), Ba = {
|
|
3216
3216
|
install(e) {
|
|
3217
3217
|
Ys(za, 7), Os(Us), Va(bs), e.use(Ea);
|
|
3218
3218
|
}
|