@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.
Files changed (29) hide show
  1. package/dist/es/src/app/log/components/AccessLogList.vue.js +2 -2
  2. package/dist/es/src/app/log/components/AccessLogList.vue2.js +7 -8
  3. package/dist/es/src/app/log/components/AuditLogList.vue.js +1 -1
  4. package/dist/es/src/app/log/components/AuditLogList.vue2.js +1 -2
  5. package/dist/es/src/app/log/components/ErrorLogList.vue.js +2 -2
  6. package/dist/es/src/app/log/components/ErrorLogList.vue2.js +1 -2
  7. package/dist/es/src/app/log/components/LoginLogList.vue.js +1 -1
  8. package/dist/es/src/app/log/components/LoginLogList.vue2.js +7 -6
  9. package/dist/es/src/app/log/components/OperationLogList.vue.js +2 -2
  10. package/dist/es/src/app/log/components/OperationLogList.vue2.js +1 -2
  11. package/dist/es/src/app/system/StatusIndex.vue.js +1 -1
  12. package/dist/es/src/app/system/StatusIndex.vue2.js +209 -206
  13. package/dist/es/src/app/system/api.js +3 -2
  14. package/dist/es/style.css +1 -1
  15. package/dist/lib/src/app/log/components/AccessLogList.vue.js +1 -1
  16. package/dist/lib/src/app/log/components/AccessLogList.vue2.js +1 -1
  17. package/dist/lib/src/app/log/components/AuditLogList.vue.js +1 -1
  18. package/dist/lib/src/app/log/components/AuditLogList.vue2.js +1 -1
  19. package/dist/lib/src/app/log/components/ErrorLogList.vue.js +1 -1
  20. package/dist/lib/src/app/log/components/ErrorLogList.vue2.js +1 -1
  21. package/dist/lib/src/app/log/components/LoginLogList.vue.js +1 -1
  22. package/dist/lib/src/app/log/components/LoginLogList.vue2.js +1 -1
  23. package/dist/lib/src/app/log/components/OperationLogList.vue.js +1 -1
  24. package/dist/lib/src/app/log/components/OperationLogList.vue2.js +1 -1
  25. package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
  26. package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
  27. package/dist/lib/src/app/system/api.js +1 -1
  28. package/dist/lib/style.css +1 -1
  29. package/package.json +1 -1
@@ -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-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-43cad169"]]);exports.default=u;
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;