xyvcard-itsmsys 0.0.14 → 0.0.16
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/avatar-DFToerb2.mjs +4 -0
- package/dist/{edit-BKRcHRhe.mjs → edit-C3NG4LWK.mjs} +1 -1
- package/dist/{edit-mVmM-PRk.mjs → edit-CJKLiFvj.mjs} +2 -2
- package/dist/{edit-b2ih9M1u.mjs → edit-DdBemEtp.mjs} +2 -2
- package/dist/{edit-BOYD0hK4.mjs → edit-DgxHpvC6.mjs} +2 -2
- package/dist/{edit-W7Cqo-_d.mjs → edit-Dxc1CH37.mjs} +1 -1
- package/dist/{edit-CHMLN0tR.mjs → edit-_PobHvyR.mjs} +1 -1
- package/dist/{edit-DNMyksDd.mjs → edit-pCyaGLeW.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-hotcXxq3.mjs → edit.vue_vue_type_script_setup_true_lang-BlMypmar.mjs} +86 -162
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs → edit.vue_vue_type_script_setup_true_lang-BnfSGJv_.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D31iEutB.mjs → edit.vue_vue_type_script_setup_true_lang-CtIAGnDl.mjs} +86 -162
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs → edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs} +1 -1
- package/dist/{import-upload-DBaTv04c.mjs → import-upload-Dn6fqub8.mjs} +1 -1
- package/dist/{import-upload-DZJ0GptW.mjs → import-upload-r5sF-dob.mjs} +1 -1
- package/dist/{index-Cz0VExll.mjs → index-C57850Qg.mjs} +16 -13
- package/dist/{index-D8h0lcNy.mjs → index-Clqts1Tf.mjs} +47 -47
- package/dist/{index-uqlBd_1I.mjs → index-D-y6OhBi.mjs} +87 -87
- package/dist/{index-qfyel9S8.mjs → index-DGX9vRbo.mjs} +1 -1
- package/dist/{index-XoL9Os_9.mjs → index-byYol6y6.mjs} +40 -41
- package/dist/{index-Cy9iOhxs.mjs → index-ekie5iUI.mjs} +2 -3
- package/dist/{index-CvZlFuc4.mjs → index-rAUwvtcF.mjs} +2 -3
- package/dist/{index-Cd5F5D4a.mjs → index-uAbzEnZH.mjs} +38 -38
- package/dist/index.mjs +10 -9
- package/dist/{index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs → index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs} +2 -2
- package/dist/info-BNw5IiGi.mjs +194 -0
- package/dist/{info-DcUASS45.mjs → info-BqQdA6b-.mjs} +54 -50
- package/dist/info-BraECWiO.mjs +223 -0
- package/dist/info-Cjx0ceNM.mjs +223 -0
- package/dist/info-DHxVt25p.mjs +223 -0
- package/dist/{info-CU4nIMVM.mjs → info-to4iDhQX.mjs} +64 -63
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +1 -1
- package/dts/constant.d.ts +1 -0
- package/package.json +1 -1
- package/dist/info-C821AMSV.mjs +0 -190
- package/dist/info-CXCnXNu4.mjs +0 -209
- package/dist/info-CYDV3va6.mjs +0 -209
- package/dist/info-DPIIgRG8.mjs +0 -209
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as re, ref as S, reactive as P, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as
|
|
1
|
+
import { defineComponent as re, ref as S, reactive as P, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as M, createCommentVNode as O, vShow as J } from "vue";
|
|
2
2
|
import { useTableHooks as ie } from "jmash-core";
|
|
3
3
|
import { useI18n as de } from "vue-i18n";
|
|
4
4
|
import { useRouter as pe } from "vue-router";
|
|
5
|
-
import { D as p, C as q } from "./index-
|
|
5
|
+
import { D as p, C as q } from "./index-C57850Qg.mjs";
|
|
6
6
|
import { sysUserExtApi as z } from "./index.mjs";
|
|
7
|
-
import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-CtIAGnDl.mjs";
|
|
8
8
|
import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
-
import be from "./import-upload-
|
|
10
|
-
const
|
|
9
|
+
import be from "./import-upload-r5sF-dob.mjs";
|
|
10
|
+
const ge = { class: "app-container" }, fe = { class: "search-container" }, ce = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], je = /* @__PURE__ */ re({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Ce) {
|
|
13
13
|
const { t: C } = de(), B = pe();
|
|
@@ -22,7 +22,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
22
22
|
tableData: F,
|
|
23
23
|
total: T
|
|
24
24
|
} = ie(C, z, r);
|
|
25
|
-
let
|
|
25
|
+
let h = S([
|
|
26
26
|
{
|
|
27
27
|
label: "sysUserOps.realName",
|
|
28
28
|
prop: "realName",
|
|
@@ -121,9 +121,9 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
121
121
|
query: { userId: l.userId }
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
const
|
|
124
|
+
const $ = S(!1);
|
|
125
125
|
function G() {
|
|
126
|
-
|
|
126
|
+
$.value = !1;
|
|
127
127
|
}
|
|
128
128
|
function W(l) {
|
|
129
129
|
z.downloadTemplate().then((t) => {
|
|
@@ -135,7 +135,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
135
135
|
}
|
|
136
136
|
function X(l) {
|
|
137
137
|
l.updateMask = "", u.importExcel(l).then(() => {
|
|
138
|
-
|
|
138
|
+
$.value = !1;
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
function Y(l) {
|
|
@@ -148,9 +148,9 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
148
148
|
l && u.getList();
|
|
149
149
|
}
|
|
150
150
|
return u.getList(), (l, t) => {
|
|
151
|
-
const v = i("jmash-select"), w = i("el-form-item"),
|
|
152
|
-
return d(),
|
|
153
|
-
m("div",
|
|
151
|
+
const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), I = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), N = i("el-tag"), R = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ue("hasPerm");
|
|
152
|
+
return d(), V("div", ge, [
|
|
153
|
+
m("div", fe, [
|
|
154
154
|
a(le, {
|
|
155
155
|
ref_key: "queryFormRef",
|
|
156
156
|
ref: Q,
|
|
@@ -160,7 +160,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
160
160
|
default: o(() => [
|
|
161
161
|
a(I, null, {
|
|
162
162
|
default: o(() => [
|
|
163
|
-
a(
|
|
163
|
+
a(g, { span: 6 }, {
|
|
164
164
|
default: o(() => [
|
|
165
165
|
a(w, {
|
|
166
166
|
label: l.$t("sysUserOps.orgId"),
|
|
@@ -173,7 +173,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
173
173
|
placeholder: l.$t("sysUserOps.orgIdRequired"),
|
|
174
174
|
data: n(p).sysOutBizDict.values,
|
|
175
175
|
clearable: "",
|
|
176
|
-
onKeyup: t[1] || (t[1] =
|
|
176
|
+
onKeyup: t[1] || (t[1] = k((e) => n(u).handleQuery(), ["enter"]))
|
|
177
177
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
@@ -181,18 +181,18 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
181
181
|
]),
|
|
182
182
|
_: 1
|
|
183
183
|
}),
|
|
184
|
-
a(
|
|
184
|
+
a(g, { span: 6 }, {
|
|
185
185
|
default: o(() => [
|
|
186
186
|
a(w, {
|
|
187
|
-
label: l.$t("sysUserOps.
|
|
188
|
-
prop: "
|
|
187
|
+
label: l.$t("sysUserOps.loginName"),
|
|
188
|
+
prop: "loginName"
|
|
189
189
|
}, {
|
|
190
190
|
default: o(() => [
|
|
191
191
|
a(te, {
|
|
192
|
-
modelValue: r.value.
|
|
193
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.
|
|
194
|
-
placeholder: l.$t("sysUserOps.
|
|
195
|
-
onKeyup: t[3] || (t[3] =
|
|
192
|
+
modelValue: r.value.loginName,
|
|
193
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.loginName = e),
|
|
194
|
+
placeholder: l.$t("sysUserOps.loginNameRequired"),
|
|
195
|
+
onKeyup: t[3] || (t[3] = k((e) => n(u).handleQuery(), ["enter"])),
|
|
196
196
|
class: "!w-[203px]"
|
|
197
197
|
}, null, 8, ["modelValue", "placeholder"])
|
|
198
198
|
]),
|
|
@@ -201,7 +201,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
201
201
|
]),
|
|
202
202
|
_: 1
|
|
203
203
|
}),
|
|
204
|
-
a(
|
|
204
|
+
a(g, { span: 6 }, {
|
|
205
205
|
default: o(() => [
|
|
206
206
|
a(w, {
|
|
207
207
|
label: l.$t("sysUserOps.engineerType"),
|
|
@@ -213,7 +213,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
213
213
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.engineerType = e),
|
|
214
214
|
placeholder: l.$t("sysUserOps.engineerTypeRequired"),
|
|
215
215
|
data: n(p).engineerTypeDictEnum.values,
|
|
216
|
-
onKeyup: t[5] || (t[5] =
|
|
216
|
+
onKeyup: t[5] || (t[5] = k((e) => n(u).handleQuery(), ["enter"])),
|
|
217
217
|
clearable: ""
|
|
218
218
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
219
219
|
]),
|
|
@@ -222,7 +222,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
224
|
}),
|
|
225
|
-
a(
|
|
225
|
+
a(g, { span: 6 }, {
|
|
226
226
|
default: o(() => [
|
|
227
227
|
a(w, {
|
|
228
228
|
label: l.$t("sysUserOps.engineerJobMode"),
|
|
@@ -234,7 +234,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
234
234
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.engineerJobMode = e),
|
|
235
235
|
placeholder: l.$t("sysUserOps.engineerJobModeRequired"),
|
|
236
236
|
data: n(p).engineerJobModeDictEnum.values,
|
|
237
|
-
onKeyup: t[7] || (t[7] =
|
|
237
|
+
onKeyup: t[7] || (t[7] = k((e) => n(u).handleQuery(), ["enter"])),
|
|
238
238
|
clearable: ""
|
|
239
239
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
240
240
|
]),
|
|
@@ -243,7 +243,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
243
243
|
]),
|
|
244
244
|
_: 1
|
|
245
245
|
}),
|
|
246
|
-
a(
|
|
246
|
+
a(g, { span: 6 }, {
|
|
247
247
|
default: o(() => [
|
|
248
248
|
a(w, {
|
|
249
249
|
label: l.$t("sysUserOps.jobStatus"),
|
|
@@ -255,7 +255,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
255
255
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.jobStatus = e),
|
|
256
256
|
placeholder: l.$t("sysUserOps.jobStatusRequired"),
|
|
257
257
|
data: n(p).jobStatusDictEnum.values,
|
|
258
|
-
onKeyup: t[9] || (t[9] =
|
|
258
|
+
onKeyup: t[9] || (t[9] = k((e) => n(u).handleQuery(), ["enter"])),
|
|
259
259
|
clearable: ""
|
|
260
260
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
261
261
|
]),
|
|
@@ -264,11 +264,11 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
264
264
|
]),
|
|
265
265
|
_: 1
|
|
266
266
|
}),
|
|
267
|
-
a(
|
|
267
|
+
a(g, { span: 18 }, {
|
|
268
268
|
default: o(() => [
|
|
269
269
|
a(w, { class: "search-btn" }, {
|
|
270
270
|
default: o(() => [
|
|
271
|
-
a(
|
|
271
|
+
a(U, {
|
|
272
272
|
type: "primary",
|
|
273
273
|
onClick: t[10] || (t[10] = (e) => n(u).handleQuery())
|
|
274
274
|
}, {
|
|
@@ -277,7 +277,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
277
277
|
]),
|
|
278
278
|
_: 1
|
|
279
279
|
}),
|
|
280
|
-
a(
|
|
280
|
+
a(U, {
|
|
281
281
|
onClick: t[11] || (t[11] = (e) => n(u).resetQuery())
|
|
282
282
|
}, {
|
|
283
283
|
default: o(() => [
|
|
@@ -306,9 +306,9 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
306
306
|
header: o(() => [
|
|
307
307
|
a(I, null, {
|
|
308
308
|
default: o(() => [
|
|
309
|
-
a(
|
|
309
|
+
a(g, { span: 17 }, {
|
|
310
310
|
default: o(() => [
|
|
311
|
-
|
|
311
|
+
f((d(), c(U, {
|
|
312
312
|
type: "primary",
|
|
313
313
|
onClick: A
|
|
314
314
|
}, {
|
|
@@ -319,7 +319,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
319
319
|
})), [
|
|
320
320
|
[_, ["itsmsys:sys_user_ext_out:add"]]
|
|
321
321
|
]),
|
|
322
|
-
|
|
322
|
+
f((d(), c(U, {
|
|
323
323
|
type: "primary",
|
|
324
324
|
onClick: t[12] || (t[12] = (e) => n(u).deleteRecords())
|
|
325
325
|
}, {
|
|
@@ -333,15 +333,15 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
333
333
|
]),
|
|
334
334
|
_: 1
|
|
335
335
|
}),
|
|
336
|
-
a(
|
|
336
|
+
a(g, {
|
|
337
337
|
span: 7,
|
|
338
338
|
class: "container-float"
|
|
339
339
|
}, {
|
|
340
340
|
default: o(() => [
|
|
341
|
-
|
|
341
|
+
f((d(), c(U, {
|
|
342
342
|
plain: "",
|
|
343
343
|
type: "primary",
|
|
344
|
-
onClick: t[13] || (t[13] = (e) =>
|
|
344
|
+
onClick: t[13] || (t[13] = (e) => $.value = !0)
|
|
345
345
|
}, {
|
|
346
346
|
default: o(() => [
|
|
347
347
|
y(s(l.$t("common.import")), 1)
|
|
@@ -351,8 +351,8 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
351
351
|
[_, ["itsmsys:sys_user_ext_out:import"]]
|
|
352
352
|
]),
|
|
353
353
|
a(oe, {
|
|
354
|
-
modelValue: n(
|
|
355
|
-
"onUpdate:modelValue": t[14] || (t[14] = (e) => M(
|
|
354
|
+
modelValue: n(h),
|
|
355
|
+
"onUpdate:modelValue": t[14] || (t[14] = (e) => M(h) ? h.value = e : h = e),
|
|
356
356
|
"label-name": "itsmsys/itsm-sys-user-ext"
|
|
357
357
|
}, null, 8, ["modelValue"])
|
|
358
358
|
]),
|
|
@@ -381,7 +381,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
381
381
|
"row-key": "userId",
|
|
382
382
|
"list-loading": n(L),
|
|
383
383
|
data: n(F),
|
|
384
|
-
"table-label": n(
|
|
384
|
+
"table-label": n(h),
|
|
385
385
|
onSelectionChange: Y,
|
|
386
386
|
onSortChange: Z
|
|
387
387
|
}, {
|
|
@@ -434,21 +434,21 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
434
434
|
)), 1)
|
|
435
435
|
]),
|
|
436
436
|
operation: o((e) => [
|
|
437
|
-
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(),
|
|
438
|
-
|
|
437
|
+
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ce, [
|
|
438
|
+
f(a(R, {
|
|
439
439
|
"icon-class": "close-eye",
|
|
440
440
|
onClick: (E) => D(e.data.row)
|
|
441
441
|
}, null, 8, ["onClick"]), [
|
|
442
442
|
[J, !e.data.row.showEncrypt]
|
|
443
443
|
]),
|
|
444
|
-
|
|
444
|
+
f(a(R, {
|
|
445
445
|
"icon-class": "eye-open",
|
|
446
446
|
onClick: (E) => D(e.data.row)
|
|
447
447
|
}, null, 8, ["onClick"]), [
|
|
448
448
|
[J, e.data.row.showEncrypt]
|
|
449
449
|
])
|
|
450
450
|
])) : O("", !0),
|
|
451
|
-
|
|
451
|
+
f((d(), V("span", {
|
|
452
452
|
class: "el-button-color dropdown-left",
|
|
453
453
|
onClick: (E) => x(e.data.row)
|
|
454
454
|
}, [
|
|
@@ -456,7 +456,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
456
456
|
], 8, ve)), [
|
|
457
457
|
[_, ["itsmsys:sys_user_ext_out:update"]]
|
|
458
458
|
]),
|
|
459
|
-
|
|
459
|
+
f((d(), V("span", {
|
|
460
460
|
class: "el-button-color dropdown-left",
|
|
461
461
|
onClick: (E) => n(u).deleteRecord(e.data.row)
|
|
462
462
|
}, [
|
|
@@ -464,7 +464,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
464
464
|
], 8, we)), [
|
|
465
465
|
[_, ["itsmsys:sys_user_ext_out:delete"]]
|
|
466
466
|
]),
|
|
467
|
-
|
|
467
|
+
f((d(), V("span", {
|
|
468
468
|
class: "el-button-color dropdown-left",
|
|
469
469
|
onClick: (E) => H(e.data.row)
|
|
470
470
|
}, [
|
|
@@ -487,9 +487,9 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ce =
|
|
|
487
487
|
onRefresh: ee,
|
|
488
488
|
width: "900px"
|
|
489
489
|
}, null, 8, ["modelValue", "title", "entity-key"])) : O("", !0),
|
|
490
|
-
|
|
490
|
+
$.value ? (d(), c(be, {
|
|
491
491
|
key: 1,
|
|
492
|
-
"upload-visible":
|
|
492
|
+
"upload-visible": $.value,
|
|
493
493
|
"template-title": l.$t("sysUser.templateDownload"),
|
|
494
494
|
onTemplateDown: t[20] || (t[20] = (e) => W(n(C)("sysUserOps.name"))),
|
|
495
495
|
onImportEvents: X,
|