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