@ximatai/muyun-web-app 0.26.23 → 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-IWGZiPLo.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
- package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-BnucgqNA.js} +155 -155
- package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-CtQjmpLz.js} +390 -390
- package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-BiYn2MJx.js} +21 -21
- package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
- package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
- package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-DEDF61vj.js} +3154 -3154
- package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-HatmiK8_.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-BzzoarpR.js} +65 -65
- package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-Vdt6SWK6.js} +47 -47
- package/dist/WorkflowAdministrationView-Dlw2ng0N.js +650 -0
- package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-j2xnGmkM.js} +35 -35
- package/dist/WorkflowWorkbenchView-Nv4mvTTP.js +759 -0
- package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-B_z1qQvB.js} +37 -37
- package/dist/index.css +1 -1
- package/dist/index.js +1340 -788
- package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-1N0U7QW9.js} +220 -220
- package/dist/{platform-components-D0T03KGl.js → platform-components-Xb5qgsXU.js} +3091 -2880
- package/dist/{platform-workbench-CobObbuz.js → platform-workbench-VhgKhPLI.js} +5526 -5451
- 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/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-BkcNPU2H.js → useWorkflowConfigurationContext-BLFXzHwn.js} +5 -5
- package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Cas3PR5B.js} +1050 -894
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
- package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
- package/dist/WorkflowWorkbenchView-DBMh3ycN.js +0 -759
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, An as t,
|
|
1
|
+
import { A as e, An as t, Cn as n, Ht as r, Jr as i, Mn as a, Nn as o, Oa as s, On as c, Ta as ee, Wn as l, Xa as u, Za as te, _n as d, fa as f, ir as p, j as m, kn as ne, ma as re, pa as ie, pr as h, q as g, qa as _, ur as v, zn as ae } from "./platform-components-Xb5qgsXU.js";
|
|
2
2
|
import { Fragment as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createTextVNode as T, createVNode as E, defineComponent as D, normalizeClass as O, openBlock as k, ref as A, renderList as j, shallowRef as M, toDisplayString as N, unref as P, withCtx as F } from "vue";
|
|
3
3
|
//#region src/views/businessLogClient.ts
|
|
4
4
|
var I = {
|
|
@@ -135,7 +135,7 @@ function U(e) {
|
|
|
135
135
|
return {
|
|
136
136
|
key: J(t.pageKey) ?? "unknown-page",
|
|
137
137
|
title: J(t.pageKey) ?? "未知页面",
|
|
138
|
-
...J(t.pageKey) ? {} : { titleSource:
|
|
138
|
+
...J(t.pageKey) ? {} : { titleSource: _("platform.log.statistic.unknown-page") },
|
|
139
139
|
count: Y(t.accessCount)
|
|
140
140
|
};
|
|
141
141
|
}),
|
|
@@ -153,7 +153,7 @@ function U(e) {
|
|
|
153
153
|
].map(([e, n]) => ({
|
|
154
154
|
key: e,
|
|
155
155
|
title: n,
|
|
156
|
-
titleSource:
|
|
156
|
+
titleSource: _(`platform.log.statistic.${e}`),
|
|
157
157
|
count: Y(t[e])
|
|
158
158
|
})),
|
|
159
159
|
complete: X(t.complete)
|
|
@@ -161,7 +161,7 @@ function U(e) {
|
|
|
161
161
|
}
|
|
162
162
|
function se(e, t) {
|
|
163
163
|
let n = e.titleSource;
|
|
164
|
-
return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") &&
|
|
164
|
+
return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") && u(n, e.title) ? t.t(n.sourceId, n.originalText) : e.title;
|
|
165
165
|
}
|
|
166
166
|
function W(e, t) {
|
|
167
167
|
return J(e.summary ?? e.message ?? e.description) ?? G(t.message) ?? G(t.responseSummary) ?? J(t.reasonCode) ?? J(t.failureStage) ?? J(t.pageKey) ?? J(t.errorCode) ?? J(t.authenticationMethod);
|
|
@@ -233,29 +233,29 @@ var ue = {
|
|
|
233
233
|
}, de = { key: 0 }, fe = { class: "business-log-retention-control__automatic-cleanup" }, pe = { class: "business-log-retention-control__content" }, me = { class: "business-log-retention-control__retention-days" }, he = { class: "business-log-retention-control__retention-row" }, ge = {
|
|
234
234
|
key: 0,
|
|
235
235
|
class: "business-log-retention-control__validation"
|
|
236
|
-
}, Z = /*#__PURE__*/
|
|
236
|
+
}, Z = /*#__PURE__*/ h(/* @__PURE__ */ D({
|
|
237
237
|
name: "BusinessLogRetentionControl",
|
|
238
238
|
__name: "BusinessLogRetentionControl",
|
|
239
239
|
props: { eventTypes: {} },
|
|
240
240
|
setup(e) {
|
|
241
|
-
let
|
|
241
|
+
let n = te(), u = e, m = i({
|
|
242
242
|
moduleAlias: "platform.business_log_retention",
|
|
243
243
|
runtimeAccess: "VIEW"
|
|
244
|
-
}),
|
|
245
|
-
let e = new Set(
|
|
246
|
-
return
|
|
244
|
+
}), h = le(m.http), g = A(!1), _ = A([]), D = A({}), O = A(!1), I = M(), oe = b(() => I.value ? ve(I.value) : void 0), L = A(), R = A(), z = b(() => m.can("viewRetentionPolicies") === !0), B = b(() => m.can("configureRetentionPolicy") === !0), V = b(() => m.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
|
|
245
|
+
let e = new Set(u.eventTypes);
|
|
246
|
+
return _.value.filter((t) => e.has(t.eventType));
|
|
247
247
|
}), se = b(() => U.value.some(Y));
|
|
248
248
|
async function W() {
|
|
249
|
-
z.value && (
|
|
249
|
+
z.value && (g.value = !0, await G());
|
|
250
250
|
}
|
|
251
251
|
async function G() {
|
|
252
252
|
O.value = !0, I.value = void 0;
|
|
253
253
|
try {
|
|
254
|
-
let e = await
|
|
255
|
-
|
|
254
|
+
let e = await h.policies(), t = new Set(u.eventTypes), n = e.filter((e) => t.has(e.eventType));
|
|
255
|
+
_.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
|
|
256
256
|
} catch (e) {
|
|
257
257
|
I.value = _e(e), d(e, {
|
|
258
|
-
language:
|
|
258
|
+
language: n,
|
|
259
259
|
source: "business-log-retention",
|
|
260
260
|
phase: "load"
|
|
261
261
|
});
|
|
@@ -264,19 +264,19 @@ var ue = {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
async function K() {
|
|
267
|
-
return H.value ? (
|
|
268
|
-
title:
|
|
269
|
-
content:
|
|
270
|
-
},
|
|
267
|
+
return H.value ? (c(n.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || t({
|
|
268
|
+
title: n.t("platform.screen.BusinessLogRetentionControl.discard-unsaved-cleanup-settings", "放弃未保存的自动清理设置?"),
|
|
269
|
+
content: n.t("platform.screen.BusinessLogRetentionControl.unsaved-changes-to-automatic-cleanup-and-retention-days-will-be", "关闭后,本次未保存的自动清理和保留天数修改将丢失。")
|
|
270
|
+
}, n);
|
|
271
271
|
}
|
|
272
272
|
async function q(e) {
|
|
273
273
|
if (Z(e.retentionDays) && Y(e) && !H.value) {
|
|
274
274
|
L.value = e.eventType;
|
|
275
275
|
try {
|
|
276
|
-
J(await
|
|
276
|
+
J(await h.update(e)), ne(n.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
|
|
277
277
|
} catch (e) {
|
|
278
278
|
d(e, {
|
|
279
|
-
language:
|
|
279
|
+
language: n,
|
|
280
280
|
source: "business-log-retention",
|
|
281
281
|
phase: "action"
|
|
282
282
|
});
|
|
@@ -287,25 +287,25 @@ var ue = {
|
|
|
287
287
|
}
|
|
288
288
|
async function ce(e) {
|
|
289
289
|
if (Z(e.retentionDays) && !H.value && await t({
|
|
290
|
-
title:
|
|
291
|
-
content:
|
|
292
|
-
requiredText:
|
|
290
|
+
title: n.t("platform.screen.BusinessLogRetentionControl.clean-up-value-now", "立即清理{value1}", { value1: Q(e.eventType) }),
|
|
291
|
+
content: n.t("platform.screen.BusinessLogRetentionControl.logs-strictly-older-than-value-days-will-be-deleted-this", "将删除严格早于 {value1} 天的日志。本次清理不会保存对保留天数的修改,且操作不可恢复。", { value1: e.retentionDays }),
|
|
292
|
+
requiredText: n.t("platform.screen.BusinessLogRetentionControl.clean-up-value", "清理{value1}", { value1: Q(e.eventType) }),
|
|
293
293
|
danger: !0
|
|
294
|
-
},
|
|
294
|
+
}, n)) {
|
|
295
295
|
R.value = e.eventType;
|
|
296
296
|
try {
|
|
297
|
-
let t = await
|
|
297
|
+
let t = await h.purge(e.eventType, e.retentionDays);
|
|
298
298
|
if (t.result.status === "ALREADY_RUNNING") {
|
|
299
|
-
|
|
299
|
+
c(n.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
|
|
300
300
|
return;
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
ne(t.result.status === "BATCH_LIMIT_REACHED" ? n.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: t.result.deletedCount }) : n.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-from-value", "已清理 {value1} 条{value2}", {
|
|
303
303
|
value1: t.result.deletedCount,
|
|
304
304
|
value2: Q(e.eventType)
|
|
305
305
|
}));
|
|
306
306
|
} catch (e) {
|
|
307
307
|
d(e, {
|
|
308
|
-
language:
|
|
308
|
+
language: n,
|
|
309
309
|
source: "business-log-retention",
|
|
310
310
|
phase: "action"
|
|
311
311
|
});
|
|
@@ -318,7 +318,7 @@ var ue = {
|
|
|
318
318
|
D.value = {
|
|
319
319
|
...D.value,
|
|
320
320
|
[e.eventType]: { ...e }
|
|
321
|
-
},
|
|
321
|
+
}, _.value = _.value.map((t) => t.eventType === e.eventType ? { ...e } : t);
|
|
322
322
|
}
|
|
323
323
|
function Y(e) {
|
|
324
324
|
let t = D.value[e.eventType];
|
|
@@ -332,50 +332,50 @@ var ue = {
|
|
|
332
332
|
}
|
|
333
333
|
function Q(e) {
|
|
334
334
|
return {
|
|
335
|
-
LOGIN:
|
|
336
|
-
ACTION:
|
|
337
|
-
REQUEST_ERROR:
|
|
338
|
-
PAGE_ACCESS:
|
|
335
|
+
LOGIN: n.t("platform.screen.BusinessLogRetentionControl.login-audit-logs", "登录日志"),
|
|
336
|
+
ACTION: n.t("platform.screen.BusinessLogRetentionControl.action-logs", "动作日志"),
|
|
337
|
+
REQUEST_ERROR: n.t("platform.screen.BusinessLogRetentionControl.error-logs", "异常日志"),
|
|
338
|
+
PAGE_ACCESS: n.t("platform.screen.BusinessLogRetentionControl.page-access-logs", "页面访问日志")
|
|
339
339
|
}[e];
|
|
340
340
|
}
|
|
341
341
|
function _e(e) {
|
|
342
|
-
return e instanceof Error ? e : new
|
|
342
|
+
return e instanceof Error ? e : new f(ie(n, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
|
|
343
343
|
}
|
|
344
344
|
function ve(e) {
|
|
345
|
-
return e instanceof
|
|
345
|
+
return e instanceof f ? re(e, n) : s(ee(e), n);
|
|
346
346
|
}
|
|
347
|
-
return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(
|
|
347
|
+
return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(v), {
|
|
348
348
|
key: 0,
|
|
349
349
|
onClick: W
|
|
350
350
|
}, {
|
|
351
|
-
default: F(() => [T(N(P(
|
|
351
|
+
default: F(() => [T(N(P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
|
|
352
352
|
_: 1
|
|
353
|
-
})) : S("v-if", !0), E(P(
|
|
354
|
-
open:
|
|
355
|
-
title: P(
|
|
356
|
-
subtitle: P(
|
|
353
|
+
})) : S("v-if", !0), E(P(r), {
|
|
354
|
+
open: g.value,
|
|
355
|
+
title: P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
|
|
356
|
+
subtitle: P(n).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
|
|
357
357
|
width: "standard",
|
|
358
358
|
scope: "viewport",
|
|
359
359
|
"before-close": K,
|
|
360
|
-
onClose: t[0] ||= (e) =>
|
|
360
|
+
onClose: t[0] ||= (e) => g.value = !1
|
|
361
361
|
}, {
|
|
362
|
-
default: F(() => [O.value ? (k(), x(P(
|
|
362
|
+
default: F(() => [O.value ? (k(), x(P(o), {
|
|
363
363
|
key: 0,
|
|
364
|
-
tip: P(
|
|
365
|
-
}, null, 8, ["tip"])) : oe.value ? (k(), x(P(
|
|
364
|
+
tip: P(n).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
|
|
365
|
+
}, null, 8, ["tip"])) : oe.value ? (k(), x(P(a), {
|
|
366
366
|
key: 1,
|
|
367
|
-
title: P(
|
|
367
|
+
title: P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
|
|
368
368
|
message: oe.value
|
|
369
369
|
}, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(ae), {
|
|
370
370
|
key: 2,
|
|
371
|
-
description: P(
|
|
371
|
+
description: P(n).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
|
|
372
372
|
}, null, 8, ["description"])) : (k(), C("section", ue, [(k(!0), C(y, null, j(U.value, (e) => (k(), C("article", { key: e.eventType }, [
|
|
373
|
-
w("header", null, [w("div", null, [w("h3", null, N(Q(e.eventType)), 1), e.updatedAt ? (k(), C("small", de, [T(N(P(
|
|
373
|
+
w("header", null, [w("div", null, [w("h3", null, N(Q(e.eventType)), 1), e.updatedAt ? (k(), C("small", de, [T(N(P(n).t("platform.screen.BusinessLogRetentionControl.last-updated", "最近更新:")) + N(e.updatedAt), 1), e.updatedBy ? (k(), C(y, { key: 0 }, [T(" · " + N(e.updatedBy), 1)], 64)) : S("v-if", !0)])) : S("v-if", !0)]), w("label", fe, [w("span", null, N(P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(l), {
|
|
374
374
|
checked: e.automaticCleanupEnabled,
|
|
375
375
|
"onUpdate:checked": (t) => e.automaticCleanupEnabled = t,
|
|
376
376
|
disabled: !B.value || H.value,
|
|
377
|
-
"checked-text": P(
|
|
378
|
-
"unchecked-text": P(
|
|
377
|
+
"checked-text": P(n).t("platform.screen.WorkflowWorkbenchView.enabled", "启用"),
|
|
378
|
+
"unchecked-text": P(n).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")
|
|
379
379
|
}, null, 8, [
|
|
380
380
|
"checked",
|
|
381
381
|
"onUpdate:checked",
|
|
@@ -384,42 +384,42 @@ var ue = {
|
|
|
384
384
|
"unchecked-text"
|
|
385
385
|
])])]),
|
|
386
386
|
w("div", pe, [w("label", me, [
|
|
387
|
-
w("span", null, N(P(
|
|
388
|
-
w("span", he, [E(P(
|
|
387
|
+
w("span", null, N(P(n).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
|
|
388
|
+
w("span", he, [E(P(p), {
|
|
389
389
|
value: e.retentionDays,
|
|
390
390
|
type: "number",
|
|
391
391
|
disabled: !B.value || H.value,
|
|
392
|
-
"aria-label": P(
|
|
392
|
+
"aria-label": P(n).t("platform.screen.BusinessLogRetentionControl.retention-days-for-value", "{value1}保留天数", { value1: Q(e.eventType) }),
|
|
393
393
|
"onUpdate:value": (t) => X(e, t)
|
|
394
394
|
}, null, 8, [
|
|
395
395
|
"value",
|
|
396
396
|
"disabled",
|
|
397
397
|
"aria-label",
|
|
398
398
|
"onUpdate:value"
|
|
399
|
-
]), V.value ? (k(), x(P(
|
|
399
|
+
]), V.value ? (k(), x(P(v), {
|
|
400
400
|
key: 0,
|
|
401
401
|
intent: "danger",
|
|
402
402
|
disabled: H.value || !Z(e.retentionDays),
|
|
403
403
|
loading: R.value === e.eventType,
|
|
404
404
|
onClick: (t) => ce(e)
|
|
405
405
|
}, {
|
|
406
|
-
default: F(() => [T(N(P(
|
|
406
|
+
default: F(() => [T(N(P(n).t("platform.screen.BusinessLogRetentionControl.clean-up-now", "立即清理")), 1)]),
|
|
407
407
|
_: 1
|
|
408
408
|
}, 8, [
|
|
409
409
|
"disabled",
|
|
410
410
|
"loading",
|
|
411
411
|
"onClick"
|
|
412
412
|
])) : S("v-if", !0)]),
|
|
413
|
-
Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(
|
|
413
|
+
Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(n).t("platform.screen.BusinessLogRetentionControl.enter-an-integer-from-1-to-36500", "请输入 1 至 36500 之间的整数。")), 1))
|
|
414
414
|
])]),
|
|
415
|
-
w("footer", null, [B.value ? (k(), x(P(
|
|
415
|
+
w("footer", null, [B.value ? (k(), x(P(v), {
|
|
416
416
|
key: 0,
|
|
417
417
|
emphasis: "primary",
|
|
418
418
|
disabled: H.value || !Z(e.retentionDays) || !Y(e),
|
|
419
419
|
loading: L.value === e.eventType,
|
|
420
420
|
onClick: (t) => q(e)
|
|
421
421
|
}, {
|
|
422
|
-
default: F(() => [T(N(P(
|
|
422
|
+
default: F(() => [T(N(P(n).t("platform.action.save", "保存")), 1)]),
|
|
423
423
|
_: 1
|
|
424
424
|
}, 8, [
|
|
425
425
|
"disabled",
|
|
@@ -449,7 +449,7 @@ var ue = {
|
|
|
449
449
|
}, be = {
|
|
450
450
|
key: 1,
|
|
451
451
|
class: "business-log-list__detail"
|
|
452
|
-
}, xe = /*#__PURE__*/
|
|
452
|
+
}, xe = /*#__PURE__*/ h(/* @__PURE__ */ D({
|
|
453
453
|
name: "BusinessLogListDrawer",
|
|
454
454
|
__name: "BusinessLogListDrawer",
|
|
455
455
|
props: {
|
|
@@ -458,28 +458,28 @@ var ue = {
|
|
|
458
458
|
title: {}
|
|
459
459
|
},
|
|
460
460
|
setup(t) {
|
|
461
|
-
let
|
|
461
|
+
let c = te(), l = t, u = i({ moduleAlias: l.moduleAlias }), p = oe(u.http, l.surface), ne = {
|
|
462
462
|
get title() {
|
|
463
|
-
return
|
|
463
|
+
return c.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
|
|
464
464
|
},
|
|
465
465
|
get placeholder() {
|
|
466
|
-
return
|
|
466
|
+
return c.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
|
|
467
467
|
},
|
|
468
468
|
get searchPlaceholder() {
|
|
469
|
-
return
|
|
469
|
+
return c.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
|
|
470
470
|
},
|
|
471
471
|
mode: "dialog",
|
|
472
|
-
columns:
|
|
472
|
+
columns: m,
|
|
473
473
|
provider: e({
|
|
474
474
|
sourceIdentity: {
|
|
475
475
|
targetModuleAlias: "iam.user",
|
|
476
476
|
source: {
|
|
477
477
|
kind: "businessPurpose",
|
|
478
|
-
id: `${
|
|
478
|
+
id: `${l.moduleAlias}:operators`
|
|
479
479
|
}
|
|
480
480
|
},
|
|
481
481
|
searchPage: async ({ keyword: e, pageNum: t, pageSize: n, scope: r }) => {
|
|
482
|
-
let i = await
|
|
482
|
+
let i = await p.operatorCandidates({
|
|
483
483
|
keyword: e,
|
|
484
484
|
pageNum: t,
|
|
485
485
|
pageSize: n,
|
|
@@ -491,22 +491,22 @@ var ue = {
|
|
|
491
491
|
navigation: i.navigation
|
|
492
492
|
};
|
|
493
493
|
},
|
|
494
|
-
resolveUsers: async (e) => (await
|
|
494
|
+
resolveUsers: async (e) => (await p.operatorCandidates({ selectedIds: e })).selectedRecords
|
|
495
495
|
})
|
|
496
|
-
},
|
|
496
|
+
}, h = A(), _ = A(!1), D = M(), I = b(() => D.value ? Le(D.value) : void 0), L = A(), R = A(!1), z = M(), B = b(() => z.value ? Le(z.value) : void 0), V = A(!1), H = A(), U = A(), W = A(!1), G = M(), K = b(() => G.value ? Le(G.value) : void 0), q = A(), ce = b(() => Ie.value[l.surface]), J = b(() => l.surface === "activity"), Y = b(() => l.surface === "request-error"), X = b(() => ({
|
|
497
497
|
login: ["LOGIN"],
|
|
498
498
|
activity: ["ACTION", "PAGE_ACCESS"],
|
|
499
499
|
"request-error": ["REQUEST_ERROR"]
|
|
500
|
-
})[
|
|
500
|
+
})[l.surface]), le = b(() => u.can("viewInternalDiagnostic") === !0), ue = b(() => ce.value.columns), de = b(() => h.value ? Oe(h.value) : []), fe = b(() => Ne(L.value)), pe = b(() => [...ke(c.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(c.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = b(() => H.value?.complete === !1 || U.value?.complete === !1);
|
|
501
501
|
async function he(e) {
|
|
502
502
|
let t = e, n = t.eventId;
|
|
503
503
|
if (n) {
|
|
504
|
-
|
|
504
|
+
h.value = t, D.value = void 0, L.value = void 0, z.value = void 0, _.value = !0;
|
|
505
505
|
try {
|
|
506
|
-
|
|
506
|
+
h.value = await p.detail(n);
|
|
507
507
|
} catch (e) {
|
|
508
508
|
D.value = Fe(e), d(e, {
|
|
509
|
-
language:
|
|
509
|
+
language: c,
|
|
510
510
|
source: "business-log-detail",
|
|
511
511
|
phase: "load"
|
|
512
512
|
});
|
|
@@ -519,11 +519,11 @@ var ue = {
|
|
|
519
519
|
if (J.value && !W.value) {
|
|
520
520
|
V.value = !0, W.value = !0, G.value = void 0;
|
|
521
521
|
try {
|
|
522
|
-
let e = q.value ?? Ce(), [t, n] = await Promise.all([
|
|
522
|
+
let e = q.value ?? Ce(), [t, n] = await Promise.all([p.actionStatistics?.(e), p.pageAccessStatistics?.(e)]);
|
|
523
523
|
H.value = t, U.value = n;
|
|
524
524
|
} catch (e) {
|
|
525
525
|
G.value = Fe(e), d(e, {
|
|
526
|
-
language:
|
|
526
|
+
language: c,
|
|
527
527
|
source: "business-log-statistics",
|
|
528
528
|
phase: "load"
|
|
529
529
|
});
|
|
@@ -533,14 +533,14 @@ var ue = {
|
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
async function xe() {
|
|
536
|
-
let e =
|
|
537
|
-
if (
|
|
536
|
+
let e = h.value?.eventId;
|
|
537
|
+
if (p.diagnostic && e && !R.value) {
|
|
538
538
|
R.value = !0, z.value = void 0;
|
|
539
539
|
try {
|
|
540
|
-
L.value = await
|
|
540
|
+
L.value = await p.diagnostic(e);
|
|
541
541
|
} catch (e) {
|
|
542
542
|
z.value = Fe(e), d(e, {
|
|
543
|
-
language:
|
|
543
|
+
language: c,
|
|
544
544
|
source: "business-log-diagnostic",
|
|
545
545
|
phase: "load"
|
|
546
546
|
});
|
|
@@ -562,7 +562,7 @@ var ue = {
|
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
564
|
function we(e) {
|
|
565
|
-
return e.name === "operatorId" ?
|
|
565
|
+
return e.name === "operatorId" ? ne : void 0;
|
|
566
566
|
}
|
|
567
567
|
function Te(e, t) {
|
|
568
568
|
switch (e) {
|
|
@@ -580,38 +580,38 @@ var ue = {
|
|
|
580
580
|
}
|
|
581
581
|
function Ee(e) {
|
|
582
582
|
return {
|
|
583
|
-
BUSINESS:
|
|
584
|
-
ACTION:
|
|
585
|
-
SYSTEM:
|
|
586
|
-
WRITE_BACK:
|
|
583
|
+
BUSINESS: c.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
|
|
584
|
+
ACTION: c.t("platform.workflow-task-editor.business-action", "业务动作"),
|
|
585
|
+
SYSTEM: c.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
|
|
586
|
+
WRITE_BACK: c.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
|
|
587
587
|
}[e ?? ""] ?? e ?? "—";
|
|
588
588
|
}
|
|
589
589
|
function De(e) {
|
|
590
590
|
return {
|
|
591
|
-
SUCCESS:
|
|
592
|
-
FAILURE:
|
|
593
|
-
REJECTED:
|
|
591
|
+
SUCCESS: c.t("platform.screen.BusinessLogListDrawer.success", "成功"),
|
|
592
|
+
FAILURE: c.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
|
|
593
|
+
REJECTED: c.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
|
|
594
594
|
}[e ?? ""] ?? e ?? "—";
|
|
595
595
|
}
|
|
596
596
|
function Oe(e) {
|
|
597
597
|
return [
|
|
598
|
-
[
|
|
599
|
-
[
|
|
600
|
-
[
|
|
601
|
-
[
|
|
602
|
-
[
|
|
603
|
-
[
|
|
604
|
-
[
|
|
605
|
-
[
|
|
606
|
-
[
|
|
607
|
-
[
|
|
608
|
-
[
|
|
609
|
-
[
|
|
610
|
-
[
|
|
611
|
-
[
|
|
612
|
-
[
|
|
613
|
-
[
|
|
614
|
-
[
|
|
598
|
+
[c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
|
|
599
|
+
[c.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
|
|
600
|
+
[c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
|
|
601
|
+
[c.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
|
|
602
|
+
[c.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
|
|
603
|
+
[c.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
|
|
604
|
+
[c.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
|
|
605
|
+
[c.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
|
|
606
|
+
[c.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
|
|
607
|
+
[c.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
|
|
608
|
+
[c.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
|
|
609
|
+
[c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
|
|
610
|
+
[c.t("platform.governance.tab.actions", "动作"), e.actionCode],
|
|
611
|
+
[c.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
|
|
612
|
+
[c.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
|
|
613
|
+
[c.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
|
|
614
|
+
[c.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
|
|
615
615
|
...Ne(e.details, [
|
|
616
616
|
"outcome",
|
|
617
617
|
"entityAlias",
|
|
@@ -627,7 +627,7 @@ var ue = {
|
|
|
627
627
|
return (t?.items ?? []).map((t) => ({
|
|
628
628
|
key: `${e}:${t.key}`,
|
|
629
629
|
kind: e,
|
|
630
|
-
title: se(t,
|
|
630
|
+
title: se(t, c),
|
|
631
631
|
count: t.count
|
|
632
632
|
}));
|
|
633
633
|
}
|
|
@@ -637,7 +637,7 @@ var ue = {
|
|
|
637
637
|
function je() {
|
|
638
638
|
return [{
|
|
639
639
|
key: "detail",
|
|
640
|
-
title:
|
|
640
|
+
title: c.t("platform.screen.PageCompositionEditor.details", "详情"),
|
|
641
641
|
primary: !0,
|
|
642
642
|
iconName: "eye"
|
|
643
643
|
}];
|
|
@@ -659,98 +659,98 @@ var ue = {
|
|
|
659
659
|
return e == null || e === "" ? "—" : typeof e == "string" ? e : JSON.stringify(e, null, 2);
|
|
660
660
|
}
|
|
661
661
|
function Fe(e) {
|
|
662
|
-
return e instanceof Error ? e : new
|
|
662
|
+
return e instanceof Error ? e : new f(ie(c, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
|
|
663
663
|
}
|
|
664
664
|
let Ie = b(() => ({
|
|
665
665
|
login: { columns: [
|
|
666
666
|
{
|
|
667
667
|
key: "outcome",
|
|
668
|
-
title:
|
|
668
|
+
title: c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
|
|
669
669
|
width: "96px"
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
672
|
key: "occurredAt",
|
|
673
|
-
title:
|
|
673
|
+
title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
674
674
|
width: "176px"
|
|
675
675
|
},
|
|
676
676
|
{
|
|
677
677
|
key: "loginAccount",
|
|
678
|
-
title:
|
|
678
|
+
title: c.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
|
|
679
679
|
width: "200px"
|
|
680
680
|
}
|
|
681
681
|
] },
|
|
682
682
|
activity: { columns: [
|
|
683
683
|
{
|
|
684
684
|
key: "outcome",
|
|
685
|
-
title:
|
|
685
|
+
title: c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
|
|
686
686
|
width: "96px"
|
|
687
687
|
},
|
|
688
688
|
{
|
|
689
689
|
key: "occurredAt",
|
|
690
|
-
title:
|
|
690
|
+
title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
691
691
|
width: "176px"
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
694
|
key: "username",
|
|
695
|
-
title:
|
|
695
|
+
title: c.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
|
|
696
696
|
width: "160px"
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
699
|
key: "moduleAlias",
|
|
700
|
-
title:
|
|
700
|
+
title: c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
|
|
701
701
|
width: "190px"
|
|
702
702
|
},
|
|
703
703
|
{
|
|
704
704
|
key: "actionCode",
|
|
705
|
-
title:
|
|
705
|
+
title: c.t("platform.governance.tab.actions", "动作"),
|
|
706
706
|
width: "150px"
|
|
707
707
|
},
|
|
708
708
|
{
|
|
709
709
|
key: "recordId",
|
|
710
|
-
title:
|
|
710
|
+
title: c.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
|
|
711
711
|
width: "170px"
|
|
712
712
|
},
|
|
713
713
|
{
|
|
714
714
|
key: "mutationSource",
|
|
715
|
-
title:
|
|
715
|
+
title: c.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
|
|
716
716
|
width: "120px"
|
|
717
717
|
}
|
|
718
718
|
] },
|
|
719
719
|
"request-error": { columns: [
|
|
720
720
|
{
|
|
721
721
|
key: "occurredAt",
|
|
722
|
-
title:
|
|
722
|
+
title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
723
723
|
width: "176px"
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
726
|
key: "moduleAlias",
|
|
727
|
-
title:
|
|
727
|
+
title: c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
|
|
728
728
|
width: "190px"
|
|
729
729
|
},
|
|
730
730
|
{
|
|
731
731
|
key: "errorCode",
|
|
732
|
-
title:
|
|
732
|
+
title: c.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
|
|
733
733
|
width: "150px"
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
736
|
key: "httpStatus",
|
|
737
|
-
title:
|
|
737
|
+
title: c.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
|
|
738
738
|
width: "112px"
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
741
|
key: "summary",
|
|
742
|
-
title:
|
|
742
|
+
title: c.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
|
|
743
743
|
width: "260px"
|
|
744
744
|
}
|
|
745
745
|
] }
|
|
746
746
|
}));
|
|
747
747
|
function Le(e) {
|
|
748
|
-
return e instanceof
|
|
748
|
+
return e instanceof f ? re(e, c) : s(ee(e), c);
|
|
749
749
|
}
|
|
750
|
-
return (e,
|
|
750
|
+
return (e, i) => (k(), C(y, null, [
|
|
751
751
|
E(P(g), {
|
|
752
752
|
class: "business-log-list",
|
|
753
|
-
context: P(
|
|
753
|
+
context: P(u),
|
|
754
754
|
title: t.title,
|
|
755
755
|
columns: ue.value,
|
|
756
756
|
"row-key": "eventId",
|
|
@@ -762,23 +762,23 @@ var ue = {
|
|
|
762
762
|
100
|
|
763
763
|
],
|
|
764
764
|
"reference-picker-of": we,
|
|
765
|
-
"empty-description": P(
|
|
765
|
+
"empty-description": P(c).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
|
|
766
766
|
"row-actions-of": je,
|
|
767
|
-
"row-actions-title": P(
|
|
767
|
+
"row-actions-title": P(c).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
768
768
|
"action-column-width": "88px",
|
|
769
769
|
onRecordActivate: he,
|
|
770
770
|
onRowAction: Me,
|
|
771
771
|
onQueried: Se
|
|
772
772
|
}, {
|
|
773
|
-
operations: F(() => [J.value ? (k(), x(P(
|
|
773
|
+
operations: F(() => [J.value ? (k(), x(P(v), {
|
|
774
774
|
key: 0,
|
|
775
775
|
loading: W.value,
|
|
776
776
|
onClick: ge
|
|
777
777
|
}, {
|
|
778
|
-
default: F(() => [T(N(P(
|
|
778
|
+
default: F(() => [T(N(P(c).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
|
|
779
779
|
_: 1
|
|
780
780
|
}, 8, ["loading"])) : S("v-if", !0), E(Z, { "event-types": X.value }, null, 8, ["event-types"])]),
|
|
781
|
-
cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(
|
|
781
|
+
cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(n), {
|
|
782
782
|
key: 0,
|
|
783
783
|
value: t.occurredAt
|
|
784
784
|
}, null, 8, ["value"])) : (k(), C("span", {
|
|
@@ -793,36 +793,36 @@ var ue = {
|
|
|
793
793
|
"empty-description",
|
|
794
794
|
"row-actions-title"
|
|
795
795
|
]),
|
|
796
|
-
E(P(
|
|
797
|
-
open: !!
|
|
798
|
-
title: P(
|
|
796
|
+
E(P(r), {
|
|
797
|
+
open: !!h.value,
|
|
798
|
+
title: P(c).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: t.title }),
|
|
799
799
|
"render-mode": "inline",
|
|
800
|
-
subtitle:
|
|
800
|
+
subtitle: h.value ? h.value.operatorIdentity?.employeeName ?? h.value.operatorIdentity?.username ?? h.value.operatorId : void 0,
|
|
801
801
|
"close-on-outside": !0,
|
|
802
|
-
onClose:
|
|
802
|
+
onClose: i[0] ||= (e) => h.value = void 0
|
|
803
803
|
}, {
|
|
804
|
-
default: F(() => [_.value ? (k(), x(P(
|
|
804
|
+
default: F(() => [_.value ? (k(), x(P(o), {
|
|
805
805
|
key: 0,
|
|
806
|
-
tip: P(
|
|
807
|
-
}, null, 8, ["tip"])) : I.value ? (k(), x(P(
|
|
806
|
+
tip: P(c).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
|
|
807
|
+
}, null, 8, ["tip"])) : I.value ? (k(), x(P(a), {
|
|
808
808
|
key: 1,
|
|
809
|
-
title: P(
|
|
809
|
+
title: P(c).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
|
|
810
810
|
message: I.value
|
|
811
|
-
}, null, 8, ["title", "message"])) :
|
|
811
|
+
}, null, 8, ["title", "message"])) : h.value ? (k(), C("dl", Q, [(k(!0), C(y, null, j(de.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.key), 1), w("dd", null, [w("pre", null, N(e.value), 1)])], 64))), 128))])) : (k(), x(P(ae), {
|
|
812
812
|
key: 3,
|
|
813
|
-
description: P(
|
|
814
|
-
}, null, 8, ["description"])), Y.value &&
|
|
815
|
-
E(P(
|
|
813
|
+
description: P(c).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
|
|
814
|
+
}, null, 8, ["description"])), Y.value && h.value && le.value ? (k(), C("section", _e, [
|
|
815
|
+
E(P(v), {
|
|
816
816
|
loading: R.value,
|
|
817
817
|
onClick: xe
|
|
818
818
|
}, {
|
|
819
|
-
default: F(() => [T(N(P(
|
|
819
|
+
default: F(() => [T(N(P(c).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
|
|
820
820
|
_: 1
|
|
821
821
|
}, 8, ["loading"]),
|
|
822
|
-
w("small", null, N(P(
|
|
823
|
-
B.value ? (k(), x(P(
|
|
822
|
+
w("small", null, N(P(c).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
|
|
823
|
+
B.value ? (k(), x(P(a), {
|
|
824
824
|
key: 0,
|
|
825
|
-
title: P(
|
|
825
|
+
title: P(c).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
|
|
826
826
|
message: B.value
|
|
827
827
|
}, null, 8, ["title", "message"])) : L.value ? (k(), C("dl", ve, [(k(!0), C(y, null, j(fe.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.key), 1), w("dd", null, [w("pre", null, N(e.value), 1)])], 64))), 128))])) : S("v-if", !0)
|
|
828
828
|
])) : S("v-if", !0)]),
|
|
@@ -832,24 +832,24 @@ var ue = {
|
|
|
832
832
|
"title",
|
|
833
833
|
"subtitle"
|
|
834
834
|
]),
|
|
835
|
-
E(P(
|
|
835
|
+
E(P(r), {
|
|
836
836
|
open: V.value,
|
|
837
|
-
title: P(
|
|
837
|
+
title: P(c).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
|
|
838
838
|
"render-mode": "inline",
|
|
839
|
-
subtitle: P(
|
|
839
|
+
subtitle: P(c).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
|
|
840
840
|
"close-on-outside": !0,
|
|
841
|
-
onClose:
|
|
841
|
+
onClose: i[1] ||= (e) => V.value = !1
|
|
842
842
|
}, {
|
|
843
|
-
default: F(() => [W.value ? (k(), x(P(
|
|
843
|
+
default: F(() => [W.value ? (k(), x(P(o), {
|
|
844
844
|
key: 0,
|
|
845
|
-
tip: P(
|
|
846
|
-
}, null, 8, ["tip"])) : K.value ? (k(), x(P(
|
|
845
|
+
tip: P(c).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
|
|
846
|
+
}, null, 8, ["tip"])) : K.value ? (k(), x(P(a), {
|
|
847
847
|
key: 1,
|
|
848
|
-
title: P(
|
|
848
|
+
title: P(c).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
|
|
849
849
|
message: K.value
|
|
850
|
-
}, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(
|
|
850
|
+
}, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(c).t("platform.screen.BusinessLogListDrawer.these-statistics-cover-only-the-most-recent-accessible-logs", "当前统计只覆盖可读取的最近日志。")), 1)) : S("v-if", !0), pe.value.length > 0 ? (k(), C("dl", be, [(k(!0), C(y, null, j(pe.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.kind) + " · " + N(e.title), 1), w("dd", null, N(e.count), 1)], 64))), 128))])) : (k(), x(P(ae), {
|
|
851
851
|
key: 2,
|
|
852
|
-
description: P(
|
|
852
|
+
description: P(c).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
|
|
853
853
|
}, null, 8, ["description"]))], 64))]),
|
|
854
854
|
_: 1
|
|
855
855
|
}, 8, [
|