@ximatai/muyun-web-app 0.26.22 → 0.26.24
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/{BusinessActivityLogView-CXBpVbZW.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
- package/dist/{BusinessLogListDrawer-DToyqP9V.js → BusinessLogListDrawer-BnucgqNA.js} +116 -116
- package/dist/{CodeConfigurationView-DAdbnF2Y.js → CodeConfigurationView-CtQjmpLz.js} +527 -527
- package/dist/{ConfigurationTranslationView-D1aLZQlx.js → ConfigurationTranslationView-BiYn2MJx.js} +26 -26
- package/dist/{LoginAuditLogView-DRxp6BbU.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
- package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
- package/dist/{ModuleGovernanceView-C7V5KQcA.js → ModuleGovernanceView-DEDF61vj.js} +3061 -3061
- package/dist/{RequestErrorLogView-S6O4ha82.js → RequestErrorLogView-HatmiK8_.js} +2 -2
- package/dist/RoleDetailWorkspaceView-BzzoarpR.js +1435 -0
- package/dist/{RuntimeLogView-BuF-xgEc.js → RuntimeLogView-Vdt6SWK6.js} +65 -65
- package/dist/{WorkflowAdministrationView-DkK3Wybi.js → WorkflowAdministrationView-Dlw2ng0N.js} +193 -193
- package/dist/{WorkflowConfigurationView-8DFNdIyI.js → WorkflowConfigurationView-j2xnGmkM.js} +39 -39
- package/dist/{WorkflowWorkbenchView-CAloU49z.js → WorkflowWorkbenchView-Nv4mvTTP.js} +122 -122
- package/dist/{codeConfiguration-BV9yki1E.js → codeConfiguration-B_z1qQvB.js} +43 -43
- package/dist/index.css +1 -1
- package/dist/index.js +1344 -818
- package/dist/moduleMenuWorkspace-1N0U7QW9.js +626 -0
- package/dist/{platform-components-C9cG_1E2.js → platform-components-Xb5qgsXU.js} +3088 -2999
- package/dist/{platform-workbench-BSTroBaq.js → platform-workbench-VhgKhPLI.js} +5106 -5031
- package/dist/record-read.js +2 -0
- package/dist/recordReadEntry-CxDHM44F.js +152 -0
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +6 -0
- package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
- package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
- package/dist/types/app/LoginView.vue.d.ts +3 -1
- package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
- package/dist/types/app/externalLoginReturn.d.ts +38 -0
- package/dist/types/app/useExternalLoginHost.d.ts +27 -0
- package/dist/types/app/weLinkQrCode.d.ts +22 -0
- package/dist/types/consumer/index.d.ts +7 -2
- package/dist/types/consumer/recordRead.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
- package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
- package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +71 -2
- package/dist/types/web-core/clients.d.ts +11 -1
- package/dist/{useWorkflowConfigurationContext-ClwD0BWE.js → useWorkflowConfigurationContext-BLFXzHwn.js} +8 -8
- package/dist/{workspaceViews-Cvi7uakV.js → workspaceViews-Cas3PR5B.js} +1035 -879
- package/package.json +5 -1
- package/dist/ModuleActionManagementView-D4oXCnW2.js +0 -755
- package/dist/RoleDetailWorkspaceView-lg4XwTlN.js +0 -1435
- package/dist/moduleMenuWorkspace-BBOQrHeT.js +0 -626
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e, _ as t, a as n, y as r } from "./platform-workbench-
|
|
2
|
-
import { An as ee, Ht as te,
|
|
1
|
+
import { D as e, _ as t, a as n, y as r } from "./platform-workbench-VhgKhPLI.js";
|
|
2
|
+
import { An as ee, Gr as i, Ht as te, Jr as ne, Kt as a, Mn as re, Na as o, Nr as s, Za as ie, Zr as ae, _n as c, bt as oe, cr as se, dr as l, gt as ce, h as le, ir as ue, it as de, jr as fe, ka as pe, kn as me, m as he, p as ge, pr as _e, sn as u, sr as ve, to as ye, u as be, zt as xe } from "./platform-components-Xb5qgsXU.js";
|
|
3
3
|
import { Fragment as Se, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, normalizeClass as Ce, openBlock as y, ref as b, renderList as we, shallowRef as Te, toDisplayString as x, unref as S, watch as Ee, withCtx as C } from "vue";
|
|
4
4
|
//#region src/views/WorkflowWorkbenchView.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields" }, ke = {
|
|
@@ -11,27 +11,27 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
11
11
|
}, Me = { class: "workflow-field" }, Ne = { class: "date-filters" }, Pe = { class: "workflow-field" }, Fe = { class: "workflow-field" }, Ie = { class: "workflow-query-controls" }, Le = { key: 0 }, Re = { class: "policy-form" }, ze = { class: "workflow-field" }, Be = { class: "workflow-field" }, Ve = { class: "workflow-field" }, He = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "workflow-field"
|
|
14
|
-
}, w = /*#__PURE__*/
|
|
14
|
+
}, w = /*#__PURE__*/ _e(/* @__PURE__ */ v({
|
|
15
15
|
name: "WorkflowWorkbenchView",
|
|
16
16
|
__name: "WorkflowWorkbenchView",
|
|
17
|
-
setup(
|
|
18
|
-
let v =
|
|
17
|
+
setup(_e) {
|
|
18
|
+
let v = ie();
|
|
19
19
|
function w(e) {
|
|
20
20
|
return he(e, v);
|
|
21
21
|
}
|
|
22
|
-
let Ue =
|
|
22
|
+
let Ue = ne(), T = r(), We = n(), E = b(T?.value?.system && typeof We.query.tenantId == "string" ? We.query.tenantId : void 0), D = d(() => E.value ? ye(Ue.http, { "X-MuYun-Tenant-Id": E.value }) : Ue.http), Ge = d(() => le(D.value)), O = d(() => s(D.value)), Ke = i({
|
|
23
23
|
http: Ue.http,
|
|
24
24
|
language: v,
|
|
25
25
|
moduleAlias: "iam.tenant",
|
|
26
26
|
runtimeAccess: "REFERENCE"
|
|
27
|
-
}),
|
|
27
|
+
}), qe = d(() => !T?.value?.system || !!E.value), Je = d(() => i({
|
|
28
28
|
http: D.value,
|
|
29
29
|
language: v,
|
|
30
30
|
moduleAlias: "iam.user",
|
|
31
31
|
runtimeAccess: "VIEW"
|
|
32
|
-
})),
|
|
32
|
+
})), k = b("todo"), A = b(1), j = b(30), Ye = b(0), Xe = b(0), M = b([]), N = b(), P = b(!1), Ze = b(""), F = b(""), I = b({}), L = b({}), R = b({}), Qe = d(() => ({
|
|
33
33
|
...R.value,
|
|
34
|
-
...Object.fromEntries(Object.entries(L.value).map(([e, t]) => [e,
|
|
34
|
+
...Object.fromEntries(Object.entries(L.value).map(([e, t]) => [e, o(t.title, t.titleText, v)]))
|
|
35
35
|
})), z = b({}), B = b(""), V = b(""), H = b(!1), $e = b(), et = d(() => [
|
|
36
36
|
{
|
|
37
37
|
key: "todo",
|
|
@@ -63,14 +63,14 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
63
63
|
function nt(e, t) {
|
|
64
64
|
if (e.business?.readable === !1) return v.t("platform.screen.WorkflowWorkbenchView.restricted-business-record", "受限业务记录");
|
|
65
65
|
let n = typeof t == "string" ? t : e.business?.title;
|
|
66
|
-
return n == null ? v.t("platform.screen.WorkflowWorkbenchView.untitled-business-record", "未命名业务") :
|
|
66
|
+
return n == null ? v.t("platform.screen.WorkflowWorkbenchView.untitled-business-record", "未命名业务") : pe(n, e.business?.titleContentText, v) ?? n;
|
|
67
67
|
}
|
|
68
|
-
let rt = d(() =>
|
|
68
|
+
let rt = d(() => M.value.map((e) => ({
|
|
69
69
|
...e,
|
|
70
70
|
id: e.taskId ?? e.instanceId,
|
|
71
|
-
nodeTitle:
|
|
71
|
+
nodeTitle: o(e.nodeTitle ?? "", e.nodeTitleText, v),
|
|
72
72
|
title: nt(e),
|
|
73
|
-
moduleTitle: e.business?.moduleTitle == null ? Qe.value[e.moduleAlias] ?? v.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块") :
|
|
73
|
+
moduleTitle: e.business?.moduleTitle == null ? Qe.value[e.moduleAlias] ?? v.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块") : o(e.business.moduleTitle, e.business.moduleTitleText, v),
|
|
74
74
|
status: w(e.taskStatus ?? e.instanceStatus),
|
|
75
75
|
received: st(e.receivedAt),
|
|
76
76
|
completed: st(e.completedAt),
|
|
@@ -119,7 +119,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
119
119
|
dataIndex: "received",
|
|
120
120
|
width: 170
|
|
121
121
|
},
|
|
122
|
-
...
|
|
122
|
+
...k.value === "done" ? [{
|
|
123
123
|
key: "completed",
|
|
124
124
|
title: v.t("platform.screen.WorkflowWorkbenchView.processed-at", "办理时间"),
|
|
125
125
|
dataIndex: "completed",
|
|
@@ -131,8 +131,8 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
131
131
|
width: 90
|
|
132
132
|
}]
|
|
133
133
|
]), U = Te();
|
|
134
|
-
Ee([() =>
|
|
135
|
-
U.value = e ?
|
|
134
|
+
Ee([() => N.value?.moduleAlias, D], ([e, t]) => {
|
|
135
|
+
U.value = e ? i({
|
|
136
136
|
http: t,
|
|
137
137
|
language: v,
|
|
138
138
|
moduleAlias: e,
|
|
@@ -140,7 +140,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
140
140
|
}) : void 0;
|
|
141
141
|
}, { immediate: !0 });
|
|
142
142
|
let W = b(), at = b(/* @__PURE__ */ new Map()), G = b(!1), K = b(""), ot = d(() => {
|
|
143
|
-
let e = U.value ? xe(
|
|
143
|
+
let e = U.value ? xe(ae(U.value.runtime)?.uiDescriptor) : void 0;
|
|
144
144
|
return new Map([...at.value].map(([t, n]) => [t, e?.get(t) ?? n]));
|
|
145
145
|
});
|
|
146
146
|
function st(e) {
|
|
@@ -151,30 +151,30 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
151
151
|
}
|
|
152
152
|
let q = 0, lt = 0, ut = 0;
|
|
153
153
|
e(async (e) => {
|
|
154
|
-
let t = new Set(e.changes.filter((e) => e.type === "configuration-translations-changed").map((e) => e.moduleAlias)), n =
|
|
154
|
+
let t = new Set(e.changes.filter((e) => e.type === "configuration-translations-changed").map((e) => e.moduleAlias)), n = M.value.some((e) => t.has(e.moduleAlias)), r = Object.keys(L.value).some((e) => t.has(e));
|
|
155
155
|
if (!n && !r) return;
|
|
156
|
-
let ee = ++ut,
|
|
156
|
+
let ee = ++ut, i = q, te = E.value, ne = T?.value?.userId, a = U.value;
|
|
157
157
|
try {
|
|
158
158
|
let [e, r] = await Promise.all([
|
|
159
|
-
n ?
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
n ? O.value.workbenchPage(k.value, A.value, I.value, F.value, j.value) : void 0,
|
|
160
|
+
O.value.workbenchModules(),
|
|
161
|
+
a && t.has(a.moduleAlias) ? a.runtime.refreshTexts?.() : void 0
|
|
162
162
|
]);
|
|
163
|
-
if (ee !== ut || q !==
|
|
164
|
-
let
|
|
163
|
+
if (ee !== ut || q !== i || E.value !== te || T?.value?.userId !== ne) return;
|
|
164
|
+
let re = (t) => e?.records.find((e) => e.instanceId === t.instanceId && e.taskId === t.taskId)?.nodeTitleText, o = {
|
|
165
165
|
...r.modules,
|
|
166
166
|
...e?.navigation?.moduleTitles?.modules
|
|
167
|
-
},
|
|
168
|
-
for (let [e, t] of Object.entries(
|
|
169
|
-
let n =
|
|
170
|
-
ge(t.titleText, n) && (
|
|
167
|
+
}, s = { ...L.value };
|
|
168
|
+
for (let [e, t] of Object.entries(s)) {
|
|
169
|
+
let n = o[e]?.titleText;
|
|
170
|
+
ge(t.titleText, n) && (s[e] = {
|
|
171
171
|
...t,
|
|
172
172
|
titleText: n
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
L.value =
|
|
176
|
-
let
|
|
177
|
-
let n = e?.records.find((e) => e.instanceId === t.instanceId && e.taskId === t.taskId), r = n?.business?.moduleTitleText ??
|
|
175
|
+
L.value = s;
|
|
176
|
+
let ie = (t) => {
|
|
177
|
+
let n = e?.records.find((e) => e.instanceId === t.instanceId && e.taskId === t.taskId), r = n?.business?.moduleTitleText ?? o[t.moduleAlias]?.titleText;
|
|
178
178
|
return {
|
|
179
179
|
...t,
|
|
180
180
|
...ge(t.nodeTitleText, n?.nodeTitleText) ? { nodeTitleText: n?.nodeTitleText } : {},
|
|
@@ -184,14 +184,14 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
184
184
|
} : t.business
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
if (
|
|
188
|
-
let e =
|
|
189
|
-
ge(
|
|
190
|
-
let t =
|
|
191
|
-
t.business && (
|
|
187
|
+
if (M.value = M.value.map(ie), N.value) {
|
|
188
|
+
let e = re(N.value);
|
|
189
|
+
ge(N.value.nodeTitleText, e) && (N.value.nodeTitleText = e);
|
|
190
|
+
let t = ie(N.value);
|
|
191
|
+
t.business && (N.value.business = t.business);
|
|
192
192
|
}
|
|
193
193
|
} catch (e) {
|
|
194
|
-
|
|
194
|
+
c(e, {
|
|
195
195
|
source: "workflow-text-resources",
|
|
196
196
|
phase: "load"
|
|
197
197
|
});
|
|
@@ -199,28 +199,28 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
199
199
|
});
|
|
200
200
|
async function dt() {
|
|
201
201
|
let e = ++q;
|
|
202
|
-
|
|
202
|
+
P.value = !0, Ze.value = "";
|
|
203
203
|
try {
|
|
204
|
-
let t = await
|
|
204
|
+
let t = await O.value.workbenchPage(k.value, A.value, I.value, F.value, j.value);
|
|
205
205
|
if (e !== q) return;
|
|
206
|
-
|
|
206
|
+
M.value = t.records, Ye.value = t.total, Xe.value = t.pages, R.value = {
|
|
207
207
|
...R.value,
|
|
208
208
|
...t.navigation?.modules
|
|
209
209
|
}, L.value = {
|
|
210
210
|
...L.value,
|
|
211
211
|
...t.navigation?.moduleTitles?.modules
|
|
212
|
-
}, z.value[
|
|
212
|
+
}, z.value[k.value] = t.total;
|
|
213
213
|
} catch (t) {
|
|
214
|
-
e === q && (
|
|
214
|
+
e === q && (M.value = [], Ye.value = 0, Xe.value = 0, delete z.value[k.value], Ze.value = v.t("platform.screen.WorkflowWorkbenchView.unable-to-load-tasks-retry", "任务加载失败,请重试。"), c(t, {
|
|
215
215
|
source: "workflow-workbench",
|
|
216
216
|
phase: "load"
|
|
217
217
|
}));
|
|
218
218
|
} finally {
|
|
219
|
-
e === q && (
|
|
219
|
+
e === q && (P.value = !1);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
async function ft() {
|
|
223
|
-
let e = ++lt, t =
|
|
223
|
+
let e = ++lt, t = N.value, n = U.value;
|
|
224
224
|
if (W.value = void 0, K.value = "", G.value = !1, t && n) {
|
|
225
225
|
if (t.business?.readable === !1) {
|
|
226
226
|
K.value = v.t("platform.screen.WorkflowWorkbenchView.you-can-view-the-task-status-but", "你可以查看任务状态,但尚无该业务记录的读取权限。请联系业务管理员。");
|
|
@@ -232,7 +232,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
232
232
|
if (e !== lt) return;
|
|
233
233
|
at.value = xe(r.uiDescriptor), W.value = ee;
|
|
234
234
|
} catch (t) {
|
|
235
|
-
e === lt && (K.value = v.t("platform.screen.WorkflowWorkbenchView.unable-to-load-business-details-retry-or", "业务详情加载失败,请重试或检查业务读取权限。"),
|
|
235
|
+
e === lt && (K.value = v.t("platform.screen.WorkflowWorkbenchView.unable-to-load-business-details-retry-or", "业务详情加载失败,请重试或检查业务读取权限。"), c(t, {
|
|
236
236
|
source: "workflow-workbench",
|
|
237
237
|
phase: "load"
|
|
238
238
|
}));
|
|
@@ -241,28 +241,28 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
Ee([
|
|
245
|
-
O,
|
|
244
|
+
Ee([N, E], () => void ft()), Ee([
|
|
246
245
|
k,
|
|
247
246
|
A,
|
|
247
|
+
j,
|
|
248
248
|
E
|
|
249
249
|
], () => void dt(), { immediate: !0 }), Ee(E, () => {
|
|
250
|
-
|
|
250
|
+
N.value = void 0, I.value = {}, F.value = "", B.value = "", V.value = "", R.value = {}, L.value = {}, z.value = {}, A.value = 1, ++Q, J.value = !1, Y.value = !1, vt.value = [], St();
|
|
251
251
|
}, { flush: "sync" });
|
|
252
252
|
async function pt() {
|
|
253
253
|
return !H.value || await $e.value?.mayLeave() === !0;
|
|
254
254
|
}
|
|
255
255
|
async function mt() {
|
|
256
|
-
await pt() && (
|
|
256
|
+
await pt() && (N.value = void 0);
|
|
257
257
|
}
|
|
258
258
|
function ht() {
|
|
259
|
-
H.value || (I.value.receivedFrom = B.value ? (/* @__PURE__ */ new Date(`${B.value}T00:00:00`)).toISOString() : void 0, I.value.receivedTo = V.value ? new Date((/* @__PURE__ */ new Date(`${V.value}T00:00:00`)).setDate((/* @__PURE__ */ new Date(`${V.value}T00:00:00`)).getDate() + 1)).toISOString() : void 0,
|
|
259
|
+
H.value || (I.value.receivedFrom = B.value ? (/* @__PURE__ */ new Date(`${B.value}T00:00:00`)).toISOString() : void 0, I.value.receivedTo = V.value ? new Date((/* @__PURE__ */ new Date(`${V.value}T00:00:00`)).setDate((/* @__PURE__ */ new Date(`${V.value}T00:00:00`)).getDate() + 1)).toISOString() : void 0, A.value === 1 ? dt() : A.value = 1);
|
|
260
260
|
}
|
|
261
261
|
function gt() {
|
|
262
262
|
F.value = "", I.value = {}, B.value = "", V.value = "", ht();
|
|
263
263
|
}
|
|
264
264
|
async function _t() {
|
|
265
|
-
H.value = !1,
|
|
265
|
+
H.value = !1, N.value && t(N.value.moduleAlias), await dt(), await ft();
|
|
266
266
|
}
|
|
267
267
|
let vt = b([]), J = b(!1), Y = b(!1), X = b(""), Z = b({
|
|
268
268
|
title: v.t("platform.workflow.delegation.default-title", "审批代办"),
|
|
@@ -270,14 +270,14 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
270
270
|
moduleAliases: [],
|
|
271
271
|
principalCanProcess: !1
|
|
272
272
|
}), yt = b(""), bt = d(() => J.value && JSON.stringify(Z.value) !== yt.value);
|
|
273
|
-
|
|
273
|
+
fe(() => v.t("platform.unsaved-source.WorkflowWorkbenchView", "个人委托"), () => bt.value, () => Y.value);
|
|
274
274
|
let Q = 0;
|
|
275
275
|
function $(e, t) {
|
|
276
276
|
return e === Q && t === E.value && J.value;
|
|
277
277
|
}
|
|
278
278
|
async function xt() {
|
|
279
|
-
if (Y.value || J.value || !
|
|
280
|
-
let e = ++Q, t = E.value, n =
|
|
279
|
+
if (Y.value || J.value || !qe.value) return;
|
|
280
|
+
let e = ++Q, t = E.value, n = O.value;
|
|
281
281
|
J.value = !0, Y.value = !0, vt.value = [], St();
|
|
282
282
|
try {
|
|
283
283
|
let r = await n.workbenchModules();
|
|
@@ -287,7 +287,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
287
287
|
...r.modules
|
|
288
288
|
}, await Ct();
|
|
289
289
|
} catch (n) {
|
|
290
|
-
$(e, t) &&
|
|
290
|
+
$(e, t) && c(n, {
|
|
291
291
|
source: "workflow-delegation",
|
|
292
292
|
phase: "load"
|
|
293
293
|
});
|
|
@@ -316,7 +316,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
316
316
|
});
|
|
317
317
|
$(e, t) && (vt.value = r.records);
|
|
318
318
|
} catch (n) {
|
|
319
|
-
$(e, t) &&
|
|
319
|
+
$(e, t) && c(n, {
|
|
320
320
|
source: "workflow-delegation",
|
|
321
321
|
phase: "load"
|
|
322
322
|
});
|
|
@@ -358,7 +358,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
358
358
|
}), !$(e, t) || (St(), await Ct(), !$(e, t))) return;
|
|
359
359
|
me(v.t("platform.screen.WorkflowWorkbenchView.delegation-saved", "委托规则已保存,仅影响后续新任务"));
|
|
360
360
|
} catch (n) {
|
|
361
|
-
$(e, t) &&
|
|
361
|
+
$(e, t) && c(n, {
|
|
362
362
|
source: "workflow-delegation",
|
|
363
363
|
phase: "action"
|
|
364
364
|
});
|
|
@@ -377,7 +377,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
377
377
|
body: { version: e.version }
|
|
378
378
|
}), $(t, n) && await Ct();
|
|
379
379
|
} catch (e) {
|
|
380
|
-
$(t, n) &&
|
|
380
|
+
$(t, n) && c(e, {
|
|
381
381
|
source: "workflow-delegation",
|
|
382
382
|
phase: "action"
|
|
383
383
|
});
|
|
@@ -386,13 +386,13 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
return (e, t) => (y(), m("section", De, [
|
|
389
|
-
_(S(
|
|
389
|
+
_(S(ce), {
|
|
390
390
|
tabs: et.value,
|
|
391
|
-
"active-key":
|
|
391
|
+
"active-key": k.value,
|
|
392
392
|
label: S(v).t("platform.screen.WorkflowWorkbenchView.approval-workbench-groups", "审批工作台分组"),
|
|
393
393
|
disabled: H.value,
|
|
394
394
|
"onUpdate:activeKey": t[0] ||= (e) => {
|
|
395
|
-
|
|
395
|
+
k.value = e, A.value = 1, N.value = void 0;
|
|
396
396
|
}
|
|
397
397
|
}, null, 8, [
|
|
398
398
|
"tabs",
|
|
@@ -400,65 +400,65 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
400
400
|
"label",
|
|
401
401
|
"disabled"
|
|
402
402
|
]),
|
|
403
|
-
|
|
403
|
+
Ze.value ? (y(), f(S(re), {
|
|
404
404
|
key: 0,
|
|
405
405
|
title: S(v).t("platform.screen.WorkflowWorkbenchView.unable-to-load-tasks", "无法加载任务"),
|
|
406
|
-
message:
|
|
406
|
+
message: Ze.value
|
|
407
407
|
}, null, 8, ["title", "message"])) : p("v-if", !0),
|
|
408
|
-
_(S(
|
|
409
|
-
title: et.value.find((e) => e.key ===
|
|
408
|
+
_(S(a), {
|
|
409
|
+
title: et.value.find((e) => e.key === k.value)?.title ?? S(v).t("platform.screen.WorkflowWorkbenchView.workflow-tasks", "审批任务"),
|
|
410
410
|
columns: it.value,
|
|
411
411
|
rows: rt.value,
|
|
412
412
|
"row-key": "id",
|
|
413
413
|
"clickable-rows": !0,
|
|
414
|
-
"selected-row-key":
|
|
414
|
+
"selected-row-key": N.value?.taskId ?? N.value?.instanceId,
|
|
415
415
|
"quick-search-visible": !0,
|
|
416
416
|
"quick-search-value": F.value,
|
|
417
417
|
"quick-search-placeholder": S(v).t("platform.screen.WorkflowWorkbenchView.search-business-title", "搜索业务标题"),
|
|
418
|
-
"quick-search-disabled": H.value ||
|
|
418
|
+
"quick-search-disabled": H.value || P.value,
|
|
419
419
|
pageable: !0,
|
|
420
|
-
total:
|
|
421
|
-
pages:
|
|
422
|
-
"page-num":
|
|
423
|
-
"page-size":
|
|
420
|
+
total: Ye.value,
|
|
421
|
+
pages: Xe.value,
|
|
422
|
+
"page-num": A.value,
|
|
423
|
+
"page-size": j.value,
|
|
424
424
|
"page-size-options": [
|
|
425
425
|
10,
|
|
426
426
|
20,
|
|
427
427
|
30,
|
|
428
428
|
50
|
|
429
429
|
],
|
|
430
|
-
"pagination-disabled": H.value ||
|
|
430
|
+
"pagination-disabled": H.value || P.value,
|
|
431
431
|
"onUpdate:quickSearchValue": t[7] ||= (e) => F.value = e,
|
|
432
432
|
onQuickSearch: ht,
|
|
433
|
-
onPageChange: t[8] ||= (e) =>
|
|
433
|
+
onPageChange: t[8] ||= (e) => A.value = e,
|
|
434
434
|
onPageSizeChange: t[9] ||= (e) => {
|
|
435
|
-
|
|
435
|
+
j.value = e, A.value = 1;
|
|
436
436
|
},
|
|
437
|
-
onRowClick: t[10] ||= (e) => !H.value && (
|
|
437
|
+
onRowClick: t[10] ||= (e) => !H.value && (N.value = M.value.find((t) => (t.taskId ?? t.instanceId) === e.id))
|
|
438
438
|
}, {
|
|
439
|
-
operations: C(() => [_(S(
|
|
440
|
-
loading:
|
|
439
|
+
operations: C(() => [_(S(l), {
|
|
440
|
+
loading: P.value,
|
|
441
441
|
disabled: H.value,
|
|
442
442
|
onClick: dt
|
|
443
443
|
}, {
|
|
444
444
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.refresh-tasks", "刷新任务")), 1)]),
|
|
445
445
|
_: 1
|
|
446
|
-
}, 8, ["loading", "disabled"]), _(S(
|
|
447
|
-
disabled: H.value || J.value || Y.value || !
|
|
446
|
+
}, 8, ["loading", "disabled"]), _(S(l), {
|
|
447
|
+
disabled: H.value || J.value || Y.value || !qe.value,
|
|
448
448
|
onClick: xt
|
|
449
449
|
}, {
|
|
450
450
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.personal-delegation-settings", "个人代办设置")), 1)]),
|
|
451
451
|
_: 1
|
|
452
452
|
}, 8, ["disabled"])]),
|
|
453
453
|
conditions: C(() => [h("div", Oe, [
|
|
454
|
-
S(T)?.system ? (y(), m("label", ke, [_(S(
|
|
454
|
+
S(T)?.system ? (y(), m("label", ke, [_(S(u), null, {
|
|
455
455
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.business-tenant", "业务租户")), 1)]),
|
|
456
456
|
_: 1
|
|
457
|
-
}), _(S(
|
|
457
|
+
}), _(S(de), {
|
|
458
458
|
value: E.value,
|
|
459
459
|
"onUpdate:value": t[1] ||= (e) => E.value = e,
|
|
460
460
|
disabled: H.value || J.value || Y.value,
|
|
461
|
-
context: S(
|
|
461
|
+
context: S(Ke),
|
|
462
462
|
mode: "list",
|
|
463
463
|
"title-of": ct
|
|
464
464
|
}, null, 8, [
|
|
@@ -466,10 +466,10 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
466
466
|
"disabled",
|
|
467
467
|
"context"
|
|
468
468
|
])])) : p("v-if", !0),
|
|
469
|
-
h("label", Ae, [_(S(
|
|
469
|
+
h("label", Ae, [_(S(u), null, {
|
|
470
470
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块")), 1)]),
|
|
471
471
|
_: 1
|
|
472
|
-
}), _(S(
|
|
472
|
+
}), _(S(ve), {
|
|
473
473
|
value: I.value.moduleAlias,
|
|
474
474
|
"onUpdate:value": t[2] ||= (e) => I.value.moduleAlias = e,
|
|
475
475
|
options: tt.value,
|
|
@@ -482,14 +482,14 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
482
482
|
"disabled",
|
|
483
483
|
"placeholder"
|
|
484
484
|
])]),
|
|
485
|
-
|
|
485
|
+
qe.value ? (y(), m("label", je, [_(S(u), null, {
|
|
486
486
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.submitter", "发起人")), 1)]),
|
|
487
487
|
_: 1
|
|
488
|
-
}), _(S(
|
|
488
|
+
}), _(S(de), {
|
|
489
489
|
value: I.value.submitterUserId,
|
|
490
490
|
"onUpdate:value": t[3] ||= (e) => I.value.submitterUserId = e,
|
|
491
491
|
disabled: H.value,
|
|
492
|
-
context:
|
|
492
|
+
context: Je.value,
|
|
493
493
|
"load-options": Ge.value,
|
|
494
494
|
mode: "list",
|
|
495
495
|
"title-of": ct
|
|
@@ -499,10 +499,10 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
499
499
|
"context",
|
|
500
500
|
"load-options"
|
|
501
501
|
])])) : p("v-if", !0),
|
|
502
|
-
h("label", Me, [_(S(
|
|
502
|
+
h("label", Me, [_(S(u), null, {
|
|
503
503
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.timeliness", "时效")), 1)]),
|
|
504
504
|
_: 1
|
|
505
|
-
}), _(S(
|
|
505
|
+
}), _(S(ve), {
|
|
506
506
|
value: I.value.overtimeStatus,
|
|
507
507
|
"onUpdate:value": t[4] ||= (e) => I.value.overtimeStatus = e,
|
|
508
508
|
disabled: H.value,
|
|
@@ -527,25 +527,25 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
527
527
|
"options",
|
|
528
528
|
"placeholder"
|
|
529
529
|
])]),
|
|
530
|
-
h("div", Ne, [h("label", Pe, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.received-from", "接收开始日期")), 1), _(S(
|
|
530
|
+
h("div", Ne, [h("label", Pe, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.received-from", "接收开始日期")), 1), _(S(ue), {
|
|
531
531
|
value: B.value,
|
|
532
532
|
"onUpdate:value": t[5] ||= (e) => B.value = e,
|
|
533
533
|
type: "date",
|
|
534
534
|
disabled: H.value
|
|
535
|
-
}, null, 8, ["value", "disabled"])]), h("label", Fe, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.received-until", "接收结束日期")), 1), _(S(
|
|
535
|
+
}, null, 8, ["value", "disabled"])]), h("label", Fe, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.received-until", "接收结束日期")), 1), _(S(ue), {
|
|
536
536
|
value: V.value,
|
|
537
537
|
"onUpdate:value": t[6] ||= (e) => V.value = e,
|
|
538
538
|
type: "date",
|
|
539
539
|
disabled: H.value
|
|
540
540
|
}, null, 8, ["value", "disabled"])])]),
|
|
541
|
-
h("div", Ie, [_(S(
|
|
542
|
-
disabled: H.value ||
|
|
541
|
+
h("div", Ie, [_(S(l), {
|
|
542
|
+
disabled: H.value || P.value,
|
|
543
543
|
onClick: ht
|
|
544
544
|
}, {
|
|
545
545
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.search", "查询")), 1)]),
|
|
546
546
|
_: 1
|
|
547
|
-
}, 8, ["disabled"]), _(S(
|
|
548
|
-
disabled: H.value ||
|
|
547
|
+
}, 8, ["disabled"]), _(S(l), {
|
|
548
|
+
disabled: H.value || P.value,
|
|
549
549
|
onClick: gt
|
|
550
550
|
}, {
|
|
551
551
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
@@ -569,13 +569,13 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
569
569
|
"pagination-disabled"
|
|
570
570
|
]),
|
|
571
571
|
_(S(te), {
|
|
572
|
-
open: !!
|
|
573
|
-
title:
|
|
572
|
+
open: !!N.value,
|
|
573
|
+
title: N.value ? nt(N.value, W.value?.title) : S(v).t("platform.screen.WorkflowWorkbenchView.business-processing-details", "业务办理详情"),
|
|
574
574
|
width: "wide",
|
|
575
575
|
"before-close": pt,
|
|
576
|
-
onClose: t[12] ||= (e) =>
|
|
576
|
+
onClose: t[12] ||= (e) => N.value = void 0
|
|
577
577
|
}, {
|
|
578
|
-
operation: C(() => [_(S(
|
|
578
|
+
operation: C(() => [_(S(l), {
|
|
579
579
|
disabled: H.value,
|
|
580
580
|
onClick: mt
|
|
581
581
|
}, {
|
|
@@ -584,19 +584,19 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
584
584
|
}, 8, ["disabled"])]),
|
|
585
585
|
default: C(() => [
|
|
586
586
|
G.value ? (y(), m("p", Le, x(S(v).t("platform.screen.WorkflowWorkbenchView.loading-business-details", "加载业务详情…")), 1)) : p("v-if", !0),
|
|
587
|
-
K.value ? (y(), f(S(
|
|
587
|
+
K.value ? (y(), f(S(re), {
|
|
588
588
|
key: 1,
|
|
589
589
|
title: S(v).t("platform.screen.WorkflowWorkbenchView.unable-to-read-business-details", "无法读取业务详情"),
|
|
590
590
|
message: K.value
|
|
591
591
|
}, null, 8, ["title", "message"])) : p("v-if", !0),
|
|
592
|
-
K.value ? (y(), f(S(
|
|
592
|
+
K.value ? (y(), f(S(l), {
|
|
593
593
|
key: 2,
|
|
594
594
|
onClick: ft
|
|
595
595
|
}, {
|
|
596
596
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.retry", "重试")), 1)]),
|
|
597
597
|
_: 1
|
|
598
598
|
})) : p("v-if", !0),
|
|
599
|
-
W.value ? (y(), f(S(
|
|
599
|
+
W.value ? (y(), f(S(oe), {
|
|
600
600
|
key: 3,
|
|
601
601
|
record: W.value,
|
|
602
602
|
fields: ot.value,
|
|
@@ -606,14 +606,14 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
606
606
|
"fields",
|
|
607
607
|
"option-context"
|
|
608
608
|
])) : p("v-if", !0),
|
|
609
|
-
|
|
609
|
+
N.value && U.value && W.value && !G.value && !K.value ? (y(), f(S(be), {
|
|
610
610
|
ref_key: "panel",
|
|
611
611
|
ref: $e,
|
|
612
|
-
key:
|
|
612
|
+
key: N.value.instanceId,
|
|
613
613
|
context: U.value,
|
|
614
|
-
"record-id":
|
|
615
|
-
"instance-id":
|
|
616
|
-
"record-submission":
|
|
614
|
+
"record-id": N.value.recordId,
|
|
615
|
+
"instance-id": N.value.instanceId,
|
|
616
|
+
"record-submission": N.value.taskKind === "resubmit" && N.value.taskStatus === "todo",
|
|
617
617
|
onEditingChange: t[11] ||= (e) => H.value = e,
|
|
618
618
|
onChanged: _t
|
|
619
619
|
}, null, 8, [
|
|
@@ -631,14 +631,14 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
631
631
|
"before-close": Et,
|
|
632
632
|
onClose: t[18] ||= (e) => J.value = !1
|
|
633
633
|
}, {
|
|
634
|
-
operation: C(() => [_(S(
|
|
634
|
+
operation: C(() => [_(S(l), {
|
|
635
635
|
type: "primary",
|
|
636
636
|
loading: Y.value,
|
|
637
637
|
onClick: Dt
|
|
638
638
|
}, {
|
|
639
639
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.save-delegation-rule", "保存委托规则")), 1)]),
|
|
640
640
|
_: 1
|
|
641
|
-
}, 8, ["loading"]), _(S(
|
|
641
|
+
}, 8, ["loading"]), _(S(l), {
|
|
642
642
|
disabled: Y.value,
|
|
643
643
|
onClick: wt
|
|
644
644
|
}, {
|
|
@@ -646,27 +646,27 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
646
646
|
_: 1
|
|
647
647
|
}, 8, ["disabled"])]),
|
|
648
648
|
default: C(() => [
|
|
649
|
-
X.value ? (y(), f(S(
|
|
649
|
+
X.value ? (y(), f(S(re), {
|
|
650
650
|
key: 0,
|
|
651
651
|
title: S(v).t("platform.screen.WorkflowWorkbenchView.complete-the-delegation-rule", "请完善委托规则"),
|
|
652
652
|
message: X.value
|
|
653
653
|
}, null, 8, ["title", "message"])) : p("v-if", !0),
|
|
654
654
|
h("div", Re, [
|
|
655
|
-
h("label", ze, [_(S(
|
|
655
|
+
h("label", ze, [_(S(u), { required: "" }, {
|
|
656
656
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.rule-name", "规则名称")), 1)]),
|
|
657
657
|
_: 1
|
|
658
|
-
}), _(S(
|
|
658
|
+
}), _(S(ue), {
|
|
659
659
|
value: Z.value.title,
|
|
660
660
|
"onUpdate:value": t[13] ||= (e) => Z.value.title = e,
|
|
661
661
|
disabled: Y.value
|
|
662
662
|
}, null, 8, ["value", "disabled"])]),
|
|
663
|
-
h("label", Be, [_(S(
|
|
663
|
+
h("label", Be, [_(S(u), { required: "" }, {
|
|
664
664
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.delegate", "代办人")), 1)]),
|
|
665
665
|
_: 1
|
|
666
|
-
}), _(S(
|
|
666
|
+
}), _(S(de), {
|
|
667
667
|
value: Z.value.delegateUserId,
|
|
668
668
|
"onUpdate:value": t[14] ||= (e) => Z.value.delegateUserId = e,
|
|
669
|
-
context:
|
|
669
|
+
context: Je.value,
|
|
670
670
|
"load-options": Ge.value,
|
|
671
671
|
mode: "list",
|
|
672
672
|
"title-of": ct,
|
|
@@ -677,7 +677,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
677
677
|
"load-options",
|
|
678
678
|
"disabled"
|
|
679
679
|
])]),
|
|
680
|
-
h("label", Ve, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.applicable-scope", "适用范围")), 1), _(S(
|
|
680
|
+
h("label", Ve, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.applicable-scope", "适用范围")), 1), _(S(ve), {
|
|
681
681
|
value: Z.value.moduleScopeType,
|
|
682
682
|
"onUpdate:value": t[15] ||= (e) => Z.value.moduleScopeType = e,
|
|
683
683
|
disabled: Y.value,
|
|
@@ -694,7 +694,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
694
694
|
"disabled",
|
|
695
695
|
"options"
|
|
696
696
|
])]),
|
|
697
|
-
Z.value.moduleScopeType === "include" ? (y(), m("label", He, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块")), 1), _(S(
|
|
697
|
+
Z.value.moduleScopeType === "include" ? (y(), m("label", He, [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块")), 1), _(S(ve), {
|
|
698
698
|
value: Z.value.moduleAliases,
|
|
699
699
|
"onUpdate:value": t[16] ||= (e) => Z.value.moduleAliases = e,
|
|
700
700
|
disabled: Y.value,
|
|
@@ -706,7 +706,7 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
706
706
|
"disabled",
|
|
707
707
|
"options"
|
|
708
708
|
])])) : p("v-if", !0),
|
|
709
|
-
_(S(
|
|
709
|
+
_(S(se), {
|
|
710
710
|
checked: Z.value.principalCanProcess,
|
|
711
711
|
"onUpdate:checked": t[17] ||= (e) => Z.value.principalCanProcess = e,
|
|
712
712
|
disabled: Y.value
|
|
@@ -722,9 +722,9 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
722
722
|
class: "policy-row"
|
|
723
723
|
}, [
|
|
724
724
|
h("strong", null, x(e.title) + " · " + x(e.enabled ? S(v).t("platform.screen.WorkflowWorkbenchView.enabled", "启用") : S(v).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")), 1),
|
|
725
|
-
_(S(
|
|
725
|
+
_(S(de), {
|
|
726
726
|
value: e.delegateUserId,
|
|
727
|
-
context:
|
|
727
|
+
context: Je.value,
|
|
728
728
|
"load-options": Ge.value,
|
|
729
729
|
mode: "list",
|
|
730
730
|
"title-of": ct,
|
|
@@ -735,13 +735,13 @@ var De = { class: "workflow-workbench" }, Oe = { class: "workflow-query-fields"
|
|
|
735
735
|
"load-options"
|
|
736
736
|
]),
|
|
737
737
|
h("span", null, x(e.moduleScopeType === "all" ? S(v).t("platform.screen.WorkflowWorkbenchView.all-business-modules", "全部业务模块") : e.moduleAliases?.map((e) => Qe.value[e] ?? e).join("、")), 1),
|
|
738
|
-
h("div", null, [_(S(
|
|
738
|
+
h("div", null, [_(S(l), {
|
|
739
739
|
disabled: Y.value,
|
|
740
740
|
onClick: (t) => Tt(e)
|
|
741
741
|
}, {
|
|
742
742
|
default: C(() => [g(x(S(v).t("platform.screen.WorkflowWorkbenchView.edit-rule", "编辑规则")), 1)]),
|
|
743
743
|
_: 1
|
|
744
|
-
}, 8, ["disabled", "onClick"]), _(S(
|
|
744
|
+
}, 8, ["disabled", "onClick"]), _(S(l), {
|
|
745
745
|
disabled: Y.value,
|
|
746
746
|
onClick: (t) => Ot(e)
|
|
747
747
|
}, {
|