smart-admin-web 10.21.0 → 10.23.0
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/assets/icons/ph-subset.json.js +1 -1
- package/dist/components/FormContainer/index.vue.js +67 -67
- package/dist/components/FormContainer/index.vue.js.map +1 -1
- package/dist/components/SidePanelDrawer/index.vue.d.ts +25 -0
- package/dist/components/SidePanelDrawer/index.vue.js +40 -0
- package/dist/components/SidePanelDrawer/index.vue.js.map +1 -0
- package/dist/components/SidePanelDrawer/index3.vue.js +6 -0
- package/dist/components/SidePanelDrawer/index3.vue.js.map +1 -0
- package/dist/composables/authMenuRoute.d.ts +10 -0
- package/dist/composables/authMenuRoute.js +39 -23
- package/dist/composables/authMenuRoute.js.map +1 -1
- package/dist/composables/useModule.d.ts +3 -1
- package/dist/composables/useModule.js +44 -32
- package/dist/composables/useModule.js.map +1 -1
- package/dist/composables/useShellBreakpoint.js +14 -13
- package/dist/composables/useShellBreakpoint.js.map +1 -1
- package/dist/composables/useSidePanel.d.ts +9 -0
- package/dist/composables/useSidePanel.js +12 -0
- package/dist/composables/useSidePanel.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +297 -290
- package/dist/index.js.map +1 -1
- package/dist/layouts/components/SideNav.vue.js +2 -2
- package/dist/layouts/components/SideNav2.vue.js.map +1 -1
- package/dist/layouts/default.vue.js +2 -2
- package/dist/layouts/default2.vue.js.map +1 -1
- package/dist/lib/runtime.js +1 -1
- package/dist/locales/en-US.d.ts +6 -0
- package/dist/locales/en-US.js +9 -2
- package/dist/locales/en-US.js.map +1 -1
- package/dist/locales/zh-CN.d.ts +6 -0
- package/dist/locales/zh-CN.js +9 -2
- package/dist/locales/zh-CN.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/tree.d.ts +15 -0
- package/dist/utils/tree.js +43 -29
- package/dist/utils/tree.js.map +1 -1
- package/dist/utils/treeCard.d.ts +6 -0
- package/dist/utils/treeCard.js +9 -0
- package/dist/utils/treeCard.js.map +1 -0
- package/dist/views/error/404.vue.js +2 -2
- package/dist/views/error/4042.vue.js +81 -24
- package/dist/views/error/4042.vue.js.map +1 -1
- package/dist/views/login/components/LoginDesk.vue.js +2 -2
- package/dist/views/login/components/LoginDesk2.vue.js.map +1 -1
- package/dist/views/login/components/LoginHeroPanel.vue.js +2 -2
- package/dist/views/login/components/LoginHeroPanel2.vue.js.map +1 -1
- package/dist/views/system/job-monitor/index.vue.js +2 -2
- package/dist/views/system/job-monitor/index2.vue.js +46 -46
- package/dist/views/system/job-monitor/index2.vue.js.map +1 -1
- package/dist/views/system/menu/index.vue.js +2 -2
- package/dist/views/system/menu/index2.vue.js +161 -150
- package/dist/views/system/menu/index2.vue.js.map +1 -1
- package/dist/views/system/org/index.vue.js +2 -2
- package/dist/views/system/org/index2.vue.js +182 -176
- package/dist/views/system/org/index2.vue.js.map +1 -1
- package/dist/views/system/user/index.vue.js +1 -1
- package/dist/views/system/user/index2.vue.js +296 -277
- package/dist/views/system/user/index2.vue.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,142 +1,152 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { useRoute as
|
|
4
|
-
import { useMessage as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { SmartTable as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
|
|
1
|
+
import { defineComponent as Ue, ref as n, computed as p, watch as ue, onMounted as De, h as d, resolveDirective as Fe, openBlock as h, createElementBlock as W, Fragment as Le, createVNode as s, unref as a, withCtx as i, createElementVNode as y, toDisplayString as b, createCommentVNode as T, createBlock as N, createTextVNode as I, normalizeClass as J, createSlots as Ge, withDirectives as de, isRef as $e } from "vue";
|
|
2
|
+
import { useStorage as Be, createReusableTemplate as Ke } from "@vueuse/core";
|
|
3
|
+
import { useRoute as qe } from "vue-router";
|
|
4
|
+
import { useMessage as He, NAvatar as Ve, NTag as je, NSpace as We, NButton as k, NPopconfirm as Je, NDropdown as Qe, NTooltip as pe, NInput as Xe, NSpin as Ye, NTree as Ze } from "naive-ui";
|
|
5
|
+
import { useI18n as er } from "vue-i18n";
|
|
6
|
+
import { SmartTable as rr } from "smart-naive-table";
|
|
7
|
+
import c from "../../../components/AppIcon.vue.js";
|
|
8
|
+
import tr from "../../../components/StatusSwitch/index.vue.js";
|
|
9
|
+
import or from "../../../components/DictTag/index.vue.js";
|
|
10
|
+
import ar from "../../../components/ImportWizard/index.vue.js";
|
|
11
|
+
import lr from "../../../components/ExportColumnsModal/index.vue.js";
|
|
12
|
+
import sr from "../../../components/SidePanelDrawer/index.vue.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
import nr from "./components/UserFormModal.vue.js";
|
|
15
|
+
import ir from "./components/ResetPasswordModal.vue.js";
|
|
16
|
+
import ur from "./components/UserGrantMenuSheet.vue.js";
|
|
17
|
+
import dr from "./components/UserGrantOverviewDrawer2.vue.js";
|
|
18
|
+
import { useConfirm as pr } from "../../../composables/useConfirm.js";
|
|
19
|
+
import { useBatchDelete as mr } from "../../../composables/useBatchDelete.js";
|
|
20
|
+
import { useSidePanel as cr } from "../../../composables/useSidePanel.js";
|
|
21
|
+
import { userApi as m, positionApi as fr, roleApi as vr, orgApi as gr, mfaApi as hr } from "../../../api/index.js";
|
|
22
|
+
import { useAuthStore as yr } from "../../../stores/auth.js";
|
|
23
|
+
import { useUserStore as wr } from "../../../stores/user.js";
|
|
24
|
+
import { translateError as me } from "../../../utils/error.js";
|
|
25
|
+
import { presetEqualFilter as br, SEARCH_ACTIONS as Q, deriveHeaderFilters as kr, flatSearchOf as Sr } from "../../../utils/tableFilter.js";
|
|
26
|
+
import { TABLE_TOOLBAR as xr, TABLE_MIN_ROW_HEIGHT as _r } from "../../../utils/tableToolbar.js";
|
|
27
|
+
import Er from "../../../components/TableTotal/index.vue.js";
|
|
28
|
+
import { triggerBlobDownload as Or } from "../../../utils/download.js";
|
|
29
|
+
import { buildTree as Pr, expandableIds as Tr, rootExpandableIds as Nr } from "../../../utils/tree.js";
|
|
30
|
+
const Ir = { class: "side-filter__head" }, Ar = {
|
|
28
31
|
key: 0,
|
|
29
|
-
class: "side-
|
|
30
|
-
},
|
|
32
|
+
class: "side-filter__title"
|
|
33
|
+
}, Cr = { class: "side-filter__actions" }, Rr = ["aria-label"], zr = ["aria-label"], Mr = { class: "side-row__label" }, Ur = { class: "user-layout side-page" }, Dr = ["inert"], Fr = 15, vt = /* @__PURE__ */ Ue({
|
|
31
34
|
__name: "index",
|
|
32
|
-
setup(
|
|
33
|
-
const { t } =
|
|
34
|
-
remove:
|
|
35
|
+
setup(Lr) {
|
|
36
|
+
const { t } = er(), M = He(), { run: ce, confirm: fe } = pr(), f = yr(), v = n(), { checkedKeys: X, run: ve } = mr({
|
|
37
|
+
remove: m.batchRemove,
|
|
35
38
|
refresh: () => {
|
|
36
39
|
var e;
|
|
37
|
-
return (e =
|
|
40
|
+
return (e = v.value) == null ? void 0 : e.refresh();
|
|
38
41
|
},
|
|
39
42
|
successMsg: t("user.deleted")
|
|
40
|
-
}),
|
|
43
|
+
}), U = n(null), D = n(null), F = n(null), ge = wr(), he = p(() => {
|
|
41
44
|
var e;
|
|
42
|
-
return (e =
|
|
43
|
-
}),
|
|
44
|
-
async function
|
|
45
|
+
return (e = ge.userInfo) == null ? void 0 : e.userId;
|
|
46
|
+
}), A = n(!1);
|
|
47
|
+
async function ye(e) {
|
|
45
48
|
var r;
|
|
46
|
-
|
|
49
|
+
A.value = !0;
|
|
47
50
|
try {
|
|
48
|
-
await
|
|
51
|
+
await fe({
|
|
49
52
|
content: t("user.clearMfaConfirm", { name: e.name }),
|
|
50
|
-
action: () =>
|
|
53
|
+
action: () => hr.clear({ userId: e.id }),
|
|
51
54
|
successMsg: t("user.mfaCleared")
|
|
52
|
-
}) && ((r =
|
|
55
|
+
}) && ((r = v.value) == null || r.refresh());
|
|
53
56
|
} finally {
|
|
54
|
-
|
|
57
|
+
A.value = !1;
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
|
-
const
|
|
58
|
-
() =>
|
|
60
|
+
const Y = n([]), L = n([]), Z = n([]), S = n([]), ee = n(!0), G = p(() => Pr(S.value)), g = n(null), re = p(
|
|
61
|
+
() => g.value == null ? {} : { orgId: g.value }
|
|
59
62
|
);
|
|
60
|
-
function
|
|
61
|
-
|
|
63
|
+
function we(e) {
|
|
64
|
+
te(e.length ? Number(e[0]) : null);
|
|
62
65
|
}
|
|
63
|
-
const
|
|
64
|
-
function
|
|
65
|
-
|
|
66
|
+
const { compact: x, drawerOpen: _ } = cr(), E = Be("sa-user-org-panel-hidden", !1);
|
|
67
|
+
function te(e) {
|
|
68
|
+
g.value = e, _.value = !1;
|
|
66
69
|
}
|
|
67
|
-
|
|
70
|
+
function be() {
|
|
71
|
+
x.value ? _.value = !0 : E.value = !1;
|
|
72
|
+
}
|
|
73
|
+
const [ke, oe] = Ke(), Se = p(
|
|
68
74
|
() => {
|
|
69
75
|
var e;
|
|
70
|
-
return ((e =
|
|
76
|
+
return ((e = S.value.find((r) => r.id === g.value)) == null ? void 0 : e.name) ?? t("user.orgFilter");
|
|
71
77
|
}
|
|
72
|
-
),
|
|
73
|
-
function
|
|
78
|
+
), xe = p(() => S.value.length > Fr), $ = n(""), _e = () => d(c, { icon: "ph:caret-right", size: 12 });
|
|
79
|
+
function Ee(e, r) {
|
|
74
80
|
const u = e.trim().toLowerCase();
|
|
75
81
|
if (!u) return !0;
|
|
76
82
|
const o = r;
|
|
77
83
|
return o.name.toLowerCase().includes(u) || (o.code ?? "").toLowerCase().includes(u);
|
|
78
84
|
}
|
|
79
|
-
const
|
|
80
|
-
() =>
|
|
85
|
+
const w = n([]), C = p(() => Tr(G.value)), B = p(() => Nr(G.value)), K = p(
|
|
86
|
+
() => C.value.length > 0 && w.value.length >= C.value.length
|
|
87
|
+
), Oe = p(
|
|
88
|
+
() => C.value.length > B.value.length
|
|
89
|
+
), ae = p(
|
|
90
|
+
() => K.value ? t("user.collapseToFirstLevel") : t("common.expandAll")
|
|
81
91
|
);
|
|
82
|
-
function
|
|
83
|
-
|
|
92
|
+
function Pe() {
|
|
93
|
+
w.value = K.value ? [...B.value] : [...C.value];
|
|
84
94
|
}
|
|
85
|
-
|
|
86
|
-
var
|
|
95
|
+
ue(g, (e) => {
|
|
96
|
+
var l;
|
|
87
97
|
if (e == null) return;
|
|
88
|
-
const r = new Map(
|
|
89
|
-
let o = ((
|
|
98
|
+
const r = new Map(S.value.map((P) => [P.id, P])), u = new Set(w.value);
|
|
99
|
+
let o = ((l = r.get(e)) == null ? void 0 : l.parentId) ?? 0;
|
|
90
100
|
for (; o && r.has(o); )
|
|
91
101
|
u.add(o), o = r.get(o).parentId;
|
|
92
|
-
|
|
93
|
-
}),
|
|
102
|
+
w.value = [...u];
|
|
103
|
+
}), De(async () => {
|
|
94
104
|
try {
|
|
95
|
-
const { items: e } = await
|
|
96
|
-
|
|
105
|
+
const { items: e } = await fr.page({ page: 1, pageSize: 200 });
|
|
106
|
+
Y.value = e.map((r) => ({ label: r.name, value: r.id }));
|
|
97
107
|
} catch {
|
|
98
108
|
}
|
|
99
109
|
try {
|
|
100
|
-
const { items: e } = await
|
|
101
|
-
|
|
110
|
+
const { items: e } = await vr.page({ page: 1, pageSize: 200 });
|
|
111
|
+
L.value = e.map((r) => ({ label: r.name, value: r.id }));
|
|
102
112
|
} catch {
|
|
103
113
|
}
|
|
104
114
|
try {
|
|
105
|
-
const { items: e } = await
|
|
106
|
-
|
|
115
|
+
const { items: e } = await m.page({ page: 1, pageSize: 200 });
|
|
116
|
+
Z.value = e.map((r) => ({ label: `${r.name}(${r.account})`, value: r.id }));
|
|
107
117
|
} catch {
|
|
108
118
|
}
|
|
109
119
|
try {
|
|
110
|
-
|
|
120
|
+
S.value = await gr.list(), w.value = [...B.value];
|
|
111
121
|
} catch {
|
|
112
122
|
} finally {
|
|
113
|
-
|
|
123
|
+
ee.value = !1;
|
|
114
124
|
}
|
|
115
125
|
});
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
-
[
|
|
126
|
+
const le = qe();
|
|
127
|
+
ue(
|
|
128
|
+
[v, () => le.query.roleId],
|
|
119
129
|
([e, r]) => {
|
|
120
|
-
e &&
|
|
130
|
+
e && le.path === "/system/user" && br(e, "roleId", r == null ? void 0 : Number(r));
|
|
121
131
|
},
|
|
122
132
|
{ immediate: !0 }
|
|
123
133
|
);
|
|
124
|
-
const
|
|
125
|
-
function
|
|
134
|
+
const se = (e) => (e || "?").slice(0, 1), q = n(!1), R = n(!1), H = n(!1), z = n(!1), ne = n(null);
|
|
135
|
+
function Te() {
|
|
126
136
|
var e, r;
|
|
127
|
-
(e =
|
|
137
|
+
(e = v.value) == null || e.refresh(), z.value && ((r = ne.value) == null || r.refresh());
|
|
128
138
|
}
|
|
129
|
-
const
|
|
139
|
+
const Ne = p(
|
|
130
140
|
() => [
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
141
|
+
f.hasPerm("POST:/api/v1/sys/user/import/preview") ? { label: t("import.button"), key: "import" } : null,
|
|
142
|
+
f.hasPerm("GET:/api/v1/sys/user/export") ? { label: t("export.button"), key: "export" } : null,
|
|
143
|
+
f.hasPerm("GET:/api/v1/sys/user/menu-grants/page") ? { label: t("userGrant.overview"), key: "grantOverview" } : null
|
|
134
144
|
].filter((e) => e !== null)
|
|
135
|
-
),
|
|
136
|
-
function
|
|
137
|
-
e === "import" ?
|
|
145
|
+
), Ie = p(() => ({ ...xr, more: Ne.value }));
|
|
146
|
+
function Ae(e) {
|
|
147
|
+
e === "import" ? q.value = !0 : e === "export" ? R.value = !0 : e === "grantOverview" && (z.value = !0);
|
|
138
148
|
}
|
|
139
|
-
const
|
|
149
|
+
const Ce = [
|
|
140
150
|
{ key: "Account", title: t("userExport.account") },
|
|
141
151
|
{ key: "Name", title: t("userExport.name") },
|
|
142
152
|
{ key: "Nickname", title: t("userExport.nickname") },
|
|
@@ -149,39 +159,39 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
149
159
|
{ key: "Enabled", title: t("userExport.enabled") },
|
|
150
160
|
{ key: "IsSuperAdmin", title: t("userExport.superAdmin"), defaultSelected: !1 },
|
|
151
161
|
{ key: "CreateTime", title: t("userExport.createTime") }
|
|
152
|
-
],
|
|
153
|
-
downloadTemplate: () =>
|
|
154
|
-
preview: (e, r) =>
|
|
155
|
-
validate: (e) =>
|
|
156
|
-
commit: (e, r) =>
|
|
157
|
-
errorReport: (e) =>
|
|
158
|
-
},
|
|
159
|
-
function
|
|
162
|
+
], Re = {
|
|
163
|
+
downloadTemplate: () => m.importTemplate(),
|
|
164
|
+
preview: (e, r) => m.importPreview(e, r),
|
|
165
|
+
validate: (e) => m.importValidate(e),
|
|
166
|
+
commit: (e, r) => m.importCommit(e, r),
|
|
167
|
+
errorReport: (e) => m.importErrorReport(e)
|
|
168
|
+
}, V = n(null);
|
|
169
|
+
function ze(e) {
|
|
160
170
|
const r = Array.isArray(e) ? e[0] : e;
|
|
161
|
-
|
|
171
|
+
V.value = r && r.order ? { field: String(r.columnKey), order: r.order === "ascend" ? "asc" : "desc" } : null;
|
|
162
172
|
}
|
|
163
|
-
async function
|
|
173
|
+
async function Me(e) {
|
|
164
174
|
var u, o;
|
|
165
|
-
const r =
|
|
166
|
-
|
|
175
|
+
const r = Sr(v.value);
|
|
176
|
+
H.value = !0;
|
|
167
177
|
try {
|
|
168
|
-
const
|
|
178
|
+
const l = await m.export({
|
|
169
179
|
account: r.account || void 0,
|
|
170
180
|
name: r.name || void 0,
|
|
171
|
-
orgId:
|
|
181
|
+
orgId: re.value.orgId,
|
|
172
182
|
roleId: r.roleId != null ? Number(r.roleId) : void 0,
|
|
173
|
-
sortField: (u =
|
|
174
|
-
sortOrder: (o =
|
|
183
|
+
sortField: (u = V.value) == null ? void 0 : u.field,
|
|
184
|
+
sortOrder: (o = V.value) == null ? void 0 : o.order,
|
|
175
185
|
columns: e.join(",")
|
|
176
186
|
});
|
|
177
|
-
|
|
178
|
-
} catch (
|
|
179
|
-
|
|
187
|
+
Or(l, t("userExport.fileName")), R.value = !1, M.success(t("export.done"));
|
|
188
|
+
} catch (l) {
|
|
189
|
+
M.error(me(l));
|
|
180
190
|
} finally {
|
|
181
|
-
|
|
191
|
+
H.value = !1;
|
|
182
192
|
}
|
|
183
193
|
}
|
|
184
|
-
const
|
|
194
|
+
const O = () => d("span", { class: "faint" }, "—"), j = (e) => () => d(c, { icon: e, size: 16 }), ie = [
|
|
185
195
|
{ type: "index", title: () => t("common.rowNo"), width: 64, align: "center" },
|
|
186
196
|
// 超管行禁勾:批量删除同样不可含超管(后端也会整体拒绝)
|
|
187
197
|
{ type: "selection", disabled: (e) => e.isSuperAdmin },
|
|
@@ -194,16 +204,16 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
194
204
|
card: !1,
|
|
195
205
|
// 窄档卡片的标题是姓名,头像不进卡片
|
|
196
206
|
render: (e) => d(
|
|
197
|
-
|
|
207
|
+
Ve,
|
|
198
208
|
{ round: !0, size: "small", src: e.avatar || void 0 },
|
|
199
|
-
e.avatar ? { fallback: () =>
|
|
209
|
+
e.avatar ? { fallback: () => se(e.name) } : { default: () => se(e.name) }
|
|
200
210
|
)
|
|
201
211
|
},
|
|
202
212
|
{
|
|
203
213
|
key: "account",
|
|
204
214
|
ellipsis: { tooltip: !0 },
|
|
205
215
|
title: () => t("user.account"),
|
|
206
|
-
search: { actions:
|
|
216
|
+
search: { actions: Q.fuzzy },
|
|
207
217
|
sorter: !0
|
|
208
218
|
},
|
|
209
219
|
{
|
|
@@ -211,7 +221,7 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
211
221
|
ellipsis: { tooltip: !0 },
|
|
212
222
|
title: () => t("user.name"),
|
|
213
223
|
card: "title",
|
|
214
|
-
search: { actions:
|
|
224
|
+
search: { actions: Q.fuzzy },
|
|
215
225
|
sorter: !0
|
|
216
226
|
},
|
|
217
227
|
{
|
|
@@ -220,7 +230,7 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
220
230
|
ellipsis: { tooltip: !0 },
|
|
221
231
|
title: () => t("user.phone"),
|
|
222
232
|
sorter: !0,
|
|
223
|
-
render: (e) => e.phone ? d("span", { class: "num" }, e.phone) :
|
|
233
|
+
render: (e) => e.phone ? d("span", { class: "num" }, e.phone) : O()
|
|
224
234
|
},
|
|
225
235
|
{
|
|
226
236
|
key: "gender",
|
|
@@ -228,7 +238,7 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
228
238
|
width: 80,
|
|
229
239
|
hideInTable: !0,
|
|
230
240
|
// 次要列:默认隐藏收窄整表,列设置抽屉可打开
|
|
231
|
-
render: (e) => e.gender ? d(
|
|
241
|
+
render: (e) => e.gender ? d(or, { typeCode: "gender", value: e.gender }) : O()
|
|
232
242
|
},
|
|
233
243
|
// 只作搜索项,不进表格也不进列设置。options 直接吃编辑表单已拉好的 roleOptions(SmartTable 支持 Ref 选项源),不额外发请求;
|
|
234
244
|
// 列上有 options,搜索控件自动是 select。
|
|
@@ -236,32 +246,32 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
236
246
|
key: "roleId",
|
|
237
247
|
title: () => t("user.roles"),
|
|
238
248
|
hideInTable: !0,
|
|
239
|
-
options:
|
|
240
|
-
search: { actions:
|
|
249
|
+
options: L,
|
|
250
|
+
search: { actions: Q.exact, props: { clearable: !0 } }
|
|
241
251
|
},
|
|
242
252
|
{
|
|
243
253
|
key: "orgName",
|
|
244
254
|
ellipsis: { tooltip: !0 },
|
|
245
255
|
title: () => t("user.org"),
|
|
246
|
-
render: (e) => e.orgName ||
|
|
256
|
+
render: (e) => e.orgName || O()
|
|
247
257
|
},
|
|
248
258
|
{
|
|
249
259
|
key: "positionName",
|
|
250
260
|
title: () => t("user.position"),
|
|
251
261
|
hideInTable: !0,
|
|
252
|
-
render: (e) => e.positionName ||
|
|
262
|
+
render: (e) => e.positionName || O()
|
|
253
263
|
},
|
|
254
264
|
{
|
|
255
265
|
key: "enabled",
|
|
256
266
|
title: () => t("user.status"),
|
|
257
267
|
width: 90,
|
|
258
268
|
sorter: !0,
|
|
259
|
-
render: (e) => d(
|
|
269
|
+
render: (e) => d(tr, {
|
|
260
270
|
value: e.enabled,
|
|
261
271
|
// 超管不可停用(防自锁 —— 停了就没法从 UI 恢复;后端也保护);无启停权限亦置灰。
|
|
262
|
-
disabled: e.isSuperAdmin || !
|
|
272
|
+
disabled: e.isSuperAdmin || !f.hasPerm("PUT:/api/v1/sys/user/{id}/enabled"),
|
|
263
273
|
confirm: (r) => r ? null : t("user.disableConfirm", { name: e.name }),
|
|
264
|
-
request: (r) =>
|
|
274
|
+
request: (r) => m.setEnabled(e.id, r),
|
|
265
275
|
"onUpdate:value": (r) => {
|
|
266
276
|
e.enabled = r;
|
|
267
277
|
}
|
|
@@ -271,7 +281,7 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
271
281
|
key: "isSuperAdmin",
|
|
272
282
|
title: () => t("user.superAdmin"),
|
|
273
283
|
width: 90,
|
|
274
|
-
render: (e) => e.isSuperAdmin ? d(
|
|
284
|
+
render: (e) => e.isSuperAdmin ? d(je, { type: "warning", size: "small", bordered: !1 }, () => t("user.superAdmin")) : O()
|
|
275
285
|
},
|
|
276
286
|
{
|
|
277
287
|
key: "createTime",
|
|
@@ -291,40 +301,40 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
291
301
|
hideInSetting: !0,
|
|
292
302
|
render: (e) => {
|
|
293
303
|
const u = [
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
e.totpEnabled &&
|
|
304
|
+
f.hasPerm("PUT:/api/v1/sys/user/menu") && !e.isSuperAdmin && e.id !== he.value ? { key: "grantMenus", label: t("userGrant.action"), icon: j("ph:list-checks") } : null,
|
|
305
|
+
f.hasPerm("PUT:/api/v1/sys/user/{id}/password") ? { key: "resetPassword", label: t("user.resetPassword"), icon: j("ph:key") } : null,
|
|
306
|
+
e.totpEnabled && f.hasPerm("POST:/api/v1/sys/mfa/clear") ? {
|
|
297
307
|
key: "clearMfa",
|
|
298
308
|
label: t("user.clearMfa"),
|
|
299
|
-
icon:
|
|
300
|
-
disabled:
|
|
309
|
+
icon: j("ph:link-break"),
|
|
310
|
+
disabled: A.value
|
|
301
311
|
} : null
|
|
302
312
|
].filter((o) => o !== null);
|
|
303
|
-
return d(
|
|
304
|
-
|
|
305
|
-
|
|
313
|
+
return d(We, { size: 4, wrap: !1, wrapItem: !1 }, () => [
|
|
314
|
+
f.hasPerm("PUT:/api/v1/sys/user/{id}") ? d(
|
|
315
|
+
k,
|
|
306
316
|
{
|
|
307
317
|
size: "small",
|
|
308
318
|
quaternary: !0,
|
|
309
319
|
type: "primary",
|
|
310
320
|
onClick: () => {
|
|
311
321
|
var o;
|
|
312
|
-
return (o =
|
|
322
|
+
return (o = U.value) == null ? void 0 : o.openEdit(e);
|
|
313
323
|
}
|
|
314
324
|
},
|
|
315
325
|
() => t("common.edit")
|
|
316
326
|
) : null,
|
|
317
|
-
e.isSuperAdmin || !
|
|
318
|
-
|
|
327
|
+
e.isSuperAdmin || !f.hasPerm("DELETE:/api/v1/sys/user/{id}") ? null : d(
|
|
328
|
+
Je,
|
|
319
329
|
{
|
|
320
|
-
onPositiveClick: () =>
|
|
321
|
-
var
|
|
322
|
-
o && ((
|
|
330
|
+
onPositiveClick: () => ce(() => m.remove(e.id), t("user.deleted")).then((o) => {
|
|
331
|
+
var l;
|
|
332
|
+
o && ((l = v.value) == null || l.refresh());
|
|
323
333
|
})
|
|
324
334
|
},
|
|
325
335
|
{
|
|
326
336
|
trigger: () => d(
|
|
327
|
-
|
|
337
|
+
k,
|
|
328
338
|
{ size: "small", quaternary: !0, type: "error" },
|
|
329
339
|
() => t("common.delete")
|
|
330
340
|
),
|
|
@@ -332,27 +342,27 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
332
342
|
}
|
|
333
343
|
),
|
|
334
344
|
u.length ? d(
|
|
335
|
-
|
|
345
|
+
Qe,
|
|
336
346
|
{
|
|
337
347
|
trigger: "click",
|
|
338
348
|
options: u,
|
|
339
349
|
onSelect: (o) => {
|
|
340
|
-
var
|
|
341
|
-
o === "resetPassword" ? (
|
|
350
|
+
var l, P;
|
|
351
|
+
o === "resetPassword" ? (l = D.value) == null || l.openReset(e) : o === "clearMfa" ? ye(e) : o === "grantMenus" && ((P = F.value) == null || P.open({ id: e.id, name: e.name }));
|
|
342
352
|
}
|
|
343
353
|
},
|
|
344
354
|
() => d(
|
|
345
|
-
|
|
355
|
+
k,
|
|
346
356
|
{
|
|
347
357
|
size: "small",
|
|
348
358
|
quaternary: !0,
|
|
349
359
|
type: "primary",
|
|
350
360
|
iconPlacement: "right",
|
|
351
|
-
loading:
|
|
361
|
+
loading: A.value
|
|
352
362
|
},
|
|
353
363
|
{
|
|
354
364
|
default: () => t("common.more"),
|
|
355
|
-
icon: () => d(
|
|
365
|
+
icon: () => d(c, { icon: "ph:caret-down", size: 12 })
|
|
356
366
|
}
|
|
357
367
|
)
|
|
358
368
|
) : null
|
|
@@ -360,87 +370,105 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
360
370
|
}
|
|
361
371
|
}
|
|
362
372
|
];
|
|
363
|
-
return
|
|
364
|
-
const u =
|
|
365
|
-
return
|
|
366
|
-
|
|
367
|
-
default: i(() => [
|
|
368
|
-
|
|
369
|
-
h("
|
|
370
|
-
|
|
373
|
+
return kr(ie), (e, r) => {
|
|
374
|
+
const u = Fe("auth");
|
|
375
|
+
return h(), W(Le, null, [
|
|
376
|
+
s(a(ke), null, {
|
|
377
|
+
default: i(({ drawer: o }) => [
|
|
378
|
+
y("div", Ir, [
|
|
379
|
+
o ? T("", !0) : (h(), W("span", Ar, b(a(t)("user.orgFilter")), 1)),
|
|
380
|
+
y("div", Cr, [
|
|
381
|
+
Oe.value ? (h(), N(a(pe), { key: 0 }, {
|
|
371
382
|
trigger: i(() => [
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}, null, 8, ["icon"])
|
|
384
|
-
]),
|
|
385
|
-
_: 1
|
|
386
|
-
}, 8, ["aria-label"])
|
|
383
|
+
y("button", {
|
|
384
|
+
type: "button",
|
|
385
|
+
class: J(["side-filter__btn side-filter__toggle", { "is-flipped": K.value }]),
|
|
386
|
+
"aria-label": ae.value,
|
|
387
|
+
onClick: Pe
|
|
388
|
+
}, [
|
|
389
|
+
s(c, {
|
|
390
|
+
icon: "ph:caret-double-down",
|
|
391
|
+
size: 14
|
|
392
|
+
})
|
|
393
|
+
], 10, Rr)
|
|
387
394
|
]),
|
|
388
395
|
default: i(() => [
|
|
389
|
-
|
|
396
|
+
I(" " + b(ae.value), 1)
|
|
390
397
|
]),
|
|
391
398
|
_: 1
|
|
392
|
-
})) :
|
|
399
|
+
})) : T("", !0),
|
|
400
|
+
o ? T("", !0) : (h(), N(a(pe), { key: 1 }, {
|
|
401
|
+
trigger: i(() => [
|
|
402
|
+
y("button", {
|
|
403
|
+
type: "button",
|
|
404
|
+
class: "side-filter__btn side-filter__hide",
|
|
405
|
+
"aria-label": a(t)("user.hideOrgPanel"),
|
|
406
|
+
onClick: r[0] || (r[0] = (l) => E.value = !0)
|
|
407
|
+
}, [
|
|
408
|
+
s(c, {
|
|
409
|
+
icon: "ph:sidebar-simple",
|
|
410
|
+
size: 16
|
|
411
|
+
})
|
|
412
|
+
], 8, zr)
|
|
413
|
+
]),
|
|
414
|
+
default: i(() => [
|
|
415
|
+
I(" " + b(a(t)("user.hideOrgPanel")), 1)
|
|
416
|
+
]),
|
|
417
|
+
_: 1
|
|
418
|
+
}))
|
|
393
419
|
])
|
|
394
420
|
]),
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
421
|
+
xe.value ? (h(), N(a(Xe), {
|
|
422
|
+
key: 0,
|
|
423
|
+
value: $.value,
|
|
424
|
+
"onUpdate:value": r[1] || (r[1] = (l) => $.value = l),
|
|
398
425
|
size: "small",
|
|
399
426
|
clearable: "",
|
|
400
427
|
placeholder: a(t)("org.searchPlaceholder")
|
|
401
428
|
}, {
|
|
402
429
|
prefix: i(() => [
|
|
403
|
-
|
|
430
|
+
s(c, {
|
|
404
431
|
icon: "ph:magnifying-glass",
|
|
405
432
|
size: 14
|
|
406
433
|
})
|
|
407
434
|
]),
|
|
408
435
|
_: 1
|
|
409
|
-
}, 8, ["value", "placeholder"]),
|
|
410
|
-
|
|
436
|
+
}, 8, ["value", "placeholder"])) : T("", !0),
|
|
437
|
+
y("button", {
|
|
411
438
|
type: "button",
|
|
412
|
-
class:
|
|
413
|
-
onClick: r[
|
|
439
|
+
class: J(["side-row", { "is-active": g.value === null }]),
|
|
440
|
+
onClick: r[2] || (r[2] = (l) => te(null))
|
|
414
441
|
}, [
|
|
415
|
-
|
|
442
|
+
s(c, {
|
|
416
443
|
class: "side-row__icon",
|
|
417
444
|
icon: "ph:squares-four",
|
|
418
445
|
size: 15
|
|
419
446
|
}),
|
|
420
|
-
|
|
447
|
+
y("span", Mr, b(a(t)("user.allOrgs")), 1)
|
|
421
448
|
], 2),
|
|
422
|
-
r[15] || (r[15] =
|
|
423
|
-
|
|
424
|
-
show:
|
|
449
|
+
r[15] || (r[15] = y("div", { class: "side-filter__divider" }, null, -1)),
|
|
450
|
+
s(a(Ye), {
|
|
451
|
+
show: ee.value,
|
|
425
452
|
class: "fill-pass"
|
|
426
453
|
}, {
|
|
427
454
|
default: i(() => [
|
|
428
|
-
|
|
455
|
+
s(a(Ze), {
|
|
429
456
|
class: "side-tree",
|
|
430
457
|
"block-line": "",
|
|
431
458
|
selectable: "",
|
|
432
|
-
|
|
459
|
+
indent: 16,
|
|
433
460
|
"key-field": "id",
|
|
434
461
|
"label-field": "name",
|
|
435
462
|
"children-field": "children",
|
|
436
|
-
data:
|
|
437
|
-
pattern:
|
|
438
|
-
filter:
|
|
463
|
+
data: G.value,
|
|
464
|
+
pattern: $.value,
|
|
465
|
+
filter: Ee,
|
|
439
466
|
"show-irrelevant-nodes": !1,
|
|
440
|
-
"selected-keys":
|
|
441
|
-
"expanded-keys":
|
|
442
|
-
"
|
|
443
|
-
"onUpdate:
|
|
467
|
+
"selected-keys": g.value == null ? [] : [g.value],
|
|
468
|
+
"expanded-keys": w.value,
|
|
469
|
+
"render-switcher-icon": _e,
|
|
470
|
+
"onUpdate:selectedKeys": we,
|
|
471
|
+
"onUpdate:expandedKeys": r[3] || (r[3] = (l) => w.value = l)
|
|
444
472
|
}, null, 8, ["data", "pattern", "selected-keys", "expanded-keys"])
|
|
445
473
|
]),
|
|
446
474
|
_: 1
|
|
@@ -448,51 +476,51 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
448
476
|
]),
|
|
449
477
|
_: 1
|
|
450
478
|
}),
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
])),
|
|
459
|
-
|
|
479
|
+
y("div", Ur, [
|
|
480
|
+
a(x) ? T("", !0) : (h(), W("aside", {
|
|
481
|
+
key: 0,
|
|
482
|
+
class: J(["side-filter", { "is-hidden": a(E) }]),
|
|
483
|
+
inert: a(E) || void 0
|
|
484
|
+
}, [
|
|
485
|
+
s(a(oe))
|
|
486
|
+
], 10, Dr)),
|
|
487
|
+
s(a(rr), {
|
|
460
488
|
ref_key: "tableRef",
|
|
461
|
-
ref:
|
|
462
|
-
columns:
|
|
463
|
-
fetcher: a(
|
|
464
|
-
params:
|
|
489
|
+
ref: v,
|
|
490
|
+
columns: ie,
|
|
491
|
+
fetcher: a(m).page,
|
|
492
|
+
params: re.value,
|
|
465
493
|
search: { container: "table" },
|
|
466
|
-
toolbar:
|
|
494
|
+
toolbar: Ie.value,
|
|
467
495
|
"fill-height": "",
|
|
468
|
-
"min-row-height": a(
|
|
496
|
+
"min-row-height": a(_r),
|
|
469
497
|
"card-on-narrow": "",
|
|
470
498
|
"storage-key": "sys-user",
|
|
471
|
-
"checked-row-keys": a(
|
|
472
|
-
"onUpdate:sorter":
|
|
473
|
-
"onUpdate:checkedRowKeys": r[5] || (r[5] = (o) =>
|
|
474
|
-
onMoreSelect:
|
|
475
|
-
onError: r[6] || (r[6] = (o) => a(
|
|
476
|
-
},
|
|
499
|
+
"checked-row-keys": a(X),
|
|
500
|
+
"onUpdate:sorter": ze,
|
|
501
|
+
"onUpdate:checkedRowKeys": r[5] || (r[5] = (o) => X.value = o),
|
|
502
|
+
onMoreSelect: Ae,
|
|
503
|
+
onError: r[6] || (r[6] = (o) => a(M).error(a(me)(o)))
|
|
504
|
+
}, Ge({
|
|
477
505
|
"pagination-prefix": i(({ itemCount: o }) => [
|
|
478
|
-
|
|
506
|
+
s(Er, { count: o }, null, 8, ["count"])
|
|
479
507
|
]),
|
|
480
508
|
"toolbar-right": i(() => [
|
|
481
|
-
|
|
509
|
+
de((h(), N(a(k), {
|
|
482
510
|
type: "primary",
|
|
483
511
|
onClick: r[4] || (r[4] = (o) => {
|
|
484
|
-
var
|
|
485
|
-
return (
|
|
512
|
+
var l;
|
|
513
|
+
return (l = U.value) == null ? void 0 : l.openAdd();
|
|
486
514
|
})
|
|
487
515
|
}, {
|
|
488
516
|
icon: i(() => [
|
|
489
|
-
|
|
517
|
+
s(c, {
|
|
490
518
|
icon: "ph:plus",
|
|
491
519
|
size: 16
|
|
492
520
|
})
|
|
493
521
|
]),
|
|
494
522
|
default: i(() => [
|
|
495
|
-
|
|
523
|
+
I(" " + b(a(t)("common.add")), 1)
|
|
496
524
|
]),
|
|
497
525
|
_: 1
|
|
498
526
|
})), [
|
|
@@ -500,19 +528,19 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
500
528
|
])
|
|
501
529
|
]),
|
|
502
530
|
batch: i(() => [
|
|
503
|
-
|
|
531
|
+
de((h(), N(a(k), {
|
|
504
532
|
secondary: "",
|
|
505
533
|
type: "error",
|
|
506
|
-
onClick: a(
|
|
534
|
+
onClick: a(ve)
|
|
507
535
|
}, {
|
|
508
536
|
icon: i(() => [
|
|
509
|
-
|
|
537
|
+
s(c, {
|
|
510
538
|
icon: "ph:trash",
|
|
511
539
|
size: 16
|
|
512
540
|
})
|
|
513
541
|
]),
|
|
514
542
|
default: i(() => [
|
|
515
|
-
|
|
543
|
+
I(" " + b(a(t)("common.batchDelete")), 1)
|
|
516
544
|
]),
|
|
517
545
|
_: 1
|
|
518
546
|
}, 8, ["onClick"])), [
|
|
@@ -521,107 +549,98 @@ const Sr = { class: "side-filter__head" }, Er = { class: "side-filter__actions"
|
|
|
521
549
|
]),
|
|
522
550
|
_: 2
|
|
523
551
|
}, [
|
|
524
|
-
|
|
552
|
+
a(x) || a(E) ? {
|
|
525
553
|
name: "toolbar",
|
|
526
554
|
fn: i(() => [
|
|
527
|
-
|
|
555
|
+
s(a(k), {
|
|
556
|
+
class: "org-trigger",
|
|
528
557
|
secondary: "",
|
|
529
|
-
|
|
558
|
+
title: a(x) ? void 0 : a(t)("user.showOrgPanel"),
|
|
559
|
+
onClick: be
|
|
530
560
|
}, {
|
|
531
561
|
icon: i(() => [
|
|
532
|
-
|
|
533
|
-
icon: "ph:tree-structure",
|
|
562
|
+
s(c, {
|
|
563
|
+
icon: a(x) ? "ph:tree-structure" : "ph:sidebar-simple",
|
|
534
564
|
size: 16
|
|
535
|
-
})
|
|
565
|
+
}, null, 8, ["icon"])
|
|
536
566
|
]),
|
|
537
567
|
default: i(() => [
|
|
538
|
-
|
|
568
|
+
I(" " + b(Se.value), 1)
|
|
539
569
|
]),
|
|
540
570
|
_: 1
|
|
541
|
-
})
|
|
571
|
+
}, 8, ["title"])
|
|
542
572
|
]),
|
|
543
573
|
key: "0"
|
|
544
574
|
} : void 0
|
|
545
575
|
]), 1032, ["fetcher", "params", "toolbar", "min-row-height", "checked-row-keys"])
|
|
546
|
-
]
|
|
547
|
-
|
|
548
|
-
show:
|
|
549
|
-
"onUpdate:show": r[7] || (r[7] = (o) =>
|
|
550
|
-
|
|
551
|
-
width: "min(300px, 88vw)"
|
|
576
|
+
]),
|
|
577
|
+
s(sr, {
|
|
578
|
+
show: a(_),
|
|
579
|
+
"onUpdate:show": r[7] || (r[7] = (o) => $e(_) ? _.value = o : null),
|
|
580
|
+
title: a(t)("user.orgFilter")
|
|
552
581
|
}, {
|
|
553
582
|
default: i(() => [
|
|
554
|
-
|
|
555
|
-
title: a(t)("user.orgFilter"),
|
|
556
|
-
closable: ""
|
|
557
|
-
}, {
|
|
558
|
-
default: i(() => [
|
|
559
|
-
h("div", Ar, [
|
|
560
|
-
l(a(re))
|
|
561
|
-
])
|
|
562
|
-
]),
|
|
563
|
-
_: 1
|
|
564
|
-
}, 8, ["title"])
|
|
583
|
+
s(a(oe), { drawer: !0 })
|
|
565
584
|
]),
|
|
566
585
|
_: 1
|
|
567
|
-
}, 8, ["show"]),
|
|
568
|
-
|
|
586
|
+
}, 8, ["show", "title"]),
|
|
587
|
+
s(nr, {
|
|
569
588
|
ref_key: "userFormRef",
|
|
570
|
-
ref:
|
|
571
|
-
"position-options":
|
|
572
|
-
"role-options":
|
|
573
|
-
"director-options":
|
|
589
|
+
ref: U,
|
|
590
|
+
"position-options": Y.value,
|
|
591
|
+
"role-options": L.value,
|
|
592
|
+
"director-options": Z.value,
|
|
574
593
|
onSaved: r[8] || (r[8] = () => {
|
|
575
594
|
var o;
|
|
576
|
-
return (o =
|
|
595
|
+
return (o = v.value) == null ? void 0 : o.refresh();
|
|
577
596
|
}),
|
|
578
597
|
onPasswordGenerated: r[9] || (r[9] = (o) => {
|
|
579
|
-
var
|
|
580
|
-
return (
|
|
598
|
+
var l;
|
|
599
|
+
return (l = D.value) == null ? void 0 : l.showResult(o, !0);
|
|
581
600
|
})
|
|
582
601
|
}, null, 8, ["position-options", "role-options", "director-options"]),
|
|
583
|
-
|
|
602
|
+
s(ir, {
|
|
584
603
|
ref_key: "resetModalRef",
|
|
585
|
-
ref:
|
|
604
|
+
ref: D
|
|
586
605
|
}, null, 512),
|
|
587
|
-
|
|
606
|
+
s(ur, {
|
|
588
607
|
ref_key: "grantSheetRef",
|
|
589
|
-
ref:
|
|
590
|
-
onSaved:
|
|
608
|
+
ref: F,
|
|
609
|
+
onSaved: Te
|
|
591
610
|
}, null, 512),
|
|
592
|
-
|
|
611
|
+
s(dr, {
|
|
593
612
|
ref_key: "grantOverviewRef",
|
|
594
|
-
ref:
|
|
595
|
-
show:
|
|
596
|
-
"onUpdate:show": r[10] || (r[10] = (o) =>
|
|
613
|
+
ref: ne,
|
|
614
|
+
show: z.value,
|
|
615
|
+
"onUpdate:show": r[10] || (r[10] = (o) => z.value = o),
|
|
597
616
|
onAdjust: r[11] || (r[11] = (o) => {
|
|
598
|
-
var
|
|
599
|
-
return (
|
|
617
|
+
var l;
|
|
618
|
+
return (l = F.value) == null ? void 0 : l.open(o);
|
|
600
619
|
})
|
|
601
620
|
}, null, 8, ["show"]),
|
|
602
|
-
|
|
603
|
-
show:
|
|
604
|
-
"onUpdate:show": r[12] || (r[12] = (o) =>
|
|
605
|
-
api:
|
|
621
|
+
s(ar, {
|
|
622
|
+
show: q.value,
|
|
623
|
+
"onUpdate:show": r[12] || (r[12] = (o) => q.value = o),
|
|
624
|
+
api: Re,
|
|
606
625
|
"template-file-name": a(t)("userExport.importTemplateName"),
|
|
607
626
|
"error-report-file-name": a(t)("userExport.errorReportName"),
|
|
608
627
|
onDone: r[13] || (r[13] = () => {
|
|
609
628
|
var o;
|
|
610
|
-
return (o =
|
|
629
|
+
return (o = v.value) == null ? void 0 : o.refresh();
|
|
611
630
|
})
|
|
612
631
|
}, null, 8, ["show", "template-file-name", "error-report-file-name"]),
|
|
613
|
-
|
|
614
|
-
show:
|
|
615
|
-
"onUpdate:show": r[14] || (r[14] = (o) =>
|
|
616
|
-
columns:
|
|
617
|
-
loading:
|
|
618
|
-
onConfirm:
|
|
632
|
+
s(lr, {
|
|
633
|
+
show: R.value,
|
|
634
|
+
"onUpdate:show": r[14] || (r[14] = (o) => R.value = o),
|
|
635
|
+
columns: Ce,
|
|
636
|
+
loading: H.value,
|
|
637
|
+
onConfirm: Me
|
|
619
638
|
}, null, 8, ["show", "loading"])
|
|
620
639
|
], 64);
|
|
621
640
|
};
|
|
622
641
|
}
|
|
623
642
|
});
|
|
624
643
|
export {
|
|
625
|
-
|
|
644
|
+
vt as default
|
|
626
645
|
};
|
|
627
646
|
//# sourceMappingURL=index2.vue.js.map
|