@ximatai/muyun-web-app 0.26.6 → 0.26.7
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-DHZ4arBj.js → EmployeeDetailWorkspaceView-DYJLlkSz.js} +1 -1
- package/dist/EmployeeManagementView-taxWUa7g.js +1778 -0
- package/dist/{MetadataOrchestrationView-BLxigKBh.js → MetadataOrchestrationView-B-CPudJl.js} +195 -195
- package/dist/{ModuleActionManagementView-ByJzNkQs.js → ModuleActionManagementView-CmVj0e0C.js} +122 -122
- package/dist/RoleAuthorizationView-q_6CsBYq.js +592 -0
- package/dist/{RoleDetailWorkspaceView-Dfdigf04.js → RoleDetailWorkspaceView-DmJlJgAj.js} +1 -1
- package/dist/{RoleManagementView-D0e9nLwW.js → RoleManagementView-HCa9rH0f.js} +283 -283
- package/dist/{SystemUserDetailWorkspaceView-D-UPhCmD.js → SystemUserDetailWorkspaceView-U6Ij0US1.js} +1 -1
- package/dist/SystemUserManagementView-C1CkKivH.js +758 -0
- package/dist/{UserDetailWorkspaceView-BCSCLNSz.js → UserDetailWorkspaceView-OPYvD6mH.js} +1 -1
- package/dist/UserManagementView-gbCL9SnC.js +965 -0
- package/dist/index.css +1 -1
- package/dist/index.js +3257 -2210
- package/dist/{pageRealtime-Be2xkeKK.js → pageRealtime-CzJlr9hs.js} +17 -17
- package/dist/{platform-components-DuAohqJO.js → platform-components-DKKWbNrz.js} +3320 -2102
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +33 -0
- package/dist/types/app/LoginView.vue.d.ts +4 -1
- package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +20 -0
- package/dist/types/app/lockedTabPreference.d.ts +6 -0
- package/dist/types/app/themeSkinPreference.d.ts +11 -0
- package/dist/types/app/workbenchStartup.d.ts +14 -1
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +43 -0
- package/dist/types/consumer/index.d.ts +15 -1
- package/dist/types/consumer/userPreferencePersistence.d.ts +7 -0
- package/dist/types/consumer/workbenchNavigation.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +19 -1
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +20 -1
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +30 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -6
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +5 -5
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +6 -6
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +10 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +23 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +8 -0
- package/dist/types/platform-components/index.d.ts +1 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +6 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +5 -2
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +1 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +1 -1
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchBrandControl.vue.d.ts +22 -2
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +24 -0
- package/dist/types/platform-workbench/WorkbenchSidebarMenuEntry.vue.d.ts +19 -0
- package/dist/types/platform-workbench/menuHoverClickIntent.d.ts +10 -0
- package/dist/types/platform-workbench/menuPointerAim.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchLayout.d.ts +3 -0
- package/dist/types/views/applicationManagementState.d.ts +1 -1
- package/dist/types/views/fieldSpecManagementState.d.ts +1 -1
- package/dist/types/views/fieldUiControlManagementState.d.ts +1 -1
- package/dist/types/views/tenantManagementState.d.ts +11 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTabs.vue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/components/UiThemeProvider.vue.d.ts +21 -0
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +58 -0
- package/dist/types/vue-ui-antdv/themeGlobalScope.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +58 -0
- package/dist/types/web-core/clients.d.ts +9 -1
- package/dist/types/web-core/index.d.ts +2 -0
- package/dist/types/web-core/mock.d.ts +3 -1
- package/dist/types/web-core/userPreferences.d.ts +24 -0
- package/dist/{useUserSessionRows-DX9qYU5r.js → useUserSessionRows-CBHEzRFQ.js} +2 -2
- package/dist/workspaceViewSessions-DkB9myrq.js +3252 -0
- package/package.json +1 -1
- package/dist/EmployeeManagementView-BfGb_ssB.js +0 -1706
- package/dist/RoleAuthorizationView-DJSWY3fu.js +0 -592
- package/dist/SystemUserManagementView-DNKRvmDk.js +0 -761
- package/dist/UserManagementView-aY2AeeWK.js +0 -965
- package/dist/workspaceViewSessions-C3GP1UGp.js +0 -2639
package/dist/{ModuleActionManagementView-ByJzNkQs.js → ModuleActionManagementView-CmVj0e0C.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computed as
|
|
1
|
+
import { A as e, B as t, Dt as n, Et as r, I as ee, Mt as i, Nt as a, Ot as o, S as te, Tt as s, Wt as ne, Y as re, _ as ie, bt as c, gt as ae, jt as l, kt as u, o as d, st as oe, t as se, tt as ce, u as le, zt as ue } from "./platform-components-DKKWbNrz.js";
|
|
2
|
+
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, onMounted as de, openBlock as b, ref as x, toDisplayString as S, unref as C, withCtx as w, withModifiers as T } from "vue";
|
|
3
3
|
//#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
4
|
+
var fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" }, ge = {
|
|
5
5
|
type: "button",
|
|
6
6
|
class: "governance-help",
|
|
7
7
|
"aria-label": "访问方式说明"
|
|
8
|
-
},
|
|
8
|
+
}, _e = { class: "governance-reset-slot" }, ve = { class: "governance-item" }, ye = {
|
|
9
9
|
type: "button",
|
|
10
10
|
class: "governance-help",
|
|
11
11
|
"aria-label": "默认授予策略说明"
|
|
12
|
-
},
|
|
12
|
+
}, be = { class: "governance-reset-slot" }, E = { class: "governance-item" }, D = {
|
|
13
13
|
type: "button",
|
|
14
14
|
class: "governance-help",
|
|
15
15
|
"aria-label": "动作授权说明"
|
|
@@ -17,7 +17,7 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
17
17
|
type: "button",
|
|
18
18
|
class: "governance-help",
|
|
19
19
|
"aria-label": "数据授权说明"
|
|
20
|
-
}, M = { class: "governance-reset-slot" }, N = { class: "governance-switch-control" }, xe = { class: "checkbox-field" }, Se = { class: "checkbox-field" }, Ce = { class: "wide-field" }, we = { class: "wide-field" }, P = /*#__PURE__*/
|
|
20
|
+
}, M = { class: "governance-reset-slot" }, N = { class: "governance-switch-control" }, xe = { class: "checkbox-field" }, Se = { class: "checkbox-field" }, Ce = { class: "wide-field" }, we = { class: "wide-field" }, P = /*#__PURE__*/ i(/* @__PURE__ */ y({
|
|
21
21
|
name: "ModuleActionManagementView",
|
|
22
22
|
__name: "ModuleActionManagementView",
|
|
23
23
|
props: {
|
|
@@ -26,12 +26,12 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
26
26
|
moduleKind: {},
|
|
27
27
|
title: {}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
let
|
|
29
|
+
setup(i) {
|
|
30
|
+
let y = i, P = ue({ moduleAlias: "platform.module_action" }), F = d(P, { client: ne(P.http, `/platform.module/${encodeURIComponent(y.moduleAlias)}/actions`) }), I = x(""), L = x([]), R = se({
|
|
31
31
|
context: F,
|
|
32
|
-
confirmAction:
|
|
33
|
-
emptyDraft: () => He(
|
|
34
|
-
normalizeDraft: (e) => J(e,
|
|
32
|
+
confirmAction: oe,
|
|
33
|
+
emptyDraft: () => He(y.moduleAlias),
|
|
34
|
+
normalizeDraft: (e) => J(e, y.moduleAlias),
|
|
35
35
|
copyRecord: (e) => ({ ...e }),
|
|
36
36
|
titleOf: Q,
|
|
37
37
|
fallbackTitle: "模块动作",
|
|
@@ -46,10 +46,10 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
46
46
|
deleteDeniedMessage: () => "当前用户无权删除模块动作",
|
|
47
47
|
canDeleteRecord: (e) => e.systemManaged !== !0,
|
|
48
48
|
canEnableRecord: (e) => e.systemManaged !== !0
|
|
49
|
-
}), { selected: z, draft: B, mode: V, reloadKey: H, saving: U, cardTitle: Te, canCreate: Ee, canEnable: De } = R, Oe =
|
|
49
|
+
}), { selected: z, draft: B, mode: V, reloadKey: H, saving: U, cardTitle: Te, canCreate: Ee, canEnable: De } = R, Oe = f(() => y.moduleKind === "dynamic" && Ee.value && L.value.length > 0), ke = f(() => L.value.map((e) => ({
|
|
50
50
|
value: e.executorKey,
|
|
51
51
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
52
|
-
}))), Ae =
|
|
52
|
+
}))), Ae = f(() => (L.value.find((e) => e.executorKey === B.value.executorKey)?.supportedLevels ?? []).map((e) => ({
|
|
53
53
|
value: e,
|
|
54
54
|
label: {
|
|
55
55
|
LIST: "列表",
|
|
@@ -57,7 +57,7 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
57
57
|
BATCH: "批量",
|
|
58
58
|
ANY: "任意"
|
|
59
59
|
}[e]
|
|
60
|
-
}))), je =
|
|
60
|
+
}))), je = f(() => [
|
|
61
61
|
"actionCode",
|
|
62
62
|
"title",
|
|
63
63
|
"category",
|
|
@@ -72,7 +72,7 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
72
72
|
...Z(B.value.unavailableMessage) ? ["unavailableMessage"] : [],
|
|
73
73
|
...B.value.sourceType ? ["sourceType"] : [],
|
|
74
74
|
...Z(B.value.bindingAlias) ? ["bindingAlias"] : []
|
|
75
|
-
]), Me =
|
|
75
|
+
]), Me = f(() => [
|
|
76
76
|
"actionCode",
|
|
77
77
|
"title",
|
|
78
78
|
"category",
|
|
@@ -81,8 +81,8 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
81
81
|
...Z(B.value.executorKey) ? ["executorKey"] : [],
|
|
82
82
|
...B.value.sourceType ? ["sourceType"] : []
|
|
83
83
|
]);
|
|
84
|
-
|
|
85
|
-
let Ne =
|
|
84
|
+
de(() => void ze());
|
|
85
|
+
let Ne = f(() => R.readonly.value), W = f(() => Ne.value || R.saving.value), Pe = f(() => {
|
|
86
86
|
if (R.mode.value !== "view") return [
|
|
87
87
|
...R.mode.value === "edit" && R.selected.value?.systemManaged === !0 && Le(B.value) ? [{
|
|
88
88
|
key: "reset-permission-governance",
|
|
@@ -162,8 +162,8 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
162
162
|
async function ze() {
|
|
163
163
|
try {
|
|
164
164
|
L.value = await P.http.request({ path: "/platform.module/action-executors" });
|
|
165
|
-
} catch (
|
|
166
|
-
L.value = [], e
|
|
165
|
+
} catch (e) {
|
|
166
|
+
L.value = [], ce(e, {
|
|
167
167
|
source: "module-action-management",
|
|
168
168
|
phase: "load"
|
|
169
169
|
});
|
|
@@ -269,66 +269,66 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
269
269
|
}
|
|
270
270
|
}[e]?.[t] : void 0;
|
|
271
271
|
}
|
|
272
|
-
return (
|
|
272
|
+
return (ne, d) => (b(), p(C(le), {
|
|
273
273
|
"explorer-title": "模块动作",
|
|
274
274
|
"refresh-title": "刷新动作",
|
|
275
|
-
mode:
|
|
276
|
-
"detail-title":
|
|
275
|
+
mode: C(V),
|
|
276
|
+
"detail-title": C(Te),
|
|
277
277
|
"explorer-search-keyword": I.value,
|
|
278
278
|
"explorer-search-placeholder": "搜索动作名称或编码",
|
|
279
|
-
"onUpdate:explorerSearchKeyword":
|
|
280
|
-
onRefresh:
|
|
279
|
+
"onUpdate:explorerSearchKeyword": d[22] ||= (e) => I.value = e,
|
|
280
|
+
onRefresh: d[23] ||= (e) => H.value += 1
|
|
281
281
|
}, {
|
|
282
|
-
"explorer-actions":
|
|
282
|
+
"explorer-actions": w(() => [v(C(t), {
|
|
283
283
|
class: "record-panel-create-button",
|
|
284
|
-
context:
|
|
284
|
+
context: C(F),
|
|
285
285
|
"action-code": "create",
|
|
286
286
|
title: "新建动作",
|
|
287
287
|
"icon-only": "",
|
|
288
|
-
disabled: !Oe.value ||
|
|
288
|
+
disabled: !Oe.value || C(U),
|
|
289
289
|
onClick: Be
|
|
290
290
|
}, null, 8, ["context", "disabled"])]),
|
|
291
|
-
explorer:
|
|
292
|
-
context:
|
|
293
|
-
"selected-id":
|
|
294
|
-
"reload-key":
|
|
291
|
+
explorer: w(() => [v(C(re), {
|
|
292
|
+
context: C(F),
|
|
293
|
+
"selected-id": C(z)?.id,
|
|
294
|
+
"reload-key": C(H),
|
|
295
295
|
keyword: I.value,
|
|
296
296
|
"empty-description": "当前模块暂无动作",
|
|
297
297
|
"loading-tip": "加载模块动作",
|
|
298
298
|
"fallback-title": "未命名动作",
|
|
299
299
|
"item-of": Fe,
|
|
300
|
-
onLoaded:
|
|
301
|
-
onSelect:
|
|
300
|
+
onLoaded: d[0] ||= (e) => C(R).handleListLoaded(e),
|
|
301
|
+
onSelect: d[1] ||= (e) => C(R).handleSelect(e)
|
|
302
302
|
}, null, 8, [
|
|
303
303
|
"context",
|
|
304
304
|
"selected-id",
|
|
305
305
|
"reload-key",
|
|
306
306
|
"keyword"
|
|
307
307
|
])]),
|
|
308
|
-
"detail-status":
|
|
308
|
+
"detail-status": w(() => [C(V) === "view" && C(z) ? (b(), p(C(te), {
|
|
309
309
|
key: 0,
|
|
310
|
-
enabled:
|
|
311
|
-
disabled:
|
|
312
|
-
loading:
|
|
310
|
+
enabled: C(z).enabled,
|
|
311
|
+
disabled: C(U) || C(z).systemManaged === !0 || !C(De),
|
|
312
|
+
loading: C(U),
|
|
313
313
|
"show-label": !1,
|
|
314
|
-
onChange:
|
|
314
|
+
onChange: C(R).toggleEnabled
|
|
315
315
|
}, null, 8, [
|
|
316
316
|
"enabled",
|
|
317
317
|
"disabled",
|
|
318
318
|
"loading",
|
|
319
319
|
"onChange"
|
|
320
|
-
])) :
|
|
321
|
-
"detail-actions":
|
|
322
|
-
context:
|
|
320
|
+
])) : m("v-if", !0)]),
|
|
321
|
+
"detail-actions": w(() => [v(C(ee), {
|
|
322
|
+
context: C(F),
|
|
323
323
|
actions: Pe.value,
|
|
324
324
|
onAction: Ie
|
|
325
325
|
}, null, 8, ["context", "actions"])]),
|
|
326
|
-
default:
|
|
326
|
+
default: w(() => [!C(z) && C(V) === "view" ? (b(), p(C(ae), {
|
|
327
327
|
key: 0,
|
|
328
|
-
description:
|
|
329
|
-
}, null, 8, ["description"])) :
|
|
328
|
+
description: i.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
329
|
+
}, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(e), {
|
|
330
330
|
key: 1,
|
|
331
|
-
record:
|
|
331
|
+
record: C(B),
|
|
332
332
|
"display-of": $,
|
|
333
333
|
"field-names": je.value,
|
|
334
334
|
fallback: {
|
|
@@ -347,12 +347,12 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
347
347
|
sourceType: { label: "注册来源" },
|
|
348
348
|
bindingAlias: { label: "绑定标识" }
|
|
349
349
|
}
|
|
350
|
-
}, null, 8, ["record", "field-names"])) :
|
|
350
|
+
}, null, 8, ["record", "field-names"])) : C(z)?.systemManaged ? (b(), h("form", {
|
|
351
351
|
key: 2,
|
|
352
352
|
class: "managed-action-editor",
|
|
353
|
-
onSubmit:
|
|
354
|
-
}, [
|
|
355
|
-
record:
|
|
353
|
+
onSubmit: d[10] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
|
|
354
|
+
}, [g("section", fe, [d[24] ||= g("h3", null, "动作声明", -1), v(C(e), {
|
|
355
|
+
record: C(B),
|
|
356
356
|
"display-of": $,
|
|
357
357
|
"field-names": Me.value,
|
|
358
358
|
fallback: {
|
|
@@ -364,21 +364,21 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
364
364
|
executorKey: { label: "执行实现" },
|
|
365
365
|
sourceType: { label: "注册来源" }
|
|
366
366
|
}
|
|
367
|
-
}, null, 8, ["record", "field-names"])]),
|
|
368
|
-
|
|
369
|
-
default:
|
|
367
|
+
}, null, 8, ["record", "field-names"])]), g("section", pe, [d[33] ||= g("h3", null, "权限治理", -1), g("div", me, [
|
|
368
|
+
g("section", he, [g("header", null, [g("div", null, [g("h4", null, [d[25] ||= _(" 访问方式 ", -1), v(C(s), { title: "决定调用动作前需要满足的身份条件。" }, {
|
|
369
|
+
default: w(() => [g("button", ge, [v(C(a), { name: "help" })])]),
|
|
370
370
|
_: 1
|
|
371
|
-
})])]),
|
|
371
|
+
})])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(l), {
|
|
372
372
|
key: 0,
|
|
373
373
|
type: "text",
|
|
374
374
|
size: "small",
|
|
375
375
|
disabled: W.value,
|
|
376
|
-
onClick:
|
|
376
|
+
onClick: d[2] ||= (e) => K("accessModeOverride")
|
|
377
377
|
}, {
|
|
378
|
-
default:
|
|
378
|
+
default: w(() => [...d[26] ||= [_("重置", -1)]]),
|
|
379
379
|
_: 1
|
|
380
|
-
}, 8, ["disabled"])) :
|
|
381
|
-
value:
|
|
380
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), v(C(o), {
|
|
381
|
+
value: C(B).accessModeOverride ?? C(B).accessMode,
|
|
382
382
|
disabled: W.value,
|
|
383
383
|
options: [
|
|
384
384
|
{
|
|
@@ -394,22 +394,22 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
394
394
|
value: "ANONYMOUS_ALLOWED"
|
|
395
395
|
}
|
|
396
396
|
],
|
|
397
|
-
"onUpdate:value":
|
|
397
|
+
"onUpdate:value": d[3] ||= (e) => q("accessModeOverride", e)
|
|
398
398
|
}, null, 8, ["value", "disabled"])]),
|
|
399
|
-
|
|
400
|
-
default:
|
|
399
|
+
g("section", ve, [g("header", null, [g("div", null, [g("h4", null, [d[27] ||= _(" 默认授予策略 ", -1), v(C(s), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
|
|
400
|
+
default: w(() => [g("button", ye, [v(C(a), { name: "help" })])]),
|
|
401
401
|
_: 1
|
|
402
|
-
})])]),
|
|
402
|
+
})])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(l), {
|
|
403
403
|
key: 0,
|
|
404
404
|
type: "text",
|
|
405
405
|
size: "small",
|
|
406
406
|
disabled: W.value,
|
|
407
|
-
onClick:
|
|
407
|
+
onClick: d[4] ||= (e) => K("defaultGrantPolicyOverride")
|
|
408
408
|
}, {
|
|
409
|
-
default:
|
|
409
|
+
default: w(() => [...d[28] ||= [_("重置", -1)]]),
|
|
410
410
|
_: 1
|
|
411
|
-
}, 8, ["disabled"])) :
|
|
412
|
-
value:
|
|
411
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), v(C(o), {
|
|
412
|
+
value: C(B).defaultGrantPolicyOverride ?? C(B).defaultGrantPolicy,
|
|
413
413
|
disabled: W.value,
|
|
414
414
|
options: [
|
|
415
415
|
{
|
|
@@ -433,74 +433,74 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
433
433
|
value: "MEMBER"
|
|
434
434
|
}
|
|
435
435
|
],
|
|
436
|
-
"onUpdate:value":
|
|
436
|
+
"onUpdate:value": d[5] ||= (e) => q("defaultGrantPolicyOverride", e)
|
|
437
437
|
}, null, 8, ["value", "disabled"])]),
|
|
438
|
-
|
|
439
|
-
default:
|
|
438
|
+
g("section", E, [g("header", null, [g("div", null, [g("h4", null, [d[29] ||= _(" 动作授权 ", -1), v(C(s), { title: "控制角色是否需要被显式授予该动作。" }, {
|
|
439
|
+
default: w(() => [g("button", D, [v(C(a), { name: "help" })])]),
|
|
440
440
|
_: 1
|
|
441
|
-
})])]),
|
|
441
|
+
})])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(l), {
|
|
442
442
|
key: 0,
|
|
443
443
|
type: "text",
|
|
444
444
|
size: "small",
|
|
445
445
|
disabled: W.value,
|
|
446
|
-
onClick:
|
|
446
|
+
onClick: d[6] ||= (e) => K("actionAuthOverride")
|
|
447
447
|
}, {
|
|
448
|
-
default:
|
|
448
|
+
default: w(() => [...d[30] ||= [_("重置", -1)]]),
|
|
449
449
|
_: 1
|
|
450
|
-
}, 8, ["disabled"])) :
|
|
451
|
-
checked: (
|
|
450
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), g("div", k, [v(C(c), {
|
|
451
|
+
checked: (C(B).actionAuthOverride ?? C(B).actionAuth) !== !1,
|
|
452
452
|
disabled: W.value,
|
|
453
453
|
"checked-text": "开",
|
|
454
454
|
"unchecked-text": "关",
|
|
455
|
-
"onUpdate:checked":
|
|
456
|
-
}, null, 8, ["checked", "disabled"]),
|
|
457
|
-
|
|
458
|
-
default:
|
|
455
|
+
"onUpdate:checked": d[7] ||= (e) => q("actionAuthOverride", e)
|
|
456
|
+
}, null, 8, ["checked", "disabled"]), g("strong", null, S((C(B).actionAuthOverride ?? C(B).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
|
|
457
|
+
g("section", A, [g("header", null, [g("div", null, [g("h4", null, [d[31] ||= _(" 数据授权 ", -1), v(C(s), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
|
|
458
|
+
default: w(() => [g("button", j, [v(C(a), { name: "help" })])]),
|
|
459
459
|
_: 1
|
|
460
|
-
})])]),
|
|
460
|
+
})])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(l), {
|
|
461
461
|
key: 0,
|
|
462
462
|
type: "text",
|
|
463
463
|
size: "small",
|
|
464
464
|
disabled: W.value,
|
|
465
|
-
onClick:
|
|
465
|
+
onClick: d[8] ||= (e) => K("dataAuthOverride")
|
|
466
466
|
}, {
|
|
467
|
-
default:
|
|
467
|
+
default: w(() => [...d[32] ||= [_("重置", -1)]]),
|
|
468
468
|
_: 1
|
|
469
|
-
}, 8, ["disabled"])) :
|
|
470
|
-
checked: (
|
|
469
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), g("div", N, [v(C(c), {
|
|
470
|
+
checked: (C(B).dataAuthOverride ?? C(B).dataAuth) === !0,
|
|
471
471
|
disabled: W.value,
|
|
472
472
|
"checked-text": "开",
|
|
473
473
|
"unchecked-text": "关",
|
|
474
|
-
"onUpdate:checked":
|
|
475
|
-
}, null, 8, ["checked", "disabled"]),
|
|
476
|
-
])])], 32)) : (
|
|
474
|
+
"onUpdate:checked": d[9] ||= (e) => q("dataAuthOverride", e)
|
|
475
|
+
}, null, 8, ["checked", "disabled"]), g("strong", null, S((C(B).dataAuthOverride ?? C(B).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
|
|
476
|
+
])])], 32)) : (b(), h("form", {
|
|
477
477
|
key: 3,
|
|
478
478
|
class: "static-record-form",
|
|
479
|
-
onSubmit:
|
|
479
|
+
onSubmit: d[21] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
|
|
480
480
|
}, [
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
value:
|
|
481
|
+
d[44] ||= g("p", { class: "form-hint wide-field" }, " 手工动作只能绑定已部署的二开执行器;平台会通过通用动作接口承接权限、审计和运行态刷新。 ", -1),
|
|
482
|
+
g("label", null, [d[34] ||= g("span", null, "动作编码", -1), v(C(n), {
|
|
483
|
+
value: C(B).actionCode,
|
|
484
484
|
disabled: W.value,
|
|
485
|
-
"onUpdate:value":
|
|
485
|
+
"onUpdate:value": d[11] ||= (e) => q("actionCode", e)
|
|
486
486
|
}, null, 8, ["value", "disabled"])]),
|
|
487
|
-
|
|
488
|
-
value:
|
|
487
|
+
g("label", null, [d[35] ||= g("span", null, "动作名称", -1), v(C(n), {
|
|
488
|
+
value: C(B).title,
|
|
489
489
|
disabled: W.value,
|
|
490
|
-
"onUpdate:value":
|
|
490
|
+
"onUpdate:value": d[12] ||= (e) => q("title", e)
|
|
491
491
|
}, null, 8, ["value", "disabled"])]),
|
|
492
|
-
|
|
493
|
-
value:
|
|
492
|
+
g("label", null, [d[36] ||= g("span", null, "执行层级", -1), v(C(o), {
|
|
493
|
+
value: C(B).actionLevel,
|
|
494
494
|
disabled: W.value,
|
|
495
495
|
options: Ae.value,
|
|
496
|
-
"onUpdate:value":
|
|
496
|
+
"onUpdate:value": d[13] ||= (e) => q("actionLevel", e)
|
|
497
497
|
}, null, 8, [
|
|
498
498
|
"value",
|
|
499
499
|
"disabled",
|
|
500
500
|
"options"
|
|
501
501
|
])]),
|
|
502
|
-
|
|
503
|
-
value:
|
|
502
|
+
g("label", null, [d[37] ||= g("span", null, "访问方式", -1), v(C(o), {
|
|
503
|
+
value: C(B).accessMode,
|
|
504
504
|
disabled: W.value,
|
|
505
505
|
options: [
|
|
506
506
|
{
|
|
@@ -516,36 +516,36 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
516
516
|
value: "ANONYMOUS_ALLOWED"
|
|
517
517
|
}
|
|
518
518
|
],
|
|
519
|
-
"onUpdate:value":
|
|
519
|
+
"onUpdate:value": d[14] ||= (e) => q("accessMode", e)
|
|
520
520
|
}, null, 8, ["value", "disabled"])]),
|
|
521
|
-
|
|
522
|
-
value:
|
|
521
|
+
g("label", null, [d[38] ||= g("span", null, "二开执行器", -1), v(C(o), {
|
|
522
|
+
value: C(B).executorKey,
|
|
523
523
|
disabled: W.value,
|
|
524
524
|
options: ke.value,
|
|
525
|
-
"onUpdate:value":
|
|
525
|
+
"onUpdate:value": d[15] ||= (e) => Ve(e)
|
|
526
526
|
}, null, 8, [
|
|
527
527
|
"value",
|
|
528
528
|
"disabled",
|
|
529
529
|
"options"
|
|
530
530
|
])]),
|
|
531
|
-
|
|
532
|
-
checked:
|
|
531
|
+
g("label", xe, [v(C(u), {
|
|
532
|
+
checked: C(B).actionAuth !== !1,
|
|
533
533
|
disabled: W.value,
|
|
534
|
-
"onUpdate:checked":
|
|
534
|
+
"onUpdate:checked": d[16] ||= (e) => q("actionAuth", e)
|
|
535
535
|
}, {
|
|
536
|
-
default:
|
|
536
|
+
default: w(() => [...d[39] ||= [_("启用动作授权", -1)]]),
|
|
537
537
|
_: 1
|
|
538
538
|
}, 8, ["checked", "disabled"])]),
|
|
539
|
-
|
|
540
|
-
checked:
|
|
539
|
+
g("label", Se, [v(C(u), {
|
|
540
|
+
checked: C(B).dataAuth === !0,
|
|
541
541
|
disabled: W.value,
|
|
542
|
-
"onUpdate:checked":
|
|
542
|
+
"onUpdate:checked": d[17] ||= (e) => q("dataAuth", e)
|
|
543
543
|
}, {
|
|
544
|
-
default:
|
|
544
|
+
default: w(() => [...d[40] ||= [_("启用数据授权", -1)]]),
|
|
545
545
|
_: 1
|
|
546
546
|
}, 8, ["checked", "disabled"])]),
|
|
547
|
-
|
|
548
|
-
value:
|
|
547
|
+
g("label", null, [d[41] ||= g("span", null, "默认授予策略", -1), v(C(o), {
|
|
548
|
+
value: C(B).defaultGrantPolicy,
|
|
549
549
|
disabled: W.value,
|
|
550
550
|
options: [
|
|
551
551
|
{
|
|
@@ -569,22 +569,22 @@ var de = { class: "action-declaration-section" }, fe = { class: "permission-gove
|
|
|
569
569
|
value: "MEMBER"
|
|
570
570
|
}
|
|
571
571
|
],
|
|
572
|
-
"onUpdate:value":
|
|
572
|
+
"onUpdate:value": d[18] ||= (e) => q("defaultGrantPolicy", e)
|
|
573
573
|
}, null, 8, ["value", "disabled"])]),
|
|
574
|
-
|
|
575
|
-
value:
|
|
574
|
+
g("label", Ce, [d[42] ||= g("span", null, "可用条件表达式", -1), v(C(r), {
|
|
575
|
+
value: C(B).availableExpression,
|
|
576
576
|
disabled: W.value,
|
|
577
|
-
"onUpdate:value":
|
|
577
|
+
"onUpdate:value": d[19] ||= (e) => q("availableExpression", e)
|
|
578
578
|
}, null, 8, ["value", "disabled"])]),
|
|
579
|
-
|
|
580
|
-
value:
|
|
579
|
+
g("label", we, [d[43] ||= g("span", null, "不可用提示", -1), v(C(r), {
|
|
580
|
+
value: C(B).unavailableMessage,
|
|
581
581
|
disabled: W.value,
|
|
582
|
-
"onUpdate:value":
|
|
582
|
+
"onUpdate:value": d[20] ||= (e) => q("unavailableMessage", e)
|
|
583
583
|
}, null, 8, ["value", "disabled"])])
|
|
584
|
-
], 32)),
|
|
584
|
+
], 32)), C(z) || C(V) !== "view" ? (b(), p(C(ie), {
|
|
585
585
|
key: 4,
|
|
586
|
-
record:
|
|
587
|
-
}, null, 8, ["record"])) :
|
|
586
|
+
record: C(B)
|
|
587
|
+
}, null, 8, ["record"])) : m("v-if", !0)]),
|
|
588
588
|
_: 1
|
|
589
589
|
}, 8, [
|
|
590
590
|
"mode",
|