@ximatai/muyun-web-app 0.26.3 → 0.26.4
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-BySbWjCV.js} +1 -1
- package/dist/{EmployeeManagementView-CKKvQZaC.js → EmployeeManagementView-DvmDPxzN.js} +205 -205
- package/dist/{MetadataOrchestrationView-CprWBocy.js → MetadataOrchestrationView-2JxJkFEC.js} +194 -194
- package/dist/{ModuleActionManagementView-DNuAQUPE.js → ModuleActionManagementView-DRtYMXOK.js} +122 -122
- package/dist/{RoleAuthorizationView-CQtSAJoJ.js → RoleAuthorizationView-CK6Vfdup.js} +52 -52
- package/dist/{RoleDetailWorkspaceView-Dh8DXpyS.js → RoleDetailWorkspaceView-BPZcZy-r.js} +1 -1
- package/dist/{RoleManagementView-BrqaFV7y.js → RoleManagementView-B7TzzVOm.js} +204 -204
- package/dist/{SystemUserDetailWorkspaceView-N-kvycAu.js → SystemUserDetailWorkspaceView-BtEDyU-k.js} +1 -1
- package/dist/SystemUserManagementView-TKqj92zG.js +761 -0
- package/dist/{UserDetailWorkspaceView-Iek6xwix.js → UserDetailWorkspaceView-B6fGrnQ7.js} +1 -1
- package/dist/UserManagementView-4IJeDSQS.js +965 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1054 -1054
- package/dist/{pageRealtime-sRtDYlQP.js → pageRealtime-CJriNmzP.js} +12 -12
- package/dist/{platform-components-bC1gwhic.js → platform-components-CgMBopmF.js} +1107 -1377
- 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/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/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 +1 -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 +2 -2
- 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-DHsyr2Vy.js} +2 -2
- package/dist/{workspaceViewSessions-WsJU3OS7.js → workspaceViewSessions-BMbyO9O4.js} +403 -410
- package/package.json +1 -1
- package/dist/SystemUserManagementView-BVS5moV5.js +0 -761
- package/dist/UserManagementView-BR_Jz8O-.js +0 -965
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as e,
|
|
2
|
-
import { g as xe, i as Se, n as Ce, p as we, r as Te, t as _ } from "./workspaceViewSessions-
|
|
3
|
-
import { a as Ee, i as De, r as Oe } from "./pageRealtime-
|
|
1
|
+
import { $ as e, $t as t, Bt as n, C as r, Dt as i, Et as a, G as o, It as s, Jt as c, K as l, L as ee, Lt as te, M as u, Pt as ne, Qt as d, R as re, S as f, Vt as ie, W as ae, Wn as oe, X as p, Z as se, _t as ce, a as m, d as le, et as ue, f as de, i as fe, it as pe, m as me, on as h, or as he, rt as ge, tt as g, u as _e, v as ve, w as ye, y as be } from "./platform-components-CgMBopmF.js";
|
|
2
|
+
import { g as xe, i as Se, n as Ce, p as we, r as Te, t as _ } from "./workspaceViewSessions-BMbyO9O4.js";
|
|
3
|
+
import { a as Ee, i as De, r as Oe } from "./pageRealtime-CJriNmzP.js";
|
|
4
4
|
import { Fragment as ke, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createTextVNode as C, createVNode as w, defineComponent as T, normalizeClass as Ae, onBeforeUnmount as je, onMounted as Me, openBlock as E, ref as D, renderList as Ne, toDisplayString as O, unref as k, watch as Pe, withCtx as A, withModifiers as j } from "vue";
|
|
5
5
|
//#region src/views/employeeDetailStateModel.ts
|
|
6
6
|
function Fe(e) {
|
|
@@ -33,7 +33,7 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
33
33
|
}, B = {
|
|
34
34
|
key: 3,
|
|
35
35
|
class: "employment-empty"
|
|
36
|
-
}, Ve = /*#__PURE__*/
|
|
36
|
+
}, Ve = /*#__PURE__*/ t(/* @__PURE__ */ T({
|
|
37
37
|
name: "EmployeeEmploymentDrawer",
|
|
38
38
|
__name: "EmployeeEmploymentDrawer",
|
|
39
39
|
props: {
|
|
@@ -41,8 +41,8 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
41
41
|
employee: {}
|
|
42
42
|
},
|
|
43
43
|
emits: ["close", "saved"],
|
|
44
|
-
setup(e, { emit:
|
|
45
|
-
let
|
|
44
|
+
setup(e, { emit: t }) {
|
|
45
|
+
let r = e, o = t, c = h({ moduleAlias: "iam.employee" }), l = h({ moduleAlias: "iam.organization" }), ee = h({ moduleAlias: "iam.department" }), re = h({ moduleAlias: "iam.position" }), f = D([]), ae = D(!1), oe = D(!1), p = D(!1), se = D(!1), m = D(he()), le = [
|
|
46
46
|
{
|
|
47
47
|
key: "position",
|
|
48
48
|
title: "岗位",
|
|
@@ -63,84 +63,84 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
63
63
|
title: "主岗位",
|
|
64
64
|
width: 80
|
|
65
65
|
}
|
|
66
|
-
],
|
|
66
|
+
], de = v(() => `任职管理 - ${ge(r.employee)}`), fe = v(() => f.value), pe = v(() => _e(ee, {
|
|
67
67
|
scopeFieldName: "organizationId",
|
|
68
|
-
scopeValue:
|
|
68
|
+
scopeValue: m.value.organizationId,
|
|
69
69
|
treePath: "/iam.department/tree",
|
|
70
70
|
sortPath: "/iam.department/sort"
|
|
71
|
-
})),
|
|
72
|
-
let e =
|
|
73
|
-
return !!(e?.organizationId && e?.departmentId && e.organizationId ===
|
|
71
|
+
})), me = v(() => {
|
|
72
|
+
let e = r.employee;
|
|
73
|
+
return !!(e?.organizationId && e?.departmentId && e.organizationId === m.value.organizationId && e.departmentId === m.value.departmentId);
|
|
74
74
|
});
|
|
75
|
-
Pe(() => [
|
|
75
|
+
Pe(() => [r.open, r.employee?.id], ([e]) => {
|
|
76
76
|
e ? g() : ve();
|
|
77
77
|
}, { immediate: !0 });
|
|
78
|
-
function
|
|
78
|
+
function he() {
|
|
79
79
|
return {
|
|
80
80
|
primaryPosition: !1,
|
|
81
81
|
enabled: !0
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function ge(e) {
|
|
85
85
|
return String(e?.title ?? e?.employeeNo ?? e?.id ?? "职员");
|
|
86
86
|
}
|
|
87
87
|
async function g() {
|
|
88
|
-
let e =
|
|
88
|
+
let e = r.employee?.id;
|
|
89
89
|
if (e) {
|
|
90
|
-
|
|
90
|
+
ae.value = !0, oe.value = !1;
|
|
91
91
|
try {
|
|
92
|
-
|
|
92
|
+
f.value = (await c.http.request({ path: `/iam.employee/${encodeURIComponent(e)}/employment-view` })).records;
|
|
93
93
|
} catch (e) {
|
|
94
|
-
|
|
94
|
+
oe.value = !0, a(e, {
|
|
95
95
|
source: "employee-employment",
|
|
96
96
|
phase: "load"
|
|
97
97
|
});
|
|
98
98
|
} finally {
|
|
99
|
-
|
|
99
|
+
ae.value = !1;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
function ve() {
|
|
104
|
-
|
|
104
|
+
se.value = !1, m.value = he();
|
|
105
105
|
}
|
|
106
106
|
function be() {
|
|
107
|
-
|
|
108
|
-
organizationId:
|
|
109
|
-
departmentId:
|
|
107
|
+
m.value = {
|
|
108
|
+
organizationId: r.employee?.organizationId,
|
|
109
|
+
departmentId: r.employee?.departmentId,
|
|
110
110
|
primaryPosition: !1,
|
|
111
111
|
enabled: !0
|
|
112
|
-
},
|
|
112
|
+
}, se.value = !0;
|
|
113
113
|
}
|
|
114
114
|
function xe(e) {
|
|
115
|
-
|
|
115
|
+
m.value = { ...e }, se.value = !0;
|
|
116
116
|
}
|
|
117
117
|
function Se(e) {
|
|
118
|
-
let t = e !==
|
|
119
|
-
|
|
120
|
-
...
|
|
118
|
+
let t = e !== m.value.organizationId;
|
|
119
|
+
m.value = {
|
|
120
|
+
...m.value,
|
|
121
121
|
organizationId: e,
|
|
122
|
-
departmentId: t ? void 0 :
|
|
123
|
-
primaryPosition: t ? !1 :
|
|
122
|
+
departmentId: t ? void 0 : m.value.departmentId,
|
|
123
|
+
primaryPosition: t ? !1 : m.value.primaryPosition
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
function Ce(e) {
|
|
127
|
-
let t = !!(
|
|
128
|
-
|
|
129
|
-
...
|
|
127
|
+
let t = !!(m.value.primaryPosition && r.employee?.organizationId === m.value.organizationId && r.employee?.departmentId === e);
|
|
128
|
+
m.value = {
|
|
129
|
+
...m.value,
|
|
130
130
|
departmentId: e,
|
|
131
131
|
primaryPosition: t
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
134
|
function we(e) {
|
|
135
|
-
if (e && !
|
|
136
|
-
|
|
135
|
+
if (e && !me.value) {
|
|
136
|
+
i("主岗必须与职员主机构、主部门一致", {
|
|
137
137
|
source: "employee-employment",
|
|
138
138
|
phase: "validation"
|
|
139
139
|
});
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
...
|
|
142
|
+
m.value = {
|
|
143
|
+
...m.value,
|
|
144
144
|
primaryPosition: e
|
|
145
145
|
};
|
|
146
146
|
}
|
|
@@ -172,25 +172,25 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
172
172
|
(t === "primary" || t === "enable" || t === "disable" || t === "delete") && ke(e, t);
|
|
173
173
|
}
|
|
174
174
|
async function Oe() {
|
|
175
|
-
let e =
|
|
176
|
-
if (!e || !
|
|
177
|
-
|
|
175
|
+
let e = r.employee?.id;
|
|
176
|
+
if (!e || !m.value.organizationId || !m.value.departmentId || !m.value.positionId) {
|
|
177
|
+
i("请选择机构、部门和岗位", {
|
|
178
178
|
source: "employee-employment",
|
|
179
179
|
phase: "validation"
|
|
180
180
|
});
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
p.value = !0;
|
|
184
184
|
try {
|
|
185
|
-
let t =
|
|
186
|
-
await
|
|
185
|
+
let t = m.value.id;
|
|
186
|
+
await c.http.request({
|
|
187
187
|
method: "POST",
|
|
188
188
|
path: t ? `/iam.employee/${encodeURIComponent(e)}/positions/${encodeURIComponent(t)}/update` : `/iam.employee/${encodeURIComponent(e)}/positions`,
|
|
189
189
|
body: {
|
|
190
|
-
...
|
|
190
|
+
...m.value,
|
|
191
191
|
employeeId: e
|
|
192
192
|
}
|
|
193
|
-
}), ve(), await g(),
|
|
193
|
+
}), ve(), await g(), o("saved", e), await ce({
|
|
194
194
|
success: !0,
|
|
195
195
|
message: "任职已保存"
|
|
196
196
|
}, {
|
|
@@ -198,73 +198,73 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
198
198
|
phase: "action"
|
|
199
199
|
});
|
|
200
200
|
} catch (e) {
|
|
201
|
-
|
|
201
|
+
a(e, {
|
|
202
202
|
source: "employee-employment",
|
|
203
203
|
phase: "action"
|
|
204
204
|
});
|
|
205
205
|
} finally {
|
|
206
|
-
|
|
206
|
+
p.value = !1;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
async function ke(e, t) {
|
|
210
|
-
let n =
|
|
211
|
-
if (n && !(t === "delete" && !await
|
|
210
|
+
let n = r.employee?.id;
|
|
211
|
+
if (n && !(t === "delete" && !await ne({
|
|
212
212
|
title: "删除任职",
|
|
213
213
|
content: "确认删除该任职?",
|
|
214
214
|
okText: "删除",
|
|
215
215
|
danger: !0
|
|
216
216
|
}))) {
|
|
217
|
-
|
|
217
|
+
p.value = !0;
|
|
218
218
|
try {
|
|
219
|
-
await
|
|
219
|
+
await c.http.request({
|
|
220
220
|
method: "POST",
|
|
221
221
|
path: `/iam.employee/${encodeURIComponent(n)}/positions/${encodeURIComponent(e.id)}/${t}`
|
|
222
|
-
}), await g(),
|
|
222
|
+
}), await g(), o("saved", n);
|
|
223
223
|
} catch (e) {
|
|
224
|
-
|
|
224
|
+
a(e, {
|
|
225
225
|
source: "employee-employment",
|
|
226
226
|
phase: "action"
|
|
227
227
|
});
|
|
228
228
|
} finally {
|
|
229
|
-
|
|
229
|
+
p.value = !1;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
return (
|
|
233
|
+
return (t, r) => (E(), y(k(ue), {
|
|
234
234
|
open: e.open,
|
|
235
|
-
title:
|
|
236
|
-
onClose: r[4] ||= (e) =>
|
|
235
|
+
title: de.value,
|
|
236
|
+
onClose: r[4] ||= (e) => o("close")
|
|
237
237
|
}, {
|
|
238
|
-
operation: A(() => [w(k(
|
|
238
|
+
operation: A(() => [w(k(d), {
|
|
239
239
|
type: "text",
|
|
240
240
|
"icon-name": "reload",
|
|
241
|
-
disabled:
|
|
241
|
+
disabled: ae.value || p.value,
|
|
242
242
|
onClick: g
|
|
243
243
|
}, {
|
|
244
244
|
default: A(() => [...r[5] ||= [C(" 刷新 ", -1)]]),
|
|
245
245
|
_: 1
|
|
246
246
|
}, 8, ["disabled"])]),
|
|
247
247
|
default: A(() => [S("div", N, [
|
|
248
|
-
S("div", P, [r[7] ||= S("div", null, [S("strong", null, "任职信息"), S("span", null, "角色授权按具体任职生效")], -1), w(k(
|
|
248
|
+
S("div", P, [r[7] ||= S("div", null, [S("strong", null, "任职信息"), S("span", null, "角色授权按具体任职生效")], -1), w(k(d), {
|
|
249
249
|
type: "primary",
|
|
250
250
|
"icon-name": "plus",
|
|
251
|
-
disabled:
|
|
251
|
+
disabled: p.value,
|
|
252
252
|
onClick: be
|
|
253
253
|
}, {
|
|
254
254
|
default: A(() => [...r[6] ||= [C("新增任职", -1)]]),
|
|
255
255
|
_: 1
|
|
256
256
|
}, 8, ["disabled"])]),
|
|
257
|
-
|
|
257
|
+
se.value ? (E(), x("form", {
|
|
258
258
|
key: 0,
|
|
259
259
|
class: "employment-editor",
|
|
260
260
|
onSubmit: j(Oe, ["prevent"])
|
|
261
261
|
}, [
|
|
262
262
|
S("label", null, [r[8] ||= S("span", null, "机构", -1), w(k(ye), {
|
|
263
|
-
value:
|
|
264
|
-
context: k(
|
|
263
|
+
value: m.value.organizationId,
|
|
264
|
+
context: k(l),
|
|
265
265
|
placeholder: "请选择机构",
|
|
266
|
-
constraints: [k(
|
|
267
|
-
disabled:
|
|
266
|
+
constraints: [k(u)()],
|
|
267
|
+
disabled: p.value,
|
|
268
268
|
"onUpdate:value": Se
|
|
269
269
|
}, null, 8, [
|
|
270
270
|
"value",
|
|
@@ -273,11 +273,11 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
273
273
|
"disabled"
|
|
274
274
|
])]),
|
|
275
275
|
S("label", null, [r[9] ||= S("span", null, "部门", -1), w(k(ye), {
|
|
276
|
-
value:
|
|
277
|
-
context:
|
|
276
|
+
value: m.value.departmentId,
|
|
277
|
+
context: pe.value,
|
|
278
278
|
placeholder: "请选择部门",
|
|
279
|
-
constraints: [k(
|
|
280
|
-
disabled:
|
|
279
|
+
constraints: [k(u)()],
|
|
280
|
+
disabled: p.value || !m.value.organizationId,
|
|
281
281
|
"onUpdate:value": Ce
|
|
282
282
|
}, null, 8, [
|
|
283
283
|
"value",
|
|
@@ -286,13 +286,13 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
286
286
|
"disabled"
|
|
287
287
|
])]),
|
|
288
288
|
S("label", null, [r[10] ||= S("span", null, "岗位", -1), w(k(ye), {
|
|
289
|
-
value:
|
|
290
|
-
context: k(
|
|
289
|
+
value: m.value.positionId,
|
|
290
|
+
context: k(re),
|
|
291
291
|
mode: "list",
|
|
292
292
|
placeholder: "请选择岗位",
|
|
293
|
-
constraints: [k(
|
|
294
|
-
disabled:
|
|
295
|
-
"onUpdate:value": r[0] ||= (e) =>
|
|
293
|
+
constraints: [k(u)()],
|
|
294
|
+
disabled: p.value,
|
|
295
|
+
"onUpdate:value": r[0] ||= (e) => m.value.positionId = e ? String(e) : void 0
|
|
296
296
|
}, null, 8, [
|
|
297
297
|
"value",
|
|
298
298
|
"context",
|
|
@@ -303,46 +303,46 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
303
303
|
r[12] ||= S("span", null, "主岗位", -1),
|
|
304
304
|
S("span", null, [S("input", {
|
|
305
305
|
type: "checkbox",
|
|
306
|
-
checked:
|
|
307
|
-
disabled:
|
|
306
|
+
checked: m.value.primaryPosition === !0,
|
|
307
|
+
disabled: p.value || !me.value,
|
|
308
308
|
onChange: r[1] ||= (e) => we(e.target.checked)
|
|
309
309
|
}, null, 40, I), r[11] ||= C(" 设为主岗 ", -1)]),
|
|
310
|
-
|
|
310
|
+
me.value ? b("v-if", !0) : (E(), x("small", L, "主岗必须与职员主机构、主部门一致"))
|
|
311
311
|
]),
|
|
312
|
-
S("div", R, [w(k(
|
|
313
|
-
disabled:
|
|
312
|
+
S("div", R, [w(k(d), {
|
|
313
|
+
disabled: p.value,
|
|
314
314
|
onClick: ve
|
|
315
315
|
}, {
|
|
316
316
|
default: A(() => [...r[13] ||= [C("取消", -1)]]),
|
|
317
317
|
_: 1
|
|
318
|
-
}, 8, ["disabled"]), w(k(
|
|
318
|
+
}, 8, ["disabled"]), w(k(d), {
|
|
319
319
|
type: "primary",
|
|
320
320
|
"html-type": "submit",
|
|
321
|
-
loading:
|
|
321
|
+
loading: p.value
|
|
322
322
|
}, {
|
|
323
323
|
default: A(() => [...r[14] ||= [C("保存任职", -1)]]),
|
|
324
324
|
_: 1
|
|
325
325
|
}, 8, ["loading"])])
|
|
326
326
|
], 32)) : b("v-if", !0),
|
|
327
|
-
|
|
327
|
+
ae.value ? (E(), y(k(te), {
|
|
328
328
|
key: 1,
|
|
329
329
|
class: "employment-state",
|
|
330
330
|
tip: "加载任职"
|
|
331
|
-
})) :
|
|
331
|
+
})) : oe.value ? (E(), x("div", z, [w(k(s), {
|
|
332
332
|
title: "任职信息加载失败",
|
|
333
333
|
message: "无法加载任职信息,请重试"
|
|
334
|
-
}), w(k(
|
|
334
|
+
}), w(k(d), {
|
|
335
335
|
type: "primary",
|
|
336
336
|
"icon-name": "reload",
|
|
337
337
|
onClick: g
|
|
338
338
|
}, {
|
|
339
339
|
default: A(() => [...r[15] ||= [C("重试", -1)]]),
|
|
340
340
|
_: 1
|
|
341
|
-
})])) :
|
|
341
|
+
})])) : f.value.length === 0 ? (E(), x("p", B, "暂无任职信息")) : (E(), y(k(ie), {
|
|
342
342
|
key: 4,
|
|
343
343
|
class: "employment-table",
|
|
344
|
-
columns:
|
|
345
|
-
rows:
|
|
344
|
+
columns: le,
|
|
345
|
+
rows: fe.value,
|
|
346
346
|
"row-key": "id",
|
|
347
347
|
pagination: !1,
|
|
348
348
|
"horizontal-scroll": "",
|
|
@@ -355,24 +355,24 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
355
355
|
class: "employment-table-row-actions",
|
|
356
356
|
onClick: r[2] ||= j(() => {}, ["stop"]),
|
|
357
357
|
onDblclick: r[3] ||= j(() => {}, ["stop"])
|
|
358
|
-
}, [w(k(
|
|
358
|
+
}, [w(k(d), {
|
|
359
359
|
type: "text",
|
|
360
|
-
disabled:
|
|
360
|
+
disabled: p.value,
|
|
361
361
|
onClick: (t) => xe(e)
|
|
362
362
|
}, {
|
|
363
363
|
default: A(() => [...r[16] ||= [C(" 编辑 ", -1)]]),
|
|
364
364
|
_: 1
|
|
365
|
-
}, 8, ["disabled", "onClick"]), w(k(
|
|
365
|
+
}, 8, ["disabled", "onClick"]), w(k(n), {
|
|
366
366
|
items: Ee(e),
|
|
367
367
|
trigger: "hover",
|
|
368
368
|
onSelect: (t) => De(e, t)
|
|
369
369
|
}, {
|
|
370
|
-
default: A(() => [w(k(
|
|
370
|
+
default: A(() => [w(k(d), {
|
|
371
371
|
type: "text",
|
|
372
372
|
"icon-name": "down",
|
|
373
373
|
title: "更多",
|
|
374
374
|
"aria-label": "更多",
|
|
375
|
-
disabled:
|
|
375
|
+
disabled: p.value
|
|
376
376
|
}, null, 8, ["disabled"])]),
|
|
377
377
|
_: 1
|
|
378
378
|
}, 8, ["items", "onSelect"])], 32)]),
|
|
@@ -397,7 +397,7 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
397
397
|
}, K = { class: "employee-account-status" }, q = { key: 0 }, We = { class: "employee-form-label" }, Ge = {
|
|
398
398
|
key: 0,
|
|
399
399
|
"aria-hidden": "true"
|
|
400
|
-
}, Ke = /*#__PURE__*/
|
|
400
|
+
}, Ke = /*#__PURE__*/ t(/* @__PURE__ */ T({
|
|
401
401
|
name: "EmployeeDetailContent",
|
|
402
402
|
__name: "EmployeeDetailContent",
|
|
403
403
|
props: {
|
|
@@ -444,24 +444,24 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
444
444
|
"removeAccount",
|
|
445
445
|
"updateAccountProvisionField"
|
|
446
446
|
],
|
|
447
|
-
setup(t, { emit:
|
|
448
|
-
let i = t, a =
|
|
449
|
-
return (t,
|
|
447
|
+
setup(t, { emit: n }) {
|
|
448
|
+
let i = t, a = n;
|
|
449
|
+
return (t, n) => i.loading ? (E(), y(k(te), {
|
|
450
450
|
key: 0,
|
|
451
451
|
class: "employee-detail-state",
|
|
452
452
|
tip: "加载职员详情"
|
|
453
|
-
})) : i.loadFailed ? (E(), x("div", V, [w(k(
|
|
453
|
+
})) : i.loadFailed ? (E(), x("div", V, [w(k(s), {
|
|
454
454
|
title: "详情加载失败",
|
|
455
455
|
message: "无法加载职员详情,请重试"
|
|
456
|
-
}), w(k(
|
|
456
|
+
}), w(k(d), {
|
|
457
457
|
type: "primary",
|
|
458
458
|
"icon-name": "reload",
|
|
459
|
-
onClick:
|
|
459
|
+
onClick: n[0] ||= (e) => a("retry")
|
|
460
460
|
}, {
|
|
461
|
-
default: A(() => [...
|
|
461
|
+
default: A(() => [...n[12] ||= [C("重试", -1)]]),
|
|
462
462
|
_: 1
|
|
463
463
|
})])) : i.showContent ? (E(), x(ke, { key: 2 }, [i.mode === "view" ? (E(), x(ke, { key: 0 }, [
|
|
464
|
-
w(k(
|
|
464
|
+
w(k(l), {
|
|
465
465
|
record: i.draft,
|
|
466
466
|
fields: i.fields,
|
|
467
467
|
fallback: i.fallback,
|
|
@@ -474,90 +474,90 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
474
474
|
"picker-configs",
|
|
475
475
|
"display-of"
|
|
476
476
|
]),
|
|
477
|
-
S("section", H, [S("div", He, [
|
|
477
|
+
S("section", H, [S("div", He, [n[14] ||= S("strong", null, "登录账号", -1), !i.account && !i.showAccountProvisionForm ? (E(), y(k(d), {
|
|
478
478
|
key: 0,
|
|
479
479
|
type: "primary",
|
|
480
480
|
"icon-name": "plus",
|
|
481
481
|
disabled: !i.canManageAccounts,
|
|
482
|
-
onClick:
|
|
482
|
+
onClick: n[1] ||= (e) => a("startAccountProvision")
|
|
483
483
|
}, {
|
|
484
|
-
default: A(() => [...
|
|
484
|
+
default: A(() => [...n[13] ||= [C(" 设置账号 ", -1)]]),
|
|
485
485
|
_: 1
|
|
486
|
-
}, 8, ["disabled"])) : b("v-if", !0)]), i.loadingAccounts ? (E(), y(k(
|
|
486
|
+
}, 8, ["disabled"])) : b("v-if", !0)]), i.loadingAccounts ? (E(), y(k(te), {
|
|
487
487
|
key: 0,
|
|
488
488
|
class: "employee-account-state",
|
|
489
489
|
tip: "加载账号绑定"
|
|
490
|
-
})) : i.accountsLoadFailed ? (E(), x("div", Ue, [w(k(
|
|
490
|
+
})) : i.accountsLoadFailed ? (E(), x("div", Ue, [w(k(s), {
|
|
491
491
|
title: "账号绑定加载失败",
|
|
492
492
|
message: "无法加载职员账号绑定,请重试"
|
|
493
|
-
}), w(k(
|
|
493
|
+
}), w(k(d), {
|
|
494
494
|
"icon-name": "reload",
|
|
495
|
-
onClick:
|
|
495
|
+
onClick: n[2] ||= (e) => a("retryAccounts")
|
|
496
496
|
}, {
|
|
497
|
-
default: A(() => [...
|
|
497
|
+
default: A(() => [...n[15] ||= [C("重试", -1)]]),
|
|
498
498
|
_: 1
|
|
499
499
|
})])) : i.showAccountProvisionForm ? (E(), x("form", {
|
|
500
500
|
key: 2,
|
|
501
501
|
class: "employee-account-form",
|
|
502
|
-
onSubmit:
|
|
502
|
+
onSubmit: n[6] ||= j((e) => a("provisionAccount"), ["prevent"])
|
|
503
503
|
}, [
|
|
504
|
-
S("label", null, [
|
|
504
|
+
S("label", null, [n[16] ||= S("span", null, "账号", -1), w(k(c), {
|
|
505
505
|
value: i.accountProvisionDraft.username,
|
|
506
506
|
placeholder: "请输入登录账号",
|
|
507
507
|
disabled: i.savingAccount,
|
|
508
|
-
"onUpdate:value":
|
|
508
|
+
"onUpdate:value": n[3] ||= (e) => a("updateAccountProvisionField", "username", e)
|
|
509
509
|
}, null, 8, ["value", "disabled"])]),
|
|
510
|
-
S("label", null, [
|
|
510
|
+
S("label", null, [n[17] ||= S("span", null, "初始密码", -1), w(k(c), {
|
|
511
511
|
value: i.accountProvisionDraft.password,
|
|
512
512
|
type: "password",
|
|
513
513
|
placeholder: "请输入初始密码",
|
|
514
514
|
disabled: i.savingAccount,
|
|
515
|
-
"onUpdate:value":
|
|
515
|
+
"onUpdate:value": n[4] ||= (e) => a("updateAccountProvisionField", "password", e)
|
|
516
516
|
}, null, 8, ["value", "disabled"])]),
|
|
517
|
-
S("div", U, [w(k(
|
|
517
|
+
S("div", U, [w(k(d), {
|
|
518
518
|
disabled: i.savingAccount,
|
|
519
|
-
onClick:
|
|
519
|
+
onClick: n[5] ||= (e) => a("cancelAccountProvision")
|
|
520
520
|
}, {
|
|
521
|
-
default: A(() => [...
|
|
521
|
+
default: A(() => [...n[18] ||= [C("取消", -1)]]),
|
|
522
522
|
_: 1
|
|
523
|
-
}, 8, ["disabled"]), w(k(
|
|
523
|
+
}, 8, ["disabled"]), w(k(d), {
|
|
524
524
|
type: "primary",
|
|
525
525
|
"html-type": "submit",
|
|
526
526
|
"icon-name": "plus",
|
|
527
527
|
loading: i.savingAccount,
|
|
528
528
|
disabled: !i.canManageAccounts
|
|
529
529
|
}, {
|
|
530
|
-
default: A(() => [...
|
|
530
|
+
default: A(() => [...n[19] ||= [C(" 创建账号并绑定 ", -1)]]),
|
|
531
531
|
_: 1
|
|
532
532
|
}, 8, ["loading", "disabled"])])
|
|
533
533
|
], 32)) : i.account ? (E(), x("div", G, [
|
|
534
534
|
S("div", null, [S("strong", null, O(i.accountUserTitle), 1), S("span", null, O(i.accountUserDescription), 1)]),
|
|
535
535
|
S("span", K, O(i.accountStatusTitle), 1),
|
|
536
|
-
w(k(
|
|
536
|
+
w(k(d), {
|
|
537
537
|
danger: "",
|
|
538
538
|
"icon-name": "delete",
|
|
539
539
|
disabled: i.savingAccount || !i.canManageAccounts,
|
|
540
|
-
onClick:
|
|
540
|
+
onClick: n[7] ||= (e) => a("removeAccount")
|
|
541
541
|
}, {
|
|
542
|
-
default: A(() => [...
|
|
542
|
+
default: A(() => [...n[21] ||= [C(" 移除账户 ", -1)]]),
|
|
543
543
|
_: 1
|
|
544
544
|
}, 8, ["disabled"])
|
|
545
|
-
])) : (E(), x("div", W, [...
|
|
546
|
-
w(k(
|
|
545
|
+
])) : (E(), x("div", W, [...n[20] ||= [S("span", null, "未设置登录账号", -1), S("small", null, "可从职员档案生成账号并自动完成一对一绑定。", -1)]]))]),
|
|
546
|
+
w(k(f), {
|
|
547
547
|
record: i.draft,
|
|
548
548
|
"show-sort-order": ""
|
|
549
549
|
}, null, 8, ["record"])
|
|
550
550
|
], 64)) : (E(), x(ke, { key: 1 }, [i.externallyChanged ? (E(), y(k(e), {
|
|
551
551
|
key: 0,
|
|
552
|
-
onReload:
|
|
553
|
-
onDismiss:
|
|
552
|
+
onReload: n[8] ||= (e) => a("reloadExternal"),
|
|
553
|
+
onDismiss: n[9] ||= (e) => a("dismissExternal")
|
|
554
554
|
})) : b("v-if", !0), S("form", {
|
|
555
555
|
class: "employee-form",
|
|
556
|
-
onSubmit:
|
|
557
|
-
}, [i.visibleOf("organizationId") ? (E(), x("label", q, [S("span", We, [C(O(i.labelOf("organizationId")) + " ", 1), i.requiredOf("organizationId") ? (E(), x("strong", Ge, "*")) : b("v-if", !0)]), w(k(
|
|
556
|
+
onSubmit: n[11] ||= j((e) => a("save"), ["prevent"])
|
|
557
|
+
}, [i.visibleOf("organizationId") ? (E(), x("label", q, [S("span", We, [C(O(i.labelOf("organizationId")) + " ", 1), i.requiredOf("organizationId") ? (E(), x("strong", Ge, "*")) : b("v-if", !0)]), w(k(c), {
|
|
558
558
|
value: i.selectedOrganization?.title ?? i.selectedOrganization?.id ?? "-",
|
|
559
559
|
disabled: ""
|
|
560
|
-
}, null, 8, ["value"])])) : b("v-if", !0), w(k(
|
|
560
|
+
}, null, 8, ["value"])])) : b("v-if", !0), w(k(r), {
|
|
561
561
|
record: i.draft,
|
|
562
562
|
fields: i.fields,
|
|
563
563
|
"exclude-field-names": ["organizationId"],
|
|
@@ -565,7 +565,7 @@ var N = { class: "employment-drawer" }, P = { class: "employment-drawer-header"
|
|
|
565
565
|
"picker-configs": i.pickerConfigs,
|
|
566
566
|
disabled: i.formDisabled,
|
|
567
567
|
"option-context": i.optionContext,
|
|
568
|
-
"onUpdate:field":
|
|
568
|
+
"onUpdate:field": n[10] ||= (e, t) => a("updateField", e, t)
|
|
569
569
|
}, null, 8, [
|
|
570
570
|
"record",
|
|
571
571
|
"fields",
|
|
@@ -614,7 +614,7 @@ function Xe(e) {
|
|
|
614
614
|
error: void 0
|
|
615
615
|
});
|
|
616
616
|
} catch (n) {
|
|
617
|
-
let r =
|
|
617
|
+
let r = a(n, {
|
|
618
618
|
source: `${e.source}-employment-rows`,
|
|
619
619
|
phase: "load"
|
|
620
620
|
});
|
|
@@ -626,7 +626,7 @@ function Xe(e) {
|
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function i(e, n) {
|
|
630
630
|
let i = String(e.id ?? "");
|
|
631
631
|
i && (t.value = n ? Array.from(new Set([...t.value, i])) : t.value.filter((e) => e !== i), n && o(i).records.length === 0 && r(i));
|
|
632
632
|
}
|
|
@@ -645,15 +645,15 @@ function Xe(e) {
|
|
|
645
645
|
[e]: t
|
|
646
646
|
};
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function c() {
|
|
649
649
|
t.value = [], n.value = {};
|
|
650
650
|
}
|
|
651
651
|
return {
|
|
652
652
|
expandedEmployeeKeys: t,
|
|
653
653
|
employmentRowState: o,
|
|
654
|
-
handleEmployeeRowExpand:
|
|
654
|
+
handleEmployeeRowExpand: i,
|
|
655
655
|
loadEmployeeEmploymentRows: r,
|
|
656
|
-
resetEmployeeEmploymentRows:
|
|
656
|
+
resetEmployeeEmploymentRows: c
|
|
657
657
|
};
|
|
658
658
|
}
|
|
659
659
|
//#endregion
|
|
@@ -661,7 +661,7 @@ function Xe(e) {
|
|
|
661
661
|
var Ze = { key: 0 }, Qe = {
|
|
662
662
|
key: 1,
|
|
663
663
|
class: "employee-row-employment-list"
|
|
664
|
-
}, $e = /*#__PURE__*/
|
|
664
|
+
}, $e = /*#__PURE__*/ t(/* @__PURE__ */ T({
|
|
665
665
|
name: "EmployeeManagementView",
|
|
666
666
|
__name: "EmployeeManagementView",
|
|
667
667
|
props: {
|
|
@@ -673,13 +673,13 @@ var Ze = { key: 0 }, Qe = {
|
|
|
673
673
|
"departmentId",
|
|
674
674
|
"employeeNo",
|
|
675
675
|
"title"
|
|
676
|
-
],
|
|
677
|
-
context: () =>
|
|
676
|
+
], r = xe(), s = h({ moduleAlias: "iam.organization" }), c = h({ moduleAlias: "iam.department" }), l = h({ moduleAlias: "iam.employee" }), te = h({ moduleAlias: "iam.user" }), u = D(se(void 0)), f = v(() => !!t.recordId), ie = v(() => f.value && r?.presentation === "drawer"), ye = v(() => !f.value || ie.value), Ce = D(""), Te = D(0), _ = D(0), T = D(), j = D(), M = D(), N = D(!1), P = D("view"), F = D(!1), I = D(!1), L = D(!1), R = D(0), z = D(Qt(void 0)), B = D(), V = D(), H = D(), He = D(!1), Ue = D(), U = D(!1), W = D(!1), G = D(!1), K = D(!1), q = D($t(void 0)), We = ve({
|
|
677
|
+
context: () => l,
|
|
678
678
|
listReloadKey: _,
|
|
679
679
|
canChange: X,
|
|
680
680
|
resetSelection: Ft
|
|
681
681
|
}), { expandedEmployeeKeys: Ge, employmentRowState: $e, handleEmployeeRowExpand: et, loadEmployeeEmploymentRows: tt, resetEmployeeEmploymentRows: nt } = Xe({
|
|
682
|
-
context:
|
|
682
|
+
context: l,
|
|
683
683
|
source: "employee-management",
|
|
684
684
|
pathOf: (e) => We.active.value ? `/iam.employee/recycle-bin/${encodeURIComponent(e)}/employment-view` : `/iam.employee/${encodeURIComponent(e)}/employment-view`
|
|
685
685
|
}), J = De({
|
|
@@ -705,7 +705,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
705
705
|
rt.enqueue(n.length > 0 ? n : "__collection__");
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
|
-
let it = v(() =>
|
|
708
|
+
let it = v(() => l), Y = v(() => T.value?.id), at = v(() => _e(c, {
|
|
709
709
|
scopeFieldName: "organizationId",
|
|
710
710
|
scopeValue: Y.value,
|
|
711
711
|
treePath: "/iam.department/tree",
|
|
@@ -731,7 +731,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
731
731
|
loadingDetail: F.value,
|
|
732
732
|
loadFailed: I.value,
|
|
733
733
|
selectedEmployeeId: M.value?.id
|
|
734
|
-
})), ft = v(() => F.value ? !1 : P.value === "create" ? !!Y.value &&
|
|
734
|
+
})), ft = v(() => F.value ? !1 : P.value === "create" ? !!Y.value && l.can("create") === !0 : !!M.value?.id && l.can("update") === !0), pt = v(() => F.value || !M.value?.id ? !1 : l.can(hn(M.value)) === !0), mt = v(() => !M.value?.id || F.value || L.value ? !1 : l.can("employeeAccounts", M.value.id) !== !1), ht = v(() => P.value === "view" ? M.value?.id ? [{
|
|
735
735
|
key: "edit",
|
|
736
736
|
actionCode: "update",
|
|
737
737
|
title: "编辑",
|
|
@@ -804,13 +804,13 @@ var Ze = { key: 0 }, Qe = {
|
|
|
804
804
|
onPromoted: Wt
|
|
805
805
|
});
|
|
806
806
|
Pe(M, (e) => {
|
|
807
|
-
!
|
|
807
|
+
!f.value || !e || r?.setTitle(pn(e));
|
|
808
808
|
}, { immediate: !0 });
|
|
809
809
|
let yt;
|
|
810
810
|
Me(() => {
|
|
811
811
|
if (xt(), !t.recordId) return;
|
|
812
812
|
let e = { recordId: t.recordId };
|
|
813
|
-
|
|
813
|
+
ie.value || (yt = Je(e, bt));
|
|
814
814
|
let n = Ye(e);
|
|
815
815
|
if (n) {
|
|
816
816
|
an(n);
|
|
@@ -823,17 +823,17 @@ var Ze = { key: 0 }, Qe = {
|
|
|
823
823
|
}
|
|
824
824
|
async function xt() {
|
|
825
825
|
try {
|
|
826
|
-
|
|
826
|
+
u.value = se((await l.runtime.ready).uiDescriptor);
|
|
827
827
|
} catch (e) {
|
|
828
|
-
|
|
828
|
+
a(e, {
|
|
829
829
|
source: "employee-management",
|
|
830
830
|
phase: "load"
|
|
831
831
|
});
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
834
|
function St(e) {
|
|
835
|
-
return
|
|
836
|
-
fields:
|
|
835
|
+
return p(e, {
|
|
836
|
+
fields: u.value,
|
|
837
837
|
fallback: En
|
|
838
838
|
});
|
|
839
839
|
}
|
|
@@ -917,15 +917,15 @@ var Ze = { key: 0 }, Qe = {
|
|
|
917
917
|
actionCode: "employeePositions",
|
|
918
918
|
title: "任职",
|
|
919
919
|
after: "edit",
|
|
920
|
-
visible: !!e.id &&
|
|
920
|
+
visible: !!e.id && l.can("employeePositions", String(e.id)) !== !1
|
|
921
921
|
}];
|
|
922
922
|
}
|
|
923
923
|
async function zt(e) {
|
|
924
924
|
let t = String(e.id ?? "");
|
|
925
925
|
if (t) try {
|
|
926
|
-
Ue.value = await
|
|
926
|
+
Ue.value = await l.crud.view(t), He.value = !0;
|
|
927
927
|
} catch (e) {
|
|
928
|
-
|
|
928
|
+
a(e, {
|
|
929
929
|
source: "employee-management",
|
|
930
930
|
phase: "load"
|
|
931
931
|
});
|
|
@@ -943,14 +943,14 @@ var Ze = { key: 0 }, Qe = {
|
|
|
943
943
|
function Ut() {
|
|
944
944
|
if (X()) {
|
|
945
945
|
if (!Y.value) {
|
|
946
|
-
|
|
946
|
+
i("请先选择机构", { phase: "validation" });
|
|
947
947
|
return;
|
|
948
948
|
}
|
|
949
949
|
z.value = Qt(Y.value), M.value = void 0, j.value = void 0, J.clearExternalChanged(), P.value = "create", F.value = !1, I.value = !1, R.value += 1, B.value = void 0, $(), N.value = !0;
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
function Wt() {
|
|
953
|
-
L.value || (R.value += 1, F.value = !1, I.value = !1, N.value = !1, P.value = "view", B.value = void 0, J.clearExternalChanged(), $(), z.value = M.value ? en(M.value) : Qt(Y.value),
|
|
953
|
+
L.value || (R.value += 1, F.value = !1, I.value = !1, N.value = !1, P.value = "view", B.value = void 0, J.clearExternalChanged(), $(), z.value = M.value ? en(M.value) : Qt(Y.value), ie.value && r?.dismiss());
|
|
954
954
|
}
|
|
955
955
|
function Gt() {
|
|
956
956
|
if (!L.value) {
|
|
@@ -969,27 +969,27 @@ var Ze = { key: 0 }, Qe = {
|
|
|
969
969
|
let n = String(e.id ?? "");
|
|
970
970
|
if (!n) return;
|
|
971
971
|
j.value = n, J.clearExternalChanged(), N.value = !0, P.value = t, M.value = void 0, z.value = en(e), B.value = void 0, $(), F.value = !0, I.value = !1;
|
|
972
|
-
let
|
|
973
|
-
R.value =
|
|
972
|
+
let r = R.value + 1;
|
|
973
|
+
R.value = r;
|
|
974
974
|
let o = () => Ie({
|
|
975
975
|
activeRequestSeq: R.value,
|
|
976
|
-
requestSeq:
|
|
976
|
+
requestSeq: r,
|
|
977
977
|
selectedEmployeeKey: j.value,
|
|
978
978
|
recordId: n
|
|
979
979
|
});
|
|
980
980
|
try {
|
|
981
|
-
let e = await
|
|
981
|
+
let e = await l.crud.view(n);
|
|
982
982
|
if (!o()) return;
|
|
983
983
|
if (!e?.id) {
|
|
984
|
-
I.value = !0,
|
|
984
|
+
I.value = !0, i("未找到指定职员", {
|
|
985
985
|
source: "employee-management",
|
|
986
986
|
phase: "load"
|
|
987
987
|
});
|
|
988
988
|
return;
|
|
989
989
|
}
|
|
990
|
-
M.value = e, z.value = en(e), I.value = !1, await sn(e,
|
|
990
|
+
M.value = e, z.value = en(e), I.value = !1, await sn(e, r), await on(e, r), cn(e, r);
|
|
991
991
|
} catch (e) {
|
|
992
|
-
o() && (I.value = !0,
|
|
992
|
+
o() && (I.value = !0, a(e, {
|
|
993
993
|
source: "employee-management",
|
|
994
994
|
phase: "load"
|
|
995
995
|
}));
|
|
@@ -1033,7 +1033,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1033
1033
|
}, "edit"));
|
|
1034
1034
|
}
|
|
1035
1035
|
async function Yt() {
|
|
1036
|
-
await
|
|
1036
|
+
await fe({
|
|
1037
1037
|
loading: L,
|
|
1038
1038
|
mode: P.value === "edit" ? "edit" : "create",
|
|
1039
1039
|
source: "employee-management",
|
|
@@ -1042,12 +1042,12 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1042
1042
|
deniedMessage: "当前用户无权保存职员",
|
|
1043
1043
|
createRecord: () => tn(z.value, Y.value ?? ""),
|
|
1044
1044
|
validateRecord: nn,
|
|
1045
|
-
save: (e, t) => t === "edit" && M.value?.id ?
|
|
1046
|
-
actionErrorHandlers: [
|
|
1045
|
+
save: (e, t) => t === "edit" && M.value?.id ? l.crud.update(M.value.id, e) : l.crud.insert(e),
|
|
1046
|
+
actionErrorHandlers: [me({
|
|
1047
1047
|
resourceLabel: "职员",
|
|
1048
1048
|
onNavigateToRecycleBin: () => Pt("recycleBin")
|
|
1049
1049
|
}), {
|
|
1050
|
-
code:
|
|
1050
|
+
code: he.conflictVersion,
|
|
1051
1051
|
handle: (e, { mode: t, record: n }) => t === "edit" && J.markExternalRecordChanged(n.id)
|
|
1052
1052
|
}],
|
|
1053
1053
|
onSaved: ({ record: e }) => {
|
|
@@ -1057,33 +1057,33 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
1059
|
async function Xt() {
|
|
1060
|
-
await
|
|
1060
|
+
await m({
|
|
1061
1061
|
loading: L,
|
|
1062
1062
|
source: "employee-management",
|
|
1063
1063
|
record: () => M.value && M.value.id ? M.value : void 0,
|
|
1064
1064
|
canExecute: () => pt.value,
|
|
1065
1065
|
deniedMessage: "当前用户无权变更职员启停状态",
|
|
1066
|
-
execute: (e) => e.enabled === !1 ?
|
|
1066
|
+
execute: (e) => e.enabled === !1 ? l.crud.enable(e.id, { version: e.version }) : l.crud.disable(e.id, { version: e.version }),
|
|
1067
1067
|
onExecuted: async (e, t) => {
|
|
1068
|
-
let n = await
|
|
1068
|
+
let n = await l.crud.view(t.id);
|
|
1069
1069
|
await on(n, rn(n)), _.value += 1;
|
|
1070
1070
|
}
|
|
1071
1071
|
});
|
|
1072
1072
|
}
|
|
1073
1073
|
async function Zt(e) {
|
|
1074
|
-
await
|
|
1074
|
+
await m({
|
|
1075
1075
|
loading: L,
|
|
1076
1076
|
source: "employee-management",
|
|
1077
1077
|
record: () => e?.id ? e : void 0,
|
|
1078
|
-
canExecute: () =>
|
|
1078
|
+
canExecute: () => l.can("delete") === !0,
|
|
1079
1079
|
deniedMessage: "当前用户无权删除职员",
|
|
1080
|
-
confirm: (e) =>
|
|
1080
|
+
confirm: (e) => ne({
|
|
1081
1081
|
title: "删除职员",
|
|
1082
1082
|
content: `确认删除职员「${fn(e)}」?`,
|
|
1083
1083
|
okText: "删除",
|
|
1084
1084
|
danger: !0
|
|
1085
1085
|
}),
|
|
1086
|
-
execute: (e) =>
|
|
1086
|
+
execute: (e) => l.crud.delete(String(e.id), { version: e.version }),
|
|
1087
1087
|
onExecuted: (e, t) => {
|
|
1088
1088
|
let n = String(t.id);
|
|
1089
1089
|
j.value === n && (j.value = void 0, M.value = void 0, z.value = Qt(Y.value), J.clearExternalChanged(), F.value = !1, I.value = !1, R.value += 1, B.value = void 0, $(), N.value = !1, P.value = "view"), _.value += 1;
|
|
@@ -1108,7 +1108,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1108
1108
|
return { ...e };
|
|
1109
1109
|
}
|
|
1110
1110
|
function tn(e, t) {
|
|
1111
|
-
return
|
|
1111
|
+
return le(e, {
|
|
1112
1112
|
organizationId: t,
|
|
1113
1113
|
departmentId: e.departmentId?.trim(),
|
|
1114
1114
|
employeeNo: e.employeeNo?.trim(),
|
|
@@ -1151,10 +1151,10 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1151
1151
|
B.value = void 0;
|
|
1152
1152
|
let n = e.id, r = e.departmentId;
|
|
1153
1153
|
if (r) try {
|
|
1154
|
-
let e = await
|
|
1154
|
+
let e = await c.crud.view(r);
|
|
1155
1155
|
Q(n, t) && (B.value = e);
|
|
1156
1156
|
} catch (e) {
|
|
1157
|
-
Q(n, t) &&
|
|
1157
|
+
Q(n, t) && a(e, {
|
|
1158
1158
|
source: "employee-management",
|
|
1159
1159
|
phase: "load"
|
|
1160
1160
|
});
|
|
@@ -1166,7 +1166,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1166
1166
|
let e = await s.crud.view(r);
|
|
1167
1167
|
Q(n, t) && (T.value = e);
|
|
1168
1168
|
} catch (e) {
|
|
1169
|
-
Q(n, t) &&
|
|
1169
|
+
Q(n, t) && a(e, {
|
|
1170
1170
|
source: "employee-management",
|
|
1171
1171
|
phase: "load"
|
|
1172
1172
|
});
|
|
@@ -1180,11 +1180,11 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
U.value = !0, G.value = !1;
|
|
1182
1182
|
try {
|
|
1183
|
-
let e = await
|
|
1183
|
+
let e = await l.http.request({ path: `/iam.employee/${encodeURIComponent(n)}/account` });
|
|
1184
1184
|
if (!Q(n, t)) return;
|
|
1185
1185
|
V.value = e, await ln(e, n, t);
|
|
1186
1186
|
} catch (e) {
|
|
1187
|
-
Q(n, t) && (G.value = !0,
|
|
1187
|
+
Q(n, t) && (G.value = !0, a(e, {
|
|
1188
1188
|
source: "employee-management",
|
|
1189
1189
|
phase: "load"
|
|
1190
1190
|
}));
|
|
@@ -1198,26 +1198,26 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1198
1198
|
Q(t, n) && (H.value = void 0);
|
|
1199
1199
|
return;
|
|
1200
1200
|
}
|
|
1201
|
-
let
|
|
1201
|
+
let i;
|
|
1202
1202
|
try {
|
|
1203
|
-
|
|
1203
|
+
i = await te.crud.view(r);
|
|
1204
1204
|
} catch (e) {
|
|
1205
|
-
|
|
1205
|
+
a(e, {
|
|
1206
1206
|
source: "employee-management",
|
|
1207
1207
|
phase: "load"
|
|
1208
|
-
}),
|
|
1208
|
+
}), i = {
|
|
1209
1209
|
id: r,
|
|
1210
1210
|
username: r
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
-
Q(t, n) && (H.value =
|
|
1213
|
+
Q(t, n) && (H.value = i);
|
|
1214
1214
|
}
|
|
1215
1215
|
async function un() {
|
|
1216
1216
|
let e = M.value, t = Sn(q.value);
|
|
1217
1217
|
if (!e?.id || !mt.value) return;
|
|
1218
1218
|
let n = Cn(t);
|
|
1219
1219
|
if (n) {
|
|
1220
|
-
|
|
1220
|
+
i(n, {
|
|
1221
1221
|
source: "employee-management",
|
|
1222
1222
|
phase: "validation"
|
|
1223
1223
|
});
|
|
@@ -1225,17 +1225,17 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
W.value = !0;
|
|
1227
1227
|
try {
|
|
1228
|
-
let n = await
|
|
1228
|
+
let n = await l.http.request({
|
|
1229
1229
|
method: "POST",
|
|
1230
1230
|
path: `/iam.employee/${encodeURIComponent(e.id)}/account/provision`,
|
|
1231
1231
|
body: t
|
|
1232
|
-
}), r =
|
|
1233
|
-
V.value = r.binding, H.value = r.user, K.value = !1, q.value = $t(e), await
|
|
1232
|
+
}), r = oe(n);
|
|
1233
|
+
V.value = r.binding, H.value = r.user, K.value = !1, q.value = $t(e), await ce(n, {
|
|
1234
1234
|
source: "employee-management",
|
|
1235
1235
|
phase: "action"
|
|
1236
1236
|
});
|
|
1237
1237
|
} catch (e) {
|
|
1238
|
-
|
|
1238
|
+
a(e, {
|
|
1239
1239
|
source: "employee-management",
|
|
1240
1240
|
phase: "action"
|
|
1241
1241
|
});
|
|
@@ -1245,7 +1245,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
async function dn() {
|
|
1247
1247
|
let e = M.value;
|
|
1248
|
-
if (!(!e?.id || !V.value?.id || !mt.value) && await
|
|
1248
|
+
if (!(!e?.id || !V.value?.id || !mt.value) && await ne({
|
|
1249
1249
|
title: "移除账户",
|
|
1250
1250
|
content: `确认移除账户「${gn()}」?该用户账号会同步删除。`,
|
|
1251
1251
|
okText: "移除",
|
|
@@ -1253,16 +1253,16 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1253
1253
|
})) {
|
|
1254
1254
|
W.value = !0;
|
|
1255
1255
|
try {
|
|
1256
|
-
let t = await
|
|
1256
|
+
let t = await l.http.request({
|
|
1257
1257
|
method: "POST",
|
|
1258
1258
|
path: `/iam.employee/${encodeURIComponent(e.id)}/account/delete`
|
|
1259
1259
|
});
|
|
1260
|
-
await cn(e, R.value), await
|
|
1260
|
+
await cn(e, R.value), await ce(t, {
|
|
1261
1261
|
source: "employee-management",
|
|
1262
1262
|
phase: "action"
|
|
1263
1263
|
});
|
|
1264
1264
|
} catch (e) {
|
|
1265
|
-
|
|
1265
|
+
a(e, {
|
|
1266
1266
|
source: "employee-management",
|
|
1267
1267
|
phase: "action"
|
|
1268
1268
|
});
|
|
@@ -1386,13 +1386,13 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1386
1386
|
controlType: "enabledStatus"
|
|
1387
1387
|
}
|
|
1388
1388
|
};
|
|
1389
|
-
return (e, t) => !
|
|
1389
|
+
return (e, t) => !f.value || ie.value ? (E(), y(k(pe), {
|
|
1390
1390
|
key: 0,
|
|
1391
1391
|
class: "employee-management-page"
|
|
1392
1392
|
}, {
|
|
1393
1393
|
default: A(() => [
|
|
1394
1394
|
w(k(ge), null, {
|
|
1395
|
-
default: A(() => [w(k(
|
|
1395
|
+
default: A(() => [w(k(re), {
|
|
1396
1396
|
class: "employee-scope-panel",
|
|
1397
1397
|
title: "机构树",
|
|
1398
1398
|
"refresh-title": "刷新机构树",
|
|
@@ -1401,7 +1401,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1401
1401
|
onRefresh: jt,
|
|
1402
1402
|
"onUpdate:searchKeyword": t[0] ||= (e) => Ce.value = e
|
|
1403
1403
|
}, {
|
|
1404
|
-
default: A(() => [w(k(
|
|
1404
|
+
default: A(() => [w(k(de), {
|
|
1405
1405
|
context: k(s),
|
|
1406
1406
|
"selected-id": T.value?.id,
|
|
1407
1407
|
"reload-key": Te.value,
|
|
@@ -1449,14 +1449,14 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1449
1449
|
onModeChange: Pt,
|
|
1450
1450
|
onRestored: It
|
|
1451
1451
|
}, {
|
|
1452
|
-
expandedRow: A(({ record: e }) => [w(k(
|
|
1452
|
+
expandedRow: A(({ record: e }) => [w(k(ae), {
|
|
1453
1453
|
title: "任职信息",
|
|
1454
1454
|
loading: k($e)(String(e.id ?? "")).loading,
|
|
1455
1455
|
error: k($e)(String(e.id ?? "")).error,
|
|
1456
1456
|
"loading-tip": "加载任职信息",
|
|
1457
1457
|
"error-title": "任职信息加载失败"
|
|
1458
1458
|
}, {
|
|
1459
|
-
actions: A(() => [w(k(
|
|
1459
|
+
actions: A(() => [w(k(d), {
|
|
1460
1460
|
type: "text",
|
|
1461
1461
|
"icon-name": "reload",
|
|
1462
1462
|
disabled: k($e)(String(e.id ?? "")).loading,
|
|
@@ -1493,7 +1493,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1493
1493
|
"external-query-values",
|
|
1494
1494
|
"onRowExpand"
|
|
1495
1495
|
]),
|
|
1496
|
-
ye.value ? (E(), y(k(
|
|
1496
|
+
ye.value ? (E(), y(k(ue), {
|
|
1497
1497
|
key: 0,
|
|
1498
1498
|
open: N.value,
|
|
1499
1499
|
title: ct.value,
|
|
@@ -1502,7 +1502,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1502
1502
|
promotion: k(vt),
|
|
1503
1503
|
onClose: Wt
|
|
1504
1504
|
}, {
|
|
1505
|
-
status: A(() => [P.value === "view" && M.value ? (E(), y(k(
|
|
1505
|
+
status: A(() => [P.value === "view" && M.value ? (E(), y(k(ee), {
|
|
1506
1506
|
key: 0,
|
|
1507
1507
|
enabled: M.value.enabled !== !1,
|
|
1508
1508
|
disabled: L.value || !pt.value,
|
|
@@ -1529,7 +1529,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1529
1529
|
"load-failed": I.value,
|
|
1530
1530
|
"form-disabled": ut.value,
|
|
1531
1531
|
"show-content": dt.value,
|
|
1532
|
-
fields:
|
|
1532
|
+
fields: u.value,
|
|
1533
1533
|
fallback: En,
|
|
1534
1534
|
"picker-configs": ot.value,
|
|
1535
1535
|
"display-of": Ot,
|
|
@@ -1548,7 +1548,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1548
1548
|
"account-user-title": gn(),
|
|
1549
1549
|
"account-user-description": _n(),
|
|
1550
1550
|
"account-status-title": vn(),
|
|
1551
|
-
"option-context": k(
|
|
1551
|
+
"option-context": k(l),
|
|
1552
1552
|
onRetry: qt,
|
|
1553
1553
|
onSave: Yt,
|
|
1554
1554
|
onReloadExternal: Jt,
|
|
@@ -1603,12 +1603,12 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1603
1603
|
}, null, 8, ["open", "employee"])
|
|
1604
1604
|
]),
|
|
1605
1605
|
_: 1
|
|
1606
|
-
})) : (E(), y(k(
|
|
1606
|
+
})) : (E(), y(k(o), {
|
|
1607
1607
|
key: 1,
|
|
1608
1608
|
title: ct.value,
|
|
1609
1609
|
subtitle: lt.value
|
|
1610
1610
|
}, {
|
|
1611
|
-
status: A(() => [P.value === "view" && M.value ? (E(), y(k(
|
|
1611
|
+
status: A(() => [P.value === "view" && M.value ? (E(), y(k(ee), {
|
|
1612
1612
|
key: 0,
|
|
1613
1613
|
enabled: M.value.enabled !== !1,
|
|
1614
1614
|
disabled: L.value || !pt.value,
|
|
@@ -1621,7 +1621,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1621
1621
|
"loading"
|
|
1622
1622
|
])) : b("v-if", !0)]),
|
|
1623
1623
|
operation: A(() => [w(k(g), {
|
|
1624
|
-
context: k(
|
|
1624
|
+
context: k(l),
|
|
1625
1625
|
actions: _t.value,
|
|
1626
1626
|
"record-id": M.value?.id,
|
|
1627
1627
|
onAction: Kt
|
|
@@ -1640,7 +1640,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1640
1640
|
"load-failed": I.value,
|
|
1641
1641
|
"form-disabled": ut.value,
|
|
1642
1642
|
"show-content": dt.value,
|
|
1643
|
-
fields:
|
|
1643
|
+
fields: u.value,
|
|
1644
1644
|
fallback: En,
|
|
1645
1645
|
"picker-configs": ot.value,
|
|
1646
1646
|
"display-of": Ot,
|
|
@@ -1659,7 +1659,7 @@ var Ze = { key: 0 }, Qe = {
|
|
|
1659
1659
|
"account-user-title": gn(),
|
|
1660
1660
|
"account-user-description": _n(),
|
|
1661
1661
|
"account-status-title": vn(),
|
|
1662
|
-
"option-context": k(
|
|
1662
|
+
"option-context": k(l),
|
|
1663
1663
|
onRetry: qt,
|
|
1664
1664
|
onSave: Yt,
|
|
1665
1665
|
onReloadExternal: Jt,
|