@ximatai/muyun-web-app 0.26.26 → 0.26.28
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-BPnAoGim.js → BusinessActivityLogView-DlNB97pu.js} +2 -2
- package/dist/{BusinessLogListDrawer-CXabZOOM.js → BusinessLogListDrawer-ByiwQP1m.js} +163 -163
- package/dist/CodeConfigurationView-91B9dHjD.js +2333 -0
- package/dist/{ConfigurationTranslationView-BsWyLeRd.js → ConfigurationTranslationView-ClovkYJt.js} +22 -22
- package/dist/{LoginAuditLogView-D3TJdzWM.js → LoginAuditLogView-Blg9giRX.js} +2 -2
- package/dist/{ModuleActionManagementView-C9LiwMM3.js → ModuleActionManagementView-Chr_XTJ3.js} +193 -193
- package/dist/{ModuleGovernanceView-CYZzHLHa.js → ModuleGovernanceView-BNlRHqSj.js} +4054 -4072
- package/dist/{RequestErrorLogView-D85h_q4P.js → RequestErrorLogView-CGczIKQy.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-VHvh-_Sj.js → RoleDetailWorkspaceView-CPH9cga9.js} +75 -75
- package/dist/{RuntimeLogView-D-MrVfT7.js → RuntimeLogView-DF-1k-9y.js} +60 -60
- package/dist/WorkflowAdministrationView-CCXry0G4.js +650 -0
- package/dist/WorkflowConfigurationView-BqSfYua2.js +2227 -0
- package/dist/{WorkflowWorkbenchView-BN3ckTHB.js → WorkflowWorkbenchView-DUFfO3Gf.js} +248 -248
- package/dist/{codeConfiguration-B5OjCYZ6.js → codeConfiguration-BRxveKen.js} +71 -54
- package/dist/configurationEditorNavigation-DeXvfJyr.js +15 -0
- package/dist/formulaReferences-CKkkdA_R.js +23 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1239 -1131
- package/dist/{moduleMenuWorkspace-DhI4_LpA.js → moduleMenuWorkspace-D_A94ZgR.js} +218 -229
- package/dist/{platform-components-Ca8SikTY.js → platform-components-DSMqalgQ.js} +4660 -4538
- package/dist/{platform-workbench-DpXhb4F6.js → platform-workbench-B53hydzq.js} +6055 -5909
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +37 -3
- package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +16 -4
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +3 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +11 -1
- package/dist/types/platform-components/index.d.ts +2 -2
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +11 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +17 -2
- package/dist/types/platform-components/useWorkflowDesignSession.d.ts +141 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +8 -7
- package/dist/types/platform-components/workflowDesignOperations.d.ts +107 -0
- package/dist/types/views/CodeRuleRecoveryPanel.vue.d.ts +20 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -2
- package/dist/types/views/codeConfiguration.d.ts +29 -1
- package/dist/types/views/codeConfigurationAssistantSurface.d.ts +17 -0
- package/dist/types/views/codeRuleSaveRecovery.d.ts +12 -0
- package/dist/types/views/useCodeConfigurationAssistant.d.ts +10 -0
- package/dist/types/views/useCodeConfigurationSession.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationAssistant.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +16 -2
- package/dist/types/views/useWorkflowConfigurationSession.d.ts +146 -0
- package/dist/types/views/workflowConfigurationAssistantSurface.d.ts +169 -0
- package/dist/types/views/workflowSaveRecovery.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -1
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/operation.d.ts +7 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +4 -4
- package/dist/types/web-core/assistantSurface.d.ts +2 -2
- package/dist/types/web-core/businessNotificationSession.d.ts +27 -0
- package/dist/types/web-core/formulaReferences.d.ts +2 -0
- package/dist/types/web-core/index.d.ts +1 -0
- package/dist/types/web-core/operationConfirmation.d.ts +13 -8
- package/dist/types/web-core/workflow.d.ts +11 -1
- package/dist/useWorkflowConfigurationContext-BuBDdUcQ.js +78 -0
- package/dist/{workspaceViews-CLOyLZMZ.js → workspaceViews-BSVtjZj1.js} +689 -689
- package/package.json +1 -1
- package/dist/CodeConfigurationView-B1Lgdnkj.js +0 -1667
- package/dist/WorkflowAdministrationView-DHPlIJXF.js +0 -650
- package/dist/WorkflowConfigurationView-BhQl7NjM.js +0 -980
- package/dist/useWorkflowConfigurationContext-DpzBpKa3.js +0 -66
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, Fn as t, Gn as n, Ia as r, In as i, Kt as a, Na as o, Pn as s, Rn as c, Sa as ee, Sn as l, Xn as u, Y as d, _r as f, ao as te, ba as p, br as m, dr as ne, io as h, j as g, kn as _, ti as re, to as v, xa as ie, zn as ae } from "./platform-components-DSMqalgQ.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 = {
|
|
@@ -137,7 +137,7 @@ function U(e) {
|
|
|
137
137
|
return {
|
|
138
138
|
key: J(t.pageKey) ?? "unknown-page",
|
|
139
139
|
title: J(t.pageKey) ?? "未知页面",
|
|
140
|
-
...J(t.pageKey) ? {} : { titleSource:
|
|
140
|
+
...J(t.pageKey) ? {} : { titleSource: v("platform.log.statistic.unknown-page") },
|
|
141
141
|
count: Y(t.accessCount)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -155,7 +155,7 @@ function U(e) {
|
|
|
155
155
|
].map(([e, n]) => ({
|
|
156
156
|
key: e,
|
|
157
157
|
title: n,
|
|
158
|
-
titleSource:
|
|
158
|
+
titleSource: v(`platform.log.statistic.${e}`),
|
|
159
159
|
count: Y(t[e])
|
|
160
160
|
})),
|
|
161
161
|
complete: X(t.complete)
|
|
@@ -163,7 +163,7 @@ function U(e) {
|
|
|
163
163
|
}
|
|
164
164
|
function se(e, t) {
|
|
165
165
|
let n = e.titleSource;
|
|
166
|
-
return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") &&
|
|
166
|
+
return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") && h(n, e.title) ? t.t(n.sourceId, n.originalText) : e.title;
|
|
167
167
|
}
|
|
168
168
|
function W(e, t) {
|
|
169
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);
|
|
@@ -235,16 +235,16 @@ var ue = {
|
|
|
235
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 = {
|
|
236
236
|
key: 0,
|
|
237
237
|
class: "business-log-retention-control__validation"
|
|
238
|
-
}, Z = /*#__PURE__*/
|
|
238
|
+
}, Z = /*#__PURE__*/ m(/* @__PURE__ */ D({
|
|
239
239
|
name: "BusinessLogRetentionControl",
|
|
240
240
|
__name: "BusinessLogRetentionControl",
|
|
241
241
|
props: { eventTypes: {} },
|
|
242
|
-
setup(
|
|
243
|
-
let
|
|
242
|
+
setup(e) {
|
|
243
|
+
let d = te(), m = e, h = re({
|
|
244
244
|
moduleAlias: "platform.business_log_retention",
|
|
245
245
|
runtimeAccess: "VIEW"
|
|
246
|
-
}), g = le(
|
|
247
|
-
let e = new Set(
|
|
246
|
+
}), g = le(h.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(() => h.can("viewRetentionPolicies") === !0), B = b(() => h.can("configureRetentionPolicy") === !0), V = b(() => h.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
|
|
247
|
+
let e = new Set(m.eventTypes);
|
|
248
248
|
return v.value.filter((t) => e.has(t.eventType));
|
|
249
249
|
}), se = b(() => U.value.some(Y));
|
|
250
250
|
async function W() {
|
|
@@ -253,11 +253,11 @@ var ue = {
|
|
|
253
253
|
async function G() {
|
|
254
254
|
O.value = !0, I.value = void 0;
|
|
255
255
|
try {
|
|
256
|
-
let e = await g.policies(), t = new Set(
|
|
256
|
+
let e = await g.policies(), t = new Set(m.eventTypes), n = e.filter((e) => t.has(e.eventType));
|
|
257
257
|
v.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
|
|
258
258
|
} catch (e) {
|
|
259
|
-
I.value = _e(e),
|
|
260
|
-
language:
|
|
259
|
+
I.value = _e(e), l(e, {
|
|
260
|
+
language: d,
|
|
261
261
|
source: "business-log-retention",
|
|
262
262
|
phase: "load"
|
|
263
263
|
});
|
|
@@ -266,19 +266,19 @@ var ue = {
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
async function K() {
|
|
269
|
-
return H.value ? (s(
|
|
270
|
-
title:
|
|
271
|
-
content:
|
|
272
|
-
},
|
|
269
|
+
return H.value ? (s(d.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || i({
|
|
270
|
+
title: d.t("platform.screen.BusinessLogRetentionControl.discard-unsaved-cleanup-settings", "放弃未保存的自动清理设置?"),
|
|
271
|
+
content: d.t("platform.screen.BusinessLogRetentionControl.unsaved-changes-to-automatic-cleanup-and-retention-days-will-be", "关闭后,本次未保存的自动清理和保留天数修改将丢失。")
|
|
272
|
+
}, d);
|
|
273
273
|
}
|
|
274
274
|
async function q(e) {
|
|
275
275
|
if (Z(e.retentionDays) && Y(e) && !H.value) {
|
|
276
276
|
L.value = e.eventType;
|
|
277
277
|
try {
|
|
278
|
-
J(await g.update(e)),
|
|
278
|
+
J(await g.update(e)), t(d.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
|
|
279
279
|
} catch (e) {
|
|
280
|
-
|
|
281
|
-
language:
|
|
280
|
+
l(e, {
|
|
281
|
+
language: d,
|
|
282
282
|
source: "business-log-retention",
|
|
283
283
|
phase: "action"
|
|
284
284
|
});
|
|
@@ -288,26 +288,26 @@ var ue = {
|
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
async function ce(e) {
|
|
291
|
-
if (Z(e.retentionDays) && !H.value && await
|
|
292
|
-
title:
|
|
293
|
-
content:
|
|
294
|
-
requiredText:
|
|
291
|
+
if (Z(e.retentionDays) && !H.value && await i({
|
|
292
|
+
title: d.t("platform.screen.BusinessLogRetentionControl.clean-up-value-now", "立即清理{value1}", { value1: Q(e.eventType) }),
|
|
293
|
+
content: d.t("platform.screen.BusinessLogRetentionControl.logs-strictly-older-than-value-days-will-be-deleted-this", "将删除严格早于 {value1} 天的日志。本次清理不会保存对保留天数的修改,且操作不可恢复。", { value1: e.retentionDays }),
|
|
294
|
+
requiredText: d.t("platform.screen.BusinessLogRetentionControl.clean-up-value", "清理{value1}", { value1: Q(e.eventType) }),
|
|
295
295
|
danger: !0
|
|
296
|
-
},
|
|
296
|
+
}, d)) {
|
|
297
297
|
R.value = e.eventType;
|
|
298
298
|
try {
|
|
299
|
-
let
|
|
300
|
-
if (
|
|
301
|
-
s(
|
|
299
|
+
let n = await g.purge(e.eventType, e.retentionDays);
|
|
300
|
+
if (n.result.status === "ALREADY_RUNNING") {
|
|
301
|
+
s(d.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
|
|
302
302
|
return;
|
|
303
303
|
}
|
|
304
|
-
|
|
305
|
-
value1:
|
|
304
|
+
t(n.result.status === "BATCH_LIMIT_REACHED" ? d.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: n.result.deletedCount }) : d.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-from-value", "已清理 {value1} 条{value2}", {
|
|
305
|
+
value1: n.result.deletedCount,
|
|
306
306
|
value2: Q(e.eventType)
|
|
307
307
|
}));
|
|
308
308
|
} catch (e) {
|
|
309
|
-
|
|
310
|
-
language:
|
|
309
|
+
l(e, {
|
|
310
|
+
language: d,
|
|
311
311
|
source: "business-log-retention",
|
|
312
312
|
phase: "action"
|
|
313
313
|
});
|
|
@@ -334,50 +334,50 @@ var ue = {
|
|
|
334
334
|
}
|
|
335
335
|
function Q(e) {
|
|
336
336
|
return {
|
|
337
|
-
LOGIN:
|
|
338
|
-
ACTION:
|
|
339
|
-
REQUEST_ERROR:
|
|
340
|
-
PAGE_ACCESS:
|
|
337
|
+
LOGIN: d.t("platform.screen.BusinessLogRetentionControl.login-audit-logs", "登录日志"),
|
|
338
|
+
ACTION: d.t("platform.screen.BusinessLogRetentionControl.action-logs", "动作日志"),
|
|
339
|
+
REQUEST_ERROR: d.t("platform.screen.BusinessLogRetentionControl.error-logs", "异常日志"),
|
|
340
|
+
PAGE_ACCESS: d.t("platform.screen.BusinessLogRetentionControl.page-access-logs", "页面访问日志")
|
|
341
341
|
}[e];
|
|
342
342
|
}
|
|
343
343
|
function _e(e) {
|
|
344
|
-
return e instanceof Error ? e : new p(ie(
|
|
344
|
+
return e instanceof Error ? e : new p(ie(d, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
|
|
345
345
|
}
|
|
346
346
|
function ve(e) {
|
|
347
|
-
return e instanceof p ?
|
|
347
|
+
return e instanceof p ? ee(e, d) : r(o(e), d);
|
|
348
348
|
}
|
|
349
|
-
return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(
|
|
349
|
+
return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(f), {
|
|
350
350
|
key: 0,
|
|
351
351
|
onClick: W
|
|
352
352
|
}, {
|
|
353
|
-
default: F(() => [T(N(P(
|
|
353
|
+
default: F(() => [T(N(P(d).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
|
|
354
354
|
_: 1
|
|
355
|
-
})) : S("v-if", !0), E(P(
|
|
355
|
+
})) : S("v-if", !0), E(P(a), {
|
|
356
356
|
open: _.value,
|
|
357
|
-
title: P(
|
|
358
|
-
subtitle: P(
|
|
357
|
+
title: P(d).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
|
|
358
|
+
subtitle: P(d).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
|
|
359
359
|
width: "standard",
|
|
360
360
|
scope: "viewport",
|
|
361
361
|
"before-close": K,
|
|
362
362
|
onClose: t[0] ||= (e) => _.value = !1
|
|
363
363
|
}, {
|
|
364
|
-
default: F(() => [O.value ? (k(), x(P(
|
|
364
|
+
default: F(() => [O.value ? (k(), x(P(ae), {
|
|
365
365
|
key: 0,
|
|
366
|
-
tip: P(
|
|
367
|
-
}, null, 8, ["tip"])) : oe.value ? (k(), x(P(
|
|
366
|
+
tip: P(d).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
|
|
367
|
+
}, null, 8, ["tip"])) : oe.value ? (k(), x(P(c), {
|
|
368
368
|
key: 1,
|
|
369
|
-
title: P(
|
|
369
|
+
title: P(d).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
|
|
370
370
|
message: oe.value
|
|
371
|
-
}, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(
|
|
371
|
+
}, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(n), {
|
|
372
372
|
key: 2,
|
|
373
|
-
description: P(
|
|
373
|
+
description: P(d).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
|
|
374
374
|
}, null, 8, ["description"])) : (k(), C("section", ue, [(k(!0), C(y, null, j(U.value, (e) => (k(), C("article", { key: e.eventType }, [
|
|
375
|
-
w("header", null, [w("div", null, [w("h3", null, N(Q(e.eventType)), 1), e.updatedAt ? (k(), C("small", de, [T(N(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(d).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(d).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(u), {
|
|
376
376
|
checked: e.automaticCleanupEnabled,
|
|
377
377
|
"onUpdate:checked": (t) => e.automaticCleanupEnabled = t,
|
|
378
378
|
disabled: !B.value || H.value,
|
|
379
|
-
"checked-text": P(
|
|
380
|
-
"unchecked-text": P(
|
|
379
|
+
"checked-text": P(d).t("platform.screen.WorkflowWorkbenchView.enabled", "启用"),
|
|
380
|
+
"unchecked-text": P(d).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")
|
|
381
381
|
}, null, 8, [
|
|
382
382
|
"checked",
|
|
383
383
|
"onUpdate:checked",
|
|
@@ -386,42 +386,42 @@ var ue = {
|
|
|
386
386
|
"unchecked-text"
|
|
387
387
|
])])]),
|
|
388
388
|
w("div", pe, [w("label", me, [
|
|
389
|
-
w("span", null, N(P(
|
|
389
|
+
w("span", null, N(P(d).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
|
|
390
390
|
w("span", he, [E(P(ne), {
|
|
391
391
|
value: e.retentionDays,
|
|
392
392
|
type: "number",
|
|
393
393
|
disabled: !B.value || H.value,
|
|
394
|
-
"aria-label": P(
|
|
394
|
+
"aria-label": P(d).t("platform.screen.BusinessLogRetentionControl.retention-days-for-value", "{value1}保留天数", { value1: Q(e.eventType) }),
|
|
395
395
|
"onUpdate:value": (t) => X(e, t)
|
|
396
396
|
}, null, 8, [
|
|
397
397
|
"value",
|
|
398
398
|
"disabled",
|
|
399
399
|
"aria-label",
|
|
400
400
|
"onUpdate:value"
|
|
401
|
-
]), V.value ? (k(), x(P(
|
|
401
|
+
]), V.value ? (k(), x(P(f), {
|
|
402
402
|
key: 0,
|
|
403
403
|
intent: "danger",
|
|
404
404
|
disabled: H.value || !Z(e.retentionDays),
|
|
405
405
|
loading: R.value === e.eventType,
|
|
406
406
|
onClick: (t) => ce(e)
|
|
407
407
|
}, {
|
|
408
|
-
default: F(() => [T(N(P(
|
|
408
|
+
default: F(() => [T(N(P(d).t("platform.screen.BusinessLogRetentionControl.clean-up-now", "立即清理")), 1)]),
|
|
409
409
|
_: 1
|
|
410
410
|
}, 8, [
|
|
411
411
|
"disabled",
|
|
412
412
|
"loading",
|
|
413
413
|
"onClick"
|
|
414
414
|
])) : S("v-if", !0)]),
|
|
415
|
-
Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(
|
|
415
|
+
Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(d).t("platform.screen.BusinessLogRetentionControl.enter-an-integer-from-1-to-36500", "请输入 1 至 36500 之间的整数。")), 1))
|
|
416
416
|
])]),
|
|
417
|
-
w("footer", null, [B.value ? (k(), x(P(
|
|
417
|
+
w("footer", null, [B.value ? (k(), x(P(f), {
|
|
418
418
|
key: 0,
|
|
419
419
|
emphasis: "primary",
|
|
420
420
|
disabled: H.value || !Z(e.retentionDays) || !Y(e),
|
|
421
421
|
loading: L.value === e.eventType,
|
|
422
422
|
onClick: (t) => q(e)
|
|
423
423
|
}, {
|
|
424
|
-
default: F(() => [T(N(P(
|
|
424
|
+
default: F(() => [T(N(P(d).t("platform.action.save", "保存")), 1)]),
|
|
425
425
|
_: 1
|
|
426
426
|
}, 8, [
|
|
427
427
|
"disabled",
|
|
@@ -451,7 +451,7 @@ var ue = {
|
|
|
451
451
|
}, be = {
|
|
452
452
|
key: 1,
|
|
453
453
|
class: "business-log-list__detail"
|
|
454
|
-
}, xe = /*#__PURE__*/
|
|
454
|
+
}, xe = /*#__PURE__*/ m(/* @__PURE__ */ D({
|
|
455
455
|
name: "BusinessLogListDrawer",
|
|
456
456
|
__name: "BusinessLogListDrawer",
|
|
457
457
|
props: {
|
|
@@ -459,29 +459,29 @@ var ue = {
|
|
|
459
459
|
moduleAlias: {},
|
|
460
460
|
title: {}
|
|
461
461
|
},
|
|
462
|
-
setup(
|
|
463
|
-
let
|
|
462
|
+
setup(t) {
|
|
463
|
+
let i = te(), s = t, u = re({ moduleAlias: s.moduleAlias }), m = oe(u.http, s.surface), ne = {
|
|
464
464
|
get title() {
|
|
465
|
-
return
|
|
465
|
+
return i.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
|
|
466
466
|
},
|
|
467
467
|
get placeholder() {
|
|
468
|
-
return
|
|
468
|
+
return i.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
|
|
469
469
|
},
|
|
470
470
|
get searchPlaceholder() {
|
|
471
|
-
return
|
|
471
|
+
return i.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
|
|
472
472
|
},
|
|
473
473
|
mode: "dialog",
|
|
474
474
|
columns: g,
|
|
475
|
-
provider:
|
|
475
|
+
provider: e({
|
|
476
476
|
sourceIdentity: {
|
|
477
477
|
targetModuleAlias: "iam.user",
|
|
478
478
|
source: {
|
|
479
479
|
kind: "businessPurpose",
|
|
480
|
-
id: `${
|
|
480
|
+
id: `${s.moduleAlias}:operators`
|
|
481
481
|
}
|
|
482
482
|
},
|
|
483
483
|
searchPage: async ({ keyword: e, pageNum: t, pageSize: n, scope: r }) => {
|
|
484
|
-
let i = await
|
|
484
|
+
let i = await m.operatorCandidates({
|
|
485
485
|
keyword: e,
|
|
486
486
|
pageNum: t,
|
|
487
487
|
pageSize: n,
|
|
@@ -493,22 +493,22 @@ var ue = {
|
|
|
493
493
|
navigation: i.navigation
|
|
494
494
|
};
|
|
495
495
|
},
|
|
496
|
-
resolveUsers: async (e) => (await
|
|
496
|
+
resolveUsers: async (e) => (await m.operatorCandidates({ selectedIds: e })).selectedRecords
|
|
497
497
|
})
|
|
498
|
-
},
|
|
498
|
+
}, h = 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[s.surface]), J = b(() => s.surface === "activity"), Y = b(() => s.surface === "request-error"), X = b(() => ({
|
|
499
499
|
login: ["LOGIN"],
|
|
500
500
|
activity: ["ACTION", "PAGE_ACCESS"],
|
|
501
501
|
"request-error": ["REQUEST_ERROR"]
|
|
502
|
-
})[
|
|
502
|
+
})[s.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(i.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(i.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = b(() => H.value?.complete === !1 || U.value?.complete === !1);
|
|
503
503
|
async function he(e) {
|
|
504
504
|
let t = e, n = t.eventId;
|
|
505
505
|
if (n) {
|
|
506
|
-
|
|
506
|
+
h.value = t, D.value = void 0, L.value = void 0, z.value = void 0, v.value = !0;
|
|
507
507
|
try {
|
|
508
|
-
|
|
508
|
+
h.value = await m.detail(n);
|
|
509
509
|
} catch (e) {
|
|
510
|
-
D.value = Fe(e),
|
|
511
|
-
language:
|
|
510
|
+
D.value = Fe(e), l(e, {
|
|
511
|
+
language: i,
|
|
512
512
|
source: "business-log-detail",
|
|
513
513
|
phase: "load"
|
|
514
514
|
});
|
|
@@ -521,11 +521,11 @@ var ue = {
|
|
|
521
521
|
if (J.value && !W.value) {
|
|
522
522
|
V.value = !0, W.value = !0, G.value = void 0;
|
|
523
523
|
try {
|
|
524
|
-
let e = q.value ?? Ce(), [t, n] = await Promise.all([
|
|
524
|
+
let e = q.value ?? Ce(), [t, n] = await Promise.all([m.actionStatistics?.(e), m.pageAccessStatistics?.(e)]);
|
|
525
525
|
H.value = t, U.value = n;
|
|
526
526
|
} catch (e) {
|
|
527
|
-
G.value = Fe(e),
|
|
528
|
-
language:
|
|
527
|
+
G.value = Fe(e), l(e, {
|
|
528
|
+
language: i,
|
|
529
529
|
source: "business-log-statistics",
|
|
530
530
|
phase: "load"
|
|
531
531
|
});
|
|
@@ -535,14 +535,14 @@ var ue = {
|
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
async function xe() {
|
|
538
|
-
let e =
|
|
539
|
-
if (
|
|
538
|
+
let e = h.value?.eventId;
|
|
539
|
+
if (m.diagnostic && e && !R.value) {
|
|
540
540
|
R.value = !0, z.value = void 0;
|
|
541
541
|
try {
|
|
542
|
-
L.value = await
|
|
542
|
+
L.value = await m.diagnostic(e);
|
|
543
543
|
} catch (e) {
|
|
544
|
-
z.value = Fe(e),
|
|
545
|
-
language:
|
|
544
|
+
z.value = Fe(e), l(e, {
|
|
545
|
+
language: i,
|
|
546
546
|
source: "business-log-diagnostic",
|
|
547
547
|
phase: "load"
|
|
548
548
|
});
|
|
@@ -582,40 +582,40 @@ var ue = {
|
|
|
582
582
|
}
|
|
583
583
|
function Ee(e) {
|
|
584
584
|
return {
|
|
585
|
-
BUSINESS:
|
|
586
|
-
ACTION:
|
|
587
|
-
SYSTEM:
|
|
588
|
-
WRITE_BACK:
|
|
585
|
+
BUSINESS: i.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
|
|
586
|
+
ACTION: i.t("platform.workflow-task-editor.business-action", "业务动作"),
|
|
587
|
+
SYSTEM: i.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
|
|
588
|
+
WRITE_BACK: i.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
|
|
589
589
|
}[e ?? ""] ?? e ?? "—";
|
|
590
590
|
}
|
|
591
591
|
function De(e) {
|
|
592
592
|
return {
|
|
593
|
-
SUCCESS:
|
|
594
|
-
FAILURE:
|
|
595
|
-
REJECTED:
|
|
593
|
+
SUCCESS: i.t("platform.screen.BusinessLogListDrawer.success", "成功"),
|
|
594
|
+
FAILURE: i.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
|
|
595
|
+
REJECTED: i.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
|
|
596
596
|
}[e ?? ""] ?? e ?? "—";
|
|
597
597
|
}
|
|
598
598
|
function Oe(e) {
|
|
599
599
|
return [
|
|
600
|
-
[
|
|
601
|
-
[
|
|
602
|
-
[
|
|
603
|
-
[
|
|
604
|
-
[
|
|
605
|
-
[
|
|
606
|
-
[
|
|
607
|
-
[
|
|
608
|
-
[
|
|
609
|
-
[
|
|
610
|
-
[
|
|
611
|
-
[
|
|
612
|
-
[
|
|
613
|
-
[
|
|
614
|
-
[
|
|
615
|
-
[
|
|
616
|
-
[
|
|
617
|
-
[
|
|
618
|
-
[
|
|
600
|
+
[i.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
|
|
601
|
+
[i.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
|
|
602
|
+
[i.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
|
|
603
|
+
[i.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
|
|
604
|
+
[i.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
|
|
605
|
+
[i.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
|
|
606
|
+
[i.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
|
|
607
|
+
[i.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
|
|
608
|
+
[i.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
|
|
609
|
+
[i.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
|
|
610
|
+
[i.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
|
|
611
|
+
[i.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
|
|
612
|
+
[i.t("platform.governance.tab.actions", "动作"), e.actionCode],
|
|
613
|
+
[i.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
|
|
614
|
+
[i.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
|
|
615
|
+
[i.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
|
|
616
|
+
[i.t("platform.access-tokens.auth-method", "认证方式"), e.authenticationMethod],
|
|
617
|
+
[i.t("platform.access-tokens.credential-id", "凭据 ID"), e.authenticationCredentialId],
|
|
618
|
+
[i.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
|
|
619
619
|
...Ne(e.details, [
|
|
620
620
|
"outcome",
|
|
621
621
|
"entityAlias",
|
|
@@ -631,7 +631,7 @@ var ue = {
|
|
|
631
631
|
return (t?.items ?? []).map((t) => ({
|
|
632
632
|
key: `${e}:${t.key}`,
|
|
633
633
|
kind: e,
|
|
634
|
-
title: se(t,
|
|
634
|
+
title: se(t, i),
|
|
635
635
|
count: t.count
|
|
636
636
|
}));
|
|
637
637
|
}
|
|
@@ -641,7 +641,7 @@ var ue = {
|
|
|
641
641
|
function je() {
|
|
642
642
|
return [{
|
|
643
643
|
key: "detail",
|
|
644
|
-
title:
|
|
644
|
+
title: i.t("platform.screen.PageCompositionEditor.details", "详情"),
|
|
645
645
|
primary: !0,
|
|
646
646
|
iconName: "eye"
|
|
647
647
|
}];
|
|
@@ -663,99 +663,99 @@ var ue = {
|
|
|
663
663
|
return e == null || e === "" ? "—" : typeof e == "string" ? e : JSON.stringify(e, null, 2);
|
|
664
664
|
}
|
|
665
665
|
function Fe(e) {
|
|
666
|
-
return e instanceof Error ? e : new p(ie(
|
|
666
|
+
return e instanceof Error ? e : new p(ie(i, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
|
|
667
667
|
}
|
|
668
668
|
let Ie = b(() => ({
|
|
669
669
|
login: { columns: [
|
|
670
670
|
{
|
|
671
671
|
key: "outcome",
|
|
672
|
-
title:
|
|
672
|
+
title: i.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
|
|
673
673
|
width: "96px"
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
676
|
key: "occurredAt",
|
|
677
|
-
title:
|
|
677
|
+
title: i.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
678
678
|
width: "176px"
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
681
|
key: "loginAccount",
|
|
682
|
-
title:
|
|
682
|
+
title: i.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
|
|
683
683
|
width: "200px"
|
|
684
684
|
}
|
|
685
685
|
] },
|
|
686
686
|
activity: { columns: [
|
|
687
687
|
{
|
|
688
688
|
key: "outcome",
|
|
689
|
-
title:
|
|
689
|
+
title: i.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
|
|
690
690
|
width: "96px"
|
|
691
691
|
},
|
|
692
692
|
{
|
|
693
693
|
key: "occurredAt",
|
|
694
|
-
title:
|
|
694
|
+
title: i.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
695
695
|
width: "176px"
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
698
|
key: "username",
|
|
699
|
-
title:
|
|
699
|
+
title: i.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
|
|
700
700
|
width: "160px"
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
703
|
key: "moduleAlias",
|
|
704
|
-
title:
|
|
704
|
+
title: i.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
|
|
705
705
|
width: "190px"
|
|
706
706
|
},
|
|
707
707
|
{
|
|
708
708
|
key: "actionCode",
|
|
709
|
-
title:
|
|
709
|
+
title: i.t("platform.governance.tab.actions", "动作"),
|
|
710
710
|
width: "150px"
|
|
711
711
|
},
|
|
712
712
|
{
|
|
713
713
|
key: "recordId",
|
|
714
|
-
title:
|
|
714
|
+
title: i.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
|
|
715
715
|
width: "170px"
|
|
716
716
|
},
|
|
717
717
|
{
|
|
718
718
|
key: "mutationSource",
|
|
719
|
-
title:
|
|
719
|
+
title: i.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
|
|
720
720
|
width: "120px"
|
|
721
721
|
}
|
|
722
722
|
] },
|
|
723
723
|
"request-error": { columns: [
|
|
724
724
|
{
|
|
725
725
|
key: "occurredAt",
|
|
726
|
-
title:
|
|
726
|
+
title: i.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
|
|
727
727
|
width: "176px"
|
|
728
728
|
},
|
|
729
729
|
{
|
|
730
730
|
key: "moduleAlias",
|
|
731
|
-
title:
|
|
731
|
+
title: i.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
|
|
732
732
|
width: "190px"
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
735
|
key: "errorCode",
|
|
736
|
-
title:
|
|
736
|
+
title: i.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
|
|
737
737
|
width: "150px"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
key: "httpStatus",
|
|
741
|
-
title:
|
|
741
|
+
title: i.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
|
|
742
742
|
width: "112px"
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
key: "summary",
|
|
746
|
-
title:
|
|
746
|
+
title: i.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
|
|
747
747
|
width: "260px"
|
|
748
748
|
}
|
|
749
749
|
] }
|
|
750
750
|
}));
|
|
751
751
|
function Le(e) {
|
|
752
|
-
return e instanceof p ?
|
|
752
|
+
return e instanceof p ? ee(e, i) : r(o(e), i);
|
|
753
753
|
}
|
|
754
|
-
return (e,
|
|
755
|
-
E(P(
|
|
754
|
+
return (e, r) => (k(), C(y, null, [
|
|
755
|
+
E(P(d), {
|
|
756
756
|
class: "business-log-list",
|
|
757
|
-
context: P(
|
|
758
|
-
title:
|
|
757
|
+
context: P(u),
|
|
758
|
+
title: t.title,
|
|
759
759
|
columns: ue.value,
|
|
760
760
|
"row-key": "eventId",
|
|
761
761
|
"show-recycle-bin": !1,
|
|
@@ -766,23 +766,23 @@ var ue = {
|
|
|
766
766
|
100
|
|
767
767
|
],
|
|
768
768
|
"reference-picker-of": we,
|
|
769
|
-
"empty-description": P(
|
|
769
|
+
"empty-description": P(i).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
|
|
770
770
|
"row-actions-of": je,
|
|
771
|
-
"row-actions-title": P(
|
|
771
|
+
"row-actions-title": P(i).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
772
772
|
"action-column-width": "88px",
|
|
773
773
|
onRecordActivate: he,
|
|
774
774
|
onRowAction: Me,
|
|
775
775
|
onQueried: Se
|
|
776
776
|
}, {
|
|
777
|
-
operations: F(() => [J.value ? (k(), x(P(
|
|
777
|
+
operations: F(() => [J.value ? (k(), x(P(f), {
|
|
778
778
|
key: 0,
|
|
779
779
|
loading: W.value,
|
|
780
780
|
onClick: ge
|
|
781
781
|
}, {
|
|
782
|
-
default: F(() => [T(N(P(
|
|
782
|
+
default: F(() => [T(N(P(i).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
|
|
783
783
|
_: 1
|
|
784
784
|
}, 8, ["loading"])) : S("v-if", !0), E(Z, { "event-types": X.value }, null, 8, ["event-types"])]),
|
|
785
|
-
cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(
|
|
785
|
+
cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(_), {
|
|
786
786
|
key: 0,
|
|
787
787
|
value: t.occurredAt
|
|
788
788
|
}, null, 8, ["value"])) : (k(), C("span", {
|
|
@@ -797,36 +797,36 @@ var ue = {
|
|
|
797
797
|
"empty-description",
|
|
798
798
|
"row-actions-title"
|
|
799
799
|
]),
|
|
800
|
-
E(P(
|
|
801
|
-
open: !!
|
|
802
|
-
title: P(
|
|
800
|
+
E(P(a), {
|
|
801
|
+
open: !!h.value,
|
|
802
|
+
title: P(i).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: t.title }),
|
|
803
803
|
"render-mode": "inline",
|
|
804
|
-
subtitle:
|
|
804
|
+
subtitle: h.value ? h.value.operatorIdentity?.employeeName ?? h.value.operatorIdentity?.username ?? h.value.operatorId : void 0,
|
|
805
805
|
"close-on-outside": !0,
|
|
806
|
-
onClose:
|
|
806
|
+
onClose: r[0] ||= (e) => h.value = void 0
|
|
807
807
|
}, {
|
|
808
|
-
default: F(() => [v.value ? (k(), x(P(
|
|
808
|
+
default: F(() => [v.value ? (k(), x(P(ae), {
|
|
809
809
|
key: 0,
|
|
810
|
-
tip: P(
|
|
811
|
-
}, null, 8, ["tip"])) : I.value ? (k(), x(P(
|
|
810
|
+
tip: P(i).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
|
|
811
|
+
}, null, 8, ["tip"])) : I.value ? (k(), x(P(c), {
|
|
812
812
|
key: 1,
|
|
813
|
-
title: P(
|
|
813
|
+
title: P(i).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
|
|
814
814
|
message: I.value
|
|
815
|
-
}, null, 8, ["title", "message"])) :
|
|
815
|
+
}, 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(n), {
|
|
816
816
|
key: 3,
|
|
817
|
-
description: P(
|
|
818
|
-
}, null, 8, ["description"])), Y.value &&
|
|
819
|
-
E(P(
|
|
817
|
+
description: P(i).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
|
|
818
|
+
}, null, 8, ["description"])), Y.value && h.value && le.value ? (k(), C("section", _e, [
|
|
819
|
+
E(P(f), {
|
|
820
820
|
loading: R.value,
|
|
821
821
|
onClick: xe
|
|
822
822
|
}, {
|
|
823
|
-
default: F(() => [T(N(P(
|
|
823
|
+
default: F(() => [T(N(P(i).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
|
|
824
824
|
_: 1
|
|
825
825
|
}, 8, ["loading"]),
|
|
826
|
-
w("small", null, N(P(
|
|
827
|
-
B.value ? (k(), x(P(
|
|
826
|
+
w("small", null, N(P(i).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
|
|
827
|
+
B.value ? (k(), x(P(c), {
|
|
828
828
|
key: 0,
|
|
829
|
-
title: P(
|
|
829
|
+
title: P(i).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
|
|
830
830
|
message: B.value
|
|
831
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)
|
|
832
832
|
])) : S("v-if", !0)]),
|
|
@@ -836,24 +836,24 @@ var ue = {
|
|
|
836
836
|
"title",
|
|
837
837
|
"subtitle"
|
|
838
838
|
]),
|
|
839
|
-
E(P(
|
|
839
|
+
E(P(a), {
|
|
840
840
|
open: V.value,
|
|
841
|
-
title: P(
|
|
841
|
+
title: P(i).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
|
|
842
842
|
"render-mode": "inline",
|
|
843
|
-
subtitle: P(
|
|
843
|
+
subtitle: P(i).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
|
|
844
844
|
"close-on-outside": !0,
|
|
845
|
-
onClose:
|
|
845
|
+
onClose: r[1] ||= (e) => V.value = !1
|
|
846
846
|
}, {
|
|
847
|
-
default: F(() => [W.value ? (k(), x(P(
|
|
847
|
+
default: F(() => [W.value ? (k(), x(P(ae), {
|
|
848
848
|
key: 0,
|
|
849
|
-
tip: P(
|
|
850
|
-
}, null, 8, ["tip"])) : K.value ? (k(), x(P(
|
|
849
|
+
tip: P(i).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
|
|
850
|
+
}, null, 8, ["tip"])) : K.value ? (k(), x(P(c), {
|
|
851
851
|
key: 1,
|
|
852
|
-
title: P(
|
|
852
|
+
title: P(i).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
|
|
853
853
|
message: K.value
|
|
854
|
-
}, 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(i).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(n), {
|
|
855
855
|
key: 2,
|
|
856
|
-
description: P(
|
|
856
|
+
description: P(i).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
|
|
857
857
|
}, null, 8, ["description"]))], 64))]),
|
|
858
858
|
_: 1
|
|
859
859
|
}, 8, [
|