xyvcard-itsmsys 0.0.18 → 0.0.20
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/README.md +51 -51
- package/dist/{edit-C1zg8B0y.mjs → edit-BrHOGUbU.mjs} +1 -1
- package/dist/{edit-Cs3KIwaz.mjs → edit-CNEVornb.mjs} +100 -100
- package/dist/{edit-CxRGbAP_.mjs → edit-COKceKzl.mjs} +87 -87
- package/dist/{edit-DLN1WFrt.mjs → edit-Czi-Vkbf.mjs} +1 -1
- package/dist/{edit-CNFS8ehW.mjs → edit-DYqAdRsK.mjs} +99 -99
- package/dist/{edit-DlEW6lB8.mjs → edit-DybO5r3p.mjs} +1 -1
- package/dist/{edit-Dmxyf_Gp.mjs → edit-_QJnKCdq.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs → edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs} +136 -136
- package/dist/{edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs → edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs} +172 -173
- package/dist/{edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs → edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs} +53 -53
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs → edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs} +108 -108
- package/dist/{import-upload-BvBtwEbI.mjs → import-upload-BaJGVcNb.mjs} +6 -6
- package/dist/{import-upload-BM5kcXdg.mjs → import-upload-CC1Ho43e.mjs} +2 -2
- package/dist/{index-D2e-NU3E.mjs → index-BV5uRZXE.mjs} +24 -22
- package/dist/{index-nhzVBt2y.mjs → index-CAzxJ_Vp.mjs} +38 -38
- package/dist/{index-D2BUGsak.mjs → index-Di1yx94g.mjs} +32 -30
- package/dist/{index-Dsf1qOUx.mjs → index-IpHv0Vzi.mjs} +1 -1
- package/dist/{index-Bxg8G8aA.mjs → index-WHNNztBg.mjs} +30 -28
- package/dist/{index-BzqZLipq.mjs → index-cpyRUYdS.mjs} +57 -55
- package/dist/{index-EhejgmO6.mjs → index-dIcRC4jE.mjs} +7 -13
- package/dist/{index-CdQGs3Vu.mjs → index-q_wZjCJN.mjs} +30 -28
- package/dist/index.mjs +1021 -936
- package/dist/{index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs → index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs} +2 -2
- package/dist/{info-rnc-sgQt.mjs → info-BUKhtcuu.mjs} +2 -2
- package/dist/{info-DBObKyIh.mjs → info-Bn5mhJtq.mjs} +2 -2
- package/dist/{info-BZ7IZet8.mjs → info-Dx5fzSIP.mjs} +2 -2
- package/dist/{info-B2d8xPwW.mjs → info-EodyqiPm.mjs} +2 -2
- package/dist/{info-CoizfoOq.mjs → info-G1z1-aeX.mjs} +2 -2
- package/dist/{info-CCfX-q4c.mjs → info-bYWisCey.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/index.d.ts +5 -0
- package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -3
- package/dts/api/itsm-sys-user-ext/types.d.ts +8 -0
- package/dts/constant.d.ts +0 -4
- package/dts/index.d.ts +0 -1
- package/dts/lang/itsmsys/en.d.ts +130 -49
- package/dts/lang/itsmsys/zh-cn.d.ts +0 -3
- package/dts/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +8 -2
- package/package.json +58 -60
- package/dist/import-upload-CjeTCQBx.mjs +0 -161
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as te, ref as N, resolveComponent as s, resolveDirective as
|
|
2
|
-
import { useTableHooks as
|
|
1
|
+
import { defineComponent as te, ref as N, onActivated as ne, resolveComponent as s, resolveDirective as le, openBlock as y, createElementBlock as k, createElementVNode as R, createVNode as n, withCtx as l, withKeys as I, unref as _, createTextVNode as c, toDisplayString as d, withDirectives as h, createBlock as G, isRef as se } from "vue";
|
|
2
|
+
import { useTableHooks as ae } from "jmash-core";
|
|
3
3
|
import { ElMessageBox as j, ElMessage as T } from "element-plus";
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { C as
|
|
4
|
+
import { useI18n as re } from "vue-i18n";
|
|
5
|
+
import { C as ie, D as me } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysOrgApi as u } from "./index.mjs";
|
|
7
|
-
import { useRouter as
|
|
8
|
-
const
|
|
7
|
+
import { useRouter as ce } from "vue-router";
|
|
8
|
+
const de = { class: "app-container" }, ue = { class: "search-container" }, pe = ["onClick"], fe = ["onClick"], ye = ["onClick"], $e = /* @__PURE__ */ te({
|
|
9
9
|
__name: "index",
|
|
10
|
-
setup(
|
|
11
|
-
const { t: a } =
|
|
12
|
-
orgType:
|
|
13
|
-
}), { tableHooks: r, multipleTableRef: P, queryFormRef: V, listLoading: M, tableData: S } =
|
|
10
|
+
setup(_e) {
|
|
11
|
+
const { t: a } = re(), $ = ce(), p = N({
|
|
12
|
+
orgType: ie.orgType.hall
|
|
13
|
+
}), { tableHooks: r, multipleTableRef: P, queryFormRef: V, listLoading: M, tableData: S } = ae(a, u, p);
|
|
14
14
|
let b = N([
|
|
15
15
|
{
|
|
16
16
|
label: "sysGov.orgName",
|
|
@@ -89,7 +89,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
89
89
|
function U(e) {
|
|
90
90
|
r.selectionRows.value = e;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function A(e) {
|
|
93
93
|
r.handleSort(e.prop, e.order);
|
|
94
94
|
}
|
|
95
95
|
function B(e, t) {
|
|
@@ -100,7 +100,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
100
100
|
!m || typeof m != "object" || m.status === 200 && r.findList();
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function F(e) {
|
|
104
104
|
j.confirm(a("common.confirmDelete"), a("common.delete"), {
|
|
105
105
|
cancelButtonText: a("common.cancel"),
|
|
106
106
|
confirmButtonText: a("common.confirm"),
|
|
@@ -112,10 +112,9 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
112
112
|
type: "success"
|
|
113
113
|
}), r.findList());
|
|
114
114
|
});
|
|
115
|
-
}).catch(() => {
|
|
116
115
|
});
|
|
117
116
|
}
|
|
118
|
-
function
|
|
117
|
+
function z() {
|
|
119
118
|
if (r.selectionRows.value.length === 0) {
|
|
120
119
|
T({
|
|
121
120
|
message: a("common.chooseDelete"),
|
|
@@ -138,7 +137,6 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
138
137
|
type: "success"
|
|
139
138
|
}), r.findList(), (f = P.value) == null || f.clearSelection());
|
|
140
139
|
});
|
|
141
|
-
}).catch(() => {
|
|
142
140
|
});
|
|
143
141
|
}
|
|
144
142
|
function w() {
|
|
@@ -147,10 +145,12 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
147
145
|
function H() {
|
|
148
146
|
V.value.resetFields(), w();
|
|
149
147
|
}
|
|
150
|
-
return
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
148
|
+
return ne(() => {
|
|
149
|
+
r.findList();
|
|
150
|
+
}), (e, t) => {
|
|
151
|
+
const f = s("el-input"), m = s("el-form-item"), v = s("el-col"), Q = s("jmash-select"), C = s("el-button"), D = s("el-row"), x = s("el-form"), J = s("jmash-column-select"), W = s("jmash-mobileIns-component"), X = s("Bottom"), E = s("el-icon"), Y = s("Top"), Z = s("el-switch"), ee = s("jmash-table"), oe = s("el-card"), g = le("hasPerm");
|
|
152
|
+
return y(), k("div", de, [
|
|
153
|
+
R("div", ue, [
|
|
154
154
|
n(x, {
|
|
155
155
|
ref_key: "queryFormRef",
|
|
156
156
|
ref: V,
|
|
@@ -192,7 +192,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
192
192
|
modelValue: p.value.status,
|
|
193
193
|
"onUpdate:modelValue": t[2] || (t[2] = (o) => p.value.status = o),
|
|
194
194
|
placeholder: e.$t("sysGov.statusRequired"),
|
|
195
|
-
data: _(
|
|
195
|
+
data: _(me).hasStatusDict.values,
|
|
196
196
|
clearable: "",
|
|
197
197
|
onKeyup: t[3] || (t[3] = I((o) => w(), ["enter"]))
|
|
198
198
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -246,7 +246,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
246
246
|
default: l(() => [
|
|
247
247
|
n(v, { span: 17 }, {
|
|
248
248
|
default: l(() => [
|
|
249
|
-
|
|
249
|
+
h((y(), G(C, {
|
|
250
250
|
type: "primary",
|
|
251
251
|
onClick: L
|
|
252
252
|
}, {
|
|
@@ -255,18 +255,18 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
255
255
|
]),
|
|
256
256
|
_: 1
|
|
257
257
|
})), [
|
|
258
|
-
[
|
|
258
|
+
[g, ["itsmsys:sys_org_gov:add"]]
|
|
259
259
|
]),
|
|
260
|
-
|
|
260
|
+
h((y(), G(C, {
|
|
261
261
|
type: "primary",
|
|
262
|
-
onClick: t[6] || (t[6] = (o) =>
|
|
262
|
+
onClick: t[6] || (t[6] = (o) => z())
|
|
263
263
|
}, {
|
|
264
264
|
default: l(() => [
|
|
265
265
|
c(d(e.$t("common.batchDelete")), 1)
|
|
266
266
|
]),
|
|
267
267
|
_: 1
|
|
268
268
|
})), [
|
|
269
|
-
[
|
|
269
|
+
[g, ["itsmsys:sys_org_gov:delete"]]
|
|
270
270
|
])
|
|
271
271
|
]),
|
|
272
272
|
_: 1
|
|
@@ -278,7 +278,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
278
278
|
default: l(() => [
|
|
279
279
|
n(J, {
|
|
280
280
|
modelValue: _(b),
|
|
281
|
-
"onUpdate:modelValue": t[7] || (t[7] = (o) =>
|
|
281
|
+
"onUpdate:modelValue": t[7] || (t[7] = (o) => se(b) ? b.value = o : b = o),
|
|
282
282
|
"label-name": "itsmsys/itsm-sys-org"
|
|
283
283
|
}, null, 8, ["modelValue"])
|
|
284
284
|
]),
|
|
@@ -297,7 +297,7 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
297
297
|
data: _(S),
|
|
298
298
|
"table-label": _(b),
|
|
299
299
|
onSelectionChange: U,
|
|
300
|
-
onSortChange:
|
|
300
|
+
onSortChange: A
|
|
301
301
|
}, {
|
|
302
302
|
contactPersonMobile: l((o) => [
|
|
303
303
|
n(W, {
|
|
@@ -335,29 +335,29 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
335
335
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
336
336
|
]),
|
|
337
337
|
operation: l((o) => [
|
|
338
|
-
|
|
338
|
+
h((y(), k("span", {
|
|
339
339
|
class: "el-button-color",
|
|
340
340
|
onClick: (i) => K(o.data.row)
|
|
341
341
|
}, [
|
|
342
342
|
c(d(e.$t("common.edit")), 1)
|
|
343
|
-
], 8,
|
|
344
|
-
[
|
|
343
|
+
], 8, pe)), [
|
|
344
|
+
[g, ["itsmsys:sys_org_gov:update"]]
|
|
345
345
|
]),
|
|
346
|
-
|
|
346
|
+
h((y(), k("span", {
|
|
347
347
|
class: "el-button-color dropdown-left",
|
|
348
|
-
onClick: (i) =>
|
|
348
|
+
onClick: (i) => F(o.data.row)
|
|
349
349
|
}, [
|
|
350
350
|
c(d(e.$t("common.delete")), 1)
|
|
351
|
-
], 8,
|
|
352
|
-
[
|
|
351
|
+
], 8, fe)), [
|
|
352
|
+
[g, ["itsmsys:sys_org_gov:delete"]]
|
|
353
353
|
]),
|
|
354
|
-
|
|
354
|
+
h((y(), k("span", {
|
|
355
355
|
class: "el-button-color dropdown-left",
|
|
356
356
|
onClick: (i) => O(o.data.row)
|
|
357
357
|
}, [
|
|
358
358
|
c(d(e.$t("common.view")), 1)
|
|
359
|
-
], 8,
|
|
360
|
-
[
|
|
359
|
+
], 8, ye)), [
|
|
360
|
+
[g, ["itsmsys:sys_org_gov:view"]]
|
|
361
361
|
])
|
|
362
362
|
]),
|
|
363
363
|
_: 1
|
|
@@ -370,5 +370,5 @@ const ce = { class: "app-container" }, de = { class: "search-container" }, ue =
|
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
export {
|
|
373
|
-
|
|
373
|
+
$e as default
|
|
374
374
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as re, ref as V, reactive as J, resolveComponent as u, resolveDirective as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { C as O, D as y } from "./index-
|
|
1
|
+
import { defineComponent as re, ref as V, reactive as J, onActivated as ie, resolveComponent as u, resolveDirective as ue, openBlock as d, createElementBlock as $, createElementVNode as m, createVNode as a, withCtx as l, withKeys as E, unref as n, createTextVNode as p, toDisplayString as s, withDirectives as c, createBlock as f, isRef as q, createCommentVNode as S, vShow as K } from "vue";
|
|
2
|
+
import { useTableHooks as de } from "jmash-core";
|
|
3
|
+
import { useI18n as pe } from "vue-i18n";
|
|
4
|
+
import { useRouter as me } from "vue-router";
|
|
5
|
+
import { C as O, D as y } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysUserExtApi as Q } from "./index.mjs";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { F as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
7
|
+
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs";
|
|
8
|
+
import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
+
import ce from "./import-upload-BaJGVcNb.mjs";
|
|
10
|
+
const fe = { class: "app-container" }, ge = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], _e = ["onClick"], Ce = ["onClick"], Ne = /* @__PURE__ */ re({
|
|
11
11
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const { t: w } =
|
|
12
|
+
setup(he) {
|
|
13
|
+
const { t: w } = pe(), z = me(), r = V({
|
|
14
14
|
userType: O.userType.companyOps
|
|
15
15
|
}), {
|
|
16
16
|
tableHooks: i,
|
|
17
17
|
multipleTableRef: L,
|
|
18
18
|
queryFormRef: x,
|
|
19
|
-
listLoading:
|
|
20
|
-
tableData:
|
|
19
|
+
listLoading: A,
|
|
20
|
+
tableData: B,
|
|
21
21
|
total: T
|
|
22
|
-
} =
|
|
22
|
+
} = de(w, Q, r);
|
|
23
23
|
let _ = V([
|
|
24
24
|
{
|
|
25
25
|
label: "sysUserOps.realName",
|
|
@@ -99,7 +99,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
99
99
|
visible: !1
|
|
100
100
|
});
|
|
101
101
|
let j = J({});
|
|
102
|
-
function
|
|
102
|
+
function F() {
|
|
103
103
|
j = J({}), b.value.title = w("common.add"), b.value.visible = !0;
|
|
104
104
|
}
|
|
105
105
|
function H(o) {
|
|
@@ -120,7 +120,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
120
120
|
const D = new Blob([t.data], {
|
|
121
121
|
type: "application/octet-stream"
|
|
122
122
|
});
|
|
123
|
-
|
|
123
|
+
be.saveAs(D, o + ".xlsx");
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
function Y(o) {
|
|
@@ -137,10 +137,12 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
137
137
|
function te(o) {
|
|
138
138
|
o && i.getList();
|
|
139
139
|
}
|
|
140
|
-
return
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
return ie(() => {
|
|
141
|
+
i.getList();
|
|
142
|
+
}), (o, t) => {
|
|
143
|
+
const D = u("el-input"), h = u("el-form-item"), g = u("el-col"), N = u("jmash-select"), k = u("el-button"), P = u("el-row"), oe = u("el-form"), le = u("jmash-column-select"), R = u("el-tag"), I = u("svg-icon"), ne = u("jmash-table"), ae = u("jmash-pagination"), se = u("el-card"), v = ue("hasPerm");
|
|
144
|
+
return d(), $("div", fe, [
|
|
145
|
+
m("div", ge, [
|
|
144
146
|
a(oe, {
|
|
145
147
|
ref_key: "queryFormRef",
|
|
146
148
|
ref: x,
|
|
@@ -279,7 +281,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
279
281
|
default: l(() => [
|
|
280
282
|
c((d(), f(k, {
|
|
281
283
|
type: "primary",
|
|
282
|
-
onClick:
|
|
284
|
+
onClick: F
|
|
283
285
|
}, {
|
|
284
286
|
default: l(() => [
|
|
285
287
|
p(s(o.$t("common.add")), 1)
|
|
@@ -348,8 +350,8 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
348
350
|
ref_key: "multipleTableRef",
|
|
349
351
|
ref: L,
|
|
350
352
|
"row-key": "userId",
|
|
351
|
-
"list-loading": n(
|
|
352
|
-
data: n(
|
|
353
|
+
"list-loading": n(A),
|
|
354
|
+
data: n(B),
|
|
353
355
|
"table-label": n(_),
|
|
354
356
|
onSelectionChange: Z,
|
|
355
357
|
onSortChange: ee
|
|
@@ -400,7 +402,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
400
402
|
)), 1)
|
|
401
403
|
]),
|
|
402
404
|
operation: l((e) => [
|
|
403
|
-
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span",
|
|
405
|
+
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), $("span", ve, [
|
|
404
406
|
c(a(I, {
|
|
405
407
|
"icon-class": "close-eye",
|
|
406
408
|
onClick: (U) => M(e.data.row)
|
|
@@ -419,7 +421,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
419
421
|
onClick: (U) => H(e.data.row)
|
|
420
422
|
}, [
|
|
421
423
|
p(s(o.$t("common.edit")), 1)
|
|
422
|
-
], 8,
|
|
424
|
+
], 8, we)), [
|
|
423
425
|
[v, ["itsmsys:sys_user_ext_ops:update"]]
|
|
424
426
|
]),
|
|
425
427
|
c((d(), $("span", {
|
|
@@ -427,7 +429,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
427
429
|
onClick: (U) => n(i).deleteRecord(e.data.row)
|
|
428
430
|
}, [
|
|
429
431
|
p(s(o.$t("common.delete")), 1)
|
|
430
|
-
], 8,
|
|
432
|
+
], 8, _e)), [
|
|
431
433
|
[v, ["itsmsys:sys_user_ext_ops:delete"]]
|
|
432
434
|
]),
|
|
433
435
|
c((d(), $("span", {
|
|
@@ -435,7 +437,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
435
437
|
onClick: (U) => G(e.data.row)
|
|
436
438
|
}, [
|
|
437
439
|
p(s(o.$t("common.view")), 1)
|
|
438
|
-
], 8,
|
|
440
|
+
], 8, Ce)), [
|
|
439
441
|
[v, ["itsmsys:sys_user_ext_ops:view"]]
|
|
440
442
|
])
|
|
441
443
|
]),
|
|
@@ -444,7 +446,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
444
446
|
]),
|
|
445
447
|
_: 1
|
|
446
448
|
}),
|
|
447
|
-
b.value.visible ? (d(), f(
|
|
449
|
+
b.value.visible ? (d(), f(ye, {
|
|
448
450
|
key: 0,
|
|
449
451
|
modelValue: b.value.visible,
|
|
450
452
|
"onUpdate:modelValue": t[17] || (t[17] = (e) => b.value.visible = e),
|
|
@@ -453,7 +455,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
453
455
|
onRefresh: te,
|
|
454
456
|
width: "900px"
|
|
455
457
|
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0),
|
|
456
|
-
C.value ? (d(), f(
|
|
458
|
+
C.value ? (d(), f(ce, {
|
|
457
459
|
key: 1,
|
|
458
460
|
"upload-visible": C.value,
|
|
459
461
|
"template-title": o.$t("sysUser.templateDownload"),
|
|
@@ -466,5 +468,5 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, ge =
|
|
|
466
468
|
}
|
|
467
469
|
});
|
|
468
470
|
export {
|
|
469
|
-
|
|
471
|
+
Ne as default
|
|
470
472
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as re, ref as S, reactive as M, resolveComponent as i, resolveDirective as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { D as p, C as D } from "./index-
|
|
1
|
+
import { defineComponent as re, ref as S, reactive as M, onActivated as ue, resolveComponent as i, resolveDirective as ie, openBlock as d, createElementBlock as V, createElementVNode as m, createVNode as a, withCtx as o, unref as n, withKeys as k, createTextVNode as y, toDisplayString as s, withDirectives as f, createBlock as c, isRef as J, createCommentVNode as O, vShow as q } from "vue";
|
|
2
|
+
import { useTableHooks as de } from "jmash-core";
|
|
3
|
+
import { useI18n as pe } from "vue-i18n";
|
|
4
|
+
import { useRouter as me } from "vue-router";
|
|
5
|
+
import { D as p, C as D } from "./index-dIcRC4jE.mjs";
|
|
6
6
|
import { sysUserExtApi as z } from "./index.mjs";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { F as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
7
|
+
import { _ as ye } from "./edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs";
|
|
8
|
+
import { F as be } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
+
import ge from "./import-upload-CC1Ho43e.mjs";
|
|
10
|
+
const fe = { class: "app-container" }, ce = { class: "search-container" }, ve = { key: 0 }, we = ["onClick"], _e = ["onClick"], Ce = ["onClick"], De = /* @__PURE__ */ re({
|
|
11
11
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const { t: C } =
|
|
12
|
+
setup(he) {
|
|
13
|
+
const { t: C } = pe(), B = me();
|
|
14
14
|
p.sysOutBizDict.useValues();
|
|
15
15
|
const r = S({
|
|
16
16
|
userType: D.userType.outsourceOps
|
|
@@ -19,9 +19,9 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
19
19
|
multipleTableRef: K,
|
|
20
20
|
queryFormRef: Q,
|
|
21
21
|
listLoading: L,
|
|
22
|
-
tableData:
|
|
22
|
+
tableData: A,
|
|
23
23
|
total: T
|
|
24
|
-
} =
|
|
24
|
+
} = de(C, z, r);
|
|
25
25
|
let h = S([
|
|
26
26
|
{
|
|
27
27
|
label: "sysUserOps.realName",
|
|
@@ -109,7 +109,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
109
109
|
visible: !1
|
|
110
110
|
});
|
|
111
111
|
let j = M({});
|
|
112
|
-
function
|
|
112
|
+
function F() {
|
|
113
113
|
j = M({}), b.value.title = C("common.add"), b.value.visible = !0;
|
|
114
114
|
}
|
|
115
115
|
function x(l) {
|
|
@@ -130,7 +130,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
130
130
|
const v = new Blob([t.data], {
|
|
131
131
|
type: "application/octet-stream"
|
|
132
132
|
});
|
|
133
|
-
|
|
133
|
+
be.saveAs(v, l + ".xlsx");
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
function X(l) {
|
|
@@ -147,10 +147,12 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
147
147
|
function ee(l) {
|
|
148
148
|
l && u.getList();
|
|
149
149
|
}
|
|
150
|
-
return
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
150
|
+
return ue(() => {
|
|
151
|
+
u.getList();
|
|
152
|
+
}), (l, t) => {
|
|
153
|
+
const v = i("jmash-select"), w = i("el-form-item"), g = i("el-col"), te = i("el-input"), U = i("el-button"), N = i("el-row"), le = i("el-form"), oe = i("jmash-column-select"), R = i("el-tag"), P = i("svg-icon"), ne = i("jmash-table"), ae = i("jmash-pagination"), se = i("el-card"), _ = ie("hasPerm");
|
|
154
|
+
return d(), V("div", fe, [
|
|
155
|
+
m("div", ce, [
|
|
154
156
|
a(le, {
|
|
155
157
|
ref_key: "queryFormRef",
|
|
156
158
|
ref: Q,
|
|
@@ -310,7 +312,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
310
312
|
default: o(() => [
|
|
311
313
|
f((d(), c(U, {
|
|
312
314
|
type: "primary",
|
|
313
|
-
onClick:
|
|
315
|
+
onClick: F
|
|
314
316
|
}, {
|
|
315
317
|
default: o(() => [
|
|
316
318
|
y(s(l.$t("common.add")), 1)
|
|
@@ -380,7 +382,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
380
382
|
ref: K,
|
|
381
383
|
"row-key": "userId",
|
|
382
384
|
"list-loading": n(L),
|
|
383
|
-
data: n(
|
|
385
|
+
data: n(A),
|
|
384
386
|
"table-label": n(h),
|
|
385
387
|
onSelectionChange: Y,
|
|
386
388
|
onSortChange: Z
|
|
@@ -434,7 +436,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
434
436
|
)), 1)
|
|
435
437
|
]),
|
|
436
438
|
operation: o((e) => [
|
|
437
|
-
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span",
|
|
439
|
+
e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), V("span", ve, [
|
|
438
440
|
f(a(P, {
|
|
439
441
|
"icon-class": "close-eye",
|
|
440
442
|
onClick: (E) => I(e.data.row)
|
|
@@ -453,7 +455,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
453
455
|
onClick: (E) => x(e.data.row)
|
|
454
456
|
}, [
|
|
455
457
|
y(s(l.$t("common.edit")), 1)
|
|
456
|
-
], 8,
|
|
458
|
+
], 8, we)), [
|
|
457
459
|
[_, ["itsmsys:sys_user_ext_out:update"]]
|
|
458
460
|
]),
|
|
459
461
|
f((d(), V("span", {
|
|
@@ -461,7 +463,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
461
463
|
onClick: (E) => n(u).deleteRecord(e.data.row)
|
|
462
464
|
}, [
|
|
463
465
|
y(s(l.$t("common.delete")), 1)
|
|
464
|
-
], 8,
|
|
466
|
+
], 8, _e)), [
|
|
465
467
|
[_, ["itsmsys:sys_user_ext_out:delete"]]
|
|
466
468
|
]),
|
|
467
469
|
f((d(), V("span", {
|
|
@@ -469,7 +471,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
469
471
|
onClick: (E) => H(e.data.row)
|
|
470
472
|
}, [
|
|
471
473
|
y(s(l.$t("common.view")), 1)
|
|
472
|
-
], 8,
|
|
474
|
+
], 8, Ce)), [
|
|
473
475
|
[_, ["itsmsys:sys_user_ext_out:view"]]
|
|
474
476
|
])
|
|
475
477
|
]),
|
|
@@ -478,7 +480,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
478
480
|
]),
|
|
479
481
|
_: 1
|
|
480
482
|
}),
|
|
481
|
-
b.value.visible ? (d(), c(
|
|
483
|
+
b.value.visible ? (d(), c(ye, {
|
|
482
484
|
key: 0,
|
|
483
485
|
modelValue: b.value.visible,
|
|
484
486
|
"onUpdate:modelValue": t[19] || (t[19] = (e) => b.value.visible = e),
|
|
@@ -487,7 +489,7 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
487
489
|
onRefresh: ee,
|
|
488
490
|
width: "900px"
|
|
489
491
|
}, null, 8, ["modelValue", "title", "entity-key"])) : O("", !0),
|
|
490
|
-
$.value ? (d(), c(
|
|
492
|
+
$.value ? (d(), c(ge, {
|
|
491
493
|
key: 1,
|
|
492
494
|
"upload-visible": $.value,
|
|
493
495
|
"template-title": l.$t("sysUser.templateDownload"),
|
|
@@ -500,5 +502,5 @@ const ge = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
|
500
502
|
}
|
|
501
503
|
});
|
|
502
504
|
export {
|
|
503
|
-
|
|
505
|
+
De as default
|
|
504
506
|
};
|