xyvcard-itsmsys 0.0.11 → 0.0.12

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 (47) hide show
  1. package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
  2. package/dist/{edit-CiCHPkRg.mjs → edit-BSgQ7aTw.mjs} +1 -1
  3. package/dist/{edit-BcE5qrWo.mjs → edit-BSllWdRO.mjs} +1 -1
  4. package/dist/{edit-BSIP_9Mq.mjs → edit-C-Ddf0UV.mjs} +27 -25
  5. package/dist/{edit-BsUWSNnA.mjs → edit-CNw8JPUb.mjs} +23 -21
  6. package/dist/{edit-znznl9Td.mjs → edit-Cd4dWFsH.mjs} +1 -1
  7. package/dist/{edit-Dxs-2AFY.mjs → edit-aqBMKpoJ.mjs} +23 -21
  8. package/dist/{edit-CW0kqOpj.mjs → edit-q5TFAMBm.mjs} +1 -1
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs +463 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs +463 -0
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-PDq1GpSZ.mjs → edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs} +202 -124
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs → edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs} +79 -56
  13. package/dist/import-upload-BIT504-g.mjs +4 -0
  14. package/dist/import-upload-pZG8yku3.mjs +4 -0
  15. package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +162 -0
  16. package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +162 -0
  17. package/dist/{index-BV3Je3Rq.mjs → index-BY5Djw_C.mjs} +7 -7
  18. package/dist/{index-BIvJ7rs4.mjs → index-BaixQptZ.mjs} +7 -7
  19. package/dist/index-CoMhbtrg.mjs +449 -0
  20. package/dist/{index-CNRO77Xg.mjs → index-Cz9Xj4Mn.mjs} +1 -1
  21. package/dist/{index-Hh4b5GAI.mjs → index-DPz8be3T.mjs} +32 -32
  22. package/dist/{index-cBbN-uY2.mjs → index-Dno_3GpX.mjs} +49 -59
  23. package/dist/{index-4qnVgDwe.mjs → index-DrBtW9Aj.mjs} +183 -132
  24. package/dist/{index-CzE5REdf.mjs → index-LOMCvxtf.mjs} +1 -1
  25. package/dist/index.mjs +214 -181
  26. package/dist/{index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs → index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs} +41 -34
  27. package/dist/{info-BP7wPWFZ.mjs → info-BUDmirQy.mjs} +1 -1
  28. package/dist/{info-CtGMbfQJ.mjs → info-BivxW-qV.mjs} +1 -1
  29. package/dist/{info-BCPme1g5.mjs → info-Bn-BseIm.mjs} +1 -1
  30. package/dist/{info-Dk3RzCIp.mjs → info-C-ga_8K9.mjs} +1 -1
  31. package/dist/{info-DRYPl2T-.mjs → info-C3knY6l_.mjs} +58 -47
  32. package/dist/{info-DCRqBi8M.mjs → info-D0Pwnmsu.mjs} +71 -60
  33. package/dist/style.css +1 -1
  34. package/dts/api/dict.d.ts +0 -6
  35. package/dts/api/index.d.ts +4 -2
  36. package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -0
  37. package/dts/api/itsm-sys-user-ext/index.d.ts +3 -1
  38. package/dts/api/itsm-sys-user-ext/types.d.ts +15 -1
  39. package/dts/constant.d.ts +1 -0
  40. package/dts/index.d.ts +1 -0
  41. package/dts/lang/itsmsys/zh-cn.d.ts +13 -0
  42. package/dts/views/itsmsys/itsm-sys-user-ops/import-upload.vue.d.ts +31 -0
  43. package/dts/views/itsmsys/itsm-sys-user-out/import-upload.vue.d.ts +31 -0
  44. package/package.json +3 -3
  45. package/dist/edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs +0 -422
  46. package/dist/edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs +0 -422
  47. package/dist/index-BTO0NHK6.mjs +0 -397
