@since2006/pages 2025.8.5 → 2025.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- import { defineComponent as F, ref as b, reactive as P, resolveComponent as n, openBlock as u, createElementBlock as p, createElementVNode as c, createVNode as t, withCtx as o, createTextVNode as s, unref as d, toDisplayString as g, createCommentVNode as I, Fragment as h } from "vue";
2
- import { CloudTwoTone as B, PlusOutlined as O } from "@ant-design/icons-vue";
3
- import { queryConfigs as j, deleteConfig as A } from "./api.js";
4
- import { message as w } from "ant-design-vue";
5
- import K from "./AttachmentEdit.vue.js";
6
- import { FxCardTable as L, ClickCopy as G } from "@since2006/components";
7
- const H = { class: "ant-pro-table" }, J = { class: "ant-pro-table-search" }, M = ["onClick"], Q = ["onClick"], ne = /* @__PURE__ */ F({
1
+ import { defineComponent as E, ref as k, reactive as F, resolveComponent as a, openBlock as m, createElementBlock as f, createElementVNode as p, createVNode as t, withCtx as o, createTextVNode as s, unref as c, toDisplayString as g, createCommentVNode as b, createBlock as P, Fragment as O } from "vue";
2
+ import { CloudTwoTone as j, PlusOutlined as A } from "@ant-design/icons-vue";
3
+ import { queryConfigs as K, deleteConfig as L } from "./api.js";
4
+ import { message as h } from "ant-design-vue";
5
+ import G from "./AttachmentEdit.vue.js";
6
+ import { FxCardTable as H } from "@since2006/components";
7
+ const J = { class: "ant-pro-table" }, M = { class: "ant-pro-table-search" }, Q = ["onClick"], W = ["onClick"], ne = /* @__PURE__ */ E({
8
8
  __name: "AttachmentList",
9
- setup(W) {
10
- const l = b(), q = [
9
+ setup(X) {
10
+ const r = k(), I = [
11
11
  {
12
12
  title: "模块名称",
13
13
  dataIndex: "name"
@@ -32,32 +32,32 @@ const H = { class: "ant-pro-table" }, J = { class: "ant-pro-table-search" }, M =
32
32
  dataIndex: "action",
33
33
  width: "150px"
34
34
  }
35
- ], i = P({
35
+ ], d = F({
36
36
  query: void 0
37
37
  }), y = () => {
38
- l.value.refresh();
39
- }, D = () => {
40
- i.query = void 0, l.value.refresh();
41
- }, R = (a) => {
42
- A(a.id).then(() => {
43
- w.success("删除附件配置成功"), l.value.refresh();
38
+ r.value.refresh();
39
+ }, w = () => {
40
+ d.query = void 0, r.value.refresh();
41
+ }, q = (n) => {
42
+ L(n.id).then(() => {
43
+ h.success("删除附件配置成功"), r.value.refresh();
44
44
  });
45
- }, f = b(), N = () => {
46
- f.value.preCreate();
47
- }, v = (a) => {
48
- f.value.preUpdate(a.id);
49
- }, S = (a) => {
45
+ }, u = k(), D = () => {
46
+ u.value.preCreate();
47
+ }, v = (n) => {
48
+ u.value.preUpdate(n.id);
49
+ }, R = (n) => {
50
50
  let e;
51
- a === "add" ? e = "添加附件配置成功" : e = "编辑附件配置成功", w.success(e), l.value.refresh();
51
+ n === "add" ? e = "添加附件配置成功" : e = "编辑附件配置成功", h.success(e), r.value.refresh();
52
52
  };
53
- return (a, e) => {
54
- const T = n("a-input"), U = n("a-form-item"), C = n("a-col"), _ = n("a-button"), V = n("a-row"), $ = n("a-form"), z = n("a-divider"), E = n("a-popconfirm");
55
- return u(), p("div", null, [
56
- c("div", H, [
57
- c("div", J, [
58
- t($, { layout: "horizontal" }, {
53
+ return (n, e) => {
54
+ const N = a("a-input"), S = a("a-form-item"), C = a("a-col"), _ = a("a-button"), T = a("a-row"), U = a("a-form"), V = a("a-typography-paragraph"), $ = a("a-divider"), z = a("a-popconfirm");
55
+ return m(), f("div", null, [
56
+ p("div", J, [
57
+ p("div", M, [
58
+ t(U, { layout: "horizontal" }, {
59
59
  default: o(() => [
60
- t(V, {
60
+ t(T, {
61
61
  gutter: 16,
62
62
  type: "flex",
63
63
  justify: "start"
@@ -70,11 +70,11 @@ const H = { class: "ant-pro-table" }, J = { class: "ant-pro-table-search" }, M =
70
70
  lg: 7
71
71
  }, {
72
72
  default: o(() => [
73
- t(U, { label: "搜索" }, {
73
+ t(S, { label: "搜索" }, {
74
74
  default: o(() => [
75
- t(T, {
76
- value: i.query,
77
- "onUpdate:value": e[0] || (e[0] = (r) => i.query = r),
75
+ t(N, {
76
+ value: d.query,
77
+ "onUpdate:value": e[0] || (e[0] = (l) => d.query = l),
78
78
  placeholder: "模块名称、附件标识",
79
79
  onPressEnter: y
80
80
  }, null, 8, ["value"])
@@ -96,7 +96,7 @@ const H = { class: "ant-pro-table" }, J = { class: "ant-pro-table-search" }, M =
96
96
  _: 1
97
97
  }),
98
98
  t(_, {
99
- onClick: D,
99
+ onClick: w,
100
100
  style: { "margin-left": "16px" }
101
101
  }, {
102
102
  default: o(() => e[2] || (e[2] = [
@@ -114,60 +114,65 @@ const H = { class: "ant-pro-table" }, J = { class: "ant-pro-table-search" }, M =
114
114
  _: 1
115
115
  })
116
116
  ]),
117
- t(d(L), {
118
- columns: q,
119
- "load-data": d(j),
120
- params: i,
117
+ t(c(H), {
118
+ columns: I,
119
+ "load-data": c(K),
120
+ params: d,
121
121
  ref_key: "tableRef",
122
- ref: l
122
+ ref: r
123
123
  }, {
124
124
  title: o(() => [
125
- t(d(B)),
125
+ t(c(j)),
126
126
  e[3] || (e[3] = s(" 附件上传"))
127
127
  ]),
128
128
  toolbar: o(() => [
129
129
  t(_, {
130
130
  type: "primary",
131
- onClick: N
131
+ onClick: D
132
132
  }, {
133
133
  default: o(() => [
134
- t(d(O)),
134
+ t(c(A)),
135
135
  e[4] || (e[4] = s(" 新建 "))
136
136
  ]),
137
137
  _: 1
138
138
  })
139
139
  ]),
140
- bodyCell: o(({ column: r, record: m, text: x }) => [
141
- r.dataIndex === "name" ? (u(), p("a", {
140
+ bodyCell: o(({ column: l, record: i, text: B }) => [
141
+ l.dataIndex === "name" ? (m(), f("a", {
142
142
  key: 0,
143
- onClick: (k) => v(m)
144
- }, g(m.name), 9, M)) : I("", !0),
145
- r.dataIndex === "keyword" ? (u(), p(h, { key: 1 }, [
146
- s(g(x) + " ", 1),
147
- t(d(G), { value: x }, null, 8, ["value"])
148
- ], 64)) : r.dataIndex === "action" ? (u(), p(h, { key: 2 }, [
149
- c("a", {
150
- onClick: (k) => v(m)
151
- }, "编辑", 8, Q),
152
- t(z, { type: "vertical" }),
153
- t(E, {
143
+ onClick: (x) => v(i)
144
+ }, g(i.name), 9, Q)) : b("", !0),
145
+ l.dataIndex === "keyword" ? (m(), P(V, {
146
+ key: 1,
147
+ copyable: ""
148
+ }, {
149
+ default: o(() => [
150
+ s(g(B), 1)
151
+ ]),
152
+ _: 2
153
+ }, 1024)) : l.dataIndex === "action" ? (m(), f(O, { key: 2 }, [
154
+ p("a", {
155
+ onClick: (x) => v(i)
156
+ }, "编辑", 8, W),
157
+ t($, { type: "vertical" }),
158
+ t(z, {
154
159
  title: "确定要删除吗?",
155
- onConfirm: (k) => R(m)
160
+ onConfirm: (x) => q(i)
156
161
  }, {
157
162
  default: o(() => e[5] || (e[5] = [
158
- c("a", null, "删除", -1)
163
+ p("a", null, "删除", -1)
159
164
  ])),
160
165
  _: 2
161
166
  }, 1032, ["onConfirm"])
162
- ], 64)) : I("", !0)
167
+ ], 64)) : b("", !0)
163
168
  ]),
164
169
  _: 1
165
170
  }, 8, ["load-data", "params"])
166
171
  ]),
167
- t(K, {
172
+ t(G, {
168
173
  ref_key: "modalRef",
169
- ref: f,
170
- onSuccess: S
174
+ ref: u,
175
+ onSuccess: R
171
176
  }, null, 512)
172
177
  ]);
173
178
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DictIndex.vue2.js";
2
2
  import "./DictIndex.vue3.js";
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d4a2e224"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dab314f5"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as H, ref as I, reactive as h, resolveComponent as a, openBlock as p, createElementBlock as f, createElementVNode as _, createVNode as t, withCtx as o, createTextVNode as l, unref as i, toDisplayString as w, createCommentVNode as y, Fragment as U } from "vue";
2
- import G from "./DictEdit.vue.js";
3
- import { queryDictionaries as J, refreshDictionaries as K, removeDictionary as L } from "./api.js";
4
- import { HddTwoTone as M, PlusOutlined as Q, SyncOutlined as W } from "@ant-design/icons-vue";
5
- import { message as C } from "ant-design-vue";
6
- import { useRouter as X } from "vue-router";
7
- import { FxCardTable as Y, ClickCopy as Z } from "@since2006/components";
8
- const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, oe = ["onClick"], ne = { key: 2 }, ae = ["onClick"], pe = /* @__PURE__ */ H({
1
+ import { defineComponent as U, ref as h, reactive as b, resolveComponent as a, openBlock as c, createElementBlock as y, createElementVNode as f, createVNode as t, withCtx as o, createTextVNode as l, unref as i, toDisplayString as I, createCommentVNode as v, createBlock as G } from "vue";
2
+ import J from "./DictEdit.vue.js";
3
+ import { queryDictionaries as K, refreshDictionaries as L, removeDictionary as M } from "./api.js";
4
+ import { HddTwoTone as Q, PlusOutlined as W, SyncOutlined as X } from "@ant-design/icons-vue";
5
+ import { message as k } from "ant-design-vue";
6
+ import { useRouter as Y } from "vue-router";
7
+ import { FxCardTable as Z } from "@since2006/components";
8
+ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, oe = ["onClick"], ne = { key: 2 }, ae = ["onClick"], ce = /* @__PURE__ */ U({
9
9
  __name: "DictIndex",
10
10
  setup(re) {
11
- const s = I(), q = [
11
+ const s = h(), w = [
12
12
  {
13
13
  title: "字典名称",
14
14
  dataIndex: "name",
@@ -27,48 +27,48 @@ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, o
27
27
  width: "150px",
28
28
  dataIndex: "action"
29
29
  }
30
- ], u = h({
30
+ ], p = b({
31
31
  query: void 0
32
- }), k = () => {
32
+ }), x = () => {
33
33
  s.value.refresh();
34
- }, D = () => {
35
- u.query = void 0, s.value.refresh();
36
- }, R = X(), v = I(!1), n = h({
34
+ }, q = () => {
35
+ p.query = void 0, s.value.refresh();
36
+ }, D = Y(), _ = h(!1), n = b({
37
37
  open: !1,
38
38
  mode: "add",
39
39
  dictId: ""
40
- }), S = () => {
40
+ }), R = () => {
41
41
  n.open = !0, n.mode = "add", n.dictId = "";
42
- }, E = () => {
43
- v.value = !0, K().then(() => {
44
- v.value = !1, C.success("刷新字典成功");
42
+ }, S = () => {
43
+ _.value = !0, L().then(() => {
44
+ _.value = !1, k.success("刷新字典成功");
45
45
  });
46
+ }, E = (r) => {
47
+ D.push({ path: "/dict/panel", query: { id: r.id } });
46
48
  }, V = (r) => {
47
- R.push({ path: "/dict/panel", query: { id: r.id } });
48
- }, $ = (r) => {
49
49
  n.open = !0, n.mode = "edit", n.dictId = r.id;
50
- }, N = (r) => {
51
- L(r.id).then(() => {
52
- C.success("删除字典成功"), s.value.refresh();
50
+ }, $ = (r) => {
51
+ M(r.id).then(() => {
52
+ k.success("删除字典成功"), s.value.refresh();
53
53
  });
54
- }, T = (r) => {
54
+ }, N = (r) => {
55
55
  let e;
56
- r === "add" ? e = "添加字典成功" : e = "编辑字典成功", n.open = !1, C.success(e), s.value.refresh();
56
+ r === "add" ? e = "添加字典成功" : e = "编辑字典成功", n.open = !1, k.success(e), s.value.refresh();
57
57
  };
58
58
  return (r, e) => {
59
- const P = a("a-input"), B = a("a-form-item"), x = a("a-col"), m = a("a-button"), F = a("a-row"), O = a("a-form"), j = a("a-button-group"), z = a("a-divider"), A = a("a-popconfirm");
60
- return p(), f("div", null, [
61
- _("div", ee, [
62
- _("div", te, [
59
+ const T = a("a-input"), B = a("a-form-item"), C = a("a-col"), u = a("a-button"), P = a("a-row"), O = a("a-form"), j = a("a-button-group"), z = a("a-typography-paragraph"), A = a("a-divider"), F = a("a-popconfirm");
60
+ return c(), y("div", null, [
61
+ f("div", ee, [
62
+ f("div", te, [
63
63
  t(O, { layout: "horizontal" }, {
64
64
  default: o(() => [
65
- t(F, {
65
+ t(P, {
66
66
  gutter: 16,
67
67
  type: "flex",
68
68
  justify: "start"
69
69
  }, {
70
70
  default: o(() => [
71
- t(x, {
71
+ t(C, {
72
72
  xs: 24,
73
73
  sm: 24,
74
74
  md: 12,
@@ -77,11 +77,11 @@ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, o
77
77
  default: o(() => [
78
78
  t(B, { label: "搜索" }, {
79
79
  default: o(() => [
80
- t(P, {
81
- value: u.query,
82
- "onUpdate:value": e[0] || (e[0] = (d) => u.query = d),
80
+ t(T, {
81
+ value: p.query,
82
+ "onUpdate:value": e[0] || (e[0] = (d) => p.query = d),
83
83
  placeholder: "字典名称、字典标识",
84
- onPressEnter: k
84
+ onPressEnter: x
85
85
  }, null, 8, ["value"])
86
86
  ]),
87
87
  _: 1
@@ -89,10 +89,10 @@ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, o
89
89
  ]),
90
90
  _: 1
91
91
  }),
92
- t(x, null, {
92
+ t(C, null, {
93
93
  default: o(() => [
94
- t(m, {
95
- onClick: k,
94
+ t(u, {
95
+ onClick: x,
96
96
  type: "primary"
97
97
  }, {
98
98
  default: o(() => e[2] || (e[2] = [
@@ -100,8 +100,8 @@ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, o
100
100
  ])),
101
101
  _: 1
102
102
  }),
103
- t(m, {
104
- onClick: D,
103
+ t(u, {
104
+ onClick: q,
105
105
  style: { "margin-left": "16px" }
106
106
  }, {
107
107
  default: o(() => e[3] || (e[3] = [
@@ -119,36 +119,36 @@ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, o
119
119
  _: 1
120
120
  })
121
121
  ]),
122
- t(i(Y), {
123
- columns: q,
124
- "load-data": i(J),
125
- params: u,
122
+ t(i(Z), {
123
+ columns: w,
124
+ "load-data": i(K),
125
+ params: p,
126
126
  ref_key: "tableRef",
127
127
  ref: s
128
128
  }, {
129
129
  title: o(() => [
130
- t(i(M)),
130
+ t(i(Q)),
131
131
  e[4] || (e[4] = l(" 数据字典 "))
132
132
  ]),
133
133
  toolbar: o(() => [
134
134
  t(j, null, {
135
135
  default: o(() => [
136
- t(m, {
136
+ t(u, {
137
137
  type: "primary",
138
- onClick: S
138
+ onClick: R
139
139
  }, {
140
140
  default: o(() => [
141
- t(i(Q)),
141
+ t(i(W)),
142
142
  e[5] || (e[5] = l(" 添加字典 "))
143
143
  ]),
144
144
  _: 1
145
145
  }),
146
- t(m, {
147
- onClick: E,
148
- loading: v.value
146
+ t(u, {
147
+ onClick: S,
148
+ loading: _.value
149
149
  }, {
150
150
  default: o(() => [
151
- t(i(W)),
151
+ t(i(X)),
152
152
  e[6] || (e[6] = l(" 刷新字典 "))
153
153
  ]),
154
154
  _: 1
@@ -157,46 +157,51 @@ const ee = { class: "ant-pro-table" }, te = { class: "ant-pro-table-search" }, o
157
157
  _: 1
158
158
  })
159
159
  ]),
160
- bodyCell: o(({ column: d, record: c, text: b }) => [
161
- d.dataIndex === "name" ? (p(), f("a", {
160
+ bodyCell: o(({ column: d, record: m, text: H }) => [
161
+ d.dataIndex === "name" ? (c(), y("a", {
162
162
  key: 0,
163
- onClick: (g) => V(c)
164
- }, w(c.name), 9, oe)) : y("", !0),
165
- d.dataIndex === "keyword" ? (p(), f(U, { key: 1 }, [
166
- l(w(b) + " ", 1),
167
- t(i(Z), { value: b }, null, 8, ["value"])
168
- ], 64)) : y("", !0),
169
- d.dataIndex === "action" ? (p(), f("span", ne, [
170
- _("a", {
171
- onClick: (g) => $(c)
163
+ onClick: (g) => E(m)
164
+ }, I(m.name), 9, oe)) : v("", !0),
165
+ d.dataIndex === "keyword" ? (c(), G(z, {
166
+ key: 1,
167
+ copyable: ""
168
+ }, {
169
+ default: o(() => [
170
+ l(I(H), 1)
171
+ ]),
172
+ _: 2
173
+ }, 1024)) : v("", !0),
174
+ d.dataIndex === "action" ? (c(), y("span", ne, [
175
+ f("a", {
176
+ onClick: (g) => V(m)
172
177
  }, "编辑", 8, ae),
173
- t(z, { type: "vertical" }),
174
- t(A, {
178
+ t(A, { type: "vertical" }),
179
+ t(F, {
175
180
  title: "是否确认删除?",
176
- onConfirm: (g) => N(c)
181
+ onConfirm: (g) => $(m)
177
182
  }, {
178
183
  default: o(() => e[7] || (e[7] = [
179
- _("a", { href: "#" }, "删除", -1)
184
+ f("a", { href: "#" }, "删除", -1)
180
185
  ])),
181
186
  _: 2
182
187
  }, 1032, ["onConfirm"])
183
- ])) : y("", !0)
188
+ ])) : v("", !0)
184
189
  ]),
185
190
  _: 1
186
191
  }, 8, ["load-data", "params"])
187
192
  ]),
188
- t(G, {
193
+ t(J, {
189
194
  ref: "dictEdit",
190
195
  open: n.open,
191
196
  mode: n.mode,
192
197
  "dict-id": n.dictId,
193
198
  onCancel: e[1] || (e[1] = (d) => n.open = !1),
194
- onSuccess: T
199
+ onSuccess: N
195
200
  }, null, 8, ["open", "mode", "dict-id"])
196
201
  ]);
197
202
  };
198
203
  }
199
204
  });
200
205
  export {
201
- pe as default
206
+ ce as default
202
207
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DictPanel.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-279477c8"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-47d8452e"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as M, ref as f, reactive as j, resolveComponent as o, openBlock as p, createElementBlock as _, createElementVNode as m, createVNode as e, withCtx as a, createTextVNode as l, unref as s, Fragment as b, toDisplayString as B, createCommentVNode as R } from "vue";
2
- import { ProfileTwoTone as F, PlusOutlined as Y } from "@ant-design/icons-vue";
3
- import { queryMetadatas as z, deleteMetadata as O } from "./api.js";
4
- import { message as y } from "ant-design-vue";
5
- import { FxCardTable as A, ClickCopy as G } from "@since2006/components";
6
- import H from "./MetadataCreate.vue.js";
7
- import J from "./MetadataUpdate.vue.js";
8
- const L = { class: "ant-pro-table" }, Q = { class: "ant-pro-table-search" }, W = ["onClick"], le = /* @__PURE__ */ M({
1
+ import { defineComponent as B, ref as u, reactive as M, resolveComponent as o, openBlock as f, createElementBlock as k, createElementVNode as m, createVNode as e, withCtx as t, createTextVNode as l, unref as i, createBlock as j, toDisplayString as F, createCommentVNode as b, Fragment as Y } from "vue";
2
+ import { ProfileTwoTone as z, PlusOutlined as O } from "@ant-design/icons-vue";
3
+ import { queryMetadatas as A, deleteMetadata as G } from "./api.js";
4
+ import { message as _ } from "ant-design-vue";
5
+ import { FxCardTable as H } from "@since2006/components";
6
+ import J from "./MetadataCreate.vue.js";
7
+ import L from "./MetadataUpdate.vue.js";
8
+ const Q = { class: "ant-pro-table" }, W = { class: "ant-pro-table-search" }, X = ["onClick"], se = /* @__PURE__ */ B({
9
9
  __name: "MetadataIndex",
10
- setup(X) {
11
- const n = f(), g = [
10
+ setup(Z) {
11
+ const n = u(), I = [
12
12
  {
13
13
  title: "对象ID",
14
14
  dataIndex: "objectId"
@@ -30,52 +30,52 @@ const L = { class: "ant-pro-table" }, Q = { class: "ant-pro-table-search" }, W =
30
30
  dataIndex: "action",
31
31
  width: 150
32
32
  }
33
- ], d = j({
33
+ ], s = M({
34
34
  query: void 0
35
- }), u = () => {
35
+ }), p = () => {
36
36
  n.value.refresh();
37
- }, q = () => {
38
- d.query = void 0, u();
39
- }, S = (i) => {
40
- O(i.id).then(() => {
41
- y.success("删除元数据成功"), n.value.refresh();
37
+ }, g = () => {
38
+ s.query = void 0, p();
39
+ }, h = (d) => {
40
+ G(d.id).then(() => {
41
+ _.success("删除元数据成功"), n.value.refresh();
42
42
  });
43
- }, v = f(), C = f(), U = () => {
44
- v.value.preCreate();
45
- }, V = (i) => {
46
- C.value.preUpdate(i.id);
47
- }, h = () => {
48
- y.success("添加元数据成功"), n.value.refresh();
49
- }, w = () => {
50
- y.success("编辑元数据成功"), n.value.refresh();
43
+ }, y = u(), v = u(), R = () => {
44
+ y.value.preCreate();
45
+ }, q = (d) => {
46
+ v.value.preUpdate(d.id);
47
+ }, S = () => {
48
+ _.success("添加元数据成功"), n.value.refresh();
49
+ }, U = () => {
50
+ _.success("编辑元数据成功"), n.value.refresh();
51
51
  };
52
- return (i, t) => {
53
- const E = o("a-input"), D = o("a-form-item"), x = o("a-col"), c = o("a-button"), K = o("a-row"), N = o("a-form"), P = o("a-divider"), T = o("a-popconfirm");
54
- return p(), _("div", null, [
55
- m("div", L, [
56
- m("div", Q, [
57
- e(N, { layout: "horizontal" }, {
58
- default: a(() => [
59
- e(K, {
52
+ return (d, a) => {
53
+ const V = o("a-input"), w = o("a-form-item"), C = o("a-col"), c = o("a-button"), E = o("a-row"), D = o("a-form"), K = o("a-typography-paragraph"), N = o("a-divider"), P = o("a-popconfirm");
54
+ return f(), k("div", null, [
55
+ m("div", Q, [
56
+ m("div", W, [
57
+ e(D, { layout: "horizontal" }, {
58
+ default: t(() => [
59
+ e(E, {
60
60
  gutter: 16,
61
61
  type: "flex",
62
62
  justify: "start"
63
63
  }, {
64
- default: a(() => [
65
- e(x, {
64
+ default: t(() => [
65
+ e(C, {
66
66
  xs: 24,
67
67
  sm: 24,
68
68
  md: 12,
69
69
  lg: 7
70
70
  }, {
71
- default: a(() => [
72
- e(D, { label: "搜索" }, {
73
- default: a(() => [
74
- e(E, {
75
- value: d.query,
76
- "onUpdate:value": t[0] || (t[0] = (r) => d.query = r),
71
+ default: t(() => [
72
+ e(w, { label: "搜索" }, {
73
+ default: t(() => [
74
+ e(V, {
75
+ value: s.query,
76
+ "onUpdate:value": a[0] || (a[0] = (r) => s.query = r),
77
77
  placeholder: "对象ID、对象KEY、备注",
78
- onPressEnter: u
78
+ onPressEnter: p
79
79
  }, null, 8, ["value"])
80
80
  ]),
81
81
  _: 1
@@ -83,22 +83,22 @@ const L = { class: "ant-pro-table" }, Q = { class: "ant-pro-table-search" }, W =
83
83
  ]),
84
84
  _: 1
85
85
  }),
86
- e(x, null, {
87
- default: a(() => [
86
+ e(C, null, {
87
+ default: t(() => [
88
88
  e(c, {
89
- onClick: u,
89
+ onClick: p,
90
90
  type: "primary"
91
91
  }, {
92
- default: a(() => t[1] || (t[1] = [
92
+ default: t(() => a[1] || (a[1] = [
93
93
  l("搜索")
94
94
  ])),
95
95
  _: 1
96
96
  }),
97
97
  e(c, {
98
- onClick: q,
98
+ onClick: g,
99
99
  style: { "margin-left": "16px" }
100
100
  }, {
101
- default: a(() => t[2] || (t[2] = [
101
+ default: t(() => a[2] || (a[2] = [
102
102
  l("重置")
103
103
  ])),
104
104
  _: 1
@@ -113,67 +113,72 @@ const L = { class: "ant-pro-table" }, Q = { class: "ant-pro-table-search" }, W =
113
113
  _: 1
114
114
  })
115
115
  ]),
116
- e(s(A), {
117
- columns: g,
118
- "load-data": s(z),
119
- params: d,
116
+ e(i(H), {
117
+ columns: I,
118
+ "load-data": i(A),
119
+ params: s,
120
120
  ref_key: "tableRef",
121
121
  ref: n
122
122
  }, {
123
- title: a(() => [
124
- e(s(F)),
125
- t[3] || (t[3] = l(" 元数据配置"))
123
+ title: t(() => [
124
+ e(i(z)),
125
+ a[3] || (a[3] = l(" 元数据配置"))
126
126
  ]),
127
- toolbar: a(() => [
127
+ toolbar: t(() => [
128
128
  e(c, {
129
129
  type: "primary",
130
- onClick: U
130
+ onClick: R
131
131
  }, {
132
- default: a(() => [
133
- e(s(Y)),
134
- t[4] || (t[4] = l(" 新建 "))
132
+ default: t(() => [
133
+ e(i(O)),
134
+ a[4] || (a[4] = l(" 新建 "))
135
135
  ]),
136
136
  _: 1
137
137
  })
138
138
  ]),
139
- bodyCell: a(({ column: r, record: k, text: I }) => [
140
- r.dataIndex === "metaKey" || r.dataIndex === "metaValue" ? (p(), _(b, { key: 0 }, [
141
- l(B(I) + " ", 1),
142
- e(s(G), { value: I }, null, 8, ["value"])
143
- ], 64)) : R("", !0),
144
- r.dataIndex === "action" ? (p(), _(b, { key: 1 }, [
139
+ bodyCell: t(({ column: r, record: x, text: T }) => [
140
+ r.dataIndex === "metaKey" || r.dataIndex === "metaValue" ? (f(), j(K, {
141
+ key: 0,
142
+ copyable: ""
143
+ }, {
144
+ default: t(() => [
145
+ l(F(T), 1)
146
+ ]),
147
+ _: 2
148
+ }, 1024)) : b("", !0),
149
+ r.dataIndex === "action" ? (f(), k(Y, { key: 1 }, [
145
150
  m("a", {
146
- onClick: ($) => V(k)
147
- }, "编辑", 8, W),
148
- e(P, { type: "vertical" }),
149
- e(T, {
151
+ onClick: ($) => q(x)
152
+ }, "编辑", 8, X),
153
+ e(N, { type: "vertical" }),
154
+ e(P, {
150
155
  title: "确定要删除吗?",
151
- onConfirm: ($) => S(k)
156
+ onConfirm: ($) => h(x)
152
157
  }, {
153
- default: a(() => t[5] || (t[5] = [
158
+ default: t(() => a[5] || (a[5] = [
154
159
  m("a", null, "删除", -1)
155
160
  ])),
156
161
  _: 2
157
162
  }, 1032, ["onConfirm"])
158
- ], 64)) : R("", !0)
163
+ ], 64)) : b("", !0)
159
164
  ]),
160
165
  _: 1
161
166
  }, 8, ["load-data", "params"])
162
167
  ]),
163
- e(H, {
168
+ e(J, {
164
169
  ref_key: "modalCreateRef",
165
- ref: v,
166
- onSuccess: h
170
+ ref: y,
171
+ onSuccess: S
167
172
  }, null, 512),
168
- e(J, {
173
+ e(L, {
169
174
  ref_key: "modalUpdateRef",
170
- ref: C,
171
- onSuccess: w
175
+ ref: v,
176
+ onSuccess: U
172
177
  }, null, 512)
173
178
  ]);
174
179
  };
175
180
  }
176
181
  });
177
182
  export {
178
- le as default
183
+ se as default
179
184
  };
@@ -1,124 +1,129 @@
1
- import { defineComponent as _, resolveComponent as s, openBlock as a, createBlock as d, withCtx as l, createVNode as n, createTextVNode as o, toDisplayString as m, resolveDynamicComponent as C, createCommentVNode as r, createElementVNode as c, unref as f, createElementBlock as y, Fragment as k } from "vue";
2
- import { ClickCopy as b } from "@since2006/components";
3
- const v = { style: { color: "#a6a6a6", "margin-left": "4px" } }, D = /* @__PURE__ */ _({
1
+ import { defineComponent as g, resolveComponent as p, openBlock as d, createBlock as m, 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({
4
3
  __name: "ModuleDetail",
5
4
  props: {
6
5
  module: {}
7
6
  },
8
7
  setup(N) {
9
- return (e, u) => {
10
- const t = s("a-descriptions-item"), p = s("a-tag"), g = s("a-descriptions");
11
- return a(), d(g, {
8
+ return (o, n) => {
9
+ const t = p("a-descriptions-item"), i = p("a-typography-paragraph"), u = p("a-tag"), b = p("a-descriptions");
10
+ return d(), m(b, {
12
11
  bordered: "",
13
12
  column: 1,
14
13
  labelStyle: { width: "140px", textAlign: "center" }
15
14
  }, {
16
- default: l(() => [
17
- n(t, { label: "模块名称" }, {
18
- default: l(() => [
19
- o(m(e.module.name), 1)
15
+ default: e(() => [
16
+ l(t, { label: "模块名称" }, {
17
+ default: e(() => [
18
+ a(r(o.module.name), 1)
20
19
  ]),
21
20
  _: 1
22
21
  }),
23
- n(t, { label: "文档类别" }, {
24
- default: l(() => {
25
- var i;
22
+ l(t, { label: "文档类别" }, {
23
+ default: e(() => {
24
+ var f;
26
25
  return [
27
- o(m((i = e.module.cate) == null ? void 0 : i.name), 1)
26
+ a(r((f = o.module.cate) == null ? void 0 : f.name), 1)
28
27
  ];
29
28
  }),
30
29
  _: 1
31
30
  }),
32
- n(t, { label: "模块图标" }, {
33
- default: l(() => [
34
- e.module.icon ? (a(), d(C(e.module.icon), {
31
+ l(t, { label: "模块图标" }, {
32
+ default: e(() => [
33
+ o.module.icon ? (d(), m(c(o.module.icon), {
35
34
  key: 0,
36
35
  style: { "font-size": "16px" }
37
- })) : r("", !0),
38
- c("span", v, m(e.module.icon), 1)
36
+ })) : s("", !0),
37
+ k("span", C, r(o.module.icon), 1)
39
38
  ]),
40
39
  _: 1
41
40
  }),
42
- n(t, { label: "访问路径" }, {
43
- default: l(() => [
44
- o(m(e.module.path) + " ", 1),
45
- e.module.path ? (a(), d(f(b), {
46
- key: 0,
47
- value: e.module.path
48
- }, null, 8, ["value"])) : r("", !0)
41
+ l(t, { label: "访问路径" }, {
42
+ default: e(() => [
43
+ l(i, {
44
+ copyable: !!o.module.path
45
+ }, {
46
+ default: e(() => [
47
+ a(r(o.module.path), 1)
48
+ ]),
49
+ _: 1
50
+ }, 8, ["copyable"])
49
51
  ]),
50
52
  _: 1
51
53
  }),
52
- n(t, { label: "模板文件" }, {
53
- default: l(() => [
54
- o(m(e.module.component) + " ", 1),
55
- e.module.component ? (a(), d(f(b), {
56
- key: 0,
57
- value: e.module.component
58
- }, null, 8, ["value"])) : r("", !0)
54
+ l(t, { label: "模板文件" }, {
55
+ default: e(() => [
56
+ l(i, {
57
+ copyable: !!o.module.component
58
+ }, {
59
+ default: e(() => [
60
+ a(r(o.module.component), 1)
61
+ ]),
62
+ _: 1
63
+ }, 8, ["copyable"])
59
64
  ]),
60
65
  _: 1
61
66
  }),
62
- n(t, { label: "打开方式" }, {
63
- default: l(() => [
64
- e.module.target != null ? (a(), y(k, { key: 0 }, [
65
- e.module.target === 1 ? (a(), d(p, {
67
+ l(t, { label: "打开方式" }, {
68
+ default: e(() => [
69
+ o.module.target != null ? (d(), y(_, { key: 0 }, [
70
+ o.module.target === 1 ? (d(), m(u, {
66
71
  key: 0,
67
72
  color: "red"
68
73
  }, {
69
- default: l(() => u[0] || (u[0] = [
70
- o("新开窗口")
74
+ default: e(() => n[0] || (n[0] = [
75
+ a("新开窗口")
71
76
  ])),
72
77
  _: 1
73
- })) : (a(), d(p, { key: 1 }, {
74
- default: l(() => u[1] || (u[1] = [
75
- o("默认")
78
+ })) : (d(), m(u, { key: 1 }, {
79
+ default: e(() => n[1] || (n[1] = [
80
+ a("默认")
76
81
  ])),
77
82
  _: 1
78
83
  }))
79
- ], 64)) : r("", !0)
84
+ ], 64)) : s("", !0)
80
85
  ]),
81
86
  _: 1
82
87
  }),
83
- n(t, { label: "排序" }, {
84
- default: l(() => [
85
- o(m(e.module.seqNo), 1)
88
+ l(t, { label: "排序" }, {
89
+ default: e(() => [
90
+ a(r(o.module.seqNo), 1)
86
91
  ]),
87
92
  _: 1
88
93
  }),
89
- n(t, { label: "是否显示" }, {
90
- default: l(() => [
91
- e.module.state ? (a(), y(k, { key: 0 }, [
92
- e.module.state === "1" ? (a(), d(p, {
94
+ l(t, { label: "是否显示" }, {
95
+ default: e(() => [
96
+ o.module.state ? (d(), y(_, { key: 0 }, [
97
+ o.module.state === "1" ? (d(), m(u, {
93
98
  key: 0,
94
99
  color: "green"
95
100
  }, {
96
- default: l(() => u[2] || (u[2] = [
97
- o("显示")
101
+ default: e(() => n[2] || (n[2] = [
102
+ a("显示")
98
103
  ])),
99
104
  _: 1
100
- })) : (a(), d(p, {
105
+ })) : (d(), m(u, {
101
106
  key: 1,
102
107
  color: "red"
103
108
  }, {
104
- default: l(() => u[3] || (u[3] = [
105
- o("隐藏")
109
+ default: e(() => n[3] || (n[3] = [
110
+ a("隐藏")
106
111
  ])),
107
112
  _: 1
108
113
  }))
109
- ], 64)) : r("", !0)
114
+ ], 64)) : s("", !0)
110
115
  ]),
111
116
  _: 1
112
117
  }),
113
- n(t, { label: "访问权限" }, {
114
- default: l(() => [
115
- o(m(e.module.permsSummary), 1)
118
+ l(t, { label: "访问权限" }, {
119
+ default: e(() => [
120
+ a(r(o.module.permsSummary), 1)
116
121
  ]),
117
122
  _: 1
118
123
  }),
119
- n(t, { label: "描述" }, {
120
- default: l(() => [
121
- o(m(e.module.remark), 1)
124
+ l(t, { label: "描述" }, {
125
+ default: e(() => [
126
+ a(r(o.module.remark), 1)
122
127
  ]),
123
128
  _: 1
124
129
  })
@@ -129,5 +134,5 @@ const v = { style: { color: "#a6a6a6", "margin-left": "4px" } }, D = /* @__PURE_
129
134
  }
130
135
  });
131
136
  export {
132
- D as default
137
+ B as default
133
138
  };
package/dist/es/style.css CHANGED
@@ -1 +1 @@
1
- .large-text[data-v-92532804]{font-size:16px}.float-right[data-v-92532804]{float:right}.margin-block[data-v-92532804]{margin-top:14px}.icon-selector deep(ul) li.active[data-v-33554e43],.icon-selector deep(ul) li[data-v-33554e43]: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-33554e43]{font-size:1.5rem;border:1px solid #f1f1f1;padding:.02rem;margin:.03rem;cursor:pointer}.ant-form[data-v-cd92ee31]{padding-top:20px}.permission-tree[data-v-cd92ee31],.permission-tree[data-v-266daf0e]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-ae963ea6] .ant-pro-table-list-toolbar-container{padding-left:6px}.cron-detail[data-v-f256dc3c]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-f256dc3c]{width:70px}.cron-detail .ant-input[data-v-f256dc3c]{width:280px}.cron-detail[data-v-50931e68]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-50931e68]{width:70px}.cron-detail .ant-input[data-v-50931e68]{width:280px}[data-v-de0bbc9f] .ant-descriptions-item-label,[data-v-cec99bb6] .ant-descriptions-item-label{width:140px}.ua-icon[data-v-8b2a1553]{width:1.2em;height:1.2em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.notice[data-v-112d54e0]{color:#ff4d4f;font-size:18px}.table-operator[data-v-279477c8]{margin:10px 14px 20px 0}[data-v-279477c8] .ant-descriptions-item-label{width:140px}.tree-container[data-v-279477c8] .ant-tree{max-height:540px;overflow:auto}
1
+ .large-text[data-v-92532804]{font-size:16px}.float-right[data-v-92532804]{float:right}.margin-block[data-v-92532804]{margin-top:14px}.icon-selector deep(ul) li.active[data-v-33554e43],.icon-selector deep(ul) li[data-v-33554e43]: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-33554e43]{font-size:1.5rem;border:1px solid #f1f1f1;padding:.02rem;margin:.03rem;cursor:pointer}.ant-form[data-v-cd92ee31]{padding-top:20px}.permission-tree[data-v-cd92ee31],.permission-tree[data-v-266daf0e]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-ae963ea6] .ant-pro-table-list-toolbar-container{padding-left:6px}.cron-detail[data-v-f256dc3c]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-f256dc3c]{width:70px}.cron-detail .ant-input[data-v-f256dc3c]{width:280px}.cron-detail[data-v-50931e68]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-50931e68]{width:70px}.cron-detail .ant-input[data-v-50931e68]{width:280px}[data-v-de0bbc9f] .ant-descriptions-item-label,[data-v-cec99bb6] .ant-descriptions-item-label{width:140px}.ua-icon[data-v-8b2a1553]{width:1.2em;height:1.2em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.notice[data-v-112d54e0]{color:#ff4d4f;font-size:18px}.table-operator[data-v-47d8452e]{margin:10px 14px 20px 0}[data-v-47d8452e] .ant-descriptions-item-label{width:140px}.tree-container[data-v-47d8452e] .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("vue"),_=require("@ant-design/icons-vue"),f=require("./api.js"),C=require("ant-design-vue"),T=require("./AttachmentEdit.vue.js"),v=require("@since2006/components"),B={class:"ant-pro-table"},I={class:"ant-pro-table-search"},D=["onClick"],S=["onClick"],R=e.defineComponent({__name:"AttachmentList",setup(F){const n=e.ref(),x=[{title:"模块名称",dataIndex:"name"},{title:"附件标识Key",dataIndex:"keyword"},{title:"允许类型",dataIndex:"extensionDesc"},{title:"大小",dataIndex:"maxSizeDesc",sorter:!0,sortDirections:["descend","ascend"],sortField:"max_size"},{title:"操作",dataIndex:"action",width:"150px"}],r=e.reactive({query:void 0}),i=()=>{n.value.refresh()},y=()=>{r.query=void 0,n.value.refresh()},V=o=>{f.deleteConfig(o.id).then(()=>{C.message.success("删除附件配置成功"),n.value.refresh()})},s=e.ref(),N=()=>{s.value.preCreate()},c=o=>{s.value.preUpdate(o.id)},k=o=>{let t;o==="add"?t="添加附件配置成功":t="编辑附件配置成功",C.message.success(t),n.value.refresh()};return(o,t)=>{const h=e.resolveComponent("a-input"),w=e.resolveComponent("a-form-item"),u=e.resolveComponent("a-col"),d=e.resolveComponent("a-button"),g=e.resolveComponent("a-row"),b=e.resolveComponent("a-form"),q=e.resolveComponent("a-divider"),E=e.resolveComponent("a-popconfirm");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",B,[e.createElementVNode("div",I,[e.createVNode(b,{layout:"horizontal"},{default:e.withCtx(()=>[e.createVNode(g,{gutter:16,type:"flex",justify:"start"},{default:e.withCtx(()=>[e.createVNode(u,{xs:24,sm:24,md:12,lg:7},{default:e.withCtx(()=>[e.createVNode(w,{label:"搜索"},{default:e.withCtx(()=>[e.createVNode(h,{value:r.query,"onUpdate:value":t[0]||(t[0]=a=>r.query=a),placeholder:"模块名称、附件标识",onPressEnter:i},null,8,["value"])]),_:1})]),_:1}),e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(d,{onClick:i,type:"primary"},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("搜索")])),_:1}),e.createVNode(d,{onClick:y,style:{"margin-left":"16px"}},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode("重置")])),_:1})]),_:1})]),_:1})]),_:1})]),e.createVNode(e.unref(v.FxCardTable),{columns:x,"load-data":e.unref(f.queryConfigs),params:r,ref_key:"tableRef",ref:n},{title:e.withCtx(()=>[e.createVNode(e.unref(_.CloudTwoTone)),t[3]||(t[3]=e.createTextVNode(" 附件上传"))]),toolbar:e.withCtx(()=>[e.createVNode(d,{type:"primary",onClick:N},{default:e.withCtx(()=>[e.createVNode(e.unref(_.PlusOutlined)),t[4]||(t[4]=e.createTextVNode(" 新建 "))]),_:1})]),bodyCell:e.withCtx(({column:a,record:l,text:m})=>[a.dataIndex==="name"?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:p=>c(l)},e.toDisplayString(l.name),9,D)):e.createCommentVNode("",!0),a.dataIndex==="keyword"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(m)+" ",1),e.createVNode(e.unref(v.ClickCopy),{value:m},null,8,["value"])],64)):a.dataIndex==="action"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("a",{onClick:p=>c(l)},"编辑",8,S),e.createVNode(q,{type:"vertical"}),e.createVNode(E,{title:"确定要删除吗?",onConfirm:p=>V(l)},{default:e.withCtx(()=>t[5]||(t[5]=[e.createElementVNode("a",null,"删除",-1)])),_:2},1032,["onConfirm"])],64)):e.createCommentVNode("",!0)]),_:1},8,["load-data","params"])]),e.createVNode(T.default,{ref_key:"modalRef",ref:s,onSuccess:k},null,512)])}}});exports.default=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("@ant-design/icons-vue"),_=require("./api.js"),f=require("ant-design-vue"),T=require("./AttachmentEdit.vue.js"),B=require("@since2006/components"),I={class:"ant-pro-table"},D={class:"ant-pro-table-search"},S=["onClick"],R=["onClick"],P=e.defineComponent({__name:"AttachmentList",setup(U){const n=e.ref(),C=[{title:"模块名称",dataIndex:"name"},{title:"附件标识Key",dataIndex:"keyword"},{title:"允许类型",dataIndex:"extensionDesc"},{title:"大小",dataIndex:"maxSizeDesc",sorter:!0,sortDirections:["descend","ascend"],sortField:"max_size"},{title:"操作",dataIndex:"action",width:"150px"}],r=e.reactive({query:void 0}),c=()=>{n.value.refresh()},v=()=>{r.query=void 0,n.value.refresh()},x=o=>{_.deleteConfig(o.id).then(()=>{f.message.success("删除附件配置成功"),n.value.refresh()})},s=e.ref(),y=()=>{s.value.preCreate()},i=o=>{s.value.preUpdate(o.id)},V=o=>{let t;o==="add"?t="添加附件配置成功":t="编辑附件配置成功",f.message.success(t),n.value.refresh()};return(o,t)=>{const N=e.resolveComponent("a-input"),h=e.resolveComponent("a-form-item"),u=e.resolveComponent("a-col"),d=e.resolveComponent("a-button"),k=e.resolveComponent("a-row"),g=e.resolveComponent("a-form"),w=e.resolveComponent("a-typography-paragraph"),b=e.resolveComponent("a-divider"),q=e.resolveComponent("a-popconfirm");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",I,[e.createElementVNode("div",D,[e.createVNode(g,{layout:"horizontal"},{default:e.withCtx(()=>[e.createVNode(k,{gutter:16,type:"flex",justify:"start"},{default:e.withCtx(()=>[e.createVNode(u,{xs:24,sm:24,md:12,lg:7},{default:e.withCtx(()=>[e.createVNode(h,{label:"搜索"},{default:e.withCtx(()=>[e.createVNode(N,{value:r.query,"onUpdate:value":t[0]||(t[0]=a=>r.query=a),placeholder:"模块名称、附件标识",onPressEnter:c},null,8,["value"])]),_:1})]),_:1}),e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(d,{onClick:c,type:"primary"},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("搜索")])),_:1}),e.createVNode(d,{onClick:v,style:{"margin-left":"16px"}},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode("重置")])),_:1})]),_:1})]),_:1})]),_:1})]),e.createVNode(e.unref(B.FxCardTable),{columns:C,"load-data":e.unref(_.queryConfigs),params:r,ref_key:"tableRef",ref:n},{title:e.withCtx(()=>[e.createVNode(e.unref(m.CloudTwoTone)),t[3]||(t[3]=e.createTextVNode(" 附件上传"))]),toolbar:e.withCtx(()=>[e.createVNode(d,{type:"primary",onClick:y},{default:e.withCtx(()=>[e.createVNode(e.unref(m.PlusOutlined)),t[4]||(t[4]=e.createTextVNode(" 新建 "))]),_:1})]),bodyCell:e.withCtx(({column:a,record:l,text:E})=>[a.dataIndex==="name"?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:p=>i(l)},e.toDisplayString(l.name),9,S)):e.createCommentVNode("",!0),a.dataIndex==="keyword"?(e.openBlock(),e.createBlock(w,{key:1,copyable:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(E),1)]),_:2},1024)):a.dataIndex==="action"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("a",{onClick:p=>i(l)},"编辑",8,R),e.createVNode(b,{type:"vertical"}),e.createVNode(q,{title:"确定要删除吗?",onConfirm:p=>x(l)},{default:e.withCtx(()=>t[5]||(t[5]=[e.createElementVNode("a",null,"删除",-1)])),_:2},1032,["onConfirm"])],64)):e.createCommentVNode("",!0)]),_:1},8,["load-data","params"])]),e.createVNode(T.default,{ref_key:"modalRef",ref:s,onSuccess:V},null,512)])}}});exports.default=P;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./DictIndex.vue2.js");require("./DictIndex.vue3.js");const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-d4a2e224"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./DictIndex.vue2.js");require("./DictIndex.vue3.js");const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-dab314f5"]]);exports.default=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),R=require("./DictEdit.vue.js"),c=require("./api.js"),u=require("@ant-design/icons-vue"),m=require("ant-design-vue"),P=require("vue-router"),C=require("@since2006/components"),$={class:"ant-pro-table"},O={class:"ant-pro-table-search"},j=["onClick"],F={key:2},M=["onClick"],z=e.defineComponent({__name:"DictIndex",setup(A){const r=e.ref(),V=[{title:"字典名称",dataIndex:"name",scopedSlots:{customRender:"name"}},{title:"字典标识",dataIndex:"keyword"},{title:"备注",dataIndex:"remark"},{title:"操作",width:"150px",dataIndex:"action"}],d=e.reactive({query:void 0}),p=()=>{r.value.refresh()},x=()=>{d.query=void 0,r.value.refresh()},N=P.useRouter(),i=e.ref(!1),o=e.reactive({open:!1,mode:"add",dictId:""}),y=()=>{o.open=!0,o.mode="add",o.dictId=""},k=()=>{i.value=!0,c.refreshDictionaries().then(()=>{i.value=!1,m.message.success("刷新字典成功")})},h=n=>{N.push({path:"/dict/panel",query:{id:n.id}})},w=n=>{o.open=!0,o.mode="edit",o.dictId=n.id},g=n=>{c.removeDictionary(n.id).then(()=>{m.message.success("删除字典成功"),r.value.refresh()})},b=n=>{let t;n==="add"?t="添加字典成功":t="编辑字典成功",o.open=!1,m.message.success(t),r.value.refresh()};return(n,t)=>{const q=e.resolveComponent("a-input"),E=e.resolveComponent("a-form-item"),f=e.resolveComponent("a-col"),l=e.resolveComponent("a-button"),I=e.resolveComponent("a-row"),D=e.resolveComponent("a-form"),T=e.resolveComponent("a-button-group"),S=e.resolveComponent("a-divider"),B=e.resolveComponent("a-popconfirm");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",$,[e.createElementVNode("div",O,[e.createVNode(D,{layout:"horizontal"},{default:e.withCtx(()=>[e.createVNode(I,{gutter:16,type:"flex",justify:"start"},{default:e.withCtx(()=>[e.createVNode(f,{xs:24,sm:24,md:12,lg:7},{default:e.withCtx(()=>[e.createVNode(E,{label:"搜索"},{default:e.withCtx(()=>[e.createVNode(q,{value:d.query,"onUpdate:value":t[0]||(t[0]=a=>d.query=a),placeholder:"字典名称、字典标识",onPressEnter:p},null,8,["value"])]),_:1})]),_:1}),e.createVNode(f,null,{default:e.withCtx(()=>[e.createVNode(l,{onClick:p,type:"primary"},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode("搜索")])),_:1}),e.createVNode(l,{onClick:x,style:{"margin-left":"16px"}},{default:e.withCtx(()=>t[3]||(t[3]=[e.createTextVNode("重置")])),_:1})]),_:1})]),_:1})]),_:1})]),e.createVNode(e.unref(C.FxCardTable),{columns:V,"load-data":e.unref(c.queryDictionaries),params:d,ref_key:"tableRef",ref:r},{title:e.withCtx(()=>[e.createVNode(e.unref(u.HddTwoTone)),t[4]||(t[4]=e.createTextVNode(" 数据字典 "))]),toolbar:e.withCtx(()=>[e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(l,{type:"primary",onClick:y},{default:e.withCtx(()=>[e.createVNode(e.unref(u.PlusOutlined)),t[5]||(t[5]=e.createTextVNode(" 添加字典 "))]),_:1}),e.createVNode(l,{onClick:k,loading:i.value},{default:e.withCtx(()=>[e.createVNode(e.unref(u.SyncOutlined)),t[6]||(t[6]=e.createTextVNode(" 刷新字典 "))]),_:1},8,["loading"])]),_:1})]),bodyCell:e.withCtx(({column:a,record:s,text:_})=>[a.dataIndex==="name"?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:v=>h(s)},e.toDisplayString(s.name),9,j)):e.createCommentVNode("",!0),a.dataIndex==="keyword"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(_)+" ",1),e.createVNode(e.unref(C.ClickCopy),{value:_},null,8,["value"])],64)):e.createCommentVNode("",!0),a.dataIndex==="action"?(e.openBlock(),e.createElementBlock("span",F,[e.createElementVNode("a",{onClick:v=>w(s)},"编辑",8,M),e.createVNode(S,{type:"vertical"}),e.createVNode(B,{title:"是否确认删除?",onConfirm:v=>g(s)},{default:e.withCtx(()=>t[7]||(t[7]=[e.createElementVNode("a",{href:"#"},"删除",-1)])),_:2},1032,["onConfirm"])])):e.createCommentVNode("",!0)]),_:1},8,["load-data","params"])]),e.createVNode(R.default,{ref:"dictEdit",open:o.open,mode:o.mode,"dict-id":o.dictId,onCancel:t[1]||(t[1]=a=>o.open=!1),onSuccess:b},null,8,["open","mode","dict-id"])])}}});exports.default=z;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),R=require("./DictEdit.vue.js"),c=require("./api.js"),u=require("@ant-design/icons-vue"),p=require("ant-design-vue"),P=require("vue-router"),$=require("@since2006/components"),O={class:"ant-pro-table"},j={class:"ant-pro-table-search"},M=["onClick"],z={key:2},A=["onClick"],F=e.defineComponent({__name:"DictIndex",setup(H){const r=e.ref(),v=[{title:"字典名称",dataIndex:"name",scopedSlots:{customRender:"name"}},{title:"字典标识",dataIndex:"keyword"},{title:"备注",dataIndex:"remark"},{title:"操作",width:"150px",dataIndex:"action"}],d=e.reactive({query:void 0}),m=()=>{r.value.refresh()},C=()=>{d.query=void 0,r.value.refresh()},x=P.useRouter(),i=e.ref(!1),o=e.reactive({open:!1,mode:"add",dictId:""}),y=()=>{o.open=!0,o.mode="add",o.dictId=""},V=()=>{i.value=!0,c.refreshDictionaries().then(()=>{i.value=!1,p.message.success("刷新字典成功")})},N=n=>{x.push({path:"/dict/panel",query:{id:n.id}})},h=n=>{o.open=!0,o.mode="edit",o.dictId=n.id},k=n=>{c.removeDictionary(n.id).then(()=>{p.message.success("删除字典成功"),r.value.refresh()})},g=n=>{let t;n==="add"?t="添加字典成功":t="编辑字典成功",o.open=!1,p.message.success(t),r.value.refresh()};return(n,t)=>{const w=e.resolveComponent("a-input"),b=e.resolveComponent("a-form-item"),_=e.resolveComponent("a-col"),l=e.resolveComponent("a-button"),q=e.resolveComponent("a-row"),I=e.resolveComponent("a-form"),E=e.resolveComponent("a-button-group"),D=e.resolveComponent("a-typography-paragraph"),T=e.resolveComponent("a-divider"),S=e.resolveComponent("a-popconfirm");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",O,[e.createElementVNode("div",j,[e.createVNode(I,{layout:"horizontal"},{default:e.withCtx(()=>[e.createVNode(q,{gutter:16,type:"flex",justify:"start"},{default:e.withCtx(()=>[e.createVNode(_,{xs:24,sm:24,md:12,lg:7},{default:e.withCtx(()=>[e.createVNode(b,{label:"搜索"},{default:e.withCtx(()=>[e.createVNode(w,{value:d.query,"onUpdate:value":t[0]||(t[0]=a=>d.query=a),placeholder:"字典名称、字典标识",onPressEnter:m},null,8,["value"])]),_:1})]),_:1}),e.createVNode(_,null,{default:e.withCtx(()=>[e.createVNode(l,{onClick:m,type:"primary"},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode("搜索")])),_:1}),e.createVNode(l,{onClick:C,style:{"margin-left":"16px"}},{default:e.withCtx(()=>t[3]||(t[3]=[e.createTextVNode("重置")])),_:1})]),_:1})]),_:1})]),_:1})]),e.createVNode(e.unref($.FxCardTable),{columns:v,"load-data":e.unref(c.queryDictionaries),params:d,ref_key:"tableRef",ref:r},{title:e.withCtx(()=>[e.createVNode(e.unref(u.HddTwoTone)),t[4]||(t[4]=e.createTextVNode(" 数据字典 "))]),toolbar:e.withCtx(()=>[e.createVNode(E,null,{default:e.withCtx(()=>[e.createVNode(l,{type:"primary",onClick:y},{default:e.withCtx(()=>[e.createVNode(e.unref(u.PlusOutlined)),t[5]||(t[5]=e.createTextVNode(" 添加字典 "))]),_:1}),e.createVNode(l,{onClick:V,loading:i.value},{default:e.withCtx(()=>[e.createVNode(e.unref(u.SyncOutlined)),t[6]||(t[6]=e.createTextVNode(" 刷新字典 "))]),_:1},8,["loading"])]),_:1})]),bodyCell:e.withCtx(({column:a,record:s,text:B})=>[a.dataIndex==="name"?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:f=>N(s)},e.toDisplayString(s.name),9,M)):e.createCommentVNode("",!0),a.dataIndex==="keyword"?(e.openBlock(),e.createBlock(D,{key:1,copyable:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(B),1)]),_:2},1024)):e.createCommentVNode("",!0),a.dataIndex==="action"?(e.openBlock(),e.createElementBlock("span",z,[e.createElementVNode("a",{onClick:f=>h(s)},"编辑",8,A),e.createVNode(T,{type:"vertical"}),e.createVNode(S,{title:"是否确认删除?",onConfirm:f=>k(s)},{default:e.withCtx(()=>t[7]||(t[7]=[e.createElementVNode("a",{href:"#"},"删除",-1)])),_:2},1032,["onConfirm"])])):e.createCommentVNode("",!0)]),_:1},8,["load-data","params"])]),e.createVNode(R.default,{ref:"dictEdit",open:o.open,mode:o.mode,"dict-id":o.dictId,onCancel:t[1]||(t[1]=a=>o.open=!1),onSuccess:g},null,8,["open","mode","dict-id"])])}}});exports.default=F;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./DictPanel.vue2.js");;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-279477c8"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./DictPanel.vue2.js");;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-47d8452e"]]);exports.default=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("@ant-design/icons-vue"),f=require("./api.js"),s=require("ant-design-vue"),C=require("@since2006/components"),S=require("./MetadataCreate.vue.js"),M=require("./MetadataUpdate.vue.js"),R={class:"ant-pro-table"},U={class:"ant-pro-table-search"},B=["onClick"],D=e.defineComponent({__name:"MetadataIndex",setup(P){const o=e.ref(),v=[{title:"对象ID",dataIndex:"objectId"},{title:"对象KEY",dataIndex:"metaKey"},{title:"对象值",dataIndex:"metaValue"},{title:"描述",dataIndex:"remark"},{title:"操作",dataIndex:"action",width:150}],n=e.reactive({query:void 0}),l=()=>{o.value.refresh()},V=()=>{n.query=void 0,l()},x=r=>{f.deleteMetadata(r.id).then(()=>{s.message.success("删除元数据成功"),o.value.refresh()})},c=e.ref(),u=e.ref(),y=()=>{c.value.preCreate()},N=r=>{u.value.preUpdate(r.id)},k=()=>{s.message.success("添加元数据成功"),o.value.refresh()},h=()=>{s.message.success("编辑元数据成功"),o.value.refresh()};return(r,t)=>{const w=e.resolveComponent("a-input"),g=e.resolveComponent("a-form-item"),i=e.resolveComponent("a-col"),d=e.resolveComponent("a-button"),b=e.resolveComponent("a-row"),q=e.resolveComponent("a-form"),I=e.resolveComponent("a-divider"),E=e.resolveComponent("a-popconfirm");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",R,[e.createElementVNode("div",U,[e.createVNode(q,{layout:"horizontal"},{default:e.withCtx(()=>[e.createVNode(b,{gutter:16,type:"flex",justify:"start"},{default:e.withCtx(()=>[e.createVNode(i,{xs:24,sm:24,md:12,lg:7},{default:e.withCtx(()=>[e.createVNode(g,{label:"搜索"},{default:e.withCtx(()=>[e.createVNode(w,{value:n.query,"onUpdate:value":t[0]||(t[0]=a=>n.query=a),placeholder:"对象ID、对象KEY、备注",onPressEnter:l},null,8,["value"])]),_:1})]),_:1}),e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(d,{onClick:l,type:"primary"},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("搜索")])),_:1}),e.createVNode(d,{onClick:V,style:{"margin-left":"16px"}},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode("重置")])),_:1})]),_:1})]),_:1})]),_:1})]),e.createVNode(e.unref(C.FxCardTable),{columns:v,"load-data":e.unref(f.queryMetadatas),params:n,ref_key:"tableRef",ref:o},{title:e.withCtx(()=>[e.createVNode(e.unref(_.ProfileTwoTone)),t[3]||(t[3]=e.createTextVNode(" 元数据配置"))]),toolbar:e.withCtx(()=>[e.createVNode(d,{type:"primary",onClick:y},{default:e.withCtx(()=>[e.createVNode(e.unref(_.PlusOutlined)),t[4]||(t[4]=e.createTextVNode(" 新建 "))]),_:1})]),bodyCell:e.withCtx(({column:a,record:m,text:p})=>[a.dataIndex==="metaKey"||a.dataIndex==="metaValue"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(p)+" ",1),e.createVNode(e.unref(C.ClickCopy),{value:p},null,8,["value"])],64)):e.createCommentVNode("",!0),a.dataIndex==="action"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{onClick:T=>N(m)},"编辑",8,B),e.createVNode(I,{type:"vertical"}),e.createVNode(E,{title:"确定要删除吗?",onConfirm:T=>x(m)},{default:e.withCtx(()=>t[5]||(t[5]=[e.createElementVNode("a",null,"删除",-1)])),_:2},1032,["onConfirm"])],64)):e.createCommentVNode("",!0)]),_:1},8,["load-data","params"])]),e.createVNode(S.default,{ref_key:"modalCreateRef",ref:c,onSuccess:k},null,512),e.createVNode(M.default,{ref_key:"modalUpdateRef",ref:u,onSuccess:h},null,512)])}}});exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("@ant-design/icons-vue"),_=require("./api.js"),d=require("ant-design-vue"),S=require("@since2006/components"),M=require("./MetadataCreate.vue.js"),R=require("./MetadataUpdate.vue.js"),U={class:"ant-pro-table"},B={class:"ant-pro-table-search"},D=["onClick"],P=e.defineComponent({__name:"MetadataIndex",setup(K){const o=e.ref(),f=[{title:"对象ID",dataIndex:"objectId"},{title:"对象KEY",dataIndex:"metaKey"},{title:"对象值",dataIndex:"metaValue"},{title:"描述",dataIndex:"remark"},{title:"操作",dataIndex:"action",width:150}],n=e.reactive({query:void 0}),l=()=>{o.value.refresh()},C=()=>{n.query=void 0,l()},v=r=>{_.deleteMetadata(r.id).then(()=>{d.message.success("删除元数据成功"),o.value.refresh()})},c=e.ref(),u=e.ref(),x=()=>{c.value.preCreate()},y=r=>{u.value.preUpdate(r.id)},V=()=>{d.message.success("添加元数据成功"),o.value.refresh()},N=()=>{d.message.success("编辑元数据成功"),o.value.refresh()};return(r,t)=>{const h=e.resolveComponent("a-input"),g=e.resolveComponent("a-form-item"),i=e.resolveComponent("a-col"),s=e.resolveComponent("a-button"),k=e.resolveComponent("a-row"),w=e.resolveComponent("a-form"),b=e.resolveComponent("a-typography-paragraph"),q=e.resolveComponent("a-divider"),I=e.resolveComponent("a-popconfirm");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",U,[e.createElementVNode("div",B,[e.createVNode(w,{layout:"horizontal"},{default:e.withCtx(()=>[e.createVNode(k,{gutter:16,type:"flex",justify:"start"},{default:e.withCtx(()=>[e.createVNode(i,{xs:24,sm:24,md:12,lg:7},{default:e.withCtx(()=>[e.createVNode(g,{label:"搜索"},{default:e.withCtx(()=>[e.createVNode(h,{value:n.query,"onUpdate:value":t[0]||(t[0]=a=>n.query=a),placeholder:"对象ID、对象KEY、备注",onPressEnter:l},null,8,["value"])]),_:1})]),_:1}),e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(s,{onClick:l,type:"primary"},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("搜索")])),_:1}),e.createVNode(s,{onClick:C,style:{"margin-left":"16px"}},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode("重置")])),_:1})]),_:1})]),_:1})]),_:1})]),e.createVNode(e.unref(S.FxCardTable),{columns:f,"load-data":e.unref(_.queryMetadatas),params:n,ref_key:"tableRef",ref:o},{title:e.withCtx(()=>[e.createVNode(e.unref(m.ProfileTwoTone)),t[3]||(t[3]=e.createTextVNode(" 元数据配置"))]),toolbar:e.withCtx(()=>[e.createVNode(s,{type:"primary",onClick:x},{default:e.withCtx(()=>[e.createVNode(e.unref(m.PlusOutlined)),t[4]||(t[4]=e.createTextVNode(" 新建 "))]),_:1})]),bodyCell:e.withCtx(({column:a,record:p,text:E})=>[a.dataIndex==="metaKey"||a.dataIndex==="metaValue"?(e.openBlock(),e.createBlock(b,{key:0,copyable:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(E),1)]),_:2},1024)):e.createCommentVNode("",!0),a.dataIndex==="action"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{onClick:T=>y(p)},"编辑",8,D),e.createVNode(q,{type:"vertical"}),e.createVNode(I,{title:"确定要删除吗?",onConfirm:T=>v(p)},{default:e.withCtx(()=>t[5]||(t[5]=[e.createElementVNode("a",null,"删除",-1)])),_:2},1032,["onConfirm"])],64)):e.createCommentVNode("",!0)]),_:1},8,["load-data","params"])]),e.createVNode(M.default,{ref_key:"modalCreateRef",ref:c,onSuccess:V},null,512),e.createVNode(R.default,{ref_key:"modalUpdateRef",ref:u,onSuccess:N},null,512)])}}});exports.default=P;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("@since2006/components"),u={style:{color:"#a6a6a6","margin-left":"4px"}},i=e.defineComponent({__name:"ModuleDetail",props:{module:{}},setup(c){return(t,l)=>{const o=e.resolveComponent("a-descriptions-item"),a=e.resolveComponent("a-tag"),d=e.resolveComponent("a-descriptions");return e.openBlock(),e.createBlock(d,{bordered:"",column:1,labelStyle:{width:"140px",textAlign:"center"}},{default:e.withCtx(()=>[e.createVNode(o,{label:"模块名称"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.name),1)]),_:1}),e.createVNode(o,{label:"文档类别"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=t.module.cate)==null?void 0:r.name),1)]}),_:1}),e.createVNode(o,{label:"模块图标"},{default:e.withCtx(()=>[t.module.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.module.icon),{key:0,style:{"font-size":"16px"}})):e.createCommentVNode("",!0),e.createElementVNode("span",u,e.toDisplayString(t.module.icon),1)]),_:1}),e.createVNode(o,{label:"访问路径"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.path)+" ",1),t.module.path?(e.openBlock(),e.createBlock(e.unref(n.ClickCopy),{key:0,value:t.module.path},null,8,["value"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(o,{label:"模板文件"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.component)+" ",1),t.module.component?(e.openBlock(),e.createBlock(e.unref(n.ClickCopy),{key:0,value:t.module.component},null,8,["value"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(o,{label:"打开方式"},{default:e.withCtx(()=>[t.module.target!=null?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.module.target===1?(e.openBlock(),e.createBlock(a,{key:0,color:"red"},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode("新开窗口")])),_:1})):(e.openBlock(),e.createBlock(a,{key:1},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("默认")])),_:1}))],64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(o,{label:"排序"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.seqNo),1)]),_:1}),e.createVNode(o,{label:"是否显示"},{default:e.withCtx(()=>[t.module.state?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.module.state==="1"?(e.openBlock(),e.createBlock(a,{key:0,color:"green"},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode("显示")])),_:1})):(e.openBlock(),e.createBlock(a,{key:1,color:"red"},{default:e.withCtx(()=>l[3]||(l[3]=[e.createTextVNode("隐藏")])),_:1}))],64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(o,{label:"访问权限"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.permsSummary),1)]),_:1}),e.createVNode(o,{label:"描述"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.remark),1)]),_:1})]),_:1})}}});exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i={style:{color:"#a6a6a6","margin-left":"4px"}},c=e.defineComponent({__name:"ModuleDetail",props:{module:{}},setup(p){return(t,a)=>{const o=e.resolveComponent("a-descriptions-item"),r=e.resolveComponent("a-typography-paragraph"),l=e.resolveComponent("a-tag"),d=e.resolveComponent("a-descriptions");return e.openBlock(),e.createBlock(d,{bordered:"",column:1,labelStyle:{width:"140px",textAlign:"center"}},{default:e.withCtx(()=>[e.createVNode(o,{label:"模块名称"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.name),1)]),_:1}),e.createVNode(o,{label:"文档类别"},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString((n=t.module.cate)==null?void 0:n.name),1)]}),_:1}),e.createVNode(o,{label:"模块图标"},{default:e.withCtx(()=>[t.module.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.module.icon),{key:0,style:{"font-size":"16px"}})):e.createCommentVNode("",!0),e.createElementVNode("span",i,e.toDisplayString(t.module.icon),1)]),_:1}),e.createVNode(o,{label:"访问路径"},{default:e.withCtx(()=>[e.createVNode(r,{copyable:!!t.module.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.path),1)]),_:1},8,["copyable"])]),_:1}),e.createVNode(o,{label:"模板文件"},{default:e.withCtx(()=>[e.createVNode(r,{copyable:!!t.module.component},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.component),1)]),_:1},8,["copyable"])]),_:1}),e.createVNode(o,{label:"打开方式"},{default:e.withCtx(()=>[t.module.target!=null?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.module.target===1?(e.openBlock(),e.createBlock(l,{key:0,color:"red"},{default:e.withCtx(()=>a[0]||(a[0]=[e.createTextVNode("新开窗口")])),_:1})):(e.openBlock(),e.createBlock(l,{key:1},{default:e.withCtx(()=>a[1]||(a[1]=[e.createTextVNode("默认")])),_:1}))],64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(o,{label:"排序"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.seqNo),1)]),_:1}),e.createVNode(o,{label:"是否显示"},{default:e.withCtx(()=>[t.module.state?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.module.state==="1"?(e.openBlock(),e.createBlock(l,{key:0,color:"green"},{default:e.withCtx(()=>a[2]||(a[2]=[e.createTextVNode("显示")])),_:1})):(e.openBlock(),e.createBlock(l,{key:1,color:"red"},{default:e.withCtx(()=>a[3]||(a[3]=[e.createTextVNode("隐藏")])),_:1}))],64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(o,{label:"访问权限"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.permsSummary),1)]),_:1}),e.createVNode(o,{label:"描述"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.module.remark),1)]),_:1})]),_:1})}}});exports.default=c;
@@ -1 +1 @@
1
- .large-text[data-v-92532804]{font-size:16px}.float-right[data-v-92532804]{float:right}.margin-block[data-v-92532804]{margin-top:14px}.icon-selector deep(ul) li.active[data-v-33554e43],.icon-selector deep(ul) li[data-v-33554e43]: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-33554e43]{font-size:1.5rem;border:1px solid #f1f1f1;padding:.02rem;margin:.03rem;cursor:pointer}.ant-form[data-v-cd92ee31]{padding-top:20px}.permission-tree[data-v-cd92ee31],.permission-tree[data-v-266daf0e]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-ae963ea6] .ant-pro-table-list-toolbar-container{padding-left:6px}.cron-detail[data-v-f256dc3c]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-f256dc3c]{width:70px}.cron-detail .ant-input[data-v-f256dc3c]{width:280px}.cron-detail[data-v-50931e68]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-50931e68]{width:70px}.cron-detail .ant-input[data-v-50931e68]{width:280px}[data-v-de0bbc9f] .ant-descriptions-item-label,[data-v-cec99bb6] .ant-descriptions-item-label{width:140px}.ua-icon[data-v-8b2a1553]{width:1.2em;height:1.2em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.notice[data-v-112d54e0]{color:#ff4d4f;font-size:18px}.table-operator[data-v-279477c8]{margin:10px 14px 20px 0}[data-v-279477c8] .ant-descriptions-item-label{width:140px}.tree-container[data-v-279477c8] .ant-tree{max-height:540px;overflow:auto}
1
+ .large-text[data-v-92532804]{font-size:16px}.float-right[data-v-92532804]{float:right}.margin-block[data-v-92532804]{margin-top:14px}.icon-selector deep(ul) li.active[data-v-33554e43],.icon-selector deep(ul) li[data-v-33554e43]: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-33554e43]{font-size:1.5rem;border:1px solid #f1f1f1;padding:.02rem;margin:.03rem;cursor:pointer}.ant-form[data-v-cd92ee31]{padding-top:20px}.permission-tree[data-v-cd92ee31],.permission-tree[data-v-266daf0e]{overflow-y:auto;overflow-x:hidden;margin-top:10px}[data-v-ae963ea6] .ant-pro-table-list-toolbar-container{padding-left:6px}.cron-detail[data-v-f256dc3c]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-f256dc3c]{width:70px}.cron-detail .ant-input[data-v-f256dc3c]{width:280px}.cron-detail[data-v-50931e68]{border:1px dashed #a6a6a6;padding:6px;line-height:1.5;margin:4px 0}.cron-detail .ant-input-number[data-v-50931e68]{width:70px}.cron-detail .ant-input[data-v-50931e68]{width:280px}[data-v-de0bbc9f] .ant-descriptions-item-label,[data-v-cec99bb6] .ant-descriptions-item-label{width:140px}.ua-icon[data-v-8b2a1553]{width:1.2em;height:1.2em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.notice[data-v-112d54e0]{color:#ff4d4f;font-size:18px}.table-operator[data-v-47d8452e]{margin:10px 14px 20px 0}[data-v-47d8452e] .ant-descriptions-item-label{width:140px}.tree-container[data-v-47d8452e] .ant-tree{max-height:520px;overflow:auto}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@since2006/pages",
3
3
  "private": false,
4
- "version": "2025.8.5",
4
+ "version": "2025.8.6",
5
5
  "description": "基于 Ant Design Vue 的页面库",
6
6
  "type": "module",
7
7
  "main": "dist/lib/index.js",