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