xyvcard-itsmsys 0.0.24 → 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-_QJnKCdq.mjs → edit-C82n7Lq0.mjs} +1 -1
- 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.mjs +1 -1
- package/package.json +1 -1
|
@@ -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)), [
|
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-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-
|
|
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
|
}
|