xyvcard-itsmsys 0.0.16 → 0.0.18

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.
Files changed (35) hide show
  1. package/dist/{edit-C3NG4LWK.mjs → edit-C1zg8B0y.mjs} +1 -1
  2. package/dist/{edit-DdBemEtp.mjs → edit-CNFS8ehW.mjs} +2 -2
  3. package/dist/{edit-DgxHpvC6.mjs → edit-Cs3KIwaz.mjs} +2 -2
  4. package/dist/{edit-CJKLiFvj.mjs → edit-CxRGbAP_.mjs} +2 -2
  5. package/dist/{edit-Dxc1CH37.mjs → edit-DLN1WFrt.mjs} +1 -1
  6. package/dist/{edit-_PobHvyR.mjs → edit-DlEW6lB8.mjs} +1 -1
  7. package/dist/{edit-pCyaGLeW.mjs → edit-Dmxyf_Gp.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BlMypmar.mjs → edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs} +3 -3
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-BnfSGJv_.mjs → edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs} +96 -96
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs → edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs} +1 -1
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-CtIAGnDl.mjs → edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs} +3 -3
  12. package/dist/{import-upload-r5sF-dob.mjs → import-upload-BM5kcXdg.mjs} +7 -7
  13. package/dist/{import-upload-Dn6fqub8.mjs → import-upload-BvBtwEbI.mjs} +25 -25
  14. package/dist/import-upload-CjeTCQBx.mjs +161 -0
  15. package/dist/{index-Clqts1Tf.mjs → index-Bxg8G8aA.mjs} +22 -22
  16. package/dist/{index-byYol6y6.mjs → index-BzqZLipq.mjs} +1 -1
  17. package/dist/index-CdQGs3Vu.mjs +462 -0
  18. package/dist/{index-D-y6OhBi.mjs → index-D2BUGsak.mjs} +28 -28
  19. package/dist/{index-rAUwvtcF.mjs → index-D2e-NU3E.mjs} +1 -1
  20. package/dist/{index-DGX9vRbo.mjs → index-Dsf1qOUx.mjs} +1 -1
  21. package/dist/{index-C57850Qg.mjs → index-EhejgmO6.mjs} +22 -22
  22. package/dist/{index-ekie5iUI.mjs → index-nhzVBt2y.mjs} +1 -1
  23. package/dist/index.mjs +2 -2
  24. package/dist/{index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs → index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs} +2 -2
  25. package/dist/{info-BraECWiO.mjs → info-B2d8xPwW.mjs} +1 -1
  26. package/dist/{info-to4iDhQX.mjs → info-BZ7IZet8.mjs} +1 -1
  27. package/dist/{info-BNw5IiGi.mjs → info-CCfX-q4c.mjs} +1 -1
  28. package/dist/{info-Cjx0ceNM.mjs → info-CoizfoOq.mjs} +1 -1
  29. package/dist/{info-BqQdA6b-.mjs → info-DBObKyIh.mjs} +1 -1
  30. package/dist/{info-DHxVt25p.mjs → info-rnc-sgQt.mjs} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dts/api/itsm-sys-user-ext/types.d.ts +1 -0
  33. package/dts/views/itsmsys/itsm-sys-user-man/import-upload.vue.d.ts +31 -0
  34. package/package.json +1 -1
  35. package/dist/index-uAbzEnZH.mjs +0 -423
