@ximatai/muyun-web-app 0.26.23 → 0.26.25
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-a6oZ2t9t.js} +2 -2
- package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-DtSXpK6g.js} +135 -131
- package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-BVu1ZnH-.js} +366 -366
- package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-Cd8ezR4t.js} +44 -44
- package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
- package/dist/ModuleActionManagementView-y3t2YHKF.js +780 -0
- package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-BqJq2Pxm.js} +3521 -3521
- package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-G-5VAV_B.js} +54 -54
- package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-CulSgS0l.js} +61 -61
- package/dist/WorkflowAdministrationView-y8VBYMLZ.js +650 -0
- package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-DpONX2nN.js} +290 -290
- package/dist/{WorkflowWorkbenchView-DBMh3ycN.js → WorkflowWorkbenchView-CGo1eZjr.js} +215 -215
- package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-fZiz0PNC.js} +27 -27
- package/dist/index.css +1 -1
- package/dist/index.js +2407 -1222
- package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-AZ4G9BpZ.js} +222 -222
- package/dist/{platform-components-D0T03KGl.js → platform-components-D98pyZ77.js} +4296 -3497
- package/dist/{platform-workbench-CobObbuz.js → platform-workbench-BBLDvT9V.js} +6311 -6111
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +9 -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/PersonalAccessTokenDialog.vue.d.ts +15 -0
- package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
- package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
- package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
- package/dist/types/app/externalLoginReturn.d.ts +38 -0
- package/dist/types/app/themeSkinPreference.d.ts +2 -2
- package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
- package/dist/types/app/useExternalLoginHost.d.ts +27 -0
- package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
- package/dist/types/app/weLinkQrCode.d.ts +22 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
- package/dist/types/consumer/index.d.ts +16 -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/formCreateDefaults.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- 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/CronExpressionInput.vue.d.ts +12 -0
- package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
- 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/cronExpression.d.ts +36 -0
- package/dist/types/platform-components/durationSeconds.d.ts +31 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
- package/dist/types/platform-components/index.d.ts +6 -0
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
- package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
- package/dist/types/platform-workbench/index.d.ts +3 -0
- package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
- package/dist/types/views/businessLogClient.d.ts +2 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +87 -2
- package/dist/types/web-core/clients.d.ts +25 -1
- package/dist/{useWorkflowConfigurationContext-BkcNPU2H.js → useWorkflowConfigurationContext-BcK19EXl.js} +6 -6
- package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Dr7RZXvX.js} +1139 -983
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
- package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./BusinessLogListDrawer-
|
|
1
|
+
import { no as e } from "./platform-components-D98pyZ77.js";
|
|
2
|
+
import { t } from "./BusinessLogListDrawer-DtSXpK6g.js";
|
|
3
3
|
import { createBlock as n, defineComponent as r, openBlock as i, unref as a } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/views/BusinessActivityLogView.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as e, A as t, Aa as n, Dn as r, In as i, Jn as a, Ln as o, Mn as s, Na as ee, Nn as c, Pn as l, Qa as u, Un as te, Wt as d, Y as f, _a as p, bn as m, hr as h, j as g, lr as ne, no as re, to as _, va as ie, vr as v, ya as ae } from "./platform-components-D98pyZ77.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 = {
|
|
@@ -112,6 +112,8 @@ function V(e) {
|
|
|
112
112
|
tenantId: J(n.tenantId),
|
|
113
113
|
operatorId: J(n.operatorId),
|
|
114
114
|
operatorOrganizationId: J(n.operatorOrganizationId),
|
|
115
|
+
authenticationMethod: J(n.authenticationMethod),
|
|
116
|
+
authenticationCredentialId: J(n.authenticationCredentialId),
|
|
115
117
|
operatorIdentity: K(n),
|
|
116
118
|
moduleAlias: J(n.moduleAlias),
|
|
117
119
|
actionCode: J(n.actionCode),
|
|
@@ -135,7 +137,7 @@ function U(e) {
|
|
|
135
137
|
return {
|
|
136
138
|
key: J(t.pageKey) ?? "unknown-page",
|
|
137
139
|
title: J(t.pageKey) ?? "未知页面",
|
|
138
|
-
...J(t.pageKey) ? {} : { titleSource:
|
|
140
|
+
...J(t.pageKey) ? {} : { titleSource: u("platform.log.statistic.unknown-page") },
|
|
139
141
|
count: Y(t.accessCount)
|
|
140
142
|
};
|
|
141
143
|
}),
|
|
@@ -153,7 +155,7 @@ function U(e) {
|
|
|
153
155
|
].map(([e, n]) => ({
|
|
154
156
|
key: e,
|
|
155
157
|
title: n,
|
|
156
|
-
titleSource:
|
|
158
|
+
titleSource: u(`platform.log.statistic.${e}`),
|
|
157
159
|
count: Y(t[e])
|
|
158
160
|
})),
|
|
159
161
|
complete: X(t.complete)
|
|
@@ -161,7 +163,7 @@ function U(e) {
|
|
|
161
163
|
}
|
|
162
164
|
function se(e, t) {
|
|
163
165
|
let n = e.titleSource;
|
|
164
|
-
return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") &&
|
|
166
|
+
return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") && _(n, e.title) ? t.t(n.sourceId, n.originalText) : e.title;
|
|
165
167
|
}
|
|
166
168
|
function W(e, t) {
|
|
167
169
|
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,28 +235,28 @@ var ue = {
|
|
|
233
235
|
}, 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
236
|
key: 0,
|
|
235
237
|
class: "business-log-retention-control__validation"
|
|
236
|
-
}, Z = /*#__PURE__*/
|
|
238
|
+
}, Z = /*#__PURE__*/ v(/* @__PURE__ */ D({
|
|
237
239
|
name: "BusinessLogRetentionControl",
|
|
238
240
|
__name: "BusinessLogRetentionControl",
|
|
239
241
|
props: { eventTypes: {} },
|
|
240
|
-
setup(
|
|
241
|
-
let r =
|
|
242
|
+
setup(t) {
|
|
243
|
+
let r = re(), u = t, f = e({
|
|
242
244
|
moduleAlias: "platform.business_log_retention",
|
|
243
245
|
runtimeAccess: "VIEW"
|
|
244
|
-
}),
|
|
245
|
-
let e = new Set(
|
|
246
|
-
return
|
|
246
|
+
}), g = le(f.http), _ = A(!1), v = A([]), D = A({}), O = A(!1), I = M(), oe = b(() => I.value ? ve(I.value) : void 0), L = A(), R = A(), z = b(() => f.can("viewRetentionPolicies") === !0), B = b(() => f.can("configureRetentionPolicy") === !0), V = b(() => f.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
|
|
247
|
+
let e = new Set(u.eventTypes);
|
|
248
|
+
return v.value.filter((t) => e.has(t.eventType));
|
|
247
249
|
}), se = b(() => U.value.some(Y));
|
|
248
250
|
async function W() {
|
|
249
|
-
z.value && (
|
|
251
|
+
z.value && (_.value = !0, await G());
|
|
250
252
|
}
|
|
251
253
|
async function G() {
|
|
252
254
|
O.value = !0, I.value = void 0;
|
|
253
255
|
try {
|
|
254
|
-
let e = await
|
|
255
|
-
|
|
256
|
+
let e = await g.policies(), t = new Set(u.eventTypes), n = e.filter((e) => t.has(e.eventType));
|
|
257
|
+
v.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
|
|
256
258
|
} catch (e) {
|
|
257
|
-
I.value = _e(e),
|
|
259
|
+
I.value = _e(e), m(e, {
|
|
258
260
|
language: r,
|
|
259
261
|
source: "business-log-retention",
|
|
260
262
|
phase: "load"
|
|
@@ -264,7 +266,7 @@ var ue = {
|
|
|
264
266
|
}
|
|
265
267
|
}
|
|
266
268
|
async function K() {
|
|
267
|
-
return H.value ? (
|
|
269
|
+
return H.value ? (s(r.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || l({
|
|
268
270
|
title: r.t("platform.screen.BusinessLogRetentionControl.discard-unsaved-cleanup-settings", "放弃未保存的自动清理设置?"),
|
|
269
271
|
content: r.t("platform.screen.BusinessLogRetentionControl.unsaved-changes-to-automatic-cleanup-and-retention-days-will-be", "关闭后,本次未保存的自动清理和保留天数修改将丢失。")
|
|
270
272
|
}, r);
|
|
@@ -273,9 +275,9 @@ var ue = {
|
|
|
273
275
|
if (Z(e.retentionDays) && Y(e) && !H.value) {
|
|
274
276
|
L.value = e.eventType;
|
|
275
277
|
try {
|
|
276
|
-
J(await
|
|
278
|
+
J(await g.update(e)), c(r.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
|
|
277
279
|
} catch (e) {
|
|
278
|
-
|
|
280
|
+
m(e, {
|
|
279
281
|
language: r,
|
|
280
282
|
source: "business-log-retention",
|
|
281
283
|
phase: "action"
|
|
@@ -286,7 +288,7 @@ var ue = {
|
|
|
286
288
|
}
|
|
287
289
|
}
|
|
288
290
|
async function ce(e) {
|
|
289
|
-
if (Z(e.retentionDays) && !H.value && await
|
|
291
|
+
if (Z(e.retentionDays) && !H.value && await l({
|
|
290
292
|
title: r.t("platform.screen.BusinessLogRetentionControl.clean-up-value-now", "立即清理{value1}", { value1: Q(e.eventType) }),
|
|
291
293
|
content: r.t("platform.screen.BusinessLogRetentionControl.logs-strictly-older-than-value-days-will-be-deleted-this", "将删除严格早于 {value1} 天的日志。本次清理不会保存对保留天数的修改,且操作不可恢复。", { value1: e.retentionDays }),
|
|
292
294
|
requiredText: r.t("platform.screen.BusinessLogRetentionControl.clean-up-value", "清理{value1}", { value1: Q(e.eventType) }),
|
|
@@ -294,17 +296,17 @@ var ue = {
|
|
|
294
296
|
}, r)) {
|
|
295
297
|
R.value = e.eventType;
|
|
296
298
|
try {
|
|
297
|
-
let t = await
|
|
299
|
+
let t = await g.purge(e.eventType, e.retentionDays);
|
|
298
300
|
if (t.result.status === "ALREADY_RUNNING") {
|
|
299
|
-
|
|
301
|
+
s(r.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
|
|
300
302
|
return;
|
|
301
303
|
}
|
|
302
|
-
|
|
304
|
+
c(t.result.status === "BATCH_LIMIT_REACHED" ? r.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: t.result.deletedCount }) : r.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-from-value", "已清理 {value1} 条{value2}", {
|
|
303
305
|
value1: t.result.deletedCount,
|
|
304
306
|
value2: Q(e.eventType)
|
|
305
307
|
}));
|
|
306
308
|
} catch (e) {
|
|
307
|
-
|
|
309
|
+
m(e, {
|
|
308
310
|
language: r,
|
|
309
311
|
source: "business-log-retention",
|
|
310
312
|
phase: "action"
|
|
@@ -318,7 +320,7 @@ var ue = {
|
|
|
318
320
|
D.value = {
|
|
319
321
|
...D.value,
|
|
320
322
|
[e.eventType]: { ...e }
|
|
321
|
-
},
|
|
323
|
+
}, v.value = v.value.map((t) => t.eventType === e.eventType ? { ...e } : t);
|
|
322
324
|
}
|
|
323
325
|
function Y(e) {
|
|
324
326
|
let t = D.value[e.eventType];
|
|
@@ -339,10 +341,10 @@ var ue = {
|
|
|
339
341
|
}[e];
|
|
340
342
|
}
|
|
341
343
|
function _e(e) {
|
|
342
|
-
return e instanceof Error ? e : new
|
|
344
|
+
return e instanceof Error ? e : new p(ie(r, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
|
|
343
345
|
}
|
|
344
346
|
function ve(e) {
|
|
345
|
-
return e instanceof
|
|
347
|
+
return e instanceof p ? ae(e, r) : ee(n(e), r);
|
|
346
348
|
}
|
|
347
349
|
return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(h), {
|
|
348
350
|
key: 0,
|
|
@@ -350,27 +352,27 @@ var ue = {
|
|
|
350
352
|
}, {
|
|
351
353
|
default: F(() => [T(N(P(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
|
|
352
354
|
_: 1
|
|
353
|
-
})) : S("v-if", !0), E(P(
|
|
354
|
-
open:
|
|
355
|
+
})) : S("v-if", !0), E(P(d), {
|
|
356
|
+
open: _.value,
|
|
355
357
|
title: P(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
|
|
356
358
|
subtitle: P(r).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
|
|
357
359
|
width: "standard",
|
|
358
360
|
scope: "viewport",
|
|
359
361
|
"before-close": K,
|
|
360
|
-
onClose: t[0] ||= (e) =>
|
|
362
|
+
onClose: t[0] ||= (e) => _.value = !1
|
|
361
363
|
}, {
|
|
362
|
-
default: F(() => [O.value ? (k(), x(P(
|
|
364
|
+
default: F(() => [O.value ? (k(), x(P(o), {
|
|
363
365
|
key: 0,
|
|
364
366
|
tip: P(r).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
|
|
365
|
-
}, null, 8, ["tip"])) : oe.value ? (k(), x(P(
|
|
367
|
+
}, null, 8, ["tip"])) : oe.value ? (k(), x(P(i), {
|
|
366
368
|
key: 1,
|
|
367
369
|
title: P(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
|
|
368
370
|
message: oe.value
|
|
369
|
-
}, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(
|
|
371
|
+
}, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(te), {
|
|
370
372
|
key: 2,
|
|
371
373
|
description: P(r).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
|
|
372
374
|
}, 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(r).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(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(
|
|
375
|
+
w("header", null, [w("div", null, [w("h3", null, N(Q(e.eventType)), 1), e.updatedAt ? (k(), C("small", de, [T(N(P(r).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(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(a), {
|
|
374
376
|
checked: e.automaticCleanupEnabled,
|
|
375
377
|
"onUpdate:checked": (t) => e.automaticCleanupEnabled = t,
|
|
376
378
|
disabled: !B.value || H.value,
|
|
@@ -385,7 +387,7 @@ var ue = {
|
|
|
385
387
|
])])]),
|
|
386
388
|
w("div", pe, [w("label", me, [
|
|
387
389
|
w("span", null, N(P(r).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
|
|
388
|
-
w("span", he, [E(P(
|
|
390
|
+
w("span", he, [E(P(ne), {
|
|
389
391
|
value: e.retentionDays,
|
|
390
392
|
type: "number",
|
|
391
393
|
disabled: !B.value || H.value,
|
|
@@ -449,7 +451,7 @@ var ue = {
|
|
|
449
451
|
}, be = {
|
|
450
452
|
key: 1,
|
|
451
453
|
class: "business-log-list__detail"
|
|
452
|
-
}, xe = /*#__PURE__*/
|
|
454
|
+
}, xe = /*#__PURE__*/ v(/* @__PURE__ */ D({
|
|
453
455
|
name: "BusinessLogListDrawer",
|
|
454
456
|
__name: "BusinessLogListDrawer",
|
|
455
457
|
props: {
|
|
@@ -457,25 +459,25 @@ var ue = {
|
|
|
457
459
|
moduleAlias: {},
|
|
458
460
|
title: {}
|
|
459
461
|
},
|
|
460
|
-
setup(
|
|
461
|
-
let
|
|
462
|
+
setup(a) {
|
|
463
|
+
let s = re(), c = a, l = e({ moduleAlias: c.moduleAlias }), u = oe(l.http, c.surface), ne = {
|
|
462
464
|
get title() {
|
|
463
|
-
return
|
|
465
|
+
return s.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
|
|
464
466
|
},
|
|
465
467
|
get placeholder() {
|
|
466
|
-
return
|
|
468
|
+
return s.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
|
|
467
469
|
},
|
|
468
470
|
get searchPlaceholder() {
|
|
469
|
-
return
|
|
471
|
+
return s.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
|
|
470
472
|
},
|
|
471
473
|
mode: "dialog",
|
|
472
|
-
columns:
|
|
473
|
-
provider:
|
|
474
|
+
columns: g,
|
|
475
|
+
provider: t({
|
|
474
476
|
sourceIdentity: {
|
|
475
477
|
targetModuleAlias: "iam.user",
|
|
476
478
|
source: {
|
|
477
479
|
kind: "businessPurpose",
|
|
478
|
-
id: `${
|
|
480
|
+
id: `${c.moduleAlias}:operators`
|
|
479
481
|
}
|
|
480
482
|
},
|
|
481
483
|
searchPage: async ({ keyword: e, pageNum: t, pageSize: n, scope: r }) => {
|
|
@@ -493,25 +495,25 @@ var ue = {
|
|
|
493
495
|
},
|
|
494
496
|
resolveUsers: async (e) => (await u.operatorCandidates({ selectedIds: e })).selectedRecords
|
|
495
497
|
})
|
|
496
|
-
},
|
|
498
|
+
}, _ = A(), v = 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[c.surface]), J = b(() => c.surface === "activity"), Y = b(() => c.surface === "request-error"), X = b(() => ({
|
|
497
499
|
login: ["LOGIN"],
|
|
498
500
|
activity: ["ACTION", "PAGE_ACCESS"],
|
|
499
501
|
"request-error": ["REQUEST_ERROR"]
|
|
500
|
-
})[
|
|
502
|
+
})[c.surface]), le = b(() => l.can("viewInternalDiagnostic") === !0), ue = b(() => ce.value.columns), de = b(() => _.value ? Oe(_.value) : []), fe = b(() => Ne(L.value)), pe = b(() => [...ke(s.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(s.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = b(() => H.value?.complete === !1 || U.value?.complete === !1);
|
|
501
503
|
async function he(e) {
|
|
502
504
|
let t = e, n = t.eventId;
|
|
503
505
|
if (n) {
|
|
504
|
-
|
|
506
|
+
_.value = t, D.value = void 0, L.value = void 0, z.value = void 0, v.value = !0;
|
|
505
507
|
try {
|
|
506
|
-
|
|
508
|
+
_.value = await u.detail(n);
|
|
507
509
|
} catch (e) {
|
|
508
|
-
D.value = Fe(e),
|
|
509
|
-
language:
|
|
510
|
+
D.value = Fe(e), m(e, {
|
|
511
|
+
language: s,
|
|
510
512
|
source: "business-log-detail",
|
|
511
513
|
phase: "load"
|
|
512
514
|
});
|
|
513
515
|
} finally {
|
|
514
|
-
|
|
516
|
+
v.value = !1;
|
|
515
517
|
}
|
|
516
518
|
}
|
|
517
519
|
}
|
|
@@ -522,8 +524,8 @@ var ue = {
|
|
|
522
524
|
let e = q.value ?? Ce(), [t, n] = await Promise.all([u.actionStatistics?.(e), u.pageAccessStatistics?.(e)]);
|
|
523
525
|
H.value = t, U.value = n;
|
|
524
526
|
} catch (e) {
|
|
525
|
-
G.value = Fe(e),
|
|
526
|
-
language:
|
|
527
|
+
G.value = Fe(e), m(e, {
|
|
528
|
+
language: s,
|
|
527
529
|
source: "business-log-statistics",
|
|
528
530
|
phase: "load"
|
|
529
531
|
});
|
|
@@ -533,14 +535,14 @@ var ue = {
|
|
|
533
535
|
}
|
|
534
536
|
}
|
|
535
537
|
async function xe() {
|
|
536
|
-
let e =
|
|
538
|
+
let e = _.value?.eventId;
|
|
537
539
|
if (u.diagnostic && e && !R.value) {
|
|
538
540
|
R.value = !0, z.value = void 0;
|
|
539
541
|
try {
|
|
540
542
|
L.value = await u.diagnostic(e);
|
|
541
543
|
} catch (e) {
|
|
542
|
-
z.value = Fe(e),
|
|
543
|
-
language:
|
|
544
|
+
z.value = Fe(e), m(e, {
|
|
545
|
+
language: s,
|
|
544
546
|
source: "business-log-diagnostic",
|
|
545
547
|
phase: "load"
|
|
546
548
|
});
|
|
@@ -562,7 +564,7 @@ var ue = {
|
|
|
562
564
|
};
|
|
563
565
|
}
|
|
564
566
|
function we(e) {
|
|
565
|
-
return e.name === "operatorId" ?
|
|
567
|
+
return e.name === "operatorId" ? ne : void 0;
|
|
566
568
|
}
|
|
567
569
|
function Te(e, t) {
|
|
568
570
|
switch (e) {
|
|
@@ -580,38 +582,40 @@ var ue = {
|
|
|
580
582
|
}
|
|
581
583
|
function Ee(e) {
|
|
582
584
|
return {
|
|
583
|
-
BUSINESS:
|
|
584
|
-
ACTION:
|
|
585
|
-
SYSTEM:
|
|
586
|
-
WRITE_BACK:
|
|
585
|
+
BUSINESS: s.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
|
|
586
|
+
ACTION: s.t("platform.workflow-task-editor.business-action", "业务动作"),
|
|
587
|
+
SYSTEM: s.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
|
|
588
|
+
WRITE_BACK: s.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
|
|
587
589
|
}[e ?? ""] ?? e ?? "—";
|
|
588
590
|
}
|
|
589
591
|
function De(e) {
|
|
590
592
|
return {
|
|
591
|
-
SUCCESS:
|
|
592
|
-
FAILURE:
|
|
593
|
-
REJECTED:
|
|
593
|
+
SUCCESS: s.t("platform.screen.BusinessLogListDrawer.success", "成功"),
|
|
594
|
+
FAILURE: s.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
|
|
595
|
+
REJECTED: s.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
|
|
594
596
|
}[e ?? ""] ?? e ?? "—";
|
|
595
597
|
}
|
|
596
598
|
function Oe(e) {
|
|
597
599
|
return [
|
|
598
|
-
[
|
|
599
|
-
[
|
|
600
|
-
[
|
|
601
|
-
[
|
|
602
|
-
[
|
|
603
|
-
[
|
|
604
|
-
[
|
|
605
|
-
[
|
|
606
|
-
[
|
|
607
|
-
[
|
|
608
|
-
[
|
|
609
|
-
[
|
|
610
|
-
[
|
|
611
|
-
[
|
|
612
|
-
[
|
|
613
|
-
[
|
|
614
|
-
[
|
|
600
|
+
[s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
|
|
601
|
+
[s.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
|
|
602
|
+
[s.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
|
|
603
|
+
[s.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
|
|
604
|
+
[s.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
|
|
605
|
+
[s.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
|
|
606
|
+
[s.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
|
|
607
|
+
[s.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
|
|
608
|
+
[s.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
|
|
609
|
+
[s.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
|
|
610
|
+
[s.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
|
|
611
|
+
[s.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
|
|
612
|
+
[s.t("platform.governance.tab.actions", "动作"), e.actionCode],
|
|
613
|
+
[s.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
|
|
614
|
+
[s.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
|
|
615
|
+
[s.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
|
|
616
|
+
[s.t("platform.access-tokens.auth-method", "认证方式"), e.authenticationMethod],
|
|
617
|
+
[s.t("platform.access-tokens.credential-id", "凭据 ID"), e.authenticationCredentialId],
|
|
618
|
+
[s.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
|
|
615
619
|
...Ne(e.details, [
|
|
616
620
|
"outcome",
|
|
617
621
|
"entityAlias",
|
|
@@ -627,7 +631,7 @@ var ue = {
|
|
|
627
631
|
return (t?.items ?? []).map((t) => ({
|
|
628
632
|
key: `${e}:${t.key}`,
|
|
629
633
|
kind: e,
|
|
630
|
-
title: se(t,
|
|
634
|
+
title: se(t, s),
|
|
631
635
|
count: t.count
|
|
632
636
|
}));
|
|
633
637
|
}
|
|
@@ -637,7 +641,7 @@ var ue = {
|
|
|
637
641
|
function je() {
|
|
638
642
|
return [{
|
|
639
643
|
key: "detail",
|
|
640
|
-
title:
|
|
644
|
+
title: s.t("platform.screen.PageCompositionEditor.details", "详情"),
|
|
641
645
|
primary: !0,
|
|
642
646
|
iconName: "eye"
|
|
643
647
|
}];
|
|
@@ -659,99 +663,99 @@ var ue = {
|
|
|
659
663
|
return e == null || e === "" ? "—" : typeof e == "string" ? e : JSON.stringify(e, null, 2);
|
|
660
664
|
}
|
|
661
665
|
function Fe(e) {
|
|
662
|
-
return e instanceof Error ? e : new
|
|
666
|
+
return e instanceof Error ? e : new p(ie(s, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
|
|
663
667
|
}
|
|
664
668
|
let Ie = b(() => ({
|
|
665
669
|
login: { columns: [
|
|
666
670
|
{
|
|
667
671
|
key: "outcome",
|
|
668
|
-
title:
|
|
672
|
+
title: s.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
|
|
669
673
|
width: "96px"
|
|
670
674
|
},
|
|
671
675
|
{
|
|
672
676
|
key: "occurredAt",
|
|
673
|
-
title:
|
|
677
|
+
title: s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
674
678
|
width: "176px"
|
|
675
679
|
},
|
|
676
680
|
{
|
|
677
681
|
key: "loginAccount",
|
|
678
|
-
title:
|
|
682
|
+
title: s.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
|
|
679
683
|
width: "200px"
|
|
680
684
|
}
|
|
681
685
|
] },
|
|
682
686
|
activity: { columns: [
|
|
683
687
|
{
|
|
684
688
|
key: "outcome",
|
|
685
|
-
title:
|
|
689
|
+
title: s.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
|
|
686
690
|
width: "96px"
|
|
687
691
|
},
|
|
688
692
|
{
|
|
689
693
|
key: "occurredAt",
|
|
690
|
-
title:
|
|
694
|
+
title: s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
691
695
|
width: "176px"
|
|
692
696
|
},
|
|
693
697
|
{
|
|
694
698
|
key: "username",
|
|
695
|
-
title:
|
|
699
|
+
title: s.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
|
|
696
700
|
width: "160px"
|
|
697
701
|
},
|
|
698
702
|
{
|
|
699
703
|
key: "moduleAlias",
|
|
700
|
-
title:
|
|
704
|
+
title: s.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
|
|
701
705
|
width: "190px"
|
|
702
706
|
},
|
|
703
707
|
{
|
|
704
708
|
key: "actionCode",
|
|
705
|
-
title:
|
|
709
|
+
title: s.t("platform.governance.tab.actions", "动作"),
|
|
706
710
|
width: "150px"
|
|
707
711
|
},
|
|
708
712
|
{
|
|
709
713
|
key: "recordId",
|
|
710
|
-
title:
|
|
714
|
+
title: s.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
|
|
711
715
|
width: "170px"
|
|
712
716
|
},
|
|
713
717
|
{
|
|
714
718
|
key: "mutationSource",
|
|
715
|
-
title:
|
|
719
|
+
title: s.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
|
|
716
720
|
width: "120px"
|
|
717
721
|
}
|
|
718
722
|
] },
|
|
719
723
|
"request-error": { columns: [
|
|
720
724
|
{
|
|
721
725
|
key: "occurredAt",
|
|
722
|
-
title:
|
|
726
|
+
title: s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
723
727
|
width: "176px"
|
|
724
728
|
},
|
|
725
729
|
{
|
|
726
730
|
key: "moduleAlias",
|
|
727
|
-
title:
|
|
731
|
+
title: s.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
|
|
728
732
|
width: "190px"
|
|
729
733
|
},
|
|
730
734
|
{
|
|
731
735
|
key: "errorCode",
|
|
732
|
-
title:
|
|
736
|
+
title: s.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
|
|
733
737
|
width: "150px"
|
|
734
738
|
},
|
|
735
739
|
{
|
|
736
740
|
key: "httpStatus",
|
|
737
|
-
title:
|
|
741
|
+
title: s.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
|
|
738
742
|
width: "112px"
|
|
739
743
|
},
|
|
740
744
|
{
|
|
741
745
|
key: "summary",
|
|
742
|
-
title:
|
|
746
|
+
title: s.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
|
|
743
747
|
width: "260px"
|
|
744
748
|
}
|
|
745
749
|
] }
|
|
746
750
|
}));
|
|
747
751
|
function Le(e) {
|
|
748
|
-
return e instanceof
|
|
752
|
+
return e instanceof p ? ae(e, s) : ee(n(e), s);
|
|
749
753
|
}
|
|
750
|
-
return (e,
|
|
751
|
-
E(P(
|
|
754
|
+
return (e, t) => (k(), C(y, null, [
|
|
755
|
+
E(P(f), {
|
|
752
756
|
class: "business-log-list",
|
|
753
757
|
context: P(l),
|
|
754
|
-
title:
|
|
758
|
+
title: a.title,
|
|
755
759
|
columns: ue.value,
|
|
756
760
|
"row-key": "eventId",
|
|
757
761
|
"show-recycle-bin": !1,
|
|
@@ -762,9 +766,9 @@ var ue = {
|
|
|
762
766
|
100
|
|
763
767
|
],
|
|
764
768
|
"reference-picker-of": we,
|
|
765
|
-
"empty-description": P(
|
|
769
|
+
"empty-description": P(s).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
|
|
766
770
|
"row-actions-of": je,
|
|
767
|
-
"row-actions-title": P(
|
|
771
|
+
"row-actions-title": P(s).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
768
772
|
"action-column-width": "88px",
|
|
769
773
|
onRecordActivate: he,
|
|
770
774
|
onRowAction: Me,
|
|
@@ -775,7 +779,7 @@ var ue = {
|
|
|
775
779
|
loading: W.value,
|
|
776
780
|
onClick: ge
|
|
777
781
|
}, {
|
|
778
|
-
default: F(() => [T(N(P(
|
|
782
|
+
default: F(() => [T(N(P(s).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
|
|
779
783
|
_: 1
|
|
780
784
|
}, 8, ["loading"])) : S("v-if", !0), E(Z, { "event-types": X.value }, null, 8, ["event-types"])]),
|
|
781
785
|
cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(r), {
|
|
@@ -793,36 +797,36 @@ var ue = {
|
|
|
793
797
|
"empty-description",
|
|
794
798
|
"row-actions-title"
|
|
795
799
|
]),
|
|
796
|
-
E(P(
|
|
797
|
-
open: !!
|
|
798
|
-
title: P(
|
|
800
|
+
E(P(d), {
|
|
801
|
+
open: !!_.value,
|
|
802
|
+
title: P(s).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: a.title }),
|
|
799
803
|
"render-mode": "inline",
|
|
800
|
-
subtitle:
|
|
804
|
+
subtitle: _.value ? _.value.operatorIdentity?.employeeName ?? _.value.operatorIdentity?.username ?? _.value.operatorId : void 0,
|
|
801
805
|
"close-on-outside": !0,
|
|
802
|
-
onClose:
|
|
806
|
+
onClose: t[0] ||= (e) => _.value = void 0
|
|
803
807
|
}, {
|
|
804
|
-
default: F(() => [
|
|
808
|
+
default: F(() => [v.value ? (k(), x(P(o), {
|
|
805
809
|
key: 0,
|
|
806
|
-
tip: P(
|
|
807
|
-
}, null, 8, ["tip"])) : I.value ? (k(), x(P(
|
|
810
|
+
tip: P(s).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
|
|
811
|
+
}, null, 8, ["tip"])) : I.value ? (k(), x(P(i), {
|
|
808
812
|
key: 1,
|
|
809
|
-
title: P(
|
|
813
|
+
title: P(s).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
|
|
810
814
|
message: I.value
|
|
811
|
-
}, null, 8, ["title", "message"])) :
|
|
815
|
+
}, null, 8, ["title", "message"])) : _.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(te), {
|
|
812
816
|
key: 3,
|
|
813
|
-
description: P(
|
|
814
|
-
}, null, 8, ["description"])), Y.value &&
|
|
817
|
+
description: P(s).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
|
|
818
|
+
}, null, 8, ["description"])), Y.value && _.value && le.value ? (k(), C("section", _e, [
|
|
815
819
|
E(P(h), {
|
|
816
820
|
loading: R.value,
|
|
817
821
|
onClick: xe
|
|
818
822
|
}, {
|
|
819
|
-
default: F(() => [T(N(P(
|
|
823
|
+
default: F(() => [T(N(P(s).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
|
|
820
824
|
_: 1
|
|
821
825
|
}, 8, ["loading"]),
|
|
822
|
-
w("small", null, N(P(
|
|
823
|
-
B.value ? (k(), x(P(
|
|
826
|
+
w("small", null, N(P(s).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
|
|
827
|
+
B.value ? (k(), x(P(i), {
|
|
824
828
|
key: 0,
|
|
825
|
-
title: P(
|
|
829
|
+
title: P(s).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
|
|
826
830
|
message: B.value
|
|
827
831
|
}, 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
832
|
])) : S("v-if", !0)]),
|
|
@@ -832,24 +836,24 @@ var ue = {
|
|
|
832
836
|
"title",
|
|
833
837
|
"subtitle"
|
|
834
838
|
]),
|
|
835
|
-
E(P(
|
|
839
|
+
E(P(d), {
|
|
836
840
|
open: V.value,
|
|
837
|
-
title: P(
|
|
841
|
+
title: P(s).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
|
|
838
842
|
"render-mode": "inline",
|
|
839
|
-
subtitle: P(
|
|
843
|
+
subtitle: P(s).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
|
|
840
844
|
"close-on-outside": !0,
|
|
841
|
-
onClose:
|
|
845
|
+
onClose: t[1] ||= (e) => V.value = !1
|
|
842
846
|
}, {
|
|
843
|
-
default: F(() => [W.value ? (k(), x(P(
|
|
847
|
+
default: F(() => [W.value ? (k(), x(P(o), {
|
|
844
848
|
key: 0,
|
|
845
|
-
tip: P(
|
|
846
|
-
}, null, 8, ["tip"])) : K.value ? (k(), x(P(
|
|
849
|
+
tip: P(s).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
|
|
850
|
+
}, null, 8, ["tip"])) : K.value ? (k(), x(P(i), {
|
|
847
851
|
key: 1,
|
|
848
|
-
title: P(
|
|
852
|
+
title: P(s).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
|
|
849
853
|
message: K.value
|
|
850
|
-
}, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(
|
|
854
|
+
}, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(s).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(te), {
|
|
851
855
|
key: 2,
|
|
852
|
-
description: P(
|
|
856
|
+
description: P(s).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
|
|
853
857
|
}, null, 8, ["description"]))], 64))]),
|
|
854
858
|
_: 1
|
|
855
859
|
}, 8, [
|
|
@@ -859,6 +863,6 @@ var ue = {
|
|
|
859
863
|
])
|
|
860
864
|
], 64));
|
|
861
865
|
}
|
|
862
|
-
}), [["__scopeId", "data-v-
|
|
866
|
+
}), [["__scopeId", "data-v-ed2c89e3"]]);
|
|
863
867
|
//#endregion
|
|
864
868
|
export { xe as t };
|