yh-report 2.4.56 → 2.4.59

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