@since2006/pages 2025.8.7 → 2025.11.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 (135) hide show
  1. package/dist/es/src/app/attachment/AttachmentEdit.vue.js +43 -40
  2. package/dist/es/src/app/attachment/{AttachmentList.vue.js → AttachmentIndex.vue.js} +21 -21
  3. package/dist/es/src/app/attachment/AttachmentIndex.vue2.js +4 -0
  4. package/dist/es/src/app/attachment/api.js +6 -6
  5. package/dist/es/src/app/attachment/index.js +1 -1
  6. package/dist/es/src/app/dict/DictEdit.vue.js +46 -46
  7. package/dist/es/src/app/dict/DictIndex.vue.js +2 -2
  8. package/dist/es/src/app/dict/DictItemEdit.vue.js +1 -1
  9. package/dist/es/src/app/dict/DictItemEdit.vue2.js +39 -38
  10. package/dist/es/src/app/dict/DictPanel.vue.js +2 -2
  11. package/dist/es/src/app/dict/DictPanel.vue2.js +80 -80
  12. package/dist/es/src/app/dict/api.js +22 -20
  13. package/dist/es/src/app/log/LogIndex.vue.js +5 -236
  14. package/dist/es/src/app/log/LogIndex.vue2.js +174 -2
  15. package/dist/es/src/app/log/api.js +39 -7
  16. package/dist/es/src/app/log/components/AccessLogDetail.vue.js +7 -0
  17. package/dist/es/src/app/log/components/AccessLogDetail.vue2.js +240 -0
  18. package/dist/es/src/app/log/components/AccessLogList.vue.js +7 -0
  19. package/dist/es/src/app/log/components/AccessLogList.vue2.js +452 -0
  20. package/dist/es/src/app/log/components/AuditLogDetail.vue.js +7 -0
  21. package/dist/es/src/app/log/components/AuditLogDetail.vue2.js +163 -0
  22. package/dist/es/src/app/log/components/AuditLogList.vue.js +7 -0
  23. package/dist/es/src/app/log/components/AuditLogList.vue2.js +325 -0
  24. package/dist/es/src/app/log/components/ErrorLogDetail.vue.js +7 -0
  25. package/dist/es/src/app/log/components/ErrorLogDetail.vue2.js +187 -0
  26. package/dist/es/src/app/log/components/ErrorLogList.vue.js +7 -0
  27. package/dist/es/src/app/log/components/ErrorLogList.vue2.js +310 -0
  28. package/dist/es/src/app/log/components/LoginLogDetail.vue.js +7 -0
  29. package/dist/es/src/app/log/components/LoginLogDetail.vue2.js +182 -0
  30. package/dist/es/src/app/log/components/LoginLogList.vue.js +7 -0
  31. package/dist/es/src/app/log/components/LoginLogList.vue2.js +303 -0
  32. package/dist/es/src/app/log/components/OperationLogDetail.vue.js +7 -0
  33. package/dist/es/src/app/log/components/OperationLogDetail.vue2.js +229 -0
  34. package/dist/es/src/app/log/components/OperationLogList.vue.js +7 -0
  35. package/dist/es/src/app/log/components/OperationLogList.vue2.js +333 -0
  36. package/dist/es/src/app/log/index.js +3 -3
  37. package/dist/es/src/app/log/ua-icons.vue.js +2 -2
  38. package/dist/es/src/app/log/ua-icons.vue2.js +58 -26
  39. package/dist/es/src/app/metadata/MetadataIndex.vue.js +1 -1
  40. package/dist/es/src/app/metadata/MetadataUpdate.vue.js +1 -1
  41. package/dist/es/src/app/metadata/api.js +5 -5
  42. package/dist/es/src/app/module/ModuleAdd.vue.js +1 -1
  43. package/dist/es/src/app/module/ModuleAdd.vue2.js +70 -66
  44. package/dist/es/src/app/module/ModuleDetail.vue.js +10 -10
  45. package/dist/es/src/app/module/ModuleEdit.vue.js +2 -2
  46. package/dist/es/src/app/module/ModuleEdit.vue2.js +74 -70
  47. package/dist/es/src/app/module/ModuleIndex.vue.js +2 -2
  48. package/dist/es/src/app/module/ModuleIndex.vue2.js +35 -35
  49. package/dist/es/src/app/module/api.js +10 -6
  50. package/dist/es/src/app/module/icon/IconSelectorModal.vue.js +2 -2
  51. package/dist/es/src/app/schedule/CronTypeSelect.vue.js +32 -32
  52. package/dist/es/src/app/schedule/ScheduleAdd.vue.js +3 -3
  53. package/dist/es/src/app/schedule/ScheduleAdd.vue2.js +38 -38
  54. package/dist/es/src/app/schedule/ScheduleEdit.vue.js +1 -1
  55. package/dist/es/src/app/schedule/ScheduleEdit.vue2.js +56 -56
  56. package/dist/es/src/app/schedule/ScheduleIndex.vue.js +18 -18
  57. package/dist/es/src/app/schedule/ScheduleLogList.vue.js +26 -26
  58. package/dist/es/src/app/schedule/ScheduleLogView.vue.js +3 -3
  59. package/dist/es/src/app/schedule/ScheduleLogView.vue2.js +7 -7
  60. package/dist/es/src/app/schedule/api.js +14 -14
  61. package/dist/es/src/app/system/StatusIndex.vue.js +1 -1
  62. package/dist/es/src/app/system/StatusIndex.vue2.js +109 -111
  63. package/dist/es/src/app/system/api.js +2 -3
  64. package/dist/es/style.css +1 -1
  65. package/dist/lib/src/app/attachment/AttachmentEdit.vue.js +1 -1
  66. package/dist/lib/src/app/attachment/AttachmentIndex.vue.js +1 -0
  67. package/dist/lib/src/app/attachment/{AttachmentList.vue2.js → AttachmentIndex.vue2.js} +1 -1
  68. package/dist/lib/src/app/attachment/api.js +1 -1
  69. package/dist/lib/src/app/attachment/index.js +1 -1
  70. package/dist/lib/src/app/dict/DictEdit.vue.js +1 -1
  71. package/dist/lib/src/app/dict/DictIndex.vue.js +1 -1
  72. package/dist/lib/src/app/dict/DictItemEdit.vue.js +1 -1
  73. package/dist/lib/src/app/dict/DictItemEdit.vue2.js +1 -1
  74. package/dist/lib/src/app/dict/DictPanel.vue.js +1 -1
  75. package/dist/lib/src/app/dict/DictPanel.vue2.js +1 -1
  76. package/dist/lib/src/app/dict/api.js +1 -1
  77. package/dist/lib/src/app/log/LogIndex.vue.js +1 -1
  78. package/dist/lib/src/app/log/LogIndex.vue2.js +1 -1
  79. package/dist/lib/src/app/log/api.js +1 -1
  80. package/dist/lib/src/app/log/components/AccessLogDetail.vue.js +1 -0
  81. package/dist/lib/src/app/log/components/AccessLogDetail.vue2.js +1 -0
  82. package/dist/lib/src/app/log/components/AccessLogList.vue.js +1 -0
  83. package/dist/lib/src/app/log/components/AccessLogList.vue2.js +1 -0
  84. package/dist/lib/src/app/log/components/AuditLogDetail.vue.js +1 -0
  85. package/dist/lib/src/app/log/components/AuditLogDetail.vue2.js +1 -0
  86. package/dist/lib/src/app/log/components/AuditLogList.vue.js +1 -0
  87. package/dist/lib/src/app/log/components/AuditLogList.vue2.js +1 -0
  88. package/dist/lib/src/app/log/components/ErrorLogDetail.vue.js +1 -0
  89. package/dist/lib/src/app/log/components/ErrorLogDetail.vue2.js +1 -0
  90. package/dist/lib/src/app/log/components/ErrorLogList.vue.js +1 -0
  91. package/dist/lib/src/app/log/components/ErrorLogList.vue2.js +1 -0
  92. package/dist/lib/src/app/log/components/LoginLogDetail.vue.js +1 -0
  93. package/dist/lib/src/app/log/components/LoginLogDetail.vue2.js +1 -0
  94. package/dist/lib/src/app/log/components/LoginLogList.vue.js +1 -0
  95. package/dist/lib/src/app/log/components/LoginLogList.vue2.js +1 -0
  96. package/dist/lib/src/app/log/components/OperationLogDetail.vue.js +1 -0
  97. package/dist/lib/src/app/log/components/OperationLogDetail.vue2.js +1 -0
  98. package/dist/lib/src/app/log/components/OperationLogList.vue.js +1 -0
  99. package/dist/lib/src/app/log/components/OperationLogList.vue2.js +1 -0
  100. package/dist/lib/src/app/log/index.js +1 -1
  101. package/dist/lib/src/app/log/ua-icons.vue.js +1 -1
  102. package/dist/lib/src/app/log/ua-icons.vue2.js +1 -1
  103. package/dist/lib/src/app/metadata/MetadataIndex.vue.js +1 -1
  104. package/dist/lib/src/app/metadata/MetadataUpdate.vue.js +1 -1
  105. package/dist/lib/src/app/metadata/api.js +1 -1
  106. package/dist/lib/src/app/module/ModuleAdd.vue.js +1 -1
  107. package/dist/lib/src/app/module/ModuleAdd.vue2.js +1 -1
  108. package/dist/lib/src/app/module/ModuleDetail.vue.js +1 -1
  109. package/dist/lib/src/app/module/ModuleEdit.vue.js +1 -1
  110. package/dist/lib/src/app/module/ModuleEdit.vue2.js +1 -1
  111. package/dist/lib/src/app/module/ModuleIndex.vue.js +1 -1
  112. package/dist/lib/src/app/module/ModuleIndex.vue2.js +1 -1
  113. package/dist/lib/src/app/module/api.js +1 -1
  114. package/dist/lib/src/app/module/icon/IconSelectorModal.vue.js +1 -1
  115. package/dist/lib/src/app/schedule/CronTypeSelect.vue.js +1 -1
  116. package/dist/lib/src/app/schedule/ScheduleAdd.vue.js +1 -1
  117. package/dist/lib/src/app/schedule/ScheduleAdd.vue2.js +1 -1
  118. package/dist/lib/src/app/schedule/ScheduleEdit.vue.js +1 -1
  119. package/dist/lib/src/app/schedule/ScheduleEdit.vue2.js +1 -1
  120. package/dist/lib/src/app/schedule/ScheduleIndex.vue.js +1 -1
  121. package/dist/lib/src/app/schedule/ScheduleLogList.vue.js +1 -1
  122. package/dist/lib/src/app/schedule/ScheduleLogView.vue.js +1 -1
  123. package/dist/lib/src/app/schedule/ScheduleLogView.vue2.js +1 -1
  124. package/dist/lib/src/app/schedule/api.js +1 -1
  125. package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
  126. package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
  127. package/dist/lib/src/app/system/api.js +1 -1
  128. package/dist/lib/style.css +1 -1
  129. package/package.json +4 -1
  130. package/dist/es/src/app/attachment/AttachmentList.vue2.js +0 -4
  131. package/dist/es/src/app/log/LogView.vue.js +0 -7
  132. package/dist/es/src/app/log/LogView.vue2.js +0 -164
  133. package/dist/lib/src/app/attachment/AttachmentList.vue.js +0 -1
  134. package/dist/lib/src/app/log/LogView.vue.js +0 -1
  135. package/dist/lib/src/app/log/LogView.vue2.js +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, ref as q, reactive as S, resolveComponent as a, openBlock as l, createElementBlock as i, createElementVNode as x, createVNode as o, withCtx as t, createTextVNode as d, unref as _, toDisplayString as H, Fragment as b, createBlock as u, createCommentVNode as F } from "vue";
