@topdatasec/report 1.1.15 → 1.1.17

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,107 +1,128 @@
1
- import { defineComponent as L, computed as q, resolveComponent as s, openBlock as m, createElementBlock as x, createElementVNode as V, Fragment as E, renderList as I, normalizeClass as O, createBlock as T, createCommentVNode as U, toDisplayString as H, ref as S, createVNode as l, withCtx as d, onMounted as le, normalizeProps as pe, guardReactiveProps as de, isVNode as ne, normalizeStyle as Re, mergeModels as ce, useModel as me, resolveDirective as _e, withDirectives as fe, unref as h, createTextVNode as R, resolveDynamicComponent as Y, isRef as Ue, withModifiers as Ee, watch as Ae, shallowRef as Fe, onBeforeUnmount as De, onUnmounted as Ie, reactive as K, TransitionGroup as qe, mergeProps as ve } from "vue";
2
- import { defineStore as ze, storeToRefs as Be } from "pinia";
3
- import { ElMessage as He } from "element-plus";
4
- import { VueDraggable as je } from "vue-draggable-plus";
5
- import { Toolbar as Pe, Editor as Me } from "@wangeditor/editor-for-vue";
6
- import { CircleClose as Oe } from "@element-plus/icons-vue";
7
- import { TdsTable as Ne, TdsForm as We } from "topdatasec-ui";
8
- const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), G = (o) => JSON.parse(JSON.stringify(o)), Ye = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), B = (o, t) => o[Ye(t)], Ke = (o) => window.$http.request({
1
+ import { defineComponent as L, computed as Q, resolveComponent as A, openBlock as m, createElementBlock as C, createElementVNode as T, Fragment as S, renderList as P, normalizeClass as N, createBlock as k, createCommentVNode as R, toDisplayString as M, ref as V, createVNode as l, withCtx as u, onMounted as le, normalizeProps as ue, guardReactiveProps as pe, isVNode as ne, normalizeStyle as Ue, mergeModels as de, useModel as ce, resolveDirective as me, withDirectives as fe, unref as w, createTextVNode as U, resolveDynamicComponent as G, isRef as Ee, withModifiers as Re, watch as Se, shallowRef as Oe, onBeforeUnmount as Pe, onUnmounted as Qe, reactive as X, TransitionGroup as Ie, mergeProps as ve } from "vue";
2
+ import { defineStore as Fe, storeToRefs as Ke } from "pinia";
3
+ import { ElNotification as Me, ElMessage as qe } from "element-plus";
4
+ import { VueDraggable as He } from "vue-draggable-plus";
5
+ import { Toolbar as ze, Editor as Ne } from "@wangeditor/editor-for-vue";
6
+ import { CircleClose as Ye } from "@element-plus/icons-vue";
7
+ import { TdsTable as Ge, TdsForm as Xe } from "topdatasec-ui";
8
+ const H = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), J = (o) => JSON.parse(JSON.stringify(o)), Je = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), F = (o, t) => o[Je(t)];
9
+ function Ze(o, t, e) {
10
+ const a = atob(o), r = [];
11
+ for (let i = 0; i < a.length; i += 512) {
12
+ const g = a.slice(i, i + 512), f = new Array(g.length);
13
+ for (let _ = 0; _ < g.length; _++)
14
+ f[_] = g.charCodeAt(_);
15
+ const d = new Uint8Array(f);
16
+ r.push(d);
17
+ }
18
+ const n = new Blob(r, { type: e }), s = URL.createObjectURL(n), c = document.createElement("a");
19
+ c.href = s, c.download = t, document.body.appendChild(c), c.click(), setTimeout(() => {
20
+ document.body.removeChild(c), URL.revokeObjectURL(s);
21
+ }, 0);
22
+ }
23
+ const je = (o) => window.$http.request({
9
24
  url: `${window.$reportURL}/tds/report/demo/get`,
10
25
  method: "get",
11
26
  params: o,
12
27
  isError: !1
13
- }), be = (o) => window.$http.request({
28
+ }), ge = (o) => window.$http.request({
14
29
  url: `${window.$reportURL}/tds/report/item/get`,
15
30
  method: "get",
16
31
  params: o,
17
32
  isError: !1
18
- }), Ge = (o) => window.$http.request({
33
+ }), We = (o) => window.$http.request({
19
34
  url: `${window.$reportURL}/tds/report/preview`,
20
35
  method: "get",
21
36
  params: o,
22
37
  isError: !1
23
- }), Je = (o) => window.$http.request({
38
+ }), $e = (o) => window.$http.request({
24
39
  url: `${window.$reportURL}/tds/report/add`,
25
40
  method: "post",
26
41
  data: o
27
- }), Qe = (o) => window.$http.request({
42
+ }), et = (o) => window.$http.request({
28
43
  url: `${window.$reportURL}/tds/report/put`,
29
44
  method: "put",
30
45
  data: o
31
- }), Xe = (o) => window.$http.request({
46
+ }), tt = (o) => window.$http.request({
32
47
  url: `${window.$reportURL}/tds/report/get`,
33
48
  method: "get",
34
49
  params: o,
35
50
  isError: !1
36
- }), ye = (o) => window.$http.request({
51
+ }), be = (o) => window.$http.request({
37
52
  url: `${window.$reportURL}/tds/report/filter/get`,
38
53
  method: "get",
39
54
  params: o,
40
55
  isError: !1
41
- }), Ze = (o) => window.$http.request({
56
+ }), ot = (o) => window.$http.request({
42
57
  url: `${window.$reportURL}/tds/report/delete`,
43
58
  method: "delete",
44
59
  data: o
45
- }), et = (o) => window.$http.request({
60
+ }), lt = (o) => window.$http.request({
46
61
  url: `${window.$reportURL}/tds/report/item/list`,
47
62
  method: "get",
48
63
  params: o,
49
64
  isError: !1
50
- }), tt = (o) => window.$http.request({
65
+ }), nt = (o) => window.$http.request({
51
66
  url: `${window.$reportURL}/tds/report/item/delete`,
52
67
  method: "delete",
53
68
  data: o
54
- }), ot = (o) => window.$http.request({
69
+ }), at = (o) => window.$http.request({
55
70
  url: `${window.$reportURL}/tds/report/item/add`,
56
71
  method: "post",
57
72
  data: o
58
- }), lt = (o) => window.$http.request({
73
+ }), rt = (o) => window.$http.request({
59
74
  url: `${window.$reportURL}/tds/report/item/put`,
60
75
  method: "put",
61
76
  data: o
62
- }), nt = (o) => window.$http.request({
77
+ }), At = (o) => window.$http.request({
63
78
  url: `${window.$reportURL}/tds/report/sub/get`,
64
79
  method: "get",
65
80
  params: o,
66
81
  isError: !1
67
- }), at = (o) => window.$http.request({
82
+ }), st = (o) => window.$http.request({
68
83
  url: `${window.$reportURL}/tds/report/sub/add`,
69
84
  method: "post",
70
85
  data: o
71
- }), rt = (o) => window.$http.request({
86
+ }), it = (o) => window.$http.request({
72
87
  url: `${window.$reportURL}/tds/report/sub/put`,
73
88
  method: "put",
74
89
  data: o
75
- }), st = (o) => window.$http.request({
90
+ }), ut = (o) => window.$http.request({
76
91
  url: `${window.$reportURL}/tds/report/sub/delete`,
77
92
  method: "delete",
78
93
  data: o
79
- }), it = (o) => window.$http.request({
94
+ }), pt = (o) => window.$http.request({
80
95
  url: `${window.$reportURL}/tds/report/sub/edit/state`,
81
96
  method: "post",
82
97
  data: o
83
- }), ut = (o) => window.$http.request({
98
+ }), dt = (o) => window.$http.request({
84
99
  url: `${window.$reportURL}/tds/report/all`,
85
100
  method: "get",
86
101
  params: o,
87
102
  isError: !1
88
- }), pt = (o) => window.$http.request({
103
+ }), ct = (o) => window.$http.request({
89
104
  url: `${window.$reportURL}/tds/report/sub/get_format`,
90
105
  method: "get",
91
106
  params: o,
92
107
  isError: !1
93
- }), dt = (o) => window.$http.request({
108
+ }), mt = (o) => window.$http.request({
94
109
  url: `${window.$reportURL}/tds/report/filter/get_select_data`,
95
110
  method: "get",
96
111
  params: o,
97
112
  isError: !1
98
- }), ct = (o = {}) => window.$http.request({
113
+ }), ft = (o = {}) => window.$http.request({
99
114
  url: `${window.$reportURL}/tds/report/build_in/get`,
100
115
  method: "get",
101
116
  params: o,
102
117
  loading: !1,
103
118
  isError: !1
104
- }), ge = "rgba(51, 51, 51, 0.15)", j = "rgba(51, 51, 51, 1)", M = 12, he = (o = !1) => {
119
+ }), vt = (o = {}) => window.$http.request({
120
+ url: `${window.$reportURL}/tds/report/export`,
121
+ method: "get",
122
+ params: o,
123
+ loading: !1,
124
+ isError: !1
125
+ }), _e = "rgba(51, 51, 51, 0.15)", q = "rgba(51, 51, 51, 1)", z = 12, we = (o = !1) => {
105
126
  const t = {
106
127
  // top: '2%',
107
128
  left: "3%",
@@ -110,7 +131,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
110
131
  containLabel: !0
111
132
  };
112
133
  return o && (t.top = "5%"), t;
113
- }, D = [
134
+ }, O = [
114
135
  "46, 145, 255",
115
136
  "48, 212, 183",
116
137
  "108, 108, 255",
@@ -131,12 +152,12 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
131
152
  "100, 161, 206",
132
153
  "246, 175, 159",
133
154
  "238, 97, 97"
134
- ], mt = (o, t, e = "", a = { name: "name", value: "value" }) => {
155
+ ], gt = (o, t, e = "", a = { name: "name", value: "value" }) => {
135
156
  const r = [], n = [];
136
- t.forEach((i) => {
137
- r.push(i[a.name]), n.push(i[a.value]);
157
+ t.forEach((s) => {
158
+ r.push(s[a.name]), n.push(s[a.value]);
138
159
  }), o.xAxis[0].data = r, o.series[0].data = n, o.series[0].name = e, o.series[1].data = n, o.series[2].data = n;
139
- }, Q = (o = [
160
+ }, j = (o = [
140
161
  {
141
162
  name: "数据1",
142
163
  value: 63
@@ -180,7 +201,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
180
201
  // type: 'plain', //plain:普通图例;scroll:可滚动翻页的图例。当图例数量较多时使。
181
202
  // show: true,
182
203
  // },
183
- grid: he(),
204
+ grid: we(),
184
205
  title: {
185
206
  show: !0,
186
207
  text: "样例数据",
@@ -200,7 +221,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
200
221
  nameRotate: 0,
201
222
  // 坐标轴名称旋转
202
223
  axisLabel: {
203
- color: j,
224
+ color: q,
204
225
  // X轴类目名称样式
205
226
  rotate: 0
206
227
  // X轴类目名称旋转角度
@@ -209,7 +230,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
209
230
  //X轴轴线设置
210
231
  show: !0,
211
232
  lineStyle: {
212
- color: ge,
233
+ color: _e,
213
234
  width: 1
214
235
  }
215
236
  },
@@ -228,8 +249,8 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
228
249
  // 坐标轴刻度最小值
229
250
  position: "left",
230
251
  nameTextStyle: {
231
- fontSize: M,
232
- color: j,
252
+ fontSize: z,
253
+ color: q,
233
254
  fontWeight: "bold"
234
255
  },
235
256
  axisLine: { show: !1 },
@@ -239,7 +260,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
239
260
  splitLine: { show: !1 },
240
261
  // 纵向分隔线
241
262
  axisLabel: {
242
- color: j,
263
+ color: q,
243
264
  // y轴刻度标签
244
265
  formatter: "{value}",
245
266
  inside: !1
@@ -252,7 +273,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
252
273
  type: "bar",
253
274
  barWidth: 15,
254
275
  barGap: "0%",
255
- itemStyle: e(`rgba(${D[0]}, 0.7)`, `rgba(${D[0]}, 0.2)`),
276
+ itemStyle: e(`rgba(${O[0]}, 0.7)`, `rgba(${O[0]}, 0.2)`),
256
277
  data: a,
257
278
  label: {
258
279
  show: !0,
@@ -272,7 +293,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
272
293
  symbolSize: [15, 10],
273
294
  //调整截面形状
274
295
  symbolOffset: [0, 5],
275
- itemStyle: e(`rgba(${D[0]}, 0.7)`, `rgba(${D[0]}, 0.2)`),
296
+ itemStyle: e(`rgba(${O[0]}, 0.7)`, `rgba(${O[0]}, 0.2)`),
276
297
  data: a
277
298
  },
278
299
  {
@@ -283,19 +304,19 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
283
304
  //调整截面形状
284
305
  symbolOffset: [0, -5],
285
306
  symbolPosition: "end",
286
- itemStyle: e(`rgba(${D[0]}, 0.9)`, `rgba(${D[0]}, 1)`),
307
+ itemStyle: e(`rgba(${O[0]}, 0.9)`, `rgba(${O[0]}, 1)`),
287
308
  data: a
288
309
  }
289
310
  ]
290
311
  };
291
- }, _t = ({ chartOption: o, data: t, props: e = { name: "label", value: "data" } }) => {
312
+ }, bt = ({ chartOption: o, data: t, props: e = { name: "label", value: "data" } }) => {
292
313
  let a = 0;
293
- const r = t.map((n, i) => (a += Number(n[e.value]), {
314
+ const r = t.map((n, s) => (a += Number(n[e.value]), {
294
315
  name: n[e.name],
295
316
  value: Number(n[e.value])
296
317
  }));
297
318
  o.legend.data = r, o.series[0].data = r, o.graphic[1].style.text = a;
298
- }, ft = () => D.map((o) => `rgba(${o}, 1)`), ae = ({
319
+ }, _t = () => O.map((o) => `rgba(${o}, 1)`), ae = ({
299
320
  data: o = [
300
321
  {
301
322
  name: "数据1",
@@ -315,22 +336,22 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
315
336
  isLegend: a = !0,
316
337
  isLine: r = !1,
317
338
  center: n = ["50%", "50%"],
318
- isTitle: i = !0
339
+ isTitle: s = !0
319
340
  }) => {
320
- const f = {
321
- color: ft(),
341
+ const c = {
342
+ color: _t(),
322
343
  toolbox: { show: !1 },
323
344
  tooltip: {
324
345
  trigger: "item",
325
346
  show: !0,
326
- formatter: (p) => {
327
- const { name: b, value: v } = p;
328
- return `<div style="color: ${p.color}; font-size: 14px;">${b}&nbsp;&nbsp;&nbsp;</div>
329
- <div><span style="font-size: 14px; color: #86909c; float: right;">数量:${v}</span></div>`;
347
+ formatter: (i) => {
348
+ const { name: g, value: f } = i;
349
+ return `<div style="color: ${i.color}; font-size: 14px;">${g}&nbsp;&nbsp;&nbsp;</div>
350
+ <div><span style="font-size: 14px; color: #86909c; float: right;">数量:${f}</span></div>`;
330
351
  }
331
352
  },
332
353
  title: {
333
- show: i,
354
+ show: s,
334
355
  text: "样例数据",
335
356
  textStyle: {
336
357
  color: "#333",
@@ -342,14 +363,14 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
342
363
  legend: {
343
364
  show: a,
344
365
  left: "70%",
345
- formatter: (p) => {
346
- var v;
347
- const b = (v = f.series[0]) == null ? void 0 : v.data.find((c) => c.name === p).value;
348
- return ` ${p} | ${b}`;
366
+ formatter: (i) => {
367
+ var f;
368
+ const g = (f = c.series[0]) == null ? void 0 : f.data.find((d) => d.name === i).value;
369
+ return ` ${i} | ${g}`;
349
370
  },
350
371
  textStyle: {
351
- fontSize: M,
352
- color: j
372
+ fontSize: z,
373
+ color: q
353
374
  },
354
375
  data: o,
355
376
  orient: "vertical",
@@ -398,8 +419,8 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
398
419
  borderWidth: 1,
399
420
  borderColor: "inherit",
400
421
  padding: [3, -3, 3, -3],
401
- formatter: function(p) {
402
- return `{a|${p.name}(${p.value})}`;
422
+ formatter: function(i) {
423
+ return `{a|${i.name}(${i.value})}`;
403
424
  },
404
425
  rich: {
405
426
  a: {
@@ -456,24 +477,24 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
456
477
  }
457
478
  ]
458
479
  };
459
- return f;
460
- }, vt = (o, t, e = { name: "name", value: "value" }) => {
480
+ return c;
481
+ }, wt = (o, t, e = { name: "name", value: "value" }) => {
461
482
  o.xAxis.data = t.map((a) => a[e.name]), Array.isArray(e.value) ? e.value.forEach((a, r) => {
462
483
  o.series[r].data = t.map((n) => n[a.value]);
463
484
  }) : typeof e.value == "string" && (o.series[0].data = t.map((a) => a[e.value]));
464
- }, bt = () => ({
485
+ }, yt = () => ({
465
486
  name: "",
466
487
  type: "line",
467
488
  symbol: "circle",
468
489
  smooth: !0,
469
490
  lineStyle: {
470
491
  width: 1,
471
- color: `rgba(${D[0]}, 1)`
492
+ color: `rgba(${O[0]}, 1)`
472
493
  // 线条颜色
473
494
  },
474
495
  showSymbol: !1,
475
496
  itemStyle: {
476
- color: `rgba(${D[0]}, 1)`,
497
+ color: `rgba(${O[0]}, 1)`,
477
498
  //拐点颜色
478
499
  label: {
479
500
  show: !0,
@@ -496,18 +517,18 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
496
517
  // 渐变颜色
497
518
  {
498
519
  offset: 0,
499
- color: `rgba(${D[0]}, 0.7)`
520
+ color: `rgba(${O[0]}, 0.7)`
500
521
  },
501
522
  {
502
523
  offset: 1,
503
- color: `rgba(${D[0]}, 0.1)`
524
+ color: `rgba(${O[0]}, 0.1)`
504
525
  }
505
526
  ],
506
527
  global: !1
507
528
  }
508
529
  },
509
530
  data: []
510
- }), J = (o = [
531
+ }), Z = (o = [
511
532
  {
512
533
  name: "2024-08",
513
534
  value: 63
@@ -539,24 +560,24 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
539
560
  show: !0,
540
561
  itemWidth: 30,
541
562
  textStyle: {
542
- color: j,
543
- fontSize: M,
563
+ color: q,
564
+ fontSize: z,
544
565
  padding: [0, 8, 0, 8]
545
566
  }
546
567
  },
547
- grid: he(),
568
+ grid: we(),
548
569
  xAxis: {
549
570
  type: "category",
550
571
  splitLine: { show: !1 },
551
572
  axisTick: { show: !1 },
552
573
  axisLine: {
553
574
  show: !0,
554
- lineStyle: { color: ge }
575
+ lineStyle: { color: _e }
555
576
  },
556
577
  axisLabel: {
557
578
  show: !0,
558
- fontSize: M,
559
- color: j
579
+ fontSize: z,
580
+ color: q
560
581
  },
561
582
  boundaryGap: !1,
562
583
  data: o.map((n) => n[t.name])
@@ -568,42 +589,42 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
568
589
  axisLine: { show: !1 },
569
590
  axisTick: { show: !1 },
570
591
  nameTextStyle: {
571
- fontSize: M,
572
- color: j,
592
+ fontSize: z,
593
+ color: q,
573
594
  padding: [0, 60, 0, 0]
574
595
  },
575
596
  axisLabel: {
576
597
  show: !0,
577
- fontSize: M,
578
- color: j
598
+ fontSize: z,
599
+ color: q
579
600
  }
580
601
  },
581
602
  series: []
582
- }, a = bt(), r = [];
603
+ }, a = yt(), r = [];
583
604
  if (Array.isArray(t.value))
584
- t.value.forEach((n, i) => {
585
- const f = G(a);
586
- f.name = n.name, f.lineStyle.color = `rgba(${D[i]}, 1)`, f.itemStyle.color = `rgba(${D[i]}, 1)`, f.areaStyle.color.colorStops[0].color = `rgba(${D[i]}, 0.7)`, f.areaStyle.color.colorStops[1].color = `rgba(${D[i]}, 0.1)`, f.data = o.map((p) => p[n.value]), r.push(f);
605
+ t.value.forEach((n, s) => {
606
+ const c = J(a);
607
+ c.name = n.name, c.lineStyle.color = `rgba(${O[s]}, 1)`, c.itemStyle.color = `rgba(${O[s]}, 1)`, c.areaStyle.color.colorStops[0].color = `rgba(${O[s]}, 0.7)`, c.areaStyle.color.colorStops[1].color = `rgba(${O[s]}, 0.1)`, c.data = o.map((i) => i[n.value]), r.push(c);
587
608
  });
588
609
  else if (typeof t.value == "string") {
589
- const n = G(a);
590
- n.data = o.map((i) => i[t.value]), r.push(n);
610
+ const n = J(a);
611
+ n.data = o.map((s) => s[t.value]), r.push(n);
591
612
  }
592
613
  return e.series = r, e;
593
614
  }, re = [
594
615
  { key: "assets", name: "资产名称" },
595
616
  { key: "type", name: "资产类型" },
596
617
  { key: "data", name: "资产数据" }
597
- ], se = [
618
+ ], Ae = [
598
619
  { assets: "name1", type: "type1", data: "data1" },
599
620
  { assets: "name2", type: "type2", data: "data2" },
600
621
  { assets: "name3", type: "type3", data: "data3" }
601
- ], Z = [
622
+ ], $ = [
602
623
  { data: [{ name: "默认数据", value: 180 }], label: "name1" },
603
624
  { data: [{ name: "默认数据", value: 311 }], label: "name2" },
604
625
  { data: [{ name: "默认数据", value: 42 }], label: "name3" },
605
626
  { data: [{ name: "默认数据", value: 32391 }], label: "name4" }
606
- ], yt = [
627
+ ], ht = [
607
628
  {
608
629
  data: 63,
609
630
  label: "数据1"
@@ -616,7 +637,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
616
637
  data: 43,
617
638
  label: "数据3"
618
639
  }
619
- ], gt = [
640
+ ], Ct = [
620
641
  {
621
642
  type: "report-select",
622
643
  label: "资产:",
@@ -640,7 +661,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
640
661
  }
641
662
  ],
642
663
  uri: "/da/report/sens/get_asset_all",
643
- id: P()
664
+ id: H()
644
665
  },
645
666
  {
646
667
  type: "range-time",
@@ -650,7 +671,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
650
671
  end_time: "2024-09-12 19:49:34"
651
672
  }
652
673
  ],
653
- id: P()
674
+ id: H()
654
675
  },
655
676
  {
656
677
  type: "h1",
@@ -663,7 +684,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
663
684
  textIndent: 0,
664
685
  textAlign: "left"
665
686
  },
666
- id: P()
687
+ id: H()
667
688
  },
668
689
  {
669
690
  type: "h2",
@@ -677,11 +698,11 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
677
698
  textIndent: 0,
678
699
  textAlign: "left"
679
700
  },
680
- id: P()
701
+ id: H()
681
702
  },
682
703
  {
683
704
  type: "report-table",
684
- data: se,
705
+ data: Ae,
685
706
  showColumn: re,
686
707
  name: "表格",
687
708
  options: {
@@ -695,9 +716,9 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
695
716
  stripe: !1
696
717
  },
697
718
  rp_item_uuid: "",
698
- id: P()
719
+ id: H()
699
720
  }
700
- ], ht = [
721
+ ], xt = [
701
722
  {
702
723
  type: "h1",
703
724
  data: "报表名称",
@@ -744,7 +765,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
744
765
  { type: "p", data: "正文", name: "正文", rp_item_uuid: "", id: "" },
745
766
  {
746
767
  type: "report-table",
747
- data: se,
768
+ data: Ae,
748
769
  showColumn: re,
749
770
  name: "表格",
750
771
  options: {
@@ -762,35 +783,35 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
762
783
  },
763
784
  {
764
785
  type: "bar",
765
- data: Z,
786
+ data: $,
766
787
  showColumn: [{ key: "label", value: "data" }],
767
788
  name: "图表",
768
- options: Q(),
789
+ options: j(),
769
790
  rp_item_uuid: "",
770
791
  id: ""
771
792
  }
772
- ], wt = (o) => ({
793
+ ], Bt = (o) => ({
773
794
  bar: {
774
795
  type: "bar",
775
- data: Z,
796
+ data: $,
776
797
  showColumn: [{ key: "label", value: "data" }],
777
798
  name: "图表",
778
- options: Q(),
799
+ options: j(),
779
800
  rp_item_uuid: "",
780
801
  id: ""
781
802
  },
782
803
  line: {
783
804
  type: "line",
784
- data: Z,
805
+ data: $,
785
806
  showColumn: [{ key: "label", value: "data" }],
786
807
  name: "图表",
787
- options: J(),
808
+ options: Z(),
788
809
  rp_item_uuid: "",
789
810
  id: ""
790
811
  },
791
812
  pie: {
792
813
  type: "pie",
793
- data: yt,
814
+ data: ht,
794
815
  showColumn: [{ key: "label", value: "data" }],
795
816
  name: "图表",
796
817
  options: ae({ isLegend: !0 }),
@@ -799,7 +820,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
799
820
  },
800
821
  "report-table": {
801
822
  type: "report-table",
802
- data: se,
823
+ data: Ae,
803
824
  showColumn: re,
804
825
  name: "表格",
805
826
  options: {
@@ -815,7 +836,7 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
815
836
  rp_item_uuid: "",
816
837
  id: ""
817
838
  }
818
- })[o], z = ze("tds-report", {
839
+ })[o], I = Fe("tds-report", {
819
840
  state: () => ({
820
841
  componentList: [],
821
842
  activeComponents: {},
@@ -836,10 +857,10 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
836
857
  },
837
858
  async getReportDemo(o) {
838
859
  let t = [];
839
- o ? t = (await Ke({ report_uuid: o })).data : t = { content: G(gt), range_time: 1 };
860
+ o ? t = (await je({ report_uuid: o })).data : t = { content: J(Ct), range_time: 1 };
840
861
  const e = [];
841
862
  t.content.forEach((a) => {
842
- (a.type === "report-select" || a.type === "range-time") && e.push(a), a.type === "h1" && (this.titleComponent = a), a.id = P();
863
+ (a.type === "report-select" || a.type === "range-time") && e.push(a), a.type === "h1" && (this.titleComponent = a), a.id = H();
843
864
  }), this.notDraggableList = e, this.filterForm.range_time = t.range_time, this.filterForm.filter_uuid = t.filter_uuid, t.content.splice(0, 3), this.componentList = t.content;
844
865
  },
845
866
  setActiveComponents(o) {
@@ -852,115 +873,115 @@ const P = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math
852
873
  };
853
874
  }
854
875
  }
855
- }), Ct = { class: "catalogue" }, xt = ["href", "title"], $t = /* @__PURE__ */ L({
876
+ }), Tt = { class: "catalogue" }, Vt = ["href", "title"], Dt = /* @__PURE__ */ L({
856
877
  __name: "Catalogue",
857
878
  props: {
858
879
  data: { default: () => [] }
859
880
  },
860
881
  setup(o) {
861
- const t = o, e = q(() => t.data.filter((a) => ["h2", "h3", "h4"].includes(a.type)));
882
+ const t = o, e = Q(() => t.data.filter((a) => ["h2", "h3", "h4"].includes(a.type)));
862
883
  return (a, r) => {
863
- const n = s("el-divider");
864
- return m(), x("div", Ct, [
865
- r[0] || (r[0] = V("div", { class: "cata-title el-anchor__link" }, "目录", -1)),
866
- (m(!0), x(E, null, I(e.value, (i) => (m(), x("div", {
867
- class: O("level" + i.type),
868
- key: i.value
884
+ const n = A("el-divider");
885
+ return m(), C("div", Tt, [
886
+ r[0] || (r[0] = T("div", { class: "cata-title el-anchor__link" }, "目录", -1)),
887
+ (m(!0), C(S, null, P(e.value, (s) => (m(), C("div", {
888
+ class: N("level" + s.type),
889
+ key: s.value
869
890
  }, [
870
- i.type === "h2" ? (m(), T(n, {
891
+ s.type === "h2" ? (m(), k(n, {
871
892
  key: 0,
872
893
  style: { "margin-top": "10px", "margin-bottom": "10px" }
873
- })) : U("", !0),
874
- V("a", {
894
+ })) : R("", !0),
895
+ T("a", {
875
896
  class: "el-anchor__link",
876
- href: "#" + i.id,
877
- title: i.data
878
- }, H(i.data), 9, xt)
897
+ href: "#" + s.id,
898
+ title: s.data
899
+ }, M(s.data), 9, Vt)
879
900
  ], 2))), 128))
880
901
  ]);
881
902
  };
882
903
  }
883
904
  });
884
- const N = (o, t) => {
905
+ const Y = (o, t) => {
885
906
  const e = o.__vccOpts || o;
886
907
  for (const [a, r] of t)
887
908
  e[a] = r;
888
909
  return e;
889
- }, kt = /* @__PURE__ */ N($t, [["__scopeId", "data-v-1cd8aa2d"]]), Vt = {
910
+ }, kt = /* @__PURE__ */ Y(Dt, [["__scopeId", "data-v-1cd8aa2d"]]), Lt = {
890
911
  class: "chart-components"
891
- }, we = /* @__PURE__ */ L({
912
+ }, ye = /* @__PURE__ */ L({
892
913
  __name: "Bar",
893
914
  props: {
894
915
  value: {}
895
916
  },
896
917
  setup(o) {
897
- const t = o, e = q(() => t.value.options);
898
- return S(!1), (a, r) => {
899
- const n = s("TdsChart");
900
- return m(), x("div", Vt, [l(n, {
918
+ const t = o, e = Q(() => t.value.options);
919
+ return V(!1), (a, r) => {
920
+ const n = A("TdsChart");
921
+ return m(), C("div", Lt, [l(n, {
901
922
  option: e.value
902
923
  }, null, 8, ["option"])]);
903
924
  };
904
925
  }
905
- }), St = { class: "chart-components" }, Ce = /* @__PURE__ */ L({
926
+ }), Ut = { class: "chart-components" }, he = /* @__PURE__ */ L({
906
927
  __name: "Line",
907
928
  props: {
908
929
  value: {}
909
930
  },
910
931
  setup(o) {
911
- const t = o, e = q(() => t.value.options);
932
+ const t = o, e = Q(() => t.value.options);
912
933
  return (a, r) => {
913
- const n = s("TdsChart");
914
- return m(), x("div", St, [
934
+ const n = A("TdsChart");
935
+ return m(), C("div", Ut, [
915
936
  l(n, { option: e.value }, null, 8, ["option"])
916
937
  ]);
917
938
  };
918
939
  }
919
- }), Tt = { class: "chart-components" }, xe = /* @__PURE__ */ L({
940
+ }), Et = { class: "chart-components" }, Ce = /* @__PURE__ */ L({
920
941
  __name: "Pie",
921
942
  props: {
922
943
  value: {}
923
944
  },
924
945
  setup(o) {
925
- const t = o, e = q(() => t.value.options);
946
+ const t = o, e = Q(() => t.value.options);
926
947
  return (a, r) => {
927
- const n = s("TdsChart");
928
- return m(), x("div", Tt, [
948
+ const n = A("TdsChart");
949
+ return m(), C("div", Et, [
929
950
  l(n, { option: e.value }, null, 8, ["option"])
930
951
  ]);
931
952
  };
932
953
  }
933
- }), Lt = { key: 0 }, ee = /* @__PURE__ */ L({
954
+ }), Rt = { key: 0 }, ee = /* @__PURE__ */ L({
934
955
  __name: "ReportSelect",
935
956
  props: {
936
957
  value: {}
937
958
  },
938
959
  emits: ["change"],
939
960
  setup(o, { emit: t }) {
940
- const e = t, a = (i) => {
941
- e("change", i);
942
- }, n = S(o.value);
943
- return (i, f) => {
944
- const p = s("el-option"), b = s("el-select");
945
- return n.value.data ? (m(), x("div", Lt, [
946
- l(b, {
961
+ const e = t, a = (s) => {
962
+ e("change", s);
963
+ }, n = V(o.value);
964
+ return (s, c) => {
965
+ const i = A("el-option"), g = A("el-select");
966
+ return n.value.data ? (m(), C("div", Rt, [
967
+ l(g, {
947
968
  modelValue: n.value.value,
948
- "onUpdate:modelValue": f[0] || (f[0] = (v) => n.value.value = v),
969
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => n.value.value = f),
949
970
  multiple: "",
950
971
  style: { width: "100%" },
951
972
  onChange: a,
952
973
  placeholder: "全部"
953
974
  }, {
954
- default: d(() => [
955
- (m(!0), x(E, null, I(n.value.data, (v) => (m(), T(p, {
956
- key: v.data,
957
- label: v.label,
958
- value: v.data
975
+ default: u(() => [
976
+ (m(!0), C(S, null, P(n.value.data, (f) => (m(), k(i, {
977
+ key: f.data,
978
+ label: f.label,
979
+ value: f.data
959
980
  }, null, 8, ["label", "value"]))), 128))
960
981
  ]),
961
982
  _: 1
962
983
  }, 8, ["modelValue"])
963
- ])) : U("", !0);
984
+ ])) : R("", !0);
964
985
  };
965
986
  }
966
987
  }), te = /* @__PURE__ */ L({
@@ -970,33 +991,33 @@ const N = (o, t) => {
970
991
  },
971
992
  emits: ["change"],
972
993
  setup(o, { emit: t }) {
973
- const e = t, r = S(o.value), n = S([]);
974
- function i(f) {
975
- f ? (r.value.data[0].start_time = f[0], r.value.data[0].end_time = f[1]) : n.value = [], e("change", n.value);
994
+ const e = t, r = V(o.value), n = V([]);
995
+ function s(c) {
996
+ c ? (r.value.data[0].start_time = c[0], r.value.data[0].end_time = c[1]) : n.value = [], e("change", n.value);
976
997
  }
977
998
  return le(() => {
978
999
  n.value = [r.value.data[0].start_time, r.value.data[0].end_time];
979
- }), (f, p) => {
980
- const b = s("el-date-picker");
981
- return m(), x("div", null, [
982
- l(b, {
1000
+ }), (c, i) => {
1001
+ const g = A("el-date-picker");
1002
+ return m(), C("div", null, [
1003
+ l(g, {
983
1004
  modelValue: n.value,
984
- "onUpdate:modelValue": p[0] || (p[0] = (v) => n.value = v),
1005
+ "onUpdate:modelValue": i[0] || (i[0] = (f) => n.value = f),
985
1006
  type: "datetimerange",
986
1007
  placeholder: "Pick a Date",
987
1008
  format: "YYYY-MM-DD HH:mm:ss",
988
1009
  "value-format": "YYYY-MM-DD HH:mm:ss",
989
- onChange: i,
1010
+ onChange: s,
990
1011
  clearable: !1
991
1012
  }, null, 8, ["modelValue"])
992
1013
  ]);
993
1014
  };
994
1015
  }
995
1016
  });
996
- function Rt(o) {
1017
+ function St(o) {
997
1018
  return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ne(o);
998
1019
  }
999
- const $e = /* @__PURE__ */ L({
1020
+ const xe = /* @__PURE__ */ L({
1000
1021
  __name: "ReportTable",
1001
1022
  props: {
1002
1023
  value: {}
@@ -1004,19 +1025,19 @@ const $e = /* @__PURE__ */ L({
1004
1025
  setup(o) {
1005
1026
  const t = o, e = (a) => {
1006
1027
  let r;
1007
- return l(s("el-table"), {
1028
+ return l(A("el-table"), {
1008
1029
  data: a.data,
1009
1030
  border: t.value.options.border,
1010
1031
  "show-header": !!t.value.options.showHeader,
1011
1032
  stripe: t.value.options.stripe
1012
- }, Rt(r = a.showColumn.map((n) => t.value.options.showColumn[n.key] === !0 ? l(s("el-table-column"), {
1033
+ }, St(r = a.showColumn.map((n) => t.value.options.showColumn[n.key] === !0 ? l(A("el-table-column"), {
1013
1034
  prop: n.key,
1014
1035
  label: n.name
1015
1036
  }, null) : null)) ? r : {
1016
1037
  default: () => [r]
1017
1038
  });
1018
1039
  };
1019
- return (a, r) => (m(), x("div", null, [l(e, pe(de(a.value)), null, 16)]));
1040
+ return (a, r) => (m(), C("div", null, [l(e, ue(pe(a.value)), null, 16)]));
1020
1041
  }
1021
1042
  }), oe = /* @__PURE__ */ L({
1022
1043
  __name: "ReportText",
@@ -1035,60 +1056,60 @@ const $e = /* @__PURE__ */ L({
1035
1056
  "text-align": a.textAlign
1036
1057
  };
1037
1058
  };
1038
- return (a, r) => (m(), x("div", {
1039
- style: Re(e())
1040
- }, H(a.value.data), 5));
1059
+ return (a, r) => (m(), C("div", {
1060
+ style: Ue(e())
1061
+ }, M(a.value.data), 5));
1041
1062
  }
1042
- }), Ut = { class: "chart-components" }, ke = /* @__PURE__ */ L({
1063
+ }), Ot = { class: "chart-components" }, Be = /* @__PURE__ */ L({
1043
1064
  __name: "ReportChart",
1044
1065
  props: {
1045
1066
  value: {}
1046
1067
  },
1047
1068
  setup(o) {
1048
- const t = o, e = q(() => t.value), a = q(() => {
1069
+ const t = o, e = Q(() => t.value), a = Q(() => {
1049
1070
  if (e.value.type === "bar") {
1050
- e.value.options.series = Q([]).series;
1071
+ e.value.options.series = j([]).series;
1051
1072
  const r = [];
1052
1073
  let n = "";
1053
- e.value.data.forEach((i) => {
1054
- n = i.data[0].name, r.push({
1055
- name: i.label,
1056
- value: i.data[0].value
1074
+ e.value.data.forEach((s) => {
1075
+ n = s.data[0].name, r.push({
1076
+ name: s.label,
1077
+ value: s.data[0].value
1057
1078
  });
1058
- }), mt(e.value.options, r, n);
1079
+ }), gt(e.value.options, r, n);
1059
1080
  }
1060
- if (e.value.type === "pie" && (e.value.options = ae({ isLegend: !0 }), _t({ chartOption: e.value.options, data: e.value.data })), e.value.type === "line") {
1081
+ if (e.value.type === "pie" && (e.value.options = ae({ isLegend: !0 }), bt({ chartOption: e.value.options, data: e.value.data })), e.value.type === "line") {
1061
1082
  let r = [];
1062
- e.value.data.forEach((f) => {
1063
- r = f.data.map((p, b) => ({ name: p.name, value: "value" + b }));
1083
+ e.value.data.forEach((c) => {
1084
+ r = c.data.map((i, g) => ({ name: i.name, value: "value" + g }));
1064
1085
  });
1065
1086
  const n = {
1066
1087
  name: "name",
1067
1088
  value: r
1068
- }, i = e.value.data.map((f) => {
1069
- const p = {
1070
- name: f.label
1089
+ }, s = e.value.data.map((c) => {
1090
+ const i = {
1091
+ name: c.label
1071
1092
  };
1072
- return r.forEach((b, v) => {
1073
- p[b.value] = f.data[v].value;
1074
- }), p;
1093
+ return r.forEach((g, f) => {
1094
+ i[g.value] = c.data[f].value;
1095
+ }), i;
1075
1096
  });
1076
- console.log(J([], n), "chartsLine([], params)"), e.value.options.series = J([], n).series, vt(e.value.options, i, n);
1097
+ console.log(Z([], n), "chartsLine([], params)"), e.value.options.series = Z([], n).series, wt(e.value.options, s, n);
1077
1098
  }
1078
1099
  return e.value.options;
1079
1100
  });
1080
1101
  return (r, n) => {
1081
- const i = s("TdsChart");
1082
- return m(), x("div", Ut, [
1083
- l(i, { option: a.value }, null, 8, ["option"])
1102
+ const s = A("TdsChart");
1103
+ return m(), C("div", Ot, [
1104
+ l(s, { option: a.value }, null, 8, ["option"])
1084
1105
  ]);
1085
1106
  };
1086
1107
  }
1087
1108
  });
1088
- function Et(o) {
1109
+ function Pt(o) {
1089
1110
  return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ne(o);
1090
1111
  }
1091
- const Ve = /* @__PURE__ */ L({
1112
+ const Te = /* @__PURE__ */ L({
1092
1113
  __name: "ReportDescribe",
1093
1114
  props: {
1094
1115
  value: {}
@@ -1096,12 +1117,12 @@ const Ve = /* @__PURE__ */ L({
1096
1117
  setup(o) {
1097
1118
  const t = o, e = (a) => {
1098
1119
  let r;
1099
- return l(s("el-descriptions"), {
1120
+ return l(A("el-descriptions"), {
1100
1121
  title: t.value.options.title,
1101
1122
  border: t.value.options.border,
1102
1123
  column: t.value.options.column,
1103
1124
  direction: t.value.options.direction
1104
- }, Et(r = a.showColumn.map((n) => l(s("el-descriptions-item"), {
1125
+ }, Pt(r = a.showColumn.map((n) => l(A("el-descriptions-item"), {
1105
1126
  label: n.name
1106
1127
  }, {
1107
1128
  default: () => [t.value.data[n.key]]
@@ -1109,21 +1130,25 @@ const Ve = /* @__PURE__ */ L({
1109
1130
  default: () => [r]
1110
1131
  });
1111
1132
  };
1112
- return (a, r) => (m(), x("div", null, [l(e, pe(de(a.value)), null, 16)]));
1133
+ return (a, r) => (m(), C("div", null, [l(e, ue(pe(a.value)), null, 16)]));
1113
1134
  }
1114
- }), At = {
1135
+ }), Qt = {
1115
1136
  class: "editor-box"
1116
- }, Ft = {
1137
+ }, It = {
1117
1138
  class: "editor",
1118
1139
  id: "editor",
1119
1140
  style: {
1120
1141
  width: "100%"
1121
1142
  }
1122
- }, Dt = {
1143
+ }, Ft = {
1123
1144
  class: "editor-content flex flex-start"
1124
- }, It = ["id"], qt = ["innerHTML"], zt = /* @__PURE__ */ L({
1145
+ }, Kt = {
1146
+ style: {
1147
+ "margin-left": "auto"
1148
+ }
1149
+ }, Mt = ["id"], qt = ["innerHTML"], Ht = /* @__PURE__ */ L({
1125
1150
  __name: "index",
1126
- props: /* @__PURE__ */ ce({
1151
+ props: /* @__PURE__ */ de({
1127
1152
  reportId: {
1128
1153
  type: String,
1129
1154
  default: ""
@@ -1134,237 +1159,289 @@ const Ve = /* @__PURE__ */ L({
1134
1159
  }),
1135
1160
  emits: ["update:modelValue"],
1136
1161
  setup(o) {
1137
- const t = S(!1), e = {
1138
- Bar: we,
1139
- Line: Ce,
1140
- Pie: xe,
1162
+ const t = V(!1), e = {
1163
+ Bar: ye,
1164
+ Line: he,
1165
+ Pie: Ce,
1141
1166
  ReportSelect: ee,
1142
1167
  RangeTime: te,
1143
- ReportTable: $e,
1168
+ ReportTable: xe,
1144
1169
  ReportText: oe,
1145
- ReportChart: ke,
1146
- ReportDescribe: Ve
1147
- }, a = z(), r = o, n = me(o, "modelValue"), i = S([]), f = S([]), p = S([]), b = S(""), v = S("");
1148
- function c() {
1170
+ ReportChart: Be,
1171
+ ReportDescribe: Te
1172
+ }, a = I(), r = o, n = ce(o, "modelValue"), s = V([]), c = V([]), i = V([]), g = V(""), f = V("");
1173
+ function d() {
1149
1174
  n.value = "table";
1150
1175
  }
1151
- const w = (u) => {
1152
- p.value = u, g();
1153
- }, _ = (u) => {
1154
- u && u.length > 0 && (b.value = u[0], v.value = u[1]), g();
1155
- }, g = async () => {
1176
+ async function _(p) {
1177
+ Me({
1178
+ title: "提示",
1179
+ message: "正在生成导出中,请稍等...",
1180
+ type: "info"
1181
+ });
1182
+ const D = {
1183
+ export_format: p,
1184
+ select_data: i.value,
1185
+ report_uuid: r.reportId,
1186
+ start_time: g.value,
1187
+ end_time: f.value
1188
+ }, B = await vt(D), K = p === 1 ? "application/pdf" : "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1189
+ Ze(B.file_data, B.file_name, K);
1190
+ }
1191
+ const v = (p) => {
1192
+ i.value = p, x();
1193
+ }, y = (p) => {
1194
+ p && p.length > 0 && (g.value = p[0], f.value = p[1]), x();
1195
+ }, x = async () => {
1156
1196
  try {
1157
1197
  t.value = !0;
1158
- const u = {
1198
+ const p = {
1159
1199
  report_uuid: r.reportId,
1160
- start_time: b.value,
1161
- end_time: v.value,
1162
- select_data: p.value.join(",")
1163
- }, y = await Ge(u), A = [];
1164
- y.data.forEach((k) => {
1165
- (k.type === "report-select" || k.type === "range-time") && A.push(k);
1166
- }), i.value = A, y.data.splice(0, i.value.length), f.value = y.data, t.value = !1;
1167
- } catch (u) {
1168
- t.value = !1, console.error("Error setting loading state:", u);
1200
+ start_time: g.value,
1201
+ end_time: f.value,
1202
+ select_data: i.value.join(",")
1203
+ }, D = await We(p), B = [];
1204
+ D.data.forEach((K) => {
1205
+ (K.type === "report-select" || K.type === "range-time") && B.push(K);
1206
+ }), s.value = B, D.data.splice(0, s.value.length), c.value = D.data, t.value = !1;
1207
+ } catch (p) {
1208
+ t.value = !1, console.error("Error setting loading state:", p);
1169
1209
  }
1170
1210
  };
1171
- g();
1172
- const $ = () => l("div", null, [R("未找到对应组件")]), C = (u) => u === "h2" || u === "h3" || u === "h4" ? B(e, "ReportText") : u === "bar" || u === "pie" || u === "line" ? B(e, "ReportChart") : u ? B(e, u) : l($, null, null);
1173
- return (u, y) => {
1174
- const A = s("el-button"), k = s("el-card"), W = _e("loading");
1175
- return fe((m(), T(k, {
1211
+ x();
1212
+ const h = () => l("div", null, [U("未找到对应组件")]), b = (p) => p === "h2" || p === "h3" || p === "h4" ? F(e, "ReportText") : p === "bar" || p === "pie" || p === "line" ? F(e, "ReportChart") : p ? F(e, p) : l(h, null, null);
1213
+ return (p, D) => {
1214
+ const B = A("el-button"), K = A("el-card"), Le = me("loading");
1215
+ return fe((m(), k(K, {
1176
1216
  class: "editor view",
1177
1217
  "element-loading-text": "加载中..."
1178
1218
  }, {
1179
- default: d(() => [V("div", At, [l(kt, {
1180
- data: f.value
1181
- }, null, 8, ["data"]), V("div", Ft, [V("div", Dt, [(m(!0), x(E, null, I(i.value, (F) => (m(), x("div", {
1219
+ default: u(() => [T("div", Qt, [l(kt, {
1220
+ data: c.value
1221
+ }, null, 8, ["data"]), T("div", It, [T("div", Ft, [(m(!0), C(S, null, P(s.value, (E) => (m(), C("div", {
1182
1222
  class: "item-input",
1183
- key: F.id
1184
- }, [F.type === "report-select" ? (m(), T(ee, {
1223
+ key: E.id
1224
+ }, [E.type === "report-select" ? (m(), k(ee, {
1185
1225
  key: 0,
1186
- onChange: w,
1187
- value: F
1188
- }, null, 8, ["value"])) : U("", !0), F.type === "range-time" && h(a).filterForm.range_time ? (m(), T(te, {
1226
+ onChange: v,
1227
+ value: E
1228
+ }, null, 8, ["value"])) : R("", !0), E.type === "range-time" && w(a).filterForm.range_time ? (m(), k(te, {
1189
1229
  key: 1,
1190
- onChange: _,
1191
- value: F
1192
- }, null, 8, ["value"])) : U("", !0)]))), 128)), l(A, {
1193
- plain: "",
1194
- onClick: c,
1230
+ onChange: y,
1231
+ value: E
1232
+ }, null, 8, ["value"])) : R("", !0)]))), 128)), T("div", Kt, [D[5] || (D[5] = T("span", {
1233
+ class: "font-export"
1234
+ }, "导出为:", -1)), l(B, {
1235
+ link: "",
1236
+ onClick: D[0] || (D[0] = (E) => _(1)),
1237
+ title: "PDF",
1238
+ type: "primary",
1239
+ class: "custom-btn"
1240
+ }, {
1241
+ default: u(() => D[2] || (D[2] = [T("img", {
1242
+ style: {
1243
+ width: "25px",
1244
+ height: "25px"
1245
+ },
1246
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAHclJREFUeF7tnQl4VdW1x9eBEMaQgYSEQeYhJJEkDJIEAg4MEmyrtvpaoTi01ldU5InaZ18tjm1tHSo44VQncKjta1VAUkRFMgHmhpgbghAIMyGBkBAZgnL7rUODJLnn7HPvmW/++/v4Ypu9117nf9b+5Zx99l5bIotLclrGROpA15FPSvIRJUtEcRa7gO6ggGEK+IhqJCIvSb5yOkPLvSWFeYYZt8CQZEEf57pISc+a7yPfU1b2ib6ggJUKSCTdUebJX2xln3r6sgwAyemZPj2Ooi0UcJMCXk+BZWNLjy6WOJmSlvWmT/LN1uMo2kIBNykg+aRlZSX5c5zus+kASErPmCmRtNLpQsA/KGC0Aj7y5ZR7ClcZbddIe6YDICU9a7GPfLcb6TRsQQE3KCCRtKTMkz/fyb6aDoDkMZmryUfTnSwCfIMCpiggUa63uGCGKbYNMmo+ANIzDxJRvEH+wgwUcJMC1V5PQYKTHbYCAKqz/0VXzXKyPvANCqgqMOH/V6j+3ulfAwAABDgU0KEAACAQT/T9H08AOqIPTW1XAAAAAGwPQjhgnwI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+ onClick: D[1] || (D[1] = (E) => _(3)),
1253
+ title: "WORD",
1195
1254
  type: "primary",
1196
1255
  class: "custom-btn",
1256
+ style: {
1257
+ "margin-right": "5px"
1258
+ }
1259
+ }, {
1260
+ default: u(() => D[3] || (D[3] = [T("img", {
1261
+ style: {
1262
+ width: "25px",
1263
+ height: "25px"
1264
+ },
1265
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAFU9JREFUeF7tnQlwFlW2x09TD2d8WC6gI+M4+lxQB6IQl4EEFEEFRBFBBxhWkQEXEHAQUBEREZBFWQJhBkVAgRlAcJAlyCYqJBGELzhJkPEpOoBPQGRVtOTR792vjBXwS3cn3ff7urm/W0VpVe4995z/Pef39XrbkiS3mun1bq8klW63LftKsaW2iJyfZBeYDgWCVGC3WLLFsq1tx+V4TnEsPydI47ptWbonKG0/rU7mLNuyOyRzTuZCgWQqYNnW7MKC3I7JnNPPXEkDQK30DNuPo4xFgSgpUBTLS1pt+dElKU6mpWf2tsWe4MdRxqJAlBSwxOpTGMudGHaftQOgVp169cWy1oVdCPxDgcAVsO0GRQX56wO3G6BB/QC4tt5ksa2HA/QZUygQDQUsO7toc37PMDurHwDpGW+LyM1hFgHfUECTAmuLYnmNNNkOxKx2ANRMz9hjiZwXiLcYQYEIKWCL7C2O5f0qzC5rB4Db1f/+c9eEWR98QwFHBca0bez497DfDQAAJDgK+FAAALiIxxGAj+xiaOgVAAAAIPRJioP6FAAAAEBfdmE59AoAAAAQ+iTFQX0KAAAAoC+7sBx6BQAAAAh9kuKgPgUAAADQl11YDr0CAAAAhD5JcVCfAgAAAOjLLiyHXgEAAABCn6Q4qE8BAAAA9GUXlkOvAAAAAKFPUhzUpwAAAAD6sgvLoVcAAACA0CcpDupTAAAAAH3ZheXQKwAAAEDokxQH9SkAAACAvuzCcugVAAAAIPRJioP6FAAAAEBfdmE59AoAAAAQ+iTFQX0KAAAAoC+7sBx6BQAA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)])),
1268
+ _: 1
1269
+ }), l(B, {
1270
+ plain: "",
1271
+ onClick: d,
1272
+ type: "primary",
1273
+ class: "custom-btn exit-preview",
1197
1274
  style: {
1198
1275
  "margin-left": "auto"
1199
1276
  }
1200
1277
  }, {
1201
- default: d(() => y[0] || (y[0] = [R("退出预览")])),
1278
+ default: u(() => D[4] || (D[4] = [U("退出预览")])),
1202
1279
  _: 1
1203
- })]), (m(!0), x(E, null, I(f.value, (F) => (m(), x("div", {
1204
- key: F.id,
1205
- class: O(["editor-content", ["editor" + F.type]]),
1206
- id: F.id
1207
- }, [F.type !== "p" ? (m(), T(Y(C(F.type)), {
1280
+ })])]), (m(!0), C(S, null, P(c.value, (E) => (m(), C("div", {
1281
+ key: E.id,
1282
+ class: N(["editor-content", ["editor" + E.type]]),
1283
+ id: E.id
1284
+ }, [E.type !== "p" ? (m(), k(G(b(E.type)), {
1208
1285
  key: 0,
1209
- class: O(["editor" + F.type]),
1210
- value: F
1286
+ class: N(["editor" + E.type]),
1287
+ value: E
1211
1288
  }, {
1212
- default: d(() => [R(H(F.data), 1)]),
1289
+ default: u(() => [U(M(E.data), 1)]),
1213
1290
  _: 2
1214
- }, 1032, ["class", "value"])) : (m(), x("p", {
1291
+ }, 1032, ["class", "value"])) : (m(), C("p", {
1215
1292
  key: 1,
1216
- innerHTML: F.data
1217
- }, null, 8, qt))], 10, It))), 128))])])]),
1293
+ innerHTML: E.data
1294
+ }, null, 8, qt))], 10, Mt))), 128))])])]),
1218
1295
  _: 1
1219
- })), [[W, t.value]]);
1296
+ })), [[Le, t.value]]);
1220
1297
  };
1221
1298
  }
1222
1299
  });
1223
- const Se = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-db45c725"]]), Bt = {
1300
+ const Ve = /* @__PURE__ */ Y(Ht, [["__scopeId", "data-v-a8c32bde"]]), zt = {
1224
1301
  class: "editor"
1225
- }, Ht = {
1302
+ }, Nt = {
1226
1303
  class: "editor-content edit"
1227
- }, jt = ["onClick"], Pt = ["onClick"], Mt = ["innerHTML", "draggable"], Ot = /* @__PURE__ */ L({
1304
+ }, Yt = ["onClick"], Gt = ["onClick"], Xt = ["innerHTML", "draggable"], Jt = /* @__PURE__ */ L({
1228
1305
  __name: "Editor",
1229
1306
  setup(o) {
1230
1307
  const t = {
1231
- Bar: we,
1232
- Line: Ce,
1233
- Pie: xe,
1308
+ Bar: ye,
1309
+ Line: he,
1310
+ Pie: Ce,
1234
1311
  ReportSelect: ee,
1235
1312
  RangeTime: te,
1236
- ReportTable: $e,
1313
+ ReportTable: xe,
1237
1314
  ReportText: oe,
1238
- ReportChart: ke,
1239
- ReportDescribe: Ve
1315
+ ReportChart: Be,
1316
+ ReportDescribe: Te
1240
1317
  }, {
1241
1318
  componentList: e,
1242
1319
  activeComponents: a,
1243
1320
  notDraggableList: r,
1244
1321
  titleComponent: n
1245
- } = Be(z()), i = z(), f = (C) => {
1246
- e.value.forEach((u, y) => {
1247
- u.id === C && (e.value.splice(y, 1), i.activeComponents = []);
1322
+ } = Ke(I()), s = I(), c = (h) => {
1323
+ e.value.forEach((b, p) => {
1324
+ b.id === h && (e.value.splice(p, 1), s.activeComponents = []);
1248
1325
  });
1249
- }, p = (C) => {
1250
- i.setActiveComponents(C);
1251
- }, b = () => l("div", null, [R("未找到对应组件")]), v = (C) => C === "h2" || C === "h3" || C === "h4" ? B(t, "ReportText") : C === "bar" || C === "pie" || C === "line" ? B(t, "ReportChart") : C ? B(t, C) : l(b, null, null), c = (C) => {
1252
- console.log(C, "evt");
1253
- }, w = S(!1), _ = () => {
1254
- w.value = !0;
1255
- }, g = (C) => {
1256
- C.newIndex !== 0 && (console.log(C), w.value = !1);
1257
- }, $ = S();
1258
- return (C, u) => {
1259
- const y = s("CircleClose"), A = s("el-icon");
1260
- return m(), x("div", Bt, [V("div", {
1261
- class: O(["editor-content edit flex flex-start", [{
1262
- active: h(a).id === "filter"
1326
+ }, i = (h) => {
1327
+ s.setActiveComponents(h);
1328
+ }, g = () => l("div", null, [U("未找到对应组件")]), f = (h) => h === "h2" || h === "h3" || h === "h4" ? F(t, "ReportText") : h === "bar" || h === "pie" || h === "line" ? F(t, "ReportChart") : h ? F(t, h) : l(g, null, null), d = (h) => {
1329
+ console.log(h, "evt");
1330
+ }, _ = V(!1), v = () => {
1331
+ _.value = !0;
1332
+ }, y = (h) => {
1333
+ h.newIndex !== 0 && (console.log(h), _.value = !1);
1334
+ }, x = V();
1335
+ return (h, b) => {
1336
+ const p = A("CircleClose"), D = A("el-icon");
1337
+ return m(), C("div", zt, [T("div", {
1338
+ class: N(["editor-content edit flex flex-start", [{
1339
+ active: w(a).id === "filter"
1263
1340
  }]]),
1264
- onClick: u[0] || (u[0] = (k) => p({
1341
+ onClick: b[0] || (b[0] = (B) => i({
1265
1342
  id: "filter",
1266
1343
  type: "filter"
1267
1344
  }))
1268
- }, [(m(!0), x(E, null, I(h(r), (k) => (m(), x("div", {
1345
+ }, [(m(!0), C(S, null, P(w(r), (B) => (m(), C("div", {
1269
1346
  class: "item-input",
1270
- key: k.id
1271
- }, [k.type === "report-select" || k.type === "range-time" && h(i).filterForm.range_time ? (m(), T(Y(h(B)(t, k.type)), {
1347
+ key: B.id
1348
+ }, [B.type === "report-select" || B.type === "range-time" && w(s).filterForm.range_time ? (m(), k(G(w(F)(t, B.type)), {
1272
1349
  key: 0,
1273
- value: k
1350
+ value: B
1274
1351
  }, {
1275
- default: d(() => [R(H(k.data), 1)]),
1352
+ default: u(() => [U(M(B.data), 1)]),
1276
1353
  _: 2
1277
- }, 1032, ["value"])) : U("", !0)]))), 128))], 2), V("div", Ht, [l(oe, {
1278
- value: h(n),
1279
- onClick: u[1] || (u[1] = (k) => p(h(n)))
1280
- }, null, 8, ["value"])]), l(h(je), {
1354
+ }, 1032, ["value"])) : R("", !0)]))), 128))], 2), T("div", Nt, [l(oe, {
1355
+ value: w(n),
1356
+ onClick: b[1] || (b[1] = (B) => i(w(n)))
1357
+ }, null, 8, ["value"])]), l(w(He), {
1281
1358
  ref_key: "el",
1282
- ref: $,
1283
- modelValue: h(e),
1284
- "onUpdate:modelValue": u[2] || (u[2] = (k) => Ue(e) ? e.value = k : null),
1285
- "on-change": c,
1359
+ ref: x,
1360
+ modelValue: w(e),
1361
+ "onUpdate:modelValue": b[2] || (b[2] = (B) => Ee(e) ? e.value = B : null),
1362
+ "on-change": d,
1286
1363
  animation: 150,
1287
- onStart: _,
1288
- onEnd: g
1364
+ onStart: v,
1365
+ onEnd: y
1289
1366
  }, {
1290
- default: d(() => [(m(!0), x(E, null, I(h(e), (k) => (m(), x("div", {
1291
- key: k.id,
1292
- class: O(["editor-content edit", ["editor" + k.type, {
1293
- active: k.id === h(a).id
1367
+ default: u(() => [(m(!0), C(S, null, P(w(e), (B) => (m(), C("div", {
1368
+ key: B.id,
1369
+ class: N(["editor-content edit", ["editor" + B.type, {
1370
+ active: B.id === w(a).id
1294
1371
  }]]),
1295
- onClick: (W) => p(k)
1296
- }, [V("i", {
1297
- onClick: Ee((W) => f(k.id), ["stop"]),
1372
+ onClick: (K) => i(B)
1373
+ }, [T("i", {
1374
+ onClick: Re((K) => c(B.id), ["stop"]),
1298
1375
  style: {
1299
1376
  "z-index": "99"
1300
1377
  }
1301
- }, [l(A, {
1378
+ }, [l(D, {
1302
1379
  size: "16px",
1303
1380
  color: "red"
1304
1381
  }, {
1305
- default: d(() => [l(y)]),
1382
+ default: u(() => [l(p)]),
1306
1383
  _: 1
1307
- })], 8, Pt), k.type !== "p" ? (m(), T(Y(v(k.type)), {
1384
+ })], 8, Gt), B.type !== "p" ? (m(), k(G(f(B.type)), {
1308
1385
  key: 0,
1309
- class: O(["editor" + k.type]),
1310
- value: k,
1311
- draggable: w.value
1386
+ class: N(["editor" + B.type]),
1387
+ value: B,
1388
+ draggable: _.value
1312
1389
  }, {
1313
- default: d(() => [R(H(k.data), 1)]),
1390
+ default: u(() => [U(M(B.data), 1)]),
1314
1391
  _: 2
1315
- }, 1032, ["class", "value", "draggable"])) : (m(), x("p", {
1392
+ }, 1032, ["class", "value", "draggable"])) : (m(), C("p", {
1316
1393
  key: 1,
1317
- innerHTML: k.data,
1318
- draggable: w.value
1319
- }, null, 8, Mt))], 10, jt))), 128))]),
1394
+ innerHTML: B.data,
1395
+ draggable: _.value
1396
+ }, null, 8, Xt))], 10, Yt))), 128))]),
1320
1397
  _: 1
1321
1398
  }, 8, ["modelValue"])]);
1322
1399
  };
1323
1400
  }
1324
- }), Nt = { class: "label" }, Wt = { class: "flex item-switch" }, Yt = { class: "flex item-switch" }, Kt = { class: "flex item-switch" }, Te = /* @__PURE__ */ L({
1401
+ }), Zt = { class: "label" }, jt = { class: "flex item-switch" }, Wt = { class: "flex item-switch" }, $t = { class: "flex item-switch" }, De = /* @__PURE__ */ L({
1325
1402
  __name: "SettingTable",
1326
1403
  setup(o) {
1327
- const t = z(), e = q(() => t.getActiveComponents);
1404
+ const t = I(), e = Q(() => t.getActiveComponents);
1328
1405
  return (a, r) => {
1329
- const n = s("el-switch"), i = s("el-form-item"), f = s("el-divider");
1330
- return m(), x("div", null, [
1331
- l(i, { label: "控制列" }, {
1332
- default: d(() => [
1333
- (m(!0), x(E, null, I(e.value.showColumn, (p, b) => (m(), x("p", {
1406
+ const n = A("el-switch"), s = A("el-form-item"), c = A("el-divider");
1407
+ return m(), C("div", null, [
1408
+ l(s, { label: "控制列" }, {
1409
+ default: u(() => [
1410
+ (m(!0), C(S, null, P(e.value.showColumn, (i, g) => (m(), C("p", {
1334
1411
  class: "flex item-switch",
1335
- key: b
1412
+ key: g
1336
1413
  }, [
1337
- V("span", Nt, H(p.name), 1),
1414
+ T("span", Zt, M(i.name), 1),
1338
1415
  l(n, {
1339
- modelValue: e.value.options.showColumn[p.key],
1340
- "onUpdate:modelValue": (v) => e.value.options.showColumn[p.key] = v
1416
+ modelValue: e.value.options.showColumn[i.key],
1417
+ "onUpdate:modelValue": (f) => e.value.options.showColumn[i.key] = f
1341
1418
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1342
1419
  ]))), 128))
1343
1420
  ]),
1344
1421
  _: 1
1345
1422
  }),
1346
- l(f),
1347
- l(i, { label: "表格样式" }, {
1348
- default: d(() => [
1349
- V("p", Wt, [
1350
- r[3] || (r[3] = V("span", { class: "label" }, "斑马纹", -1)),
1423
+ l(c),
1424
+ l(s, { label: "表格样式" }, {
1425
+ default: u(() => [
1426
+ T("p", jt, [
1427
+ r[3] || (r[3] = T("span", { class: "label" }, "斑马纹", -1)),
1351
1428
  l(n, {
1352
1429
  modelValue: e.value.options.stripe,
1353
- "onUpdate:modelValue": r[0] || (r[0] = (p) => e.value.options.stripe = p)
1430
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => e.value.options.stripe = i)
1354
1431
  }, null, 8, ["modelValue"])
1355
1432
  ]),
1356
- V("p", Yt, [
1357
- r[4] || (r[4] = V("span", { class: "label" }, "边框", -1)),
1433
+ T("p", Wt, [
1434
+ r[4] || (r[4] = T("span", { class: "label" }, "边框", -1)),
1358
1435
  l(n, {
1359
1436
  modelValue: e.value.options.border,
1360
- "onUpdate:modelValue": r[1] || (r[1] = (p) => e.value.options.border = p)
1437
+ "onUpdate:modelValue": r[1] || (r[1] = (i) => e.value.options.border = i)
1361
1438
  }, null, 8, ["modelValue"])
1362
1439
  ]),
1363
- V("p", Kt, [
1364
- r[5] || (r[5] = V("span", { class: "label" }, "表头", -1)),
1440
+ T("p", $t, [
1441
+ r[5] || (r[5] = T("span", { class: "label" }, "表头", -1)),
1365
1442
  l(n, {
1366
1443
  modelValue: e.value.options.showHeader,
1367
- "onUpdate:modelValue": r[2] || (r[2] = (p) => e.value.options.showHeader = p)
1444
+ "onUpdate:modelValue": r[2] || (r[2] = (i) => e.value.options.showHeader = i)
1368
1445
  }, null, 8, ["modelValue"])
1369
1446
  ])
1370
1447
  ]),
@@ -1373,85 +1450,85 @@ const Se = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-db45c725"]]), Bt = {
1373
1450
  ]);
1374
1451
  };
1375
1452
  }
1376
- }), Gt = { key: 0 }, Jt = /* @__PURE__ */ L({
1453
+ }), eo = { key: 0 }, to = /* @__PURE__ */ L({
1377
1454
  __name: "ChartsUniConfig",
1378
1455
  setup(o) {
1379
- const t = z(), e = q(() => t.activeComponents);
1456
+ const t = I(), e = Q(() => t.activeComponents);
1380
1457
  function a(r) {
1381
1458
  r ? (e.value.options.series[0].radius = ["10%", "65%"], e.value.options.graphic[0].invisible = !0, e.value.options.graphic[1].invisible = !0) : (e.value.options.series[0].radius = ["45%", "70%"], e.value.options.graphic[0].invisible = !1, e.value.options.graphic[1].invisible = !1);
1382
1459
  }
1383
- return S("rgb(46, 145, 255)"), (r, n) => {
1384
- const i = s("el-input"), f = s("el-form-item"), p = s("el-switch"), b = s("el-col"), v = s("el-color-picker"), c = s("el-input-number"), w = s("el-row"), _ = s("el-collapse-item"), g = s("el-collapse");
1385
- return e.value.options.title ? (m(), x("div", Gt, [
1386
- l(f, { label: "标题" }, {
1387
- default: d(() => [
1388
- l(i, {
1460
+ return V("rgb(46, 145, 255)"), (r, n) => {
1461
+ const s = A("el-input"), c = A("el-form-item"), i = A("el-switch"), g = A("el-col"), f = A("el-color-picker"), d = A("el-input-number"), _ = A("el-row"), v = A("el-collapse-item"), y = A("el-collapse");
1462
+ return e.value.options.title ? (m(), C("div", eo, [
1463
+ l(c, { label: "标题" }, {
1464
+ default: u(() => [
1465
+ l(s, {
1389
1466
  modelValue: e.value.options.title.text,
1390
- "onUpdate:modelValue": n[0] || (n[0] = ($) => e.value.options.title.text = $)
1467
+ "onUpdate:modelValue": n[0] || (n[0] = (x) => e.value.options.title.text = x)
1391
1468
  }, null, 8, ["modelValue"])
1392
1469
  ]),
1393
1470
  _: 1
1394
1471
  }),
1395
- l(g, null, {
1396
- default: d(() => [
1397
- l(_, {
1472
+ l(y, null, {
1473
+ default: u(() => [
1474
+ l(v, {
1398
1475
  title: "标题配置",
1399
1476
  name: "1"
1400
1477
  }, {
1401
- default: d(() => [
1402
- l(w, { class: "w-100%" }, {
1403
- default: d(() => [
1404
- l(b, { span: 24 }, {
1405
- default: d(() => [
1406
- n[8] || (n[8] = V("span", { class: "switch-label" }, "显示标题", -1)),
1407
- l(p, {
1478
+ default: u(() => [
1479
+ l(_, { class: "w-100%" }, {
1480
+ default: u(() => [
1481
+ l(g, { span: 24 }, {
1482
+ default: u(() => [
1483
+ n[8] || (n[8] = T("span", { class: "switch-label" }, "显示标题", -1)),
1484
+ l(i, {
1408
1485
  modelValue: e.value.options.title.show,
1409
- "onUpdate:modelValue": n[1] || (n[1] = ($) => e.value.options.title.show = $)
1486
+ "onUpdate:modelValue": n[1] || (n[1] = (x) => e.value.options.title.show = x)
1410
1487
  }, null, 8, ["modelValue"])
1411
1488
  ]),
1412
1489
  _: 1
1413
1490
  }),
1414
- l(b, { span: 12 }, {
1415
- default: d(() => [
1416
- l(v, {
1491
+ l(g, { span: 12 }, {
1492
+ default: u(() => [
1493
+ l(f, {
1417
1494
  modelValue: e.value.options.title.textStyle.color,
1418
- "onUpdate:modelValue": n[2] || (n[2] = ($) => e.value.options.title.textStyle.color = $),
1495
+ "onUpdate:modelValue": n[2] || (n[2] = (x) => e.value.options.title.textStyle.color = x),
1419
1496
  "show-alpha": ""
1420
1497
  }, null, 8, ["modelValue"]),
1421
- n[9] || (n[9] = V("p", { class: "sub-title" }, "颜色", -1))
1498
+ n[9] || (n[9] = T("p", { class: "sub-title" }, "颜色", -1))
1422
1499
  ]),
1423
1500
  _: 1
1424
1501
  }),
1425
- l(b, { span: 12 }, {
1426
- default: d(() => [
1427
- l(c, {
1502
+ l(g, { span: 12 }, {
1503
+ default: u(() => [
1504
+ l(d, {
1428
1505
  modelValue: e.value.options.title.textStyle.fontSize,
1429
- "onUpdate:modelValue": n[3] || (n[3] = ($) => e.value.options.title.textStyle.fontSize = $),
1506
+ "onUpdate:modelValue": n[3] || (n[3] = (x) => e.value.options.title.textStyle.fontSize = x),
1430
1507
  "controls-position": "right"
1431
1508
  }, null, 8, ["modelValue"]),
1432
- n[10] || (n[10] = V("p", { class: "sub-title" }, "字体大小", -1))
1509
+ n[10] || (n[10] = T("p", { class: "sub-title" }, "字体大小", -1))
1433
1510
  ]),
1434
1511
  _: 1
1435
1512
  }),
1436
- l(b, { span: 12 }, {
1437
- default: d(() => [
1438
- l(c, {
1513
+ l(g, { span: 12 }, {
1514
+ default: u(() => [
1515
+ l(d, {
1439
1516
  modelValue: e.value.options.title.x,
1440
- "onUpdate:modelValue": n[4] || (n[4] = ($) => e.value.options.title.x = $),
1517
+ "onUpdate:modelValue": n[4] || (n[4] = (x) => e.value.options.title.x = x),
1441
1518
  "controls-position": "right"
1442
1519
  }, null, 8, ["modelValue"]),
1443
- n[11] || (n[11] = V("p", { class: "sub-title" }, "横向", -1))
1520
+ n[11] || (n[11] = T("p", { class: "sub-title" }, "横向", -1))
1444
1521
  ]),
1445
1522
  _: 1
1446
1523
  }),
1447
- l(b, { span: 12 }, {
1448
- default: d(() => [
1449
- l(c, {
1524
+ l(g, { span: 12 }, {
1525
+ default: u(() => [
1526
+ l(d, {
1450
1527
  modelValue: e.value.options.title.y,
1451
- "onUpdate:modelValue": n[5] || (n[5] = ($) => e.value.options.title.y = $),
1528
+ "onUpdate:modelValue": n[5] || (n[5] = (x) => e.value.options.title.y = x),
1452
1529
  "controls-position": "right"
1453
1530
  }, null, 8, ["modelValue"]),
1454
- n[12] || (n[12] = V("p", { class: "sub-title" }, "纵向", -1))
1531
+ n[12] || (n[12] = T("p", { class: "sub-title" }, "纵向", -1))
1455
1532
  ]),
1456
1533
  _: 1
1457
1534
  })
@@ -1461,45 +1538,45 @@ const Se = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-db45c725"]]), Bt = {
1461
1538
  ]),
1462
1539
  _: 1
1463
1540
  }),
1464
- l(_, {
1541
+ l(v, {
1465
1542
  title: "图形配置",
1466
1543
  name: "2"
1467
1544
  }, {
1468
- default: d(() => [
1469
- e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (m(), T(w, { key: 0 }, {
1470
- default: d(() => [
1471
- l(b, { span: 24 }, {
1472
- default: d(() => [
1473
- n[13] || (n[13] = V("span", { class: "switch-label" }, "玫瑰图", -1)),
1474
- l(p, {
1545
+ default: u(() => [
1546
+ e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (m(), k(_, { key: 0 }, {
1547
+ default: u(() => [
1548
+ l(g, { span: 24 }, {
1549
+ default: u(() => [
1550
+ n[13] || (n[13] = T("span", { class: "switch-label" }, "玫瑰图", -1)),
1551
+ l(i, {
1475
1552
  onChange: a,
1476
1553
  modelValue: e.value.options.series[0].roseType,
1477
- "onUpdate:modelValue": n[6] || (n[6] = ($) => e.value.options.series[0].roseType = $)
1554
+ "onUpdate:modelValue": n[6] || (n[6] = (x) => e.value.options.series[0].roseType = x)
1478
1555
  }, null, 8, ["modelValue"])
1479
1556
  ]),
1480
1557
  _: 1
1481
1558
  })
1482
1559
  ]),
1483
1560
  _: 1
1484
- })) : U("", !0)
1561
+ })) : R("", !0)
1485
1562
  ]),
1486
1563
  _: 1
1487
1564
  }),
1488
- l(_, {
1565
+ l(v, {
1489
1566
  title: "图例配置",
1490
1567
  name: "3"
1491
1568
  }, {
1492
- default: d(() => [
1493
- l(w, null, {
1494
- default: d(() => [
1495
- l(b, { span: 24 }, {
1496
- default: d(() => [
1497
- n[14] || (n[14] = V("span", { class: "switch-label" }, "显示图例", -1)),
1498
- e.value.options.legend ? (m(), T(p, {
1569
+ default: u(() => [
1570
+ l(_, null, {
1571
+ default: u(() => [
1572
+ l(g, { span: 24 }, {
1573
+ default: u(() => [
1574
+ n[14] || (n[14] = T("span", { class: "switch-label" }, "显示图例", -1)),
1575
+ e.value.options.legend ? (m(), k(i, {
1499
1576
  key: 0,
1500
1577
  modelValue: e.value.options.legend.show,
1501
- "onUpdate:modelValue": n[7] || (n[7] = ($) => e.value.options.legend.show = $)
1502
- }, null, 8, ["modelValue"])) : U("", !0)
1578
+ "onUpdate:modelValue": n[7] || (n[7] = (x) => e.value.options.legend.show = x)
1579
+ }, null, 8, ["modelValue"])) : R("", !0)
1503
1580
  ]),
1504
1581
  _: 1
1505
1582
  })
@@ -1512,40 +1589,40 @@ const Se = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-db45c725"]]), Bt = {
1512
1589
  ]),
1513
1590
  _: 1
1514
1591
  })
1515
- ])) : U("", !0);
1592
+ ])) : R("", !0);
1516
1593
  };
1517
1594
  }
1518
1595
  });
1519
- const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @__PURE__ */ L({
1596
+ const oo = /* @__PURE__ */ Y(to, [["__scopeId", "data-v-e9859d3b"]]), ke = /* @__PURE__ */ L({
1520
1597
  __name: "SettingDescribe",
1521
1598
  setup(o) {
1522
- const t = z(), e = q(() => t.getActiveComponents);
1599
+ const t = I(), e = Q(() => t.getActiveComponents);
1523
1600
  return (a, r) => {
1524
- const n = s("el-input"), i = s("el-form-item"), f = s("el-switch"), p = s("el-input-number"), b = s("el-radio"), v = s("el-radio-group");
1525
- return m(), x("div", null, [
1526
- l(i, { label: "标题" }, {
1527
- default: d(() => [
1601
+ const n = A("el-input"), s = A("el-form-item"), c = A("el-switch"), i = A("el-input-number"), g = A("el-radio"), f = A("el-radio-group");
1602
+ return m(), C("div", null, [
1603
+ l(s, { label: "标题" }, {
1604
+ default: u(() => [
1528
1605
  l(n, {
1529
1606
  modelValue: e.value.options.title,
1530
- "onUpdate:modelValue": r[0] || (r[0] = (c) => e.value.options.title = c)
1607
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => e.value.options.title = d)
1531
1608
  }, null, 8, ["modelValue"])
1532
1609
  ]),
1533
1610
  _: 1
1534
1611
  }),
1535
- l(i, { label: "边框" }, {
1536
- default: d(() => [
1537
- l(f, {
1612
+ l(s, { label: "边框" }, {
1613
+ default: u(() => [
1614
+ l(c, {
1538
1615
  modelValue: e.value.options.border,
1539
- "onUpdate:modelValue": r[1] || (r[1] = (c) => e.value.options.border = c)
1616
+ "onUpdate:modelValue": r[1] || (r[1] = (d) => e.value.options.border = d)
1540
1617
  }, null, 8, ["modelValue"])
1541
1618
  ]),
1542
1619
  _: 1
1543
1620
  }),
1544
- l(i, { label: "每行展示数量" }, {
1545
- default: d(() => [
1546
- l(p, {
1621
+ l(s, { label: "每行展示数量" }, {
1622
+ default: u(() => [
1623
+ l(i, {
1547
1624
  modelValue: e.value.options.column,
1548
- "onUpdate:modelValue": r[2] || (r[2] = (c) => e.value.options.column = c),
1625
+ "onUpdate:modelValue": r[2] || (r[2] = (d) => e.value.options.column = d),
1549
1626
  min: 1,
1550
1627
  max: 10,
1551
1628
  controls: !1
@@ -1553,22 +1630,22 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1553
1630
  ]),
1554
1631
  _: 1
1555
1632
  }),
1556
- l(i, { label: "排列方向" }, {
1557
- default: d(() => [
1558
- l(v, {
1633
+ l(s, { label: "排列方向" }, {
1634
+ default: u(() => [
1635
+ l(f, {
1559
1636
  modelValue: e.value.options.direction,
1560
- "onUpdate:modelValue": r[3] || (r[3] = (c) => e.value.options.direction = c)
1637
+ "onUpdate:modelValue": r[3] || (r[3] = (d) => e.value.options.direction = d)
1561
1638
  }, {
1562
- default: d(() => [
1563
- l(b, { value: "horizontal" }, {
1564
- default: d(() => r[4] || (r[4] = [
1565
- R("横向")
1639
+ default: u(() => [
1640
+ l(g, { value: "horizontal" }, {
1641
+ default: u(() => r[4] || (r[4] = [
1642
+ U("横向")
1566
1643
  ])),
1567
1644
  _: 1
1568
1645
  }),
1569
- l(b, { value: "vertical" }, {
1570
- default: d(() => r[5] || (r[5] = [
1571
- R("纵向")
1646
+ l(g, { value: "vertical" }, {
1647
+ default: u(() => r[5] || (r[5] = [
1648
+ U("纵向")
1572
1649
  ])),
1573
1650
  _: 1
1574
1651
  })
@@ -1581,79 +1658,79 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1581
1658
  ]);
1582
1659
  };
1583
1660
  }
1584
- }), Xt = /* @__PURE__ */ L({
1661
+ }), lo = /* @__PURE__ */ L({
1585
1662
  __name: "SettingCharts",
1586
1663
  setup(o) {
1587
- const t = z(), e = S(!1), a = q(() => t.getActiveComponents), r = [
1664
+ const t = I(), e = V(!1), a = Q(() => t.getActiveComponents), r = [
1588
1665
  { value: "report-describe", name: "描述列表" },
1589
1666
  { value: "report-table", name: "表格" },
1590
1667
  { value: "line", name: "趋势图" },
1591
1668
  { value: "pie", name: "扇形图" },
1592
1669
  { value: "bar", name: "柱状图" }
1593
- ], n = S(""), i = S();
1594
- async function f(v) {
1595
- const c = await be({
1670
+ ], n = V(""), s = V();
1671
+ async function c(f) {
1672
+ const d = await ge({
1596
1673
  prod_type: window.$prodType,
1597
- chart_type: v,
1674
+ chart_type: f,
1598
1675
  filter_uuid: t.filterForm.filter_uuid
1599
1676
  });
1600
- i.value = c.data;
1677
+ s.value = d.data;
1601
1678
  }
1602
- function p(v) {
1603
- let c = i.value.find((_) => _.rp_item_uuid === v);
1604
- const w = c.rp_item_content;
1605
- if (c.rp_item_content.type === "bar" && (w.options = Q()), w.type === "pie" && (w.options = ae({ isLegend: !0 })), w.type === "line") {
1606
- let _ = [];
1607
- w.data.forEach(($) => {
1608
- _ = $.data.map((C, u) => ({ name: C.name, value: "value" + u }));
1679
+ function i(f) {
1680
+ let d = s.value.find((v) => v.rp_item_uuid === f);
1681
+ const _ = d.rp_item_content;
1682
+ if (d.rp_item_content.type === "bar" && (_.options = j()), _.type === "pie" && (_.options = ae({ isLegend: !0 })), _.type === "line") {
1683
+ let v = [];
1684
+ _.data.forEach((x) => {
1685
+ v = x.data.map((h, b) => ({ name: h.name, value: "value" + b }));
1609
1686
  });
1610
- const g = {
1687
+ const y = {
1611
1688
  name: "name",
1612
- value: _
1689
+ value: v
1613
1690
  };
1614
- w.options = J([], g);
1691
+ _.options = Z([], y);
1615
1692
  }
1616
- if (w.type === "report-table") {
1617
- const _ = {};
1618
- w.showColumn.forEach((g) => {
1619
- _[g.key] = !0;
1620
- }), w.options = { ...w.options, showColumn: _, border: !0, showHeader: !0, stripe: !1 };
1693
+ if (_.type === "report-table") {
1694
+ const v = {};
1695
+ _.showColumn.forEach((y) => {
1696
+ v[y.key] = !0;
1697
+ }), _.options = { ..._.options, showColumn: v, border: !0, showHeader: !0, stripe: !1 };
1621
1698
  }
1622
- w.type === "report-describe" && (w.options = { ...w.options, title: "", border: !0, column: 1, direction: "horizontal", ...a.value.options }), Object.assign(t.activeComponents, w), t.activeComponents.rp_item_uuid = c.rp_item_uuid;
1699
+ _.type === "report-describe" && (_.options = { ..._.options, title: "", border: !0, column: 1, direction: "horizontal", ...a.value.options }), Object.assign(t.activeComponents, _), t.activeComponents.rp_item_uuid = d.rp_item_uuid;
1623
1700
  }
1624
1701
  le(async () => {
1625
- n.value = a.value.type, await f(n.value);
1702
+ n.value = a.value.type, await c(n.value);
1626
1703
  });
1627
- async function b(v) {
1704
+ async function g(f) {
1628
1705
  try {
1629
- e.value = !0, await f(v), Object.assign(t.activeComponents, wt(v)), e.value = !1;
1706
+ e.value = !0, await c(f), Object.assign(t.activeComponents, Bt(f)), e.value = !1;
1630
1707
  } catch {
1631
1708
  e.value = !1;
1632
1709
  }
1633
1710
  }
1634
- return Ae(
1711
+ return Se(
1635
1712
  () => a.value,
1636
- (v) => {
1637
- console.log(v, "activeComponents"), ~["bar", "pie", "line", "report-table", "report-describe"].indexOf(v.type) && (n.value = a.value.type, f(n.value));
1713
+ (f) => {
1714
+ console.log(f, "activeComponents"), ~["bar", "pie", "line", "report-table", "report-describe"].indexOf(f.type) && (n.value = a.value.type, c(n.value));
1638
1715
  }
1639
- ), (v, c) => {
1640
- const w = s("el-option"), _ = s("el-select"), g = s("el-form-item"), $ = s("el-form"), C = _e("loading");
1641
- return fe((m(), x("div", null, [
1642
- l($, { "label-position": "top" }, {
1643
- default: d(() => [
1644
- l(g, { label: "图表类型" }, {
1645
- default: d(() => [
1646
- l(_, {
1716
+ ), (f, d) => {
1717
+ const _ = A("el-option"), v = A("el-select"), y = A("el-form-item"), x = A("el-form"), h = me("loading");
1718
+ return fe((m(), C("div", null, [
1719
+ l(x, { "label-position": "top" }, {
1720
+ default: u(() => [
1721
+ l(y, { label: "图表类型" }, {
1722
+ default: u(() => [
1723
+ l(v, {
1647
1724
  style: { width: "100%" },
1648
1725
  modelValue: n.value,
1649
- "onUpdate:modelValue": c[0] || (c[0] = (u) => n.value = u),
1650
- onChange: b
1726
+ "onUpdate:modelValue": d[0] || (d[0] = (b) => n.value = b),
1727
+ onChange: g
1651
1728
  }, {
1652
- default: d(() => [
1653
- (m(), x(E, null, I(r, (u, y) => l(w, {
1654
- key: y,
1655
- label: u.name,
1656
- value: u.value
1729
+ default: u(() => [
1730
+ (m(), C(S, null, P(r, (b, p) => l(_, {
1731
+ key: p,
1732
+ label: b.name,
1733
+ value: b.value
1657
1734
  }, null, 8, ["label", "value"])), 64))
1658
1735
  ]),
1659
1736
  _: 1
@@ -1661,19 +1738,19 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1661
1738
  ]),
1662
1739
  _: 1
1663
1740
  }),
1664
- l(g, { label: "组件库" }, {
1665
- default: d(() => [
1666
- l(_, {
1741
+ l(y, { label: "组件库" }, {
1742
+ default: u(() => [
1743
+ l(v, {
1667
1744
  style: { width: "100%" },
1668
- modelValue: h(t).activeComponents.rp_item_uuid,
1669
- "onUpdate:modelValue": c[1] || (c[1] = (u) => h(t).activeComponents.rp_item_uuid = u),
1670
- onChange: p
1745
+ modelValue: w(t).activeComponents.rp_item_uuid,
1746
+ "onUpdate:modelValue": d[1] || (d[1] = (b) => w(t).activeComponents.rp_item_uuid = b),
1747
+ onChange: i
1671
1748
  }, {
1672
- default: d(() => [
1673
- (m(!0), x(E, null, I(i.value, (u, y) => (m(), T(w, {
1674
- key: y,
1675
- label: u.rp_item_name,
1676
- value: u.rp_item_uuid
1749
+ default: u(() => [
1750
+ (m(!0), C(S, null, P(s.value, (b, p) => (m(), k(_, {
1751
+ key: p,
1752
+ label: b.rp_item_name,
1753
+ value: b.rp_item_uuid
1677
1754
  }, null, 8, ["label", "value"]))), 128))
1678
1755
  ]),
1679
1756
  _: 1
@@ -1681,31 +1758,31 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1681
1758
  ]),
1682
1759
  _: 1
1683
1760
  }),
1684
- n.value === "report-table" && a.value.options.showColumn ? (m(), T(Te, { key: 0 })) : U("", !0),
1685
- n.value === "pie" || n.value === "bar" || n.value === "line" ? (m(), T(Qt, { key: 1 })) : U("", !0),
1686
- n.value === "report-describe" ? (m(), T(Le, { key: 2 })) : U("", !0)
1761
+ n.value === "report-table" && a.value.options.showColumn ? (m(), k(De, { key: 0 })) : R("", !0),
1762
+ n.value === "pie" || n.value === "bar" || n.value === "line" ? (m(), k(oo, { key: 1 })) : R("", !0),
1763
+ n.value === "report-describe" ? (m(), k(ke, { key: 2 })) : R("", !0)
1687
1764
  ]),
1688
1765
  _: 1
1689
1766
  })
1690
1767
  ])), [
1691
- [C, e.value]
1768
+ [h, e.value]
1692
1769
  ]);
1693
1770
  };
1694
1771
  }
1695
- }), Zt = { key: 0 }, eo = { style: { border: "1px solid #ccc", "border-radius": "3px" } }, ie = "default", to = /* @__PURE__ */ L({
1772
+ }), no = { key: 0 }, ao = { style: { border: "1px solid #ccc", "border-radius": "3px" } }, se = "default", ro = /* @__PURE__ */ L({
1696
1773
  __name: "SettingText",
1697
1774
  setup(o) {
1698
- const t = z(), e = Fe(), a = S();
1699
- function r(v) {
1700
- const c = a.value.find((w) => w.rp_item_uuid === v);
1701
- t.activeComponents.uri = c.rp_item_content.uri, e.value.setHtml((c == null ? void 0 : c.rp_item_content.data) || "");
1775
+ const t = I(), e = Oe(), a = V();
1776
+ function r(f) {
1777
+ const d = a.value.find((_) => _.rp_item_uuid === f);
1778
+ t.activeComponents.uri = d.rp_item_content.uri, e.value.setHtml((d == null ? void 0 : d.rp_item_content.data) || "");
1702
1779
  }
1703
1780
  async function n() {
1704
- const v = await be({ prod_type: window.$prodType, chart_type: "p", filter_uuid: t.filterForm.filter_uuid });
1705
- a.value = v.data;
1781
+ const f = await ge({ prod_type: window.$prodType, chart_type: "p", filter_uuid: t.filterForm.filter_uuid });
1782
+ a.value = f.data;
1706
1783
  }
1707
1784
  n();
1708
- const i = {
1785
+ const s = {
1709
1786
  toolbarKeys: [
1710
1787
  "bold",
1711
1788
  "underline",
@@ -1727,31 +1804,31 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1727
1804
  "justifyJustify",
1728
1805
  "lineHeight"
1729
1806
  ]
1730
- }, f = { placeholder: "请输入内容..." }, p = (v) => {
1731
- e.value = v;
1732
- }, b = (v) => {
1807
+ }, c = { placeholder: "请输入内容..." }, i = (f) => {
1808
+ e.value = f;
1809
+ }, g = (f) => {
1733
1810
  };
1734
- return De(() => {
1735
- const v = e.value;
1736
- v != null && v.destroy();
1737
- }), (v, c) => {
1738
- const w = s("el-option"), _ = s("el-select"), g = s("el-form-item"), $ = s("el-form");
1739
- return h(t).activeComponents.id ? (m(), x("div", Zt, [
1740
- l($, { "label-position": "top" }, {
1741
- default: d(() => [
1742
- l(g, { label: "组件库" }, {
1743
- default: d(() => [
1744
- l(_, {
1811
+ return Pe(() => {
1812
+ const f = e.value;
1813
+ f != null && f.destroy();
1814
+ }), (f, d) => {
1815
+ const _ = A("el-option"), v = A("el-select"), y = A("el-form-item"), x = A("el-form");
1816
+ return w(t).activeComponents.id ? (m(), C("div", no, [
1817
+ l(x, { "label-position": "top" }, {
1818
+ default: u(() => [
1819
+ l(y, { label: "组件库" }, {
1820
+ default: u(() => [
1821
+ l(v, {
1745
1822
  style: { width: "100%" },
1746
- modelValue: h(t).activeComponents.rp_item_uuid,
1747
- "onUpdate:modelValue": c[0] || (c[0] = (C) => h(t).activeComponents.rp_item_uuid = C),
1823
+ modelValue: w(t).activeComponents.rp_item_uuid,
1824
+ "onUpdate:modelValue": d[0] || (d[0] = (h) => w(t).activeComponents.rp_item_uuid = h),
1748
1825
  onChange: r
1749
1826
  }, {
1750
- default: d(() => [
1751
- (m(!0), x(E, null, I(a.value, (C, u) => (m(), T(w, {
1752
- key: u,
1753
- label: C.rp_item_name,
1754
- value: C.rp_item_uuid
1827
+ default: u(() => [
1828
+ (m(!0), C(S, null, P(a.value, (h, b) => (m(), k(_, {
1829
+ key: b,
1830
+ label: h.rp_item_name,
1831
+ value: h.rp_item_uuid
1755
1832
  }, null, 8, ["label", "value"]))), 128))
1756
1833
  ]),
1757
1834
  _: 1
@@ -1759,23 +1836,23 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1759
1836
  ]),
1760
1837
  _: 1
1761
1838
  }),
1762
- l(g, { label: "文本内容" }, {
1763
- default: d(() => [
1764
- V("div", eo, [
1765
- l(h(Pe), {
1839
+ l(y, { label: "文本内容" }, {
1840
+ default: u(() => [
1841
+ T("div", ao, [
1842
+ l(w(ze), {
1766
1843
  style: { "border-bottom": "1px solid #ccc" },
1767
1844
  editor: e.value,
1768
- "default-config": i,
1769
- mode: ie
1845
+ "default-config": s,
1846
+ mode: se
1770
1847
  }, null, 8, ["editor"]),
1771
- l(h(Me), {
1848
+ l(w(Ne), {
1772
1849
  style: { height: "500px", "overflow-y": "hidden" },
1773
- onOnChange: b,
1774
- modelValue: h(t).activeComponents.data,
1775
- "onUpdate:modelValue": c[1] || (c[1] = (C) => h(t).activeComponents.data = C),
1776
- "default-config": f,
1777
- mode: ie,
1778
- onOnCreated: p
1850
+ onOnChange: g,
1851
+ modelValue: w(t).activeComponents.data,
1852
+ "onUpdate:modelValue": d[1] || (d[1] = (h) => w(t).activeComponents.data = h),
1853
+ "default-config": c,
1854
+ mode: se,
1855
+ onOnCreated: i
1779
1856
  }, null, 8, ["modelValue"])
1780
1857
  ])
1781
1858
  ]),
@@ -1784,36 +1861,36 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1784
1861
  ]),
1785
1862
  _: 1
1786
1863
  })
1787
- ])) : U("", !0);
1864
+ ])) : R("", !0);
1788
1865
  };
1789
1866
  }
1790
- }), oo = /* @__PURE__ */ L({
1867
+ }), Ao = /* @__PURE__ */ L({
1791
1868
  __name: "SettingFilter",
1792
1869
  setup(o) {
1793
- const t = S([]), e = z();
1870
+ const t = V([]), e = I();
1794
1871
  async function a() {
1795
- const r = await ye({ prod_type: window.$prodType });
1872
+ const r = await be({ prod_type: window.$prodType });
1796
1873
  t.value = r.data;
1797
1874
  }
1798
1875
  return a(), (r, n) => {
1799
- const i = s("el-option"), f = s("el-select"), p = s("el-form-item"), b = s("el-checkbox"), v = s("el-form");
1800
- return m(), T(v, {
1876
+ const s = A("el-option"), c = A("el-select"), i = A("el-form-item"), g = A("el-checkbox"), f = A("el-form");
1877
+ return m(), k(f, {
1801
1878
  "label-width": "80px",
1802
1879
  "label-position": "top"
1803
1880
  }, {
1804
- default: d(() => [
1805
- l(p, { label: "筛选条件" }, {
1806
- default: d(() => [
1807
- l(f, {
1808
- modelValue: h(e).filterForm.filter_uuid,
1809
- "onUpdate:modelValue": n[0] || (n[0] = (c) => h(e).filterForm.filter_uuid = c),
1810
- disabled: !!h(e).filterForm.filter_uuid
1881
+ default: u(() => [
1882
+ l(i, { label: "筛选条件" }, {
1883
+ default: u(() => [
1884
+ l(c, {
1885
+ modelValue: w(e).filterForm.filter_uuid,
1886
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => w(e).filterForm.filter_uuid = d),
1887
+ disabled: !!w(e).filterForm.filter_uuid
1811
1888
  }, {
1812
- default: d(() => [
1813
- (m(!0), x(E, null, I(t.value, (c) => (m(), T(i, {
1814
- key: c.filter_uuid,
1815
- label: c.filter_name,
1816
- value: c.filter_uuid
1889
+ default: u(() => [
1890
+ (m(!0), C(S, null, P(t.value, (d) => (m(), k(s, {
1891
+ key: d.filter_uuid,
1892
+ label: d.filter_name,
1893
+ value: d.filter_uuid
1817
1894
  }, null, 8, ["label", "value"]))), 128))
1818
1895
  ]),
1819
1896
  _: 1
@@ -1821,11 +1898,11 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1821
1898
  ]),
1822
1899
  _: 1
1823
1900
  }),
1824
- l(p, null, {
1825
- default: d(() => [
1826
- l(b, {
1827
- modelValue: h(e).filterForm.range_time,
1828
- "onUpdate:modelValue": n[1] || (n[1] = (c) => h(e).filterForm.range_time = c),
1901
+ l(i, null, {
1902
+ default: u(() => [
1903
+ l(g, {
1904
+ modelValue: w(e).filterForm.range_time,
1905
+ "onUpdate:modelValue": n[1] || (n[1] = (d) => w(e).filterForm.range_time = d),
1829
1906
  "true-value": 1,
1830
1907
  "false-value": 0,
1831
1908
  label: "时间范围"
@@ -1838,22 +1915,22 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1838
1915
  });
1839
1916
  };
1840
1917
  }
1841
- }), lo = /* @__PURE__ */ L({
1918
+ }), so = /* @__PURE__ */ L({
1842
1919
  __name: "SettingTitle",
1843
1920
  setup(o) {
1844
- const t = z();
1921
+ const t = I();
1845
1922
  return (e, a) => {
1846
- const r = s("el-input"), n = s("el-form-item"), i = s("el-color-picker"), f = s("el-col"), p = s("el-input-number"), b = s("el-option"), v = s("el-select"), c = s("el-row"), w = s("el-form");
1847
- return m(), T(w, {
1923
+ const r = A("el-input"), n = A("el-form-item"), s = A("el-color-picker"), c = A("el-col"), i = A("el-input-number"), g = A("el-option"), f = A("el-select"), d = A("el-row"), _ = A("el-form");
1924
+ return m(), k(_, {
1848
1925
  "label-width": "auto",
1849
1926
  "label-position": "top"
1850
1927
  }, {
1851
- default: d(() => [
1928
+ default: u(() => [
1852
1929
  l(n, { label: "名称" }, {
1853
- default: d(() => [
1930
+ default: u(() => [
1854
1931
  l(r, {
1855
- modelValue: h(t).activeComponents.data,
1856
- "onUpdate:modelValue": a[0] || (a[0] = (_) => h(t).activeComponents.data = _),
1932
+ modelValue: w(t).activeComponents.data,
1933
+ "onUpdate:modelValue": a[0] || (a[0] = (v) => w(t).activeComponents.data = v),
1857
1934
  placeholder: "Please input",
1858
1935
  maxlength: "24",
1859
1936
  "show-word-limit": ""
@@ -1862,98 +1939,98 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1862
1939
  _: 1
1863
1940
  }),
1864
1941
  l(n, { label: "样式" }, {
1865
- default: d(() => [
1866
- l(c, { gutter: 20 }, {
1867
- default: d(() => [
1868
- l(f, { span: 12 }, {
1869
- default: d(() => [
1870
- l(i, {
1871
- modelValue: h(t).activeComponents.options.color,
1872
- "onUpdate:modelValue": a[1] || (a[1] = (_) => h(t).activeComponents.options.color = _),
1942
+ default: u(() => [
1943
+ l(d, { gutter: 20 }, {
1944
+ default: u(() => [
1945
+ l(c, { span: 12 }, {
1946
+ default: u(() => [
1947
+ l(s, {
1948
+ modelValue: w(t).activeComponents.options.color,
1949
+ "onUpdate:modelValue": a[1] || (a[1] = (v) => w(t).activeComponents.options.color = v),
1873
1950
  "show-alpha": ""
1874
1951
  }, null, 8, ["modelValue"]),
1875
- a[7] || (a[7] = V("p", { class: "sub-title" }, "颜色", -1))
1952
+ a[7] || (a[7] = T("p", { class: "sub-title" }, "颜色", -1))
1876
1953
  ]),
1877
1954
  _: 1
1878
1955
  }),
1879
- l(f, { span: 12 }, {
1880
- default: d(() => [
1881
- l(p, {
1882
- modelValue: h(t).activeComponents.options.size,
1883
- "onUpdate:modelValue": a[2] || (a[2] = (_) => h(t).activeComponents.options.size = _),
1956
+ l(c, { span: 12 }, {
1957
+ default: u(() => [
1958
+ l(i, {
1959
+ modelValue: w(t).activeComponents.options.size,
1960
+ "onUpdate:modelValue": a[2] || (a[2] = (v) => w(t).activeComponents.options.size = v),
1884
1961
  "controls-position": "right"
1885
1962
  }, null, 8, ["modelValue"]),
1886
- a[8] || (a[8] = V("p", { class: "sub-title" }, "字体大小", -1))
1963
+ a[8] || (a[8] = T("p", { class: "sub-title" }, "字体大小", -1))
1887
1964
  ]),
1888
1965
  _: 1
1889
1966
  }),
1890
- l(f, { span: 12 }, {
1891
- default: d(() => [
1892
- l(v, {
1893
- modelValue: h(t).activeComponents.options.fontWeight,
1894
- "onUpdate:modelValue": a[3] || (a[3] = (_) => h(t).activeComponents.options.fontWeight = _)
1967
+ l(c, { span: 12 }, {
1968
+ default: u(() => [
1969
+ l(f, {
1970
+ modelValue: w(t).activeComponents.options.fontWeight,
1971
+ "onUpdate:modelValue": a[3] || (a[3] = (v) => w(t).activeComponents.options.fontWeight = v)
1895
1972
  }, {
1896
- default: d(() => [
1897
- l(b, {
1973
+ default: u(() => [
1974
+ l(g, {
1898
1975
  label: "常规",
1899
1976
  value: 500
1900
1977
  }),
1901
- l(b, {
1978
+ l(g, {
1902
1979
  label: "加粗",
1903
1980
  value: 600
1904
1981
  })
1905
1982
  ]),
1906
1983
  _: 1
1907
1984
  }, 8, ["modelValue"]),
1908
- a[9] || (a[9] = V("p", { class: "sub-title" }, "字体粗细", -1))
1985
+ a[9] || (a[9] = T("p", { class: "sub-title" }, "字体粗细", -1))
1909
1986
  ]),
1910
1987
  _: 1
1911
1988
  }),
1912
- l(f, { span: 12 }, {
1913
- default: d(() => [
1914
- l(p, {
1915
- modelValue: h(t).activeComponents.options.letterSpacing,
1916
- "onUpdate:modelValue": a[4] || (a[4] = (_) => h(t).activeComponents.options.letterSpacing = _),
1989
+ l(c, { span: 12 }, {
1990
+ default: u(() => [
1991
+ l(i, {
1992
+ modelValue: w(t).activeComponents.options.letterSpacing,
1993
+ "onUpdate:modelValue": a[4] || (a[4] = (v) => w(t).activeComponents.options.letterSpacing = v),
1917
1994
  "controls-position": "right"
1918
1995
  }, null, 8, ["modelValue"]),
1919
- a[10] || (a[10] = V("p", { class: "sub-title" }, "字间距", -1))
1996
+ a[10] || (a[10] = T("p", { class: "sub-title" }, "字间距", -1))
1920
1997
  ]),
1921
1998
  _: 1
1922
1999
  }),
1923
- l(f, { span: 12 }, {
1924
- default: d(() => [
1925
- l(p, {
1926
- modelValue: h(t).activeComponents.options.textIndent,
1927
- "onUpdate:modelValue": a[5] || (a[5] = (_) => h(t).activeComponents.options.textIndent = _),
2000
+ l(c, { span: 12 }, {
2001
+ default: u(() => [
2002
+ l(i, {
2003
+ modelValue: w(t).activeComponents.options.textIndent,
2004
+ "onUpdate:modelValue": a[5] || (a[5] = (v) => w(t).activeComponents.options.textIndent = v),
1928
2005
  "controls-position": "right"
1929
2006
  }, null, 8, ["modelValue"]),
1930
- a[11] || (a[11] = V("p", { class: "sub-title" }, "首行缩进", -1))
2007
+ a[11] || (a[11] = T("p", { class: "sub-title" }, "首行缩进", -1))
1931
2008
  ]),
1932
2009
  _: 1
1933
2010
  }),
1934
- l(f, { span: 12 }, {
1935
- default: d(() => [
1936
- l(v, {
1937
- modelValue: h(t).activeComponents.options.textAlign,
1938
- "onUpdate:modelValue": a[6] || (a[6] = (_) => h(t).activeComponents.options.textAlign = _)
2011
+ l(c, { span: 12 }, {
2012
+ default: u(() => [
2013
+ l(f, {
2014
+ modelValue: w(t).activeComponents.options.textAlign,
2015
+ "onUpdate:modelValue": a[6] || (a[6] = (v) => w(t).activeComponents.options.textAlign = v)
1939
2016
  }, {
1940
- default: d(() => [
1941
- l(b, {
2017
+ default: u(() => [
2018
+ l(g, {
1942
2019
  label: "左对齐",
1943
2020
  value: "left"
1944
2021
  }),
1945
- l(b, {
2022
+ l(g, {
1946
2023
  label: "居中对齐",
1947
2024
  value: "center"
1948
2025
  }),
1949
- l(b, {
2026
+ l(g, {
1950
2027
  label: "右对齐",
1951
2028
  value: "right"
1952
2029
  })
1953
2030
  ]),
1954
2031
  _: 1
1955
2032
  }, 8, ["modelValue"]),
1956
- a[12] || (a[12] = V("p", { class: "sub-title" }, "位置", -1))
2033
+ a[12] || (a[12] = T("p", { class: "sub-title" }, "位置", -1))
1957
2034
  ]),
1958
2035
  _: 1
1959
2036
  })
@@ -1969,30 +2046,30 @@ const Qt = /* @__PURE__ */ N(Jt, [["__scopeId", "data-v-e9859d3b"]]), Le = /* @_
1969
2046
  };
1970
2047
  }
1971
2048
  });
1972
- const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @__PURE__ */ L({
2049
+ const io = /* @__PURE__ */ Y(so, [["__scopeId", "data-v-56fef84c"]]), uo = /* @__PURE__ */ L({
1973
2050
  __name: "Setting",
1974
2051
  setup(o) {
1975
2052
  const t = {
1976
- SettingTable: Te,
1977
- SettingCharts: Xt,
1978
- SettingDescribe: Le,
1979
- SettingText: to,
1980
- SettingFilter: oo,
1981
- SettingTitle: no
1982
- }, e = z(), a = q(() => e.activeComponents), r = ["h1", "h2", "h3", "h4"], n = ["p"], i = ["report-table", "bar", "line", "pie", "report-describe"], f = (p) => r.includes(p) ? B(t, "SettingTitle") : n.includes(p) ? B(t, "SettingText") : i.includes(p) ? B(t, "SettingCharts") : p === "filter" ? B(t, "SettingFilter") : "DefaultEditor";
1983
- return (p, b) => {
1984
- const v = s("el-card");
1985
- return m(), T(v, { class: "config-wrapper" }, {
1986
- default: d(() => [
1987
- (m(), T(Y(f(a.value.type))))
2053
+ SettingTable: De,
2054
+ SettingCharts: lo,
2055
+ SettingDescribe: ke,
2056
+ SettingText: ro,
2057
+ SettingFilter: Ao,
2058
+ SettingTitle: io
2059
+ }, e = I(), a = Q(() => e.activeComponents), r = ["h1", "h2", "h3", "h4"], n = ["p"], s = ["report-table", "bar", "line", "pie", "report-describe"], c = (i) => r.includes(i) ? F(t, "SettingTitle") : n.includes(i) ? F(t, "SettingText") : s.includes(i) ? F(t, "SettingCharts") : i === "filter" ? F(t, "SettingFilter") : "DefaultEditor";
2060
+ return (i, g) => {
2061
+ const f = A("el-card");
2062
+ return m(), k(f, { class: "config-wrapper" }, {
2063
+ default: u(() => [
2064
+ (m(), k(G(c(a.value.type))))
1988
2065
  ]),
1989
2066
  _: 1
1990
2067
  });
1991
2068
  };
1992
2069
  }
1993
- }), ro = { class: "editor-wrapper flex items-center space-between start" }, so = { class: "flex items-center space-between" }, io = { class: "btn-group" }, uo = /* @__PURE__ */ L({
2070
+ }), po = { class: "editor-wrapper flex items-center space-between start" }, co = { class: "flex items-center space-between" }, mo = { class: "btn-group" }, fo = /* @__PURE__ */ L({
1994
2071
  __name: "index",
1995
- props: /* @__PURE__ */ ce({
2072
+ props: /* @__PURE__ */ de({
1996
2073
  reportId: {
1997
2074
  type: String,
1998
2075
  default: ""
@@ -2003,26 +2080,26 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2003
2080
  }),
2004
2081
  emits: ["update:modelValue"],
2005
2082
  setup(o) {
2006
- const t = z(), e = o, a = me(o, "modelValue"), r = (p) => {
2007
- const b = G(p);
2008
- b.id = P(), t.componentList.push(b);
2083
+ const t = I(), e = o, a = ce(o, "modelValue"), r = (i) => {
2084
+ const g = J(i);
2085
+ g.id = H(), t.componentList.push(g);
2009
2086
  };
2010
2087
  function n() {
2011
2088
  a.value = "table";
2012
2089
  }
2013
- function i() {
2090
+ function s() {
2014
2091
  t.getReportDemo(e.reportId);
2015
2092
  }
2016
2093
  le(() => {
2017
- i();
2094
+ s();
2018
2095
  });
2019
- async function f() {
2096
+ async function c() {
2020
2097
  if (!t.filterForm.filter_uuid) {
2021
- He.error("请选择筛选条件");
2098
+ qe.error("请选择筛选条件");
2022
2099
  return;
2023
2100
  }
2024
2101
  try {
2025
- e.reportId ? await Qe({
2102
+ e.reportId ? await et({
2026
2103
  report_uuid: e.reportId,
2027
2104
  data: {
2028
2105
  report_name: t.titleComponent.data,
@@ -2030,7 +2107,7 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2030
2107
  content: [...t.notDraggableList, t.titleComponent, ...t.componentList],
2031
2108
  ...t.filterForm
2032
2109
  }
2033
- }) : await Je({
2110
+ }) : await $e({
2034
2111
  data: {
2035
2112
  report_name: t.titleComponent.data,
2036
2113
  prod_type: window.$prodType,
@@ -2038,30 +2115,30 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2038
2115
  ...t.filterForm
2039
2116
  }
2040
2117
  }), n();
2041
- } catch (p) {
2042
- console.log(p, "error");
2118
+ } catch (i) {
2119
+ console.log(i, "error");
2043
2120
  }
2044
2121
  }
2045
- return Ie(() => {
2122
+ return Qe(() => {
2046
2123
  t.clearComponents();
2047
- }), (p, b) => {
2048
- const v = s("el-button"), c = s("el-button-group"), w = s("el-card");
2049
- return m(), x("div", ro, [
2050
- l(w, { class: "view-wrapper" }, {
2051
- default: d(() => [
2052
- V("div", so, [
2053
- V("div", io, [
2054
- l(c, null, {
2055
- default: d(() => [
2056
- (m(!0), x(E, null, I(h(ht), (_) => (m(), x(E, {
2057
- key: _.type
2124
+ }), (i, g) => {
2125
+ const f = A("el-button"), d = A("el-button-group"), _ = A("el-card");
2126
+ return m(), C("div", po, [
2127
+ l(_, { class: "view-wrapper" }, {
2128
+ default: u(() => [
2129
+ T("div", co, [
2130
+ T("div", mo, [
2131
+ l(d, null, {
2132
+ default: u(() => [
2133
+ (m(!0), C(S, null, P(w(xt), (v) => (m(), C(S, {
2134
+ key: v.type
2058
2135
  }, [
2059
- _ != null && _.hide ? U("", !0) : (m(), T(v, {
2136
+ v != null && v.hide ? R("", !0) : (m(), k(f, {
2060
2137
  key: 0,
2061
- onClick: (g) => r(_)
2138
+ onClick: (y) => r(v)
2062
2139
  }, {
2063
- default: d(() => [
2064
- R(H(_.name), 1)
2140
+ default: u(() => [
2141
+ U(M(v.name), 1)
2065
2142
  ]),
2066
2143
  _: 2
2067
2144
  }, 1032, ["onClick"]))
@@ -2070,20 +2147,20 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2070
2147
  _: 1
2071
2148
  })
2072
2149
  ]),
2073
- l(c, null, {
2074
- default: d(() => [
2075
- l(v, {
2150
+ l(d, null, {
2151
+ default: u(() => [
2152
+ l(f, {
2076
2153
  type: "primary",
2077
- onClick: f
2154
+ onClick: c
2078
2155
  }, {
2079
- default: d(() => b[0] || (b[0] = [
2080
- R("保存")
2156
+ default: u(() => g[0] || (g[0] = [
2157
+ U("保存")
2081
2158
  ])),
2082
2159
  _: 1
2083
2160
  }),
2084
- l(v, { onClick: n }, {
2085
- default: d(() => b[1] || (b[1] = [
2086
- R("退出")
2161
+ l(f, { onClick: n }, {
2162
+ default: u(() => g[1] || (g[1] = [
2163
+ U("退出")
2087
2164
  ])),
2088
2165
  _: 1
2089
2166
  })
@@ -2091,39 +2168,39 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2091
2168
  _: 1
2092
2169
  })
2093
2170
  ]),
2094
- l(Ot)
2171
+ l(Jt)
2095
2172
  ]),
2096
2173
  _: 1
2097
2174
  }),
2098
- l(ao)
2175
+ l(uo)
2099
2176
  ]);
2100
2177
  };
2101
2178
  }
2102
- }), po = {
2179
+ }), vo = {
2103
2180
  class: "table-box"
2104
- }, co = /* @__PURE__ */ L({
2181
+ }, go = /* @__PURE__ */ L({
2105
2182
  __name: "Report",
2106
2183
  emits: ["click"],
2107
2184
  setup(o, {
2108
2185
  emit: t
2109
2186
  }) {
2110
- const e = q(() => ({
2187
+ const e = Q(() => ({
2111
2188
  prod_type: window.$prodType
2112
- })), a = S(), r = t, n = (c) => {
2113
- r("click", c.report_uuid, "review");
2114
- }, i = (c) => {
2115
- r("click", c.report_uuid, "editor");
2116
- }, f = () => {
2189
+ })), a = V(), r = t, n = (d) => {
2190
+ r("click", d.report_uuid, "review");
2191
+ }, s = (d) => {
2192
+ r("click", d.report_uuid, "editor");
2193
+ }, c = () => {
2117
2194
  r("click", "", "editor");
2118
- }, p = (c) => {
2119
- console.log(c);
2120
- }, b = (c) => {
2195
+ }, i = (d) => {
2196
+ console.log(d);
2197
+ }, g = (d) => {
2121
2198
  window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
2122
- await Ze({
2123
- report_uuids: c
2199
+ await ot({
2200
+ report_uuids: d
2124
2201
  }), a.value.getTableList();
2125
2202
  });
2126
- }, v = K([
2203
+ }, f = X([
2127
2204
  // { type: 'selection', fixed: 'left', width: 70 },
2128
2205
  {
2129
2206
  type: "selection",
@@ -2150,58 +2227,58 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2150
2227
  name: "操作",
2151
2228
  align: "center",
2152
2229
  fixed: "right",
2153
- render: (c) => l("div", null, [l(s("el-button"), {
2230
+ render: (d) => l("div", null, [l(A("el-button"), {
2154
2231
  link: !0,
2155
2232
  type: "primary",
2156
2233
  class: "custom-btn",
2157
2234
  icon: "View",
2158
2235
  title: "预览",
2159
- onClick: () => n(c.row)
2160
- }, null), l(s("el-button"), {
2236
+ onClick: () => n(d.row)
2237
+ }, null), l(A("el-button"), {
2161
2238
  link: !0,
2162
2239
  type: "primary",
2163
2240
  class: "custom-btn",
2164
2241
  icon: "Edit",
2165
2242
  title: "编辑",
2166
- onClick: () => i(c.row)
2167
- }, null), l(s("el-button"), {
2243
+ onClick: () => s(d.row)
2244
+ }, null), l(A("el-button"), {
2168
2245
  link: !0,
2169
2246
  type: "danger",
2170
2247
  icon: "Delete",
2171
2248
  title: "删除",
2172
- onClick: () => b([c.row.report_uuid])
2249
+ onClick: () => g([d.row.report_uuid])
2173
2250
  }, null)])
2174
2251
  }
2175
2252
  ]);
2176
- return (c, w) => {
2177
- const _ = s("el-button"), g = s("TdsTable");
2178
- return m(), x("div", po, [l(g, {
2253
+ return (d, _) => {
2254
+ const v = A("el-button"), y = A("TdsTable");
2255
+ return m(), C("div", vo, [l(y, {
2179
2256
  ref_key: "proTable",
2180
2257
  ref: a,
2181
- columns: v,
2182
- "request-api": h(Xe),
2258
+ columns: f,
2259
+ "request-api": w(tt),
2183
2260
  "init-param": e.value,
2184
2261
  "row-key": "report_uuid",
2185
- options: c.$tableOptions(),
2262
+ options: d.$tableOptions(),
2186
2263
  "search-col": 6,
2187
- onSelectionChange: p
2264
+ onSelectionChange: i
2188
2265
  }, {
2189
- tableHeader: d(($) => [l(_, {
2266
+ tableHeader: u((x) => [l(v, {
2190
2267
  plain: "",
2191
2268
  type: "primary",
2192
2269
  class: "custom-btn",
2193
2270
  icon: "Plus",
2194
- onClick: f
2271
+ onClick: c
2195
2272
  }, {
2196
- default: d(() => w[0] || (w[0] = [R("添加")])),
2273
+ default: u(() => _[0] || (_[0] = [U("添加")])),
2197
2274
  _: 1
2198
- }), l(_, {
2275
+ }), l(v, {
2199
2276
  plain: "",
2200
2277
  type: "danger",
2201
2278
  icon: "Delete",
2202
- onClick: (C) => b($.selectedListIds)
2279
+ onClick: (h) => g(x.selectedListIds)
2203
2280
  }, {
2204
- default: d(() => w[1] || (w[1] = [R("删除")])),
2281
+ default: u(() => _[1] || (_[1] = [U("删除")])),
2205
2282
  _: 2
2206
2283
  }, 1032, ["onClick"])]),
2207
2284
  _: 1
@@ -2209,39 +2286,39 @@ const no = /* @__PURE__ */ N(lo, [["__scopeId", "data-v-56fef84c"]]), ao = /* @_
2209
2286
  };
2210
2287
  }
2211
2288
  });
2212
- const mo = { style: { height: "100%" } }, _o = /* @__PURE__ */ L({
2289
+ const bo = { style: { height: "100%" } }, _o = /* @__PURE__ */ L({
2213
2290
  name: "TCReport",
2214
2291
  __name: "index",
2215
2292
  setup(o) {
2216
- const t = S(), e = S("table"), a = (r, n) => {
2293
+ const t = V(), e = V("table"), a = (r, n) => {
2217
2294
  t.value = r, e.value = n;
2218
2295
  };
2219
- return (r, n) => (m(), x("div", mo, [
2220
- l(qe, { name: "slide-fade" }, {
2221
- default: d(() => [
2222
- e.value === "table" ? (m(), T(co, {
2296
+ return (r, n) => (m(), C("div", bo, [
2297
+ l(Ie, { name: "slide-fade" }, {
2298
+ default: u(() => [
2299
+ e.value === "table" ? (m(), k(go, {
2223
2300
  key: 0,
2224
2301
  onClick: a
2225
- })) : U("", !0),
2226
- e.value === "review" ? (m(), T(Se, {
2302
+ })) : R("", !0),
2303
+ e.value === "review" ? (m(), k(Ve, {
2227
2304
  key: 1,
2228
2305
  "report-id": t.value,
2229
2306
  modelValue: e.value,
2230
- "onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
2231
- }, null, 8, ["report-id", "modelValue"])) : U("", !0),
2232
- e.value === "editor" ? (m(), T(uo, {
2307
+ "onUpdate:modelValue": n[0] || (n[0] = (s) => e.value = s)
2308
+ }, null, 8, ["report-id", "modelValue"])) : R("", !0),
2309
+ e.value === "editor" ? (m(), k(fo, {
2233
2310
  key: 2,
2234
2311
  "report-id": t.value,
2235
2312
  modelValue: e.value,
2236
- "onUpdate:modelValue": n[1] || (n[1] = (i) => e.value = i)
2237
- }, null, 8, ["report-id", "modelValue"])) : U("", !0)
2313
+ "onUpdate:modelValue": n[1] || (n[1] = (s) => e.value = s)
2314
+ }, null, 8, ["report-id", "modelValue"])) : R("", !0)
2238
2315
  ]),
2239
2316
  _: 1
2240
2317
  })
2241
2318
  ]));
2242
2319
  }
2243
2320
  });
2244
- const X = (o, t) => {
2321
+ const W = (o, t) => {
2245
2322
  if (o.install = (e) => {
2246
2323
  for (const a of [o, ...Object.values(t ?? {})])
2247
2324
  e.component(a.name, a);
@@ -2249,7 +2326,7 @@ const X = (o, t) => {
2249
2326
  for (const [e, a] of Object.entries(t))
2250
2327
  o[e] = a;
2251
2328
  return o;
2252
- }, fo = X(_o), vo = [
2329
+ }, wo = W(_o), yo = [
2253
2330
  {
2254
2331
  label: "正文",
2255
2332
  value: "p"
@@ -2274,7 +2351,7 @@ const X = (o, t) => {
2274
2351
  label: "描述列表",
2275
2352
  value: "report-describe"
2276
2353
  }
2277
- ], bo = [
2354
+ ], ho = [
2278
2355
  {
2279
2356
  value: "p",
2280
2357
  fields: ["table_key_relation"]
@@ -2299,49 +2376,49 @@ const X = (o, t) => {
2299
2376
  value: "report-describe",
2300
2377
  fields: ["p_text"]
2301
2378
  }
2302
- ], yo = {
2379
+ ], Co = {
2303
2380
  class: "table-box"
2304
- }, go = /* @__PURE__ */ L({
2381
+ }, xo = /* @__PURE__ */ L({
2305
2382
  name: "TCModule",
2306
2383
  __name: "index",
2307
2384
  setup(o) {
2308
- const t = S(), e = S(), a = S({}), r = S(""), n = K({
2385
+ const t = V(), e = V(), a = V({}), r = V(""), n = X({
2309
2386
  prod_type: window.$prodType
2310
2387
  });
2311
- function i(_) {
2388
+ function s(v) {
2312
2389
  window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
2313
- await tt({
2314
- rp_item_uuids: _
2390
+ await nt({
2391
+ rp_item_uuids: v
2315
2392
  }), t.value.getTableList();
2316
2393
  });
2317
2394
  }
2318
- function f(_) {
2319
- a.value = _ ? Object.assign({}, _) : {
2395
+ function c(v) {
2396
+ a.value = v ? Object.assign({}, v) : {
2320
2397
  table_key_relation: [{
2321
2398
  name: "",
2322
2399
  key: "",
2323
2400
  id: (/* @__PURE__ */ new Date()).getTime()
2324
2401
  }]
2325
- }, r.value = _ ? "编辑自定义组件" : "新增自定义组件", e.value.open();
2402
+ }, r.value = v ? "编辑自定义组件" : "新增自定义组件", e.value.open();
2326
2403
  }
2327
- async function p(_) {
2328
- const g = Object.assign({}, _);
2329
- g.chart_type !== "report-table" && g.chart_type !== "report-describe" && delete g.table_key_relation, g.chart_type !== "p" && (g.p_text = ""), g.rp_item_uuid ? await lt({
2330
- rp_item_uuid: g.rp_item_uuid,
2331
- data: g
2332
- }) : (g.prod_type = window.$prodType, await ot({
2333
- data: g
2404
+ async function i(v) {
2405
+ const y = Object.assign({}, v);
2406
+ y.chart_type !== "report-table" && y.chart_type !== "report-describe" && delete y.table_key_relation, y.chart_type !== "p" && (y.p_text = ""), y.rp_item_uuid ? await rt({
2407
+ rp_item_uuid: y.rp_item_uuid,
2408
+ data: y
2409
+ }) : (y.prod_type = window.$prodType, await at({
2410
+ data: y
2334
2411
  })), t.value.getTableList(), e.value.close();
2335
2412
  }
2336
- const b = (_) => {
2337
- a.value.table_key_relation.splice(_, 1);
2338
- }, v = () => {
2413
+ const g = (v) => {
2414
+ a.value.table_key_relation.splice(v, 1);
2415
+ }, f = () => {
2339
2416
  a.value.table_key_relation.push({
2340
2417
  name: "",
2341
2418
  key: "",
2342
2419
  id: (/* @__PURE__ */ new Date()).getTime()
2343
2420
  });
2344
- }, w = K([{
2421
+ }, _ = X([{
2345
2422
  type: "selection",
2346
2423
  width: 60,
2347
2424
  field: "rp_item_uuid",
@@ -2358,7 +2435,7 @@ const X = (o, t) => {
2358
2435
  }, {
2359
2436
  field: "filter_uuid",
2360
2437
  name: "筛选条件",
2361
- enum: () => ye({
2438
+ enum: () => be({
2362
2439
  prod_type: window.$prodType
2363
2440
  }),
2364
2441
  fieldNames: {
@@ -2374,10 +2451,10 @@ const X = (o, t) => {
2374
2451
  }, {
2375
2452
  field: "chart_type",
2376
2453
  name: "组件类型",
2377
- enum: vo,
2454
+ enum: yo,
2378
2455
  show: {
2379
2456
  type: "select",
2380
- display: bo
2457
+ display: ho
2381
2458
  },
2382
2459
  rules: [{
2383
2460
  required: !0
@@ -2397,7 +2474,7 @@ const X = (o, t) => {
2397
2474
  hide: !0,
2398
2475
  show: {
2399
2476
  render: () => {
2400
- var _;
2477
+ var v;
2401
2478
  return l("div", {
2402
2479
  style: "width:80%"
2403
2480
  }, [l("div", {
@@ -2405,42 +2482,42 @@ const X = (o, t) => {
2405
2482
  style: "gap:15px;"
2406
2483
  }, [l("span", {
2407
2484
  style: "width:50%"
2408
- }, [R("表头名称")]), l("span", {
2485
+ }, [U("表头名称")]), l("span", {
2409
2486
  style: "width:50%"
2410
- }, [R("KEY")])]), (_ = a.value.table_key_relation) == null ? void 0 : _.map((g, $) => l("div", {
2487
+ }, [U("KEY")])]), (v = a.value.table_key_relation) == null ? void 0 : v.map((y, x) => l("div", {
2411
2488
  class: "flex items-center space-between form-m0 w-100%",
2412
2489
  style: "gap:15px;margin-bottom:10px;",
2413
- key: $
2414
- }, [l(s("el-form-item"), {
2490
+ key: x
2491
+ }, [l(A("el-form-item"), {
2415
2492
  style: "width:50%"
2416
2493
  }, {
2417
- default: () => [l(s("el-input"), {
2418
- modelValue: g.name,
2419
- "onUpdate:modelValue": (C) => g.name = C,
2494
+ default: () => [l(A("el-input"), {
2495
+ modelValue: y.name,
2496
+ "onUpdate:modelValue": (h) => y.name = h,
2420
2497
  class: "",
2421
2498
  placeholder: "表头"
2422
2499
  }, null)]
2423
- }), l(s("el-form-item"), {
2500
+ }), l(A("el-form-item"), {
2424
2501
  style: "width:50%"
2425
2502
  }, {
2426
- default: () => [l(s("el-input"), {
2427
- modelValue: g.key,
2428
- "onUpdate:modelValue": (C) => g.key = C,
2503
+ default: () => [l(A("el-input"), {
2504
+ modelValue: y.key,
2505
+ "onUpdate:modelValue": (h) => y.key = h,
2429
2506
  class: "",
2430
2507
  placeholder: "KEY"
2431
2508
  }, null)]
2432
2509
  }), a.value.table_key_relation.length > 1 && l("div", {
2433
2510
  class: "report-btn-remove absolute right--13px text-#f56c6c hover:cursor-pointer"
2434
- }, [l(s("el-icon"), {
2435
- onClick: () => b($)
2511
+ }, [l(A("el-icon"), {
2512
+ onClick: () => g(x)
2436
2513
  }, {
2437
- default: () => [l(Oe, null, null)]
2438
- })])])), l(s("el-button"), {
2514
+ default: () => [l(Ye, null, null)]
2515
+ })])])), l(A("el-button"), {
2439
2516
  class: "report-btn ",
2440
2517
  icon: "Plus",
2441
- onClick: () => v()
2518
+ onClick: () => f()
2442
2519
  }, {
2443
- default: () => [R("新增表头与KEY")]
2520
+ default: () => [U("新增表头与KEY")]
2444
2521
  })]);
2445
2522
  }
2446
2523
  },
@@ -2449,10 +2526,10 @@ const X = (o, t) => {
2449
2526
  },
2450
2527
  rules: [{
2451
2528
  required: !0,
2452
- validator: (_, g, $) => {
2453
- delete _.message, g.forEach((C) => {
2454
- C.name ? C.key || $(new Error("请填写表头名称和KEY")) : $(new Error("请填写表头名称和KEY"));
2455
- }), $();
2529
+ validator: (v, y, x) => {
2530
+ delete v.message, y.forEach((h) => {
2531
+ h.name ? h.key || x(new Error("请填写表头名称和KEY")) : x(new Error("请填写表头名称和KEY"));
2532
+ }), x();
2456
2533
  },
2457
2534
  trigger: "blur"
2458
2535
  }]
@@ -2479,113 +2556,113 @@ const X = (o, t) => {
2479
2556
  name: "操作",
2480
2557
  align: "center",
2481
2558
  fixed: "right",
2482
- render: (_) => l("div", null, [l(s("el-button"), {
2559
+ render: (v) => l("div", null, [l(A("el-button"), {
2483
2560
  link: !0,
2484
2561
  type: "primary",
2485
2562
  class: "custom-btn",
2486
2563
  icon: "Edit",
2487
2564
  title: "编辑",
2488
- onClick: () => f(_.row)
2489
- }, null), l(s("el-button"), {
2565
+ onClick: () => c(v.row)
2566
+ }, null), l(A("el-button"), {
2490
2567
  link: !0,
2491
2568
  type: "danger",
2492
2569
  icon: "Delete",
2493
2570
  title: "删除",
2494
- onClick: () => i([_.row.rp_item_uuid])
2571
+ onClick: () => s([v.row.rp_item_uuid])
2495
2572
  }, null)])
2496
2573
  }]);
2497
- return (_, g) => {
2498
- const $ = s("el-button"), C = s("TdsTable"), u = s("TdsForm");
2499
- return m(), x("div", yo, [l(C, {
2574
+ return (v, y) => {
2575
+ const x = A("el-button"), h = A("TdsTable"), b = A("TdsForm");
2576
+ return m(), C("div", Co, [l(h, {
2500
2577
  ref_key: "refTdsTable",
2501
2578
  ref: t,
2502
- columns: w,
2503
- "request-api": h(et),
2579
+ columns: _,
2580
+ "request-api": w(lt),
2504
2581
  "init-param": n,
2505
2582
  "row-key": "rp_item_uuid",
2506
- options: _.$tableOptions(),
2583
+ options: v.$tableOptions(),
2507
2584
  "search-col": 6
2508
2585
  }, {
2509
- tableHeader: d((y) => [l($, {
2586
+ tableHeader: u((p) => [l(x, {
2510
2587
  plain: "",
2511
2588
  type: "primary",
2512
2589
  class: "custom-btn",
2513
2590
  icon: "Plus",
2514
- onClick: g[0] || (g[0] = (A) => f())
2591
+ onClick: y[0] || (y[0] = (D) => c())
2515
2592
  }, {
2516
- default: d(() => g[1] || (g[1] = [R("添加")])),
2593
+ default: u(() => y[1] || (y[1] = [U("添加")])),
2517
2594
  _: 1
2518
- }), l($, {
2595
+ }), l(x, {
2519
2596
  plain: "",
2520
2597
  type: "danger",
2521
2598
  icon: "Delete",
2522
- onClick: (A) => i(y.selectedListIds)
2599
+ onClick: (D) => s(p.selectedListIds)
2523
2600
  }, {
2524
- default: d(() => g[2] || (g[2] = [R("删除")])),
2601
+ default: u(() => y[2] || (y[2] = [U("删除")])),
2525
2602
  _: 2
2526
2603
  }, 1032, ["onClick"])]),
2527
2604
  _: 1
2528
- }, 8, ["columns", "request-api", "init-param", "options"]), l(u, ve({
2605
+ }, 8, ["columns", "request-api", "init-param", "options"]), l(b, ve({
2529
2606
  ref_key: "refTdsForm",
2530
2607
  ref: e
2531
- }, _.$formBindProps({
2608
+ }, v.$formBindProps({
2532
2609
  title: r.value,
2533
2610
  form: a.value,
2534
- columns: w
2611
+ columns: _
2535
2612
  }), {
2536
- onSubmit: p
2613
+ onSubmit: i
2537
2614
  }), null, 16)]);
2538
2615
  };
2539
2616
  }
2540
2617
  });
2541
- const ho = X(go), wo = {
2618
+ const Bo = W(xo), To = {
2542
2619
  class: "table-box"
2543
2620
  };
2544
- function ue(o) {
2621
+ function ie(o) {
2545
2622
  return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !ne(o);
2546
2623
  }
2547
- const Co = /* @__PURE__ */ L({
2624
+ const Vo = /* @__PURE__ */ L({
2548
2625
  name: "TCSubscribe",
2549
2626
  __name: "index",
2550
2627
  setup(o) {
2551
- const t = S(), e = S(), {
2628
+ const t = V(), e = V(), {
2552
2629
  $t: a,
2553
2630
  $messageBox: r
2554
- } = window, n = S(""), i = S({
2631
+ } = window, n = V(""), s = V({
2555
2632
  receiver: []
2556
2633
  });
2557
- function f(u) {
2558
- r(u, "subscript_name", a("button.delete"), "error").then(async () => {
2559
- await st({
2560
- subscript_uuids: u.map((y) => y.subscript_uuid)
2634
+ function c(b) {
2635
+ r(b, "subscript_name", a("button.delete"), "error").then(async () => {
2636
+ await ut({
2637
+ subscript_uuids: b.map((p) => p.subscript_uuid)
2561
2638
  }), t.value.getTableList();
2562
2639
  });
2563
2640
  }
2564
- function p() {
2565
- f(t.value.selectedList);
2641
+ function i() {
2642
+ c(t.value.selectedList);
2566
2643
  }
2567
- const b = (u) => {
2568
- i.value = u ? Object.assign({}, u) : {
2644
+ const g = (b) => {
2645
+ s.value = b ? Object.assign({}, b) : {
2569
2646
  receiver: []
2570
- }, n.value = u ? "编辑报表订阅" : "新增报表订阅", e.value.open();
2647
+ }, n.value = b ? "编辑报表订阅" : "新增报表订阅", e.value.open();
2571
2648
  };
2572
- async function v(u) {
2573
- const y = Object.assign({}, u);
2574
- y.subscript_uuid ? await rt({
2575
- subscript_uuid: y.subscript_uuid,
2576
- data: y
2577
- }) : await at({
2578
- data: y
2649
+ async function f(b) {
2650
+ const p = Object.assign({}, b);
2651
+ p.subscript_uuid ? await it({
2652
+ subscript_uuid: p.subscript_uuid,
2653
+ data: p
2654
+ }) : await st({
2655
+ data: p
2579
2656
  }), t.value.getTableList(), e.value.close();
2580
2657
  }
2581
- function c(u, y, A) {
2582
- if (!y || y.length === 0)
2583
- return A(new Error("请输入收件人"));
2584
- A();
2658
+ function d(b, p, D) {
2659
+ if (!p || p.length === 0)
2660
+ return D(new Error("请输入收件人"));
2661
+ D();
2585
2662
  }
2586
- const w = (u, y) => {
2587
- u.target.value && i.value[y].push(u.target.value);
2588
- }, _ = [{
2663
+ const _ = (b, p) => {
2664
+ b.target.value && s.value[p].push(b.target.value);
2665
+ }, v = [{
2589
2666
  label: "周一",
2590
2667
  value: 1
2591
2668
  }, {
@@ -2606,7 +2683,7 @@ const Co = /* @__PURE__ */ L({
2606
2683
  }, {
2607
2684
  label: "周日",
2608
2685
  value: 0
2609
- }], g = [{
2686
+ }], y = [{
2610
2687
  label: "每天",
2611
2688
  value: 0
2612
2689
  }, {
@@ -2615,7 +2692,7 @@ const Co = /* @__PURE__ */ L({
2615
2692
  }, {
2616
2693
  label: "每月",
2617
2694
  value: 2
2618
- }], $ = [], C = K([{
2695
+ }], x = [], h = X([{
2619
2696
  type: "selection",
2620
2697
  align: "center",
2621
2698
  field: "subscript_uuid",
@@ -2642,7 +2719,7 @@ const Co = /* @__PURE__ */ L({
2642
2719
  }, {
2643
2720
  field: "report_uuid",
2644
2721
  name: "报表类型",
2645
- enum: () => ut({
2722
+ enum: () => dt({
2646
2723
  prod_type: window.$prodType
2647
2724
  }),
2648
2725
  fieldNames: {
@@ -2659,7 +2736,7 @@ const Co = /* @__PURE__ */ L({
2659
2736
  }, {
2660
2737
  field: "format",
2661
2738
  name: "报表格式",
2662
- enum: pt,
2739
+ enum: ct,
2663
2740
  fieldNames: {
2664
2741
  label: "name",
2665
2742
  value: "id"
@@ -2674,7 +2751,7 @@ const Co = /* @__PURE__ */ L({
2674
2751
  }, {
2675
2752
  field: "select_data",
2676
2753
  name: "资产/任务",
2677
- enum: dt,
2754
+ enum: mt,
2678
2755
  fieldNames: {
2679
2756
  label: "label",
2680
2757
  value: "data"
@@ -2693,50 +2770,50 @@ const Co = /* @__PURE__ */ L({
2693
2770
  key: window.$prodType
2694
2771
  }
2695
2772
  },
2696
- render: (u) => t.value.enumMap.get("dbsId").filter((k) => u.row.dbsId.indexOf(k.id) > -1).map((k) => l(s("el-tag"), {
2773
+ render: (b) => t.value.enumMap.get("dbsId").filter((B) => b.row.dbsId.indexOf(B.id) > -1).map((B) => l(A("el-tag"), {
2697
2774
  class: "mr-10px",
2698
2775
  type: "info"
2699
2776
  }, {
2700
- default: () => [k.policy_name]
2777
+ default: () => [B.policy_name]
2701
2778
  }))
2702
2779
  }, {
2703
2780
  field: "receiver_email",
2704
2781
  name: "收件人",
2705
2782
  width: 300,
2706
- render: (u) => l(E, null, [u.row.receiver_email.map((y) => l(s("el-tag"), {
2783
+ render: (b) => l(S, null, [b.row.receiver_email.map((p) => l(A("el-tag"), {
2707
2784
  class: "mr-10px",
2708
2785
  type: "info"
2709
- }, ue(y) ? y : {
2710
- default: () => [y]
2786
+ }, ie(p) ? p : {
2787
+ default: () => [p]
2711
2788
  }))]),
2712
2789
  show: {
2713
2790
  type: "input",
2714
2791
  render: () => {
2715
- let u;
2716
- return l(E, null, [l(s("el-select"), {
2792
+ let b;
2793
+ return l(S, null, [l(A("el-select"), {
2717
2794
  class: "right-select",
2718
- modelValue: i.value.receiver_email,
2719
- "onUpdate:modelValue": (y) => i.value.receiver_email = y,
2795
+ modelValue: s.value.receiver_email,
2796
+ "onUpdate:modelValue": (p) => s.value.receiver_email = p,
2720
2797
  placeholder: "请输入",
2721
2798
  multiple: !0,
2722
2799
  filterable: !0,
2723
2800
  "allow-create": !0,
2724
2801
  "default-first-option": !0,
2725
2802
  "reserve-keyword": !1,
2726
- onBlur: (y) => w(y, "receiver_email")
2727
- }, ue(u = $.map((y) => l(s("el-option"), {
2728
- label: y.label,
2729
- value: y.value
2730
- }, null))) ? u : {
2731
- default: () => [u]
2803
+ onBlur: (p) => _(p, "receiver_email")
2804
+ }, ie(b = x.map((p) => l(A("el-option"), {
2805
+ label: p.label,
2806
+ value: p.value
2807
+ }, null))) ? b : {
2808
+ default: () => [b]
2732
2809
  }), l("p", {
2733
2810
  style: "font-size:12px;color:#909399;line-height:20px"
2734
- }, [R("可输入多个收件人邮箱,多个值间以“回车键”分隔,例:xxx@163.com xx@qq.com")])]);
2811
+ }, [U("可输入多个收件人邮箱,多个值间以“回车键”分隔,例:xxx@163.com xx@qq.com")])]);
2735
2812
  }
2736
2813
  },
2737
2814
  rules: [{
2738
2815
  required: !0,
2739
- validator: c,
2816
+ validator: d,
2740
2817
  type: "any",
2741
2818
  trigger: "change"
2742
2819
  }]
@@ -2747,7 +2824,7 @@ const Co = /* @__PURE__ */ L({
2747
2824
  field: "loop_type",
2748
2825
  name: "发送周期",
2749
2826
  hide: !0,
2750
- enum: g,
2827
+ enum: y,
2751
2828
  show: {
2752
2829
  dataType: "number",
2753
2830
  type: "select",
@@ -2770,9 +2847,9 @@ const Co = /* @__PURE__ */ L({
2770
2847
  field: "day",
2771
2848
  name: "日",
2772
2849
  hide: !0,
2773
- enum: [...Array(28)].map((u, y) => ({
2774
- label: y + 1 + "",
2775
- value: y + 1
2850
+ enum: [...Array(28)].map((b, p) => ({
2851
+ label: p + 1 + "",
2852
+ value: p + 1
2776
2853
  })),
2777
2854
  show: {
2778
2855
  type: "select"
@@ -2785,7 +2862,7 @@ const Co = /* @__PURE__ */ L({
2785
2862
  field: "weekday",
2786
2863
  name: "星期",
2787
2864
  hide: !0,
2788
- enum: _,
2865
+ enum: v,
2789
2866
  show: {
2790
2867
  type: "select"
2791
2868
  },
@@ -2797,9 +2874,9 @@ const Co = /* @__PURE__ */ L({
2797
2874
  field: "hour",
2798
2875
  name: "小时",
2799
2876
  hide: !0,
2800
- enum: [...Array(24)].map((u, y) => ({
2801
- label: y + "时",
2802
- value: y
2877
+ enum: [...Array(24)].map((b, p) => ({
2878
+ label: p + "时",
2879
+ value: p
2803
2880
  })),
2804
2881
  show: {
2805
2882
  type: "select"
@@ -2812,9 +2889,9 @@ const Co = /* @__PURE__ */ L({
2812
2889
  field: "minute",
2813
2890
  name: "分钟",
2814
2891
  hide: !0,
2815
- enum: [...Array(60)].map((u, y) => ({
2816
- label: y + "分",
2817
- value: y
2892
+ enum: [...Array(60)].map((b, p) => ({
2893
+ label: p + "分",
2894
+ value: p
2818
2895
  })),
2819
2896
  show: {
2820
2897
  type: "select"
@@ -2826,15 +2903,15 @@ const Co = /* @__PURE__ */ L({
2826
2903
  }, {
2827
2904
  field: "enable_status",
2828
2905
  name: "启用状态",
2829
- render: (u) => l(s("el-switch"), {
2830
- modelValue: u.row.enable_status,
2831
- "onUpdate:modelValue": (y) => u.row.enable_status = y,
2906
+ render: (b) => l(A("el-switch"), {
2907
+ modelValue: b.row.enable_status,
2908
+ "onUpdate:modelValue": (p) => b.row.enable_status = p,
2832
2909
  "active-value": 1,
2833
2910
  "inactive-value": 0,
2834
- onChange: (y) => {
2835
- it({
2836
- subscript_uuid: u.row.subscript_uuid,
2837
- enable_status: y
2911
+ onChange: (p) => {
2912
+ pt({
2913
+ subscript_uuid: b.row.subscript_uuid,
2914
+ enable_status: p
2838
2915
  }), t.value.getTableList();
2839
2916
  }
2840
2917
  }, null)
@@ -2844,98 +2921,98 @@ const Co = /* @__PURE__ */ L({
2844
2921
  fixed: "right",
2845
2922
  cardHide: !0,
2846
2923
  width: 120,
2847
- render: (u) => l("div", null, [l(s("el-button"), {
2924
+ render: (b) => l("div", null, [l(A("el-button"), {
2848
2925
  link: !0,
2849
2926
  type: "primary",
2850
2927
  icon: "Edit",
2851
2928
  title: a("button.edit"),
2852
2929
  class: "custom-btn",
2853
- onClick: () => b(u.row)
2854
- }, null), l(s("el-button"), {
2930
+ onClick: () => g(b.row)
2931
+ }, null), l(A("el-button"), {
2855
2932
  link: !0,
2856
2933
  type: "danger",
2857
2934
  icon: "Delete",
2858
2935
  title: a("button.delete"),
2859
- onClick: () => f([u.row])
2936
+ onClick: () => c([b.row])
2860
2937
  }, null)])
2861
2938
  }]);
2862
- return (u, y) => {
2863
- const A = s("el-button");
2864
- return m(), x("div", wo, [l(h(Ne), {
2939
+ return (b, p) => {
2940
+ const D = A("el-button");
2941
+ return m(), C("div", To, [l(w(Ge), {
2865
2942
  ref_key: "refTdsTable",
2866
2943
  ref: t,
2867
2944
  "row-key": "subscript_uuid",
2868
- "request-api": h(nt),
2869
- columns: C,
2870
- options: u.$tableOptions()
2945
+ "request-api": w(At),
2946
+ columns: h,
2947
+ options: b.$tableOptions()
2871
2948
  }, {
2872
- tableHeader: d((k) => [l(A, {
2949
+ tableHeader: u((B) => [l(D, {
2873
2950
  type: "primary",
2874
2951
  icon: "Plus",
2875
2952
  class: "custom-btn",
2876
2953
  plain: "",
2877
- onClick: y[0] || (y[0] = (W) => b())
2954
+ onClick: p[0] || (p[0] = (K) => g())
2878
2955
  }, {
2879
- default: d(() => [R(H(h(a)("button.add")), 1)]),
2956
+ default: u(() => [U(M(w(a)("button.add")), 1)]),
2880
2957
  _: 1
2881
- }), l(A, {
2958
+ }), l(D, {
2882
2959
  type: "danger",
2883
2960
  icon: "Delete",
2884
2961
  plain: "",
2885
- onClick: p,
2886
- disabled: !k.selectedListIds.length
2962
+ onClick: i,
2963
+ disabled: !B.selectedListIds.length
2887
2964
  }, {
2888
- default: d(() => [R(H(h(a)("button.delete")), 1)]),
2965
+ default: u(() => [U(M(w(a)("button.delete")), 1)]),
2889
2966
  _: 2
2890
2967
  }, 1032, ["disabled"])]),
2891
2968
  _: 1
2892
- }, 8, ["request-api", "columns", "options"]), l(h(We), ve({
2969
+ }, 8, ["request-api", "columns", "options"]), l(w(Xe), ve({
2893
2970
  ref_key: "refTdsForm",
2894
2971
  ref: e
2895
- }, u.$formBindProps({
2972
+ }, b.$formBindProps({
2896
2973
  title: n.value,
2897
- form: i.value,
2898
- columns: C
2974
+ form: s.value,
2975
+ columns: h
2899
2976
  }), {
2900
- onSubmit: v
2977
+ onSubmit: f
2901
2978
  }), null, 16)]);
2902
2979
  };
2903
2980
  }
2904
- }), xo = X(Co), $o = {
2981
+ }), Do = W(Vo), ko = {
2905
2982
  class: "main-wrapper"
2906
- }, ko = /* @__PURE__ */ L({
2983
+ }, Lo = /* @__PURE__ */ L({
2907
2984
  name: "TCBuildin",
2908
2985
  __name: "index",
2909
2986
  setup(o) {
2910
- const t = S([]), e = S("1");
2987
+ const t = V([]), e = V("1");
2911
2988
  async function a() {
2912
- const r = await ct({
2989
+ const r = await ft({
2913
2990
  prod_type: window.$prodType
2914
2991
  });
2915
2992
  t.value = r.data, e.value = r.data[0].report_uuid;
2916
2993
  }
2917
2994
  return a(), (r, n) => {
2918
- const i = s("el-tab-pane"), f = s("el-tabs");
2919
- return m(), x("div", $o, [l(f, {
2995
+ const s = A("el-tab-pane"), c = A("el-tabs");
2996
+ return m(), C("div", ko, [l(c, {
2920
2997
  modelValue: e.value,
2921
- "onUpdate:modelValue": n[0] || (n[0] = (p) => e.value = p),
2998
+ "onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i),
2922
2999
  class: "report-tabs",
2923
3000
  style: {
2924
3001
  height: "100%"
2925
3002
  }
2926
3003
  }, {
2927
- default: d(() => [(m(!0), x(E, null, I(t.value, (p) => (m(), T(i, {
3004
+ default: u(() => [(m(!0), C(S, null, P(t.value, (i) => (m(), k(s, {
2928
3005
  style: {
2929
3006
  height: "100%"
2930
3007
  },
2931
- key: p.report_uuid,
2932
- label: p.report_name,
2933
- name: p.report_uuid
3008
+ key: i.report_uuid,
3009
+ label: i.report_name,
3010
+ name: i.report_uuid
2934
3011
  }, {
2935
- default: d(() => [e.value === p.report_uuid ? (m(), T(Se, {
3012
+ default: u(() => [e.value === i.report_uuid ? (m(), k(Ve, {
2936
3013
  key: 0,
2937
3014
  "report-id": e.value
2938
- }, null, 8, ["report-id"])) : U("", !0)]),
3015
+ }, null, 8, ["report-id"])) : R("", !0)]),
2939
3016
  _: 2
2940
3017
  }, 1032, ["label", "name"]))), 128))]),
2941
3018
  _: 1
@@ -2943,22 +3020,22 @@ const Co = /* @__PURE__ */ L({
2943
3020
  };
2944
3021
  }
2945
3022
  });
2946
- const Vo = /* @__PURE__ */ N(ko, [["__scopeId", "data-v-c48d204e"]]), So = X(Vo), To = {
2947
- TCReport: fo,
2948
- TCModule: ho,
2949
- TCSubscribe: xo,
2950
- TCBuildin: So
2951
- }, Io = {
3023
+ const Uo = /* @__PURE__ */ Y(Lo, [["__scopeId", "data-v-30fa84c8"]]), Eo = W(Uo), Ro = {
3024
+ TCReport: wo,
3025
+ TCModule: Bo,
3026
+ TCSubscribe: Do,
3027
+ TCBuildin: Eo
3028
+ }, Mo = {
2952
3029
  install(o, t) {
2953
- Object.entries(To).forEach(([e, a]) => {
3030
+ Object.entries(Ro).forEach(([e, a]) => {
2954
3031
  o.component(e, a);
2955
3032
  }), t.prodType && (window.$prodType = t.prodType), t.envURL && (window.$reportURL = t.envURL);
2956
3033
  }
2957
3034
  };
2958
3035
  export {
2959
- So as TCBuildin,
2960
- ho as TCModule,
2961
- fo as TCReport,
2962
- xo as TCSubscribe,
2963
- Io as default
3036
+ Eo as TCBuildin,
3037
+ Bo as TCModule,
3038
+ wo as TCReport,
3039
+ Do as TCSubscribe,
3040
+ Mo as default
2964
3041
  };