@since2006/pages 2026.1.0 → 2026.1.2

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 (35) hide show
  1. package/dist/es/src/app/attachment/AttachmentEdit.vue.js +65 -93
  2. package/dist/es/src/app/module/ModuleAdd.vue.js +2 -2
  3. package/dist/es/src/app/module/ModuleAdd.vue2.js +50 -46
  4. package/dist/es/src/app/module/ModuleDetail.vue.js +30 -29
  5. package/dist/es/src/app/module/ModuleEdit.vue.js +2 -2
  6. package/dist/es/src/app/module/ModuleEdit.vue2.js +49 -45
  7. package/dist/es/src/app/module/ModuleIndex.vue.js +2 -2
  8. package/dist/es/src/app/module/ModuleIndex.vue2.js +76 -73
  9. package/dist/es/src/app/module/icon/AppIcon.vue.js +35 -0
  10. package/dist/es/src/app/system/StatusIndex.vue.js +1 -1
  11. package/dist/es/src/app/system/StatusIndex.vue2.js +33 -33
  12. package/dist/es/style.css +1 -1
  13. package/dist/lib/src/app/attachment/AttachmentEdit.vue.js +1 -1
  14. package/dist/lib/src/app/attachment/AttachmentIndex.vue.js +1 -1
  15. package/dist/lib/src/app/dict/DictIndex.vue2.js +1 -1
  16. package/dist/lib/src/app/dict/DictPanel.vue2.js +1 -1
  17. package/dist/lib/src/app/log/components/AuditLogList.vue2.js +1 -1
  18. package/dist/lib/src/app/log/components/ErrorLogList.vue2.js +1 -1
  19. package/dist/lib/src/app/log/components/LoginLogDetail.vue2.js +1 -1
  20. package/dist/lib/src/app/log/components/LoginLogList.vue2.js +1 -1
  21. package/dist/lib/src/app/log/components/OperationLogList.vue2.js +1 -1
  22. package/dist/lib/src/app/module/ModuleAdd.vue.js +1 -1
  23. package/dist/lib/src/app/module/ModuleAdd.vue2.js +1 -1
  24. package/dist/lib/src/app/module/ModuleDetail.vue.js +1 -1
  25. package/dist/lib/src/app/module/ModuleEdit.vue.js +1 -1
  26. package/dist/lib/src/app/module/ModuleEdit.vue2.js +1 -1
  27. package/dist/lib/src/app/module/ModuleIndex.vue.js +1 -1
  28. package/dist/lib/src/app/module/ModuleIndex.vue2.js +1 -1
  29. package/dist/lib/src/app/module/icon/AppIcon.vue.js +1 -0
  30. package/dist/lib/src/app/schedule/ScheduleIndex.vue.js +1 -1
  31. package/dist/lib/src/app/schedule/ScheduleLogList.vue.js +1 -1
  32. package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
  33. package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
  34. package/dist/lib/style.css +1 -1
  35. package/package.json +1 -1
