@ximatai/muyun-web-app 0.26.4 → 0.26.6
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-BySbWjCV.js → EmployeeDetailWorkspaceView-DHZ4arBj.js} +1 -1
- package/dist/{EmployeeManagementView-DvmDPxzN.js → EmployeeManagementView-BfGb_ssB.js} +336 -336
- package/dist/MetadataOrchestrationView-BLxigKBh.js +655 -0
- package/dist/{ModuleActionManagementView-DRtYMXOK.js → ModuleActionManagementView-ByJzNkQs.js} +102 -102
- package/dist/{RoleAuthorizationView-CK6Vfdup.js → RoleAuthorizationView-DJSWY3fu.js} +62 -62
- package/dist/{RoleDetailWorkspaceView-BPZcZy-r.js → RoleDetailWorkspaceView-Dfdigf04.js} +1 -1
- package/dist/{RoleManagementView-B7TzzVOm.js → RoleManagementView-D0e9nLwW.js} +295 -295
- package/dist/{SystemUserDetailWorkspaceView-BtEDyU-k.js → SystemUserDetailWorkspaceView-D-UPhCmD.js} +1 -1
- package/dist/{SystemUserManagementView-TKqj92zG.js → SystemUserManagementView-DNKRvmDk.js} +198 -198
- package/dist/{UserDetailWorkspaceView-B6fGrnQ7.js → UserDetailWorkspaceView-BCSCLNSz.js} +1 -1
- package/dist/{UserManagementView-4IJeDSQS.js → UserManagementView-aY2AeeWK.js} +287 -287
- package/dist/index.css +1 -1
- package/dist/index.js +2384 -2410
- package/dist/pageRealtime-Be2xkeKK.js +225 -0
- package/dist/{platform-components-CgMBopmF.js → platform-components-DuAohqJO.js} +2732 -1546
- package/dist/types/app/workbenchRouteSync.d.ts +13 -0
- package/dist/types/consumer/index.d.ts +10 -2
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +8 -1
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +126 -0
- package/dist/types/dynamic-page-runtime/modulePageListRefresh.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageNavigation.d.ts +11 -0
- package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +1 -0
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +1 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +9 -5
- package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +1 -36
- package/dist/types/platform-admin-runtime/workspaceViewHost.d.ts +2 -10
- package/dist/types/platform-admin-runtime/workspaceViews.d.ts +1 -17
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
- package/dist/types/platform-components/FileSizeText.vue.d.ts +10 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +51 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +19 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +15 -0
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +33 -0
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +33 -0
- package/dist/types/platform-components/RecordPanelState.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +47 -2
- package/dist/types/platform-components/RecordStatusTag.vue.d.ts +6 -1
- package/dist/types/platform-components/RecordTagList.vue.d.ts +7 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +17 -0
- package/dist/types/platform-components/fileTransferUpload.d.ts +43 -0
- package/dist/types/platform-components/index.d.ts +14 -1
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -0
- package/dist/types/platform-components/platformFileSize.d.ts +10 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +6 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +21 -3
- package/dist/types/platform-workbench/Workbench.vue.d.ts +2 -2
- package/dist/types/platform-workbench/WorkbenchBrandControl.vue.d.ts +21 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +15 -1
- package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +2 -0
- package/dist/types/platform-workbench/WorkspaceViewOutlet.vue.d.ts +7 -0
- package/dist/types/platform-workbench/index.d.ts +7 -0
- package/dist/types/platform-workbench/menuPointerAim.d.ts +11 -0
- package/dist/types/platform-workbench/workbenchLayout.d.ts +1 -0
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +20 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +8 -0
- package/dist/types/platform-workbench/workspaceViews.d.ts +21 -0
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleActionManagementWorkspaceView.d.ts +1 -1
- package/dist/types/views/roleAuthorizationWorkspaceView.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/userDetailWorkspaceView.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiColorPicker.vue.d.ts +14 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTagList.vue.d.ts +17 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/types.d.ts +3 -9
- package/dist/types/web-contracts/index.d.ts +111 -1
- package/dist/types/web-core/clients.d.ts +6 -1
- package/dist/types/web-core/http.d.ts +12 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +1 -0
- package/dist/{useUserSessionRows-DHsyr2Vy.js → useUserSessionRows-DX9qYU5r.js} +2 -2
- package/dist/workspaceViewSessions-C3GP1UGp.js +2639 -0
- package/package.json +1 -1
- package/dist/MetadataOrchestrationView-2JxJkFEC.js +0 -655
- package/dist/pageRealtime-CJriNmzP.js +0 -140
- package/dist/workspaceViewSessions-BMbyO9O4.js +0 -1571
package/dist/{ModuleActionManagementView-DRtYMXOK.js → ModuleActionManagementView-ByJzNkQs.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { computed as
|
|
1
|
+
import { $ as e, A as t, B as n, Ct as r, Dt as i, Et as a, I as ee, Nt as o, Rt as te, S as ne, St as s, Tt as c, _ as re, at as ie, bt as l, mt as ae, o as oe, q as se, t as ce, u as le, vt as u, xt as d, yt as f } from "./platform-components-DuAohqJO.js";
|
|
2
|
+
import { computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, onMounted as ue, openBlock as x, ref as S, toDisplayString as C, unref as w, withCtx as T, withModifiers as E } from "vue";
|
|
3
3
|
//#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
4
|
+
var de = { class: "action-declaration-section" }, fe = { class: "permission-governance-section" }, pe = { class: "governance-grid" }, me = { class: "governance-item" }, he = {
|
|
5
5
|
type: "button",
|
|
6
6
|
class: "governance-help",
|
|
7
7
|
"aria-label": "访问方式说明"
|
|
8
|
-
},
|
|
8
|
+
}, ge = { class: "governance-reset-slot" }, _e = { class: "governance-item" }, ve = {
|
|
9
9
|
type: "button",
|
|
10
10
|
class: "governance-help",
|
|
11
11
|
"aria-label": "默认授予策略说明"
|
|
12
|
-
},
|
|
12
|
+
}, ye = { class: "governance-reset-slot" }, be = { class: "governance-item" }, D = {
|
|
13
13
|
type: "button",
|
|
14
14
|
class: "governance-help",
|
|
15
15
|
"aria-label": "动作授权说明"
|
|
@@ -17,7 +17,7 @@ var fe = { class: "action-declaration-section" }, pe = { 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__*/ a(/* @__PURE__ */ b({
|
|
21
21
|
name: "ModuleActionManagementView",
|
|
22
22
|
__name: "ModuleActionManagementView",
|
|
23
23
|
props: {
|
|
@@ -26,12 +26,12 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
26
26
|
moduleKind: {},
|
|
27
27
|
title: {}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
let
|
|
29
|
+
setup(a) {
|
|
30
|
+
let b = a, P = o({ moduleAlias: "platform.module_action" }), F = oe(P, { client: te(P.http, `/platform.module/${encodeURIComponent(b.moduleAlias)}/actions`) }), I = S(""), L = S([]), R = ce({
|
|
31
31
|
context: F,
|
|
32
|
-
confirmAction:
|
|
33
|
-
emptyDraft: () => He(
|
|
34
|
-
normalizeDraft: (e) => J(e,
|
|
32
|
+
confirmAction: ie,
|
|
33
|
+
emptyDraft: () => He(b.moduleAlias),
|
|
34
|
+
normalizeDraft: (e) => J(e, b.moduleAlias),
|
|
35
35
|
copyRecord: (e) => ({ ...e }),
|
|
36
36
|
titleOf: Q,
|
|
37
37
|
fallbackTitle: "模块动作",
|
|
@@ -46,10 +46,10 @@ var fe = { class: "action-declaration-section" }, pe = { 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 = p(() => b.moduleKind === "dynamic" && Ee.value && L.value.length > 0), ke = p(() => L.value.map((e) => ({
|
|
50
50
|
value: e.executorKey,
|
|
51
51
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
52
|
-
}))), Ae =
|
|
52
|
+
}))), Ae = p(() => (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 fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
57
57
|
BATCH: "批量",
|
|
58
58
|
ANY: "任意"
|
|
59
59
|
}[e]
|
|
60
|
-
}))), je =
|
|
60
|
+
}))), je = p(() => [
|
|
61
61
|
"actionCode",
|
|
62
62
|
"title",
|
|
63
63
|
"category",
|
|
@@ -72,7 +72,7 @@ var fe = { class: "action-declaration-section" }, pe = { 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 = p(() => [
|
|
76
76
|
"actionCode",
|
|
77
77
|
"title",
|
|
78
78
|
"category",
|
|
@@ -81,8 +81,8 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
81
81
|
...Z(B.value.executorKey) ? ["executorKey"] : [],
|
|
82
82
|
...B.value.sourceType ? ["sourceType"] : []
|
|
83
83
|
]);
|
|
84
|
-
|
|
85
|
-
let Ne =
|
|
84
|
+
ue(() => void ze());
|
|
85
|
+
let Ne = p(() => R.readonly.value), W = p(() => Ne.value || R.saving.value), Pe = p(() => {
|
|
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 fe = { class: "action-declaration-section" }, pe = { 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 = [], t
|
|
165
|
+
} catch (t) {
|
|
166
|
+
L.value = [], e(t, {
|
|
167
167
|
source: "module-action-management",
|
|
168
168
|
phase: "load"
|
|
169
169
|
});
|
|
@@ -269,66 +269,66 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
269
269
|
}
|
|
270
270
|
}[e]?.[t] : void 0;
|
|
271
271
|
}
|
|
272
|
-
return (
|
|
272
|
+
return (e, o) => (x(), m(w(le), {
|
|
273
273
|
"explorer-title": "模块动作",
|
|
274
274
|
"refresh-title": "刷新动作",
|
|
275
|
-
mode:
|
|
276
|
-
"detail-title":
|
|
275
|
+
mode: w(V),
|
|
276
|
+
"detail-title": w(Te),
|
|
277
277
|
"explorer-search-keyword": I.value,
|
|
278
278
|
"explorer-search-placeholder": "搜索动作名称或编码",
|
|
279
279
|
"onUpdate:explorerSearchKeyword": o[22] ||= (e) => I.value = e,
|
|
280
280
|
onRefresh: o[23] ||= (e) => H.value += 1
|
|
281
281
|
}, {
|
|
282
|
-
"explorer-actions":
|
|
282
|
+
"explorer-actions": T(() => [y(w(n), {
|
|
283
283
|
class: "record-panel-create-button",
|
|
284
|
-
context:
|
|
284
|
+
context: w(F),
|
|
285
285
|
"action-code": "create",
|
|
286
286
|
title: "新建动作",
|
|
287
287
|
"icon-only": "",
|
|
288
|
-
disabled: !Oe.value ||
|
|
288
|
+
disabled: !Oe.value || w(U),
|
|
289
289
|
onClick: Be
|
|
290
290
|
}, null, 8, ["context", "disabled"])]),
|
|
291
|
-
explorer:
|
|
292
|
-
context:
|
|
293
|
-
"selected-id":
|
|
294
|
-
"reload-key":
|
|
291
|
+
explorer: T(() => [y(w(se), {
|
|
292
|
+
context: w(F),
|
|
293
|
+
"selected-id": w(z)?.id,
|
|
294
|
+
"reload-key": w(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: o[0] ||= (e) =>
|
|
301
|
-
onSelect: o[1] ||= (e) =>
|
|
300
|
+
onLoaded: o[0] ||= (e) => w(R).handleListLoaded(e),
|
|
301
|
+
onSelect: o[1] ||= (e) => w(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": T(() => [w(V) === "view" && w(z) ? (x(), m(w(ne), {
|
|
309
309
|
key: 0,
|
|
310
|
-
enabled:
|
|
311
|
-
disabled:
|
|
312
|
-
loading:
|
|
310
|
+
enabled: w(z).enabled,
|
|
311
|
+
disabled: w(U) || w(z).systemManaged === !0 || !w(De),
|
|
312
|
+
loading: w(U),
|
|
313
313
|
"show-label": !1,
|
|
314
|
-
onChange:
|
|
314
|
+
onChange: w(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
|
+
])) : h("v-if", !0)]),
|
|
321
|
+
"detail-actions": T(() => [y(w(ee), {
|
|
322
|
+
context: w(F),
|
|
323
323
|
actions: Pe.value,
|
|
324
324
|
onAction: Ie
|
|
325
325
|
}, null, 8, ["context", "actions"])]),
|
|
326
|
-
default:
|
|
326
|
+
default: T(() => [!w(z) && w(V) === "view" ? (x(), m(w(ae), {
|
|
327
327
|
key: 0,
|
|
328
|
-
description:
|
|
329
|
-
}, null, 8, ["description"])) :
|
|
328
|
+
description: a.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
329
|
+
}, null, 8, ["description"])) : w(V) === "view" && w(z) ? (x(), m(w(t), {
|
|
330
330
|
key: 1,
|
|
331
|
-
record:
|
|
331
|
+
record: w(B),
|
|
332
332
|
"display-of": $,
|
|
333
333
|
"field-names": je.value,
|
|
334
334
|
fallback: {
|
|
@@ -347,12 +347,12 @@ var fe = { class: "action-declaration-section" }, pe = { 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"])) : w(z)?.systemManaged ? (x(), g("form", {
|
|
351
351
|
key: 2,
|
|
352
352
|
class: "managed-action-editor",
|
|
353
|
-
onSubmit: o[10] ||=
|
|
354
|
-
}, [
|
|
355
|
-
record:
|
|
353
|
+
onSubmit: o[10] ||= E((...e) => w(R).save && w(R).save(...e), ["prevent"])
|
|
354
|
+
}, [_("section", de, [o[24] ||= _("h3", null, "动作声明", -1), y(w(t), {
|
|
355
|
+
record: w(B),
|
|
356
356
|
"display-of": $,
|
|
357
357
|
"field-names": Me.value,
|
|
358
358
|
fallback: {
|
|
@@ -364,21 +364,21 @@ var fe = { class: "action-declaration-section" }, pe = { 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"])]), _("section", fe, [o[33] ||= _("h3", null, "权限治理", -1), _("div", pe, [
|
|
368
|
+
_("section", me, [_("header", null, [_("div", null, [_("h4", null, [o[25] ||= v(" 访问方式 ", -1), y(w(f), { title: "决定调用动作前需要满足的身份条件。" }, {
|
|
369
|
+
default: T(() => [_("button", he, [y(w(i), { name: "help" })])]),
|
|
370
370
|
_: 1
|
|
371
|
-
})])]),
|
|
371
|
+
})])]), _("span", ge, [G("accessModeOverride") ? (x(), m(w(c), {
|
|
372
372
|
key: 0,
|
|
373
373
|
type: "text",
|
|
374
374
|
size: "small",
|
|
375
375
|
disabled: W.value,
|
|
376
376
|
onClick: o[2] ||= (e) => K("accessModeOverride")
|
|
377
377
|
}, {
|
|
378
|
-
default:
|
|
378
|
+
default: T(() => [...o[26] ||= [v("重置", -1)]]),
|
|
379
379
|
_: 1
|
|
380
|
-
}, 8, ["disabled"])) :
|
|
381
|
-
value:
|
|
380
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(w(s), {
|
|
381
|
+
value: w(B).accessModeOverride ?? w(B).accessMode,
|
|
382
382
|
disabled: W.value,
|
|
383
383
|
options: [
|
|
384
384
|
{
|
|
@@ -396,20 +396,20 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
396
396
|
],
|
|
397
397
|
"onUpdate:value": o[3] ||= (e) => q("accessModeOverride", e)
|
|
398
398
|
}, null, 8, ["value", "disabled"])]),
|
|
399
|
-
|
|
400
|
-
default:
|
|
399
|
+
_("section", _e, [_("header", null, [_("div", null, [_("h4", null, [o[27] ||= v(" 默认授予策略 ", -1), y(w(f), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
|
|
400
|
+
default: T(() => [_("button", ve, [y(w(i), { name: "help" })])]),
|
|
401
401
|
_: 1
|
|
402
|
-
})])]),
|
|
402
|
+
})])]), _("span", ye, [G("defaultGrantPolicyOverride") ? (x(), m(w(c), {
|
|
403
403
|
key: 0,
|
|
404
404
|
type: "text",
|
|
405
405
|
size: "small",
|
|
406
406
|
disabled: W.value,
|
|
407
407
|
onClick: o[4] ||= (e) => K("defaultGrantPolicyOverride")
|
|
408
408
|
}, {
|
|
409
|
-
default:
|
|
409
|
+
default: T(() => [...o[28] ||= [v("重置", -1)]]),
|
|
410
410
|
_: 1
|
|
411
|
-
}, 8, ["disabled"])) :
|
|
412
|
-
value:
|
|
411
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(w(s), {
|
|
412
|
+
value: w(B).defaultGrantPolicyOverride ?? w(B).defaultGrantPolicy,
|
|
413
413
|
disabled: W.value,
|
|
414
414
|
options: [
|
|
415
415
|
{
|
|
@@ -435,62 +435,62 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
435
435
|
],
|
|
436
436
|
"onUpdate:value": o[5] ||= (e) => q("defaultGrantPolicyOverride", e)
|
|
437
437
|
}, null, 8, ["value", "disabled"])]),
|
|
438
|
-
|
|
439
|
-
default:
|
|
438
|
+
_("section", be, [_("header", null, [_("div", null, [_("h4", null, [o[29] ||= v(" 动作授权 ", -1), y(w(f), { title: "控制角色是否需要被显式授予该动作。" }, {
|
|
439
|
+
default: T(() => [_("button", D, [y(w(i), { name: "help" })])]),
|
|
440
440
|
_: 1
|
|
441
|
-
})])]),
|
|
441
|
+
})])]), _("span", O, [G("actionAuthOverride") ? (x(), m(w(c), {
|
|
442
442
|
key: 0,
|
|
443
443
|
type: "text",
|
|
444
444
|
size: "small",
|
|
445
445
|
disabled: W.value,
|
|
446
446
|
onClick: o[6] ||= (e) => K("actionAuthOverride")
|
|
447
447
|
}, {
|
|
448
|
-
default:
|
|
448
|
+
default: T(() => [...o[30] ||= [v("重置", -1)]]),
|
|
449
449
|
_: 1
|
|
450
|
-
}, 8, ["disabled"])) :
|
|
451
|
-
checked: (
|
|
450
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", k, [y(w(u), {
|
|
451
|
+
checked: (w(B).actionAuthOverride ?? w(B).actionAuth) !== !1,
|
|
452
452
|
disabled: W.value,
|
|
453
453
|
"checked-text": "开",
|
|
454
454
|
"unchecked-text": "关",
|
|
455
455
|
"onUpdate:checked": o[7] ||= (e) => q("actionAuthOverride", e)
|
|
456
|
-
}, null, 8, ["checked", "disabled"]),
|
|
457
|
-
|
|
458
|
-
default:
|
|
456
|
+
}, null, 8, ["checked", "disabled"]), _("strong", null, C((w(B).actionAuthOverride ?? w(B).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
|
|
457
|
+
_("section", A, [_("header", null, [_("div", null, [_("h4", null, [o[31] ||= v(" 数据授权 ", -1), y(w(f), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
|
|
458
|
+
default: T(() => [_("button", j, [y(w(i), { name: "help" })])]),
|
|
459
459
|
_: 1
|
|
460
|
-
})])]),
|
|
460
|
+
})])]), _("span", M, [G("dataAuthOverride") ? (x(), m(w(c), {
|
|
461
461
|
key: 0,
|
|
462
462
|
type: "text",
|
|
463
463
|
size: "small",
|
|
464
464
|
disabled: W.value,
|
|
465
465
|
onClick: o[8] ||= (e) => K("dataAuthOverride")
|
|
466
466
|
}, {
|
|
467
|
-
default:
|
|
467
|
+
default: T(() => [...o[32] ||= [v("重置", -1)]]),
|
|
468
468
|
_: 1
|
|
469
|
-
}, 8, ["disabled"])) :
|
|
470
|
-
checked: (
|
|
469
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", N, [y(w(u), {
|
|
470
|
+
checked: (w(B).dataAuthOverride ?? w(B).dataAuth) === !0,
|
|
471
471
|
disabled: W.value,
|
|
472
472
|
"checked-text": "开",
|
|
473
473
|
"unchecked-text": "关",
|
|
474
474
|
"onUpdate:checked": o[9] ||= (e) => q("dataAuthOverride", e)
|
|
475
|
-
}, null, 8, ["checked", "disabled"]),
|
|
476
|
-
])])], 32)) : (
|
|
475
|
+
}, null, 8, ["checked", "disabled"]), _("strong", null, C((w(B).dataAuthOverride ?? w(B).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
|
|
476
|
+
])])], 32)) : (x(), g("form", {
|
|
477
477
|
key: 3,
|
|
478
478
|
class: "static-record-form",
|
|
479
|
-
onSubmit: o[21] ||=
|
|
479
|
+
onSubmit: o[21] ||= E((...e) => w(R).save && w(R).save(...e), ["prevent"])
|
|
480
480
|
}, [
|
|
481
|
-
o[44] ||=
|
|
482
|
-
|
|
483
|
-
value:
|
|
481
|
+
o[44] ||= _("p", { class: "form-hint wide-field" }, " 手工动作只能绑定已部署的二开执行器;平台会通过通用动作接口承接权限、审计和运行态刷新。 ", -1),
|
|
482
|
+
_("label", null, [o[34] ||= _("span", null, "动作编码", -1), y(w(d), {
|
|
483
|
+
value: w(B).actionCode,
|
|
484
484
|
disabled: W.value,
|
|
485
485
|
"onUpdate:value": o[11] ||= (e) => q("actionCode", e)
|
|
486
486
|
}, null, 8, ["value", "disabled"])]),
|
|
487
|
-
|
|
488
|
-
value:
|
|
487
|
+
_("label", null, [o[35] ||= _("span", null, "动作名称", -1), y(w(d), {
|
|
488
|
+
value: w(B).title,
|
|
489
489
|
disabled: W.value,
|
|
490
490
|
"onUpdate:value": o[12] ||= (e) => q("title", e)
|
|
491
491
|
}, null, 8, ["value", "disabled"])]),
|
|
492
|
-
|
|
493
|
-
value:
|
|
492
|
+
_("label", null, [o[36] ||= _("span", null, "执行层级", -1), y(w(s), {
|
|
493
|
+
value: w(B).actionLevel,
|
|
494
494
|
disabled: W.value,
|
|
495
495
|
options: Ae.value,
|
|
496
496
|
"onUpdate:value": o[13] ||= (e) => q("actionLevel", e)
|
|
@@ -499,8 +499,8 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
499
499
|
"disabled",
|
|
500
500
|
"options"
|
|
501
501
|
])]),
|
|
502
|
-
|
|
503
|
-
value:
|
|
502
|
+
_("label", null, [o[37] ||= _("span", null, "访问方式", -1), y(w(s), {
|
|
503
|
+
value: w(B).accessMode,
|
|
504
504
|
disabled: W.value,
|
|
505
505
|
options: [
|
|
506
506
|
{
|
|
@@ -518,8 +518,8 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
518
518
|
],
|
|
519
519
|
"onUpdate:value": o[14] ||= (e) => q("accessMode", e)
|
|
520
520
|
}, null, 8, ["value", "disabled"])]),
|
|
521
|
-
|
|
522
|
-
value:
|
|
521
|
+
_("label", null, [o[38] ||= _("span", null, "二开执行器", -1), y(w(s), {
|
|
522
|
+
value: w(B).executorKey,
|
|
523
523
|
disabled: W.value,
|
|
524
524
|
options: ke.value,
|
|
525
525
|
"onUpdate:value": o[15] ||= (e) => Ve(e)
|
|
@@ -528,24 +528,24 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
528
528
|
"disabled",
|
|
529
529
|
"options"
|
|
530
530
|
])]),
|
|
531
|
-
|
|
532
|
-
checked:
|
|
531
|
+
_("label", xe, [y(w(r), {
|
|
532
|
+
checked: w(B).actionAuth !== !1,
|
|
533
533
|
disabled: W.value,
|
|
534
534
|
"onUpdate:checked": o[16] ||= (e) => q("actionAuth", e)
|
|
535
535
|
}, {
|
|
536
|
-
default:
|
|
536
|
+
default: T(() => [...o[39] ||= [v("启用动作授权", -1)]]),
|
|
537
537
|
_: 1
|
|
538
538
|
}, 8, ["checked", "disabled"])]),
|
|
539
|
-
|
|
540
|
-
checked:
|
|
539
|
+
_("label", Se, [y(w(r), {
|
|
540
|
+
checked: w(B).dataAuth === !0,
|
|
541
541
|
disabled: W.value,
|
|
542
542
|
"onUpdate:checked": o[17] ||= (e) => q("dataAuth", e)
|
|
543
543
|
}, {
|
|
544
|
-
default:
|
|
544
|
+
default: T(() => [...o[40] ||= [v("启用数据授权", -1)]]),
|
|
545
545
|
_: 1
|
|
546
546
|
}, 8, ["checked", "disabled"])]),
|
|
547
|
-
|
|
548
|
-
value:
|
|
547
|
+
_("label", null, [o[41] ||= _("span", null, "默认授予策略", -1), y(w(s), {
|
|
548
|
+
value: w(B).defaultGrantPolicy,
|
|
549
549
|
disabled: W.value,
|
|
550
550
|
options: [
|
|
551
551
|
{
|
|
@@ -571,20 +571,20 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
571
571
|
],
|
|
572
572
|
"onUpdate:value": o[18] ||= (e) => q("defaultGrantPolicy", e)
|
|
573
573
|
}, null, 8, ["value", "disabled"])]),
|
|
574
|
-
|
|
575
|
-
value:
|
|
574
|
+
_("label", Ce, [o[42] ||= _("span", null, "可用条件表达式", -1), y(w(l), {
|
|
575
|
+
value: w(B).availableExpression,
|
|
576
576
|
disabled: W.value,
|
|
577
577
|
"onUpdate:value": o[19] ||= (e) => q("availableExpression", e)
|
|
578
578
|
}, null, 8, ["value", "disabled"])]),
|
|
579
|
-
|
|
580
|
-
value:
|
|
579
|
+
_("label", we, [o[43] ||= _("span", null, "不可用提示", -1), y(w(l), {
|
|
580
|
+
value: w(B).unavailableMessage,
|
|
581
581
|
disabled: W.value,
|
|
582
582
|
"onUpdate:value": o[20] ||= (e) => q("unavailableMessage", e)
|
|
583
583
|
}, null, 8, ["value", "disabled"])])
|
|
584
|
-
], 32)),
|
|
584
|
+
], 32)), w(z) || w(V) !== "view" ? (x(), m(w(re), {
|
|
585
585
|
key: 4,
|
|
586
|
-
record:
|
|
587
|
-
}, null, 8, ["record"])) :
|
|
586
|
+
record: w(B)
|
|
587
|
+
}, null, 8, ["record"])) : h("v-if", !0)]),
|
|
588
588
|
_: 1
|
|
589
589
|
}, 8, [
|
|
590
590
|
"mode",
|