@since2006/pages 2025.11.1 → 2026.1.0
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/log/components/AccessLogList.vue.js +2 -2
- package/dist/es/src/app/log/components/AccessLogList.vue2.js +7 -8
- package/dist/es/src/app/log/components/AuditLogList.vue.js +1 -1
- package/dist/es/src/app/log/components/AuditLogList.vue2.js +1 -2
- package/dist/es/src/app/log/components/ErrorLogList.vue.js +2 -2
- package/dist/es/src/app/log/components/ErrorLogList.vue2.js +1 -2
- package/dist/es/src/app/log/components/LoginLogList.vue.js +1 -1
- package/dist/es/src/app/log/components/LoginLogList.vue2.js +7 -6
- package/dist/es/src/app/log/components/OperationLogList.vue.js +2 -2
- package/dist/es/src/app/log/components/OperationLogList.vue2.js +1 -2
- package/dist/es/src/app/system/StatusIndex.vue.js +1 -1
- package/dist/es/src/app/system/StatusIndex.vue2.js +209 -206
- package/dist/es/src/app/system/api.js +3 -2
- package/dist/es/style.css +1 -1
- package/dist/lib/src/app/log/components/AccessLogList.vue.js +1 -1
- package/dist/lib/src/app/log/components/AccessLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/AuditLogList.vue.js +1 -1
- package/dist/lib/src/app/log/components/AuditLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/ErrorLogList.vue.js +1 -1
- package/dist/lib/src/app/log/components/ErrorLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/LoginLogList.vue.js +1 -1
- package/dist/lib/src/app/log/components/LoginLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/OperationLogList.vue.js +1 -1
- package/dist/lib/src/app/log/components/OperationLogList.vue2.js +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/src/app/system/api.js +1 -1
- package/dist/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,85 +1,87 @@
|
|
|
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 U, ref as V, reactive as f, resolveComponent as i, openBlock as b, createBlock as h, withCtx as o, createVNode as n, createElementVNode as t, toDisplayString as l, unref as S, h as B, createTextVNode as M, createElementBlock as T, Fragment as $ } from "vue";
|
|
2
|
+
import { getStatus as E, getMachineCode as H } from "./api.js";
|
|
3
|
+
import { notification as O } from "ant-design-vue";
|
|
4
|
+
import { CloudUploadOutlined as X } from "@ant-design/icons-vue";
|
|
5
|
+
import { getContextPath as F, getToken as W } from "@since2006/utils";
|
|
6
|
+
const q = { class: "large-text" }, G = { class: "float-right" }, K = { style: { "margin-right": "18px", "margin-bottom": "14px" } }, Q = { class: "large-text" }, R = { class: "float-right" }, Y = { class: "large-text" }, Z = { class: "float-right" }, c = { class: "large-text" }, tt = { class: "float-right" }, st = { class: "large-text" }, lt = { class: "float-right" }, nt = { class: "large-text" }, ot = { class: "float-right" }, et = { class: "large-text" }, at = { class: "float-right" }, it = { class: "large-text" }, rt = { class: "float-right" }, dt = { class: "large-text" }, pt = { class: "float-right" }, ut = { class: "large-text" }, gt = { class: "float-right" }, ft = { class: "large-text" }, _t = { class: "float-right" }, mt = { class: "large-text" }, vt = { class: "float-right" }, xt = { class: "large-text" }, bt = { class: "float-right" }, yt = { class: "large-text" }, wt = { class: "float-right" }, Ct = { class: "large-text" }, kt = { class: "float-right" }, jt = { class: "large-text" }, ht = { class: "float-right" }, St = { class: "large-text" }, Ot = { class: "float-right" }, It = { class: "large-text" }, Vt = { class: "float-right" }, Mt = { class: "large-text" }, Tt = { class: "float-right" }, Nt = { class: "large-text" }, Jt = { class: "float-right" }, zt = { class: "large-text" }, At = { class: "float-right" }, Lt = { class: "large-text" }, Pt = { class: "float-right" }, Dt = { class: "large-text" }, Ut = { class: "float-right" }, Bt = { class: "large-text" }, $t = { class: "float-right" }, Et = { class: "large-text" }, Ht = { class: "float-right" }, Xt = { class: "large-text" }, Ft = { class: "float-right" }, Wt = { class: "large-text" }, qt = { class: "float-right" }, Gt = { class: "large-text" }, Kt = { class: "float-right" }, Qt = { class: "large-text" }, Rt = { class: "float-right" }, Yt = { class: "large-text" }, Zt = { class: "float-right" }, ct = {
|
|
7
7
|
class: "large-text",
|
|
8
8
|
style: { color: "orangered", "font-weight": "bold" }
|
|
9
|
-
},
|
|
9
|
+
}, ts = { class: "float-right" }, ss = { class: "large-text" }, ls = { class: "float-right" }, ns = { class: "large-text" }, os = { class: "float-right" }, es = { class: "large-text" }, as = { class: "float-right" }, is = { class: "float-right" }, rs = {
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "float-right"
|
|
12
|
-
},
|
|
12
|
+
}, ms = /* @__PURE__ */ U({
|
|
13
13
|
__name: "StatusIndex",
|
|
14
|
-
setup(
|
|
15
|
-
const N =
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
const d = await
|
|
19
|
-
d.code === 200 && (Object.assign(
|
|
14
|
+
setup(ds) {
|
|
15
|
+
const N = F(), J = W(), p = V(!1), k = V(), u = f({}), e = f({}), r = f({}), a = f({}), y = f({}), _ = f({}), m = f({}), I = async () => {
|
|
16
|
+
var w;
|
|
17
|
+
p.value = !0;
|
|
18
|
+
const d = await E();
|
|
19
|
+
d.code === 200 && (Object.assign(u, d.data), Object.assign(e, u.license), Object.assign(r, u.database), Object.assign(a, u.jvm), Object.assign(y, u.os), Object.assign(_, u.app), Object.assign(m, (w = u.jvm) == null ? void 0 : w.thread));
|
|
20
|
+
const s = await H();
|
|
21
|
+
k.value = s.data, p.value = !1;
|
|
20
22
|
};
|
|
21
23
|
I();
|
|
22
|
-
const
|
|
23
|
-
d.file.status === "done" ? d.file.response.code === 200 ? (
|
|
24
|
+
const z = (d) => {
|
|
25
|
+
d.file.status === "done" ? d.file.response.code === 200 ? (O.success({
|
|
24
26
|
message: "License 更新成功",
|
|
25
27
|
description: "将重新加载 License 信息,请确认是否正确"
|
|
26
|
-
}), I()) :
|
|
28
|
+
}), I()) : O.error({
|
|
27
29
|
message: d.file.response.msg,
|
|
28
30
|
description: "请检查 License 文件是否正确"
|
|
29
|
-
}) : d.file.status === "error" &&
|
|
31
|
+
}) : d.file.status === "error" && O.error({ message: "上传失败" });
|
|
30
32
|
};
|
|
31
|
-
return (d,
|
|
32
|
-
const
|
|
33
|
-
return
|
|
33
|
+
return (d, s) => {
|
|
34
|
+
const w = i("a-progress"), v = i("a-skeleton"), x = i("a-card"), g = i("a-col"), C = i("a-typography-text"), j = i("a-row"), A = i("a-button"), L = i("a-upload"), P = i("a-typography-paragraph"), D = i("a-tooltip");
|
|
35
|
+
return b(), h(j, { gutter: 16 }, {
|
|
34
36
|
default: o(() => [
|
|
35
37
|
n(g, { span: 12 }, {
|
|
36
38
|
default: o(() => [
|
|
37
|
-
n(
|
|
39
|
+
n(j, { gutter: [16, 16] }, {
|
|
38
40
|
default: o(() => [
|
|
39
41
|
n(g, { span: 24 }, {
|
|
40
42
|
default: o(() => [
|
|
41
|
-
n(
|
|
43
|
+
n(x, { title: "内存线程信息" }, {
|
|
42
44
|
default: o(() => [
|
|
43
|
-
n(
|
|
45
|
+
n(v, { loading: p.value }, {
|
|
44
46
|
default: o(() => [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
n(
|
|
47
|
+
t("div", q, [
|
|
48
|
+
s[0] || (s[0] = t("span", null, "当前用量", -1)),
|
|
49
|
+
t("span", G, l(a.usedMemorySize) + " / " + l(a.totalMemorySize), 1),
|
|
50
|
+
t("div", K, [
|
|
51
|
+
n(w, {
|
|
50
52
|
percent: a.memoryUsage,
|
|
51
53
|
size: 12
|
|
52
54
|
}, null, 8, ["percent"])
|
|
53
55
|
])
|
|
54
56
|
]),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
]),
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
]),
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
]),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
]),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
]),
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
57
|
+
t("div", Q, [
|
|
58
|
+
s[1] || (s[1] = t("span", null, "当前可用", -1)),
|
|
59
|
+
t("span", R, l(a.freeMemorySize), 1)
|
|
60
|
+
]),
|
|
61
|
+
s[7] || (s[7] = t("br", null, null, -1)),
|
|
62
|
+
t("div", Y, [
|
|
63
|
+
s[2] || (s[2] = t("span", null, "最大堆(-Xmx)", -1)),
|
|
64
|
+
t("span", Z, l(a.maxMemorySize), 1)
|
|
65
|
+
]),
|
|
66
|
+
s[8] || (s[8] = t("br", null, null, -1)),
|
|
67
|
+
t("div", c, [
|
|
68
|
+
s[3] || (s[3] = t("span", null, "当前线程数", -1)),
|
|
69
|
+
t("span", tt, l(m.threadCount), 1)
|
|
70
|
+
]),
|
|
71
|
+
s[9] || (s[9] = t("br", null, null, -1)),
|
|
72
|
+
t("div", st, [
|
|
73
|
+
s[4] || (s[4] = t("span", null, "守护线程数", -1)),
|
|
74
|
+
t("span", lt, l(m.daemonThreadCount), 1)
|
|
75
|
+
]),
|
|
76
|
+
s[10] || (s[10] = t("br", null, null, -1)),
|
|
77
|
+
t("div", nt, [
|
|
78
|
+
s[5] || (s[5] = t("span", null, "最大线程峰值", -1)),
|
|
79
|
+
t("span", ot, l(m.peakThreadCount), 1)
|
|
80
|
+
]),
|
|
81
|
+
s[11] || (s[11] = t("br", null, null, -1)),
|
|
82
|
+
t("div", et, [
|
|
83
|
+
s[6] || (s[6] = t("span", null, "创建线程总数", -1)),
|
|
84
|
+
t("span", at, l(m.totalStartedThreadCount), 1)
|
|
83
85
|
])
|
|
84
86
|
]),
|
|
85
87
|
_: 1
|
|
@@ -92,52 +94,52 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
92
94
|
}),
|
|
93
95
|
n(g, { span: 24 }, {
|
|
94
96
|
default: o(() => [
|
|
95
|
-
n(
|
|
97
|
+
n(x, { title: "主数据库信息" }, {
|
|
96
98
|
default: o(() => [
|
|
97
|
-
n(
|
|
99
|
+
n(v, { loading: p.value }, {
|
|
98
100
|
default: o(() => [
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
]),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
]),
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
n(
|
|
101
|
+
t("div", it, [
|
|
102
|
+
s[12] || (s[12] = t("span", null, "数据库名称", -1)),
|
|
103
|
+
t("span", rt, l(r.productName), 1)
|
|
104
|
+
]),
|
|
105
|
+
s[19] || (s[19] = t("br", null, null, -1)),
|
|
106
|
+
t("div", dt, [
|
|
107
|
+
s[13] || (s[13] = t("span", null, "数据库版本", -1)),
|
|
108
|
+
t("span", pt, l(r.productVersion), 1)
|
|
109
|
+
]),
|
|
110
|
+
s[20] || (s[20] = t("br", null, null, -1)),
|
|
111
|
+
t("div", ut, [
|
|
112
|
+
s[14] || (s[14] = t("span", null, "驱动名称", -1)),
|
|
113
|
+
t("span", gt, [
|
|
114
|
+
n(C, {
|
|
113
115
|
style: { width: "300px" },
|
|
114
116
|
class: "large-text",
|
|
115
|
-
ellipsis: { tooltip:
|
|
116
|
-
content:
|
|
117
|
+
ellipsis: { tooltip: r.driverVersion },
|
|
118
|
+
content: r.driverVersion
|
|
117
119
|
}, null, 8, ["ellipsis", "content"])
|
|
118
120
|
])
|
|
119
121
|
]),
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
s[21] || (s[21] = t("br", null, null, -1)),
|
|
123
|
+
t("div", ft, [
|
|
124
|
+
s[15] || (s[15] = t("span", null, "数据库连接池", -1)),
|
|
125
|
+
t("span", _t, l(r.poolName), 1)
|
|
124
126
|
]),
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
s[22] || (s[22] = t("br", null, null, -1)),
|
|
128
|
+
t("div", mt, [
|
|
129
|
+
s[16] || (s[16] = t("span", null, "最大活跃连接数", -1)),
|
|
130
|
+
t("span", vt, l(r.maxActive), 1)
|
|
129
131
|
]),
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
s[23] || (s[23] = t("br", null, null, -1)),
|
|
133
|
+
t("div", xt, [
|
|
134
|
+
s[17] || (s[17] = t("span", null, "最小空闲连接数", -1)),
|
|
135
|
+
t("span", bt, l(r.minIdle), 1)
|
|
134
136
|
]),
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
s[24] || (s[24] = t("br", null, null, -1)),
|
|
138
|
+
t("div", yt, [
|
|
139
|
+
s[18] || (s[18] = t("span", null, "获取连接等待时间", -1)),
|
|
140
|
+
t("span", wt, l(r.maxWait) + "ms", 1)
|
|
139
141
|
]),
|
|
140
|
-
|
|
142
|
+
s[25] || (s[25] = t("br", null, null, -1))
|
|
141
143
|
]),
|
|
142
144
|
_: 1
|
|
143
145
|
}, 8, ["loading"])
|
|
@@ -149,19 +151,19 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
149
151
|
}),
|
|
150
152
|
n(g, { span: 24 }, {
|
|
151
153
|
default: o(() => [
|
|
152
|
-
n(
|
|
154
|
+
n(x, { title: "系统信息" }, {
|
|
153
155
|
default: o(() => [
|
|
154
|
-
n(
|
|
156
|
+
n(v, { loading: p.value }, {
|
|
155
157
|
default: o(() => [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
]),
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
n(
|
|
158
|
+
t("div", Ct, [
|
|
159
|
+
s[26] || (s[26] = t("span", null, "应用服务器", -1)),
|
|
160
|
+
t("span", kt, l(_.serverInfo), 1)
|
|
161
|
+
]),
|
|
162
|
+
s[30] || (s[30] = t("br", null, null, -1)),
|
|
163
|
+
t("div", jt, [
|
|
164
|
+
s[27] || (s[27] = t("span", null, "工作目录", -1)),
|
|
165
|
+
t("span", ht, [
|
|
166
|
+
n(C, {
|
|
165
167
|
style: { width: "300px" },
|
|
166
168
|
class: "large-text",
|
|
167
169
|
ellipsis: { tooltip: _.appPath },
|
|
@@ -169,17 +171,17 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
169
171
|
}, null, 8, ["ellipsis", "content"])
|
|
170
172
|
])
|
|
171
173
|
]),
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
s[31] || (s[31] = t("br", null, null, -1)),
|
|
175
|
+
t("div", St, [
|
|
176
|
+
s[28] || (s[28] = t("span", null, "会话超时(Session Timeout)", -1)),
|
|
177
|
+
t("span", Ot, l(_.maxInactiveInterval / 60) + "分钟", 1)
|
|
176
178
|
]),
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
s[32] || (s[32] = t("br", null, null, -1)),
|
|
180
|
+
t("div", It, [
|
|
181
|
+
s[29] || (s[29] = t("span", null, "缓存管理", -1)),
|
|
182
|
+
t("span", Vt, l(_.cacheManager), 1)
|
|
181
183
|
]),
|
|
182
|
-
|
|
184
|
+
s[33] || (s[33] = t("br", null, null, -1))
|
|
183
185
|
]),
|
|
184
186
|
_: 1
|
|
185
187
|
}, 8, ["loading"])
|
|
@@ -197,28 +199,28 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
197
199
|
}),
|
|
198
200
|
n(g, { span: 12 }, {
|
|
199
201
|
default: o(() => [
|
|
200
|
-
n(
|
|
202
|
+
n(j, { gutter: [16, 16] }, {
|
|
201
203
|
default: o(() => [
|
|
202
204
|
n(g, { span: 24 }, {
|
|
203
205
|
default: o(() => [
|
|
204
|
-
n(
|
|
206
|
+
n(x, { title: "JVM信息" }, {
|
|
205
207
|
default: o(() => [
|
|
206
|
-
n(
|
|
208
|
+
n(v, { loading: p.value }, {
|
|
207
209
|
default: o(() => [
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
]),
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
]),
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
n(
|
|
210
|
+
t("div", Mt, [
|
|
211
|
+
s[34] || (s[34] = t("span", null, "系统启动时间", -1)),
|
|
212
|
+
t("span", Tt, l(a.startTimeDisplay), 1)
|
|
213
|
+
]),
|
|
214
|
+
s[41] || (s[41] = t("br", null, null, -1)),
|
|
215
|
+
t("div", Nt, [
|
|
216
|
+
s[35] || (s[35] = t("span", null, "系统运行时长", -1)),
|
|
217
|
+
t("span", Jt, l(a.uptimeDisplay), 1)
|
|
218
|
+
]),
|
|
219
|
+
s[42] || (s[42] = t("br", null, null, -1)),
|
|
220
|
+
t("div", zt, [
|
|
221
|
+
s[36] || (s[36] = t("span", null, "Java安装目录", -1)),
|
|
222
|
+
t("span", At, [
|
|
223
|
+
n(C, {
|
|
222
224
|
style: { width: "300px" },
|
|
223
225
|
class: "large-text",
|
|
224
226
|
ellipsis: { tooltip: a.javaHome },
|
|
@@ -226,27 +228,27 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
226
228
|
}, null, 8, ["ellipsis", "content"])
|
|
227
229
|
])
|
|
228
230
|
]),
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
s[43] || (s[43] = t("br", null, null, -1)),
|
|
232
|
+
t("div", Lt, [
|
|
233
|
+
s[37] || (s[37] = t("span", null, "Java版本", -1)),
|
|
234
|
+
t("span", Pt, l(a.javaVersion), 1)
|
|
233
235
|
]),
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
s[44] || (s[44] = t("br", null, null, -1)),
|
|
237
|
+
t("div", Dt, [
|
|
238
|
+
s[38] || (s[38] = t("span", null, "Java供应商", -1)),
|
|
239
|
+
t("span", Ut, l(a.javaVendor), 1)
|
|
238
240
|
]),
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
s[45] || (s[45] = t("br", null, null, -1)),
|
|
242
|
+
t("div", Bt, [
|
|
243
|
+
s[39] || (s[39] = t("span", null, "操作系统", -1)),
|
|
244
|
+
t("span", $t, l(y.name) + " " + l(y.version), 1)
|
|
243
245
|
]),
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
s[46] || (s[46] = t("br", null, null, -1)),
|
|
247
|
+
t("div", Et, [
|
|
248
|
+
s[40] || (s[40] = t("span", null, "系统核心数", -1)),
|
|
249
|
+
t("span", Ht, l(y.availableProcessors), 1)
|
|
248
250
|
]),
|
|
249
|
-
|
|
251
|
+
s[47] || (s[47] = t("br", null, null, -1))
|
|
250
252
|
]),
|
|
251
253
|
_: 1
|
|
252
254
|
}, 8, ["loading"])
|
|
@@ -258,21 +260,21 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
258
260
|
}),
|
|
259
261
|
n(g, { span: 24 }, {
|
|
260
262
|
default: o(() => [
|
|
261
|
-
n(
|
|
263
|
+
n(x, { title: "授权信息" }, {
|
|
262
264
|
extra: o(() => [
|
|
263
265
|
n(L, {
|
|
264
266
|
name: "file",
|
|
265
|
-
action: `${
|
|
266
|
-
headers: { "X-Auth-Token":
|
|
267
|
+
action: `${S(N)}/api/v1/license/update_license`,
|
|
268
|
+
headers: { "X-Auth-Token": S(J) },
|
|
267
269
|
showUploadList: !1,
|
|
268
|
-
onChange:
|
|
270
|
+
onChange: z
|
|
269
271
|
}, {
|
|
270
272
|
default: o(() => [
|
|
271
273
|
n(A, {
|
|
272
|
-
icon:
|
|
274
|
+
icon: B(S(X))
|
|
273
275
|
}, {
|
|
274
|
-
default: o(() =>
|
|
275
|
-
|
|
276
|
+
default: o(() => s[48] || (s[48] = [
|
|
277
|
+
M("更新")
|
|
276
278
|
])),
|
|
277
279
|
_: 1
|
|
278
280
|
}, 8, ["icon"])
|
|
@@ -281,77 +283,78 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
281
283
|
}, 8, ["action", "headers"])
|
|
282
284
|
]),
|
|
283
285
|
default: o(() => [
|
|
284
|
-
n(
|
|
286
|
+
n(v, { loading: p.value }, {
|
|
285
287
|
default: o(() => [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
n(
|
|
290
|
-
|
|
288
|
+
t("div", Xt, [
|
|
289
|
+
s[49] || (s[49] = t("span", null, "当前机器码", -1)),
|
|
290
|
+
t("span", Ft, [
|
|
291
|
+
n(P, {
|
|
292
|
+
copyable: "",
|
|
293
|
+
style: { width: "280px", color: "brown" },
|
|
291
294
|
class: "large-text",
|
|
292
|
-
ellipsis: { tooltip:
|
|
293
|
-
content:
|
|
295
|
+
ellipsis: { tooltip: k.value },
|
|
296
|
+
content: k.value
|
|
294
297
|
}, null, 8, ["ellipsis", "content"])
|
|
295
298
|
])
|
|
296
299
|
]),
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
]),
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
]),
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
e.machineCode ? (
|
|
300
|
+
s[58] || (s[58] = t("br", null, null, -1)),
|
|
301
|
+
t("div", Wt, [
|
|
302
|
+
s[50] || (s[50] = t("span", null, "授权使用", -1)),
|
|
303
|
+
t("span", qt, l(e.company), 1)
|
|
304
|
+
]),
|
|
305
|
+
s[59] || (s[59] = t("br", null, null, -1)),
|
|
306
|
+
t("div", Gt, [
|
|
307
|
+
s[51] || (s[51] = t("span", null, "授权IP", -1)),
|
|
308
|
+
t("span", Kt, l(e.ip ? e.ip : "无限制"), 1)
|
|
309
|
+
]),
|
|
310
|
+
s[60] || (s[60] = t("br", null, null, -1)),
|
|
311
|
+
t("div", Qt, [
|
|
312
|
+
s[52] || (s[52] = t("span", null, "授权机器码", -1)),
|
|
313
|
+
t("span", Rt, [
|
|
314
|
+
e.machineCode ? (b(), h(C, {
|
|
312
315
|
key: 0,
|
|
313
316
|
style: { width: "300px" },
|
|
314
317
|
class: "large-text float-right",
|
|
315
318
|
ellipsis: { tooltip: e.machineCode },
|
|
316
319
|
content: e.machineCode
|
|
317
|
-
}, null, 8, ["ellipsis", "content"])) : (
|
|
318
|
-
|
|
320
|
+
}, null, 8, ["ellipsis", "content"])) : (b(), T($, { key: 1 }, [
|
|
321
|
+
M("无限制")
|
|
319
322
|
], 64))
|
|
320
323
|
])
|
|
321
324
|
]),
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
]),
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
]),
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
]),
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
]),
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
e.extras ? (
|
|
325
|
+
s[61] || (s[61] = t("br", null, null, -1)),
|
|
326
|
+
t("div", Yt, [
|
|
327
|
+
s[53] || (s[53] = t("span", null, "授权日期", -1)),
|
|
328
|
+
t("span", Zt, l(e.createdAt), 1)
|
|
329
|
+
]),
|
|
330
|
+
s[62] || (s[62] = t("br", null, null, -1)),
|
|
331
|
+
t("div", ct, [
|
|
332
|
+
s[54] || (s[54] = t("span", null, "结束日期", -1)),
|
|
333
|
+
t("span", ts, l(e.expiresAt ? e.expiresAt : "无限制"), 1)
|
|
334
|
+
]),
|
|
335
|
+
s[63] || (s[63] = t("br", null, null, -1)),
|
|
336
|
+
t("div", ss, [
|
|
337
|
+
s[55] || (s[55] = t("span", null, "最大用户数", -1)),
|
|
338
|
+
t("span", ls, l(e.users ? `${e.users} 人` : "无限制"), 1)
|
|
339
|
+
]),
|
|
340
|
+
s[64] || (s[64] = t("br", null, null, -1)),
|
|
341
|
+
t("div", ns, [
|
|
342
|
+
s[56] || (s[56] = t("span", null, "最大流程实例数", -1)),
|
|
343
|
+
t("span", os, l(e.workflowInstances ? `${e.workflowInstances} 条` : "无限制"), 1)
|
|
344
|
+
]),
|
|
345
|
+
s[65] || (s[65] = t("br", null, null, -1)),
|
|
346
|
+
t("div", es, [
|
|
347
|
+
s[57] || (s[57] = t("span", null, "扩展信息", -1)),
|
|
348
|
+
t("span", as, [
|
|
349
|
+
e.extras ? (b(), h(D, {
|
|
347
350
|
key: 0,
|
|
348
351
|
title: JSON.stringify(e.extras)
|
|
349
352
|
}, {
|
|
350
353
|
default: o(() => [
|
|
351
|
-
|
|
354
|
+
t("span", is, l(JSON.stringify(e.extras)), 1)
|
|
352
355
|
]),
|
|
353
356
|
_: 1
|
|
354
|
-
}, 8, ["title"])) : (
|
|
357
|
+
}, 8, ["title"])) : (b(), T("span", rs, "无"))
|
|
355
358
|
])
|
|
356
359
|
])
|
|
357
360
|
]),
|
|
@@ -376,5 +379,5 @@ const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: {
|
|
|
376
379
|
}
|
|
377
380
|
});
|
|
378
381
|
export {
|
|
379
|
-
|
|
382
|
+
ms as default
|
|
380
383
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { http as t } from "@since2006/utils";
|
|
2
|
-
const
|
|
2
|
+
const s = () => t.get("/api/v1/status/get_status"), a = () => t.get("/api/v1/license/get_machine_code");
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
a as getMachineCode,
|
|
5
|
+
s as getStatus
|
|
5
6
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.large-text[data-v-
|
|
1
|
+
.large-text[data-v-c5b4a14e]{font-size:16px}.float-right[data-v-c5b4a14e]{float:right}.margin-block[data-v-c5b4a14e]{margin-top:14px}.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-233e6305]{padding-top:20px}.permission-tree[data-v-233e6305],.permission-tree[data-v-89600073]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-995a937c] .ant-pro-table-list-toolbar-container{padding-left:6px}.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-e0685b29]{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-d74ea79a]{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-2505b1db]{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-f67f4d15]{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-47610902]{display:inline-block;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.notice[data-v-864b567f]{color:#ff4d4f;font-size:18px}.table-operator[data-v-1cbc3d31]{margin:10px 14px 20px 0}[data-v-1cbc3d31] .ant-descriptions-item-label{width:140px}.tree-container[data-v-1cbc3d31] .ant-tree{max-height:520px;overflow:auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./AccessLogList.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("./AccessLogList.vue2.js");;/* empty css */const t=require("../../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-f67f4d15"]]);exports.default=u;
|