1
+ import { defineComponent as z, ref as E, reactive as S, resolveComponent as a, openBlock as l, createElementBlock as i, createElementVNode as x, createVNode as o, withCtx as t, createTextVNode as d, unref as _, toDisplayString as H, Fragment as b, createBlock as u, createCommentVNode as F } from "vue";
2
2
  import { message as T } from "ant-design-vue";
3
3
  import { HourglassTwoTone as L, PlusOutlined as G, SyncOutlined as J } from "@ant-design/icons-vue";
4
4
  import K from "./ScheduleAdd.vue.js";
@@ -9,7 +9,7 @@ import { FxCardTable as ee } from "@since2006/components";
9
9
  const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, ne = ["onClick"], le = ["onClick"], ce = /* @__PURE__ */ z({
10
10
  __name: "ScheduleIndex",
11
11
  setup(de) {
12
- const y = q(), D = [
12
+ const y = E(), V = [
13
13
  {
14
14
  title: "任务名称",
15
15
  dataIndex: "name",
@@ -36,7 +36,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
36
36
  },
37
37
  {
38
38
  title: "状态",
39
- dataIndex: "state",
39
+ dataIndex: "status",
40
40
  align: "center"
41
41
  },
42
42
  {
@@ -55,17 +55,17 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
55
55
  query: void 0
56
56
  }), R = () => {
57
57
  y.value.refresh();
58
- }, V = () => {
58
+ }, $ = () => {
59
59
  v.query = void 0, y.value.refresh();
60
- }, g = q(!1), p = S({
60
+ }, g = E(!1), p = S({
61
61
  open: !1,
62
62
  scheduleId: ""
63
63
  }), m = S({
64
64
  open: !1,
65
65
  scheduleId: ""
66
- }), $ = () => {
66
+ }), h = () => {
67
67
  g.value = !0;
68
- }, h = (s) => {
68
+ }, D = (s) => {
69
69
  m.open = !0, m.scheduleId = s.id;
70
70
  }, N = (s) => {
71
71
  p.open = !0, p.scheduleId = s.id;
@@ -81,7 +81,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
81
81
  y.value.refresh();
82
82
  };
83
83
  return (s, e) => {
84
- const B = a("a-input"), P = a("a-form-item"), w = a("a-col"), I = a("a-button"), M = a("a-row"), O = a("a-form"), r = a("a-tag"), E = a("a-popconfirm"), j = a("a-divider");
84
+ const B = a("a-input"), P = a("a-form-item"), w = a("a-col"), I = a("a-button"), M = a("a-row"), O = a("a-form"), r = a("a-tag"), q = a("a-popconfirm"), j = a("a-divider");
85
85
  return l(), i("div", null, [
86
86
  x("div", te, [
87
87
  x("div", oe, [
@@ -126,7 +126,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
126
126
  _: 1
127
127
  }),
128
128
  o(I, {
129
- onClick: V,
129
+ onClick: $,
130
130
  style: { "margin-left": "16px" }
131
131
  }, {
132
132
  default: t(() => e[5] || (e[5] = [
@@ -145,7 +145,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
145
145
  })
146
146
  ]),
147
147
  o(_(ee), {
148
- columns: D,
148
+ columns: V,
149
149
  "load-data": _(X),
150
150
  params: v,
151
151
  ref_key: "tableRef",
@@ -153,12 +153,12 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
153
153
  }, {
154
154
  title: t(() => [
155
155
  o(_(L)),
156
- e[6] || (e[6] = d(" 定时任务"))
156
+ e[6] || (e[6] = d(" 定时任务 "))
157
157
  ]),
158
158
  toolbar: t(() => [
159
159
  o(I, {
160
160
  type: "primary",
161
- onClick: $
161
+ onClick: h
162
162
  }, {
163
163
  default: t(() => [
164
164
  o(_(G)),
@@ -170,7 +170,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
170
170
  bodyCell: t(({ column: n, record: f, text: c }) => [
171
171
  n.dataIndex === "name" ? (l(), i("a", {
172
172
  key: 0,
173
- onClick: (C) => h(f)
173
+ onClick: (C) => D(f)
174
174
  }, H(f.name), 9, ne)) : n.dataIndex === "lastRunResult" ? (l(), i(b, { key: 1 }, [
175
175
  c === "S" ? (l(), u(r, {
176
176
  key: 0,
@@ -200,8 +200,8 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
200
200
  ]),
201
201
  _: 1
202
202
  })) : F("", !0)
203
- ], 64)) : n.dataIndex === "state" ? (l(), i(b, { key: 2 }, [
204
- c === "E" ? (l(), u(r, {
203
+ ], 64)) : n.dataIndex === "status" ? (l(), i(b, { key: 2 }, [
204
+ c === 1 ? (l(), u(r, {
205
205
  key: 0,
206
206
  color: "success"
207
207
  }, {
@@ -209,7 +209,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
209
209
  d("启用")
210
210
  ])),
211
211
  _: 1
212
- })) : c === "D" ? (l(), u(r, {
212
+ })) : c === 0 ? (l(), u(r, {
213
213
  key: 1,
214
214
  color: "error"
215
215
  }, {
@@ -230,7 +230,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
230
230
  key: 3,
231
231
  onClick: (C) => N(f)
232
232
  }, "查看", 8, le)) : n.dataIndex === "action" ? (l(), i(b, { key: 4 }, [
233
- o(E, {
233
+ o(q, {
234
234
  title: "确定要执行吗?",
235
235
  onConfirm: (C) => U(f)
236
236
  }, {
@@ -240,7 +240,7 @@ const te = { class: "ant-pro-table" }, oe = { class: "ant-pro-table-search" }, n
240
240
  _: 2
241
241
  }, 1032, ["onConfirm"]),
242
242
  o(j, { type: "vertical" }),
243
- o(E, {
243
+ o(q, {
244
244
  title: "确定要删除吗?",
245
245
  onConfirm: (C) => A(f)
246
246
  }, {
@@ -1,12 +1,12 @@
1
- import { defineComponent as V, ref as g, watch as F, reactive as b, resolveComponent as I, openBlock as t, createBlock as r, withCtx as o, createVNode as c, unref as u, createElementBlock as p, toDisplayString as L, createCommentVNode as m, Fragment as N, createTextVNode as f } from "vue";
1
+ import { defineComponent as F, ref as I, watch as b, reactive as D, resolveComponent as _, openBlock as t, createBlock as r, withCtx as o, createVNode as c, unref as u, createElementBlock as p, toDisplayString as L, createCommentVNode as m, Fragment as N, createTextVNode as f } from "vue";
2
2
  import { queryScheduleLogs as R } from "./api.js";
3
3
  import B from "./ScheduleLogView.vue.js";
4
- import { FxTable as T } from "@since2006/components";
5
- import { SyncOutlined as q } from "@ant-design/icons-vue";
6
- const z = {
4
+ import { SyncOutlined as A } from "@ant-design/icons-vue";
5
+ import { FxTable as q } from "@since2006/components";
6
+ const T = {
7
7
  key: 0,
8
8
  style: { "text-align": "right" }
9
- }, E = ["onClick"], G = /* @__PURE__ */ V({
9
+ }, z = ["onClick"], G = /* @__PURE__ */ F({
10
10
  __name: "ScheduleLogList",
11
11
  props: {
12
12
  open: {
@@ -20,38 +20,38 @@ const z = {
20
20
  },
21
21
  emits: ["update:open"],
22
22
  setup(y, { emit: k }) {
23
- const x = g(), s = y;
24
- F(
23
+ const x = I(), s = y;
24
+ b(
25
25
  () => s.open,
26
26
  (d) => {
27
27
  var e;
28
- d && (_.scheduleId = s.scheduleId, (e = x.value) == null || e.refresh());
28
+ d && (g.scheduleId = s.scheduleId, (e = x.value) == null || e.refresh());
29
29
  }
30
30
  );
31
31
  const v = [
32
32
  {
33
33
  title: "启动时间",
34
- dataIndex: "startDate",
34
+ dataIndex: "startAt",
35
35
  sorter: !0,
36
- sortField: "start_date"
36
+ sortField: "start_at"
37
37
  },
38
38
  {
39
39
  title: "结束时间",
40
- dataIndex: "endDate",
40
+ dataIndex: "endAt",
41
41
  sorter: !0,
42
- sortField: "end_date",
42
+ sortField: "end_at",
43
43
  sortDirections: ["descend", "ascend"]
44
44
  },
45
45
  {
46
46
  title: "耗时(ms)",
47
- dataIndex: "runTime",
47
+ dataIndex: "duration",
48
48
  sorter: !0,
49
- sortField: "run_time",
49
+ sortField: "duration",
50
50
  sortDirections: ["descend", "ascend"]
51
51
  },
52
52
  {
53
53
  title: "日志过期时间",
54
- dataIndex: "expireDate"
54
+ dataIndex: "expireAt"
55
55
  },
56
56
  {
57
57
  title: "运行结果",
@@ -65,9 +65,9 @@ const z = {
65
65
  className: "text-center",
66
66
  scopedSlots: { customRender: "action" }
67
67
  }
68
- ], _ = b({
68
+ ], g = D({
69
69
  scheduleId: s.scheduleId
70
- }), S = k, n = g({
70
+ }), S = k, n = I({
71
71
  open: !1,
72
72
  detail: {}
73
73
  }), h = (d) => {
@@ -79,8 +79,8 @@ const z = {
79
79
  S("update:open", !1);
80
80
  };
81
81
  return (d, e) => {
82
- const i = I("a-tag"), D = I("a-modal");
83
- return t(), r(D, {
82
+ const i = _("a-tag"), w = _("a-modal");
83
+ return t(), r(w, {
84
84
  title: "运行日志",
85
85
  width: 820,
86
86
  open: y.open,
@@ -90,16 +90,16 @@ const z = {
90
90
  onCancel: C
91
91
  }, {
92
92
  default: o(() => [
93
- c(u(T), {
93
+ c(u(q), {
94
94
  columns: v,
95
95
  "load-data": u(R),
96
- params: _,
96
+ params: g,
97
97
  ref_key: "tableRef",
98
98
  ref: x,
99
99
  size: "middle"
100
100
  }, {
101
- bodyCell: o(({ column: a, text: l, record: w }) => [
102
- a.dataIndex === "runTime" ? (t(), p("div", z, L(l), 1)) : m("", !0),
101
+ bodyCell: o(({ column: a, text: l, record: V }) => [
102
+ a.dataIndex === "duration" ? (t(), p("div", T, L(l), 1)) : m("", !0),
103
103
  a.dataIndex === "result" ? (t(), p(N, { key: 1 }, [
104
104
  l === "S" ? (t(), r(i, {
105
105
  key: 0,
@@ -122,7 +122,7 @@ const z = {
122
122
  color: "processing"
123
123
  }, {
124
124
  icon: o(() => [
125
- c(u(q), { spin: !0 })
125
+ c(u(A), { spin: !0 })
126
126
  ]),
127
127
  default: o(() => [
128
128
  e[3] || (e[3] = f(" 运行中 "))
@@ -131,8 +131,8 @@ const z = {
131
131
  })) : m("", !0)
132
132
  ], 64)) : a.dataIndex === "action" ? (t(), p("a", {
133
133
  key: 2,
134
- onClick: (O) => h(w)
135
- }, "查看", 8, E)) : m("", !0)
134
+ onClick: (E) => h(V)
135
+ }, "查看", 8, z)) : m("", !0)
136
136
  ]),
137
137
  _: 1
138
138
  }, 8, ["load-data", "params"]),
@@ -1,7 +1,7 @@
1
1
  import o from "./ScheduleLogView.vue2.js";
2
2
  /* empty css */
3
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ e(o, [["__scopeId", "data-v-de0bbc9f"]]);
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-418f353d"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as x, resolveComponent as s, openBlock as i, createBlock as r, withCtx as e, createVNode as a, createTextVNode as n, toDisplayString as u, createElementVNode as C } from "vue";
2
- const D = ["innerHTML"], V = /* @__PURE__ */ y({
2
+ const V = ["innerHTML"], w = /* @__PURE__ */ y({
3
3
  __name: "ScheduleLogView",
4
4
  props: {
5
5
  open: {
@@ -42,25 +42,25 @@ const D = ["innerHTML"], V = /* @__PURE__ */ y({
42
42
  class: "qq"
43
43
  }, {
44
44
  default: e(() => [
45
- n(u(t.detail.startDate), 1)
45
+ n(u(t.detail.startAt), 1)
46
46
  ]),
47
47
  _: 1
48
48
  }),
49
49
  a(o, { label: "结束时间" }, {
50
50
  default: e(() => [
51
- n(u(t.detail.endDate), 1)
51
+ n(u(t.detail.endAt), 1)
52
52
  ]),
53
53
  _: 1
54
54
  }),
55
55
  a(o, { label: "耗时(ms)" }, {
56
56
  default: e(() => [
57
- n(u(t.detail.runTime), 1)
57
+ n(u(t.detail.duration), 1)
58
58
  ]),
59
59
  _: 1
60
60
  }),
61
61
  a(o, { label: "日志过期时间" }, {
62
62
  default: e(() => [
63
- n(u(t.detail.expireDate), 1)
63
+ n(u(t.detail.expireAt), 1)
64
64
  ]),
65
65
  _: 1
66
66
  }),
@@ -98,7 +98,7 @@ const D = ["innerHTML"], V = /* @__PURE__ */ y({
98
98
  default: e(() => [
99
99
  C("span", {
100
100
  innerHTML: _(t.detail.content)
101
- }, null, 8, D)
101
+ }, null, 8, V)
102
102
  ]),
103
103
  _: 1
104
104
  })
@@ -112,5 +112,5 @@ const D = ["innerHTML"], V = /* @__PURE__ */ y({
112
112
  }
113
113
  });
114
114
  export {
115
- V as default
115
+ w as default
116
116
  };
@@ -1,37 +1,37 @@
1
1
  import { http as u } from "@since2006/utils";
2
2
  function c(e) {
3
- return u.get("/api/1/schedule/query_schedules", { params: e });
3
+ return u.get("/api/v1/schedule/query_schedules", { params: e });
4
4
  }
5
5
  function d(e) {
6
- return u.postForm("/api/1/schedule/execute_schedule", { id: e });
6
+ return u.post("/api/v1/schedule/execute_schedule", { id: e });
7
+ }
8
+ function n(e) {
9
+ return u.post("/api/v1/schedule/delete_schedule", { id: e });
7
10
  }
8
11
  function r(e) {
9
- return u.postForm("/api/1/schedule/delete_schedule", { id: e });
12
+ return u.post("/api/v1/schedule/create_schedule", e);
10
13
  }
11
14
  function s(e) {
12
- return u.postForm("/api/1/schedule/add_schedule", e);
13
- }
14
- function n(e) {
15
- return u.get("/api/1/schedule/get_schedule", { params: { id: e } });
15
+ return u.get("/api/v1/schedule/get_schedule", { params: { id: e } });
16
16
  }
17
17
  function l(e) {
18
- return u.get("/api/1/schedule/get_schedule_syntax", {
18
+ return u.get("/api/v1/schedule/get_schedule_config", {
19
19
  params: { id: e },
20
20
  responseType: "document"
21
21
  });
22
22
  }
23
23
  function h(e) {
24
- return u.postForm("/api/1/schedule/update_schedule", e);
24
+ return u.post("/api/v1/schedule/update_schedule", e);
25
25
  }
26
26
  function o(e) {
27
- return u.get("/api/1/schedule/query_schedule_logs", { params: e });
27
+ return u.get("/api/v1/schedule/query_schedule_logs", { params: e });
28
28
  }
29
29
  export {
30
- s as addSchedule,
31
- r as deleteSchedule,
30
+ r as createSchedule,
31
+ n as deleteSchedule,
32
32
  d as executeSchedule,
33
- n as getSchedule,
34
- l as getScheduleSyntax,
33
+ s as getSchedule,
34
+ l as getScheduleConfig,
35
35
  o as queryScheduleLogs,
36
36
  c as querySchedules,
37
37
  h as updateSchedule
@@ -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-92532804"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-83e399db"]]);
5
5
  export {
6
6
  m as default
7
7
  };