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