@@ -0,0 +1,462 @@
1
+ import { defineComponent as re, ref as U, reactive as B, resolveComponent as i, resolveDirective as ue, openBlock as d, createElementBlock as k, createElementVNode as b, createVNode as a, withCtx as o, withKeys as V, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
+ import { useTableHooks as ie } from "jmash-core";
3
+ import { useI18n as de } from "vue-i18n";
4
+ import { useRouter as me } from "vue-router";
5
+ import { D as p, C as N } from "./index-EhejgmO6.mjs";
6
+ import { sysUserExtApi as Q } from "./index.mjs";
7
+ import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs";
8
+ import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
+ import be from "./import-upload-CjeTCQBx.mjs";
10
+ const ce = { class: "app-container" }, fe = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], ge = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
11
+ __name: "index",
12
+ setup(je) {
13
+ const { t: g } = de(), L = me();
14
+ p.deptBizDict.useValues(), p.jobBizDict.useValues();
15
+ const r = U({
16
+ userType: N.userType.companyManager
17
+ }), {
18
+ tableHooks: u,
19
+ multipleTableRef: x,
20
+ queryFormRef: F,
21
+ listLoading: A,
22
+ tableData: H,
23
+ total: I
24
+ } = ie(g, Q, r);
25
+ let _ = U([
26
+ {
27
+ label: "sysUserMan.loginName",
28
+ prop: "loginName",
29
+ width: "150",
30
+ isColumn: !0
31
+ },
32
+ {
33
+ label: "sysUserMan.realName",
34
+ prop: "realName",
35
+ width: "120",
36
+ isColumn: !0
37
+ },
38
+ {
39
+ label: "sysUserMan.gender",
40
+ prop: "gender",
41
+ width: "80",
42
+ isColumn: !0,
43
+ slotName: "gender",
44
+ columnType: "slot"
45
+ },
46
+ {
47
+ label: "sysUserMan.mobilePhone",
48
+ prop: "mobilePhone",
49
+ width: "120",
50
+ isColumn: !0,
51
+ slotName: "mobilePhone",
52
+ columnType: "slot"
53
+ },
54
+ {
55
+ label: "sysUserMan.email",
56
+ prop: "email",
57
+ isColumn: !0,
58
+ slotName: "email",
59
+ columnType: "slot"
60
+ },
61
+ {
62
+ label: "sysUserMan.deptId",
63
+ prop: "deptId",
64
+ isColumn: !0,
65
+ width: "100",
66
+ slotName: "deptId",
67
+ columnType: "slot"
68
+ },
69
+ {
70
+ label: "sysUserMan.jobId",
71
+ prop: "jobId",
72
+ isColumn: !0,
73
+ width: "120",
74
+ slotName: "jobId",
75
+ columnType: "slot"
76
+ },
77
+ {
78
+ label: "sysUserMan.jobStatus",
79
+ prop: "jobStatus",
80
+ width: "100",
81
+ isColumn: !0,
82
+ slotName: "jobStatus",
83
+ columnType: "slot"
84
+ },
85
+ {
86
+ label: "common.operate",
87
+ width: "200",
88
+ slotName: "operation",
89
+ columnType: "slot",
90
+ fixed: "right",
91
+ isColumn: !0
92
+ }
93
+ ]);
94
+ function T(l) {
95
+ l.showEncrypt = !l.showEncrypt;
96
+ }
97
+ const y = U({
98
+ title: g("common.edit"),
99
+ visible: !1
100
+ });
101
+ let E = B({});
102
+ function O() {
103
+ E = B({}), y.value.title = g("common.add"), y.value.visible = !0;
104
+ }
105
+ function G(l) {
106
+ E.userId = l.userId, y.value.title = g("common.edit"), y.value.visible = !0;
107
+ }
108
+ function J(l) {
109
+ L.push({
110
+ path: "/rawitsmsys/itsm-sys-user-man/userManInfo",
111
+ query: { userId: l.userId }
112
+ });
113
+ }
114
+ const j = U(!1);
115
+ function W() {
116
+ j.value = !1;
117
+ }
118
+ function X(l) {
119
+ Q.downloadTemplate().then((t) => {
120
+ const D = new Blob([t.data], {
121
+ type: "application/octet-stream"
122
+ });
123
+ ye.saveAs(D, l + ".xlsx");
124
+ });
125
+ }
126
+ function Y(l) {
127
+ l.updateMask = "", l.userType = N.userType.companyManager, u.importExcel(l).then(() => {
128
+ j.value = !1;
129
+ });
130
+ }
131
+ function Z(l) {
132
+ u.selectionRows.value = l;
133
+ }
134
+ function ee(l) {
135
+ u.handleSort(l.prop, l.order);
136
+ }
137
+ function te(l) {
138
+ l && u.getList();
139
+ }
140
+ return u.getList(), (l, t) => {
141
+ const D = i("el-input"), h = i("el-form-item"), v = i("el-col"), M = i("jmash-select"), C = i("el-button"), P = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), z = i("svg-icon"), ae = i("jmash-table"), ne = i("jmash-pagination"), se = i("el-card"), w = ue("hasPerm");
142
+ return d(), k("div", ce, [
143
+ b("div", fe, [
144
+ a(le, {
145
+ ref_key: "queryFormRef",
146
+ ref: F,
147
+ model: r.value,
148
+ inline: !0
149
+ }, {
150
+ default: o(() => [
151
+ a(P, null, {
152
+ default: o(() => [
153
+ a(v, { span: 6 }, {
154
+ default: o(() => [
155
+ a(h, {
156
+ label: l.$t("sysUserMan.loginName"),
157
+ prop: "loginName"
158
+ }, {
159
+ default: o(() => [
160
+ a(D, {
161
+ modelValue: r.value.loginName,
162
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.loginName = e),
163
+ placeholder: l.$t("sysUserMan.loginNameRequired"),
164
+ onKeyup: t[1] || (t[1] = V((e) => n(u).handleQuery(), ["enter"])),
165
+ class: "!w-[203px]",
166
+ clearable: ""
167
+ }, null, 8, ["modelValue", "placeholder"])
168
+ ]),
169
+ _: 1
170
+ }, 8, ["label"])
171
+ ]),
172
+ _: 1
173
+ }),
174
+ a(v, { span: 6 }, {
175
+ default: o(() => [
176
+ a(h, {
177
+ label: l.$t("sysUserMan.deptId"),
178
+ prop: "deptId"
179
+ }, {
180
+ default: o(() => [
181
+ a(M, {
182
+ modelValue: r.value.deptId,
183
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.deptId = e),
184
+ placeholder: l.$t("sysUserMan.deptIdRequired"),
185
+ data: n(p).deptBizDict.values,
186
+ onKeyup: t[3] || (t[3] = V((e) => n(u).handleQuery(), ["enter"])),
187
+ clearable: ""
188
+ }, null, 8, ["modelValue", "placeholder", "data"])
189
+ ]),
190
+ _: 1
191
+ }, 8, ["label"])
192
+ ]),
193
+ _: 1
194
+ }),
195
+ a(v, { span: 6 }, {
196
+ default: o(() => [
197
+ a(h, {
198
+ label: l.$t("sysUserMan.jobId"),
199
+ prop: "jobId"
200
+ }, {
201
+ default: o(() => [
202
+ a(M, {
203
+ modelValue: r.value.jobId,
204
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.jobId = e),
205
+ placeholder: l.$t("sysUserMan.jobIdRequired"),
206
+ data: n(p).jobBizDict.values,
207
+ onKeyup: t[5] || (t[5] = V((e) => n(u).handleQuery(), ["enter"])),
208
+ clearable: ""
209
+ }, null, 8, ["modelValue", "placeholder", "data"])
210
+ ]),
211
+ _: 1
212
+ }, 8, ["label"])
213
+ ]),
214
+ _: 1
215
+ }),
216
+ a(v, { span: 6 }, {
217
+ default: o(() => [
218
+ a(h, {
219
+ label: l.$t("sysUserMan.jobStatus"),
220
+ prop: "jobStatus"
221
+ }, {
222
+ default: o(() => [
223
+ a(M, {
224
+ modelValue: r.value.jobStatus,
225
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.jobStatus = e),
226
+ placeholder: l.$t("sysUserMan.jobStatusRequired"),
227
+ data: n(p).jobStatusDictEnum.values,
228
+ onKeyup: t[7] || (t[7] = V((e) => n(u).handleQuery(), ["enter"])),
229
+ clearable: ""
230
+ }, null, 8, ["modelValue", "placeholder", "data"])
231
+ ]),
232
+ _: 1
233
+ }, 8, ["label"])
234
+ ]),
235
+ _: 1
236
+ }),
237
+ a(v, { span: 24 }, {
238
+ default: o(() => [
239
+ a(h, { class: "search-btn" }, {
240
+ default: o(() => [
241
+ a(C, {
242
+ type: "primary",
243
+ onClick: t[8] || (t[8] = (e) => n(u).handleQuery())
244
+ }, {
245
+ default: o(() => [
246
+ m(s(l.$t("common.search")), 1)
247
+ ]),
248
+ _: 1
249
+ }),
250
+ a(C, {
251
+ onClick: t[9] || (t[9] = (e) => n(u).resetQuery())
252
+ }, {
253
+ default: o(() => [
254
+ m(s(l.$t("common.reset")), 1)
255
+ ]),
256
+ _: 1
257
+ })
258
+ ]),
259
+ _: 1
260
+ })
261
+ ]),
262
+ _: 1
263
+ })
264
+ ]),
265
+ _: 1
266
+ })
267
+ ]),
268
+ _: 1
269
+ }, 8, ["model"]),
270
+ t[19] || (t[19] = b("div", { class: "clear" }, null, -1))
271
+ ]),
272
+ a(se, {
273
+ shadow: "never",
274
+ class: "table-container"
275
+ }, {
276
+ header: o(() => [
277
+ a(P, null, {
278
+ default: o(() => [
279
+ a(v, { span: 17 }, {
280
+ default: o(() => [
281
+ c((d(), f(C, {
282
+ type: "primary",
283
+ onClick: O
284
+ }, {
285
+ default: o(() => [
286
+ m(s(l.$t("common.add")), 1)
287
+ ]),
288
+ _: 1
289
+ })), [
290
+ [w, ["itsmsys:sys_user_ext:add"]]
291
+ ]),
292
+ c((d(), f(C, {
293
+ type: "primary",
294
+ onClick: t[10] || (t[10] = (e) => n(u).deleteRecords())
295
+ }, {
296
+ default: o(() => [
297
+ m(s(l.$t("common.batchDelete")), 1)
298
+ ]),
299
+ _: 1
300
+ })), [
301
+ [w, ["itsmsys:sys_user_ext:delete"]]
302
+ ])
303
+ ]),
304
+ _: 1
305
+ }),
306
+ a(v, {
307
+ span: 7,
308
+ class: "container-float"
309
+ }, {
310
+ default: o(() => [
311
+ c((d(), f(C, {
312
+ plain: "",
313
+ type: "primary",
314
+ onClick: t[11] || (t[11] = (e) => j.value = !0)
315
+ }, {
316
+ default: o(() => [
317
+ m(s(l.$t("common.import")), 1)
318
+ ]),
319
+ _: 1
320
+ })), [
321
+ [w, ["itsmsys:sys_user_ext:import"]]
322
+ ]),
323
+ a(oe, {
324
+ modelValue: n(_),
325
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => q(_) ? _.value = e : _ = e),
326
+ "label-name": "itsmsys/itsm-sys-user-ext"
327
+ }, null, 8, ["modelValue"])
328
+ ]),
329
+ _: 1
330
+ })
331
+ ]),
332
+ _: 1
333
+ })
334
+ ]),
335
+ footer: o(() => [
336
+ n(I) > 0 ? (d(), f(ne, {
337
+ key: 0,
338
+ total: n(I),
339
+ "onUpdate:total": t[13] || (t[13] = (e) => q(I) ? I.value = e : null),
340
+ "current-page": r.value.curPage,
341
+ "onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
342
+ "page-size": r.value.pageSize,
343
+ "onUpdate:pageSize": t[15] || (t[15] = (e) => r.value.pageSize = e),
344
+ onPagination: t[16] || (t[16] = (e) => n(u).getList())
345
+ }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
346
+ ]),
347
+ default: o(() => [
348
+ a(ae, {
349
+ ref_key: "multipleTableRef",
350
+ ref: x,
351
+ "row-key": "userId",
352
+ "list-loading": n(A),
353
+ data: n(H),
354
+ "table-label": n(_),
355
+ onSelectionChange: Z,
356
+ onSortChange: ee
357
+ }, {
358
+ gender: o((e) => [
359
+ b("span", null, s(n(p).genderDict.getEnumValue(e.data.row.gender)), 1)
360
+ ]),
361
+ mobilePhone: o((e) => [
362
+ b("span", null, s(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
363
+ ]),
364
+ email: o((e) => [
365
+ b("span", null, s(e.data.row.showEncrypt ? e.data.row.email : e.data.row.emailIns), 1)
366
+ ]),
367
+ deptId: o((e) => [
368
+ b("span", null, s(n(p).deptBizDict.getValue(e.data.row.deptId)), 1)
369
+ ]),
370
+ jobId: o((e) => [
371
+ b("span", null, s(n(p).jobBizDict.getValue(e.data.row.jobId)), 1)
372
+ ]),
373
+ jobStatus: o((e) => [
374
+ b("span", null, [
375
+ e.data.row.jobStatus === n(N).jobStatus.working ? (d(), f(R, {
376
+ key: 0,
377
+ type: "primary"
378
+ }, {
379
+ default: o(() => [
380
+ m(s(n(p).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
381
+ ]),
382
+ _: 2
383
+ }, 1024)) : (d(), f(R, {
384
+ key: 1,
385
+ type: "danger"
386
+ }, {
387
+ default: o(() => [
388
+ m(s(n(p).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
389
+ ]),
390
+ _: 2
391
+ }, 1024))
392
+ ])
393
+ ]),
394
+ operation: o((e) => [
395
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), k("span", ve, [
396
+ c(a(z, {
397
+ "icon-class": "close-eye",
398
+ onClick: ($) => T(e.data.row)
399
+ }, null, 8, ["onClick"]), [
400
+ [K, !e.data.row.showEncrypt]
401
+ ]),
402
+ c(a(z, {
403
+ "icon-class": "eye-open",
404
+ onClick: ($) => T(e.data.row)
405
+ }, null, 8, ["onClick"]), [
406
+ [K, e.data.row.showEncrypt]
407
+ ])
408
+ ])) : S("", !0),
409
+ c((d(), k("span", {
410
+ class: "el-button-color dropdown-left",
411
+ onClick: ($) => G(e.data.row)
412
+ }, [
413
+ m(s(l.$t("common.edit")), 1)
414
+ ], 8, we)), [
415
+ [w, ["itsmsys:sys_user_ext:update"]]
416
+ ]),
417
+ c((d(), k("span", {
418
+ class: "el-button-color dropdown-left",
419
+ onClick: ($) => n(u).deleteRecord(e.data.row)
420
+ }, [
421
+ m(s(l.$t("common.delete")), 1)
422
+ ], 8, ge)), [
423
+ [w, ["itsmsys:sys_user_ext:delete"]]
424
+ ]),
425
+ c((d(), k("span", {
426
+ class: "el-button-color dropdown-left",
427
+ onClick: ($) => J(e.data.row)
428
+ }, [
429
+ m(s(l.$t("common.view")), 1)
430
+ ], 8, _e)), [
431
+ [w, ["itsmsys:sys_user_ext:view"]]
432
+ ])
433
+ ]),
434
+ _: 1
435
+ }, 8, ["list-loading", "data", "table-label"])
436
+ ]),
437
+ _: 1
438
+ }),
439
+ y.value.visible ? (d(), f(pe, {
440
+ key: 0,
441
+ modelValue: y.value.visible,
442
+ "onUpdate:modelValue": t[17] || (t[17] = (e) => y.value.visible = e),
443
+ title: y.value.title,
444
+ "entity-key": n(E),
445
+ onRefresh: te,
446
+ width: "900px"
447
+ }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0),
448
+ j.value ? (d(), f(be, {
449
+ key: 1,
450
+ "upload-visible": j.value,
451
+ "template-title": l.$t("sysUser.templateDownload"),
452
+ onTemplateDown: t[18] || (t[18] = (e) => X(n(g)("sysUserOps.name"))),
453
+ onImportEvents: Y,
454
+ onUploadClosed: W
455
+ }, null, 8, ["upload-visible", "template-title"])) : S("", !0)
456
+ ]);
457
+ };
458
+ }
459
+ });
460
+ export {
461
+ De as default
462
+ };
@@ -1,24 +1,24 @@
1
- import { defineComponent as re, ref as V, reactive as I, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as J, createCommentVNode as S, vShow as q } from "vue";
1
+ import { defineComponent as re, ref as V, reactive as J, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
2
2
  import { useTableHooks as ue } from "jmash-core";
3
3
  import { useI18n as de } from "vue-i18n";
4
4
  import { useRouter as pe } from "vue-router";
5
- import { C as K, D as y } from "./index-C57850Qg.mjs";
5
+ import { C as O, D as y } from "./index-EhejgmO6.mjs";
6
6
  import { sysUserExtApi as Q } from "./index.mjs";
7
- import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-BlMypmar.mjs";
7
+ import { _ as me } from "./edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs";
8
8
  import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import be from "./import-upload-Dn6fqub8.mjs";
9
+ import be from "./import-upload-BvBtwEbI.mjs";
10
10
  const ce = { class: "app-container" }, fe = { class: "search-container" }, ge = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
11
11
  __name: "index",
12
12
  setup(Ce) {
13
13
  const { t: w } = de(), z = pe(), r = V({
14
- userType: K.userType.companyOps
14
+ userType: O.userType.companyOps
15
15
  }), {
16
16
  tableHooks: i,
17
17
  multipleTableRef: L,
18
18
  queryFormRef: x,
19
19
  listLoading: B,
20
20
  tableData: F,
21
- total: U
21
+ total: T
22
22
  } = ue(w, Q, r);
23
23
  let _ = V([
24
24
  {
@@ -91,16 +91,16 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
91
91
  isColumn: !0
92
92
  }
93
93
  ]);
94
- function O(o) {
94
+ function M(o) {
95
95
  o.showEncrypt = !o.showEncrypt;
96
96
  }
97
97
  const b = V({
98
98
  title: w("common.edit"),
99
99
  visible: !1
100
100
  });
101
- let j = I({});
101
+ let j = J({});
102
102
  function A() {
103
- j = I({}), b.value.title = w("common.add"), b.value.visible = !0;
103
+ j = J({}), b.value.title = w("common.add"), b.value.visible = !0;
104
104
  }
105
105
  function H(o) {
106
106
  j.userId = o.userId, b.value.title = w("common.edit"), b.value.visible = !0;
@@ -124,7 +124,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
124
124
  });
125
125
  }
126
126
  function Y(o) {
127
- console.log(o), o.updateMask = "", i.importExcel(o).then(() => {
127
+ o.updateMask = "", o.userType = O.userType.companyOps, i.importExcel(o).then(() => {
128
128
  C.value = !1;
129
129
  });
130
130
  }
@@ -138,7 +138,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
138
138
  o && i.getList();
139
139
  }
140
140
  return i.getList(), (o, t) => {
141
- const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), M = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), P = u("el-tag"), R = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
141
+ const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), P = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), R = u("el-tag"), I = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
142
142
  return d(), $("div", ce, [
143
143
  m("div", fe, [
144
144
  a(oe, {
@@ -148,7 +148,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
148
148
  inline: !0
149
149
  }, {
150
150
  default: l(() => [
151
- a(M, null, {
151
+ a(P, null, {
152
152
  default: l(() => [
153
153
  a(g, { span: 6 }, {
154
154
  default: l(() => [
@@ -273,7 +273,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
273
273
  class: "table-container"
274
274
  }, {
275
275
  header: l(() => [
276
- a(M, null, {
276
+ a(P, null, {
277
277
  default: l(() => [
278
278
  a(g, { span: 17 }, {
279
279
  default: l(() => [
@@ -321,7 +321,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
321
321
  ]),
322
322
  a(le, {
323
323
  modelValue: n(_),
324
- "onUpdate:modelValue": t[12] || (t[12] = (e) => J(_) ? _.value = e : _ = e),
324
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => q(_) ? _.value = e : _ = e),
325
325
  "label-name": "itsmsys/itsm-sys-user-ext"
326
326
  }, null, 8, ["modelValue"])
327
327
  ]),
@@ -332,10 +332,10 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
332
332
  })
333
333
  ]),
334
334
  footer: l(() => [
335
- n(U) > 0 ? (d(), f(ae, {
335
+ n(T) > 0 ? (d(), f(ae, {
336
336
  key: 0,
337
- total: n(U),
338
- "onUpdate:total": t[13] || (t[13] = (e) => J(U) ? U.value = e : null),
337
+ total: n(T),
338
+ "onUpdate:total": t[13] || (t[13] = (e) => q(T) ? T.value = e : null),
339
339
  "current-page": r.value.curPage,
340
340
  "onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
341
341
  "page-size": r.value.pageSize,
@@ -365,7 +365,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
365
365
  ]),
366
366
  jobStatus: l((e) => [
367
367
  m("span", null, [
368
- e.data.row.jobStatus === n(K).jobStatus.working ? (d(), f(P, {
368
+ e.data.row.jobStatus === n(O).jobStatus.working ? (d(), f(R, {
369
369
  key: 0,
370
370
  type: "primary"
371
371
  }, {
@@ -373,7 +373,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
373
373
  p(s(n(y).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
374
374
  ]),
375
375
  _: 2
376
- }, 1024)) : (d(), f(P, {
376
+ }, 1024)) : (d(), f(R, {
377
377
  key: 1,
378
378
  type: "danger"
379
379
  }, {
@@ -401,22 +401,22 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
401
401
  ]),
402
402
  operation: l((e) => [
403
403
  e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ge, [
404
- c(a(R, {
404
+ c(a(I, {
405
405
  "icon-class": "close-eye",
406
- onClick: (T) => O(e.data.row)
406
+ onClick: (U) => M(e.data.row)
407
407
  }, null, 8, ["onClick"]), [
408
- [q, !e.data.row.showEncrypt]
408
+ [K, !e.data.row.showEncrypt]
409
409
  ]),
410
- c(a(R, {
410
+ c(a(I, {
411
411
  "icon-class": "eye-open",
412
- onClick: (T) => O(e.data.row)
412
+ onClick: (U) => M(e.data.row)
413
413
  }, null, 8, ["onClick"]), [
414
- [q, e.data.row.showEncrypt]
414
+ [K, e.data.row.showEncrypt]
415
415
  ])
416
416
  ])) : S("", !0),
417
417
  c((d(), $("span", {
418
418
  class: "el-button-color dropdown-left",
419
- onClick: (T) => H(e.data.row)
419
+ onClick: (U) => H(e.data.row)
420
420
  }, [
421
421
  p(s(o.$t("common.edit")), 1)
422
422
  ], 8, ve)), [
@@ -424,7 +424,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
424
424
  ]),
425
425
  c((d(), $("span", {
426
426
  class: "el-button-color dropdown-left",
427
- onClick: (T) => n(i).deleteRecord(e.data.row)
427
+ onClick: (U) => n(i).deleteRecord(e.data.row)
428
428
  }, [
429
429
  p(s(o.$t("common.delete")), 1)
430
430
  ], 8, we)), [
@@ -432,7 +432,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
432
432
  ]),
433
433
  c((d(), $("span", {
434
434
  class: "el-button-color dropdown-left",
435
- onClick: (T) => G(e.data.row)
435
+ onClick: (U) => G(e.data.row)
436
436
  }, [
437
437
  p(s(o.$t("common.view")), 1)
438
438
  ], 8, _e)), [
@@ -2,7 +2,7 @@ import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective
2
2
  import { useTableHooks as Z } from "jmash-core";
3
3
  import { useI18n as x } from "vue-i18n";
4
4
  import { useRouter as ee } from "vue-router";
5
- import { C as k, D as te } from "./index-C57850Qg.mjs";
5
+ import { C as k, D as te } from "./index-EhejgmO6.mjs";
6
6
  import { sysOrgApi as oe } from "./index.mjs";
7
7
  const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
8
8
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs";
2
2
  export {
3
3
  f as default
4
4
  };