xyvcard-itsmsys 0.0.10 → 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.
- package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
- package/dist/{edit-DG_Iw1-J.mjs → edit-BSgQ7aTw.mjs} +1 -1
- package/dist/{edit-DdUUCXSa.mjs → edit-BSllWdRO.mjs} +1 -1
- package/dist/{edit-RSO388mB.mjs → edit-C-Ddf0UV.mjs} +115 -115
- package/dist/{edit-BNe0hNw4.mjs → edit-CNw8JPUb.mjs} +108 -108
- package/dist/{edit-BqPZHwxi.mjs → edit-Cd4dWFsH.mjs} +1 -1
- package/dist/{edit-CyM6IuLb.mjs → edit-aqBMKpoJ.mjs} +118 -118
- package/dist/{edit-CwV1OVfe.mjs → edit-q5TFAMBm.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-BA39WCu3.mjs +463 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BJcLgzvH.mjs +463 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BV_YHrlE.mjs +482 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs → edit.vue_vue_type_script_setup_true_lang-D1lAHFeM.mjs} +79 -56
- package/dist/import-upload-BIT504-g.mjs +4 -0
- package/dist/import-upload-pZG8yku3.mjs +4 -0
- package/dist/import-upload.vue_vue_type_script_setup_true_lang-pjSs3v9e.mjs +162 -0
- package/dist/import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs +162 -0
- package/dist/index-B2xwBTw-.mjs +20 -0
- package/dist/{index-NugT80P7.mjs → index-BY5Djw_C.mjs} +7 -7
- package/dist/{index-CI8Z4rNf.mjs → index-BaixQptZ.mjs} +7 -7
- package/dist/index-CoMhbtrg.mjs +449 -0
- package/dist/{index-DirPUdCN.mjs → index-Cz9Xj4Mn.mjs} +1 -1
- package/dist/{index-CNGaGeE7.mjs → index-DPz8be3T.mjs} +32 -32
- package/dist/index-Dno_3GpX.mjs +145 -0
- package/dist/{index-CMBtB1kH.mjs → index-DrBtW9Aj.mjs} +185 -134
- package/dist/{index-DxILUznW.mjs → index-LOMCvxtf.mjs} +1 -1
- package/dist/index.mjs +654 -623
- package/dist/{index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs → index.vue_vue_type_script_setup_true_lang-C67sXgs5.mjs} +41 -34
- package/dist/{info-BFZTqoY3.mjs → info-BUDmirQy.mjs} +1 -1
- package/dist/{info-DReeRuaA.mjs → info-BivxW-qV.mjs} +1 -1
- package/dist/{info-Dilg-bji.mjs → info-Bn-BseIm.mjs} +1 -1
- package/dist/{info-C0OHjgoS.mjs → info-C-ga_8K9.mjs} +11 -11
- package/dist/{info-DvYUiSRY.mjs → info-C3knY6l_.mjs} +58 -47
- package/dist/{info-CXx2899k.mjs → info-D0Pwnmsu.mjs} +71 -60
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +0 -6
- package/dts/api/index.d.ts +4 -2
- package/dts/api/itsm-sys-org/types.d.ts +0 -2
- package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -1
- package/dts/api/itsm-sys-user-ext/index.d.ts +3 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +15 -2
- package/dts/constant.d.ts +14 -0
- package/dts/index.d.ts +1 -1
- package/dts/lang/itsmsys/zh-cn.d.ts +22 -11
- 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 +4 -4
- package/dist/common-B2PCBCJ2.mjs +0 -13
- package/dist/edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs +0 -440
- package/dist/edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs +0 -438
- package/dist/edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs +0 -440
- package/dist/index-BRupqW34.mjs +0 -96
- package/dist/index-CQ5Bo5a2.mjs +0 -135
- package/dist/index-w2SWNZRB.mjs +0 -397
|
@@ -2,7 +2,7 @@ import { defineComponent as ee, ref as D, resolveComponent as s, resolveDirectiv
|
|
|
2
2
|
import { useTableHooks as ne } from "jmash-core";
|
|
3
3
|
import { ElMessageBox as I, ElMessage as T } from "element-plus";
|
|
4
4
|
import { useI18n as le } from "vue-i18n";
|
|
5
|
-
import { C as se, D as ae } from "./index-
|
|
5
|
+
import { C as se, D as ae } from "./index-Dno_3GpX.mjs";
|
|
6
6
|
import { sysOrgApi as w } from "./index.mjs";
|
|
7
7
|
import { useRouter as re } from "vue-router";
|
|
8
8
|
const me = { class: "app-container" }, ie = { class: "search-container" }, ce = ["onClick"], de = ["onClick"], ue = ["onClick"], we = /* @__PURE__ */ ee({
|
|
@@ -245,7 +245,7 @@ const me = { class: "app-container" }, ie = { class: "search-container" }, ce =
|
|
|
245
245
|
]),
|
|
246
246
|
_: 1
|
|
247
247
|
})), [
|
|
248
|
-
[_, ["itsmsys:
|
|
248
|
+
[_, ["itsmsys:sys_org:add"]]
|
|
249
249
|
]),
|
|
250
250
|
b((p(), R(v, {
|
|
251
251
|
type: "primary",
|
|
@@ -256,7 +256,7 @@ const me = { class: "app-container" }, ie = { class: "search-container" }, ce =
|
|
|
256
256
|
]),
|
|
257
257
|
_: 1
|
|
258
258
|
})), [
|
|
259
|
-
[_, ["itsmsys:
|
|
259
|
+
[_, ["itsmsys:sys_org:delete"]]
|
|
260
260
|
])
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
@@ -269,7 +269,7 @@ const me = { class: "app-container" }, ie = { class: "search-container" }, ce =
|
|
|
269
269
|
n(Q, {
|
|
270
270
|
modelValue: m(y),
|
|
271
271
|
"onUpdate:modelValue": t[7] || (t[7] = (e) => te(y) ? y.value = e : y = e),
|
|
272
|
-
"label-name": "itsmsys/itsm-sys-
|
|
272
|
+
"label-name": "itsmsys/itsm-sys-org"
|
|
273
273
|
}, null, 8, ["modelValue"])
|
|
274
274
|
]),
|
|
275
275
|
_: 1
|
|
@@ -331,7 +331,7 @@ const me = { class: "app-container" }, ie = { class: "search-container" }, ce =
|
|
|
331
331
|
}, [
|
|
332
332
|
c(d(o.$t("common.edit")), 1)
|
|
333
333
|
], 8, ce)), [
|
|
334
|
-
[_, ["itsmsys:
|
|
334
|
+
[_, ["itsmsys:sys_org:update"]]
|
|
335
335
|
]),
|
|
336
336
|
b((p(), g("span", {
|
|
337
337
|
class: "el-button-color dropdown-left",
|
|
@@ -339,7 +339,7 @@ const me = { class: "app-container" }, ie = { class: "search-container" }, ce =
|
|
|
339
339
|
}, [
|
|
340
340
|
c(d(o.$t("common.delete")), 1)
|
|
341
341
|
], 8, de)), [
|
|
342
|
-
[_, ["itsmsys:
|
|
342
|
+
[_, ["itsmsys:sys_org:delete"]]
|
|
343
343
|
]),
|
|
344
344
|
b((p(), g("span", {
|
|
345
345
|
class: "el-button-color dropdown-left",
|
|
@@ -347,7 +347,7 @@ const me = { class: "app-container" }, ie = { class: "search-container" }, ce =
|
|
|
347
347
|
}, [
|
|
348
348
|
c(d(o.$t("common.view")), 1)
|
|
349
349
|
], 8, ue)), [
|
|
350
|
-
[_, ["itsmsys:
|
|
350
|
+
[_, ["itsmsys:sys_org:view"]]
|
|
351
351
|
])
|
|
352
352
|
]),
|
|
353
353
|
_: 1
|
|
@@ -2,7 +2,7 @@ import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective
|
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { useRouter as x } from "vue-router";
|
|
5
|
-
import { C as ee, D as te } from "./index-
|
|
5
|
+
import { C as ee, D as te } from "./index-Dno_3GpX.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__ */ J({
|
|
8
8
|
__name: "index",
|
|
@@ -199,7 +199,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
|
201
201
|
})), [
|
|
202
|
-
[b, ["itsmsys:
|
|
202
|
+
[b, ["itsmsys:sys_org:add"]]
|
|
203
203
|
]),
|
|
204
204
|
f((i(), C(g, {
|
|
205
205
|
type: "primary",
|
|
@@ -210,7 +210,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
})), [
|
|
213
|
-
[b, ["itsmsys:
|
|
213
|
+
[b, ["itsmsys:sys_org:delete"]]
|
|
214
214
|
])
|
|
215
215
|
]),
|
|
216
216
|
_: 1
|
|
@@ -223,7 +223,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
223
223
|
n(Q, {
|
|
224
224
|
modelValue: a(c),
|
|
225
225
|
"onUpdate:modelValue": t[7] || (t[7] = (e) => N(c) ? c.value = e : c = e),
|
|
226
|
-
"label-name": "itsmsys/itsm-sys-
|
|
226
|
+
"label-name": "itsmsys/itsm-sys-org"
|
|
227
227
|
}, null, 8, ["modelValue"])
|
|
228
228
|
]),
|
|
229
229
|
_: 1
|
|
@@ -277,7 +277,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
277
277
|
}, [
|
|
278
278
|
m(d(o.$t("common.edit")), 1)
|
|
279
279
|
], 8, ae)), [
|
|
280
|
-
[b, ["itsmsys:
|
|
280
|
+
[b, ["itsmsys:sys_org:update"]]
|
|
281
281
|
]),
|
|
282
282
|
f((i(), h("span", {
|
|
283
283
|
class: "el-button-color dropdown-left",
|
|
@@ -285,7 +285,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
285
285
|
}, [
|
|
286
286
|
m(d(o.$t("common.delete")), 1)
|
|
287
287
|
], 8, se)), [
|
|
288
|
-
[b, ["itsmsys:
|
|
288
|
+
[b, ["itsmsys:sys_org:delete"]]
|
|
289
289
|
]),
|
|
290
290
|
f((i(), h("span", {
|
|
291
291
|
class: "el-button-color dropdown-left",
|
|
@@ -293,7 +293,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
293
293
|
}, [
|
|
294
294
|
m(d(o.$t("common.view")), 1)
|
|
295
295
|
], 8, re)), [
|
|
296
|
-
[b, ["itsmsys:
|
|
296
|
+
[b, ["itsmsys:sys_org:view"]]
|
|
297
297
|
])
|
|
298
298
|
]),
|
|
299
299
|
_: 1
|
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import { defineComponent as re, ref as E, reactive as R, resolveComponent as i, resolveDirective as ie, openBlock as u, createElementBlock as k, createElementVNode as p, createVNode as a, withCtx as l, withKeys as D, unref as n, createTextVNode as m, toDisplayString as s, withDirectives as c, createBlock as b, isRef as J, createCommentVNode as V, 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 me } from "vue-router";
|
|
5
|
+
import { C as x, D as f } 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-BJcLgzvH.mjs";
|
|
8
|
+
import { F as ye } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
+
import { _ as ce } from "./import-upload.vue_vue_type_script_setup_true_lang-tjMLoB_W.mjs";
|
|
10
|
+
const be = { class: "app-container" }, fe = { class: "search-container" }, ve = { key: 0 }, ge = ["onClick"], we = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ re({
|
|
11
|
+
__name: "index",
|
|
12
|
+
setup(Ce) {
|
|
13
|
+
const { t: w } = de(), K = me(), d = E({
|
|
14
|
+
userType: x.userType.companyOps
|
|
15
|
+
}), {
|
|
16
|
+
tableHooks: r,
|
|
17
|
+
multipleTableRef: L,
|
|
18
|
+
queryFormRef: Q,
|
|
19
|
+
listLoading: B,
|
|
20
|
+
tableData: F,
|
|
21
|
+
total: $
|
|
22
|
+
} = ue(w, z, d);
|
|
23
|
+
let _ = E([
|
|
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 N(o) {
|
|
95
|
+
o.showEncrypt = !o.showEncrypt;
|
|
96
|
+
}
|
|
97
|
+
const y = E({
|
|
98
|
+
title: w("common.edit"),
|
|
99
|
+
visible: !1
|
|
100
|
+
});
|
|
101
|
+
let j = R({});
|
|
102
|
+
function A() {
|
|
103
|
+
j = R({}), y.value.title = w("common.add"), y.value.visible = !0;
|
|
104
|
+
}
|
|
105
|
+
function H(o) {
|
|
106
|
+
j.userId = o.userId, y.value.title = w("common.edit"), y.value.visible = !0;
|
|
107
|
+
}
|
|
108
|
+
function G(o) {
|
|
109
|
+
K.push({
|
|
110
|
+
path: "/rawitsmsys/itsm-sys-user-ops/userOpsInfo",
|
|
111
|
+
query: { userId: o.userId }
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
const C = E(!1);
|
|
115
|
+
function W() {
|
|
116
|
+
C.value = !1;
|
|
117
|
+
}
|
|
118
|
+
function X(o) {
|
|
119
|
+
z.downloadTemplate().then((t) => {
|
|
120
|
+
const T = new Blob([t.data], {
|
|
121
|
+
type: "application/octet-stream"
|
|
122
|
+
});
|
|
123
|
+
ye.saveAs(T, o + ".xlsx");
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
function Y(o) {
|
|
127
|
+
o.updateMask = "", r.importExcel(o).then(() => {
|
|
128
|
+
C.value = !1;
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function Z(o) {
|
|
132
|
+
r.selectionRows.value = o;
|
|
133
|
+
}
|
|
134
|
+
function ee(o) {
|
|
135
|
+
r.handleSort(o.prop, o.order);
|
|
136
|
+
}
|
|
137
|
+
function te(o) {
|
|
138
|
+
o && r.getList();
|
|
139
|
+
}
|
|
140
|
+
return r.getList(), (o, t) => {
|
|
141
|
+
const T = i("el-input"), U = i("el-form-item"), v = i("el-col"), O = i("jmash-select"), h = i("el-button"), M = i("el-row"), oe = i("el-form"), le = i("jmash-column-select"), P = i("el-tag"), I = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), g = ie("hasPerm");
|
|
142
|
+
return u(), k("div", be, [
|
|
143
|
+
p("div", fe, [
|
|
144
|
+
a(oe, {
|
|
145
|
+
ref_key: "queryFormRef",
|
|
146
|
+
ref: Q,
|
|
147
|
+
model: d.value,
|
|
148
|
+
inline: !0
|
|
149
|
+
}, {
|
|
150
|
+
default: l(() => [
|
|
151
|
+
a(M, null, {
|
|
152
|
+
default: l(() => [
|
|
153
|
+
a(v, { span: 6 }, {
|
|
154
|
+
default: l(() => [
|
|
155
|
+
a(U, {
|
|
156
|
+
label: o.$t("sysUserOps.realName"),
|
|
157
|
+
prop: "likeUserName"
|
|
158
|
+
}, {
|
|
159
|
+
default: l(() => [
|
|
160
|
+
a(T, {
|
|
161
|
+
modelValue: d.value.likeUserName,
|
|
162
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.likeUserName = e),
|
|
163
|
+
placeholder: o.$t("sysUserOps.realNameRequired"),
|
|
164
|
+
onKeyup: t[1] || (t[1] = D((e) => n(r).handleQuery(), ["enter"])),
|
|
165
|
+
class: "!w-[203px]"
|
|
166
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}, 8, ["label"])
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}),
|
|
173
|
+
a(v, { span: 6 }, {
|
|
174
|
+
default: l(() => [
|
|
175
|
+
a(U, {
|
|
176
|
+
label: o.$t("sysUserOps.engineeJobMode"),
|
|
177
|
+
prop: "engineeJobMode"
|
|
178
|
+
}, {
|
|
179
|
+
default: l(() => [
|
|
180
|
+
a(O, {
|
|
181
|
+
modelValue: d.value.engineeJobMode,
|
|
182
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.engineeJobMode = e),
|
|
183
|
+
placeholder: o.$t("sysUserOps.engineeJobModeRequired"),
|
|
184
|
+
data: n(f).engineeJobModeDictEnum.values,
|
|
185
|
+
onKeyup: t[3] || (t[3] = D((e) => n(r).handleQuery(), ["enter"])),
|
|
186
|
+
clearable: ""
|
|
187
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 8, ["label"])
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}),
|
|
194
|
+
a(v, { span: 6 }, {
|
|
195
|
+
default: l(() => [
|
|
196
|
+
a(U, {
|
|
197
|
+
label: o.$t("sysUserOps.jobStatus"),
|
|
198
|
+
prop: "jobStatus"
|
|
199
|
+
}, {
|
|
200
|
+
default: l(() => [
|
|
201
|
+
a(O, {
|
|
202
|
+
modelValue: d.value.jobStatus,
|
|
203
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.jobStatus = e),
|
|
204
|
+
placeholder: o.$t("sysUserOps.jobStatusRequired"),
|
|
205
|
+
data: n(f).jobStatusDictEnum.values,
|
|
206
|
+
onKeyup: t[5] || (t[5] = D((e) => n(r).handleQuery(), ["enter"])),
|
|
207
|
+
clearable: ""
|
|
208
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
209
|
+
]),
|
|
210
|
+
_: 1
|
|
211
|
+
}, 8, ["label"])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}),
|
|
215
|
+
a(v, { span: 6 }, {
|
|
216
|
+
default: l(() => [
|
|
217
|
+
a(U, { class: "search-btn" }, {
|
|
218
|
+
default: l(() => [
|
|
219
|
+
a(h, {
|
|
220
|
+
type: "primary",
|
|
221
|
+
onClick: t[6] || (t[6] = (e) => n(r).handleQuery())
|
|
222
|
+
}, {
|
|
223
|
+
default: l(() => [
|
|
224
|
+
m(s(o.$t("common.search")), 1)
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
a(h, {
|
|
229
|
+
onClick: t[7] || (t[7] = (e) => n(r).resetQuery())
|
|
230
|
+
}, {
|
|
231
|
+
default: l(() => [
|
|
232
|
+
m(s(o.$t("common.reset")), 1)
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
})
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
})
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
})
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["model"]),
|
|
248
|
+
t[17] || (t[17] = p("div", { class: "clear" }, null, -1))
|
|
249
|
+
]),
|
|
250
|
+
a(se, {
|
|
251
|
+
shadow: "never",
|
|
252
|
+
class: "table-container"
|
|
253
|
+
}, {
|
|
254
|
+
header: l(() => [
|
|
255
|
+
a(M, null, {
|
|
256
|
+
default: l(() => [
|
|
257
|
+
a(v, { span: 17 }, {
|
|
258
|
+
default: l(() => [
|
|
259
|
+
c((u(), b(h, {
|
|
260
|
+
type: "primary",
|
|
261
|
+
onClick: A
|
|
262
|
+
}, {
|
|
263
|
+
default: l(() => [
|
|
264
|
+
m(s(o.$t("common.add")), 1)
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
})), [
|
|
268
|
+
[g, ["itsmsys:sys_user_ext:add"]]
|
|
269
|
+
]),
|
|
270
|
+
c((u(), b(h, {
|
|
271
|
+
type: "primary",
|
|
272
|
+
onClick: t[8] || (t[8] = (e) => n(r).deleteRecords())
|
|
273
|
+
}, {
|
|
274
|
+
default: l(() => [
|
|
275
|
+
m(s(o.$t("common.batchDelete")), 1)
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
})), [
|
|
279
|
+
[g, ["itsmsys:sys_user_ext:delete"]]
|
|
280
|
+
])
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}),
|
|
284
|
+
a(v, {
|
|
285
|
+
span: 7,
|
|
286
|
+
class: "container-float"
|
|
287
|
+
}, {
|
|
288
|
+
default: l(() => [
|
|
289
|
+
c((u(), b(h, {
|
|
290
|
+
plain: "",
|
|
291
|
+
type: "primary",
|
|
292
|
+
onClick: t[9] || (t[9] = (e) => C.value = !0)
|
|
293
|
+
}, {
|
|
294
|
+
default: l(() => [
|
|
295
|
+
m(s(o.$t("common.import")), 1)
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
})), [
|
|
299
|
+
[g, ["itsmsys:sys_user_ext:import"]]
|
|
300
|
+
]),
|
|
301
|
+
a(le, {
|
|
302
|
+
modelValue: n(_),
|
|
303
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => J(_) ? _.value = e : _ = e),
|
|
304
|
+
"label-name": "itsmsys/itsm-sys-user-ext"
|
|
305
|
+
}, null, 8, ["modelValue"])
|
|
306
|
+
]),
|
|
307
|
+
_: 1
|
|
308
|
+
})
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
})
|
|
312
|
+
]),
|
|
313
|
+
footer: l(() => [
|
|
314
|
+
n($) > 0 ? (u(), b(ae, {
|
|
315
|
+
key: 0,
|
|
316
|
+
total: n($),
|
|
317
|
+
"onUpdate:total": t[11] || (t[11] = (e) => J($) ? $.value = e : null),
|
|
318
|
+
"current-page": d.value.curPage,
|
|
319
|
+
"onUpdate:currentPage": t[12] || (t[12] = (e) => d.value.curPage = e),
|
|
320
|
+
"page-size": d.value.pageSize,
|
|
321
|
+
"onUpdate:pageSize": t[13] || (t[13] = (e) => d.value.pageSize = e),
|
|
322
|
+
onPagination: t[14] || (t[14] = (e) => n(r).getList())
|
|
323
|
+
}, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
|
|
324
|
+
]),
|
|
325
|
+
default: l(() => [
|
|
326
|
+
a(ne, {
|
|
327
|
+
ref_key: "multipleTableRef",
|
|
328
|
+
ref: L,
|
|
329
|
+
"row-key": "userId",
|
|
330
|
+
"list-loading": n(B),
|
|
331
|
+
data: n(F),
|
|
332
|
+
"table-label": n(_),
|
|
333
|
+
onSelectionChange: Z,
|
|
334
|
+
onSortChange: ee
|
|
335
|
+
}, {
|
|
336
|
+
gender: l((e) => [
|
|
337
|
+
p("span", null, s(n(f).genderDict.getEnumValue(e.data.row.gender)), 1)
|
|
338
|
+
]),
|
|
339
|
+
mobilePhone: l((e) => [
|
|
340
|
+
p("span", null, s(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
|
|
341
|
+
]),
|
|
342
|
+
email: l((e) => [
|
|
343
|
+
p("span", null, s(e.data.row.showEncrypt ? e.data.row.email : e.data.row.emailIns), 1)
|
|
344
|
+
]),
|
|
345
|
+
jobStatus: l((e) => [
|
|
346
|
+
p("span", null, [
|
|
347
|
+
e.data.row.jobStatus === n(x).jobStatus.working ? (u(), b(P, {
|
|
348
|
+
key: 0,
|
|
349
|
+
type: "primary"
|
|
350
|
+
}, {
|
|
351
|
+
default: l(() => [
|
|
352
|
+
m(s(n(f).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
353
|
+
]),
|
|
354
|
+
_: 2
|
|
355
|
+
}, 1024)) : (u(), b(P, {
|
|
356
|
+
key: 1,
|
|
357
|
+
type: "danger"
|
|
358
|
+
}, {
|
|
359
|
+
default: l(() => [
|
|
360
|
+
m(s(n(f).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
|
|
361
|
+
]),
|
|
362
|
+
_: 2
|
|
363
|
+
}, 1024))
|
|
364
|
+
])
|
|
365
|
+
]),
|
|
366
|
+
engineeType: l((e) => [
|
|
367
|
+
p("span", null, s(n(f).engineeTypeDictEnum.getEnumValue(
|
|
368
|
+
e.data.row.engineeType
|
|
369
|
+
)), 1)
|
|
370
|
+
]),
|
|
371
|
+
engineeCertificate: l((e) => [
|
|
372
|
+
p("span", null, s(n(f).engineeCertificateDict.getDictValue(
|
|
373
|
+
e.data.row.engineeCertificate
|
|
374
|
+
)), 1)
|
|
375
|
+
]),
|
|
376
|
+
engineeJobMode: l((e) => [
|
|
377
|
+
p("span", null, s(n(f).engineeJobModeDictEnum.getEnumValue(
|
|
378
|
+
e.data.row.engineeJobMode
|
|
379
|
+
)), 1)
|
|
380
|
+
]),
|
|
381
|
+
operation: l((e) => [
|
|
382
|
+
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (u(), k("span", ve, [
|
|
383
|
+
c(a(I, {
|
|
384
|
+
"icon-class": "close-eye",
|
|
385
|
+
onClick: (S) => N(e.data.row)
|
|
386
|
+
}, null, 8, ["onClick"]), [
|
|
387
|
+
[q, !e.data.row.showEncrypt]
|
|
388
|
+
]),
|
|
389
|
+
c(a(I, {
|
|
390
|
+
"icon-class": "eye-open",
|
|
391
|
+
onClick: (S) => N(e.data.row)
|
|
392
|
+
}, null, 8, ["onClick"]), [
|
|
393
|
+
[q, e.data.row.showEncrypt]
|
|
394
|
+
])
|
|
395
|
+
])) : V("", !0),
|
|
396
|
+
c((u(), k("span", {
|
|
397
|
+
class: "el-button-color dropdown-left",
|
|
398
|
+
onClick: (S) => H(e.data.row)
|
|
399
|
+
}, [
|
|
400
|
+
m(s(o.$t("common.edit")), 1)
|
|
401
|
+
], 8, ge)), [
|
|
402
|
+
[g, ["itsmsys:sys_user_ext:update"]]
|
|
403
|
+
]),
|
|
404
|
+
c((u(), k("span", {
|
|
405
|
+
class: "el-button-color dropdown-left",
|
|
406
|
+
onClick: (S) => n(r).deleteRecord(e.data.row)
|
|
407
|
+
}, [
|
|
408
|
+
m(s(o.$t("common.delete")), 1)
|
|
409
|
+
], 8, we)), [
|
|
410
|
+
[g, ["itsmsys:sys_user_ext:delete"]]
|
|
411
|
+
]),
|
|
412
|
+
c((u(), k("span", {
|
|
413
|
+
class: "el-button-color dropdown-left",
|
|
414
|
+
onClick: (S) => G(e.data.row)
|
|
415
|
+
}, [
|
|
416
|
+
m(s(o.$t("common.view")), 1)
|
|
417
|
+
], 8, _e)), [
|
|
418
|
+
[g, ["itsmsys:sys_user_ext:view"]]
|
|
419
|
+
])
|
|
420
|
+
]),
|
|
421
|
+
_: 1
|
|
422
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
423
|
+
]),
|
|
424
|
+
_: 1
|
|
425
|
+
}),
|
|
426
|
+
y.value.visible ? (u(), b(pe, {
|
|
427
|
+
key: 0,
|
|
428
|
+
modelValue: y.value.visible,
|
|
429
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => y.value.visible = e),
|
|
430
|
+
title: y.value.title,
|
|
431
|
+
"entity-key": n(j),
|
|
432
|
+
onRefresh: te,
|
|
433
|
+
width: "900px"
|
|
434
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : V("", !0),
|
|
435
|
+
C.value ? (u(), b(ce, {
|
|
436
|
+
key: 1,
|
|
437
|
+
"upload-visible": C.value,
|
|
438
|
+
"template-title": o.$t("sysUser.templateDownload"),
|
|
439
|
+
onTemplateDown: t[16] || (t[16] = (e) => X(n(w)("sysUserOps.name"))),
|
|
440
|
+
onImportEvents: Y,
|
|
441
|
+
onUploadClosed: W
|
|
442
|
+
}, null, 8, ["upload-visible", "template-title"])) : V("", !0)
|
|
443
|
+
]);
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
export {
|
|
448
|
+
De as default
|
|
449
|
+
};
|