@@ -1,36 +1,38 @@
1
- import { defineComponent as oe, ref as E, reactive as P, resolveComponent as i, resolveDirective as le, openBlock as d, createElementBlock as h, createElementVNode as p, createVNode as n, withCtx as o, unref as a, withKeys as $, createTextVNode as y, toDisplayString as s, withDirectives as g, createBlock as f, isRef as R, createCommentVNode as I, vShow as J } from "vue";
2
- import { useTableHooks as ne } from "jmash-core";
3
- import { useI18n as ae } from "vue-i18n";
4
- import { useRouter as se } from "vue-router";
5
- import { D as m, C as M } from "./index-cBbN-uY2.mjs";
6
- import { sysUserExtApi as re } from "./index.mjs";
7
- import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs";
8
- const ie = { class: "app-container" }, de = { class: "search-container" }, me = { key: 0 }, pe = ["onClick"], ye = ["onClick"], be = ["onClick"], Ce = /* @__PURE__ */ oe({
1
+ import { defineComponent as re, ref as E, reactive as R, resolveComponent as u, resolveDirective as ie, openBlock as d, createElementBlock as $, createElementVNode as p, createVNode as a, withCtx as o, unref as n, withKeys as j, createTextVNode as y, toDisplayString as s, withDirectives as c, createBlock as f, isRef as M, createCommentVNode as T, vShow as J } from "vue";
2
+ import { useTableHooks as ue } from "jmash-core";
3
+ import { useI18n as de } from "vue-i18n";
4
+ import { useRouter as me } from "vue-router";
5
+ import { D as m, C as q } from "./index-Dno_3GpX.mjs";
6
+ import { sysUserExtApi as z } from "./index.mjs";
7
+ import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs";
8
+ import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
9
+ import { _ as be } from "./import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs";
10
+ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge = { key: 0 }, ve = ["onClick"], we = ["onClick"], _e = ["onClick"], Ie = /* @__PURE__ */ re({
9
11
  __name: "index",
10
- setup(ce) {
11
- const { t: k } = ae(), q = se();
12
+ setup(Ce) {
13
+ const { t: w } = de(), B = me();
12
14
  m.sysOutBizDict.useValues();
13
15
  const r = E({
14
- userType: M.userType.outsourceOps
16
+ userType: q.userType.outsourceOps
15
17
  }), {
16
- tableHooks: u,
17
- multipleTableRef: z,
18
- queryFormRef: B,
19
- listLoading: K,
20
- tableData: Q,
21
- total: C
22
- } = ne(k, re, r);
23
- let v = E([
18
+ tableHooks: i,
19
+ multipleTableRef: K,
20
+ queryFormRef: Q,
21
+ listLoading: L,
22
+ tableData: x,
23
+ total: V
24
+ } = ue(w, z, r);
25
+ let _ = E([
24
26
  {
25
27
  label: "sysUserOps.realName",
26
28
  prop: "realName",
27
- width: "150",
29
+ width: "80",
28
30
  isColumn: !0
29
31
  },
30
32
  {
31
33
  label: "sysUserOps.gender",
32
34
  prop: "gender",
33
- width: "100",
35
+ width: "60",
34
36
  isColumn: !0,
35
37
  slotName: "gender",
36
38
  columnType: "slot"
@@ -38,7 +40,7 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
38
40
  {
39
41
  label: "sysUserOps.mobilePhone",
40
42
  prop: "mobilePhone",
41
- width: "150",
43
+ width: "120",
42
44
  isColumn: !0,
43
45
  slotName: "mobilePhone",
44
46
  columnType: "slot"
@@ -47,7 +49,6 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
47
49
  label: "sysUserOps.email",
48
50
  prop: "email",
49
51
  isColumn: !0,
50
- width: "200",
51
52
  slotName: "email",
52
53
  columnType: "slot"
53
54
  },
@@ -55,22 +56,30 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
55
56
  label: "sysUserOps.orgId",
56
57
  prop: "orgId",
57
58
  isColumn: !0,
58
- width: "270",
59
+ width: "200",
59
60
  slotName: "orgId",
60
61
  columnType: "slot"
61
62
  },
62
63
  {
63
64
  label: "sysUserOps.engineeType",
64
65
  prop: "engineeType",
65
- width: "120",
66
+ width: "100",
66
67
  isColumn: !0,
67
68
  slotName: "engineeType",
68
69
  columnType: "slot"
69
70
  },
71
+ {
72
+ label: "sysUserOps.engineeCertificate",
73
+ prop: "engineeCertificate",
74
+ width: "90",
75
+ isColumn: !0,
76
+ slotName: "engineeCertificate",
77
+ columnType: "slot"
78
+ },
70
79
  {
71
80
  label: "sysUserOps.engineeJobMode",
72
81
  prop: "engineeJobMode",
73
- width: "120",
82
+ width: "100",
74
83
  isColumn: !0,
75
84
  slotName: "engineeJobMode",
76
85
  columnType: "slot"
@@ -78,7 +87,7 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
78
87
  {
79
88
  label: "sysUserOps.jobStatus",
80
89
  prop: "jobStatus",
81
- width: "100",
90
+ width: "90",
82
91
  isColumn: !0,
83
92
  slotName: "jobStatus",
84
93
  columnType: "slot"
@@ -96,58 +105,75 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
96
105
  l.showEncrypt = !l.showEncrypt;
97
106
  }
98
107
  const b = E({
99
- title: k("common.edit"),
108
+ title: w("common.edit"),
100
109
  visible: !1
101
110
  });
102
- let S = P({});
103
- function L() {
104
- S = P({}), b.value.title = k("common.add"), b.value.visible = !0;
111
+ let I = R({});
112
+ function F() {
113
+ I = R({}), b.value.title = w("common.add"), b.value.visible = !0;
105
114
  }
106
115
  function A(l) {
107
- S.userId = l.userId, b.value.title = k("common.edit"), b.value.visible = !0;
116
+ I.userId = l.userId, b.value.title = w("common.edit"), b.value.visible = !0;
108
117
  }
109
- function F(l) {
110
- q.push({
118
+ function H(l) {
119
+ B.push({
111
120
  path: "/rawitsmsys/itsm-sys-user-out/userOutInfo",
112
121
  query: { userId: l.userId }
113
122
  });
114
123
  }
115
- function H(l) {
116
- u.selectionRows.value = l;
117
- }
118
- function G(l) {
119
- u.handleSort(l.prop, l.order);
124
+ const C = E(!1);
125
+ function G() {
126
+ C.value = !1;
120
127
  }
121
128
  function W(l) {
122
- l && u.getList();
129
+ z.downloadTemplate().then((t) => {
130
+ const h = new Blob([t.data], {
131
+ type: "application/octet-stream"
132
+ });
133
+ ye.saveAs(h, l + ".xlsx");
134
+ });
135
+ }
136
+ function X(l) {
137
+ l.updateMask = "", i.importExcel(l).then(() => {
138
+ C.value = !1;
139
+ });
140
+ }
141
+ function Y(l) {
142
+ i.selectionRows.value = l;
123
143
  }
124
- return u.getList(), (l, t) => {
125
- const j = i("jmash-select"), w = i("el-form-item"), c = i("el-col"), X = i("el-input"), U = i("el-button"), T = i("el-row"), Y = i("el-form"), Z = i("jmash-column-select"), N = i("el-tag"), D = i("svg-icon"), x = i("jmash-table"), ee = i("jmash-pagination"), te = i("el-card"), _ = le("hasPerm");
126
- return d(), h("div", ie, [
127
- p("div", de, [
128
- n(Y, {
144
+ function Z(l) {
145
+ i.handleSort(l.prop, l.order);
146
+ }
147
+ function ee(l) {
148
+ l && i.getList();
149
+ }
150
+ return i.getList(), (l, t) => {
151
+ const h = u("jmash-select"), k = u("el-form-item"), g = u("el-col"), te = u("el-input"), U = u("el-button"), D = u("el-row"), le = u("el-form"), oe = u("jmash-column-select"), N = u("el-tag"), P = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ie("hasPerm");
152
+ return d(), $("div", ce, [
153
+ p("div", fe, [
154
+ a(le, {
129
155
  ref_key: "queryFormRef",
130
- ref: B,
156
+ ref: Q,
131
157
  model: r.value,
132
158
  inline: !0
133
159
  }, {
134
160
  default: o(() => [
135
- n(T, null, {
161
+ a(D, null, {
136
162
  default: o(() => [
137
- n(c, { span: 6 }, {
163
+ a(g, { span: 6 }, {
138
164
  default: o(() => [
139
- n(w, {
165
+ a(k, {
140
166
  label: l.$t("sysUserOps.orgId"),
141
167
  prop: "orgId"
142
168
  }, {
143
169
  default: o(() => [
144
- n(j, {
170
+ a(h, {
145
171
  modelValue: r.value.orgId,
146
172
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.orgId = e),
147
173
  placeholder: l.$t("sysUserOps.orgIdRequired"),
148
- data: a(m).sysOutBizDict.values,
174
+ data: n(m).sysOutBizDict.values,
149
175
  clearable: "",
150
- onKeyup: t[1] || (t[1] = $((e) => a(u).handleQuery(), ["enter"]))
176
+ onKeyup: t[1] || (t[1] = j((e) => n(i).handleQuery(), ["enter"]))
151
177
  }, null, 8, ["modelValue", "placeholder", "data"])
152
178
  ]),
153
179
  _: 1
@@ -155,18 +181,18 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
155
181
  ]),
156
182
  _: 1
157
183
  }),
158
- n(c, { span: 6 }, {
184
+ a(g, { span: 6 }, {
159
185
  default: o(() => [
160
- n(w, {
186
+ a(k, {
161
187
  label: l.$t("sysUserOps.realName"),
162
188
  prop: "likeUserName"
163
189
  }, {
164
190
  default: o(() => [
165
- n(X, {
191
+ a(te, {
166
192
  modelValue: r.value.likeUserName,
167
193
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeUserName = e),
168
194
  placeholder: l.$t("sysUserOps.realNameRequired"),
169
- onKeyup: t[3] || (t[3] = $((e) => a(u).handleQuery(), ["enter"])),
195
+ onKeyup: t[3] || (t[3] = j((e) => n(i).handleQuery(), ["enter"])),
170
196
  class: "!w-[203px]"
171
197
  }, null, 8, ["modelValue", "placeholder"])
172
198
  ]),
@@ -175,19 +201,19 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
175
201
  ]),
176
202
  _: 1
177
203
  }),
178
- n(c, { span: 6 }, {
204
+ a(g, { span: 6 }, {
179
205
  default: o(() => [
180
- n(w, {
206
+ a(k, {
181
207
  label: l.$t("sysUserOps.engineeJobMode"),
182
208
  prop: "engineeJobMode"
183
209
  }, {
184
210
  default: o(() => [
185
- n(j, {
211
+ a(h, {
186
212
  modelValue: r.value.engineeJobMode,
187
213
  "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.engineeJobMode = e),
188
214
  placeholder: l.$t("sysUserOps.engineeJobModeRequired"),
189
- data: a(m).engineeJobModeDictEnum.values,
190
- onKeyup: t[5] || (t[5] = $((e) => a(u).handleQuery(), ["enter"])),
215
+ data: n(m).engineeJobModeDictEnum.values,
216
+ onKeyup: t[5] || (t[5] = j((e) => n(i).handleQuery(), ["enter"])),
191
217
  clearable: ""
192
218
  }, null, 8, ["modelValue", "placeholder", "data"])
193
219
  ]),
@@ -196,19 +222,19 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
196
222
  ]),
197
223
  _: 1
198
224
  }),
199
- n(c, { span: 6 }, {
225
+ a(g, { span: 6 }, {
200
226
  default: o(() => [
201
- n(w, {
227
+ a(k, {
202
228
  label: l.$t("sysUserOps.jobStatus"),
203
229
  prop: "jobStatus"
204
230
  }, {
205
231
  default: o(() => [
206
- n(j, {
232
+ a(h, {
207
233
  modelValue: r.value.jobStatus,
208
234
  "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.jobStatus = e),
209
235
  placeholder: l.$t("sysUserOps.jobStatusRequired"),
210
- data: a(m).jobStatusDictEnum.values,
211
- onKeyup: t[7] || (t[7] = $((e) => a(u).handleQuery(), ["enter"])),
236
+ data: n(m).jobStatusDictEnum.values,
237
+ onKeyup: t[7] || (t[7] = j((e) => n(i).handleQuery(), ["enter"])),
212
238
  clearable: ""
213
239
  }, null, 8, ["modelValue", "placeholder", "data"])
214
240
  ]),
@@ -217,21 +243,21 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
217
243
  ]),
218
244
  _: 1
219
245
  }),
220
- n(c, { span: 24 }, {
246
+ a(g, { span: 24 }, {
221
247
  default: o(() => [
222
- n(w, { class: "search-btn" }, {
248
+ a(k, { class: "search-btn" }, {
223
249
  default: o(() => [
224
- n(U, {
250
+ a(U, {
225
251
  type: "primary",
226
- onClick: t[8] || (t[8] = (e) => a(u).handleQuery())
252
+ onClick: t[8] || (t[8] = (e) => n(i).handleQuery())
227
253
  }, {
228
254
  default: o(() => [
229
255
  y(s(l.$t("common.search")), 1)
230
256
  ]),
231
257
  _: 1
232
258
  }),
233
- n(U, {
234
- onClick: t[9] || (t[9] = (e) => a(u).resetQuery())
259
+ a(U, {
260
+ onClick: t[9] || (t[9] = (e) => n(i).resetQuery())
235
261
  }, {
236
262
  default: o(() => [
237
263
  y(s(l.$t("common.reset")), 1)
@@ -250,51 +276,63 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
250
276
  ]),
251
277
  _: 1
252
278
  }, 8, ["model"]),
253
- t[17] || (t[17] = p("div", { class: "clear" }, null, -1))
279
+ t[19] || (t[19] = p("div", { class: "clear" }, null, -1))
254
280
  ]),
255
- n(te, {
281
+ a(se, {
256
282
  shadow: "never",
257
283
  class: "table-container"
258
284
  }, {
259
285
  header: o(() => [
260
- n(T, null, {
286
+ a(D, null, {
261
287
  default: o(() => [
262
- n(c, { span: 17 }, {
288
+ a(g, { span: 17 }, {
263
289
  default: o(() => [
264
- g((d(), f(U, {
290
+ c((d(), f(U, {
265
291
  type: "primary",
266
- onClick: L
292
+ onClick: F
267
293
  }, {
268
294
  default: o(() => [
269
295
  y(s(l.$t("common.add")), 1)
270
296
  ]),
271
297
  _: 1
272
298
  })), [
273
- [_, ["itsmsys:sys_user_out:add"]]
299
+ [v, ["itsmsys:sys_user_ext:add"]]
274
300
  ]),
275
- g((d(), f(U, {
301
+ c((d(), f(U, {
276
302
  type: "primary",
277
- onClick: t[10] || (t[10] = (e) => a(u).deleteRecords())
303
+ onClick: t[10] || (t[10] = (e) => n(i).deleteRecords())
278
304
  }, {
279
305
  default: o(() => [
280
306
  y(s(l.$t("common.batchDelete")), 1)
281
307
  ]),
282
308
  _: 1
283
309
  })), [
284
- [_, ["itsmsys:sys_user_out:delete"]]
310
+ [v, ["itsmsys:sys_user_ext:delete"]]
285
311
  ])
286
312
  ]),
287
313
  _: 1
288
314
  }),
289
- n(c, {
315
+ a(g, {
290
316
  span: 7,
291
317
  class: "container-float"
292
318
  }, {
293
319
  default: o(() => [
294
- n(Z, {
295
- modelValue: a(v),
296
- "onUpdate:modelValue": t[11] || (t[11] = (e) => R(v) ? v.value = e : v = e),
297
- "label-name": "itsmsys/itsm-sys-user-out"
320
+ c((d(), f(U, {
321
+ plain: "",
322
+ type: "primary",
323
+ onClick: t[11] || (t[11] = (e) => C.value = !0)
324
+ }, {
325
+ default: o(() => [
326
+ y(s(l.$t("common.import")), 1)
327
+ ]),
328
+ _: 1
329
+ })), [
330
+ [v, ["itsmsys:sys_user_ext:import"]]
331
+ ]),
332
+ a(oe, {
333
+ modelValue: n(_),
334
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => M(_) ? _.value = e : _ = e),
335
+ "label-name": "itsmsys/itsm-sys-user-ext"
298
336
  }, null, 8, ["modelValue"])
299
337
  ]),
300
338
  _: 1
@@ -304,33 +342,33 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
304
342
  })
305
343
  ]),
306
344
  footer: o(() => [
307
- a(C) > 0 ? (d(), f(ee, {
345
+ n(V) > 0 ? (d(), f(ae, {
308
346
  key: 0,
309
- total: a(C),
310
- "onUpdate:total": t[12] || (t[12] = (e) => R(C) ? C.value = e : null),
347
+ total: n(V),
348
+ "onUpdate:total": t[13] || (t[13] = (e) => M(V) ? V.value = e : null),
311
349
  "current-page": r.value.curPage,
312
- "onUpdate:currentPage": t[13] || (t[13] = (e) => r.value.curPage = e),
350
+ "onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
313
351
  "page-size": r.value.pageSize,
314
- "onUpdate:pageSize": t[14] || (t[14] = (e) => r.value.pageSize = e),
315
- onPagination: t[15] || (t[15] = (e) => a(u).getList())
316
- }, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
352
+ "onUpdate:pageSize": t[15] || (t[15] = (e) => r.value.pageSize = e),
353
+ onPagination: t[16] || (t[16] = (e) => n(i).getList())
354
+ }, null, 8, ["total", "current-page", "page-size"])) : T("", !0)
317
355
  ]),
318
356
  default: o(() => [
319
- n(x, {
357
+ a(ne, {
320
358
  ref_key: "multipleTableRef",
321
- ref: z,
359
+ ref: K,
322
360
  "row-key": "userId",
323
- "list-loading": a(K),
324
- data: a(Q),
325
- "table-label": a(v),
326
- onSelectionChange: H,
327
- onSortChange: G
361
+ "list-loading": n(L),
362
+ data: n(x),
363
+ "table-label": n(_),
364
+ onSelectionChange: Y,
365
+ onSortChange: Z
328
366
  }, {
329
367
  gender: o((e) => [
330
- p("span", null, s(a(m).genderDict.getEnumValue(e.data.row.gender)), 1)
368
+ p("span", null, s(n(m).genderDict.getEnumValue(e.data.row.gender)), 1)
331
369
  ]),
332
370
  orgId: o((e) => [
333
- p("span", null, s(a(m).sysOutBizDict.getValue(e.data.row.orgId)), 1)
371
+ p("span", null, s(n(m).sysOutBizDict.getValue(e.data.row.orgId)), 1)
334
372
  ]),
335
373
  mobilePhone: o((e) => [
336
374
  p("span", null, s(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
@@ -340,12 +378,12 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
340
378
  ]),
341
379
  jobStatus: o((e) => [
342
380
  p("span", null, [
343
- e.data.row.jobStatus === a(M).jobStatus.working ? (d(), f(N, {
381
+ e.data.row.jobStatus === n(q).jobStatus.working ? (d(), f(N, {
344
382
  key: 0,
345
383
  type: "primary"
346
384
  }, {
347
385
  default: o(() => [
348
- y(s(a(m).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
386
+ y(s(n(m).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
349
387
  ]),
350
388
  _: 2
351
389
  }, 1024)) : (d(), f(N, {
@@ -353,60 +391,65 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
353
391
  type: "danger"
354
392
  }, {
355
393
  default: o(() => [
356
- y(s(a(m).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
394
+ y(s(n(m).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
357
395
  ]),
358
396
  _: 2
359
397
  }, 1024))
360
398
  ])
361
399
  ]),
362
400
  engineeType: o((e) => [
363
- p("span", null, s(a(m).engineeTypeDictEnum.getEnumValue(
401
+ p("span", null, s(n(m).engineeTypeDictEnum.getEnumValue(
364
402
  e.data.row.engineeType
365
403
  )), 1)
366
404
  ]),
405
+ engineeCertificate: o((e) => [
406
+ p("span", null, s(n(m).engineeCertificateDict.getDictValue(
407
+ e.data.row.engineeCertificate
408
+ )), 1)
409
+ ]),
367
410
  engineeJobMode: o((e) => [
368
- p("span", null, s(a(m).engineeJobModeDictEnum.getEnumValue(
411
+ p("span", null, s(n(m).engineeJobModeDictEnum.getEnumValue(
369
412
  e.data.row.engineeJobMode
370
413
  )), 1)
371
414
  ]),
372
415
  operation: o((e) => [
373
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), h("span", me, [
374
- g(n(D, {
416
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ge, [
417
+ c(a(P, {
375
418
  "icon-class": "close-eye",
376
- onClick: (V) => O(e.data.row)
419
+ onClick: (S) => O(e.data.row)
377
420
  }, null, 8, ["onClick"]), [
378
421
  [J, !e.data.row.showEncrypt]
379
422
  ]),
380
- g(n(D, {
423
+ c(a(P, {
381
424
  "icon-class": "eye-open",
382
- onClick: (V) => O(e.data.row)
425
+ onClick: (S) => O(e.data.row)
383
426
  }, null, 8, ["onClick"]), [
384
427
  [J, e.data.row.showEncrypt]
385
428
  ])
386
- ])) : I("", !0),
387
- g((d(), h("span", {
429
+ ])) : T("", !0),
430
+ c((d(), $("span", {
388
431
  class: "el-button-color dropdown-left",
389
- onClick: (V) => A(e.data.row)
432
+ onClick: (S) => A(e.data.row)
390
433
  }, [
391
434
  y(s(l.$t("common.edit")), 1)
392
- ], 8, pe)), [
393
- [_, ["itsmsys:sys_user_out:update"]]
435
+ ], 8, ve)), [
436
+ [v, ["itsmsys:sys_user_ext:update"]]
394
437
  ]),
395
- g((d(), h("span", {
438
+ c((d(), $("span", {
396
439
  class: "el-button-color dropdown-left",
397
- onClick: (V) => a(u).deleteRecord(e.data.row)
440
+ onClick: (S) => n(i).deleteRecord(e.data.row)
398
441
  }, [
399
442
  y(s(l.$t("common.delete")), 1)
400
- ], 8, ye)), [
401
- [_, ["itsmsys:sys_user_out:delete"]]
443
+ ], 8, we)), [
444
+ [v, ["itsmsys:sys_user_ext:delete"]]
402
445
  ]),
403
- g((d(), h("span", {
446
+ c((d(), $("span", {
404
447
  class: "el-button-color dropdown-left",
405
- onClick: (V) => F(e.data.row)
448
+ onClick: (S) => H(e.data.row)
406
449
  }, [
407
450
  y(s(l.$t("common.view")), 1)
408
- ], 8, be)), [
409
- [_, ["itsmsys:sys_user_out:view"]]
451
+ ], 8, _e)), [
452
+ [v, ["itsmsys:sys_user_ext:view"]]
410
453
  ])
411
454
  ]),
412
455
  _: 1
@@ -414,19 +457,27 @@ const ie = { class: "app-container" }, de = { class: "search-container" }, me =
414
457
  ]),
415
458
  _: 1
416
459
  }),
417
- b.value.visible ? (d(), f(ue, {
460
+ b.value.visible ? (d(), f(pe, {
418
461
  key: 0,
419
462
  modelValue: b.value.visible,
420
- "onUpdate:modelValue": t[16] || (t[16] = (e) => b.value.visible = e),
463
+ "onUpdate:modelValue": t[17] || (t[17] = (e) => b.value.visible = e),
421
464
  title: b.value.title,
422
- "entity-key": a(S),
423
- onRefresh: W,
465
+ "entity-key": n(I),
466
+ onRefresh: ee,
424
467
  width: "900px"
425
- }, null, 8, ["modelValue", "title", "entity-key"])) : I("", !0)
468
+ }, null, 8, ["modelValue", "title", "entity-key"])) : T("", !0),
469
+ C.value ? (d(), f(be, {
470
+ key: 1,
471
+ "upload-visible": C.value,
472
+ "template-title": l.$t("sysUser.templateDownload"),
473
+ onTemplateDown: t[18] || (t[18] = (e) => W(n(w)("sysUserOps.name"))),
474
+ onImportEvents: X,
475
+ onUploadClosed: G
476
+ }, null, 8, ["upload-visible", "template-title"])) : T("", !0)
426
477
  ]);
427
478
  };
428
479
  }
429
480
  });
430
481
  export {
431
- Ce as default
482
+ Ie as default
432
483
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective as W, openBlock as m, createElementBlock as h, createElementVNode as $, createVNode as n, withCtx as l, withKeys as V, unref as a, createTextVNode as u, toDisplayString as d, withDirectives as b, createBlock as C, isRef as N, createCommentVNode as X } from "vue";
2
2
  import { useTableHooks as Y } from "jmash-core";
3
3
  import { useI18n as Z } from "vue-i18n";
4
- import { C as x, D as ee } from "./index-cBbN-uY2.mjs";
4
+ import { C as x, D as ee } from "./index-Dno_3GpX.mjs";
5
5
  import { sysOrgApi as te } from "./index.mjs";
6
6
  import { useRouter as oe } from "vue-router";
7
7
  const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], ge = /* @__PURE__ */ J({