@@ -1,10 +1,11 @@
1
- import { defineComponent as G, ref as i, reactive as H, watch as J, resolveComponent as r, openBlock as C, createBlock as U, withCtx as n, createVNode as t, resolveDynamicComponent as K, unref as N, createTextVNode as h } 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 { getModule as Y, getModules as Z, getDocs as ee, updateModule as te } from "./api.js";
6
- import { PermPanel as ae } from "@since2006/components";
7
- const de = /* @__PURE__ */ G({
1
+ import { defineComponent as $, ref as i, reactive as z, watch as G, resolveComponent as r, openBlock as H, createBlock as J, withCtx as n, createVNode as t, unref as U, 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 { getModule as X, getModules as Y, getDocs as Z, updateModule as ee } from "./api.js";
6
+ import { PermPanel as te } from "@since2006/components";
7
+ import ae from "./icon/AppIcon.vue.js";
8
+ const ie = /* @__PURE__ */ $({
8
9
  __name: "ModuleEdit",
9
10
  props: {
10
11
  open: {
@@ -17,7 +18,7 @@ const de = /* @__PURE__ */ G({
17
18
  }
18
19
  },
19
20
  emits: ["update:open", "success", "cancel"],
20
- setup(_, { emit: y }) {
21
+ setup(_, { emit: N }) {
21
22
  const c = _, b = i(), f = i(!1), g = i([]), I = i([]), p = i([]), m = i({
22
23
  icon: !1
23
24
  }), w = {
@@ -33,34 +34,34 @@ const de = /* @__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 = y;
41
- J(
41
+ }, v = N;
42
+ G(
42
43
  () => c.open,
43
44
  (l) => {
44
- l && (D(), L());
45
+ l && (x(), O());
45
46
  }
46
47
  );
47
- const D = () => {
48
+ const x = () => {
48
49
  Object.assign(a, w), p.value = [];
49
- }, O = (l, e) => e.componentOptions.children[0].text.toLowerCase().indexOf(l.toLowerCase()) >= 0, L = () => {
50
- Y(c.moduleId).then((l) => {
50
+ }, y = (l, e) => e.componentOptions.children[0].text.toLowerCase().indexOf(l.toLowerCase()) >= 0, O = () => {
51
+ X(c.moduleId).then((l) => {
51
52
  const e = l.data;
52
53
  e.target = e.openTarget === 1, Object.assign(a, l.data), p.value = [...l.data.permissions.map((d) => d.id)];
53
- }), Z().then((l) => {
54
+ }), Y().then((l) => {
54
55
  const e = [];
55
56
  k(e, l.data, [c.moduleId]), g.value = e;
56
- }), ee().then((l) => {
57
- I.value = B(l.data);
57
+ }), Z().then((l) => {
58
+ I.value = M(l.data);
58
59
  });
59
- }, V = () => {
60
+ }, D = () => {
60
61
  m.value.icon = !0;
61
- }, E = (l) => {
62
+ }, L = (l) => {
62
63
  m.value.icon = !1, a.icon = l;
63
- }, M = () => {
64
+ }, V = () => {
64
65
  b.value.validateFields().then(() => {
65
66
  f.value = !0;
66
67
  const l = {
@@ -69,15 +70,15 @@ const de = /* @__PURE__ */ G({
69
70
  permIds: p.value,
70
71
  seqNo: parseInt(a.seqNo)
71
72
  };
72
- te(l).then((e) => {
73
- e.code === 200 && (W.success("编辑模块成功"), v("update:open", !1), v("success", e.data.id, e.data.parentId, e.data.srcParentId));
73
+ ee(l).then((e) => {
74
+ e.code === 200 && (Q.success("编辑模块成功"), v("update:open", !1), v("success", e.data.id, e.data.parentId, e.data.srcParentId));
74
75
  });
75
76
  }).finally(() => {
76
77
  f.value = !1;
77
78
  });
78
- }, T = () => {
79
+ }, E = () => {
79
80
  v("update:open", !1);
80
- }, B = (l) => l.map((e) => ({
81
+ }, M = (l) => l.map((e) => ({
81
82
  value: e.id,
82
83
  label: e.name
83
84
  })), k = (l, e, d) => {
@@ -89,28 +90,28 @@ const de = /* @__PURE__ */ G({
89
90
  });
90
91
  };
91
92
  return (l, e) => {
92
- const d = r("a-tree-select"), u = r("a-form-item"), s = r("a-input"), F = r("a-select"), P = r("a-input-number"), S = r("a-radio"), R = r("a-radio-group"), j = r("a-switch"), q = r("a-col"), A = r("a-row"), $ = r("a-form"), z = r("a-modal");
93
- return C(), U(z, {
93
+ const d = r("a-tree-select"), u = r("a-form-item"), s = r("a-input"), T = r("a-select"), B = r("a-input-number"), S = r("a-radio"), F = r("a-radio-group"), P = r("a-switch"), q = r("a-col"), R = r("a-row"), j = r("a-form"), A = r("a-modal");
94
+ return H(), J(A, {
94
95
  title: "编辑系统模块",
95
96
  width: 800,
96
97
  visible: _.open,
97
98
  "mask-closable": !1,
98
99
  "confirm-loading": f.value,
99
100
  "destroy-on-close": "",
100
- onOk: M,
101
- onCancel: T
101
+ onOk: V,
102
+ onCancel: E
102
103
  }, {
103
104
  default: n(() => [
104
- t($, {
105
+ t(j, {
105
106
  ref_key: "formRef",
106
107
  ref: b,
107
108
  model: a,
108
- rules: x,
109
+ rules: h,
109
110
  "label-col": { span: 5 },
110
111
  "wrapper-col": { span: 15 }
111
112
  }, {
112
113
  default: n(() => [
113
- t(A, null, {
114
+ t(R, null, {
114
115
  default: n(() => [
115
116
  t(q, { span: 15 }, {
116
117
  default: n(() => [
@@ -141,12 +142,12 @@ const de = /* @__PURE__ */ G({
141
142
  }),
142
143
  t(u, { label: "文档类别" }, {
143
144
  default: n(() => [
144
- t(F, {
145
+ t(T, {
145
146
  value: a.cateId,
146
147
  "onUpdate:value": e[2] || (e[2] = (o) => a.cateId = o),
147
148
  "show-search": "",
148
149
  "option-filter-prop": "children",
149
- "filter-option": O,
150
+ "filter-option": y,
150
151
  options: I.value,
151
152
  allowClear: ""
152
153
  }, null, 8, ["value", "options"])
@@ -161,10 +162,13 @@ const de = /* @__PURE__ */ G({
161
162
  placeholder: "点击右侧按钮选择图标"
162
163
  }, {
163
164
  prefix: n(() => [
164
- (C(), U(K(a.icon), { style: { color: "#108b16" } }))
165
+ t(ae, {
166
+ icon: a.icon,
167
+ style: { color: "#108b16" }
168
+ }, null, 8, ["icon"])
165
169
  ]),
166
170
  addonAfter: n(() => [
167
- t(N(X), { onClick: V })
171
+ t(U(W), { onClick: D })
168
172
  ]),
169
173
  _: 1
170
174
  }, 8, ["value"])
@@ -176,7 +180,7 @@ const de = /* @__PURE__ */ G({
176
180
  name: "seqNo"
177
181
  }, {
178
182
  default: n(() => [
179
- t(P, {
183
+ t(B, {
180
184
  value: a.seqNo,
181
185
  "onUpdate:value": e[4] || (e[4] = (o) => a.seqNo = o),
182
186
  placeholder: "顺序号"
@@ -209,20 +213,20 @@ const de = /* @__PURE__ */ G({
209
213
  name: "status"
210
214
  }, {
211
215
  default: n(() => [
212
- t(R, {
216
+ t(F, {
213
217
  value: a.status,
214
218
  "onUpdate:value": e[7] || (e[7] = (o) => a.status = o)
215
219
  }, {
216
220
  default: n(() => [
217
221
  t(S, { value: 1 }, {
218
222
  default: n(() => e[12] || (e[12] = [
219
- h("显示")
223
+ C("显示")
220
224
  ])),
221
225
  _: 1
222
226
  }),
223
227
  t(S, { value: 0 }, {
224
228
  default: n(() => e[13] || (e[13] = [
225
- h("隐藏")
229
+ C("隐藏")
226
230
  ])),
227
231
  _: 1
228
232
  })
@@ -234,7 +238,7 @@ const de = /* @__PURE__ */ G({
234
238
  }),
235
239
  t(u, { label: "打开方式" }, {
236
240
  default: n(() => [
237
- t(j, {
241
+ t(P, {
238
242
  checked: a.target,
239
243
  "onUpdate:checked": e[8] || (e[8] = (o) => a.target = o),
240
244
  "checked-children": "新开窗口",
@@ -258,7 +262,7 @@ const de = /* @__PURE__ */ G({
258
262
  }),
259
263
  t(q, { span: 9 }, {
260
264
  default: n(() => [
261
- t(N(ae), {
265
+ t(U(te), {
262
266
  modelValue: p.value,
263
267
  "onUpdate:modelValue": e[10] || (e[10] = (o) => p.value = o)
264
268
  }, null, 8, ["modelValue"])
@@ -271,9 +275,9 @@ const de = /* @__PURE__ */ G({
271
275
  ]),
272
276
  _: 1
273
277
  }, 8, ["model"]),
274
- t(Q, {
278
+ t(K, {
275
279
  visible: m.value.icon,
276
- onSuccess: E,
280
+ onSuccess: L,
277
281
  onCancel: e[11] || (e[11] = (o) => m.value.icon = !1)
278
282
  }, null, 8, ["visible"])
279
283
  ]),
@@ -283,5 +287,5 @@ const de = /* @__PURE__ */ G({
283
287
  }
284
288
  });
285
289
  export {
286
- de as default
290
+ ie as default
287
291
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ModuleIndex.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-995a937c"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4dc423f0"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,15 +1,16 @@
1
- import { defineComponent as J, ref as f, reactive as w, resolveComponent as d, openBlock as R, createElementBlock as Q, createVNode as n, withCtx as l, createElementVNode as v, unref as y, createTextVNode as g, withDirectives as x, vShow as A, createBlock as W, resolveDynamicComponent as X } from "vue";
2
- import { message as Y } from "ant-design-vue";
3
- import { getModulesNoCache as C, getModule as Z, deleteModule as ee } from "./api.js";
4
- import { mapTreeData as k } from "./utils.js";
5
- import { LayoutTwoTone as oe, PlusOutlined as K, EditOutlined as te, DeleteOutlined as ne } from "@ant-design/icons-vue";
6
- import ae from "./ModuleDetail.vue.js";
7
- import le from "./ModuleAdd.vue.js";
8
- import de from "./ModuleEdit.vue.js";
9
- const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table-list-toolbar-container" }, re = { class: "ant-pro-table-list-toolbar-left" }, ie = { class: "ant-pro-table-list-toolbar-title" }, ce = { class: "ant-pro-table-list-toolbar-right" }, be = /* @__PURE__ */ J({
1
+ import { defineComponent as I, ref as f, reactive as w, resolveComponent as d, openBlock as J, createElementBlock as Q, createVNode as n, withCtx as l, createElementVNode as v, unref as y, createTextVNode as g, withDirectives as x, vShow as A } from "vue";
2
+ import { message as W } from "ant-design-vue";
3
+ import { getModulesNoCache as T, getModule as X, deleteModule as Y } from "./api.js";
4
+ import { mapTreeData as h } from "./utils.js";
5
+ import { LayoutTwoTone as Z, PlusOutlined as R, EditOutlined as ee, DeleteOutlined as oe } from "@ant-design/icons-vue";
6
+ import te from "./ModuleDetail.vue.js";
7
+ import ne from "./ModuleAdd.vue.js";
8
+ import ae from "./ModuleEdit.vue.js";
9
+ import le from "./icon/AppIcon.vue.js";
10
+ const de = { class: "ant-pro-table-list-toolbar" }, se = { class: "ant-pro-table-list-toolbar-container" }, ue = { class: "ant-pro-table-list-toolbar-left" }, ie = { class: "ant-pro-table-list-toolbar-title" }, re = { class: "ant-pro-table-list-toolbar-right" }, be = /* @__PURE__ */ I({
10
11
  __name: "ModuleIndex",
11
- setup(pe) {
12
- const L = f(), s = f([]), h = f([]), r = f([]), u = w({
12
+ setup(ce) {
13
+ const K = f(), s = f([]), k = f([]), i = f([]), u = w({
13
14
  id: "",
14
15
  cateId: "",
15
16
  parentId: "",
@@ -19,22 +20,22 @@ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table
19
20
  seqNo: "",
20
21
  remark: "",
21
22
  permsSummary: ""
22
- }), b = f(!0), i = w({
23
+ }), b = f(!0), r = w({
23
24
  openAdd: !1,
24
25
  openEdit: !1
25
- }), E = f(!1), O = () => {
26
- C().then((o) => {
27
- r.value = k(o.data), M(r.value[0].key);
26
+ }), E = f(!1), L = () => {
27
+ T().then((o) => {
28
+ i.value = h(o.data), M(i.value[0].key);
28
29
  });
29
- }, N = (o) => {
30
+ }, O = (o) => {
30
31
  s.value = o;
31
- }, B = (o) => new Promise((e) => {
32
+ }, N = (o) => new Promise((e) => {
32
33
  if (o.dataRef.children) {
33
34
  e("当前节点没有子模块");
34
35
  return;
35
36
  }
36
- C(o.dataRef.key).then((t) => {
37
- o.dataRef.children = k(t.data), r.value = [...r.value], e("获取模块数据成功");
37
+ T(o.dataRef.key).then((t) => {
38
+ o.dataRef.children = h(t.data), i.value = [...i.value], e("获取模块数据成功");
38
39
  });
39
40
  }), V = (o, e) => {
40
41
  const t = e.node.dataRef, a = s.value.includes(t.key);
@@ -43,85 +44,85 @@ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table
43
44
  const p = o[0];
44
45
  M(p);
45
46
  }, M = (o) => {
46
- b.value = !0, Z(o).then((e) => {
47
+ b.value = !0, X(o).then((e) => {
47
48
  Object.assign(u, e.data), b.value = !1;
48
49
  }).catch((e) => {
49
50
  console.log(e);
50
51
  });
52
+ }, B = () => {
53
+ E.value = !0, r.openAdd = !0;
51
54
  }, U = () => {
52
- E.value = !0, i.openAdd = !0;
53
- }, j = () => {
54
- E.value = !1, i.openAdd = !0;
55
- }, q = (o) => {
55
+ E.value = !1, r.openAdd = !0;
56
+ }, $ = (o) => {
56
57
  m(o);
57
- }, P = () => {
58
- i.openEdit = !0;
59
- }, $ = (o, e, t) => {
58
+ }, j = () => {
59
+ r.openEdit = !0;
60
+ }, q = (o, e, t) => {
60
61
  M(o), e === t || m(t), m(e);
61
- }, z = () => {
62
- ee(u.id).then((o) => {
63
- Y.success("删除成功"), m(o.data.parentId);
62
+ }, P = () => {
63
+ Y(u.id).then((o) => {
64
+ W.success("删除成功"), m(o.data.parentId);
64
65
  });
65
66
  }, m = (o) => {
66
- C(o).then((e) => {
67
- o ? D(r.value, o, k(e.data)) : r.value = k(e.data);
67
+ T(o).then((e) => {
68
+ o ? C(i.value, o, h(e.data)) : i.value = h(e.data);
68
69
  });
69
- }, D = (o, e, t) => {
70
+ }, C = (o, e, t) => {
70
71
  o.forEach((a) => {
71
72
  if (a.key === e) {
72
73
  a.isLeaf = t.length === 0;
73
- const p = T([a], 0);
74
- h.value = h.value.filter((c) => !p.includes(c)), s.value = s.value.filter((c) => !p.includes(c)), a.children = t;
74
+ const p = D([a], 0);
75
+ k.value = k.value.filter((c) => !p.includes(c)), s.value = s.value.filter((c) => !p.includes(c)), a.children = t;
75
76
  } else
76
- a.children && D(a.children, e, t);
77
+ a.children && C(a.children, e, t);
77
78
  });
78
- }, T = (o, e) => {
79
+ }, D = (o, e) => {
79
80
  let t = [];
80
81
  return o.forEach((a) => {
81
- e > 0 && t.push(a.key), a.children && (t = t.concat(T(a.children, ++e)));
82
+ e > 0 && t.push(a.key), a.children && (t = t.concat(D(a.children, ++e)));
82
83
  }), t;
83
84
  };
84
- return O(), (o, e) => {
85
- const t = d("a-button"), a = d("a-popconfirm"), p = d("a-button-group"), c = d("a-space"), F = d("a-tree"), S = d("a-col"), G = d("a-skeleton"), H = d("a-row"), I = d("a-card");
86
- return R(), Q("div", null, [
87
- n(I, {
85
+ return L(), (o, e) => {
86
+ const t = d("a-button"), a = d("a-popconfirm"), p = d("a-button-group"), c = d("a-space"), z = d("a-tree"), S = d("a-col"), F = d("a-skeleton"), G = d("a-row"), H = d("a-card");
87
+ return J(), Q("div", null, [
88
+ n(H, {
88
89
  "body-style": { padding: "0 20px 20px 10px" },
89
90
  ref_key: "fusRef",
90
- ref: L
91
+ ref: K
91
92
  }, {
92
93
  default: l(() => [
93
- v("div", se, [
94
- v("div", ue, [
95
- v("div", re, [
94
+ v("div", de, [
95
+ v("div", se, [
96
+ v("div", ue, [
96
97
  v("div", ie, [
97
- n(y(oe)),
98
+ n(y(Z)),
98
99
  e[2] || (e[2] = g(" 模块配置 "))
99
100
  ])
100
101
  ]),
101
- v("div", ce, [
102
+ v("div", re, [
102
103
  n(c, { align: "center" }, {
103
104
  default: l(() => [
104
105
  n(p, null, {
105
106
  default: l(() => [
106
- n(t, { onClick: U }, {
107
+ n(t, { onClick: B }, {
107
108
  default: l(() => [
108
- n(y(K)),
109
+ n(y(R)),
109
110
  e[3] || (e[3] = g(" 添加根模块 "))
110
111
  ]),
111
112
  _: 1
112
113
  }),
113
- x(n(t, { onClick: j }, {
114
+ x(n(t, { onClick: U }, {
114
115
  default: l(() => [
115
- n(y(K)),
116
+ n(y(R)),
116
117
  e[4] || (e[4] = g(" 添加子模块 "))
117
118
  ]),
118
119
  _: 1
119
120
  }, 512), [
120
121
  [A, u.id]
121
122
  ]),
122
- x(n(t, { onClick: P }, {
123
+ x(n(t, { onClick: j }, {
123
124
  default: l(() => [
124
- n(y(te)),
125
+ n(y(ee)),
125
126
  e[5] || (e[5] = g(" 修改模块 "))
126
127
  ]),
127
128
  _: 1
@@ -130,12 +131,12 @@ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table
130
131
  ]),
131
132
  n(a, {
132
133
  title: "是否确认删除模块?",
133
- onConfirm: z
134
+ onConfirm: P
134
135
  }, {
135
136
  default: l(() => [
136
137
  x(n(t, { danger: "" }, {
137
138
  default: l(() => [
138
- n(y(ne)),
139
+ n(y(oe)),
139
140
  e[6] || (e[6] = g(" 删除模块 "))
140
141
  ]),
141
142
  _: 1
@@ -154,24 +155,26 @@ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table
154
155
  ])
155
156
  ])
156
157
  ]),
157
- n(H, null, {
158
+ n(G, null, {
158
159
  default: l(() => [
159
160
  n(S, {
160
161
  sm: 5,
161
162
  md: 4
162
163
  }, {
163
164
  default: l(() => [
164
- n(F, {
165
+ n(z, {
165
166
  showIcon: !0,
166
167
  expandedKeys: s.value,
167
- loadedKeys: h.value,
168
- treeData: r.value,
169
- onExpand: N,
170
- loadData: B,
168
+ loadedKeys: k.value,
169
+ treeData: i.value,
170
+ onExpand: O,
171
+ loadData: N,
171
172
  onSelect: V
172
173
  }, {
173
174
  icon: l((_) => [
174
- (R(), W(X(_.iconName)))
175
+ n(le, {
176
+ icon: _.iconName
177
+ }, null, 8, ["icon"])
175
178
  ]),
176
179
  _: 1
177
180
  }, 8, ["expandedKeys", "loadedKeys", "treeData"])
@@ -183,9 +186,9 @@ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table
183
186
  md: 20
184
187
  }, {
185
188
  default: l(() => [
186
- n(G, { loading: b.value }, {
189
+ n(F, { loading: b.value }, {
187
190
  default: l(() => [
188
- n(ae, { module: u }, null, 8, ["module"])
191
+ n(te, { module: u }, null, 8, ["module"])
189
192
  ]),
190
193
  _: 1
191
194
  }, 8, ["loading"])
@@ -198,19 +201,19 @@ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table
198
201
  ]),
199
202
  _: 1
200
203
  }, 512),
201
- n(le, {
204
+ n(ne, {
202
205
  ref: "moduleAdd",
203
- open: i.openAdd,
204
- "onUpdate:open": e[0] || (e[0] = (_) => i.openAdd = _),
206
+ open: r.openAdd,
207
+ "onUpdate:open": e[0] || (e[0] = (_) => r.openAdd = _),
205
208
  "parent-id": E.value ? null : u.id,
206
- onSuccess: q
209
+ onSuccess: $
207
210
  }, null, 8, ["open", "parent-id"]),
208
- n(de, {
211
+ n(ae, {
209
212
  ref: "moduleEdit",
210
- open: i.openEdit,
211
- "onUpdate:open": e[1] || (e[1] = (_) => i.openEdit = _),
213
+ open: r.openEdit,
214
+ "onUpdate:open": e[1] || (e[1] = (_) => r.openEdit = _),
212
215
  "module-id": u.id,
213
- onSuccess: $
216
+ onSuccess: q
214
217
  }, null, 8, ["open", "module-id"])
215
218
  ]);
216
219
  };
@@ -0,0 +1,35 @@
1
+ import { computed as r, isVNode as c, openBlock as l, createBlock as i, resolveDynamicComponent as u, normalizeStyle as s, createCommentVNode as f } from "vue";
2
+ import * as a from "@ant-design/icons-vue";
3
+ const y = {
4
+ __name: "AppIcon",
5
+ props: {
6
+ icon: {
7
+ type: [String, Object, Function],
8
+ default: null
9
+ },
10
+ size: {
11
+ type: [Number, String],
12
+ default: 16
13
+ },
14
+ color: {
15
+ type: String,
16
+ default: ""
17
+ }
18
+ },
19
+ setup(t) {
20
+ const o = t, n = r(() => {
21
+ const e = o.icon;
22
+ return c(e) ? () => e : typeof e == "function" || typeof e == "object" ? e : typeof e == "string" && a[e] || null;
23
+ });
24
+ return (e, m) => n.value ? (l(), i(u(n.value), {
25
+ key: 0,
26
+ style: s({
27
+ fontSize: typeof t.size == "number" ? t.size + "px" : t.size,
28
+ color: t.color
29
+ })
30
+ }, null, 8, ["style"])) : f("", !0);
31
+ }
32
+ };
33
+ export {
34
+ y as default
35
+ };
@@ -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-c5b4a14e"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-74bb63d3"]]);
5
5
  export {
6
6
  m as default
7
7
  };