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