yh-report 2.4.60 → 2.4.61

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,24 +1,28 @@
1
- import { defineComponent as o, ref as a, onActivated as i, onDeactivated as s, onMounted as c, openBlock as r, createElementBlock as m, createVNode as d } from "vue";
1
+ import { defineComponent as o, ref as a, onActivated as i, onDeactivated as r, onMounted as m, openBlock as s, createElementBlock as c, createVNode as d } from "vue";
2
2
  import { useRoute as l } from "vue-router";
3
- import { z as u } from "./index-xhUDg-oP.mjs";
4
- const _ = { class: "statement-detail-container" }, h = /* @__PURE__ */ o({
3
+ import { x as u } from "./index-e45344ce.mjs";
4
+ import "element-plus";
5
+ import "@/libs/api.request.js";
6
+ import "lodash-es";
7
+ import "echarts";
8
+ const p = { class: "statement-detail-container" }, y = /* @__PURE__ */ o({
5
9
  __name: "StatementDetail",
6
- setup(p) {
10
+ setup(_) {
7
11
  const n = l(), t = a();
8
12
  return i(() => {
9
13
  var e;
10
14
  (e = document.querySelector(".main-container")) == null || e.classList.add("statement-design-main");
11
- }), s(() => {
15
+ }), r(() => {
12
16
  var e;
13
17
  (e = document.querySelector(".main-container")) == null || e.classList.remove("statement-design-main");
14
- }), c(() => {
18
+ }), m(() => {
15
19
  t.value = n.params.id;
16
- }), (e, f) => (r(), m("section", _, [
20
+ }), (e, f) => (s(), c("section", p, [
17
21
  d(u, { id: t.value }, null, 8, ["id"])
18
22
  ]));
19
23
  }
20
24
  });
21
25
  export {
22
- h as default
26
+ y as default
23
27
  };
24
- //# sourceMappingURL=StatementDetail-Bx4ltFnR.mjs.map
28
+ //# sourceMappingURL=StatementDetail-8c48dce6.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatementDetail-Bx4ltFnR.mjs","sources":["../StatementDetail.vue"],"sourcesContent":["<template>\n <section class=\"statement-detail-container\">\n <report-run :id=\"id\"></report-run>\n </section>\n</template>\n<script setup lang=\"ts\">\nimport {ref, onMounted, onActivated, onDeactivated} from 'vue';\nimport {useRoute} from 'vue-router';\nimport reportRun from './component/reportRun.vue';\nconst route = useRoute();\nconst id = ref();\n\nonActivated(() => {\n document.querySelector('.main-container')?.classList.add('statement-design-main');\n});\n\nonDeactivated(() => {\n document.querySelector('.main-container')?.classList.remove('statement-design-main');\n});\n\nonMounted(() => {\n id.value = route.params.id;\n});\n</script>\n"],"names":["route","useRoute","id","ref","onActivated","_a","onDeactivated","onMounted","_openBlock","_createElementBlock","_hoisted_1","_createVNode","reportRun"],"mappings":";;;;;;AASA,UAAMA,IAAQC,EAAA,GACRC,IAAKC,EAAA;AAEX,WAAAC,EAAY,MAAM;;AAChB,OAAAC,IAAA,SAAS,cAAc,iBAAiB,MAAxC,QAAAA,EAA2C,UAAU,IAAI;AAAA,IAC3D,CAAC,GAEDC,EAAc,MAAM;;AAClB,OAAAD,IAAA,SAAS,cAAc,iBAAiB,MAAxC,QAAAA,EAA2C,UAAU,OAAO;AAAA,IAC9D,CAAC,GAEDE,EAAU,MAAM;AACd,MAAAL,EAAG,QAAQF,EAAM,OAAO;AAAA,IAC1B,CAAC,cArBCQ,EAAA,GAAAC,EAEU,WAFVC,GAEU;AAAA,MADRC,EAAkCC,GAAA,EAArB,IAAIV,EAAA,MAAA,GAAE,MAAA,GAAA,CAAA,IAAA,CAAA;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"StatementDetail-8c48dce6.mjs","sources":["../StatementDetail.vue"],"sourcesContent":["<template>\n <section class=\"statement-detail-container\">\n <report-run :id=\"id\"></report-run>\n </section>\n</template>\n<script setup lang=\"ts\">\nimport {ref, onMounted, onActivated, onDeactivated} from 'vue';\nimport {useRoute} from 'vue-router';\nimport reportRun from './component/reportRun.vue';\nconst route = useRoute();\nconst id = ref();\n\nonActivated(() => {\n document.querySelector('.main-container')?.classList.add('statement-design-main');\n});\n\nonDeactivated(() => {\n document.querySelector('.main-container')?.classList.remove('statement-design-main');\n});\n\nonMounted(() => {\n id.value = route.params.id;\n});\n</script>\n"],"names":["route","useRoute","id","ref","onActivated","_a","onDeactivated","onMounted"],"mappings":";;;;;;;;;;AASA,UAAMA,IAAQC,KACRC,IAAKC;AAEX,WAAAC,EAAY,MAAM;;AAChB,OAAAC,IAAA,SAAS,cAAc,iBAAiB,MAAxC,QAAAA,EAA2C,UAAU,IAAI;AAAA,IAAuB,CACjF,GAEDC,EAAc,MAAM;;AAClB,OAAAD,IAAA,SAAS,cAAc,iBAAiB,MAAxC,QAAAA,EAA2C,UAAU,OAAO;AAAA,IAAuB,CACpF,GAEDE,EAAU,MAAM;AACX,MAAAL,EAAA,QAAQF,EAAM,OAAO;AAAA,IAAA,CACzB;;;;;"}
@@ -1,62 +1,66 @@
1
- import { defineComponent as G, reactive as L, ref as D, onMounted as Q, watch as R, openBlock as W, createElementBlock as X, createElementVNode as y, createTextVNode as u, toDisplayString as c, unref as e, createVNode as n, withCtx as i, withKeys as Z } from "vue";
1
+ import { defineComponent as G, reactive as B, ref as N, onMounted as Q, watch as L, openBlock as W, createElementBlock as X, createElementVNode as y, createTextVNode as c, toDisplayString as u, unref as e, createVNode as n, withCtx as i, withKeys as Z } from "vue";
2
2
  import { useRouter as ee } from "vue-router";
3
- import { r as a, g as te, s as U, d as oe, a as le } from "./index-xhUDg-oP.mjs";
4
- import { ElButton as m, ElFormItem as w, ElInput as $, ElTable as ne, ElTableColumn as C, ElPagination as ae, ElDialog as ie, ElForm as re, ElMessage as b, ElLoading as se, ElMessageBox as j } from "element-plus";
5
- import { l as de, u as ue } from "./editorLock-DdAYyg2u.mjs";
6
- function ce(h) {
3
+ import { r as a, g as te, s as D, d as oe, a as le } from "./index-e45344ce.mjs";
4
+ import { ElButton as m, ElFormItem as _, ElInput as x, ElTable as ne, ElTableColumn as h, ElPagination as ae, ElDialog as ie, ElForm as re, ElMessage as b, ElLoading as se, ElMessageBox as U } from "element-plus";
5
+ import { l as de, u as ce } from "./editorLock-61ebf836.mjs";
6
+ import "@/libs/api.request.js";
7
+ import "lodash-es";
8
+ import "echarts";
9
+ function ue(w) {
7
10
  if (navigator.clipboard && window.isSecureContext)
8
- return navigator.clipboard.writeText(h), Promise.resolve();
11
+ return navigator.clipboard.writeText(w), Promise.resolve();
9
12
  {
10
13
  let f = document.createElement("textarea");
11
- f.value = h, f.style.position = "absolute", f.style.opacity = "0", f.style.left = "-200%", f.style.top = "-200%", document.body.appendChild(f), f.focus(), f.select();
14
+ f.value = w, f.style.position = "absolute", f.style.opacity = "0", f.style.left = "-200%", f.style.top = "-200%", document.body.appendChild(f), f.focus(), f.select();
12
15
  let r = document.execCommand("copy");
13
16
  return f.remove(), r ? Promise.resolve() : Promise.reject(new Error("copy error"));
14
17
  }
15
18
  }
16
- const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe = { class: "el-button is-text import-excel-button" }, ye = { class: "form-context" }, ge = { class: "dialog-footer" }, we = /* @__PURE__ */ G({
19
+ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe = { class: "el-button is-text import-excel-button" }, ye = { class: "form-context" }, ge = /* @__PURE__ */ y("i", { class: "yhreport-icon report-sheji" }, null, -1), ke = /* @__PURE__ */ y("i", { class: "yhreport-icon report-preview" }, null, -1), be = /* @__PURE__ */ y("i", { class: "yhreport-icon report-bianji" }, null, -1), ve = /* @__PURE__ */ y("i", { class: "yhreport-icon report-fuzhi" }, null, -1), he = /* @__PURE__ */ y("i", { class: "yhreport-icon report-shanchusekuai" }, null, -1), Ce = { class: "dialog-footer" }, De = /* @__PURE__ */ G({
17
20
  __name: "StatementList",
18
- setup(h) {
19
- const f = ee(), r = L({
21
+ setup(w) {
22
+ const f = ee(), r = B({
20
23
  key: "",
21
24
  pageSize: 10,
22
25
  pageNumber: 1,
23
26
  total: 0
24
- }), z = D([]);
25
- async function g(l = !1) {
26
- l && (r.pageNumber = 1, r.total = 0);
27
- const t = await te({
27
+ }), j = N([]);
28
+ async function g(o = !1) {
29
+ o && (r.pageNumber = 1, r.total = 0);
30
+ const l = await te({
28
31
  key: r.key,
29
32
  pageSize: r.pageSize,
30
33
  pageNumber: r.pageNumber
31
34
  });
32
- z.value = t.data.list, r.total = t.data.total;
35
+ j.value = l.data.list, r.total = l.data.total;
33
36
  }
34
- function V(l, t) {
35
- let o = "", s = "链接";
36
- switch (t) {
37
+ function $(o, l) {
38
+ let t = "", s = "链接";
39
+ switch (l) {
37
40
  case "admin":
38
- o = `/admin/statement/detail/${l.id}`, s = "后台链接";
41
+ t = `/admin/statement/detail/${o.id}`, s = "后台链接";
39
42
  break;
40
43
  case "inner":
41
- o = `innerStatementdetail/${l.id}`, s = "菜单链接";
44
+ t = `innerStatementdetail/${o.id}`, s = "菜单链接";
42
45
  break;
43
46
  default:
44
- o = `${window.location.origin}${window.location.pathname}#/statementdetail/${l.id}`, s = "外部链接";
47
+ t = `${window.location.origin}${window.location.pathname}#/statementdetail/${o.id}`, s = "外部链接";
45
48
  }
46
- ce(o).then(() => {
49
+ ue(t).then(() => {
47
50
  b.success(s + "复制成功");
48
51
  }).catch(() => {
49
52
  b.error(s + "复制遇到问题");
50
53
  });
51
54
  }
52
- const E = D([]), F = (l) => {
53
- E.value = l;
54
- }, _ = async (l) => {
55
- const t = l.target.files[0];
56
- if (!t) return;
57
- const o = new FileReader();
58
- o.onload = async (s) => {
59
- l.target.value = "";
55
+ const S = N([]), R = (o) => {
56
+ S.value = o;
57
+ }, F = async (o) => {
58
+ const l = o.target.files[0];
59
+ if (!l)
60
+ return;
61
+ const t = new FileReader();
62
+ t.onload = async (s) => {
63
+ o.target.value = "";
60
64
  try {
61
65
  if (s.target) {
62
66
  const k = JSON.parse(s.target.result);
@@ -67,8 +71,8 @@ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe
67
71
  });
68
72
  for (let v = 0; v < k.length; v++) {
69
73
  p.setText(`正在保存第 ${v + 1} 个,共 ${k.length} 个,请稍候...`);
70
- const N = k[v];
71
- await U(N);
74
+ const E = k[v];
75
+ await D(E);
72
76
  }
73
77
  p.close(), g(!0);
74
78
  } else
@@ -77,105 +81,105 @@ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe
77
81
  } catch {
78
82
  b.error("文件解析失败,请检查文件是否为有效的 JSON 格式!");
79
83
  }
80
- }, o.readAsText(t);
84
+ }, t.readAsText(l);
81
85
  }, O = () => {
82
- if (E.value.length > 0) {
83
- const l = JSON.stringify(
84
- E.value.map(({ code: v, config: N, description: K, name: I }) => ({
86
+ if (S.value.length > 0) {
87
+ const o = JSON.stringify(
88
+ S.value.map(({ code: v, config: E, description: J, name: I }) => ({
85
89
  code: v,
86
- config: N,
87
- description: K,
90
+ config: E,
91
+ description: J,
88
92
  name: I
89
93
  })),
90
94
  null,
91
95
  2
92
- ), t = new Blob([l], { type: "application/json" }), o = URL.createObjectURL(t), k = `报表导出-${oe().format("YYYYMMDDHHmm")}.json`, p = document.createElement("a");
93
- p.href = o, p.download = k, document.body.appendChild(p), p.click(), document.body.removeChild(p), URL.revokeObjectURL(o);
96
+ ), l = new Blob([o], { type: "application/json" }), t = URL.createObjectURL(l), k = `报表导出-${oe().format("YYYYMMDDHHmm")}.json`, p = document.createElement("a");
97
+ p.href = t, p.download = k, document.body.appendChild(p), p.click(), document.body.removeChild(p), URL.revokeObjectURL(t);
94
98
  } else
95
99
  b.warning("请选择要操作的报表!");
96
- }, T = async (l) => {
97
- await de(l.id) === "OK" ? f.push(`/admin/statement/design/${l.id}`) : await j.alert("报表正在被其他用户锁定,是否强制解锁?", "提示", {
100
+ }, z = async (o) => {
101
+ await de(o.id) === "OK" ? f.push(`/admin/statement/design/${o.id}`) : await U.alert("报表正在被其他用户锁定,是否强制解锁?", "提示", {
98
102
  confirmButtonText: "解锁",
99
103
  cancelButtonText: "取消"
100
- }) === "confirm" && (await ue(l.id) ? T(l) : b.error("解锁失败,请稍后再试!"));
101
- }, P = (l) => {
102
- f.push(`/admin/statement/detail/${l.id}`);
104
+ }) === "confirm" && (await ce(o.id) ? z(o) : b.error("解锁失败,请稍后再试!"));
105
+ }, P = (o) => {
106
+ f.push(`/admin/statement/detail/${o.id}`);
103
107
  };
104
108
  Q(() => {
105
109
  g(!0);
106
110
  });
107
- const x = D(!1), d = L({
111
+ const C = N(!1), d = B({
108
112
  id: void 0,
109
113
  name: "",
110
114
  code: "",
111
115
  description: ""
112
116
  }), A = () => {
113
- x.value = !0;
114
- }, M = (l) => {
115
- x.value = !0, d.id = l.id, d.name = l.name, d.code = l.code, d.description = l.description;
116
- }, Y = (l) => {
117
- j.confirm("当前操作会复制选定的报表,确认继续吗?", "提醒", {
117
+ C.value = !0;
118
+ }, M = (o) => {
119
+ C.value = !0, d.id = o.id, d.name = o.name, d.code = o.code, d.description = o.description;
120
+ }, K = (o) => {
121
+ U.confirm("当前操作会复制选定的报表,确认继续吗?", "提醒", {
118
122
  confirmButtonText: "复制",
119
123
  cancelButtonText: "取消",
120
124
  type: "warning"
121
125
  }).then(() => {
122
- let t = {
123
- name: `${l.name}-copy`,
124
- code: `${l.code}-copy`,
125
- description: `${l.description}-copy`,
126
- chartConfig: l.chartConfig,
127
- config: l.config,
128
- listData: l.listData
126
+ let l = {
127
+ name: `${o.name}-copy`,
128
+ code: `${o.code}-copy`,
129
+ description: `${o.description}-copy`,
130
+ chartConfig: o.chartConfig,
131
+ config: o.config,
132
+ listData: o.listData
129
133
  };
130
- U(t).then(() => {
134
+ D(l).then(() => {
131
135
  b.success("复制成功"), g(!0);
132
136
  }).catch(() => {
133
137
  b.error("复制失败");
134
138
  });
135
139
  });
136
- }, q = (l) => {
137
- j.confirm("当前操作会删除选定的报表,确认继续吗?", "警告", {
140
+ }, Y = (o) => {
141
+ U.confirm("当前操作会删除选定的报表,确认继续吗?", "警告", {
138
142
  confirmButtonText: "删除",
139
143
  cancelButtonText: "取消",
140
144
  type: "warning"
141
145
  }).then(async () => {
142
- (await le(l.id)).data && g(!0);
146
+ (await le(o.id)).data && g(!0);
143
147
  });
144
- }, S = () => {
145
- x.value = !1, d.id = void 0, d.name = "", d.code = "", d.description = "";
146
- }, H = async () => {
147
- await U(d), g(!0), S();
148
- }, B = (l) => {
149
- l && (l.preventDefault(), l.stopPropagation()), g(!1);
150
- }, J = () => {
148
+ }, V = () => {
149
+ C.value = !1, d.id = void 0, d.name = "", d.code = "", d.description = "";
150
+ }, q = async () => {
151
+ await D(d), g(!0), V();
152
+ }, T = (o) => {
153
+ o && (o.preventDefault(), o.stopPropagation()), g(!1);
154
+ }, H = () => {
151
155
  r.key = "", g(!0);
152
156
  };
153
- return R(
157
+ return L(
154
158
  () => r.pageNumber,
155
159
  () => {
156
160
  g();
157
161
  }
158
- ), R(
162
+ ), L(
159
163
  () => r.pageSize,
160
164
  () => {
161
165
  g();
162
166
  }
163
- ), (l, t) => (W(), X("section", pe, [
167
+ ), (o, l) => (W(), X("section", pe, [
164
168
  y("div", me, [
165
169
  y("div", fe, [
166
170
  y("input", {
167
171
  class: "import-excel-input",
168
172
  type: "file",
169
- onChange: t[0] || (t[0] = (o) => _(o))
173
+ onChange: l[0] || (l[0] = (t) => F(t))
170
174
  }, null, 32),
171
- u(" " + c(e(a)("导入")), 1)
175
+ c(" " + u(e(a)("导入")), 1)
172
176
  ]),
173
177
  n(e(m), {
174
178
  text: "",
175
179
  onClick: O
176
180
  }, {
177
181
  default: i(() => [
178
- u(c(e(a)("导出")), 1)
182
+ c(u(e(a)("导出")), 1)
179
183
  ]),
180
184
  _: 1
181
185
  }),
@@ -184,165 +188,165 @@ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe
184
188
  onClick: A
185
189
  }, {
186
190
  default: i(() => [
187
- u(c(e(a)("新增")), 1)
191
+ c(u(e(a)("新增")), 1)
188
192
  ]),
189
193
  _: 1
190
194
  }),
191
195
  y("div", ye, [
192
- n(e(w), {
196
+ n(e(_), {
193
197
  label: e(a)("报表名称")
194
198
  }, {
195
199
  default: i(() => [
196
- n(e($), {
200
+ n(e(x), {
197
201
  modelValue: r.key,
198
- "onUpdate:modelValue": t[1] || (t[1] = (o) => r.key = o),
199
- onKeyup: Z(B, ["enter"]),
202
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => r.key = t),
203
+ onKeyup: Z(T, ["enter"]),
200
204
  placeholder: e(a)("键入关键字搜索报表")
201
- }, null, 8, ["modelValue", "placeholder"])
205
+ }, null, 8, ["modelValue", "onKeyup", "placeholder"])
202
206
  ]),
203
207
  _: 1
204
208
  }, 8, ["label"])
205
209
  ]),
206
210
  n(e(m), {
207
211
  type: "primary",
208
- onClick: t[2] || (t[2] = (o) => B())
212
+ onClick: l[2] || (l[2] = (t) => T())
209
213
  }, {
210
214
  default: i(() => [
211
- u(c(e(a)("搜索")), 1)
215
+ c(u(e(a)("搜索")), 1)
212
216
  ]),
213
217
  _: 1
214
218
  }),
215
219
  n(e(m), {
216
- onClick: t[3] || (t[3] = (o) => J())
220
+ onClick: l[3] || (l[3] = (t) => H())
217
221
  }, {
218
222
  default: i(() => [
219
- u(c(e(a)("重置")), 1)
223
+ c(u(e(a)("重置")), 1)
220
224
  ]),
221
225
  _: 1
222
226
  })
223
227
  ]),
224
228
  n(e(ne), {
225
- data: z.value,
229
+ data: j.value,
226
230
  "row-key": "id",
227
- onSelectionChange: F
231
+ onSelectionChange: R
228
232
  }, {
229
233
  default: i(() => [
230
- n(e(C), {
234
+ n(e(h), {
231
235
  type: "selection",
232
236
  width: "50"
233
237
  }),
234
- n(e(C), {
238
+ n(e(h), {
235
239
  label: "#",
236
240
  type: "index",
237
241
  width: "66",
238
242
  left: ""
239
243
  }),
240
- n(e(C), {
244
+ n(e(h), {
241
245
  label: e(a)("报表代码"),
242
246
  "min-width": "100",
243
247
  prop: "code"
244
248
  }, null, 8, ["label"]),
245
- n(e(C), {
249
+ n(e(h), {
246
250
  label: e(a)("报表名称"),
247
251
  "min-width": "100",
248
252
  prop: "name"
249
253
  }, null, 8, ["label"]),
250
- n(e(C), {
254
+ n(e(h), {
251
255
  label: e(a)("描述"),
252
256
  "min-width": "200",
253
257
  prop: "description"
254
258
  }, null, 8, ["label"]),
255
- n(e(C), {
259
+ n(e(h), {
256
260
  label: e(a)("操作"),
257
261
  width: "490",
258
262
  fixed: "right"
259
263
  }, {
260
- default: i((o) => [
264
+ default: i((t) => [
261
265
  n(e(m), {
262
266
  link: "",
263
267
  title: e(a)("本系统前台菜单地址"),
264
- onClick: (s) => V(o.row, "inner")
268
+ onClick: (s) => $(t.row, "inner")
265
269
  }, {
266
270
  default: i(() => [
267
- u(c(e(a)("菜单")), 1)
271
+ c(u(e(a)("菜单")), 1)
268
272
  ]),
269
- _: 1
270
- }, 8, ["title", "onClick"]),
273
+ _: 2
274
+ }, 1032, ["title", "onClick"]),
271
275
  n(e(m), {
272
276
  link: "",
273
277
  title: e(a)("后台测试"),
274
- onClick: (s) => V(o.row, "admin")
278
+ onClick: (s) => $(t.row, "admin")
275
279
  }, {
276
280
  default: i(() => [
277
- u(c(e(a)("后台")), 1)
281
+ c(u(e(a)("后台")), 1)
278
282
  ]),
279
- _: 1
280
- }, 8, ["title", "onClick"]),
283
+ _: 2
284
+ }, 1032, ["title", "onClick"]),
281
285
  n(e(m), {
282
286
  link: "",
283
287
  title: e(a)("其他系统嵌入地址"),
284
- onClick: (s) => V(o.row, "outside")
288
+ onClick: (s) => $(t.row, "outside")
285
289
  }, {
286
290
  default: i(() => [
287
- u(c(e(a)("外嵌")), 1)
291
+ c(u(e(a)("外嵌")), 1)
288
292
  ]),
289
- _: 1
290
- }, 8, ["title", "onClick"]),
293
+ _: 2
294
+ }, 1032, ["title", "onClick"]),
291
295
  n(e(m), {
292
296
  type: "primary",
293
297
  link: "",
294
- onClick: (s) => T(o.row)
298
+ onClick: (s) => z(t.row)
295
299
  }, {
296
300
  default: i(() => [
297
- t[11] || (t[11] = y("i", { class: "yhreport-icon report-sheji" }, null, -1)),
298
- u(" " + c(e(a)("设计")), 1)
301
+ ge,
302
+ c(" " + u(e(a)("设计")), 1)
299
303
  ]),
300
- _: 1
301
- }, 8, ["onClick"]),
304
+ _: 2
305
+ }, 1032, ["onClick"]),
302
306
  n(e(m), {
303
307
  type: "primary",
304
308
  link: "",
305
- onClick: (s) => P(o.row)
309
+ onClick: (s) => P(t.row)
306
310
  }, {
307
311
  default: i(() => [
308
- t[12] || (t[12] = y("i", { class: "yhreport-icon report-preview" }, null, -1)),
309
- u(" " + c(e(a)("查看")), 1)
312
+ ke,
313
+ c(" " + u(e(a)("查看")), 1)
310
314
  ]),
311
- _: 1
312
- }, 8, ["onClick"]),
315
+ _: 2
316
+ }, 1032, ["onClick"]),
313
317
  n(e(m), {
314
318
  type: "primary",
315
319
  link: "",
316
- onClick: (s) => M(o.row)
320
+ onClick: (s) => M(t.row)
317
321
  }, {
318
322
  default: i(() => [
319
- t[13] || (t[13] = y("i", { class: "yhreport-icon report-bianji" }, null, -1)),
320
- u(" " + c(e(a)("编辑")), 1)
323
+ be,
324
+ c(" " + u(e(a)("编辑")), 1)
321
325
  ]),
322
- _: 1
323
- }, 8, ["onClick"]),
326
+ _: 2
327
+ }, 1032, ["onClick"]),
324
328
  n(e(m), {
325
329
  type: "primary",
326
330
  link: "",
327
- onClick: (s) => Y(o.row)
331
+ onClick: (s) => K(t.row)
328
332
  }, {
329
333
  default: i(() => [
330
- t[14] || (t[14] = y("i", { class: "yhreport-icon report-fuzhi" }, null, -1)),
331
- u(" " + c(e(a)("复制")), 1)
334
+ ve,
335
+ c(" " + u(e(a)("复制")), 1)
332
336
  ]),
333
- _: 1
334
- }, 8, ["onClick"]),
337
+ _: 2
338
+ }, 1032, ["onClick"]),
335
339
  n(e(m), {
336
340
  type: "danger",
337
341
  link: "",
338
- onClick: (s) => q(o.row)
342
+ onClick: (s) => Y(t.row)
339
343
  }, {
340
344
  default: i(() => [
341
- t[15] || (t[15] = y("i", { class: "yhreport-icon report-shanchusekuai" }, null, -1)),
342
- u(" " + c(e(a)("删除")), 1)
345
+ he,
346
+ c(" " + u(e(a)("删除")), 1)
343
347
  ]),
344
- _: 1
345
- }, 8, ["onClick"])
348
+ _: 2
349
+ }, 1032, ["onClick"])
346
350
  ]),
347
351
  _: 1
348
352
  }, 8, ["label"])
@@ -354,32 +358,32 @@ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe
354
358
  style: { "padding-top": "10px", "justify-content": "flex-end" },
355
359
  "page-sizes": [10, 20, 50, 100],
356
360
  "page-size": r.pageSize,
357
- "onUpdate:pageSize": t[4] || (t[4] = (o) => r.pageSize = o),
361
+ "onUpdate:pageSize": l[4] || (l[4] = (t) => r.pageSize = t),
358
362
  total: r.total,
359
363
  "current-page": r.pageNumber,
360
- "onUpdate:currentPage": t[5] || (t[5] = (o) => r.pageNumber = o),
364
+ "onUpdate:currentPage": l[5] || (l[5] = (t) => r.pageNumber = t),
361
365
  layout: "sizes,prev,pager,next,total"
362
366
  }, null, 8, ["page-size", "total", "current-page"]),
363
367
  n(e(ie), {
364
- modelValue: x.value,
365
- "onUpdate:modelValue": t[10] || (t[10] = (o) => x.value = o),
366
- onClose: S,
368
+ modelValue: C.value,
369
+ "onUpdate:modelValue": l[10] || (l[10] = (t) => C.value = t),
370
+ onClose: V,
367
371
  title: d.id ? e(a)("编辑报表") : e(a)("新建报表")
368
372
  }, {
369
373
  footer: i(() => [
370
- y("span", ge, [
371
- n(e(m), { onClick: S }, {
374
+ y("span", Ce, [
375
+ n(e(m), { onClick: V }, {
372
376
  default: i(() => [
373
- u(c(e(a)("取消")), 1)
377
+ c(u(e(a)("取消")), 1)
374
378
  ]),
375
379
  _: 1
376
380
  }),
377
381
  n(e(m), {
378
382
  type: "primary",
379
- onClick: t[9] || (t[9] = (o) => H())
383
+ onClick: l[9] || (l[9] = (t) => q())
380
384
  }, {
381
385
  default: i(() => [
382
- u(c(e(a)("保存")), 1)
386
+ c(u(e(a)("保存")), 1)
383
387
  ]),
384
388
  _: 1
385
389
  })
@@ -391,40 +395,40 @@ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe
391
395
  "label-width": "120"
392
396
  }, {
393
397
  default: i(() => [
394
- n(e(w), {
398
+ n(e(_), {
395
399
  label: e(a)("报表代码"),
396
400
  required: ""
397
401
  }, {
398
402
  default: i(() => [
399
- n(e($), {
403
+ n(e(x), {
400
404
  modelValue: d.code,
401
- "onUpdate:modelValue": t[6] || (t[6] = (o) => d.code = o),
405
+ "onUpdate:modelValue": l[6] || (l[6] = (t) => d.code = t),
402
406
  autocomplete: "off"
403
407
  }, null, 8, ["modelValue"])
404
408
  ]),
405
409
  _: 1
406
410
  }, 8, ["label"]),
407
- n(e(w), {
411
+ n(e(_), {
408
412
  label: e(a)("报表名称"),
409
413
  required: ""
410
414
  }, {
411
415
  default: i(() => [
412
- n(e($), {
416
+ n(e(x), {
413
417
  modelValue: d.name,
414
- "onUpdate:modelValue": t[7] || (t[7] = (o) => d.name = o),
418
+ "onUpdate:modelValue": l[7] || (l[7] = (t) => d.name = t),
415
419
  autocomplete: "off"
416
420
  }, null, 8, ["modelValue"])
417
421
  ]),
418
422
  _: 1
419
423
  }, 8, ["label"]),
420
- n(e(w), {
424
+ n(e(_), {
421
425
  label: e(a)("描述"),
422
426
  required: ""
423
427
  }, {
424
428
  default: i(() => [
425
- n(e($), {
429
+ n(e(x), {
426
430
  modelValue: d.description,
427
- "onUpdate:modelValue": t[8] || (t[8] = (o) => d.description = o),
431
+ "onUpdate:modelValue": l[8] || (l[8] = (t) => d.description = t),
428
432
  type: "textarea",
429
433
  autocomplete: "off"
430
434
  }, null, 8, ["modelValue"])
@@ -441,6 +445,6 @@ const pe = { class: "statement-list-container" }, me = { class: "actions" }, fe
441
445
  }
442
446
  });
443
447
  export {
444
- we as default
448
+ De as default
445
449
  };
446
- //# sourceMappingURL=StatementList-CSGXNsIV.mjs.map
450
+ //# sourceMappingURL=StatementList-c44dde93.mjs.map