@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.
Files changed (59) hide show
  1. package/dist/{BusinessActivityLogView-CXBpVbZW.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-DToyqP9V.js → BusinessLogListDrawer-BnucgqNA.js} +116 -116
  3. package/dist/{CodeConfigurationView-DAdbnF2Y.js → CodeConfigurationView-CtQjmpLz.js} +527 -527
  4. package/dist/{ConfigurationTranslationView-D1aLZQlx.js → ConfigurationTranslationView-BiYn2MJx.js} +26 -26
  5. package/dist/{LoginAuditLogView-DRxp6BbU.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
  6. package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
  7. package/dist/{ModuleGovernanceView-C7V5KQcA.js → ModuleGovernanceView-DEDF61vj.js} +3061 -3061
  8. package/dist/{RequestErrorLogView-S6O4ha82.js → RequestErrorLogView-HatmiK8_.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-BzzoarpR.js +1435 -0
  10. package/dist/{RuntimeLogView-BuF-xgEc.js → RuntimeLogView-Vdt6SWK6.js} +65 -65
  11. package/dist/{WorkflowAdministrationView-DkK3Wybi.js → WorkflowAdministrationView-Dlw2ng0N.js} +193 -193
  12. package/dist/{WorkflowConfigurationView-8DFNdIyI.js → WorkflowConfigurationView-j2xnGmkM.js} +39 -39
  13. package/dist/{WorkflowWorkbenchView-CAloU49z.js → WorkflowWorkbenchView-Nv4mvTTP.js} +122 -122
  14. package/dist/{codeConfiguration-BV9yki1E.js → codeConfiguration-B_z1qQvB.js} +43 -43
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +1344 -818
  17. package/dist/moduleMenuWorkspace-1N0U7QW9.js +626 -0
  18. package/dist/{platform-components-C9cG_1E2.js → platform-components-Xb5qgsXU.js} +3088 -2999
  19. package/dist/{platform-workbench-BSTroBaq.js → platform-workbench-VhgKhPLI.js} +5106 -5031
  20. package/dist/record-read.js +2 -0
  21. package/dist/recordReadEntry-CxDHM44F.js +152 -0
  22. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +6 -0
  23. package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
  24. package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
  25. package/dist/types/app/LoginView.vue.d.ts +3 -1
  26. package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
  27. package/dist/types/app/externalLoginReturn.d.ts +38 -0
  28. package/dist/types/app/useExternalLoginHost.d.ts +27 -0
  29. package/dist/types/app/weLinkQrCode.d.ts +22 -0
  30. package/dist/types/consumer/index.d.ts +7 -2
  31. package/dist/types/consumer/recordRead.d.ts +6 -0
  32. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
  33. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
  34. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
  35. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
  36. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
  37. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
  38. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
  39. package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
  40. package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
  41. package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
  42. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
  43. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  44. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
  45. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
  46. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  47. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
  48. package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
  49. package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
  50. package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
  51. package/dist/types/views/businessRuleGovernance.d.ts +1 -0
  52. package/dist/types/web-contracts/index.d.ts +71 -2
  53. package/dist/types/web-core/clients.d.ts +11 -1
  54. package/dist/{useWorkflowConfigurationContext-ClwD0BWE.js → useWorkflowConfigurationContext-BLFXzHwn.js} +8 -8
  55. package/dist/{workspaceViews-Cvi7uakV.js → workspaceViews-Cas3PR5B.js} +1035 -879
  56. package/package.json +5 -1
  57. package/dist/ModuleActionManagementView-D4oXCnW2.js +0 -755
  58. package/dist/RoleDetailWorkspaceView-lg4XwTlN.js +0 -1435
  59. 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-BSTroBaq.js";
2
- import { An as ee, Ht as te, Kt as ne, Ma as re, Mn as i, Nr as ie, Oa as ae, Wr as a, Xa as oe, Xr as se, _n as o, bt as ce, eo as le, fr as ue, gt as de, h as fe, it as s, jr as pe, kn as me, m as he, or as c, p as ge, qr as _e, rr as ve, sn as l, sr as ye, u as be, ur as u, zt as xe } from "./platform-components-C9cG_1E2.js";
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__*/ ue(/* @__PURE__ */ v({
14
+ }, w = /*#__PURE__*/ _e(/* @__PURE__ */ v({
15
15
  name: "WorkflowWorkbenchView",
16
16
  __name: "WorkflowWorkbenchView",
17
- setup(ue) {
18
- let v = oe();
17
+ setup(_e) {
18
+ let v = ie();
19
19
  function w(e) {
20
20
  return he(e, v);
21
21
  }
22
- let Ue = _e(), T = r(), We = n(), E = b(T?.value?.system && typeof We.query.tenantId == "string" ? We.query.tenantId : void 0), D = d(() => E.value ? le(Ue.http, { "X-MuYun-Tenant-Id": E.value }) : Ue.http), Ge = d(() => fe(D.value)), Ke = d(() => ie(D.value)), qe = a({
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
- }), Je = d(() => !T?.value?.system || !!E.value), Ye = d(() => a({
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
- })), O = b("todo"), k = b(1), A = b(30), Xe = b(0), Ze = b(0), j = b([]), M = b(), N = b(!1), P = b(""), F = b(""), I = b({}), L = b({}), R = b({}), Qe = d(() => ({
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, re(t.title, t.titleText, v)]))
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", "未命名业务") : ae(n, e.business?.titleContentText, v) ?? n;
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(() => j.value.map((e) => ({
68
+ let rt = d(() => M.value.map((e) => ({
69
69
  ...e,
70
70
  id: e.taskId ?? e.instanceId,
71
- nodeTitle: re(e.nodeTitle ?? "", e.nodeTitleText, v),
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", "业务模块") : re(e.business.moduleTitle, e.business.moduleTitleText, v),
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
- ...O.value === "done" ? [{
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([() => M.value?.moduleAlias, D], ([e, t]) => {
135
- U.value = e ? a({
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(se(U.value.runtime)?.uiDescriptor) : void 0;
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 = j.value.some((e) => t.has(e.moduleAlias)), r = Object.keys(L.value).some((e) => t.has(e));
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, te = q, ne = E.value, re = T?.value?.userId, i = U.value;
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 ? Ke.value.workbenchPage(O.value, k.value, I.value, F.value, A.value) : void 0,
160
- Ke.value.workbenchModules(),
161
- i && t.has(i.moduleAlias) ? i.runtime.refreshTexts?.() : void 0
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 !== te || E.value !== ne || T?.value?.userId !== re) return;
164
- let ie = (t) => e?.records.find((e) => e.instanceId === t.instanceId && e.taskId === t.taskId)?.nodeTitleText, ae = {
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
- }, a = { ...L.value };
168
- for (let [e, t] of Object.entries(a)) {
169
- let n = ae[e]?.titleText;
170
- ge(t.titleText, n) && (a[e] = {
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 = a;
176
- let oe = (t) => {
177
- let n = e?.records.find((e) => e.instanceId === t.instanceId && e.taskId === t.taskId), r = n?.business?.moduleTitleText ?? ae[t.moduleAlias]?.titleText;
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 (j.value = j.value.map(oe), M.value) {
188
- let e = ie(M.value);
189
- ge(M.value.nodeTitleText, e) && (M.value.nodeTitleText = e);
190
- let t = oe(M.value);
191
- t.business && (M.value.business = 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
- o(e, {
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
- N.value = !0, P.value = "";
202
+ P.value = !0, Ze.value = "";
203
203
  try {
204
- let t = await Ke.value.workbenchPage(O.value, k.value, I.value, F.value, A.value);
204
+ let t = await O.value.workbenchPage(k.value, A.value, I.value, F.value, j.value);
205
205
  if (e !== q) return;
206
- j.value = t.records, Xe.value = t.total, Ze.value = t.pages, R.value = {
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[O.value] = t.total;
212
+ }, z.value[k.value] = t.total;
213
213
  } catch (t) {
214
- e === q && (j.value = [], Xe.value = 0, Ze.value = 0, delete z.value[O.value], P.value = v.t("platform.screen.WorkflowWorkbenchView.unable-to-load-tasks-retry", "任务加载失败,请重试。"), o(t, {
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 && (N.value = !1);
219
+ e === q && (P.value = !1);
220
220
  }
221
221
  }
222
222
  async function ft() {
223
- let e = ++lt, t = M.value, n = U.value;
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", "业务详情加载失败,请重试或检查业务读取权限。"), o(t, {
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([M, E], () => void ft()), 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
- M.value = void 0, I.value = {}, F.value = "", B.value = "", V.value = "", R.value = {}, L.value = {}, z.value = {}, k.value = 1, ++Q, J.value = !1, Y.value = !1, vt.value = [], St();
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() && (M.value = void 0);
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, k.value === 1 ? dt() : k.value = 1);
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, M.value && t(M.value.moduleAlias), await dt(), await ft();
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
- pe(() => v.t("platform.unsaved-source.WorkflowWorkbenchView", "个人委托"), () => bt.value, () => Y.value);
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 || !Je.value) return;
280
- let e = ++Q, t = E.value, n = Ke.value;
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) && o(n, {
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) && o(n, {
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) && o(n, {
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) && o(e, {
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(de), {
389
+ _(S(ce), {
390
390
  tabs: et.value,
391
- "active-key": O.value,
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
- O.value = e, k.value = 1, M.value = void 0;
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
- P.value ? (y(), f(S(i), {
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: P.value
406
+ message: Ze.value
407
407
  }, null, 8, ["title", "message"])) : p("v-if", !0),
408
- _(S(ne), {
409
- title: et.value.find((e) => e.key === O.value)?.title ?? S(v).t("platform.screen.WorkflowWorkbenchView.workflow-tasks", "审批任务"),
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": M.value?.taskId ?? M.value?.instanceId,
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 || N.value,
418
+ "quick-search-disabled": H.value || P.value,
419
419
  pageable: !0,
420
- total: Xe.value,
421
- pages: Ze.value,
422
- "page-num": k.value,
423
- "page-size": A.value,
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 || N.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) => k.value = e,
433
+ onPageChange: t[8] ||= (e) => A.value = e,
434
434
  onPageSizeChange: t[9] ||= (e) => {
435
- A.value = e, k.value = 1;
435
+ j.value = e, A.value = 1;
436
436
  },
437
- onRowClick: t[10] ||= (e) => !H.value && (M.value = j.value.find((t) => (t.taskId ?? t.instanceId) === e.id))
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(u), {
440
- loading: N.value,
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(u), {
447
- disabled: H.value || J.value || Y.value || !Je.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(l), null, {
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(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(qe),
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(l), null, {
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(c), {
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
- Je.value ? (y(), m("label", je, [_(S(l), null, {
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(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: Ye.value,
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(l), null, {
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(c), {
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(ve), {
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(ve), {
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(u), {
542
- disabled: H.value || N.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(u), {
548
- disabled: H.value || N.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: !!M.value,
573
- title: M.value ? nt(M.value, W.value?.title) : S(v).t("platform.screen.WorkflowWorkbenchView.business-processing-details", "业务办理详情"),
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) => M.value = void 0
576
+ onClose: t[12] ||= (e) => N.value = void 0
577
577
  }, {
578
- operation: C(() => [_(S(u), {
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(i), {
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(u), {
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(ce), {
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
- M.value && U.value && W.value && !G.value && !K.value ? (y(), f(S(be), {
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: M.value.instanceId,
612
+ key: N.value.instanceId,
613
613
  context: U.value,
614
- "record-id": M.value.recordId,
615
- "instance-id": M.value.instanceId,
616
- "record-submission": M.value.taskKind === "resubmit" && M.value.taskStatus === "todo",
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(u), {
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(u), {
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(i), {
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(l), { required: "" }, {
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(ve), {
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(l), { required: "" }, {
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(s), {
666
+ }), _(S(de), {
667
667
  value: Z.value.delegateUserId,
668
668
  "onUpdate:value": t[14] ||= (e) => Z.value.delegateUserId = e,
669
- context: Ye.value,
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(c), {
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(c), {
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(ye), {
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(s), {
725
+ _(S(de), {
726
726
  value: e.delegateUserId,
727
- context: Ye.value,
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(u), {
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(u), {
744
+ }, 8, ["disabled", "onClick"]), _(S(l), {
745
745
  disabled: Y.value,
746
746
  onClick: (t) => Ot(e)
747
747
  }, {