@ximatai/muyun-web-app 0.26.3 → 0.26.5
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/{EmployeeDetailWorkspaceView-mtdcsqgF.js → EmployeeDetailWorkspaceView-rm9ujeiQ.js} +1 -1
- package/dist/{EmployeeManagementView-CKKvQZaC.js → EmployeeManagementView-DyYMWQ64.js} +510 -510
- package/dist/{MetadataOrchestrationView-CprWBocy.js → MetadataOrchestrationView-DaPNQML7.js} +175 -175
- package/dist/{ModuleActionManagementView-DNuAQUPE.js → ModuleActionManagementView-BFoPGqzC.js} +197 -197
- package/dist/{RoleAuthorizationView-CQtSAJoJ.js → RoleAuthorizationView-qQvn7M75.js} +56 -56
- package/dist/{RoleDetailWorkspaceView-Dh8DXpyS.js → RoleDetailWorkspaceView-C-vaKeZM.js} +1 -1
- package/dist/{RoleManagementView-BrqaFV7y.js → RoleManagementView-C3nxfub2.js} +490 -490
- package/dist/{SystemUserDetailWorkspaceView-N-kvycAu.js → SystemUserDetailWorkspaceView-FIbfff00.js} +1 -1
- package/dist/{SystemUserManagementView-BVS5moV5.js → SystemUserManagementView-m6vwJDxI.js} +128 -128
- package/dist/{UserDetailWorkspaceView-Iek6xwix.js → UserDetailWorkspaceView-M--ndn6x.js} +1 -1
- package/dist/{UserManagementView-BR_Jz8O-.js → UserManagementView-MSXf4fno.js} +293 -293
- package/dist/index.css +1 -1
- package/dist/index.js +2250 -2250
- package/dist/{pageRealtime-sRtDYlQP.js → pageRealtime-4LXXvVW7.js} +10 -10
- package/dist/{platform-components-bC1gwhic.js → platform-components-_3KlZZf5.js} +1195 -1467
- package/dist/types/app/LoginView.vue.d.ts +2 -2
- package/dist/types/app/appWorkbenchStartup.d.ts +1 -1
- package/dist/types/app/platformMessage.d.ts +1 -1
- package/dist/types/app/query.d.ts +1 -1
- package/dist/types/app/workbenchStartup.d.ts +3 -3
- package/dist/types/consumer/PlatformAdminOutlet.vue.d.ts +1 -1
- package/dist/types/consumer/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/DynamicModulePage.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/actionReactions.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/mockDescriptor.d.ts +1 -1
- package/dist/types/main.d.ts +1 -1
- package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +1 -1
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +1 -1
- package/dist/types/platform-admin-runtime/WorkspaceViewOutlet.vue.d.ts +1 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +1 -1
- package/dist/types/platform-admin-runtime/currentUserContext.d.ts +1 -1
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +2 -2
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +1 -1
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +1 -1
- package/dist/types/platform-admin-runtime/realtime.d.ts +4 -4
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +1 -1
- package/dist/types/platform-admin-runtime/useWorkspaceViewPromotion.d.ts +1 -1
- package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +1 -1
- package/dist/types/platform-admin-runtime/workspaceViews.d.ts +1 -1
- package/dist/types/platform-components/ApplicationScopeSwitcher.vue.d.ts +1 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordMetaSection.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +15 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
- package/dist/types/platform-components/actionConfirmation.d.ts +1 -1
- package/dist/types/platform-components/index.d.ts +1 -0
- package/dist/types/platform-components/optionFieldOptions.d.ts +1 -1
- package/dist/types/platform-components/pageLayoutContext.d.ts +1 -1
- package/dist/types/platform-components/platformActionResultReactions.d.ts +1 -1
- package/dist/types/platform-components/platformErrorFeedback.d.ts +1 -1
- package/dist/types/platform-components/recordActionBarModel.d.ts +2 -2
- package/dist/types/platform-components/recordEditorSessionState.d.ts +1 -1
- package/dist/types/platform-components/recordExplorerItemModel.d.ts +1 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +3 -3
- package/dist/types/platform-components/recycleBinState.d.ts +2 -2
- package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +1 -1
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +1 -1
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +1 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +2 -2
- package/dist/types/platform-components/staticFormActionFlow.d.ts +1 -1
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +1 -1
- package/dist/types/platform-components/treeRecordModel.d.ts +1 -1
- package/dist/types/platform-components/useRecycleBinExplorerMode.d.ts +1 -1
- package/dist/types/platform-components/userSessionPresentation.d.ts +1 -1
- package/dist/types/platform-workbench/Workbench.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +1 -1
- package/dist/types/platform-workbench/hosts/BusinessRouteHost.vue.d.ts +1 -1
- package/dist/types/platform-workbench/hosts/ExternalPageHost.vue.d.ts +1 -1
- package/dist/types/platform-workbench/hosts/PlatformRouteHost.vue.d.ts +1 -1
- package/dist/types/platform-workbench/menuNavigation.d.ts +1 -1
- package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -1
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -1
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +3 -3
- package/dist/types/views/EmployeeEmploymentDrawer.vue.d.ts +1 -1
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +1 -1
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +2 -2
- package/dist/types/views/RoleDetailWorkspaceView.vue.d.ts +1 -1
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +2 -2
- package/dist/types/views/RoleGroupMemberSelector.vue.d.ts +1 -1
- package/dist/types/views/RoleManagementView.vue.d.ts +1 -1
- package/dist/types/views/UserDetailContent.vue.d.ts +2 -2
- package/dist/types/views/applicationManagementState.d.ts +3 -3
- package/dist/types/views/departmentManagementState.d.ts +3 -3
- package/dist/types/views/dictionaryManagementState.d.ts +4 -4
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/fieldSpecManagementState.d.ts +3 -3
- package/dist/types/views/fieldUiControlManagementState.d.ts +3 -3
- package/dist/types/views/menuManagementState.d.ts +7 -7
- package/dist/types/views/metadataOrchestrationState.d.ts +1 -1
- package/dist/types/views/moduleManagementState.d.ts +5 -5
- package/dist/types/views/organizationManagementState.d.ts +4 -4
- package/dist/types/views/positionManagementState.d.ts +4 -4
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/roleGrantClient.d.ts +2 -2
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/tenantManagementState.d.ts +3 -3
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +2 -2
- package/dist/types/views/useUserSessionRows.d.ts +3 -3
- package/dist/types/views/userDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/ActionBar.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/DictionarySelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/ReferenceSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiForm.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/dictionaries.d.ts +1 -1
- package/dist/types/vue-ui-antdv/references.d.ts +1 -1
- package/dist/types/vue-ui-antdv/registry.d.ts +1 -1
- package/dist/types/web-core/actionResult.d.ts +1 -2
- package/dist/types/web-core/clients.d.ts +1 -1
- package/dist/types/web-core/dataChanges.d.ts +1 -1
- package/dist/types/web-core/errors.d.ts +1 -1
- package/dist/types/web-core/http.d.ts +1 -1
- package/dist/types/web-core/mock.d.ts +1 -1
- package/dist/types/web-core/module/runtimeContext.d.ts +1 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +1 -1
- package/dist/types/web-core/realtime.d.ts +1 -1
- package/dist/{useUserSessionRows-CLM0ZvAF.js → useUserSessionRows-iAqK_cUy.js} +2 -2
- package/dist/workspaceViewSessions-DW0wbyQ_.js +1448 -0
- package/package.json +1 -1
- package/dist/workspaceViewSessions-WsJU3OS7.js +0 -1578
package/dist/{SystemUserDetailWorkspaceView-N-kvycAu.js → SystemUserDetailWorkspaceView-FIbfff00.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./SystemUserManagementView-
|
|
1
|
+
import { t as e } from "./SystemUserManagementView-m6vwJDxI.js";
|
|
2
2
|
import { createBlock as t, defineComponent as n, openBlock as r } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/views/SystemUserDetailWorkspaceView.vue
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as
|
|
5
|
-
import { Fragment as
|
|
1
|
+
import { A as e, D as t, E as n, K as r, N as i, S as ee, Sn as te, St as a, X as o, _ as s, c as ne, g as re, ht as ie, i as c, k as ae, m as oe, mt as se, q as l, r as ce, ut as u, v as le, w as ue } from "./platform-components-_3KlZZf5.js";
|
|
2
|
+
import { d, g as de, i as fe, n as f, r as p, t as m } from "./workspaceViewSessions-DW0wbyQ_.js";
|
|
3
|
+
import { i as pe, n as me } from "./pageRealtime-4LXXvVW7.js";
|
|
4
|
+
import { t as he } from "./useUserSessionRows-iAqK_cUy.js";
|
|
5
|
+
import { Fragment as ge, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, onBeforeUnmount as _e, onMounted as ve, openBlock as C, ref as w, resolveComponent as T, unref as E, watch as ye, withCtx as D, withModifiers as be } from "vue";
|
|
6
6
|
//#region src/views/systemUserDetailWorkspaceSession.ts
|
|
7
7
|
function xe(e, t) {
|
|
8
|
-
return
|
|
8
|
+
return m(d, e, {
|
|
9
9
|
...t,
|
|
10
10
|
selectedUser: { ...t.selectedUser },
|
|
11
11
|
draft: { ...t.draft }
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
function Se(e, t) {
|
|
15
|
-
return
|
|
15
|
+
return f(d, e, t);
|
|
16
16
|
}
|
|
17
17
|
function Ce(e) {
|
|
18
|
-
return
|
|
18
|
+
return p(d, e);
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/views/SystemUserManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -28,23 +28,23 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
28
28
|
}, Ae = {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: "system-user-password-reset-result"
|
|
31
|
-
}, je = { key: 0 }, Me = { key: 1 }, O = /*#__PURE__*/
|
|
31
|
+
}, je = { key: 0 }, Me = { key: 1 }, O = /*#__PURE__*/ ie(/* @__PURE__ */ S({
|
|
32
32
|
name: "SystemUserManagementView",
|
|
33
33
|
__name: "SystemUserManagementView",
|
|
34
34
|
props: {
|
|
35
35
|
recordId: {},
|
|
36
36
|
mode: {}
|
|
37
37
|
},
|
|
38
|
-
setup(
|
|
39
|
-
let
|
|
40
|
-
context:
|
|
38
|
+
setup(ie) {
|
|
39
|
+
let f = ie, p = a({ moduleAlias: "iam.user" }), m = de(), S = w(), O = w(), k = w(!1), A = w("view"), j = w(!1), M = w(!1), N = w(!1), P = w(0), F = w(0), I = w(Z()), L = w(""), R = w(), z = w(e(void 0)), B = h(() => !!f.recordId), V = h(() => B.value && m?.presentation === "drawer"), Ne = h(() => !B.value || V.value), { expandedUserKeys: Pe, handleUserListLoaded: Fe, handleUserRowExpand: Ie, handleUserSessionBusinessEvent: Le, loadUserSessions: H, userOnlineStatusTitle: Re, userSessionState: U } = he({
|
|
40
|
+
context: p,
|
|
41
41
|
source: "system-user-management"
|
|
42
|
-
}), W =
|
|
42
|
+
}), W = pe({
|
|
43
43
|
moduleAlias: "iam.user",
|
|
44
44
|
recordId: () => O.value?.id,
|
|
45
45
|
editing: () => A.value === "edit",
|
|
46
46
|
saving: () => N.value
|
|
47
|
-
}), G =
|
|
47
|
+
}), G = h(() => Ze(p)), ze = h(() => [
|
|
48
48
|
{
|
|
49
49
|
key: "username",
|
|
50
50
|
title: "账号",
|
|
@@ -73,15 +73,15 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
73
73
|
type: "enabledStatus",
|
|
74
74
|
width: "14%"
|
|
75
75
|
}
|
|
76
|
-
]), Be =
|
|
76
|
+
]), Be = h(() => $(O.value ?? I.value)), Ve = h(() => A.value === "resetPassword" ? "修改密码" : "系统账号"), K = h(() => N.value || j.value), He = h(() => {
|
|
77
77
|
if (j.value) return !1;
|
|
78
|
-
if (A.value === "edit") return !!O.value?.id &&
|
|
78
|
+
if (A.value === "edit") return !!O.value?.id && p.can("update") === !0;
|
|
79
79
|
if (A.value === "resetPassword") {
|
|
80
80
|
let e = O.value?.id;
|
|
81
|
-
return !!e &&
|
|
81
|
+
return !!e && p.can("changePassword", e) === !0;
|
|
82
82
|
}
|
|
83
83
|
return !1;
|
|
84
|
-
}), Ue =
|
|
84
|
+
}), Ue = h(() => !O.value?.id || j.value ? !1 : p.can(St(O.value)) === !0), We = h(() => A.value === "view" ? O.value?.id ? [
|
|
85
85
|
{
|
|
86
86
|
key: "edit",
|
|
87
87
|
actionCode: "update",
|
|
@@ -116,14 +116,14 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
116
116
|
primary: !0,
|
|
117
117
|
loading: N.value,
|
|
118
118
|
disabled: !He.value
|
|
119
|
-
}]), Ge =
|
|
120
|
-
view:
|
|
121
|
-
input:
|
|
119
|
+
}]), Ge = h(() => We.value), Ke = fe({
|
|
120
|
+
view: d,
|
|
121
|
+
input: h(() => {
|
|
122
122
|
let e = O.value?.id;
|
|
123
123
|
return e && (A.value === "view" || A.value === "edit") ? { recordId: e } : void 0;
|
|
124
124
|
}),
|
|
125
|
-
title:
|
|
126
|
-
eligibility:
|
|
125
|
+
title: h(() => $(O.value)),
|
|
126
|
+
eligibility: h(() => ({
|
|
127
127
|
hasStableIdentity: !!O.value?.id && !j.value,
|
|
128
128
|
busy: N.value
|
|
129
129
|
})),
|
|
@@ -140,9 +140,9 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
140
140
|
onPromoted: nt
|
|
141
141
|
});
|
|
142
142
|
ye(O, (e) => {
|
|
143
|
-
!B.value || !e ||
|
|
143
|
+
!B.value || !e || m?.setTitle($(e));
|
|
144
144
|
}, { immediate: !0 });
|
|
145
|
-
let q =
|
|
145
|
+
let q = h(() => ({
|
|
146
146
|
username: {
|
|
147
147
|
label: "账号",
|
|
148
148
|
required: !0,
|
|
@@ -154,28 +154,28 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
154
154
|
visible: !0,
|
|
155
155
|
controlType: "enabledStatus"
|
|
156
156
|
}
|
|
157
|
-
})), qe =
|
|
158
|
-
|
|
159
|
-
if (Xe(),
|
|
160
|
-
let e = { recordId:
|
|
157
|
+
})), qe = h(() => ["username", "enabled"]), Je;
|
|
158
|
+
ve(() => {
|
|
159
|
+
if (Xe(), f.recordId) {
|
|
160
|
+
let e = { recordId: f.recordId };
|
|
161
161
|
V.value || (Je = Se(e, Ye));
|
|
162
162
|
let t = Ce(e);
|
|
163
163
|
if (t) {
|
|
164
164
|
ht(t);
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
J({ id:
|
|
167
|
+
J({ id: f.recordId }, f.mode ?? "view");
|
|
168
168
|
}
|
|
169
|
-
}),
|
|
169
|
+
}), _e(() => Je?.());
|
|
170
170
|
function Ye(e) {
|
|
171
171
|
return A.value === "view" ? (ht(e), !0) : !1;
|
|
172
172
|
}
|
|
173
|
-
|
|
173
|
+
me(Le);
|
|
174
174
|
async function Xe() {
|
|
175
175
|
try {
|
|
176
|
-
z.value =
|
|
176
|
+
z.value = e((await p.runtime.ready).uiDescriptor);
|
|
177
177
|
} catch (e) {
|
|
178
|
-
|
|
178
|
+
r(e, {
|
|
179
179
|
source: "system-user-management",
|
|
180
180
|
phase: "load"
|
|
181
181
|
});
|
|
@@ -224,18 +224,18 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
224
224
|
function tt(e) {
|
|
225
225
|
Y() && J(e, "view");
|
|
226
226
|
}
|
|
227
|
-
async function J(e,
|
|
227
|
+
async function J(e, t) {
|
|
228
228
|
if (!Y()) return;
|
|
229
|
-
let
|
|
230
|
-
if (!
|
|
231
|
-
|
|
232
|
-
let
|
|
233
|
-
P.value =
|
|
229
|
+
let n = String(e.id ?? "");
|
|
230
|
+
if (!n) return;
|
|
231
|
+
S.value = n, W.clearExternalChanged(), k.value = !0, A.value = t, O.value = void 0, I.value = Q(e), L.value = "", R.value = void 0, j.value = !0, M.value = !1;
|
|
232
|
+
let i = P.value + 1;
|
|
233
|
+
P.value = i;
|
|
234
234
|
try {
|
|
235
|
-
let e = await
|
|
236
|
-
if (!mt(
|
|
235
|
+
let e = await p.crud.view(n);
|
|
236
|
+
if (!mt(n, i)) return;
|
|
237
237
|
if (!e?.id) {
|
|
238
|
-
M.value = !0,
|
|
238
|
+
M.value = !0, l("未找到指定系统账号", {
|
|
239
239
|
source: "system-user-management",
|
|
240
240
|
phase: "load"
|
|
241
241
|
});
|
|
@@ -245,24 +245,24 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
245
245
|
rt();
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
|
-
X(e,
|
|
248
|
+
X(e, t);
|
|
249
249
|
} catch (e) {
|
|
250
|
-
mt(
|
|
250
|
+
mt(n, i) && (M.value = !0, r(e, {
|
|
251
251
|
source: "system-user-management",
|
|
252
252
|
phase: "load"
|
|
253
253
|
}));
|
|
254
254
|
} finally {
|
|
255
|
-
mt(
|
|
255
|
+
mt(n, i) && (j.value = !1);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
function nt() {
|
|
259
|
-
N.value || (P.value += 1, j.value = !1, M.value = !1, k.value = !1, A.value = "view", L.value = "", R.value = void 0, W.clearExternalChanged(), I.value = O.value ? Q(O.value) : Z(), V.value &&
|
|
259
|
+
N.value || (P.value += 1, j.value = !1, M.value = !1, k.value = !1, A.value = "view", L.value = "", R.value = void 0, W.clearExternalChanged(), I.value = O.value ? Q(O.value) : Z(), V.value && m?.dismiss());
|
|
260
260
|
}
|
|
261
261
|
function rt() {
|
|
262
|
-
P.value += 1, j.value = !1, M.value = !1, k.value = !1, O.value = void 0,
|
|
262
|
+
P.value += 1, j.value = !1, M.value = !1, k.value = !1, O.value = void 0, S.value = void 0, I.value = Z(), l("指定账号不属于系统账号管理范围", {
|
|
263
263
|
source: "system-user-management",
|
|
264
264
|
phase: "validation"
|
|
265
|
-
}), B.value &&
|
|
265
|
+
}), B.value && m?.dismiss();
|
|
266
266
|
}
|
|
267
267
|
function it() {
|
|
268
268
|
if (!N.value) {
|
|
@@ -295,14 +295,14 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
function ot() {
|
|
298
|
-
let e = String(I.value.id ??
|
|
298
|
+
let e = String(I.value.id ?? S.value ?? "");
|
|
299
299
|
e && J({
|
|
300
300
|
...I.value,
|
|
301
301
|
id: e
|
|
302
302
|
}, A.value);
|
|
303
303
|
}
|
|
304
304
|
function st() {
|
|
305
|
-
let e = String(W.externalChangedRecordId.value ?? I.value.id ??
|
|
305
|
+
let e = String(W.externalChangedRecordId.value ?? I.value.id ?? S.value ?? "");
|
|
306
306
|
e && (W.clearExternalChanged(), J({
|
|
307
307
|
...I.value,
|
|
308
308
|
id: e
|
|
@@ -313,7 +313,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
313
313
|
await lt();
|
|
314
314
|
return;
|
|
315
315
|
}
|
|
316
|
-
await
|
|
316
|
+
await ce({
|
|
317
317
|
loading: N,
|
|
318
318
|
mode: "edit",
|
|
319
319
|
source: "system-user-management",
|
|
@@ -321,7 +321,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
321
321
|
deniedMessage: "当前用户无权保存系统账号",
|
|
322
322
|
createRecord: () => vt(I.value),
|
|
323
323
|
validateRecord: yt,
|
|
324
|
-
save: (e) =>
|
|
324
|
+
save: (e) => p.crud.update(O.value.id, e),
|
|
325
325
|
actionErrorHandlers: [{
|
|
326
326
|
code: te.conflictVersion,
|
|
327
327
|
handle: (e, { mode: t, record: n }) => t === "edit" && W.markExternalRecordChanged(n.id)
|
|
@@ -333,50 +333,50 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
333
333
|
}
|
|
334
334
|
async function lt() {
|
|
335
335
|
if (!L.value.trim()) {
|
|
336
|
-
|
|
336
|
+
l("请填写新密码", {
|
|
337
337
|
source: "system-user-management",
|
|
338
338
|
phase: "validation"
|
|
339
339
|
});
|
|
340
340
|
return;
|
|
341
341
|
}
|
|
342
|
-
await
|
|
342
|
+
await c({
|
|
343
343
|
loading: N,
|
|
344
344
|
source: "system-user-management",
|
|
345
345
|
record: () => O.value?.id ? O.value : void 0,
|
|
346
346
|
canExecute: () => He.value,
|
|
347
347
|
deniedMessage: "当前用户无权重置系统账号密码",
|
|
348
|
-
execute: (e) =>
|
|
348
|
+
execute: (e) => p.http.request({
|
|
349
349
|
method: "POST",
|
|
350
350
|
path: `/iam.user/changePassword/${encodeURIComponent(e.id)}`,
|
|
351
351
|
body: { password: L.value }
|
|
352
352
|
}),
|
|
353
353
|
onExecuted: async (e, t) => {
|
|
354
|
-
X(await
|
|
354
|
+
X(await p.crud.view(t.id)), F.value += 1;
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
358
|
async function ut() {
|
|
359
|
-
await
|
|
359
|
+
await c({
|
|
360
360
|
loading: N,
|
|
361
361
|
source: "system-user-management",
|
|
362
362
|
record: () => O.value?.id ? O.value : void 0,
|
|
363
|
-
canExecute: (e) =>
|
|
363
|
+
canExecute: (e) => p.can("resetPassword", e.id) === !0,
|
|
364
364
|
deniedMessage: "当前用户无权重置系统账号密码",
|
|
365
|
-
execute: (e) =>
|
|
365
|
+
execute: (e) => p.http.request({
|
|
366
366
|
method: "POST",
|
|
367
367
|
path: `/iam.user/resetPassword/${encodeURIComponent(e.id)}`
|
|
368
368
|
}),
|
|
369
369
|
onExecuted: async (e, t) => {
|
|
370
|
-
X(await
|
|
370
|
+
X(await p.crud.view(t.id)), R.value = e, F.value += 1;
|
|
371
371
|
}
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
374
|
async function dt(e, t) {
|
|
375
|
-
await
|
|
375
|
+
await c({
|
|
376
376
|
loading: N,
|
|
377
377
|
source: "system-user-management",
|
|
378
378
|
record: () => e?.id ? e : void 0,
|
|
379
|
-
canExecute: (e) =>
|
|
379
|
+
canExecute: (e) => p.can("revokeSession", e.id) === !0 && !t.current,
|
|
380
380
|
deniedMessage: "当前用户无权下线该登录会话",
|
|
381
381
|
confirm: (e) => o({
|
|
382
382
|
title: "下线登录会话",
|
|
@@ -384,7 +384,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
384
384
|
okText: "下线",
|
|
385
385
|
danger: !0
|
|
386
386
|
}),
|
|
387
|
-
execute: (e) =>
|
|
387
|
+
execute: (e) => p.http.request({
|
|
388
388
|
method: "POST",
|
|
389
389
|
path: `/iam.user/${encodeURIComponent(e.id)}/sessions/${encodeURIComponent(t.id)}/revoke`
|
|
390
390
|
}),
|
|
@@ -394,30 +394,30 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
async function ft(e) {
|
|
397
|
-
let
|
|
398
|
-
if (
|
|
399
|
-
|
|
397
|
+
let t = gt(String(e.id ?? "")).map((e) => e.id);
|
|
398
|
+
if (t.length === 0) {
|
|
399
|
+
l("当前没有可下线的登录会话", {
|
|
400
400
|
source: "system-user-management",
|
|
401
401
|
phase: "validation"
|
|
402
402
|
});
|
|
403
403
|
return;
|
|
404
404
|
}
|
|
405
|
-
await
|
|
405
|
+
await c({
|
|
406
406
|
loading: N,
|
|
407
407
|
source: "system-user-management",
|
|
408
408
|
record: () => e?.id ? e : void 0,
|
|
409
|
-
canExecute: (e) =>
|
|
409
|
+
canExecute: (e) => p.can("revokeSessions", e.id) === !0,
|
|
410
410
|
deniedMessage: "当前用户无权批量下线登录会话",
|
|
411
411
|
confirm: (e) => o({
|
|
412
412
|
title: "批量下线登录会话",
|
|
413
|
-
content: `确认下线系统账号「${$(e)}」的 ${
|
|
413
|
+
content: `确认下线系统账号「${$(e)}」的 ${t.length} 个登录会话?`,
|
|
414
414
|
okText: "全部下线",
|
|
415
415
|
danger: !0
|
|
416
416
|
}),
|
|
417
|
-
execute: (e) =>
|
|
417
|
+
execute: (e) => p.http.request({
|
|
418
418
|
method: "POST",
|
|
419
419
|
path: `/iam.user/${encodeURIComponent(e.id)}/sessions/revoke`,
|
|
420
|
-
body: { sessionIds:
|
|
420
|
+
body: { sessionIds: t }
|
|
421
421
|
}),
|
|
422
422
|
onExecuted: (e, t) => {
|
|
423
423
|
H(t.id), F.value += 1;
|
|
@@ -425,15 +425,15 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
async function pt() {
|
|
428
|
-
await
|
|
428
|
+
await c({
|
|
429
429
|
loading: N,
|
|
430
430
|
source: "system-user-management",
|
|
431
431
|
record: () => O.value?.id ? O.value : void 0,
|
|
432
432
|
canExecute: () => Ue.value,
|
|
433
433
|
deniedMessage: "当前用户无权变更系统账号启停状态",
|
|
434
|
-
execute: (e) => e.enabled === !1 ?
|
|
434
|
+
execute: (e) => e.enabled === !1 ? p.crud.enable(e.id, { version: e.version }) : p.crud.disable(e.id, { version: e.version }),
|
|
435
435
|
onExecuted: async (e, t) => {
|
|
436
|
-
X(await
|
|
436
|
+
X(await p.crud.view(t.id)), F.value += 1;
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
439
|
}
|
|
@@ -441,19 +441,19 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
441
441
|
return !N.value;
|
|
442
442
|
}
|
|
443
443
|
function mt(e, t) {
|
|
444
|
-
return P.value === t &&
|
|
444
|
+
return P.value === t && S.value === e;
|
|
445
445
|
}
|
|
446
446
|
function X(e, t = "view") {
|
|
447
|
-
O.value = e,
|
|
447
|
+
O.value = e, S.value = e.id, I.value = Q(e), L.value = "", A.value = t === "edit" ? "edit" : "view", W.clearExternalChanged(), k.value = !0, j.value = !1, M.value = !1, P.value += 1;
|
|
448
448
|
}
|
|
449
449
|
function ht(e) {
|
|
450
|
-
|
|
450
|
+
S.value = e.selectedUser.id, O.value = { ...e.selectedUser }, I.value = Q(e.draft), A.value = e.mode, L.value = e.password, R.value = e.resetPasswordResult, k.value = !0, j.value = !1, M.value = !1;
|
|
451
451
|
}
|
|
452
452
|
function gt(e) {
|
|
453
|
-
return !e ||
|
|
453
|
+
return !e || p.can("revokeSession", e) !== !0 ? [] : U(e).records.filter((e) => !e.current);
|
|
454
454
|
}
|
|
455
455
|
function _t(e, t) {
|
|
456
|
-
return !!e && !t.current &&
|
|
456
|
+
return !!e && !t.current && p.can("revokeSession", e) === !0;
|
|
457
457
|
}
|
|
458
458
|
function Z() {
|
|
459
459
|
return { enabled: !0 };
|
|
@@ -473,7 +473,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
function yt(e) {
|
|
476
|
-
let t =
|
|
476
|
+
let t = ae("username", {
|
|
477
477
|
fields: z.value,
|
|
478
478
|
fallback: q.value
|
|
479
479
|
});
|
|
@@ -495,9 +495,9 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
495
495
|
function $(e) {
|
|
496
496
|
return String(e?.username ?? e?.id ?? "系统账号");
|
|
497
497
|
}
|
|
498
|
-
return (
|
|
499
|
-
let
|
|
500
|
-
return
|
|
498
|
+
return (e, r) => {
|
|
499
|
+
let te = T("UiSpin"), a = T("UiError"), o = T("DateTimeText");
|
|
500
|
+
return C(), v("section", we, [!B.value || V.value ? (C(), g(E(oe), {
|
|
501
501
|
key: 0,
|
|
502
502
|
class: "system-user-list-panel",
|
|
503
503
|
context: G.value,
|
|
@@ -505,7 +505,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
505
505
|
columns: ze.value,
|
|
506
506
|
"cell-renderers": { onlineStatus: E(Re) },
|
|
507
507
|
"row-actions-of": $e,
|
|
508
|
-
"selected-key":
|
|
508
|
+
"selected-key": S.value,
|
|
509
509
|
"expanded-row-keys": E(Pe),
|
|
510
510
|
"reload-key": F.value,
|
|
511
511
|
ready: !0,
|
|
@@ -515,9 +515,9 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
515
515
|
onRowDblclick: tt,
|
|
516
516
|
onRowExpand: E(Ie),
|
|
517
517
|
onLoaded: E(Fe),
|
|
518
|
-
onSelect:
|
|
518
|
+
onSelect: r[0] ||= (e) => S.value = String(e.id ?? "")
|
|
519
519
|
}, {
|
|
520
|
-
expandedRow: D(({ record: e }) => [
|
|
520
|
+
expandedRow: D(({ record: e }) => [x(E(ue), {
|
|
521
521
|
sessions: E(U)(String(e.id ?? "")).records,
|
|
522
522
|
loading: E(U)(String(e.id ?? "")).loading,
|
|
523
523
|
error: E(U)(String(e.id ?? "")).error,
|
|
@@ -548,7 +548,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
548
548
|
"reload-key",
|
|
549
549
|
"onRowExpand",
|
|
550
550
|
"onLoaded"
|
|
551
|
-
])) :
|
|
551
|
+
])) : _("v-if", !0), Ne.value ? (C(), g(E(re), {
|
|
552
552
|
key: 1,
|
|
553
553
|
open: k.value,
|
|
554
554
|
title: Be.value,
|
|
@@ -566,7 +566,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
566
566
|
onReloadExternalChange: st,
|
|
567
567
|
onDismissExternalChange: E(W).clearExternalChanged
|
|
568
568
|
}, {
|
|
569
|
-
status: D(() => [A.value === "view" && O.value ? (
|
|
569
|
+
status: D(() => [A.value === "view" && O.value ? (C(), g(E(ee), {
|
|
570
570
|
key: 0,
|
|
571
571
|
enabled: O.value.enabled !== !1,
|
|
572
572
|
disabled: N.value || !Ue.value,
|
|
@@ -577,8 +577,8 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
577
577
|
"enabled",
|
|
578
578
|
"disabled",
|
|
579
579
|
"loading"
|
|
580
|
-
])) :
|
|
581
|
-
operation: D(() => [
|
|
580
|
+
])) : _("v-if", !0)]),
|
|
581
|
+
operation: D(() => [x(E(i), {
|
|
582
582
|
context: G.value,
|
|
583
583
|
actions: Ge.value,
|
|
584
584
|
"record-id": O.value?.id,
|
|
@@ -588,23 +588,23 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
588
588
|
"actions",
|
|
589
589
|
"record-id"
|
|
590
590
|
])]),
|
|
591
|
-
loading: D(() => [
|
|
591
|
+
loading: D(() => [x(te, {
|
|
592
592
|
class: "system-user-detail-state",
|
|
593
593
|
tip: "加载系统账号详情"
|
|
594
594
|
})]),
|
|
595
|
-
error: D(() => [
|
|
595
|
+
error: D(() => [y("div", Te, [x(a, {
|
|
596
596
|
title: "详情加载失败",
|
|
597
597
|
message: "无法加载系统账号详情,请重试"
|
|
598
|
-
}),
|
|
598
|
+
}), x(E(se), {
|
|
599
599
|
type: "primary",
|
|
600
600
|
"icon-name": "reload",
|
|
601
601
|
onClick: ot
|
|
602
602
|
}, {
|
|
603
|
-
default: D(() => [...
|
|
603
|
+
default: D(() => [...r[3] ||= [b("重试", -1)]]),
|
|
604
604
|
_: 1
|
|
605
605
|
})])]),
|
|
606
606
|
view: D(() => [
|
|
607
|
-
|
|
607
|
+
x(E(t), {
|
|
608
608
|
record: I.value,
|
|
609
609
|
fields: z.value,
|
|
610
610
|
fallback: q.value
|
|
@@ -613,27 +613,27 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
613
613
|
"fields",
|
|
614
614
|
"fallback"
|
|
615
615
|
]),
|
|
616
|
-
A.value === "view" && R.value?.temporaryPassword ? (
|
|
617
|
-
|
|
618
|
-
|
|
616
|
+
A.value === "view" && R.value?.temporaryPassword ? (C(), v("div", Ee, [
|
|
617
|
+
r[5] ||= y("span", null, "临时密码", -1),
|
|
618
|
+
x(E(u), {
|
|
619
619
|
value: R.value.temporaryPassword,
|
|
620
620
|
disabled: ""
|
|
621
621
|
}, null, 8, ["value"]),
|
|
622
|
-
R.value.expiresAt ? (
|
|
623
|
-
])) :
|
|
624
|
-
|
|
622
|
+
R.value.expiresAt ? (C(), v("small", De, [r[4] ||= b(" 有效期至 ", -1), x(o, { value: R.value.expiresAt }, null, 8, ["value"])])) : _("v-if", !0)
|
|
623
|
+
])) : _("v-if", !0),
|
|
624
|
+
x(E(s), { record: I.value }, null, 8, ["record"])
|
|
625
625
|
]),
|
|
626
|
-
form: D(() => [
|
|
626
|
+
form: D(() => [y("form", {
|
|
627
627
|
class: "system-user-form",
|
|
628
628
|
onSubmit: be(ct, ["prevent"])
|
|
629
|
-
}, [A.value === "resetPassword" ? (
|
|
629
|
+
}, [A.value === "resetPassword" ? (C(), v("label", Oe, [r[6] ||= y("span", { class: "system-user-form-label" }, "新密码", -1), x(E(u), {
|
|
630
630
|
value: L.value,
|
|
631
631
|
type: "password",
|
|
632
632
|
disabled: K.value,
|
|
633
633
|
placeholder: "请输入密码",
|
|
634
634
|
"allow-clear": "",
|
|
635
|
-
"onUpdate:value":
|
|
636
|
-
}, null, 8, ["value", "disabled"])])) : (
|
|
635
|
+
"onUpdate:value": r[1] ||= (e) => L.value = e
|
|
636
|
+
}, null, 8, ["value", "disabled"])])) : (C(), g(E(le), {
|
|
637
637
|
key: 0,
|
|
638
638
|
record: I.value,
|
|
639
639
|
"field-names": qe.value,
|
|
@@ -648,7 +648,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
648
648
|
"fields",
|
|
649
649
|
"fallback",
|
|
650
650
|
"disabled"
|
|
651
|
-
]))], 32), A.value === "resetPassword" ?
|
|
651
|
+
]))], 32), A.value === "resetPassword" ? _("v-if", !0) : (C(), g(E(s), {
|
|
652
652
|
key: 0,
|
|
653
653
|
record: I.value
|
|
654
654
|
}, null, 8, ["record"]))]),
|
|
@@ -663,12 +663,12 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
663
663
|
"externally-changed",
|
|
664
664
|
"promotion",
|
|
665
665
|
"onDismissExternalChange"
|
|
666
|
-
])) : (
|
|
666
|
+
])) : (C(), g(E(n), {
|
|
667
667
|
key: 2,
|
|
668
668
|
title: Be.value,
|
|
669
669
|
subtitle: Ve.value
|
|
670
670
|
}, {
|
|
671
|
-
status: D(() => [A.value === "view" && O.value ? (
|
|
671
|
+
status: D(() => [A.value === "view" && O.value ? (C(), g(E(ee), {
|
|
672
672
|
key: 0,
|
|
673
673
|
enabled: O.value.enabled !== !1,
|
|
674
674
|
disabled: N.value || !Ue.value,
|
|
@@ -679,8 +679,8 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
679
679
|
"enabled",
|
|
680
680
|
"disabled",
|
|
681
681
|
"loading"
|
|
682
|
-
])) :
|
|
683
|
-
operation: D(() => [
|
|
682
|
+
])) : _("v-if", !0)]),
|
|
683
|
+
operation: D(() => [x(E(i), {
|
|
684
684
|
context: G.value,
|
|
685
685
|
actions: Ge.value,
|
|
686
686
|
"record-id": O.value?.id,
|
|
@@ -690,22 +690,22 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
690
690
|
"actions",
|
|
691
691
|
"record-id"
|
|
692
692
|
])]),
|
|
693
|
-
default: D(() => [j.value ? (
|
|
693
|
+
default: D(() => [j.value ? (C(), g(te, {
|
|
694
694
|
key: 0,
|
|
695
695
|
class: "system-user-detail-state",
|
|
696
696
|
tip: "加载系统账号详情"
|
|
697
|
-
})) : M.value ? (
|
|
697
|
+
})) : M.value ? (C(), v("div", ke, [x(a, {
|
|
698
698
|
title: "详情加载失败",
|
|
699
699
|
message: "无法加载系统账号详情,请重试"
|
|
700
|
-
}),
|
|
700
|
+
}), x(E(se), {
|
|
701
701
|
type: "primary",
|
|
702
702
|
"icon-name": "reload",
|
|
703
703
|
onClick: ot
|
|
704
704
|
}, {
|
|
705
|
-
default: D(() => [...
|
|
705
|
+
default: D(() => [...r[7] ||= [b("重试", -1)]]),
|
|
706
706
|
_: 1
|
|
707
|
-
})])) : A.value === "view" ? (
|
|
708
|
-
|
|
707
|
+
})])) : A.value === "view" ? (C(), v(ge, { key: 2 }, [
|
|
708
|
+
x(E(t), {
|
|
709
709
|
record: I.value,
|
|
710
710
|
fields: z.value,
|
|
711
711
|
fallback: q.value
|
|
@@ -714,26 +714,26 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
714
714
|
"fields",
|
|
715
715
|
"fallback"
|
|
716
716
|
]),
|
|
717
|
-
R.value?.temporaryPassword ? (
|
|
718
|
-
|
|
719
|
-
|
|
717
|
+
R.value?.temporaryPassword ? (C(), v("div", Ae, [
|
|
718
|
+
r[9] ||= y("span", null, "临时密码", -1),
|
|
719
|
+
x(E(u), {
|
|
720
720
|
value: R.value.temporaryPassword,
|
|
721
721
|
disabled: ""
|
|
722
722
|
}, null, 8, ["value"]),
|
|
723
|
-
R.value.expiresAt ? (
|
|
724
|
-
])) :
|
|
725
|
-
|
|
726
|
-
], 64)) : (
|
|
723
|
+
R.value.expiresAt ? (C(), v("small", je, [r[8] ||= b(" 有效期至 ", -1), x(o, { value: R.value.expiresAt }, null, 8, ["value"])])) : _("v-if", !0)
|
|
724
|
+
])) : _("v-if", !0),
|
|
725
|
+
x(E(s), { record: I.value }, null, 8, ["record"])
|
|
726
|
+
], 64)) : (C(), v(ge, { key: 3 }, [y("form", {
|
|
727
727
|
class: "system-user-form",
|
|
728
728
|
onSubmit: be(ct, ["prevent"])
|
|
729
|
-
}, [A.value === "resetPassword" ? (
|
|
729
|
+
}, [A.value === "resetPassword" ? (C(), v("label", Me, [r[10] ||= y("span", { class: "system-user-form-label" }, "新密码", -1), x(E(u), {
|
|
730
730
|
value: L.value,
|
|
731
731
|
type: "password",
|
|
732
732
|
disabled: K.value,
|
|
733
733
|
placeholder: "请输入密码",
|
|
734
734
|
"allow-clear": "",
|
|
735
|
-
"onUpdate:value":
|
|
736
|
-
}, null, 8, ["value", "disabled"])])) : (
|
|
735
|
+
"onUpdate:value": r[2] ||= (e) => L.value = e
|
|
736
|
+
}, null, 8, ["value", "disabled"])])) : (C(), g(E(le), {
|
|
737
737
|
key: 0,
|
|
738
738
|
record: I.value,
|
|
739
739
|
"field-names": qe.value,
|
|
@@ -748,7 +748,7 @@ var we = { class: "system-user-management-page" }, Te = { class: "system-user-de
|
|
|
748
748
|
"fields",
|
|
749
749
|
"fallback",
|
|
750
750
|
"disabled"
|
|
751
|
-
]))], 32), A.value === "resetPassword" ?
|
|
751
|
+
]))], 32), A.value === "resetPassword" ? _("v-if", !0) : (C(), g(E(s), {
|
|
752
752
|
key: 0,
|
|
753
753
|
record: I.value
|
|
754
754
|
}, null, 8, ["record"]))], 64))]),
|