@since2006/pages 2025.12.0 → 2026.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) 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/module/ModuleAdd.vue.js +2 -2
  12. package/dist/es/src/app/module/ModuleAdd.vue2.js +50 -46
  13. package/dist/es/src/app/module/ModuleDetail.vue.js +30 -29
  14. package/dist/es/src/app/module/ModuleEdit.vue.js +2 -2
  15. package/dist/es/src/app/module/ModuleEdit.vue2.js +49 -45
  16. package/dist/es/src/app/module/ModuleIndex.vue.js +2 -2
  17. package/dist/es/src/app/module/ModuleIndex.vue2.js +76 -73
  18. package/dist/es/src/app/module/icon/AppIcon.vue.js +35 -0
  19. package/dist/es/src/app/system/StatusIndex.vue.js +1 -1
  20. package/dist/es/src/app/system/StatusIndex.vue2.js +33 -33
  21. package/dist/es/style.css +1 -1
  22. package/dist/lib/src/app/attachment/AttachmentIndex.vue.js +1 -1
  23. package/dist/lib/src/app/dict/DictIndex.vue2.js +1 -1
  24. package/dist/lib/src/app/dict/DictPanel.vue2.js +1 -1
  25. package/dist/lib/src/app/log/components/AccessLogList.vue.js +1 -1
  26. package/dist/lib/src/app/log/components/AccessLogList.vue2.js +1 -1
  27. package/dist/lib/src/app/log/components/AuditLogList.vue.js +1 -1
  28. package/dist/lib/src/app/log/components/AuditLogList.vue2.js +1 -1
  29. package/dist/lib/src/app/log/components/ErrorLogList.vue.js +1 -1
  30. package/dist/lib/src/app/log/components/ErrorLogList.vue2.js +1 -1
  31. package/dist/lib/src/app/log/components/LoginLogDetail.vue2.js +1 -1
  32. package/dist/lib/src/app/log/components/LoginLogList.vue.js +1 -1
  33. package/dist/lib/src/app/log/components/LoginLogList.vue2.js +1 -1
  34. package/dist/lib/src/app/log/components/OperationLogList.vue.js +1 -1
  35. package/dist/lib/src/app/log/components/OperationLogList.vue2.js +1 -1
  36. package/dist/lib/src/app/module/ModuleAdd.vue.js +1 -1
  37. package/dist/lib/src/app/module/ModuleAdd.vue2.js +1 -1
  38. package/dist/lib/src/app/module/ModuleDetail.vue.js +1 -1
  39. package/dist/lib/src/app/module/ModuleEdit.vue.js +1 -1
  40. package/dist/lib/src/app/module/ModuleEdit.vue2.js +1 -1
  41. package/dist/lib/src/app/module/ModuleIndex.vue.js +1 -1
  42. package/dist/lib/src/app/module/ModuleIndex.vue2.js +1 -1
  43. package/dist/lib/src/app/module/icon/AppIcon.vue.js +1 -0
  44. package/dist/lib/src/app/schedule/ScheduleIndex.vue.js +1 -1
  45. package/dist/lib/src/app/schedule/ScheduleLogList.vue.js +1 -1
  46. package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
  47. package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
  48. package/dist/lib/style.css +1 -1
  49. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./AccessLogList.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-43cad169"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f67f4d15"]]);
5
5
  export {
6
- a as default
6
+ c as default
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as D, reactive as S, computed as F, resolveComponent as u, openBlock as p, createElementBlock as E, createElementVNode as g, createVNode as t, withCtx as l, createTextVNode as d, unref as x, createBlock as I, toDisplayString as v, normalizeStyle as $, createCommentVNode as J, nextTick as K } from "vue";
2
- import { message as R } from "ant-design-vue";
2
+ import { message as c } from "ant-design-vue";
3
3
  import { SearchOutlined as Q, RedoOutlined as W, GlobalOutlined as X, DownloadOutlined as Z } from "@ant-design/icons-vue";
4
4
  import { queryAccessLogs as ee } from "../api.js";
5
5
  import te from "./AccessLogDetail.vue.js";
