@since2006/pages 2026.4.0 → 2026.4.1
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/es/src/app/system/StatusIndex.vue.js +2 -2
- package/dist/es/src/app/system/StatusIndex.vue2.js +134 -127
- package/dist/es/style.css +1 -1
- package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
- package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
- package/dist/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./StatusIndex.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6da7c3e0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getStatus as
|
|
3
|
-
import { notification as
|
|
4
|
-
import { CloudUploadOutlined as
|
|
5
|
-
import { getContextPath as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as H, ref as M, reactive as v, resolveComponent as d, openBlock as y, createBlock as k, withCtx as t, createVNode as l, createElementVNode as s, toDisplayString as o, createElementBlock as T, unref as N, h as U, createTextVNode as B } from "vue";
|
|
2
|
+
import { getStatus as $, getMachineCode as E } from "./api.js";
|
|
3
|
+
import { notification as S } from "ant-design-vue";
|
|
4
|
+
import { CloudUploadOutlined as W } from "@ant-design/icons-vue";
|
|
5
|
+
import { getContextPath as X, getTokenHeader as q, getToken as F } from "@since2006/utils";
|
|
6
|
+
const G = { class: "info-row" }, K = { style: { "margin-bottom": "14px" } }, Q = { class: "info-row" }, R = { class: "info-row" }, Y = { class: "info-row" }, Z = { class: "info-row" }, h = { class: "info-row" }, ss = { class: "info-row" }, ns = { class: "info-row" }, os = { class: "info-row" }, ls = { class: "info-row" }, ts = { class: "info-row" }, es = { class: "info-row" }, is = { class: "info-row" }, as = { class: "info-row" }, ds = { class: "info-row" }, ps = { class: "info-row" }, rs = { class: "info-row" }, us = { class: "info-row" }, fs = { class: "info-row" }, vs = { class: "info-row" }, _s = { class: "info-row" }, ms = { class: "info-row" }, ws = { class: "info-row" }, cs = { class: "info-row" }, gs = { class: "info-row" }, ys = { class: "info-row" }, xs = { class: "info-row" }, js = { class: "info-row" }, bs = { class: "info-row" }, Cs = { key: 1 }, ks = { class: "info-row" }, Ss = {
|
|
7
7
|
class: "info-row",
|
|
8
8
|
style: { color: "orangered", "font-weight": "bold" }
|
|
9
|
-
},
|
|
9
|
+
}, Os = { class: "info-row" }, Is = { class: "info-row" }, Vs = { class: "info-row" }, Ms = { key: 1 }, Ts = { class: "info-row" }, Ds = /* @__PURE__ */ H({
|
|
10
10
|
__name: "StatusIndex",
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
var
|
|
11
|
+
setup(Ns) {
|
|
12
|
+
const z = X(), J = { [q()]: F() }, r = M(!1), b = M(), u = v({}), e = v({}), a = v({}), i = v({}), x = v({}), _ = v({}), m = v({}), O = async () => {
|
|
13
|
+
var j;
|
|
14
14
|
r.value = !0;
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
const n = await
|
|
18
|
-
|
|
15
|
+
const p = await $();
|
|
16
|
+
p.code === 200 && (Object.assign(u, p.data), Object.assign(e, u.license), Object.assign(a, u.database), Object.assign(i, u.jvm), Object.assign(x, u.os), Object.assign(_, u.app), Object.assign(m, (j = u.jvm) == null ? void 0 : j.thread));
|
|
17
|
+
const n = await E();
|
|
18
|
+
b.value = n.data, r.value = !1;
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
const
|
|
22
|
-
|
|
20
|
+
O();
|
|
21
|
+
const L = (p) => {
|
|
22
|
+
p.file.status === "done" ? p.file.response.code === 200 ? (S.success({
|
|
23
23
|
message: "License 更新成功",
|
|
24
24
|
description: "将重新加载 License 信息,请确认是否正确"
|
|
25
|
-
}),
|
|
26
|
-
message:
|
|
25
|
+
}), O()) : S.error({
|
|
26
|
+
message: p.file.response.msg,
|
|
27
27
|
description: "请检查 License 文件是否正确"
|
|
28
|
-
}) :
|
|
28
|
+
}) : p.file.status === "error" && S.error({ message: "上传失败" });
|
|
29
29
|
};
|
|
30
|
-
return (
|
|
31
|
-
const
|
|
32
|
-
return y(),
|
|
30
|
+
return (p, n) => {
|
|
31
|
+
const j = d("a-progress"), w = d("a-skeleton"), c = d("a-card"), f = d("a-col"), g = d("a-typography-text"), C = d("a-row"), P = d("a-button"), A = d("a-upload"), D = d("a-tooltip");
|
|
32
|
+
return y(), k(C, { gutter: 16 }, {
|
|
33
33
|
default: t(() => [
|
|
34
34
|
l(f, { span: 12 }, {
|
|
35
35
|
default: t(() => [
|
|
36
|
-
l(
|
|
36
|
+
l(C, { gutter: [16, 16] }, {
|
|
37
37
|
default: t(() => [
|
|
38
38
|
l(f, { span: 24 }, {
|
|
39
39
|
default: t(() => [
|
|
40
|
-
l(
|
|
40
|
+
l(c, { title: "内存线程信息" }, {
|
|
41
41
|
default: t(() => [
|
|
42
|
-
l(
|
|
42
|
+
l(w, { loading: r.value }, {
|
|
43
43
|
default: t(() => [
|
|
44
|
-
s("div",
|
|
44
|
+
s("div", G, [
|
|
45
45
|
n[0] || (n[0] = s("span", null, "当前用量", -1)),
|
|
46
46
|
s("span", null, o(i.usedMemorySize) + " / " + o(i.totalMemorySize), 1)
|
|
47
47
|
]),
|
|
48
|
-
s("div",
|
|
49
|
-
l(
|
|
48
|
+
s("div", K, [
|
|
49
|
+
l(j, {
|
|
50
50
|
percent: i.memoryUsage,
|
|
51
51
|
size: 12
|
|
52
52
|
}, null, 8, ["percent"])
|
|
53
53
|
]),
|
|
54
|
-
s("div",
|
|
54
|
+
s("div", Q, [
|
|
55
55
|
n[1] || (n[1] = s("span", null, "当前可用", -1)),
|
|
56
56
|
s("span", null, o(i.freeMemorySize), 1)
|
|
57
57
|
]),
|
|
58
|
-
s("div",
|
|
58
|
+
s("div", R, [
|
|
59
59
|
n[2] || (n[2] = s("span", null, "最大堆(-Xmx)", -1)),
|
|
60
60
|
s("span", null, o(i.maxMemorySize), 1)
|
|
61
61
|
]),
|
|
62
|
-
s("div",
|
|
62
|
+
s("div", Y, [
|
|
63
63
|
n[3] || (n[3] = s("span", null, "当前线程数", -1)),
|
|
64
64
|
s("span", null, o(m.threadCount), 1)
|
|
65
65
|
]),
|
|
66
|
-
s("div",
|
|
66
|
+
s("div", Z, [
|
|
67
67
|
n[4] || (n[4] = s("span", null, "守护线程数", -1)),
|
|
68
68
|
s("span", null, o(m.daemonThreadCount), 1)
|
|
69
69
|
]),
|
|
70
|
-
s("div",
|
|
70
|
+
s("div", h, [
|
|
71
71
|
n[5] || (n[5] = s("span", null, "最大线程峰值", -1)),
|
|
72
72
|
s("span", null, o(m.peakThreadCount), 1)
|
|
73
73
|
]),
|
|
74
|
-
s("div",
|
|
74
|
+
s("div", ss, [
|
|
75
75
|
n[6] || (n[6] = s("span", null, "创建线程总数", -1)),
|
|
76
76
|
s("span", null, o(m.totalStartedThreadCount), 1)
|
|
77
77
|
])
|
|
@@ -86,19 +86,19 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
86
86
|
}),
|
|
87
87
|
l(f, { span: 24 }, {
|
|
88
88
|
default: t(() => [
|
|
89
|
-
l(
|
|
89
|
+
l(c, { title: "主数据库信息" }, {
|
|
90
90
|
default: t(() => [
|
|
91
|
-
l(
|
|
91
|
+
l(w, { loading: r.value }, {
|
|
92
92
|
default: t(() => [
|
|
93
|
-
s("div",
|
|
93
|
+
s("div", ns, [
|
|
94
94
|
n[7] || (n[7] = s("span", null, "数据库名称", -1)),
|
|
95
95
|
s("span", null, o(a.productName), 1)
|
|
96
96
|
]),
|
|
97
|
-
s("div",
|
|
97
|
+
s("div", os, [
|
|
98
98
|
n[8] || (n[8] = s("span", null, "数据库版本", -1)),
|
|
99
99
|
s("span", null, o(a.productVersion), 1)
|
|
100
100
|
]),
|
|
101
|
-
s("div",
|
|
101
|
+
s("div", ls, [
|
|
102
102
|
n[9] || (n[9] = s("span", null, "驱动名称", -1)),
|
|
103
103
|
l(g, {
|
|
104
104
|
class: "info-value-ellipsis",
|
|
@@ -106,19 +106,19 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
106
106
|
content: a.driverVersion
|
|
107
107
|
}, null, 8, ["ellipsis", "content"])
|
|
108
108
|
]),
|
|
109
|
-
s("div",
|
|
109
|
+
s("div", ts, [
|
|
110
110
|
n[10] || (n[10] = s("span", null, "数据库连接池", -1)),
|
|
111
111
|
s("span", null, o(a.poolName), 1)
|
|
112
112
|
]),
|
|
113
|
-
s("div",
|
|
113
|
+
s("div", es, [
|
|
114
114
|
n[11] || (n[11] = s("span", null, "最大活跃连接数", -1)),
|
|
115
115
|
s("span", null, o(a.maxActive), 1)
|
|
116
116
|
]),
|
|
117
|
-
s("div",
|
|
117
|
+
s("div", is, [
|
|
118
118
|
n[12] || (n[12] = s("span", null, "最小空闲连接数", -1)),
|
|
119
119
|
s("span", null, o(a.minIdle), 1)
|
|
120
120
|
]),
|
|
121
|
-
s("div",
|
|
121
|
+
s("div", as, [
|
|
122
122
|
n[13] || (n[13] = s("span", null, "获取连接等待时间", -1)),
|
|
123
123
|
s("span", null, o(a.maxWait) + "ms", 1)
|
|
124
124
|
])
|
|
@@ -133,15 +133,15 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
133
133
|
}),
|
|
134
134
|
l(f, { span: 24 }, {
|
|
135
135
|
default: t(() => [
|
|
136
|
-
l(
|
|
136
|
+
l(c, { title: "系统信息" }, {
|
|
137
137
|
default: t(() => [
|
|
138
|
-
l(
|
|
138
|
+
l(w, { loading: r.value }, {
|
|
139
139
|
default: t(() => [
|
|
140
|
-
s("div",
|
|
140
|
+
s("div", ds, [
|
|
141
141
|
n[14] || (n[14] = s("span", null, "应用服务器", -1)),
|
|
142
142
|
s("span", null, o(_.serverInfo), 1)
|
|
143
143
|
]),
|
|
144
|
-
s("div",
|
|
144
|
+
s("div", ps, [
|
|
145
145
|
n[15] || (n[15] = s("span", null, "工作目录", -1)),
|
|
146
146
|
l(g, {
|
|
147
147
|
class: "info-value-ellipsis",
|
|
@@ -149,11 +149,11 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
149
149
|
content: _.appPath
|
|
150
150
|
}, null, 8, ["ellipsis", "content"])
|
|
151
151
|
]),
|
|
152
|
-
s("div",
|
|
152
|
+
s("div", rs, [
|
|
153
153
|
n[16] || (n[16] = s("span", null, "会话超时(Session Timeout)", -1)),
|
|
154
154
|
s("span", null, o(_.maxInactiveInterval / 60) + "分钟", 1)
|
|
155
155
|
]),
|
|
156
|
-
s("div",
|
|
156
|
+
s("div", us, [
|
|
157
157
|
n[17] || (n[17] = s("span", null, "缓存管理", -1)),
|
|
158
158
|
s("span", null, o(_.cacheManager), 1)
|
|
159
159
|
])
|
|
@@ -174,23 +174,23 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
174
174
|
}),
|
|
175
175
|
l(f, { span: 12 }, {
|
|
176
176
|
default: t(() => [
|
|
177
|
-
l(
|
|
177
|
+
l(C, { gutter: [16, 16] }, {
|
|
178
178
|
default: t(() => [
|
|
179
179
|
l(f, { span: 24 }, {
|
|
180
180
|
default: t(() => [
|
|
181
|
-
l(
|
|
181
|
+
l(c, { title: "JVM信息" }, {
|
|
182
182
|
default: t(() => [
|
|
183
|
-
l(
|
|
183
|
+
l(w, { loading: r.value }, {
|
|
184
184
|
default: t(() => [
|
|
185
|
-
s("div",
|
|
185
|
+
s("div", fs, [
|
|
186
186
|
n[18] || (n[18] = s("span", null, "系统启动时间", -1)),
|
|
187
187
|
s("span", null, o(i.startTimeDisplay), 1)
|
|
188
188
|
]),
|
|
189
|
-
s("div",
|
|
189
|
+
s("div", vs, [
|
|
190
190
|
n[19] || (n[19] = s("span", null, "系统运行时长", -1)),
|
|
191
191
|
s("span", null, o(i.uptimeDisplay), 1)
|
|
192
192
|
]),
|
|
193
|
-
s("div",
|
|
193
|
+
s("div", _s, [
|
|
194
194
|
n[20] || (n[20] = s("span", null, "Java安装目录", -1)),
|
|
195
195
|
l(g, {
|
|
196
196
|
class: "info-value-ellipsis",
|
|
@@ -198,19 +198,19 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
198
198
|
content: i.javaHome
|
|
199
199
|
}, null, 8, ["ellipsis", "content"])
|
|
200
200
|
]),
|
|
201
|
-
s("div",
|
|
201
|
+
s("div", ms, [
|
|
202
202
|
n[21] || (n[21] = s("span", null, "Java版本", -1)),
|
|
203
203
|
s("span", null, o(i.javaVersion), 1)
|
|
204
204
|
]),
|
|
205
|
-
s("div",
|
|
205
|
+
s("div", ws, [
|
|
206
206
|
n[22] || (n[22] = s("span", null, "Java供应商", -1)),
|
|
207
207
|
s("span", null, o(i.javaVendor), 1)
|
|
208
208
|
]),
|
|
209
|
-
s("div",
|
|
209
|
+
s("div", cs, [
|
|
210
210
|
n[23] || (n[23] = s("span", null, "操作系统", -1)),
|
|
211
211
|
s("span", null, o(x.name) + " " + o(x.version), 1)
|
|
212
212
|
]),
|
|
213
|
-
s("div",
|
|
213
|
+
s("div", gs, [
|
|
214
214
|
n[24] || (n[24] = s("span", null, "系统核心数", -1)),
|
|
215
215
|
s("span", null, o(x.availableProcessors), 1)
|
|
216
216
|
])
|
|
@@ -225,87 +225,94 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
225
225
|
}),
|
|
226
226
|
l(f, { span: 24 }, {
|
|
227
227
|
default: t(() => [
|
|
228
|
-
l(
|
|
228
|
+
l(c, { title: "授权信息" }, {
|
|
229
229
|
extra: t(() => [
|
|
230
230
|
l(A, {
|
|
231
231
|
name: "file",
|
|
232
|
-
action: `${
|
|
233
|
-
headers:
|
|
232
|
+
action: `${N(z)}/api/v1/license/update_license`,
|
|
233
|
+
headers: J,
|
|
234
234
|
showUploadList: !1,
|
|
235
|
-
onChange:
|
|
235
|
+
onChange: L
|
|
236
236
|
}, {
|
|
237
237
|
default: t(() => [
|
|
238
|
-
l(
|
|
239
|
-
icon:
|
|
238
|
+
l(P, {
|
|
239
|
+
icon: U(N(W))
|
|
240
240
|
}, {
|
|
241
241
|
default: t(() => [...n[25] || (n[25] = [
|
|
242
|
-
|
|
242
|
+
B("更新", -1)
|
|
243
243
|
])]),
|
|
244
244
|
_: 1
|
|
245
245
|
}, 8, ["icon"])
|
|
246
246
|
]),
|
|
247
247
|
_: 1
|
|
248
|
-
}, 8, ["action"
|
|
248
|
+
}, 8, ["action"])
|
|
249
249
|
]),
|
|
250
250
|
default: t(() => [
|
|
251
|
-
l(
|
|
252
|
-
default: t(() =>
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
s("
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
s("
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
s("
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
s("
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
s("
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
s("
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
251
|
+
l(w, { loading: r.value }, {
|
|
252
|
+
default: t(() => {
|
|
253
|
+
var I, V;
|
|
254
|
+
return [
|
|
255
|
+
s("div", ys, [
|
|
256
|
+
n[26] || (n[26] = s("span", null, "当前机器码", -1)),
|
|
257
|
+
l(g, {
|
|
258
|
+
copyable: "",
|
|
259
|
+
code: "",
|
|
260
|
+
style: { color: "brown", "font-size": "16px" },
|
|
261
|
+
ellipsis: { tooltip: b.value },
|
|
262
|
+
content: b.value
|
|
263
|
+
}, null, 8, ["ellipsis", "content"])
|
|
264
|
+
]),
|
|
265
|
+
s("div", xs, [
|
|
266
|
+
n[27] || (n[27] = s("span", null, "授权使用", -1)),
|
|
267
|
+
s("span", null, o(e.company), 1)
|
|
268
|
+
]),
|
|
269
|
+
s("div", js, [
|
|
270
|
+
n[28] || (n[28] = s("span", null, "授权IP", -1)),
|
|
271
|
+
s("span", null, o((I = e.ip) != null && I.length ? e.ip.join(" / ") : "无限制"), 1)
|
|
272
|
+
]),
|
|
273
|
+
s("div", bs, [
|
|
274
|
+
n[29] || (n[29] = s("span", null, "授权机器码", -1)),
|
|
275
|
+
(V = e.machineCode) != null && V.length ? (y(), k(g, {
|
|
276
|
+
key: 0,
|
|
277
|
+
class: "info-value-ellipsis",
|
|
278
|
+
ellipsis: { tooltip: e.machineCode.join(" / ") },
|
|
279
|
+
content: e.machineCode.join(" / ")
|
|
280
|
+
}, null, 8, ["ellipsis", "content"])) : (y(), T("span", Cs, "无限制"))
|
|
281
|
+
]),
|
|
282
|
+
s("div", ks, [
|
|
283
|
+
n[30] || (n[30] = s("span", null, "授权日期", -1)),
|
|
284
|
+
s("span", null, o(e.createdAt), 1)
|
|
285
|
+
]),
|
|
286
|
+
s("div", Ss, [
|
|
287
|
+
n[31] || (n[31] = s("span", null, "结束日期", -1)),
|
|
288
|
+
s("span", null, o(e.expiresAt ? e.expiresAt : "无限制"), 1)
|
|
289
|
+
]),
|
|
290
|
+
s("div", Os, [
|
|
291
|
+
n[32] || (n[32] = s("span", null, "最大用户数", -1)),
|
|
292
|
+
s("span", null, o(e.users ? `${e.users} 人` : "无限制"), 1)
|
|
293
|
+
]),
|
|
294
|
+
s("div", Is, [
|
|
295
|
+
n[33] || (n[33] = s("span", null, "最大流程实例数", -1)),
|
|
296
|
+
s("span", null, o(e.workflowInstances ? `${e.workflowInstances} 条` : "无限制"), 1)
|
|
297
|
+
]),
|
|
298
|
+
s("div", Vs, [
|
|
299
|
+
n[34] || (n[34] = s("span", null, "扩展信息", -1)),
|
|
300
|
+
e.extras ? (y(), k(D, {
|
|
301
|
+
key: 0,
|
|
302
|
+
title: JSON.stringify(e.extras)
|
|
303
|
+
}, {
|
|
304
|
+
default: t(() => [
|
|
305
|
+
s("span", null, o(JSON.stringify(e.extras)), 1)
|
|
306
|
+
]),
|
|
307
|
+
_: 1
|
|
308
|
+
}, 8, ["title"])) : (y(), T("span", Ms, "无"))
|
|
309
|
+
]),
|
|
310
|
+
s("div", Ts, [
|
|
311
|
+
n[35] || (n[35] = s("span", null, "License 版本", -1)),
|
|
312
|
+
s("span", null, "v" + o(e.version), 1)
|
|
313
|
+
])
|
|
314
|
+
];
|
|
315
|
+
}),
|
|
309
316
|
_: 1
|
|
310
317
|
}, 8, ["loading"])
|
|
311
318
|
]),
|
|
@@ -327,5 +334,5 @@ const W = { class: "info-row" }, q = { style: { "margin-bottom": "14px" } }, F =
|
|
|
327
334
|
}
|
|
328
335
|
});
|
|
329
336
|
export {
|
|
330
|
-
|
|
337
|
+
Ds as default
|
|
331
338
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.info-row[data-v-
|
|
1
|
+
.info-row[data-v-6da7c3e0]{display:flex;justify-content:space-between;align-items:center;font-size:16px;min-height:32px}.info-row+.info-row[data-v-6da7c3e0]{margin-top:8px}.info-value-ellipsis[data-v-6da7c3e0]{max-width:300px;font-size:16px}.icon-selector deep(ul) li.active[data-v-a47fcf40],.icon-selector deep(ul) li[data-v-a47fcf40]:hover{border-radius:2px;border-color:#4a4a48;background-color:#4a4a48;color:#fff;transition:all .3s;box-shadow:none}.icon-selector deep(ul) i[data-v-a47fcf40]{font-size:1.5rem;border:1px solid #f1f1f1;padding:.02rem;margin:.03rem;cursor:pointer}.ant-form[data-v-83fb02af]{padding-top:20px}.permission-tree[data-v-83fb02af],.permission-tree[data-v-9f5945ff]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-730b9499] .ant-pro-table-list-toolbar-container{padding-left:6px}.ant-input-search[data-v-730b9499]{margin-bottom:8px}.search-input[data-v-730b9499]{width:100%;padding-left:10px;padding-right:10px}@media (min-width: 1280px){.search-input[data-v-730b9499]{width:80%}}@media (min-width: 1920px){.search-input[data-v-730b9499]{width:70%}}.cron-detail[data-v-dd4b2211]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-dd4b2211]{width:70px}.cron-detail .ant-input[data-v-dd4b2211]{width:280px}.cron-detail[data-v-3b943880]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-3b943880]{width:70px}.cron-detail .ant-input[data-v-3b943880]{width:280px}[data-v-418f353d] .ant-descriptions-item-label{width:140px}.text-ellipsis[data-v-c407c636]{display:inline-block;max-width:600px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}[data-v-c407c636] .ant-descriptions-item-label{width:120px}.ua-icon[data-v-f846ecbb]{width:1.2em;height:1.2em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.login-log-list .text-ellipsis[data-v-f4cf8b13]{display:inline-block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.method-text[data-v-8d1c9637]{background:#f5f5f5;padding:2px 6px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px}.json-container[data-v-8d1c9637]{max-height:300px;overflow:auto;background:#f5f5f5;padding:12px;border-radius:4px}.json-container pre[data-v-8d1c9637]{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}[data-v-8d1c9637] .ant-descriptions-item-label{width:120px}.operation-log-list .text-ellipsis[data-v-d2d8eebd]{display:inline-block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}[data-v-bdeeb034] .ant-descriptions-item-label{width:120px}.audit-log-list .text-ellipsis[data-v-4290a852]{display:inline-block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.text-ellipsis[data-v-7436a600]{display:inline-block;max-width:600px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.performance-analysis[data-v-7436a600]{padding:16px;background:#fafafa;border-radius:6px}.performance-analysis[data-v-7436a600] .ant-statistic{text-align:center}[data-v-7436a600] .ant-descriptions-item-label{width:120px}.access-log-list .text-ellipsis[data-v-6ddd5a92]{display:inline-block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.json-container[data-v-793d348e]{max-height:200px;overflow:auto;background:#f5f5f5;padding:12px;border-radius:4px}.json-container pre[data-v-793d348e]{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.stack-container[data-v-793d348e]{max-height:400px;overflow:auto;background:#fff2f0;border:1px solid #ffccc7;padding:12px;border-radius:4px}.stack-container pre[data-v-793d348e]{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:11px;line-height:1.4;color:#a8071a}[data-v-793d348e] .ant-descriptions-item-label{width:120px}.error-log-list .text-ellipsis[data-v-42424c70]{display:inline-block;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.notice[data-v-1d93855a]{color:#ff4d4f;font-size:18px}.table-operator[data-v-d604435e]{margin:10px 14px 20px 0}[data-v-d604435e] .ant-descriptions-item-label{width:140px}.tree-container[data-v-d604435e] .ant-tree{max-height:520px;overflow:auto}.guide-code[data-v-b98af2f8]{background:#f5f5f5;border:1px solid #e8e8e8;border-radius:4px;padding:12px;font-size:13px;line-height:1.6;overflow-x:auto;white-space:pre-wrap;word-break:break-all}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./StatusIndex.vue2.js");;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./StatusIndex.vue2.js");;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-6da7c3e0"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("./api.js"),v=require("ant-design-vue"),b=require("@ant-design/icons-vue"),_=require("@since2006/utils"),h={class:"info-row"},j={style:{"margin-bottom":"14px"}},O={class:"info-row"},B={class:"info-row"},I={class:"info-row"},M={class:"info-row"},T={class:"info-row"},z={class:"info-row"},A={class:"info-row"},J={class:"info-row"},P={class:"info-row"},q={class:"info-row"},L={class:"info-row"},U={class:"info-row"},$={class:"info-row"},H={class:"info-row"},X={class:"info-row"},W={class:"info-row"},F={class:"info-row"},G={class:"info-row"},K={class:"info-row"},Q={class:"info-row"},R={class:"info-row"},Y={class:"info-row"},Z={class:"info-row"},ee={class:"info-row"},te={class:"info-row"},ne={class:"info-row"},oe={class:"info-row"},le={class:"info-row"},se={key:1},ae={class:"info-row"},ie={class:"info-row",style:{color:"orangered","font-weight":"bold"}},re={class:"info-row"},de={class:"info-row"},pe={class:"info-row"},ce={key:1},me=e.defineComponent({__name:"StatusIndex",setup(ue){const y=_.getContextPath(),C=_.getToken(),a=e.ref(!1),E=e.ref(),i=e.reactive({}),n=e.reactive({}),l=e.reactive({}),o=e.reactive({}),V=e.reactive({}),d=e.reactive({}),p=e.reactive({}),g=async()=>{var N;a.value=!0;const s=await w.getStatus();s.code===200&&(Object.assign(i,s.data),Object.assign(n,i.license),Object.assign(l,i.database),Object.assign(o,i.jvm),Object.assign(V,i.os),Object.assign(d,i.app),Object.assign(p,(N=i.jvm)==null?void 0:N.thread));const t=await w.getMachineCode();E.value=t.data,a.value=!1};g();const x=s=>{s.file.status==="done"?s.file.response.code===200?(v.notification.success({message:"License 更新成功",description:"将重新加载 License 信息,请确认是否正确"}),g()):v.notification.error({message:s.file.response.msg,description:"请检查 License 文件是否正确"}):s.file.status==="error"&&v.notification.error({message:"上传失败"})};return(s,t)=>{const N=e.resolveComponent("a-progress"),c=e.resolveComponent("a-skeleton"),m=e.resolveComponent("a-card"),r=e.resolveComponent("a-col"),u=e.resolveComponent("a-typography-text"),f=e.resolveComponent("a-row"),S=e.resolveComponent("a-button"),D=e.resolveComponent("a-upload"),k=e.resolveComponent("a-tooltip");return e.openBlock(),e.createBlock(f,{gutter:16},{default:e.withCtx(()=>[e.createVNode(r,{span:12},{default:e.withCtx(()=>[e.createVNode(f,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"内存线程信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",h,[t[0]||(t[0]=e.createElementVNode("span",null,"当前用量",-1)),e.createElementVNode("span",null,e.toDisplayString(o.usedMemorySize)+" / "+e.toDisplayString(o.totalMemorySize),1)]),e.createElementVNode("div",j,[e.createVNode(N,{percent:o.memoryUsage,size:12},null,8,["percent"])]),e.createElementVNode("div",O,[t[1]||(t[1]=e.createElementVNode("span",null,"当前可用",-1)),e.createElementVNode("span",null,e.toDisplayString(o.freeMemorySize),1)]),e.createElementVNode("div",B,[t[2]||(t[2]=e.createElementVNode("span",null,"最大堆(-Xmx)",-1)),e.createElementVNode("span",null,e.toDisplayString(o.maxMemorySize),1)]),e.createElementVNode("div",I,[t[3]||(t[3]=e.createElementVNode("span",null,"当前线程数",-1)),e.createElementVNode("span",null,e.toDisplayString(p.threadCount),1)]),e.createElementVNode("div",M,[t[4]||(t[4]=e.createElementVNode("span",null,"守护线程数",-1)),e.createElementVNode("span",null,e.toDisplayString(p.daemonThreadCount),1)]),e.createElementVNode("div",T,[t[5]||(t[5]=e.createElementVNode("span",null,"最大线程峰值",-1)),e.createElementVNode("span",null,e.toDisplayString(p.peakThreadCount),1)]),e.createElementVNode("div",z,[t[6]||(t[6]=e.createElementVNode("span",null,"创建线程总数",-1)),e.createElementVNode("span",null,e.toDisplayString(p.totalStartedThreadCount),1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"主数据库信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",A,[t[7]||(t[7]=e.createElementVNode("span",null,"数据库名称",-1)),e.createElementVNode("span",null,e.toDisplayString(l.productName),1)]),e.createElementVNode("div",J,[t[8]||(t[8]=e.createElementVNode("span",null,"数据库版本",-1)),e.createElementVNode("span",null,e.toDisplayString(l.productVersion),1)]),e.createElementVNode("div",P,[t[9]||(t[9]=e.createElementVNode("span",null,"驱动名称",-1)),e.createVNode(u,{class:"info-value-ellipsis",ellipsis:{tooltip:l.driverVersion},content:l.driverVersion},null,8,["ellipsis","content"])]),e.createElementVNode("div",q,[t[10]||(t[10]=e.createElementVNode("span",null,"数据库连接池",-1)),e.createElementVNode("span",null,e.toDisplayString(l.poolName),1)]),e.createElementVNode("div",L,[t[11]||(t[11]=e.createElementVNode("span",null,"最大活跃连接数",-1)),e.createElementVNode("span",null,e.toDisplayString(l.maxActive),1)]),e.createElementVNode("div",U,[t[12]||(t[12]=e.createElementVNode("span",null,"最小空闲连接数",-1)),e.createElementVNode("span",null,e.toDisplayString(l.minIdle),1)]),e.createElementVNode("div",$,[t[13]||(t[13]=e.createElementVNode("span",null,"获取连接等待时间",-1)),e.createElementVNode("span",null,e.toDisplayString(l.maxWait)+"ms",1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"系统信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",H,[t[14]||(t[14]=e.createElementVNode("span",null,"应用服务器",-1)),e.createElementVNode("span",null,e.toDisplayString(d.serverInfo),1)]),e.createElementVNode("div",X,[t[15]||(t[15]=e.createElementVNode("span",null,"工作目录",-1)),e.createVNode(u,{class:"info-value-ellipsis",ellipsis:{tooltip:d.appPath},content:d.appPath},null,8,["ellipsis","content"])]),e.createElementVNode("div",W,[t[16]||(t[16]=e.createElementVNode("span",null,"会话超时(Session Timeout)",-1)),e.createElementVNode("span",null,e.toDisplayString(d.maxInactiveInterval/60)+"分钟",1)]),e.createElementVNode("div",F,[t[17]||(t[17]=e.createElementVNode("span",null,"缓存管理",-1)),e.createElementVNode("span",null,e.toDisplayString(d.cacheManager),1)])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1}),e.createVNode(r,{span:12},{default:e.withCtx(()=>[e.createVNode(f,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"JVM信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",G,[t[18]||(t[18]=e.createElementVNode("span",null,"系统启动时间",-1)),e.createElementVNode("span",null,e.toDisplayString(o.startTimeDisplay),1)]),e.createElementVNode("div",K,[t[19]||(t[19]=e.createElementVNode("span",null,"系统运行时长",-1)),e.createElementVNode("span",null,e.toDisplayString(o.uptimeDisplay),1)]),e.createElementVNode("div",Q,[t[20]||(t[20]=e.createElementVNode("span",null,"Java安装目录",-1)),e.createVNode(u,{class:"info-value-ellipsis",ellipsis:{tooltip:o.javaHome},content:o.javaHome},null,8,["ellipsis","content"])]),e.createElementVNode("div",R,[t[21]||(t[21]=e.createElementVNode("span",null,"Java版本",-1)),e.createElementVNode("span",null,e.toDisplayString(o.javaVersion),1)]),e.createElementVNode("div",Y,[t[22]||(t[22]=e.createElementVNode("span",null,"Java供应商",-1)),e.createElementVNode("span",null,e.toDisplayString(o.javaVendor),1)]),e.createElementVNode("div",Z,[t[23]||(t[23]=e.createElementVNode("span",null,"操作系统",-1)),e.createElementVNode("span",null,e.toDisplayString(V.name)+" "+e.toDisplayString(V.version),1)]),e.createElementVNode("div",ee,[t[24]||(t[24]=e.createElementVNode("span",null,"系统核心数",-1)),e.createElementVNode("span",null,e.toDisplayString(V.availableProcessors),1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"授权信息"},{extra:e.withCtx(()=>[e.createVNode(D,{name:"file",action:`${e.unref(y)}/api/v1/license/update_license`,headers:{"X-Auth-Token":e.unref(C)},showUploadList:!1,onChange:x},{default:e.withCtx(()=>[e.createVNode(S,{icon:e.h(e.unref(b.CloudUploadOutlined))},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("更新",-1)])]),_:1},8,["icon"])]),_:1},8,["action","headers"])]),default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",te,[t[26]||(t[26]=e.createElementVNode("span",null,"当前机器码",-1)),e.createVNode(u,{copyable:"",code:"",style:{color:"brown","font-size":"16px"},ellipsis:{tooltip:E.value},content:E.value},null,8,["ellipsis","content"])]),e.createElementVNode("div",ne,[t[27]||(t[27]=e.createElementVNode("span",null,"授权使用",-1)),e.createElementVNode("span",null,e.toDisplayString(n.company),1)]),e.createElementVNode("div",oe,[t[28]||(t[28]=e.createElementVNode("span",null,"授权IP",-1)),e.createElementVNode("span",null,e.toDisplayString(n.ip?n.ip:"无限制"),1)]),e.createElementVNode("div",le,[t[29]||(t[29]=e.createElementVNode("span",null,"授权机器码",-1)),n.machineCode?(e.openBlock(),e.createBlock(u,{key:0,class:"info-value-ellipsis",ellipsis:{tooltip:n.machineCode},content:n.machineCode},null,8,["ellipsis","content"])):(e.openBlock(),e.createElementBlock("span",se,"无限制"))]),e.createElementVNode("div",ae,[t[30]||(t[30]=e.createElementVNode("span",null,"授权日期",-1)),e.createElementVNode("span",null,e.toDisplayString(n.createdAt),1)]),e.createElementVNode("div",ie,[t[31]||(t[31]=e.createElementVNode("span",null,"结束日期",-1)),e.createElementVNode("span",null,e.toDisplayString(n.expiresAt?n.expiresAt:"无限制"),1)]),e.createElementVNode("div",re,[t[32]||(t[32]=e.createElementVNode("span",null,"最大用户数",-1)),e.createElementVNode("span",null,e.toDisplayString(n.users?`${n.users} 人`:"无限制"),1)]),e.createElementVNode("div",de,[t[33]||(t[33]=e.createElementVNode("span",null,"最大流程实例数",-1)),e.createElementVNode("span",null,e.toDisplayString(n.workflowInstances?`${n.workflowInstances} 条`:"无限制"),1)]),e.createElementVNode("div",pe,[t[34]||(t[34]=e.createElementVNode("span",null,"扩展信息",-1)),n.extras?(e.openBlock(),e.createBlock(k,{key:0,title:JSON.stringify(n.extras)},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(JSON.stringify(n.extras)),1)]),_:1},8,["title"])):(e.openBlock(),e.createElementBlock("span",ce,"无"))])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});exports.default=me;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("./api.js"),v=require("ant-design-vue"),h=require("@ant-design/icons-vue"),g=require("@since2006/utils"),O={class:"info-row"},B={style:{"margin-bottom":"14px"}},I={class:"info-row"},M={class:"info-row"},T={class:"info-row"},z={class:"info-row"},J={class:"info-row"},L={class:"info-row"},P={class:"info-row"},q={class:"info-row"},A={class:"info-row"},H={class:"info-row"},U={class:"info-row"},$={class:"info-row"},W={class:"info-row"},X={class:"info-row"},F={class:"info-row"},G={class:"info-row"},K={class:"info-row"},Q={class:"info-row"},R={class:"info-row"},Y={class:"info-row"},Z={class:"info-row"},ee={class:"info-row"},te={class:"info-row"},ne={class:"info-row"},oe={class:"info-row"},le={class:"info-row"},se={class:"info-row"},ae={class:"info-row"},ie={key:1},re={class:"info-row"},de={class:"info-row",style:{color:"orangered","font-weight":"bold"}},pe={class:"info-row"},ce={class:"info-row"},me={class:"info-row"},ue={key:1},Ve={class:"info-row"},Ne=e.defineComponent({__name:"StatusIndex",setup(Ee){const x=g.getContextPath(),S={[g.getTokenHeader()]:g.getToken()},a=e.ref(!1),E=e.ref(),i=e.reactive({}),n=e.reactive({}),l=e.reactive({}),o=e.reactive({}),V=e.reactive({}),d=e.reactive({}),p=e.reactive({}),w=async()=>{var N;a.value=!0;const s=await C.getStatus();s.code===200&&(Object.assign(i,s.data),Object.assign(n,i.license),Object.assign(l,i.database),Object.assign(o,i.jvm),Object.assign(V,i.os),Object.assign(d,i.app),Object.assign(p,(N=i.jvm)==null?void 0:N.thread));const t=await C.getMachineCode();E.value=t.data,a.value=!1};w();const D=s=>{s.file.status==="done"?s.file.response.code===200?(v.notification.success({message:"License 更新成功",description:"将重新加载 License 信息,请确认是否正确"}),w()):v.notification.error({message:s.file.response.msg,description:"请检查 License 文件是否正确"}):s.file.status==="error"&&v.notification.error({message:"上传失败"})};return(s,t)=>{const N=e.resolveComponent("a-progress"),c=e.resolveComponent("a-skeleton"),m=e.resolveComponent("a-card"),r=e.resolveComponent("a-col"),u=e.resolveComponent("a-typography-text"),f=e.resolveComponent("a-row"),k=e.resolveComponent("a-button"),b=e.resolveComponent("a-upload"),j=e.resolveComponent("a-tooltip");return e.openBlock(),e.createBlock(f,{gutter:16},{default:e.withCtx(()=>[e.createVNode(r,{span:12},{default:e.withCtx(()=>[e.createVNode(f,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"内存线程信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",O,[t[0]||(t[0]=e.createElementVNode("span",null,"当前用量",-1)),e.createElementVNode("span",null,e.toDisplayString(o.usedMemorySize)+" / "+e.toDisplayString(o.totalMemorySize),1)]),e.createElementVNode("div",B,[e.createVNode(N,{percent:o.memoryUsage,size:12},null,8,["percent"])]),e.createElementVNode("div",I,[t[1]||(t[1]=e.createElementVNode("span",null,"当前可用",-1)),e.createElementVNode("span",null,e.toDisplayString(o.freeMemorySize),1)]),e.createElementVNode("div",M,[t[2]||(t[2]=e.createElementVNode("span",null,"最大堆(-Xmx)",-1)),e.createElementVNode("span",null,e.toDisplayString(o.maxMemorySize),1)]),e.createElementVNode("div",T,[t[3]||(t[3]=e.createElementVNode("span",null,"当前线程数",-1)),e.createElementVNode("span",null,e.toDisplayString(p.threadCount),1)]),e.createElementVNode("div",z,[t[4]||(t[4]=e.createElementVNode("span",null,"守护线程数",-1)),e.createElementVNode("span",null,e.toDisplayString(p.daemonThreadCount),1)]),e.createElementVNode("div",J,[t[5]||(t[5]=e.createElementVNode("span",null,"最大线程峰值",-1)),e.createElementVNode("span",null,e.toDisplayString(p.peakThreadCount),1)]),e.createElementVNode("div",L,[t[6]||(t[6]=e.createElementVNode("span",null,"创建线程总数",-1)),e.createElementVNode("span",null,e.toDisplayString(p.totalStartedThreadCount),1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"主数据库信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",P,[t[7]||(t[7]=e.createElementVNode("span",null,"数据库名称",-1)),e.createElementVNode("span",null,e.toDisplayString(l.productName),1)]),e.createElementVNode("div",q,[t[8]||(t[8]=e.createElementVNode("span",null,"数据库版本",-1)),e.createElementVNode("span",null,e.toDisplayString(l.productVersion),1)]),e.createElementVNode("div",A,[t[9]||(t[9]=e.createElementVNode("span",null,"驱动名称",-1)),e.createVNode(u,{class:"info-value-ellipsis",ellipsis:{tooltip:l.driverVersion},content:l.driverVersion},null,8,["ellipsis","content"])]),e.createElementVNode("div",H,[t[10]||(t[10]=e.createElementVNode("span",null,"数据库连接池",-1)),e.createElementVNode("span",null,e.toDisplayString(l.poolName),1)]),e.createElementVNode("div",U,[t[11]||(t[11]=e.createElementVNode("span",null,"最大活跃连接数",-1)),e.createElementVNode("span",null,e.toDisplayString(l.maxActive),1)]),e.createElementVNode("div",$,[t[12]||(t[12]=e.createElementVNode("span",null,"最小空闲连接数",-1)),e.createElementVNode("span",null,e.toDisplayString(l.minIdle),1)]),e.createElementVNode("div",W,[t[13]||(t[13]=e.createElementVNode("span",null,"获取连接等待时间",-1)),e.createElementVNode("span",null,e.toDisplayString(l.maxWait)+"ms",1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"系统信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",X,[t[14]||(t[14]=e.createElementVNode("span",null,"应用服务器",-1)),e.createElementVNode("span",null,e.toDisplayString(d.serverInfo),1)]),e.createElementVNode("div",F,[t[15]||(t[15]=e.createElementVNode("span",null,"工作目录",-1)),e.createVNode(u,{class:"info-value-ellipsis",ellipsis:{tooltip:d.appPath},content:d.appPath},null,8,["ellipsis","content"])]),e.createElementVNode("div",G,[t[16]||(t[16]=e.createElementVNode("span",null,"会话超时(Session Timeout)",-1)),e.createElementVNode("span",null,e.toDisplayString(d.maxInactiveInterval/60)+"分钟",1)]),e.createElementVNode("div",K,[t[17]||(t[17]=e.createElementVNode("span",null,"缓存管理",-1)),e.createElementVNode("span",null,e.toDisplayString(d.cacheManager),1)])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1}),e.createVNode(r,{span:12},{default:e.withCtx(()=>[e.createVNode(f,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"JVM信息"},{default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",Q,[t[18]||(t[18]=e.createElementVNode("span",null,"系统启动时间",-1)),e.createElementVNode("span",null,e.toDisplayString(o.startTimeDisplay),1)]),e.createElementVNode("div",R,[t[19]||(t[19]=e.createElementVNode("span",null,"系统运行时长",-1)),e.createElementVNode("span",null,e.toDisplayString(o.uptimeDisplay),1)]),e.createElementVNode("div",Y,[t[20]||(t[20]=e.createElementVNode("span",null,"Java安装目录",-1)),e.createVNode(u,{class:"info-value-ellipsis",ellipsis:{tooltip:o.javaHome},content:o.javaHome},null,8,["ellipsis","content"])]),e.createElementVNode("div",Z,[t[21]||(t[21]=e.createElementVNode("span",null,"Java版本",-1)),e.createElementVNode("span",null,e.toDisplayString(o.javaVersion),1)]),e.createElementVNode("div",ee,[t[22]||(t[22]=e.createElementVNode("span",null,"Java供应商",-1)),e.createElementVNode("span",null,e.toDisplayString(o.javaVendor),1)]),e.createElementVNode("div",te,[t[23]||(t[23]=e.createElementVNode("span",null,"操作系统",-1)),e.createElementVNode("span",null,e.toDisplayString(V.name)+" "+e.toDisplayString(V.version),1)]),e.createElementVNode("div",ne,[t[24]||(t[24]=e.createElementVNode("span",null,"系统核心数",-1)),e.createElementVNode("span",null,e.toDisplayString(V.availableProcessors),1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(r,{span:24},{default:e.withCtx(()=>[e.createVNode(m,{title:"授权信息"},{extra:e.withCtx(()=>[e.createVNode(b,{name:"file",action:`${e.unref(x)}/api/v1/license/update_license`,headers:S,showUploadList:!1,onChange:D},{default:e.withCtx(()=>[e.createVNode(k,{icon:e.h(e.unref(h.CloudUploadOutlined))},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("更新",-1)])]),_:1},8,["icon"])]),_:1},8,["action"])]),default:e.withCtx(()=>[e.createVNode(c,{loading:a.value},{default:e.withCtx(()=>{var _,y;return[e.createElementVNode("div",oe,[t[26]||(t[26]=e.createElementVNode("span",null,"当前机器码",-1)),e.createVNode(u,{copyable:"",code:"",style:{color:"brown","font-size":"16px"},ellipsis:{tooltip:E.value},content:E.value},null,8,["ellipsis","content"])]),e.createElementVNode("div",le,[t[27]||(t[27]=e.createElementVNode("span",null,"授权使用",-1)),e.createElementVNode("span",null,e.toDisplayString(n.company),1)]),e.createElementVNode("div",se,[t[28]||(t[28]=e.createElementVNode("span",null,"授权IP",-1)),e.createElementVNode("span",null,e.toDisplayString((_=n.ip)!=null&&_.length?n.ip.join(" / "):"无限制"),1)]),e.createElementVNode("div",ae,[t[29]||(t[29]=e.createElementVNode("span",null,"授权机器码",-1)),(y=n.machineCode)!=null&&y.length?(e.openBlock(),e.createBlock(u,{key:0,class:"info-value-ellipsis",ellipsis:{tooltip:n.machineCode.join(" / ")},content:n.machineCode.join(" / ")},null,8,["ellipsis","content"])):(e.openBlock(),e.createElementBlock("span",ie,"无限制"))]),e.createElementVNode("div",re,[t[30]||(t[30]=e.createElementVNode("span",null,"授权日期",-1)),e.createElementVNode("span",null,e.toDisplayString(n.createdAt),1)]),e.createElementVNode("div",de,[t[31]||(t[31]=e.createElementVNode("span",null,"结束日期",-1)),e.createElementVNode("span",null,e.toDisplayString(n.expiresAt?n.expiresAt:"无限制"),1)]),e.createElementVNode("div",pe,[t[32]||(t[32]=e.createElementVNode("span",null,"最大用户数",-1)),e.createElementVNode("span",null,e.toDisplayString(n.users?`${n.users} 人`:"无限制"),1)]),e.createElementVNode("div",ce,[t[33]||(t[33]=e.createElementVNode("span",null,"最大流程实例数",-1)),e.createElementVNode("span",null,e.toDisplayString(n.workflowInstances?`${n.workflowInstances} 条`:"无限制"),1)]),e.createElementVNode("div",me,[t[34]||(t[34]=e.createElementVNode("span",null,"扩展信息",-1)),n.extras?(e.openBlock(),e.createBlock(j,{key:0,title:JSON.stringify(n.extras)},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(JSON.stringify(n.extras)),1)]),_:1},8,["title"])):(e.openBlock(),e.createElementBlock("span",ue,"无"))]),e.createElementVNode("div",Ve,[t[35]||(t[35]=e.createElementVNode("span",null,"License 版本",-1)),e.createElementVNode("span",null,"v"+e.toDisplayString(n.version),1)])]}),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});exports.default=Ne;
|
package/dist/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.info-row[data-v-
|
|
1
|
+
.info-row[data-v-6da7c3e0]{display:flex;justify-content:space-between;align-items:center;font-size:16px;min-height:32px}.info-row+.info-row[data-v-6da7c3e0]{margin-top:8px}.info-value-ellipsis[data-v-6da7c3e0]{max-width:300px;font-size:16px}.icon-selector deep(ul) li.active[data-v-a47fcf40],.icon-selector deep(ul) li[data-v-a47fcf40]:hover{border-radius:2px;border-color:#4a4a48;background-color:#4a4a48;color:#fff;transition:all .3s;box-shadow:none}.icon-selector deep(ul) i[data-v-a47fcf40]{font-size:1.5rem;border:1px solid #f1f1f1;padding:.02rem;margin:.03rem;cursor:pointer}.ant-form[data-v-83fb02af]{padding-top:20px}.permission-tree[data-v-83fb02af],.permission-tree[data-v-9f5945ff]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-730b9499] .ant-pro-table-list-toolbar-container{padding-left:6px}.ant-input-search[data-v-730b9499]{margin-bottom:8px}.search-input[data-v-730b9499]{width:100%;padding-left:10px;padding-right:10px}@media (min-width: 1280px){.search-input[data-v-730b9499]{width:80%}}@media (min-width: 1920px){.search-input[data-v-730b9499]{width:70%}}.cron-detail[data-v-dd4b2211]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-dd4b2211]{width:70px}.cron-detail .ant-input[data-v-dd4b2211]{width:280px}.cron-detail[data-v-3b943880]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-3b943880]{width:70px}.cron-detail .ant-input[data-v-3b943880]{width:280px}[data-v-418f353d] .ant-descriptions-item-label{width:140px}.text-ellipsis[data-v-c407c636]{display:inline-block;max-width:600px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}[data-v-c407c636] .ant-descriptions-item-label{width:120px}.ua-icon[data-v-f846ecbb]{width:1.2em;height:1.2em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.login-log-list .text-ellipsis[data-v-f4cf8b13]{display:inline-block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.method-text[data-v-8d1c9637]{background:#f5f5f5;padding:2px 6px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px}.json-container[data-v-8d1c9637]{max-height:300px;overflow:auto;background:#f5f5f5;padding:12px;border-radius:4px}.json-container pre[data-v-8d1c9637]{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}[data-v-8d1c9637] .ant-descriptions-item-label{width:120px}.operation-log-list .text-ellipsis[data-v-d2d8eebd]{display:inline-block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}[data-v-bdeeb034] .ant-descriptions-item-label{width:120px}.audit-log-list .text-ellipsis[data-v-4290a852]{display:inline-block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.text-ellipsis[data-v-7436a600]{display:inline-block;max-width:600px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.performance-analysis[data-v-7436a600]{padding:16px;background:#fafafa;border-radius:6px}.performance-analysis[data-v-7436a600] .ant-statistic{text-align:center}[data-v-7436a600] .ant-descriptions-item-label{width:120px}.access-log-list .text-ellipsis[data-v-6ddd5a92]{display:inline-block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.json-container[data-v-793d348e]{max-height:200px;overflow:auto;background:#f5f5f5;padding:12px;border-radius:4px}.json-container pre[data-v-793d348e]{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.stack-container[data-v-793d348e]{max-height:400px;overflow:auto;background:#fff2f0;border:1px solid #ffccc7;padding:12px;border-radius:4px}.stack-container pre[data-v-793d348e]{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:11px;line-height:1.4;color:#a8071a}[data-v-793d348e] .ant-descriptions-item-label{width:120px}.error-log-list .text-ellipsis[data-v-42424c70]{display:inline-block;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.notice[data-v-1d93855a]{color:#ff4d4f;font-size:18px}.table-operator[data-v-d604435e]{margin:10px 14px 20px 0}[data-v-d604435e] .ant-descriptions-item-label{width:140px}.tree-container[data-v-d604435e] .ant-tree{max-height:520px;overflow:auto}.guide-code[data-v-b98af2f8]{background:#f5f5f5;border:1px solid #e8e8e8;border-radius:4px;padding:12px;font-size:13px;line-height:1.6;overflow-x:auto;white-space:pre-wrap;word-break:break-all}
|