xyvcard-itsmsys 0.0.25 → 0.0.27
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/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/assets/7f3e996112b4923f.png +0 -0
- package/dist/{edit-CfbonHOl.mjs → edit-4Z-ZnpFy.mjs} +1 -1
- package/dist/{edit-DybO5r3p.mjs → edit-8-gDtIOz.mjs} +1 -1
- package/dist/{edit-BrHOGUbU.mjs → edit-BlkaYTGl.mjs} +1 -1
- package/dist/{edit-C82n7Lq0.mjs → edit-CEYAvHd3.mjs} +1 -1
- package/dist/{edit-CNEVornb.mjs → edit-QJ7ZmxX_.mjs} +131 -135
- package/dist/{edit-DYqAdRsK.mjs → edit-diNsokNw.mjs} +3 -3
- package/dist/edit-oJm1rfX1.mjs +410 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs → edit.vue_vue_type_script_setup_true_lang-CFG4x85k.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs → edit.vue_vue_type_script_setup_true_lang-DeduEUOD.mjs} +100 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs → edit.vue_vue_type_script_setup_true_lang-T6aiep4s.mjs} +74 -72
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Cg1uyqed.mjs → edit.vue_vue_type_script_setup_true_lang-g81nThyI.mjs} +7 -7
- package/dist/{import-upload-CC1Ho43e.mjs → import-upload-BxVBkr7-.mjs} +2 -2
- package/dist/{import-upload-BaJGVcNb.mjs → import-upload-CtJh5u39.mjs} +2 -2
- package/dist/index-3An-8Hfg.mjs +343 -0
- package/dist/{index-CAzxJ_Vp.mjs → index-BsrMxEM8.mjs} +146 -116
- package/dist/{index-igV06vtf.mjs → index-C2od41K0.mjs} +161 -153
- package/dist/{index-cpyRUYdS.mjs → index-CR3fzc4o.mjs} +79 -73
- package/dist/{index-Di1yx94g.mjs → index-Cgq1M4Qb.mjs} +120 -112
- package/dist/{index-B2xwBTw-.mjs → index-RF4VErgF.mjs} +8 -8
- package/dist/{index-IpHv0Vzi.mjs → index-Trc70jRt.mjs} +1 -1
- package/dist/{index-cKI_mzoF.mjs → index-XMaINj6l.mjs} +188 -179
- package/dist/index.mjs +488 -484
- package/dist/index.vue_vue_type_script_setup_true_lang-B2_RWC8z.mjs +199 -0
- package/dist/{info-G1z1-aeX.mjs → info-0SKOqQd1.mjs} +2 -2
- package/dist/{info-BUKhtcuu.mjs → info-BVo8clC4.mjs} +2 -2
- package/dist/{info-EodyqiPm.mjs → info-CSazWjOe.mjs} +2 -2
- package/dist/{info-6E3wqxd6.mjs → info-DzQiIFfX.mjs} +35 -35
- package/dist/{info-DttXGxP3.mjs → info-Ju_uuO8i.mjs} +3 -3
- package/dist/{info-AE3ch4Zw.mjs → info-n4JaFgZW.mjs} +3 -3
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/types.d.ts +3 -0
- package/dts/lang/itsmsys/zh-cn.d.ts +17 -13
- package/package.json +8 -7
- package/dist/avatar-DFToerb2.mjs +0 -4
- package/dist/edit-COKceKzl.mjs +0 -358
- package/dist/index-BV5uRZXE.mjs +0 -313
- package/dist/index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs +0 -198
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ue, ref as V, reactive as J, onActivated as me, resolveComponent as m, resolveDirective as q, createElementBlock as $, openBlock as u, createElementVNode as f, createVNode as a, createBlock as p, createCommentVNode as E, withCtx as l, withKeys as S, unref as n, createTextVNode as d, toDisplayString as s, withDirectives as y, vShow as K, isRef as Q } from "vue";
|
|
2
2
|
import { useTableHooks as de } from "jmash-core";
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { C as O, D as
|
|
6
|
-
import { sysUserExtApi as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { F as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
4
|
+
import { useRouter as ye } from "vue-router";
|
|
5
|
+
import { C as O, D as b } from "./index-dIcRC4jE.mjs";
|
|
6
|
+
import { sysUserExtApi as z } from "./index.mjs";
|
|
7
|
+
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-g81nThyI.mjs";
|
|
8
|
+
import { F as ce } from "./FileSaver.min-5d27MsC6.mjs";
|
|
9
|
+
import fe from "./import-upload-CtJh5u39.mjs";
|
|
10
|
+
const ge = { class: "app-container" }, ve = { class: "search-container" }, _e = { key: 0 }, we = ["onClick"], Ce = ["onClick"], he = ["onClick"], Oe = /* @__PURE__ */ ue({
|
|
11
11
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const { t:
|
|
12
|
+
setup(ke) {
|
|
13
|
+
const { t: _ } = pe(), L = ye(), r = V({
|
|
14
14
|
userType: O.userType.companyOps
|
|
15
15
|
}), {
|
|
16
16
|
tableHooks: i,
|
|
17
|
-
multipleTableRef:
|
|
18
|
-
queryFormRef:
|
|
19
|
-
listLoading:
|
|
20
|
-
tableData:
|
|
17
|
+
multipleTableRef: x,
|
|
18
|
+
queryFormRef: A,
|
|
19
|
+
listLoading: B,
|
|
20
|
+
tableData: F,
|
|
21
21
|
total: T
|
|
22
|
-
} = de(
|
|
23
|
-
let
|
|
22
|
+
} = de(_, z, r);
|
|
23
|
+
let w = V([
|
|
24
24
|
{
|
|
25
25
|
label: "sysUserOps.realName",
|
|
26
26
|
prop: "realName",
|
|
27
27
|
width: "150",
|
|
28
|
+
sortable: "custom",
|
|
28
29
|
isColumn: !0
|
|
29
30
|
},
|
|
30
31
|
{
|
|
@@ -33,6 +34,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
33
34
|
width: "80",
|
|
34
35
|
isColumn: !0,
|
|
35
36
|
slotName: "gender",
|
|
37
|
+
sortable: "custom",
|
|
36
38
|
columnType: "slot"
|
|
37
39
|
},
|
|
38
40
|
{
|
|
@@ -41,6 +43,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
41
43
|
width: "120",
|
|
42
44
|
isColumn: !0,
|
|
43
45
|
slotName: "mobilePhone",
|
|
46
|
+
sortable: "custom",
|
|
44
47
|
columnType: "slot"
|
|
45
48
|
},
|
|
46
49
|
{
|
|
@@ -48,6 +51,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
48
51
|
prop: "email",
|
|
49
52
|
isColumn: !0,
|
|
50
53
|
slotName: "email",
|
|
54
|
+
sortable: "custom",
|
|
51
55
|
columnType: "slot"
|
|
52
56
|
},
|
|
53
57
|
{
|
|
@@ -56,6 +60,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
56
60
|
width: "120",
|
|
57
61
|
isColumn: !0,
|
|
58
62
|
slotName: "engineerType",
|
|
63
|
+
sortable: "custom",
|
|
59
64
|
columnType: "slot"
|
|
60
65
|
},
|
|
61
66
|
{
|
|
@@ -63,6 +68,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
63
68
|
prop: "engineerCertificate",
|
|
64
69
|
width: "130",
|
|
65
70
|
isColumn: !0,
|
|
71
|
+
sortable: "custom",
|
|
66
72
|
slotName: "engineerCertificate",
|
|
67
73
|
columnType: "slot"
|
|
68
74
|
},
|
|
@@ -71,14 +77,16 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
71
77
|
prop: "engineerJobMode",
|
|
72
78
|
width: "120",
|
|
73
79
|
isColumn: !0,
|
|
80
|
+
sortable: "custom",
|
|
74
81
|
slotName: "engineerJobMode",
|
|
75
82
|
columnType: "slot"
|
|
76
83
|
},
|
|
77
84
|
{
|
|
78
85
|
label: "sysUserOps.jobStatus",
|
|
79
86
|
prop: "jobStatus",
|
|
80
|
-
width: "
|
|
87
|
+
width: "110",
|
|
81
88
|
isColumn: !0,
|
|
89
|
+
sortable: "custom",
|
|
82
90
|
slotName: "jobStatus",
|
|
83
91
|
columnType: "slot"
|
|
84
92
|
},
|
|
@@ -94,58 +102,58 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
94
102
|
function M(o) {
|
|
95
103
|
o.showEncrypt = !o.showEncrypt;
|
|
96
104
|
}
|
|
97
|
-
const
|
|
98
|
-
title:
|
|
105
|
+
const c = V({
|
|
106
|
+
title: _("common.edit"),
|
|
99
107
|
visible: !1
|
|
100
108
|
});
|
|
101
109
|
let j = J({});
|
|
102
|
-
function
|
|
103
|
-
j = J({}),
|
|
104
|
-
}
|
|
105
|
-
function H(o) {
|
|
106
|
-
j.userId = o.userId, b.value.title = w("common.edit"), b.value.visible = !0;
|
|
110
|
+
function H() {
|
|
111
|
+
j = J({}), c.value.title = _("common.add"), c.value.visible = !0;
|
|
107
112
|
}
|
|
108
113
|
function G(o) {
|
|
109
|
-
|
|
114
|
+
j.userId = o.userId, c.value.title = _("common.edit"), c.value.visible = !0;
|
|
115
|
+
}
|
|
116
|
+
function W(o) {
|
|
117
|
+
L.push({
|
|
110
118
|
path: "/rawitsmsys/itsm-sys-user-ops/userOpsInfo",
|
|
111
119
|
query: { userId: o.userId }
|
|
112
120
|
});
|
|
113
121
|
}
|
|
114
122
|
const C = V(!1);
|
|
115
|
-
function
|
|
123
|
+
function X() {
|
|
116
124
|
C.value = !1;
|
|
117
125
|
}
|
|
118
|
-
function
|
|
119
|
-
|
|
126
|
+
function Y(o) {
|
|
127
|
+
z.downloadTemplate().then((t) => {
|
|
120
128
|
const D = new Blob([t.data], {
|
|
121
129
|
type: "application/octet-stream"
|
|
122
130
|
});
|
|
123
|
-
|
|
131
|
+
ce.saveAs(D, o + ".xlsx");
|
|
124
132
|
});
|
|
125
133
|
}
|
|
126
|
-
function
|
|
134
|
+
function Z(o) {
|
|
127
135
|
o.updateMask = "", o.userType = O.userType.companyOps, i.importExcel(o).then(() => {
|
|
128
136
|
C.value = !1;
|
|
129
137
|
});
|
|
130
138
|
}
|
|
131
|
-
function
|
|
139
|
+
function ee(o) {
|
|
132
140
|
i.selectionRows.value = o;
|
|
133
141
|
}
|
|
134
|
-
function
|
|
142
|
+
function te(o) {
|
|
135
143
|
i.handleSort(o.prop, o.order);
|
|
136
144
|
}
|
|
137
|
-
function
|
|
145
|
+
function oe(o) {
|
|
138
146
|
o && i.getList();
|
|
139
147
|
}
|
|
140
|
-
return
|
|
148
|
+
return me(() => {
|
|
141
149
|
i.getList();
|
|
142
150
|
}), (o, t) => {
|
|
143
|
-
const D =
|
|
144
|
-
return
|
|
145
|
-
|
|
146
|
-
a(
|
|
151
|
+
const D = m("el-input"), h = m("el-form-item"), g = m("el-col"), N = m("jmash-select"), k = m("el-button"), P = m("el-row"), le = m("el-form"), ne = m("jmash-column-select"), R = m("el-tag"), I = m("svg-icon"), ae = m("jmash-table"), se = m("jmash-pagination"), re = m("el-card"), v = q("hasPerm"), ie = q("loading");
|
|
152
|
+
return u(), $("div", ge, [
|
|
153
|
+
f("div", ve, [
|
|
154
|
+
a(le, {
|
|
147
155
|
ref_key: "queryFormRef",
|
|
148
|
-
ref:
|
|
156
|
+
ref: A,
|
|
149
157
|
model: r.value,
|
|
150
158
|
inline: !0
|
|
151
159
|
}, {
|
|
@@ -163,7 +171,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
163
171
|
modelValue: r.value.loginName,
|
|
164
172
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.loginName = e),
|
|
165
173
|
placeholder: o.$t("sysUserOps.loginNameRequired"),
|
|
166
|
-
onKeyup: t[1] || (t[1] =
|
|
174
|
+
onKeyup: t[1] || (t[1] = S((e) => n(i).handleQuery(), ["enter"])),
|
|
167
175
|
class: "!w-[203px]"
|
|
168
176
|
}, null, 8, ["modelValue", "placeholder"])
|
|
169
177
|
]),
|
|
@@ -183,8 +191,8 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
183
191
|
modelValue: r.value.engineerType,
|
|
184
192
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.engineerType = e),
|
|
185
193
|
placeholder: o.$t("sysUserOps.engineerTypeRequired"),
|
|
186
|
-
data: n(
|
|
187
|
-
onKeyup: t[3] || (t[3] =
|
|
194
|
+
data: n(b).engineerTypeDictEnum.values,
|
|
195
|
+
onKeyup: t[3] || (t[3] = S((e) => n(i).handleQuery(), ["enter"])),
|
|
188
196
|
clearable: ""
|
|
189
197
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
190
198
|
]),
|
|
@@ -204,8 +212,8 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
204
212
|
modelValue: r.value.engineerJobMode,
|
|
205
213
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.engineerJobMode = e),
|
|
206
214
|
placeholder: o.$t("sysUserOps.engineerJobModeRequired"),
|
|
207
|
-
data: n(
|
|
208
|
-
onKeyup: t[5] || (t[5] =
|
|
215
|
+
data: n(b).engineerJobModeDictEnum.values,
|
|
216
|
+
onKeyup: t[5] || (t[5] = S((e) => n(i).handleQuery(), ["enter"])),
|
|
209
217
|
clearable: ""
|
|
210
218
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
211
219
|
]),
|
|
@@ -225,8 +233,8 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
225
233
|
modelValue: r.value.jobStatus,
|
|
226
234
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.jobStatus = e),
|
|
227
235
|
placeholder: o.$t("sysUserOps.jobStatusRequired"),
|
|
228
|
-
data: n(
|
|
229
|
-
onKeyup: t[7] || (t[7] =
|
|
236
|
+
data: n(b).jobStatusDictEnum.values,
|
|
237
|
+
onKeyup: t[7] || (t[7] = S((e) => n(i).handleQuery(), ["enter"])),
|
|
230
238
|
clearable: ""
|
|
231
239
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
232
240
|
]),
|
|
@@ -244,7 +252,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
244
252
|
onClick: t[8] || (t[8] = (e) => n(i).handleQuery())
|
|
245
253
|
}, {
|
|
246
254
|
default: l(() => [
|
|
247
|
-
|
|
255
|
+
d(s(o.$t("common.search")), 1)
|
|
248
256
|
]),
|
|
249
257
|
_: 1
|
|
250
258
|
}),
|
|
@@ -252,7 +260,7 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
252
260
|
onClick: t[9] || (t[9] = (e) => n(i).resetQuery())
|
|
253
261
|
}, {
|
|
254
262
|
default: l(() => [
|
|
255
|
-
|
|
263
|
+
d(s(o.$t("common.reset")), 1)
|
|
256
264
|
]),
|
|
257
265
|
_: 1
|
|
258
266
|
})
|
|
@@ -267,10 +275,9 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
267
275
|
})
|
|
268
276
|
]),
|
|
269
277
|
_: 1
|
|
270
|
-
}, 8, ["model"])
|
|
271
|
-
t[19] || (t[19] = m("div", { class: "clear" }, null, -1))
|
|
278
|
+
}, 8, ["model"])
|
|
272
279
|
]),
|
|
273
|
-
a(
|
|
280
|
+
a(re, {
|
|
274
281
|
shadow: "never",
|
|
275
282
|
class: "table-container"
|
|
276
283
|
}, {
|
|
@@ -279,23 +286,23 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
279
286
|
default: l(() => [
|
|
280
287
|
a(g, { span: 17 }, {
|
|
281
288
|
default: l(() => [
|
|
282
|
-
|
|
289
|
+
y((u(), p(k, {
|
|
283
290
|
type: "primary",
|
|
284
|
-
onClick:
|
|
291
|
+
onClick: H
|
|
285
292
|
}, {
|
|
286
293
|
default: l(() => [
|
|
287
|
-
|
|
294
|
+
d(s(o.$t("common.add")), 1)
|
|
288
295
|
]),
|
|
289
296
|
_: 1
|
|
290
297
|
})), [
|
|
291
298
|
[v, ["itsmsys:sys_user_ext_ops:add"]]
|
|
292
299
|
]),
|
|
293
|
-
|
|
300
|
+
y((u(), p(k, {
|
|
294
301
|
type: "primary",
|
|
295
302
|
onClick: t[10] || (t[10] = (e) => n(i).deleteRecords())
|
|
296
303
|
}, {
|
|
297
304
|
default: l(() => [
|
|
298
|
-
|
|
305
|
+
d(s(o.$t("common.batchDelete")), 1)
|
|
299
306
|
]),
|
|
300
307
|
_: 1
|
|
301
308
|
})), [
|
|
@@ -309,21 +316,21 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
309
316
|
class: "container-float"
|
|
310
317
|
}, {
|
|
311
318
|
default: l(() => [
|
|
312
|
-
|
|
319
|
+
y((u(), p(k, {
|
|
313
320
|
plain: "",
|
|
314
321
|
type: "primary",
|
|
315
322
|
onClick: t[11] || (t[11] = (e) => C.value = !0)
|
|
316
323
|
}, {
|
|
317
324
|
default: l(() => [
|
|
318
|
-
|
|
325
|
+
d(s(o.$t("common.import")), 1)
|
|
319
326
|
]),
|
|
320
327
|
_: 1
|
|
321
328
|
})), [
|
|
322
329
|
[v, ["itsmsys:sys_user_ext_ops:import"]]
|
|
323
330
|
]),
|
|
324
|
-
a(
|
|
325
|
-
modelValue: n(
|
|
326
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
|
331
|
+
a(ne, {
|
|
332
|
+
modelValue: n(w),
|
|
333
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => Q(w) ? w.value = e : w = e),
|
|
327
334
|
"label-name": "itsmsys/itsm-sys-user-ext"
|
|
328
335
|
}, null, 8, ["modelValue"])
|
|
329
336
|
]),
|
|
@@ -334,139 +341,140 @@ const fe = { class: "app-container" }, ge = { class: "search-container" }, ve =
|
|
|
334
341
|
})
|
|
335
342
|
]),
|
|
336
343
|
footer: l(() => [
|
|
337
|
-
n(T) > 0 ? (
|
|
344
|
+
n(T) > 0 ? (u(), p(se, {
|
|
338
345
|
key: 0,
|
|
339
346
|
total: n(T),
|
|
340
|
-
"onUpdate:total": t[13] || (t[13] = (e) =>
|
|
347
|
+
"onUpdate:total": t[13] || (t[13] = (e) => Q(T) ? T.value = e : null),
|
|
341
348
|
"current-page": r.value.curPage,
|
|
342
349
|
"onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
|
|
343
350
|
"page-size": r.value.pageSize,
|
|
344
351
|
"onUpdate:pageSize": t[15] || (t[15] = (e) => r.value.pageSize = e),
|
|
345
352
|
onPagination: t[16] || (t[16] = (e) => n(i).getList())
|
|
346
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
353
|
+
}, null, 8, ["total", "current-page", "page-size"])) : E("", !0)
|
|
347
354
|
]),
|
|
348
355
|
default: l(() => [
|
|
349
|
-
|
|
356
|
+
y((u(), p(ae, {
|
|
350
357
|
ref_key: "multipleTableRef",
|
|
351
|
-
ref:
|
|
358
|
+
ref: x,
|
|
352
359
|
"row-key": "userId",
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
onSortChange: ee
|
|
360
|
+
data: n(F),
|
|
361
|
+
"table-label": n(w),
|
|
362
|
+
onSelectionChange: ee,
|
|
363
|
+
onSortChange: te
|
|
358
364
|
}, {
|
|
359
365
|
gender: l((e) => [
|
|
360
|
-
|
|
366
|
+
f("span", null, s(n(b).genderDict.getEnumValue(e.data.row.gender)), 1)
|
|
361
367
|
]),
|
|
362
368
|
mobilePhone: l((e) => [
|
|
363
|
-
|
|
369
|
+
f("span", null, s(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
|
|
364
370
|
]),
|
|
365
371
|
email: l((e) => [
|
|
366
|
-
|
|
372
|
+
f("span", null, s(e.data.row.showEncrypt ? e.data.row.email : e.data.row.emailIns), 1)
|
|
367
373
|
]),
|
|
368
374
|
jobStatus: l((e) => [
|
|
369
|
-
|
|
370
|
-
e.data.row.jobStatus === n(O).jobStatus.working ? (
|
|
375
|
+
f("span", null, [
|
|
376
|
+
e.data.row.jobStatus === n(O).jobStatus.working ? (u(), p(R, {
|
|
371
377
|
key: 0,
|
|
372
378
|
type: "primary"
|
|
373
379
|
}, {
|
|
374
380
|
default: l(() => [
|
|
375
|
-
|
|
381
|
+
d(s(n(b).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
376
382
|
]),
|
|
377
383
|
_: 2
|
|
378
|
-
}, 1024)) : (
|
|
384
|
+
}, 1024)) : (u(), p(R, {
|
|
379
385
|
key: 1,
|
|
380
386
|
type: "danger"
|
|
381
387
|
}, {
|
|
382
388
|
default: l(() => [
|
|
383
|
-
|
|
389
|
+
d(s(n(b).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
384
390
|
]),
|
|
385
391
|
_: 2
|
|
386
392
|
}, 1024))
|
|
387
393
|
])
|
|
388
394
|
]),
|
|
389
395
|
engineerType: l((e) => [
|
|
390
|
-
|
|
396
|
+
f("span", null, s(n(b).engineerTypeDictEnum.getEnumValue(
|
|
391
397
|
e.data.row.engineerType
|
|
392
398
|
)), 1)
|
|
393
399
|
]),
|
|
394
400
|
engineerCertificate: l((e) => [
|
|
395
|
-
|
|
401
|
+
f("span", null, s(n(b).engineerCertificateDict.getDictValue(
|
|
396
402
|
e.data.row.engineerCertificate
|
|
397
403
|
)), 1)
|
|
398
404
|
]),
|
|
399
405
|
engineerJobMode: l((e) => [
|
|
400
|
-
|
|
406
|
+
f("span", null, s(n(b).engineerJobModeDictEnum.getEnumValue(
|
|
401
407
|
e.data.row.engineerJobMode
|
|
402
408
|
)), 1)
|
|
403
409
|
]),
|
|
404
410
|
operation: l((e) => [
|
|
405
|
-
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (
|
|
406
|
-
|
|
411
|
+
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (u(), $("span", _e, [
|
|
412
|
+
y(a(I, {
|
|
407
413
|
"icon-class": "close-eye",
|
|
408
414
|
onClick: (U) => M(e.data.row)
|
|
409
415
|
}, null, 8, ["onClick"]), [
|
|
410
416
|
[K, !e.data.row.showEncrypt]
|
|
411
417
|
]),
|
|
412
|
-
|
|
418
|
+
y(a(I, {
|
|
413
419
|
"icon-class": "eye-open",
|
|
414
420
|
onClick: (U) => M(e.data.row)
|
|
415
421
|
}, null, 8, ["onClick"]), [
|
|
416
422
|
[K, e.data.row.showEncrypt]
|
|
417
423
|
])
|
|
418
|
-
])) :
|
|
419
|
-
|
|
420
|
-
class: "el-button-color
|
|
421
|
-
onClick: (U) =>
|
|
424
|
+
])) : E("", !0),
|
|
425
|
+
y((u(), $("span", {
|
|
426
|
+
class: "el-button-color",
|
|
427
|
+
onClick: (U) => G(e.data.row)
|
|
422
428
|
}, [
|
|
423
|
-
|
|
429
|
+
d(s(o.$t("common.edit")), 1)
|
|
424
430
|
], 8, we)), [
|
|
425
431
|
[v, ["itsmsys:sys_user_ext_ops:update"]]
|
|
426
432
|
]),
|
|
427
|
-
|
|
428
|
-
class: "el-button-color
|
|
433
|
+
y((u(), $("span", {
|
|
434
|
+
class: "el-button-color",
|
|
429
435
|
onClick: (U) => n(i).deleteRecord(e.data.row)
|
|
430
436
|
}, [
|
|
431
|
-
|
|
432
|
-
], 8,
|
|
437
|
+
d(s(o.$t("common.delete")), 1)
|
|
438
|
+
], 8, Ce)), [
|
|
433
439
|
[v, ["itsmsys:sys_user_ext_ops:delete"]]
|
|
434
440
|
]),
|
|
435
|
-
|
|
436
|
-
class: "el-button-color
|
|
437
|
-
onClick: (U) =>
|
|
441
|
+
y((u(), $("span", {
|
|
442
|
+
class: "el-button-color",
|
|
443
|
+
onClick: (U) => W(e.data.row)
|
|
438
444
|
}, [
|
|
439
|
-
|
|
440
|
-
], 8,
|
|
445
|
+
d(s(o.$t("common.view")), 1)
|
|
446
|
+
], 8, he)), [
|
|
441
447
|
[v, ["itsmsys:sys_user_ext_ops:view"]]
|
|
442
448
|
])
|
|
443
449
|
]),
|
|
444
450
|
_: 1
|
|
445
|
-
}, 8, ["
|
|
451
|
+
}, 8, ["data", "table-label"])), [
|
|
452
|
+
[ie, n(B)]
|
|
453
|
+
])
|
|
446
454
|
]),
|
|
447
455
|
_: 1
|
|
448
456
|
}),
|
|
449
|
-
|
|
457
|
+
c.value.visible ? (u(), p(be, {
|
|
450
458
|
key: 0,
|
|
451
|
-
modelValue:
|
|
452
|
-
"onUpdate:modelValue": t[17] || (t[17] = (e) =>
|
|
453
|
-
title:
|
|
459
|
+
modelValue: c.value.visible,
|
|
460
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => c.value.visible = e),
|
|
461
|
+
title: c.value.title,
|
|
454
462
|
"entity-key": n(j),
|
|
455
|
-
onRefresh:
|
|
463
|
+
onRefresh: oe,
|
|
456
464
|
width: "900px"
|
|
457
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
458
|
-
C.value ? (
|
|
465
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : E("", !0),
|
|
466
|
+
C.value ? (u(), p(fe, {
|
|
459
467
|
key: 1,
|
|
460
468
|
"upload-visible": C.value,
|
|
461
469
|
"template-title": o.$t("sysUser.templateDownload"),
|
|
462
|
-
onTemplateDown: t[18] || (t[18] = (e) =>
|
|
463
|
-
onImportEvents:
|
|
464
|
-
onUploadClosed:
|
|
465
|
-
}, null, 8, ["upload-visible", "template-title"])) :
|
|
470
|
+
onTemplateDown: t[18] || (t[18] = (e) => Y(n(_)("sysUserOps.name"))),
|
|
471
|
+
onImportEvents: Z,
|
|
472
|
+
onUploadClosed: X
|
|
473
|
+
}, null, 8, ["upload-visible", "template-title"])) : E("", !0)
|
|
466
474
|
]);
|
|
467
475
|
};
|
|
468
476
|
}
|
|
469
477
|
});
|
|
470
478
|
export {
|
|
471
|
-
|
|
479
|
+
Oe as default
|
|
472
480
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
2
|
-
/*! Element Plus Icons Vue v2.3.
|
|
3
|
-
var
|
|
1
|
+
import { defineComponent as e, createElementBlock as a, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
/*! Element Plus Icons Vue v2.3.2 */
|
|
3
|
+
var o = /* @__PURE__ */ e({
|
|
4
4
|
name: "Search",
|
|
5
5
|
__name: "search",
|
|
6
|
-
setup(
|
|
7
|
-
return (
|
|
6
|
+
setup(c) {
|
|
7
|
+
return (n, m) => (r(), a("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
viewBox: "0 0 1024 1024"
|
|
10
10
|
}, [
|
|
11
|
-
|
|
11
|
+
t("path", {
|
|
12
12
|
fill: "currentColor",
|
|
13
13
|
d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
|
|
14
14
|
})
|
|
15
15
|
]));
|
|
16
16
|
}
|
|
17
|
-
}),
|
|
17
|
+
}), l = o;
|
|
18
18
|
export {
|
|
19
|
-
s
|
|
19
|
+
l as s
|
|
20
20
|
};
|