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