@since2006/pages 2025.11.1 → 2025.12.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.
@@ -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 m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-83e399db"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-c5b4a14e"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,85 +1,87 @@
1
- import { defineComponent as D, ref as V, reactive as f, resolveComponent as r, openBlock as y, createBlock as j, withCtx as o, createVNode as n, createElementVNode as s, toDisplayString as l, unref as C, h as U, createTextVNode as T, createElementBlock as h, Fragment as B } from "vue";
2
- import { getStatus as $ } from "./api.js";
3
- import { notification as S } from "ant-design-vue";
4
- import { CloudUploadOutlined as E } from "@ant-design/icons-vue";
5
- import { getContextPath as H, getToken as X } from "@since2006/utils";
6
- const F = { class: "large-text" }, W = { class: "float-right" }, q = { style: { "margin-right": "18px", "margin-bottom": "14px" } }, G = { class: "large-text" }, K = { class: "float-right" }, 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" }, ut = { class: "float-right" }, pt = { class: "large-text" }, gt = { class: "float-right" }, ft = { class: "large-text" }, _t = { class: "float-right" }, xt = { class: "large-text" }, mt = { class: "float-right" }, vt = { class: "large-text" }, bt = { class: "float-right" }, yt = { class: "large-text" }, wt = { class: "float-right" }, kt = { class: "large-text" }, jt = { class: "float-right" }, Ct = { class: "large-text" }, St = { class: "float-right" }, Ot = { class: "large-text" }, It = { class: "float-right" }, Vt = { class: "large-text" }, Tt = { class: "float-right" }, ht = { class: "large-text" }, Nt = { class: "float-right" }, Jt = { class: "large-text" }, Mt = { 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 = {
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
- }, Zt = { class: "float-right" }, ct = { class: "large-text" }, ts = { class: "float-right" }, ss = { class: "large-text" }, ls = { class: "float-right" }, ns = { class: "large-text" }, os = { class: "float-right" }, es = { class: "float-right" }, as = {
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
- }, fs = /* @__PURE__ */ D({
12
+ }, ms = /* @__PURE__ */ U({
13
13
  __name: "StatusIndex",
14
- setup(is) {
15
- const N = H(), J = X(), u = V(!1), O = V(), p = f({}), e = f({}), i = f({}), a = f({}), w = f({}), _ = f({}), x = f({}), I = async () => {
16
- var t;
17
- u.value = !0;
18
- const d = await $();
19
- d.code === 200 && (Object.assign(p, d.data), Object.assign(e, p.license), Object.assign(i, p.database), Object.assign(a, p.jvm), Object.assign(w, p.os), Object.assign(_, p.app), Object.assign(x, (t = p.jvm) == null ? void 0 : t.thread)), u.value = !1;
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 M = (d) => {
23
- d.file.status === "done" ? d.file.response.code === 200 ? (S.success({
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()) : S.error({
28
+ }), I()) : O.error({
27
29
  message: d.file.response.msg,
28
30
  description: "请检查 License 文件是否正确"
29
- }) : d.file.status === "error" && S.error({ message: "上传失败" });
31
+ }) : d.file.status === "error" && O.error({ message: "上传失败" });
30
32
  };
31
- return (d, t) => {
32
- const z = r("a-progress"), m = r("a-skeleton"), v = r("a-card"), g = r("a-col"), b = r("a-typography-text"), k = r("a-row"), A = r("a-button"), L = r("a-upload"), P = r("a-tooltip");
33
- return y(), j(k, { gutter: 16 }, {
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(k, { gutter: [16, 16] }, {
39
+ n(j, { gutter: [16, 16] }, {
38
40
  default: o(() => [
39
41
  n(g, { span: 24 }, {
40
42
  default: o(() => [
41
- n(v, { title: "内存线程信息" }, {
43
+ n(x, { title: "内存线程信息" }, {
42
44
  default: o(() => [
43
- n(m, { loading: u.value }, {
45
+ n(v, { loading: p.value }, {
44
46
  default: o(() => [
45
- s("div", F, [
46
- t[0] || (t[0] = s("span", null, "当前用量", -1)),
47
- s("span", W, l(a.usedMemorySize) + " / " + l(a.totalMemorySize), 1),
48
- s("div", q, [
49
- n(z, {
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
- s("div", G, [
56
- t[1] || (t[1] = s("span", null, "当前可用", -1)),
57
- s("span", K, l(a.freeMemorySize), 1)
58
- ]),
59
- t[7] || (t[7] = s("br", null, null, -1)),
60
- s("div", Q, [
61
- t[2] || (t[2] = s("span", null, "最大堆(-Xmx)", -1)),
62
- s("span", R, l(a.maxMemorySize), 1)
63
- ]),
64
- t[8] || (t[8] = s("br", null, null, -1)),
65
- s("div", Y, [
66
- t[3] || (t[3] = s("span", null, "当前线程数", -1)),
67
- s("span", Z, l(x.threadCount), 1)
68
- ]),
69
- t[9] || (t[9] = s("br", null, null, -1)),
70
- s("div", c, [
71
- t[4] || (t[4] = s("span", null, "守护线程数", -1)),
72
- s("span", tt, l(x.daemonThreadCount), 1)
73
- ]),
74
- t[10] || (t[10] = s("br", null, null, -1)),
75
- s("div", st, [
76
- t[5] || (t[5] = s("span", null, "最大线程峰值", -1)),
77
- s("span", lt, l(x.peakThreadCount), 1)
78
- ]),
79
- t[11] || (t[11] = s("br", null, null, -1)),
80
- s("div", nt, [
81
- t[6] || (t[6] = s("span", null, "创建线程总数", -1)),
82
- s("span", ot, l(x.totalStartedThreadCount), 1)
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(v, { title: "主数据库信息" }, {
97
+ n(x, { title: "主数据库信息" }, {
96
98
  default: o(() => [
97
- n(m, { loading: u.value }, {
99
+ n(v, { loading: p.value }, {
98
100
  default: o(() => [
99
- s("div", et, [
100
- t[12] || (t[12] = s("span", null, "数据库名称", -1)),
101
- s("span", at, l(i.productName), 1)
102
- ]),
103
- t[19] || (t[19] = s("br", null, null, -1)),
104
- s("div", it, [
105
- t[13] || (t[13] = s("span", null, "数据库版本", -1)),
106
- s("span", rt, l(i.productVersion), 1)
107
- ]),
108
- t[20] || (t[20] = s("br", null, null, -1)),
109
- s("div", dt, [
110
- t[14] || (t[14] = s("span", null, "驱动名称", -1)),
111
- s("span", ut, [
112
- n(b, {
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: i.driverVersion },
116
- content: i.driverVersion
117
+ ellipsis: { tooltip: r.driverVersion },
118
+ content: r.driverVersion
117
119
  }, null, 8, ["ellipsis", "content"])
118
120
  ])
119
121
  ]),
120
- t[21] || (t[21] = s("br", null, null, -1)),
121
- s("div", pt, [
122
- t[15] || (t[15] = s("span", null, "数据库连接池", -1)),
123
- s("span", gt, l(i.poolName), 1)
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
- t[22] || (t[22] = s("br", null, null, -1)),
126
- s("div", ft, [
127
- t[16] || (t[16] = s("span", null, "最大活跃连接数", -1)),
128
- s("span", _t, l(i.maxActive), 1)
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
- t[23] || (t[23] = s("br", null, null, -1)),
131
- s("div", xt, [
132
- t[17] || (t[17] = s("span", null, "最小空闲连接数", -1)),
133
- s("span", mt, l(i.minIdle), 1)
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
- t[24] || (t[24] = s("br", null, null, -1)),
136
- s("div", vt, [
137
- t[18] || (t[18] = s("span", null, "获取连接等待时间", -1)),
138
- s("span", bt, l(i.maxWait) + "ms", 1)
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
- t[25] || (t[25] = s("br", null, null, -1))
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(v, { title: "系统信息" }, {
154
+ n(x, { title: "系统信息" }, {
153
155
  default: o(() => [
154
- n(m, { loading: u.value }, {
156
+ n(v, { loading: p.value }, {
155
157
  default: o(() => [
156
- s("div", yt, [
157
- t[26] || (t[26] = s("span", null, "应用服务器", -1)),
158
- s("span", wt, l(_.serverInfo), 1)
159
- ]),
160
- t[30] || (t[30] = s("br", null, null, -1)),
161
- s("div", kt, [
162
- t[27] || (t[27] = s("span", null, "工作目录", -1)),
163
- s("span", jt, [
164
- n(b, {
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
- t[31] || (t[31] = s("br", null, null, -1)),
173
- s("div", Ct, [
174
- t[28] || (t[28] = s("span", null, "会话超时(Session Timeout)", -1)),
175
- s("span", St, l(_.maxInactiveInterval / 60) + "分钟", 1)
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
- t[32] || (t[32] = s("br", null, null, -1)),
178
- s("div", Ot, [
179
- t[29] || (t[29] = s("span", null, "缓存管理", -1)),
180
- s("span", It, l(_.cacheManager), 1)
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
- t[33] || (t[33] = s("br", null, null, -1))
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(k, { gutter: [16, 16] }, {
202
+ n(j, { gutter: [16, 16] }, {
201
203
  default: o(() => [
202
204
  n(g, { span: 24 }, {
203
205
  default: o(() => [
204
- n(v, { title: "JVM信息" }, {
206
+ n(x, { title: "JVM信息" }, {
205
207
  default: o(() => [
206
- n(m, { loading: u.value }, {
208
+ n(v, { loading: p.value }, {
207
209
  default: o(() => [
208
- s("div", Vt, [
209
- t[34] || (t[34] = s("span", null, "系统启动时间", -1)),
210
- s("span", Tt, l(a.startTimeDisplay), 1)
211
- ]),
212
- t[41] || (t[41] = s("br", null, null, -1)),
213
- s("div", ht, [
214
- t[35] || (t[35] = s("span", null, "系统运行时长", -1)),
215
- s("span", Nt, l(a.uptimeDisplay), 1)
216
- ]),
217
- t[42] || (t[42] = s("br", null, null, -1)),
218
- s("div", Jt, [
219
- t[36] || (t[36] = s("span", null, "Java安装目录", -1)),
220
- s("span", Mt, [
221
- n(b, {
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
- t[43] || (t[43] = s("br", null, null, -1)),
230
- s("div", zt, [
231
- t[37] || (t[37] = s("span", null, "Java版本", -1)),
232
- s("span", At, l(a.javaVersion), 1)
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
- t[44] || (t[44] = s("br", null, null, -1)),
235
- s("div", Lt, [
236
- t[38] || (t[38] = s("span", null, "Java供应商", -1)),
237
- s("span", Pt, l(a.javaVendor), 1)
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
- t[45] || (t[45] = s("br", null, null, -1)),
240
- s("div", Dt, [
241
- t[39] || (t[39] = s("span", null, "操作系统", -1)),
242
- s("span", Ut, l(w.name) + " " + l(w.version), 1)
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
- t[46] || (t[46] = s("br", null, null, -1)),
245
- s("div", Bt, [
246
- t[40] || (t[40] = s("span", null, "系统核心数", -1)),
247
- s("span", $t, l(w.availableProcessors), 1)
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
- t[47] || (t[47] = s("br", null, null, -1))
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(v, { title: "授权信息" }, {
263
+ n(x, { title: "授权信息" }, {
262
264
  extra: o(() => [
263
265
  n(L, {
264
266
  name: "file",
265
- action: `${C(N)}/api/v2/license/update_license`,
266
- headers: { "X-Auth-Token": C(J) },
267
+ action: `${S(N)}/api/v1/license/update_license`,
268
+ headers: { "X-Auth-Token": S(J) },
267
269
  showUploadList: !1,
268
- onChange: M
270
+ onChange: z
269
271
  }, {
270
272
  default: o(() => [
271
273
  n(A, {
272
- icon: U(C(E))
274
+ icon: B(S(X))
273
275
  }, {
274
- default: o(() => t[48] || (t[48] = [
275
- T("更新")
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(m, { loading: u.value }, {
286
+ n(v, { loading: p.value }, {
285
287
  default: o(() => [
286
- s("div", Et, [
287
- t[49] || (t[49] = s("span", null, "当前机器码", -1)),
288
- s("span", Ht, [
289
- n(b, {
290
- style: { width: "300px", color: "brown" },
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: O.value },
293
- content: O.value
295
+ ellipsis: { tooltip: k.value },
296
+ content: k.value
294
297
  }, null, 8, ["ellipsis", "content"])
295
298
  ])
296
299
  ]),
297
- t[58] || (t[58] = s("br", null, null, -1)),
298
- s("div", Xt, [
299
- t[50] || (t[50] = s("span", null, "授权使用", -1)),
300
- s("span", Ft, l(e.company), 1)
301
- ]),
302
- t[59] || (t[59] = s("br", null, null, -1)),
303
- s("div", Wt, [
304
- t[51] || (t[51] = s("span", null, "授权IP", -1)),
305
- s("span", qt, l(e.ip ? e.ip : "无限制"), 1)
306
- ]),
307
- t[60] || (t[60] = s("br", null, null, -1)),
308
- s("div", Gt, [
309
- t[52] || (t[52] = s("span", null, "授权机器码", -1)),
310
- s("span", Kt, [
311
- e.machineCode ? (y(), j(b, {
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"])) : (y(), h(B, { key: 1 }, [
318
- T("无限制")
320
+ }, null, 8, ["ellipsis", "content"])) : (b(), T($, { key: 1 }, [
321
+ M("无限制")
319
322
  ], 64))
320
323
  ])
321
324
  ]),
322
- t[61] || (t[61] = s("br", null, null, -1)),
323
- s("div", Qt, [
324
- t[53] || (t[53] = s("span", null, "授权日期", -1)),
325
- s("span", Rt, l(e.createdAt), 1)
326
- ]),
327
- t[62] || (t[62] = s("br", null, null, -1)),
328
- s("div", Yt, [
329
- t[54] || (t[54] = s("span", null, "结束日期", -1)),
330
- s("span", Zt, l(e.expiresAt ? e.expiresAt : "无限制"), 1)
331
- ]),
332
- t[63] || (t[63] = s("br", null, null, -1)),
333
- s("div", ct, [
334
- t[55] || (t[55] = s("span", null, "最大用户数", -1)),
335
- s("span", ts, l(e.users ? `${e.users} 人` : "无限制"), 1)
336
- ]),
337
- t[64] || (t[64] = s("br", null, null, -1)),
338
- s("div", ss, [
339
- t[56] || (t[56] = s("span", null, "最大流程实例数", -1)),
340
- s("span", ls, l(e.workflowInstances ? `${e.workflowInstances} 条` : "无限制"), 1)
341
- ]),
342
- t[65] || (t[65] = s("br", null, null, -1)),
343
- s("div", ns, [
344
- t[57] || (t[57] = s("span", null, "扩展信息", -1)),
345
- s("span", os, [
346
- e.extras ? (y(), j(P, {
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
- s("span", es, l(JSON.stringify(e.extras)), 1)
354
+ t("span", is, l(JSON.stringify(e.extras)), 1)
352
355
  ]),
353
356
  _: 1
354
- }, 8, ["title"])) : (y(), h("span", as, "无"))
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
- fs as default
382
+ ms as default
380
383
  };
@@ -1,5 +1,6 @@
1
1
  import { http as t } from "@since2006/utils";
2
- const e = () => t.get("/api/v1/status/get_status");
2
+ const s = () => t.get("/api/v1/status/get_status"), a = () => t.get("/api/v1/license/get_machine_code");
3
3
  export {
4
- e as getStatus
4
+ a as getMachineCode,
5
+ s as getStatus
5
6
  };
package/dist/es/style.css CHANGED
@@ -1 +1 @@
1
- .large-text[data-v-83e399db]{font-size:16px}.float-right[data-v-83e399db]{float:right}.margin-block[data-v-83e399db]{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-3744022f]{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-044829f6]{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-13310236]{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-43cad169]{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-57854e76]{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
+ .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-3744022f]{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-044829f6]{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-13310236]{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-43cad169]{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-57854e76]{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("./StatusIndex.vue2.js");;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-83e399db"]]);exports.default=u;
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-c5b4a14e"]]);exports.default=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),D=require("./api.js"),g=require("ant-design-vue"),h=require("@ant-design/icons-vue"),x=require("@since2006/utils"),k={class:"large-text"},j={class:"float-right"},O={style:{"margin-right":"18px","margin-bottom":"14px"}},B={class:"large-text"},T={class:"float-right"},I={class:"large-text"},M={class:"float-right"},J={class:"large-text"},P={class:"float-right"},q={class:"large-text"},z={class:"float-right"},A={class:"large-text"},L={class:"float-right"},U={class:"large-text"},$={class:"float-right"},H={class:"large-text"},X={class:"float-right"},F={class:"large-text"},W={class:"float-right"},G={class:"large-text"},K={class:"float-right"},Q={class:"large-text"},R={class:"float-right"},Y={class:"large-text"},Z={class:"float-right"},ee={class:"large-text"},te={class:"float-right"},le={class:"large-text"},ne={class:"float-right"},oe={class:"large-text"},se={class:"float-right"},ae={class:"large-text"},re={class:"float-right"},ie={class:"large-text"},de={class:"float-right"},pe={class:"large-text"},me={class:"float-right"},ue={class:"large-text"},ce={class:"float-right"},Ve={class:"large-text"},Ne={class:"float-right"},ge={class:"large-text"},Ee={class:"float-right"},fe={class:"large-text"},xe={class:"float-right"},ve={class:"large-text"},_e={class:"float-right"},ye={class:"large-text"},be={class:"float-right"},Ce={class:"large-text"},Se={class:"float-right"},we={class:"large-text"},De={class:"float-right"},he={class:"large-text"},ke={class:"float-right"},je={class:"large-text"},Oe={class:"float-right"},Be={class:"large-text"},Te={class:"float-right"},Ie={class:"large-text"},Me={class:"float-right"},Je={class:"large-text",style:{color:"orangered","font-weight":"bold"}},Pe={class:"float-right"},qe={class:"large-text"},ze={class:"float-right"},Ae={class:"large-text"},Le={class:"float-right"},Ue={class:"large-text"},$e={class:"float-right"},He={class:"float-right"},Xe={key:1,class:"float-right"},Fe=e.defineComponent({__name:"StatusIndex",setup(We){const v=x.getContextPath(),_=x.getToken(),a=e.ref(!1),E=e.ref(),r=e.reactive({}),l=e.reactive({}),o=e.reactive({}),n=e.reactive({}),V=e.reactive({}),d=e.reactive({}),p=e.reactive({}),f=async()=>{var t;a.value=!0;const s=await D.getStatus();s.code===200&&(Object.assign(r,s.data),Object.assign(l,r.license),Object.assign(o,r.database),Object.assign(n,r.jvm),Object.assign(V,r.os),Object.assign(d,r.app),Object.assign(p,(t=r.jvm)==null?void 0:t.thread)),a.value=!1};f();const y=s=>{s.file.status==="done"?s.file.response.code===200?(g.notification.success({message:"License 更新成功",description:"将重新加载 License 信息,请确认是否正确"}),f()):g.notification.error({message:s.file.response.msg,description:"请检查 License 文件是否正确"}):s.file.status==="error"&&g.notification.error({message:"上传失败"})};return(s,t)=>{const b=e.resolveComponent("a-progress"),m=e.resolveComponent("a-skeleton"),u=e.resolveComponent("a-card"),i=e.resolveComponent("a-col"),c=e.resolveComponent("a-typography-text"),N=e.resolveComponent("a-row"),C=e.resolveComponent("a-button"),S=e.resolveComponent("a-upload"),w=e.resolveComponent("a-tooltip");return e.openBlock(),e.createBlock(N,{gutter:16},{default:e.withCtx(()=>[e.createVNode(i,{span:12},{default:e.withCtx(()=>[e.createVNode(N,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"内存线程信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",k,[t[0]||(t[0]=e.createElementVNode("span",null,"当前用量",-1)),e.createElementVNode("span",j,e.toDisplayString(n.usedMemorySize)+" / "+e.toDisplayString(n.totalMemorySize),1),e.createElementVNode("div",O,[e.createVNode(b,{percent:n.memoryUsage,size:12},null,8,["percent"])])]),e.createElementVNode("div",B,[t[1]||(t[1]=e.createElementVNode("span",null,"当前可用",-1)),e.createElementVNode("span",T,e.toDisplayString(n.freeMemorySize),1)]),t[7]||(t[7]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",I,[t[2]||(t[2]=e.createElementVNode("span",null,"最大堆(-Xmx)",-1)),e.createElementVNode("span",M,e.toDisplayString(n.maxMemorySize),1)]),t[8]||(t[8]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",J,[t[3]||(t[3]=e.createElementVNode("span",null,"当前线程数",-1)),e.createElementVNode("span",P,e.toDisplayString(p.threadCount),1)]),t[9]||(t[9]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",q,[t[4]||(t[4]=e.createElementVNode("span",null,"守护线程数",-1)),e.createElementVNode("span",z,e.toDisplayString(p.daemonThreadCount),1)]),t[10]||(t[10]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",A,[t[5]||(t[5]=e.createElementVNode("span",null,"最大线程峰值",-1)),e.createElementVNode("span",L,e.toDisplayString(p.peakThreadCount),1)]),t[11]||(t[11]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",U,[t[6]||(t[6]=e.createElementVNode("span",null,"创建线程总数",-1)),e.createElementVNode("span",$,e.toDisplayString(p.totalStartedThreadCount),1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"主数据库信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",H,[t[12]||(t[12]=e.createElementVNode("span",null,"数据库名称",-1)),e.createElementVNode("span",X,e.toDisplayString(o.productName),1)]),t[19]||(t[19]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",F,[t[13]||(t[13]=e.createElementVNode("span",null,"数据库版本",-1)),e.createElementVNode("span",W,e.toDisplayString(o.productVersion),1)]),t[20]||(t[20]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",G,[t[14]||(t[14]=e.createElementVNode("span",null,"驱动名称",-1)),e.createElementVNode("span",K,[e.createVNode(c,{style:{width:"300px"},class:"large-text",ellipsis:{tooltip:o.driverVersion},content:o.driverVersion},null,8,["ellipsis","content"])])]),t[21]||(t[21]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Q,[t[15]||(t[15]=e.createElementVNode("span",null,"数据库连接池",-1)),e.createElementVNode("span",R,e.toDisplayString(o.poolName),1)]),t[22]||(t[22]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Y,[t[16]||(t[16]=e.createElementVNode("span",null,"最大活跃连接数",-1)),e.createElementVNode("span",Z,e.toDisplayString(o.maxActive),1)]),t[23]||(t[23]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ee,[t[17]||(t[17]=e.createElementVNode("span",null,"最小空闲连接数",-1)),e.createElementVNode("span",te,e.toDisplayString(o.minIdle),1)]),t[24]||(t[24]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",le,[t[18]||(t[18]=e.createElementVNode("span",null,"获取连接等待时间",-1)),e.createElementVNode("span",ne,e.toDisplayString(o.maxWait)+"ms",1)]),t[25]||(t[25]=e.createElementVNode("br",null,null,-1))]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"系统信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",oe,[t[26]||(t[26]=e.createElementVNode("span",null,"应用服务器",-1)),e.createElementVNode("span",se,e.toDisplayString(d.serverInfo),1)]),t[30]||(t[30]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ae,[t[27]||(t[27]=e.createElementVNode("span",null,"工作目录",-1)),e.createElementVNode("span",re,[e.createVNode(c,{style:{width:"300px"},class:"large-text",ellipsis:{tooltip:d.appPath},content:d.appPath},null,8,["ellipsis","content"])])]),t[31]||(t[31]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ie,[t[28]||(t[28]=e.createElementVNode("span",null,"会话超时(Session Timeout)",-1)),e.createElementVNode("span",de,e.toDisplayString(d.maxInactiveInterval/60)+"分钟",1)]),t[32]||(t[32]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",pe,[t[29]||(t[29]=e.createElementVNode("span",null,"缓存管理",-1)),e.createElementVNode("span",me,e.toDisplayString(d.cacheManager),1)]),t[33]||(t[33]=e.createElementVNode("br",null,null,-1))]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1}),e.createVNode(i,{span:12},{default:e.withCtx(()=>[e.createVNode(N,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"JVM信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",ue,[t[34]||(t[34]=e.createElementVNode("span",null,"系统启动时间",-1)),e.createElementVNode("span",ce,e.toDisplayString(n.startTimeDisplay),1)]),t[41]||(t[41]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ve,[t[35]||(t[35]=e.createElementVNode("span",null,"系统运行时长",-1)),e.createElementVNode("span",Ne,e.toDisplayString(n.uptimeDisplay),1)]),t[42]||(t[42]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ge,[t[36]||(t[36]=e.createElementVNode("span",null,"Java安装目录",-1)),e.createElementVNode("span",Ee,[e.createVNode(c,{style:{width:"300px"},class:"large-text",ellipsis:{tooltip:n.javaHome},content:n.javaHome},null,8,["ellipsis","content"])])]),t[43]||(t[43]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",fe,[t[37]||(t[37]=e.createElementVNode("span",null,"Java版本",-1)),e.createElementVNode("span",xe,e.toDisplayString(n.javaVersion),1)]),t[44]||(t[44]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ve,[t[38]||(t[38]=e.createElementVNode("span",null,"Java供应商",-1)),e.createElementVNode("span",_e,e.toDisplayString(n.javaVendor),1)]),t[45]||(t[45]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ye,[t[39]||(t[39]=e.createElementVNode("span",null,"操作系统",-1)),e.createElementVNode("span",be,e.toDisplayString(V.name)+" "+e.toDisplayString(V.version),1)]),t[46]||(t[46]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ce,[t[40]||(t[40]=e.createElementVNode("span",null,"系统核心数",-1)),e.createElementVNode("span",Se,e.toDisplayString(V.availableProcessors),1)]),t[47]||(t[47]=e.createElementVNode("br",null,null,-1))]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"授权信息"},{extra:e.withCtx(()=>[e.createVNode(S,{name:"file",action:`${e.unref(v)}/api/v2/license/update_license`,headers:{"X-Auth-Token":e.unref(_)},showUploadList:!1,onChange:y},{default:e.withCtx(()=>[e.createVNode(C,{icon:e.h(e.unref(h.CloudUploadOutlined))},{default:e.withCtx(()=>t[48]||(t[48]=[e.createTextVNode("更新")])),_:1},8,["icon"])]),_:1},8,["action","headers"])]),default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",we,[t[49]||(t[49]=e.createElementVNode("span",null,"当前机器码",-1)),e.createElementVNode("span",De,[e.createVNode(c,{style:{width:"300px",color:"brown"},class:"large-text",ellipsis:{tooltip:E.value},content:E.value},null,8,["ellipsis","content"])])]),t[58]||(t[58]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",he,[t[50]||(t[50]=e.createElementVNode("span",null,"授权使用",-1)),e.createElementVNode("span",ke,e.toDisplayString(l.company),1)]),t[59]||(t[59]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",je,[t[51]||(t[51]=e.createElementVNode("span",null,"授权IP",-1)),e.createElementVNode("span",Oe,e.toDisplayString(l.ip?l.ip:"无限制"),1)]),t[60]||(t[60]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Be,[t[52]||(t[52]=e.createElementVNode("span",null,"授权机器码",-1)),e.createElementVNode("span",Te,[l.machineCode?(e.openBlock(),e.createBlock(c,{key:0,style:{width:"300px"},class:"large-text float-right",ellipsis:{tooltip:l.machineCode},content:l.machineCode},null,8,["ellipsis","content"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("无限制")],64))])]),t[61]||(t[61]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ie,[t[53]||(t[53]=e.createElementVNode("span",null,"授权日期",-1)),e.createElementVNode("span",Me,e.toDisplayString(l.createdAt),1)]),t[62]||(t[62]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Je,[t[54]||(t[54]=e.createElementVNode("span",null,"结束日期",-1)),e.createElementVNode("span",Pe,e.toDisplayString(l.expiresAt?l.expiresAt:"无限制"),1)]),t[63]||(t[63]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",qe,[t[55]||(t[55]=e.createElementVNode("span",null,"最大用户数",-1)),e.createElementVNode("span",ze,e.toDisplayString(l.users?`${l.users} 人`:"无限制"),1)]),t[64]||(t[64]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ae,[t[56]||(t[56]=e.createElementVNode("span",null,"最大流程实例数",-1)),e.createElementVNode("span",Le,e.toDisplayString(l.workflowInstances?`${l.workflowInstances} 条`:"无限制"),1)]),t[65]||(t[65]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ue,[t[57]||(t[57]=e.createElementVNode("span",null,"扩展信息",-1)),e.createElementVNode("span",$e,[l.extras?(e.openBlock(),e.createBlock(w,{key:0,title:JSON.stringify(l.extras)},{default:e.withCtx(()=>[e.createElementVNode("span",He,e.toDisplayString(JSON.stringify(l.extras)),1)]),_:1},8,["title"])):(e.openBlock(),e.createElementBlock("span",Xe,"无"))])])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});exports.default=Fe;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./api.js"),f=require("ant-design-vue"),k=require("@ant-design/icons-vue"),_=require("@since2006/utils"),j={class:"large-text"},O={class:"float-right"},B={style:{"margin-right":"18px","margin-bottom":"14px"}},M={class:"large-text"},T={class:"float-right"},I={class:"large-text"},J={class:"float-right"},P={class:"large-text"},q={class:"float-right"},z={class:"large-text"},A={class:"float-right"},L={class:"large-text"},U={class:"float-right"},$={class:"large-text"},H={class:"float-right"},X={class:"large-text"},F={class:"float-right"},W={class:"large-text"},G={class:"float-right"},K={class:"large-text"},Q={class:"float-right"},R={class:"large-text"},Y={class:"float-right"},Z={class:"large-text"},ee={class:"float-right"},te={class:"large-text"},le={class:"float-right"},ne={class:"large-text"},oe={class:"float-right"},se={class:"large-text"},ae={class:"float-right"},re={class:"large-text"},ie={class:"float-right"},de={class:"large-text"},pe={class:"float-right"},me={class:"large-text"},ue={class:"float-right"},ce={class:"large-text"},Ve={class:"float-right"},Ne={class:"large-text"},ge={class:"float-right"},Ee={class:"large-text"},fe={class:"float-right"},xe={class:"large-text"},ve={class:"float-right"},_e={class:"large-text"},ye={class:"float-right"},be={class:"large-text"},Ce={class:"float-right"},Se={class:"large-text"},we={class:"float-right"},he={class:"large-text"},De={class:"float-right"},ke={class:"large-text"},je={class:"float-right"},Oe={class:"large-text"},Be={class:"float-right"},Me={class:"large-text"},Te={class:"float-right"},Ie={class:"large-text"},Je={class:"float-right"},Pe={class:"large-text",style:{color:"orangered","font-weight":"bold"}},qe={class:"float-right"},ze={class:"large-text"},Ae={class:"float-right"},Le={class:"large-text"},Ue={class:"float-right"},$e={class:"large-text"},He={class:"float-right"},Xe={class:"float-right"},Fe={key:1,class:"float-right"},We=e.defineComponent({__name:"StatusIndex",setup(Ge){const y=_.getContextPath(),b=_.getToken(),a=e.ref(!1),g=e.ref(),r=e.reactive({}),l=e.reactive({}),o=e.reactive({}),n=e.reactive({}),c=e.reactive({}),d=e.reactive({}),p=e.reactive({}),x=async()=>{var V;a.value=!0;const s=await v.getStatus();s.code===200&&(Object.assign(r,s.data),Object.assign(l,r.license),Object.assign(o,r.database),Object.assign(n,r.jvm),Object.assign(c,r.os),Object.assign(d,r.app),Object.assign(p,(V=r.jvm)==null?void 0:V.thread));const t=await v.getMachineCode();g.value=t.data,a.value=!1};x();const C=s=>{s.file.status==="done"?s.file.response.code===200?(f.notification.success({message:"License 更新成功",description:"将重新加载 License 信息,请确认是否正确"}),x()):f.notification.error({message:s.file.response.msg,description:"请检查 License 文件是否正确"}):s.file.status==="error"&&f.notification.error({message:"上传失败"})};return(s,t)=>{const V=e.resolveComponent("a-progress"),m=e.resolveComponent("a-skeleton"),u=e.resolveComponent("a-card"),i=e.resolveComponent("a-col"),N=e.resolveComponent("a-typography-text"),E=e.resolveComponent("a-row"),S=e.resolveComponent("a-button"),w=e.resolveComponent("a-upload"),h=e.resolveComponent("a-typography-paragraph"),D=e.resolveComponent("a-tooltip");return e.openBlock(),e.createBlock(E,{gutter:16},{default:e.withCtx(()=>[e.createVNode(i,{span:12},{default:e.withCtx(()=>[e.createVNode(E,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"内存线程信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",j,[t[0]||(t[0]=e.createElementVNode("span",null,"当前用量",-1)),e.createElementVNode("span",O,e.toDisplayString(n.usedMemorySize)+" / "+e.toDisplayString(n.totalMemorySize),1),e.createElementVNode("div",B,[e.createVNode(V,{percent:n.memoryUsage,size:12},null,8,["percent"])])]),e.createElementVNode("div",M,[t[1]||(t[1]=e.createElementVNode("span",null,"当前可用",-1)),e.createElementVNode("span",T,e.toDisplayString(n.freeMemorySize),1)]),t[7]||(t[7]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",I,[t[2]||(t[2]=e.createElementVNode("span",null,"最大堆(-Xmx)",-1)),e.createElementVNode("span",J,e.toDisplayString(n.maxMemorySize),1)]),t[8]||(t[8]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",P,[t[3]||(t[3]=e.createElementVNode("span",null,"当前线程数",-1)),e.createElementVNode("span",q,e.toDisplayString(p.threadCount),1)]),t[9]||(t[9]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",z,[t[4]||(t[4]=e.createElementVNode("span",null,"守护线程数",-1)),e.createElementVNode("span",A,e.toDisplayString(p.daemonThreadCount),1)]),t[10]||(t[10]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",L,[t[5]||(t[5]=e.createElementVNode("span",null,"最大线程峰值",-1)),e.createElementVNode("span",U,e.toDisplayString(p.peakThreadCount),1)]),t[11]||(t[11]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",$,[t[6]||(t[6]=e.createElementVNode("span",null,"创建线程总数",-1)),e.createElementVNode("span",H,e.toDisplayString(p.totalStartedThreadCount),1)])]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"主数据库信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",X,[t[12]||(t[12]=e.createElementVNode("span",null,"数据库名称",-1)),e.createElementVNode("span",F,e.toDisplayString(o.productName),1)]),t[19]||(t[19]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",W,[t[13]||(t[13]=e.createElementVNode("span",null,"数据库版本",-1)),e.createElementVNode("span",G,e.toDisplayString(o.productVersion),1)]),t[20]||(t[20]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",K,[t[14]||(t[14]=e.createElementVNode("span",null,"驱动名称",-1)),e.createElementVNode("span",Q,[e.createVNode(N,{style:{width:"300px"},class:"large-text",ellipsis:{tooltip:o.driverVersion},content:o.driverVersion},null,8,["ellipsis","content"])])]),t[21]||(t[21]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",R,[t[15]||(t[15]=e.createElementVNode("span",null,"数据库连接池",-1)),e.createElementVNode("span",Y,e.toDisplayString(o.poolName),1)]),t[22]||(t[22]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Z,[t[16]||(t[16]=e.createElementVNode("span",null,"最大活跃连接数",-1)),e.createElementVNode("span",ee,e.toDisplayString(o.maxActive),1)]),t[23]||(t[23]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",te,[t[17]||(t[17]=e.createElementVNode("span",null,"最小空闲连接数",-1)),e.createElementVNode("span",le,e.toDisplayString(o.minIdle),1)]),t[24]||(t[24]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ne,[t[18]||(t[18]=e.createElementVNode("span",null,"获取连接等待时间",-1)),e.createElementVNode("span",oe,e.toDisplayString(o.maxWait)+"ms",1)]),t[25]||(t[25]=e.createElementVNode("br",null,null,-1))]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"系统信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",se,[t[26]||(t[26]=e.createElementVNode("span",null,"应用服务器",-1)),e.createElementVNode("span",ae,e.toDisplayString(d.serverInfo),1)]),t[30]||(t[30]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",re,[t[27]||(t[27]=e.createElementVNode("span",null,"工作目录",-1)),e.createElementVNode("span",ie,[e.createVNode(N,{style:{width:"300px"},class:"large-text",ellipsis:{tooltip:d.appPath},content:d.appPath},null,8,["ellipsis","content"])])]),t[31]||(t[31]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",de,[t[28]||(t[28]=e.createElementVNode("span",null,"会话超时(Session Timeout)",-1)),e.createElementVNode("span",pe,e.toDisplayString(d.maxInactiveInterval/60)+"分钟",1)]),t[32]||(t[32]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",me,[t[29]||(t[29]=e.createElementVNode("span",null,"缓存管理",-1)),e.createElementVNode("span",ue,e.toDisplayString(d.cacheManager),1)]),t[33]||(t[33]=e.createElementVNode("br",null,null,-1))]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1}),e.createVNode(i,{span:12},{default:e.withCtx(()=>[e.createVNode(E,{gutter:[16,16]},{default:e.withCtx(()=>[e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"JVM信息"},{default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",ce,[t[34]||(t[34]=e.createElementVNode("span",null,"系统启动时间",-1)),e.createElementVNode("span",Ve,e.toDisplayString(n.startTimeDisplay),1)]),t[41]||(t[41]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ne,[t[35]||(t[35]=e.createElementVNode("span",null,"系统运行时长",-1)),e.createElementVNode("span",ge,e.toDisplayString(n.uptimeDisplay),1)]),t[42]||(t[42]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ee,[t[36]||(t[36]=e.createElementVNode("span",null,"Java安装目录",-1)),e.createElementVNode("span",fe,[e.createVNode(N,{style:{width:"300px"},class:"large-text",ellipsis:{tooltip:n.javaHome},content:n.javaHome},null,8,["ellipsis","content"])])]),t[43]||(t[43]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",xe,[t[37]||(t[37]=e.createElementVNode("span",null,"Java版本",-1)),e.createElementVNode("span",ve,e.toDisplayString(n.javaVersion),1)]),t[44]||(t[44]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",_e,[t[38]||(t[38]=e.createElementVNode("span",null,"Java供应商",-1)),e.createElementVNode("span",ye,e.toDisplayString(n.javaVendor),1)]),t[45]||(t[45]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",be,[t[39]||(t[39]=e.createElementVNode("span",null,"操作系统",-1)),e.createElementVNode("span",Ce,e.toDisplayString(c.name)+" "+e.toDisplayString(c.version),1)]),t[46]||(t[46]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Se,[t[40]||(t[40]=e.createElementVNode("span",null,"系统核心数",-1)),e.createElementVNode("span",we,e.toDisplayString(c.availableProcessors),1)]),t[47]||(t[47]=e.createElementVNode("br",null,null,-1))]),_:1},8,["loading"])]),_:1})]),_:1}),e.createVNode(i,{span:24},{default:e.withCtx(()=>[e.createVNode(u,{title:"授权信息"},{extra:e.withCtx(()=>[e.createVNode(w,{name:"file",action:`${e.unref(y)}/api/v1/license/update_license`,headers:{"X-Auth-Token":e.unref(b)},showUploadList:!1,onChange:C},{default:e.withCtx(()=>[e.createVNode(S,{icon:e.h(e.unref(k.CloudUploadOutlined))},{default:e.withCtx(()=>t[48]||(t[48]=[e.createTextVNode("更新")])),_:1},8,["icon"])]),_:1},8,["action","headers"])]),default:e.withCtx(()=>[e.createVNode(m,{loading:a.value},{default:e.withCtx(()=>[e.createElementVNode("div",he,[t[49]||(t[49]=e.createElementVNode("span",null,"当前机器码",-1)),e.createElementVNode("span",De,[e.createVNode(h,{copyable:"",style:{width:"280px",color:"brown"},class:"large-text",ellipsis:{tooltip:g.value},content:g.value},null,8,["ellipsis","content"])])]),t[58]||(t[58]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ke,[t[50]||(t[50]=e.createElementVNode("span",null,"授权使用",-1)),e.createElementVNode("span",je,e.toDisplayString(l.company),1)]),t[59]||(t[59]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Oe,[t[51]||(t[51]=e.createElementVNode("span",null,"授权IP",-1)),e.createElementVNode("span",Be,e.toDisplayString(l.ip?l.ip:"无限制"),1)]),t[60]||(t[60]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Me,[t[52]||(t[52]=e.createElementVNode("span",null,"授权机器码",-1)),e.createElementVNode("span",Te,[l.machineCode?(e.openBlock(),e.createBlock(N,{key:0,style:{width:"300px"},class:"large-text float-right",ellipsis:{tooltip:l.machineCode},content:l.machineCode},null,8,["ellipsis","content"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("无限制")],64))])]),t[61]||(t[61]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Ie,[t[53]||(t[53]=e.createElementVNode("span",null,"授权日期",-1)),e.createElementVNode("span",Je,e.toDisplayString(l.createdAt),1)]),t[62]||(t[62]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Pe,[t[54]||(t[54]=e.createElementVNode("span",null,"结束日期",-1)),e.createElementVNode("span",qe,e.toDisplayString(l.expiresAt?l.expiresAt:"无限制"),1)]),t[63]||(t[63]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",ze,[t[55]||(t[55]=e.createElementVNode("span",null,"最大用户数",-1)),e.createElementVNode("span",Ae,e.toDisplayString(l.users?`${l.users} 人`:"无限制"),1)]),t[64]||(t[64]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",Le,[t[56]||(t[56]=e.createElementVNode("span",null,"最大流程实例数",-1)),e.createElementVNode("span",Ue,e.toDisplayString(l.workflowInstances?`${l.workflowInstances} 条`:"无限制"),1)]),t[65]||(t[65]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("div",$e,[t[57]||(t[57]=e.createElementVNode("span",null,"扩展信息",-1)),e.createElementVNode("span",He,[l.extras?(e.openBlock(),e.createBlock(D,{key:0,title:JSON.stringify(l.extras)},{default:e.withCtx(()=>[e.createElementVNode("span",Xe,e.toDisplayString(JSON.stringify(l.extras)),1)]),_:1},8,["title"])):(e.openBlock(),e.createElementBlock("span",Fe,"无"))])])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});exports.default=We;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@since2006/utils"),e=()=>t.http.get("/api/v1/status/get_status");exports.getStatus=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@since2006/utils"),e=()=>t.http.get("/api/v1/status/get_status"),s=()=>t.http.get("/api/v1/license/get_machine_code");exports.getMachineCode=s;exports.getStatus=e;
@@ -1 +1 @@
1
- .large-text[data-v-83e399db]{font-size:16px}.float-right[data-v-83e399db]{float:right}.margin-block[data-v-83e399db]{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-3744022f]{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-044829f6]{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-13310236]{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-43cad169]{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-57854e76]{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
+ .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-3744022f]{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-044829f6]{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-13310236]{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-43cad169]{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-57854e76]{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}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@since2006/pages",
3
3
  "private": false,
4
- "version": "2025.11.1",
4
+ "version": "2025.12.0",
5
5
  "description": "基于 Ant Design Vue 的页面库",
6
6
  "type": "module",
7
7
  "main": "dist/lib/index.js",