@@ -7,7 +7,7 @@ import { FxCardTable as le } from "@since2006/components";
7
7
  const ae = { class: "access-log-list" }, oe = { class: "ant-pro-table" }, ne = { class: "ant-pro-table-search" }, de = { class: "text-ellipsis" }, se = { class: "text-ellipsis" }, re = { class: "text-ellipsis" }, ue = ["onClick"], Ie = /* @__PURE__ */ j({
8
8
  __name: "AccessLogList",
9
9
  setup(ie) {
10
- const w = D(), U = D(!1), C = D(!1), c = [
10
+ const w = D(), R = D(!1), C = D(!1), U = [
11
11
  {
12
12
  title: "追踪ID",
13
13
  dataIndex: "traceId",
@@ -74,8 +74,6 @@ const ae = { class: "access-log-list" }, oe = { class: "ant-pro-table" }, ne = {
74
74
  dateRange: void 0,
75
75
  query: void 0
76
76
  }, a = S({ ...P }), M = F(() => ({
77
- page: 1,
78
- pageSize: 20,
79
77
  userId: a.userId,
80
78
  method: a.method,
81
79
  responseStatus: a.responseStatus,
@@ -99,9 +97,9 @@ const ae = { class: "access-log-list" }, oe = { class: "ant-pro-table" }, ne = {
99
97
  }, L = async () => {
100
98
  C.value = !0;
101
99
  try {
102
- R.success("导出成功");
100
+ c.success("导出成功");
103
101
  } catch {
104
- R.error("导出失败");
102
+ c.error("导出失败");
105
103
  } finally {
106
104
  C.value = !1;
107
105
  }
@@ -328,7 +326,7 @@ const ae = { class: "access-log-list" }, oe = { class: "ant-pro-table" }, ne = {
328
326
  t(k, {
329
327
  onClick: m,
330
328
  type: "primary",
331
- loading: U.value
329
+ loading: R.value
332
330
  }, {
333
331
  default: l(() => [
334
332
  t(x(Q)),
@@ -357,9 +355,10 @@ const ae = { class: "access-log-list" }, oe = { class: "ant-pro-table" }, ne = {
357
355
  })
358
356
  ]),
359
357
  t(x(le), {
360
- columns: c,
358
+ columns: U,
361
359
  "load-data": x(ee),
362
360
  params: M.value,
361
+ "page-config": { pageSize: 20 },
363
362
  ref_key: "tableRef",
364
363
  ref: w,
365
364
  "row-key": "id"
@@ -1,7 +1,7 @@
1
1
  import o from "./AuditLogList.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-13310236"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2505b1db"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -54,8 +54,6 @@ const te = { class: "audit-log-list" }, ae = { class: "ant-pro-table" }, oe = {
54
54
  dateRange: void 0,
55
55
  query: void 0
56
56
  }, o = h({ ...D }), P = $(() => ({
57
- page: 1,
58
- pageSize: 20,
59
57
  operatorName: o.operatorName,
60
58
  action: o.action,
61
59
  ipAddress: o.ipAddress,
@@ -242,6 +240,7 @@ const te = { class: "audit-log-list" }, ae = { class: "ant-pro-table" }, oe = {
242
240
  columns: q,
243
241
  "load-data": v(X),
244
242
  params: P.value,
243
+ "page-config": { pageSize: 20 },
245
244
  ref_key: "tableRef",
246
245
  ref: w,
247
246
  "row-key": "id"
@@ -1,7 +1,7 @@
1
1
  import o from "./ErrorLogList.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-57854e76"]]);
4
+ const s = /* @__PURE__ */ r(o, [["__scopeId", "data-v-47610902"]]);
5
5
  export {
6
- p as default
6
+ s as default
7
7
  };
@@ -60,8 +60,6 @@ const ae = { class: "error-log-list" }, oe = { class: "ant-pro-table" }, le = {
60
60
  dateRange: void 0,
61
61
  query: void 0
62
62
  }, o = h({ ...w }), D = z(() => ({
63
- page: 1,
64
- pageSize: 20,
65
63
  appName: o.appName,
66
64
  env: o.env,
67
65
  level: o.level,
@@ -229,6 +227,7 @@ const ae = { class: "error-log-list" }, oe = { class: "ant-pro-table" }, le = {
229
227
  columns: Y,
230
228
  "load-data": p(Z),
231
229
  params: D.value,
230
+ "page-config": { pageSize: 20 },
232
231
  ref_key: "tableRef",
233
232
  ref: v,
234
233
  "row-key": "id"
@@ -1,7 +1,7 @@
1
1
  import o from "./LoginLogList.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3744022f"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e0685b29"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -69,12 +69,12 @@ const ae = { class: "login-log-list" }, oe = { class: "ant-pro-table" }, ne = {
69
69
  }), p = () => {
70
70
  var n;
71
71
  (n = c.value) == null || n.refresh();
72
- }, q = async () => {
72
+ }, S = async () => {
73
73
  Object.assign(o, C), await h(), p();
74
- }, P = () => {
74
+ }, q = () => {
75
75
  var n;
76
76
  (n = c.value) == null || n.refresh();
77
- }, S = async (n) => {
77
+ }, P = async (n) => {
78
78
  o.status = n, await h(), p();
79
79
  }, U = async () => {
80
80
  x.value = !0;
@@ -150,7 +150,7 @@ const ae = { class: "login-log-list" }, oe = { class: "ant-pro-table" }, ne = {
150
150
  "onUpdate:value": e[2] || (e[2] = (l) => o.status = l),
151
151
  placeholder: "状态",
152
152
  allowClear: "",
153
- onChange: S
153
+ onChange: P
154
154
  }, {
155
155
  default: a(() => [
156
156
  t(b, { value: 1 }, {
@@ -203,7 +203,7 @@ const ae = { class: "login-log-list" }, oe = { class: "ant-pro-table" }, ne = {
203
203
  _: 1
204
204
  }, 8, ["loading"]),
205
205
  t(y, {
206
- onClick: q,
206
+ onClick: S,
207
207
  style: { "margin-left": "8px" }
208
208
  }, {
209
209
  default: a(() => e[8] || (e[8] = [
@@ -225,6 +225,7 @@ const ae = { class: "login-log-list" }, oe = { class: "ant-pro-table" }, ne = {
225
225
  columns: T,
226
226
  "load-data": i(X),
227
227
  params: M.value,
228
+ "page-config": { pageSize: 20 },
228
229
  ref_key: "tableRef",
229
230
  ref: c,
230
231
  "row-key": "id"
@@ -292,7 +293,7 @@ const ae = { class: "login-log-list" }, oe = { class: "ant-pro-table" }, ne = {
292
293
  open: u.open,
293
294
  "onUpdate:open": e[4] || (e[4] = (l) => u.open = l),
294
295
  "log-id": u.logId,
295
- onRefresh: P
296
+ onRefresh: q
296
297
  }, null, 8, ["open", "log-id"])
297
298
  ]);
298
299
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./OperationLogList.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-044829f6"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d74ea79a"]]);
5
5
  export {
6
- e as default
6
+ p as default
7
7
  };
@@ -65,8 +65,6 @@ const le = { class: "operation-log-list" }, se = { class: "ant-pro-table" }, re
65
65
  status: void 0,
66
66
  dateRange: void 0
67
67
  }, n = R({ ...M }), O = $(() => ({
68
- page: 1,
69
- pageSize: 20,
70
68
  query: n.query,
71
69
  username: n.username,
72
70
  status: n.status,
@@ -240,6 +238,7 @@ const le = { class: "operation-log-list" }, se = { class: "ant-pro-table" }, re
240
238
  columns: T,
241
239
  "load-data": u(ae),
242
240
  params: O.value,
241
+ "page-config": { pageSize: 20 },
243
242
  ref_key: "tableRef",
244
243
  ref: y,
245
244
  "row-key": "id"
@@ -1,7 +1,7 @@
1
1
  import o from "./ModuleAdd.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-233e6305"]]);
4
+ const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f8a348f6"]]);
5
5
  export {
6
- m as default
6
+ d as default
7
7
  };
@@ -1,10 +1,11 @@
1
- import { defineComponent as G, ref as d, reactive as H, watch as J, resolveComponent as u, openBlock as U, createBlock as q, withCtx as o, createVNode as t, resolveDynamicComponent as K, unref as N, createTextVNode as y } from "vue";
2
- import Q from "./icon/IconSelectorModal.vue.js";
3
- import { message as W } from "ant-design-vue";
4
- import { SearchOutlined as X } from "@ant-design/icons-vue";
5
- import { getModules as Y, getDocs as Z, createModule as ee } from "./api.js";
6
- import { PermPanel as te } from "@since2006/components";
7
- const se = /* @__PURE__ */ G({
1
+ import { defineComponent as j, ref as d, reactive as z, watch as G, resolveComponent as u, openBlock as H, createBlock as J, withCtx as o, createVNode as t, unref as q, createTextVNode as C } from "vue";
2
+ import K from "./icon/IconSelectorModal.vue.js";
3
+ import { message as Q } from "ant-design-vue";
4
+ import { SearchOutlined as W } from "@ant-design/icons-vue";
5
+ import { getModules as X, getDocs as Y, createModule as Z } from "./api.js";
6
+ import { PermPanel as ee } from "@since2006/components";
7
+ import te from "./icon/AppIcon.vue.js";
8
+ const de = /* @__PURE__ */ j({
8
9
  __name: "ModuleAdd",
9
10
  props: {
10
11
  open: {
@@ -17,7 +18,7 @@ const se = /* @__PURE__ */ G({
17
18
  }
18
19
  },
19
20
  emits: ["update:open", "success", "cancel"],
20
- setup(_, { emit: h }) {
21
+ setup(_, { emit: N }) {
21
22
  const m = _, b = d(), p = d([]), f = d(!1), g = d([]), I = d([]), i = d({
22
23
  icon: !1
23
24
  }), w = {
@@ -33,31 +34,31 @@ const se = /* @__PURE__ */ G({
33
34
  status: 0,
34
35
  target: !1,
35
36
  permissionSummary: ""
36
- }, a = H({ ...w }), x = {
37
+ }, a = z({ ...w }), h = {
37
38
  name: [{ required: !0, message: "请填写模块名称" }],
38
39
  seqNo: [{ required: !0, type: "number", message: "请填写数字类型顺序号" }],
39
40
  status: [{ required: !0, message: "请选择是否显示" }]
40
- }, v = h;
41
- J(
41
+ }, v = N;
42
+ G(
42
43
  () => m.open,
43
44
  (n) => {
44
- n && (D(), O());
45
+ n && (x(), D());
45
46
  }
46
47
  );
47
- const D = () => {
48
+ const x = () => {
48
49
  Object.assign(a, w), p.value = [];
49
- }, L = (n, e) => e.componentOptions.children[0].text.toLowerCase().indexOf(n.toLowerCase()) >= 0, O = () => {
50
- Y().then((n) => {
50
+ }, y = (n, e) => e.componentOptions.children[0].text.toLowerCase().indexOf(n.toLowerCase()) >= 0, D = () => {
51
+ X().then((n) => {
51
52
  const e = [];
52
53
  k(e, n.data, []), g.value = e, m.parentId && (a.parentId = m.parentId);
53
- }), Z().then((n) => {
54
- I.value = M(n.data);
54
+ }), Y().then((n) => {
55
+ I.value = B(n.data);
55
56
  });
56
- }, V = () => {
57
+ }, L = () => {
57
58
  i.value.icon = !0;
58
- }, A = (n) => {
59
+ }, O = (n) => {
59
60
  i.value.icon = !1, a.icon = n;
60
- }, B = () => {
61
+ }, V = () => {
61
62
  b.value.validateFields().then(() => {
62
63
  f.value = !0;
63
64
  const n = {
@@ -66,13 +67,13 @@ const se = /* @__PURE__ */ G({
66
67
  permIds: p.value,
67
68
  seqNo: parseInt(a.seqNo)
68
69
  };
69
- ee(n).then((e) => {
70
- W.success("添加模块成功"), v("update:open", !1), v("success", e.data.parentId);
70
+ Z(n).then((e) => {
71
+ Q.success("添加模块成功"), v("update:open", !1), v("success", e.data.parentId);
71
72
  });
72
73
  }).finally((n) => {
73
74
  f.value = !1;
74
75
  });
75
- }, F = () => {
76
+ }, A = () => {
76
77
  v("update:open", !1);
77
78
  }, k = (n, e, c) => {
78
79
  e && e.forEach((r) => {
@@ -81,35 +82,35 @@ const se = /* @__PURE__ */ G({
81
82
  k(s.children, r.children, c), n.push(s);
82
83
  }
83
84
  });
84
- }, M = (n) => n.map((e) => ({
85
+ }, B = (n) => n.map((e) => ({
85
86
  value: e.id,
86
87
  label: e.name
87
88
  }));
88
89
  return (n, e) => {
89
- const c = u("a-tree-select"), r = u("a-form-item"), s = u("a-input"), R = u("a-select"), T = u("a-input-number"), S = u("a-radio"), E = u("a-radio-group"), P = u("a-switch"), C = u("a-col"), j = u("a-row"), $ = u("a-form"), z = u("a-modal");
90
- return U(), q(z, {
90
+ const c = u("a-tree-select"), r = u("a-form-item"), s = u("a-input"), F = u("a-select"), M = u("a-input-number"), S = u("a-radio"), R = u("a-radio-group"), T = u("a-switch"), U = u("a-col"), E = u("a-row"), P = u("a-form"), $ = u("a-modal");
91
+ return H(), J($, {
91
92
  title: "添加系统模块",
92
93
  width: 800,
93
94
  visible: _.open,
94
95
  "mask-closable": !1,
95
96
  "confirm-loading": f.value,
96
97
  "destroy-on-close": "",
97
- onOk: B,
98
- onCancel: F
98
+ onOk: V,
99
+ onCancel: A
99
100
  }, {
100
101
  default: o(() => [
101
- t($, {
102
+ t(P, {
102
103
  ref_key: "formRef",
103
104
  ref: b,
104
105
  model: a,
105
- rules: x,
106
+ rules: h,
106
107
  "label-col": { span: 5 },
107
108
  "wrapper-col": { span: 15 }
108
109
  }, {
109
110
  default: o(() => [
110
- t(j, null, {
111
+ t(E, null, {
111
112
  default: o(() => [
112
- t(C, { span: 15 }, {
113
+ t(U, { span: 15 }, {
113
114
  default: o(() => [
114
115
  t(r, { label: "上级模块" }, {
115
116
  default: o(() => [
@@ -138,12 +139,12 @@ const se = /* @__PURE__ */ G({
138
139
  }),
139
140
  t(r, { label: "文档类别" }, {
140
141
  default: o(() => [
141
- t(R, {
142
+ t(F, {
142
143
  value: a.cateId,
143
144
  "onUpdate:value": e[2] || (e[2] = (l) => a.cateId = l),
144
145
  "show-search": "",
145
146
  "option-filter-prop": "children",
146
- "filter-option": L,
147
+ "filter-option": y,
147
148
  options: I.value,
148
149
  allowClear: ""
149
150
  }, null, 8, ["value", "options"])
@@ -158,10 +159,13 @@ const se = /* @__PURE__ */ G({
158
159
  placeholder: "点击右侧按钮选择图标"
159
160
  }, {
160
161
  prefix: o(() => [
161
- (U(), q(K(a.icon), { style: { color: "#108b16" } }))
162
+ t(te, {
163
+ icon: a.icon,
164
+ style: { color: "#108b16" }
165
+ }, null, 8, ["icon"])
162
166
  ]),
163
167
  addonAfter: o(() => [
164
- t(N(X), { onClick: V })
168
+ t(q(W), { onClick: L })
165
169
  ]),
166
170
  _: 1
167
171
  }, 8, ["value"])
@@ -173,7 +177,7 @@ const se = /* @__PURE__ */ G({
173
177
  name: "seqNo"
174
178
  }, {
175
179
  default: o(() => [
176
- t(T, {
180
+ t(M, {
177
181
  value: a.seqNo,
178
182
  "onUpdate:value": e[4] || (e[4] = (l) => a.seqNo = l),
179
183
  placeholder: "顺序号"
@@ -206,20 +210,20 @@ const se = /* @__PURE__ */ G({
206
210
  name: "status"
207
211
  }, {
208
212
  default: o(() => [
209
- t(E, {
213
+ t(R, {
210
214
  value: a.status,
211
215
  "onUpdate:value": e[7] || (e[7] = (l) => a.status = l)
212
216
  }, {
213
217
  default: o(() => [
214
218
  t(S, { value: 1 }, {
215
219
  default: o(() => e[12] || (e[12] = [
216
- y("显示")
220
+ C("显示")
217
221
  ])),
218
222
  _: 1
219
223
  }),
220
224
  t(S, { value: 0 }, {
221
225
  default: o(() => e[13] || (e[13] = [
222
- y("隐藏")
226
+ C("隐藏")
223
227
  ])),
224
228
  _: 1
225
229
  })
@@ -231,7 +235,7 @@ const se = /* @__PURE__ */ G({
231
235
  }),
232
236
  t(r, { label: "打开方式" }, {
233
237
  default: o(() => [
234
- t(P, {
238
+ t(T, {
235
239
  checked: a.target,
236
240
  "onUpdate:checked": e[8] || (e[8] = (l) => a.target = l),
237
241
  "checked-children": "新开窗口",
@@ -253,9 +257,9 @@ const se = /* @__PURE__ */ G({
253
257
  ]),
254
258
  _: 1
255
259
  }),
256
- t(C, { span: 9 }, {
260
+ t(U, { span: 9 }, {
257
261
  default: o(() => [
258
- t(N(te), {
262
+ t(q(ee), {
259
263
  modelValue: p.value,
260
264
  "onUpdate:modelValue": e[10] || (e[10] = (l) => p.value = l)
261
265
  }, null, 8, ["modelValue"])
@@ -268,9 +272,9 @@ const se = /* @__PURE__ */ G({
268
272
  ]),
269
273
  _: 1
270
274
  }, 8, ["model"]),
271
- t(Q, {
275
+ t(K, {
272
276
  visible: i.value.icon,
273
- onSuccess: A,
277
+ onSuccess: O,
274
278
  onCancel: e[11] || (e[11] = (l) => i.value.icon = !1)
275
279
  }, null, 8, ["visible"])
276
280
  ]),
@@ -280,5 +284,5 @@ const se = /* @__PURE__ */ G({
280
284
  }
281
285
  });
282
286
  export {
283
- se as default
287
+ de as default
284
288
  };
@@ -1,13 +1,14 @@
1
- import { defineComponent as g, resolveComponent as p, openBlock as d, createBlock as u, withCtx as e, createVNode as l, createTextVNode as a, toDisplayString as r, resolveDynamicComponent as c, createCommentVNode as s, createElementVNode as k, createElementBlock as y, Fragment as _ } from "vue";
2
- const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE__ */ g({
1
+ import { defineComponent as c, resolveComponent as p, openBlock as r, createBlock as u, withCtx as e, createVNode as l, createTextVNode as a, toDisplayString as d, createElementVNode as g, createElementBlock as f, Fragment as _, createCommentVNode as y } from "vue";
2
+ import k from "./icon/AppIcon.vue.js";
3
+ const N = { style: { color: "#a6a6a6", "margin-left": "4px" } }, S = /* @__PURE__ */ c({
3
4
  __name: "ModuleDetail",
4
5
  props: {
5
6
  module: {}
6
7
  },
7
- setup(N) {
8
+ setup(C) {
8
9
  return (o, n) => {
9
- const t = p("a-descriptions-item"), i = p("a-typography-paragraph"), m = p("a-tag"), b = p("a-descriptions");
10
- return d(), u(b, {
10
+ const t = p("a-descriptions-item"), s = p("a-typography-paragraph"), m = p("a-tag"), b = p("a-descriptions");
11
+ return r(), u(b, {
11
12
  bordered: "",
12
13
  column: 1,
13
14
  labelStyle: { width: "140px", textAlign: "center" }
@@ -15,36 +16,36 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
15
16
  default: e(() => [
16
17
  l(t, { label: "模块名称" }, {
17
18
  default: e(() => [
18
- a(r(o.module.name), 1)
19
+ a(d(o.module.name), 1)
19
20
  ]),
20
21
  _: 1
21
22
  }),
22
23
  l(t, { label: "文档类别" }, {
23
24
  default: e(() => {
24
- var f;
25
+ var i;
25
26
  return [
26
- a(r((f = o.module.cate) == null ? void 0 : f.name), 1)
27
+ a(d((i = o.module.cate) == null ? void 0 : i.name), 1)
27
28
  ];
28
29
  }),
29
30
  _: 1
30
31
  }),
31
32
  l(t, { label: "模块图标" }, {
32
33
  default: e(() => [
33
- o.module.icon ? (d(), u(c(o.module.icon), {
34
- key: 0,
35
- style: { "font-size": "16px" }
36
- })) : s("", !0),
37
- k("span", C, r(o.module.icon), 1)
34
+ l(k, {
35
+ icon: o.module.icon,
36
+ size: "16px"
37
+ }, null, 8, ["icon"]),
38
+ g("span", N, d(o.module.icon), 1)
38
39
  ]),
39
40
  _: 1
40
41
  }),
41
42
  l(t, { label: "访问路径" }, {
42
43
  default: e(() => [
43
- l(i, {
44
+ l(s, {
44
45
  copyable: !!o.module.path
45
46
  }, {
46
47
  default: e(() => [
47
- a(r(o.module.path), 1)
48
+ a(d(o.module.path), 1)
48
49
  ]),
49
50
  _: 1
50
51
  }, 8, ["copyable"])
@@ -53,11 +54,11 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
53
54
  }),
54
55
  l(t, { label: "模板文件" }, {
55
56
  default: e(() => [
56
- l(i, {
57
+ l(s, {
57
58
  copyable: !!o.module.component
58
59
  }, {
59
60
  default: e(() => [
60
- a(r(o.module.component), 1)
61
+ a(d(o.module.component), 1)
61
62
  ]),
62
63
  _: 1
63
64
  }, 8, ["copyable"])
@@ -66,8 +67,8 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
66
67
  }),
67
68
  l(t, { label: "打开方式" }, {
68
69
  default: e(() => [
69
- o.module.openTarget != null ? (d(), y(_, { key: 0 }, [
70
- o.module.openTarget === 1 ? (d(), u(m, {
70
+ o.module.openTarget != null ? (r(), f(_, { key: 0 }, [
71
+ o.module.openTarget === 1 ? (r(), u(m, {
71
72
  key: 0,
72
73
  color: "red"
73
74
  }, {
@@ -75,26 +76,26 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
75
76
  a("新开窗口")
76
77
  ])),
77
78
  _: 1
78
- })) : (d(), u(m, { key: 1 }, {
79
+ })) : (r(), u(m, { key: 1 }, {
79
80
  default: e(() => n[1] || (n[1] = [
80
81
  a("默认")
81
82
  ])),
82
83
  _: 1
83
84
  }))
84
- ], 64)) : s("", !0)
85
+ ], 64)) : y("", !0)
85
86
  ]),
86
87
  _: 1
87
88
  }),
88
89
  l(t, { label: "排序" }, {
89
90
  default: e(() => [
90
- a(r(o.module.seqNo), 1)
91
+ a(d(o.module.seqNo), 1)
91
92
  ]),
92
93
  _: 1
93
94
  }),
94
95
  l(t, { label: "是否显示" }, {
95
96
  default: e(() => [
96
- o.module.status != null ? (d(), y(_, { key: 0 }, [
97
- o.module.status === 1 ? (d(), u(m, {
97
+ o.module.status != null ? (r(), f(_, { key: 0 }, [
98
+ o.module.status === 1 ? (r(), u(m, {
98
99
  key: 0,
99
100
  color: "green"
100
101
  }, {
@@ -102,7 +103,7 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
102
103
  a("显示")
103
104
  ])),
104
105
  _: 1
105
- })) : (d(), u(m, {
106
+ })) : (r(), u(m, {
106
107
  key: 1,
107
108
  color: "red"
108
109
  }, {
@@ -111,19 +112,19 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
111
112
  ])),
112
113
  _: 1
113
114
  }))
114
- ], 64)) : s("", !0)
115
+ ], 64)) : y("", !0)
115
116
  ]),
116
117
  _: 1
117
118
  }),
118
119
  l(t, { label: "访问权限" }, {
119
120
  default: e(() => [
120
- a(r(o.module.permsSummary), 1)
121
+ a(d(o.module.permsSummary), 1)
121
122
  ]),
122
123
  _: 1
123
124
  }),
124
125
  l(t, { label: "描述" }, {
125
126
  default: e(() => [
126
- a(r(o.module.remark), 1)
127
+ a(d(o.module.remark), 1)
127
128
  ]),
128
129
  _: 1
129
130
  })
@@ -134,5 +135,5 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
134
135
  }
135
136
  });
136
137
  export {
137
- B as default
138
+ S as default
138
139
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ModuleEdit.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-89600073"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-50a6d9f1"]]);
5
5
  export {
6
- _ as default
6
+ f as default
7
7
  };