@topdatasec/report 1.1.21 → 1.1.22
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.
- package/lib/style.css +1 -1
- package/lib/t-report-ui.es.js +1446 -1071
- package/lib/t-report-ui.umd.js +2 -2
- package/package.json +5 -4
package/lib/t-report-ui.es.js
CHANGED
|
@@ -1,128 +1,123 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { defineStore as
|
|
3
|
-
import {
|
|
4
|
-
import { VueDraggable as
|
|
5
|
-
import { Toolbar as
|
|
6
|
-
import { CircleClose as
|
|
7
|
-
import { TdsTable as
|
|
8
|
-
const Q = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9),
|
|
9
|
-
function je(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), m = new Array(g.length);
|
|
13
|
-
for (let v = 0; v < g.length; v++)
|
|
14
|
-
m[v] = g.charCodeAt(v);
|
|
15
|
-
const b = new Uint8Array(m);
|
|
16
|
-
r.push(b);
|
|
17
|
-
}
|
|
18
|
-
const n = new Blob(r, { type: e }), A = URL.createObjectURL(n), d = document.createElement("a");
|
|
19
|
-
d.href = A, d.download = t, document.body.appendChild(d), d.click(), setTimeout(() => {
|
|
20
|
-
document.body.removeChild(d), URL.revokeObjectURL(A);
|
|
21
|
-
}, 0);
|
|
22
|
-
}
|
|
23
|
-
const Ze = (o) => window.$http.request({
|
|
1
|
+
import { defineComponent as F, computed as X, resolveComponent as d, openBlock as v, createElementBlock as V, createElementVNode as E, Fragment as N, renderList as G, normalizeClass as de, createBlock as q, createCommentVNode as P, withDirectives as Le, createTextVNode as H, toDisplayString as ne, unref as S, ref as M, createVNode as l, withCtx as c, onMounted as De, normalizeProps as je, guardReactiveProps as Be, isVNode as Re, normalizeStyle as it, mergeModels as ze, useModel as Ye, resolveDirective as Pe, resolveDynamicComponent as ge, isRef as st, withModifiers as ut, watch as dt, shallowRef as pt, onBeforeUnmount as ct, onUnmounted as mt, reactive as pe, TransitionGroup as _t, mergeProps as We } from "vue";
|
|
2
|
+
import { defineStore as ft, storeToRefs as vt } from "pinia";
|
|
3
|
+
import { ElMessage as bt } from "element-plus";
|
|
4
|
+
import { VueDraggable as ht } from "vue-draggable-plus";
|
|
5
|
+
import { Toolbar as yt, Editor as gt } from "@wangeditor/editor-for-vue";
|
|
6
|
+
import { CircleClose as wt } from "@element-plus/icons-vue";
|
|
7
|
+
import { TdsTable as Ne, TdsForm as $t } from "topdatasec-ui";
|
|
8
|
+
const Q = () => (/* @__PURE__ */ new Date()).getTime().toString(36) + "-" + Math.random().toString(36).substring(2, 9), we = (o) => JSON.parse(JSON.stringify(o)), Ct = (o) => o.replace(/-([a-z])/g, (t, e) => e.toUpperCase()).replace(/^[a-z]/, (t) => t.toUpperCase()), te = (o, t) => o[Ct(t)], xt = (o) => window.$http.request({
|
|
24
9
|
url: `${window.$reportURL}/tds/report/demo/get`,
|
|
25
10
|
method: "get",
|
|
26
11
|
params: o,
|
|
27
12
|
isError: !1
|
|
28
|
-
}),
|
|
13
|
+
}), Je = (o) => window.$http.request({
|
|
29
14
|
url: `${window.$reportURL}/tds/report/item/get`,
|
|
30
15
|
method: "get",
|
|
31
16
|
params: o,
|
|
32
17
|
isError: !1
|
|
33
|
-
}),
|
|
18
|
+
}), kt = (o) => window.$http.request({
|
|
34
19
|
url: `${window.$reportURL}/tds/report/preview`,
|
|
35
20
|
method: "get",
|
|
36
21
|
params: o,
|
|
37
22
|
isError: !1
|
|
38
|
-
}),
|
|
23
|
+
}), St = (o) => window.$http.request({
|
|
39
24
|
url: `${window.$reportURL}/tds/report/add`,
|
|
40
25
|
method: "post",
|
|
41
26
|
data: o
|
|
42
|
-
}),
|
|
27
|
+
}), Tt = (o) => window.$http.request({
|
|
43
28
|
url: `${window.$reportURL}/tds/report/put`,
|
|
44
29
|
method: "put",
|
|
45
30
|
data: o
|
|
46
|
-
}),
|
|
31
|
+
}), Vt = (o) => window.$http.request({
|
|
47
32
|
url: `${window.$reportURL}/tds/report/get`,
|
|
48
33
|
method: "get",
|
|
49
34
|
params: o,
|
|
50
35
|
isError: !1
|
|
51
|
-
}),
|
|
36
|
+
}), Ke = (o) => window.$http.request({
|
|
52
37
|
url: `${window.$reportURL}/tds/report/filter/get`,
|
|
53
38
|
method: "get",
|
|
54
39
|
params: o,
|
|
55
40
|
isError: !1
|
|
56
|
-
}),
|
|
41
|
+
}), Lt = (o) => window.$http.request({
|
|
57
42
|
url: `${window.$reportURL}/tds/report/delete`,
|
|
58
43
|
method: "delete",
|
|
59
44
|
data: o
|
|
60
|
-
}),
|
|
45
|
+
}), Dt = (o) => window.$http.request({
|
|
61
46
|
url: `${window.$reportURL}/tds/report/item/list`,
|
|
62
47
|
method: "get",
|
|
63
48
|
params: o,
|
|
64
49
|
isError: !1
|
|
65
|
-
}),
|
|
50
|
+
}), Rt = (o) => window.$http.request({
|
|
66
51
|
url: `${window.$reportURL}/tds/report/item/delete`,
|
|
67
52
|
method: "delete",
|
|
68
53
|
data: o
|
|
69
|
-
}),
|
|
54
|
+
}), Ut = (o) => window.$http.request({
|
|
70
55
|
url: `${window.$reportURL}/tds/report/item/add`,
|
|
71
56
|
method: "post",
|
|
72
57
|
data: o
|
|
73
|
-
}),
|
|
58
|
+
}), Et = (o) => window.$http.request({
|
|
74
59
|
url: `${window.$reportURL}/tds/report/item/put`,
|
|
75
60
|
method: "put",
|
|
76
61
|
data: o
|
|
77
|
-
}),
|
|
62
|
+
}), Mt = (o) => window.$http.request({
|
|
78
63
|
url: `${window.$reportURL}/tds/report/sub/get`,
|
|
79
64
|
method: "get",
|
|
80
65
|
params: o,
|
|
81
66
|
isError: !1
|
|
82
|
-
}),
|
|
67
|
+
}), At = (o) => window.$http.request({
|
|
83
68
|
url: `${window.$reportURL}/tds/report/sub/add`,
|
|
84
69
|
method: "post",
|
|
85
70
|
data: o
|
|
86
|
-
}),
|
|
71
|
+
}), Ft = (o) => window.$http.request({
|
|
87
72
|
url: `${window.$reportURL}/tds/report/sub/put`,
|
|
88
73
|
method: "put",
|
|
89
74
|
data: o
|
|
90
|
-
}),
|
|
75
|
+
}), It = (o) => window.$http.request({
|
|
91
76
|
url: `${window.$reportURL}/tds/report/sub/delete`,
|
|
92
77
|
method: "delete",
|
|
93
78
|
data: o
|
|
94
|
-
}),
|
|
79
|
+
}), qt = (o) => window.$http.request({
|
|
95
80
|
url: `${window.$reportURL}/tds/report/sub/edit/state`,
|
|
96
81
|
method: "post",
|
|
97
82
|
data: o
|
|
98
|
-
}),
|
|
83
|
+
}), Ot = (o) => window.$http.request({
|
|
99
84
|
url: `${window.$reportURL}/tds/report/all`,
|
|
100
85
|
method: "get",
|
|
101
86
|
params: o,
|
|
102
87
|
isError: !1
|
|
103
|
-
}),
|
|
88
|
+
}), Ht = (o) => window.$http.request({
|
|
104
89
|
url: `${window.$reportURL}/tds/report/sub/get_format`,
|
|
105
90
|
method: "get",
|
|
106
91
|
params: o,
|
|
107
92
|
isError: !1
|
|
108
|
-
}),
|
|
93
|
+
}), jt = (o) => window.$http.request({
|
|
109
94
|
url: `${window.$reportURL}/tds/report/filter/get_select_data`,
|
|
110
95
|
method: "get",
|
|
111
96
|
params: o,
|
|
112
97
|
isError: !1
|
|
113
|
-
}),
|
|
98
|
+
}), Bt = (o = {}) => window.$http.request({
|
|
114
99
|
url: `${window.$reportURL}/tds/report/build_in/get`,
|
|
115
100
|
method: "get",
|
|
116
101
|
params: o,
|
|
117
102
|
loading: !1,
|
|
118
103
|
isError: !1
|
|
119
|
-
}),
|
|
120
|
-
url: `${window.$reportURL}/tds/report/export`,
|
|
104
|
+
}), zt = (o = {}) => window.$http.request({
|
|
105
|
+
url: `${window.$reportURL}/tds/report/export/get`,
|
|
121
106
|
method: "get",
|
|
122
107
|
params: o,
|
|
123
108
|
loading: !1,
|
|
124
109
|
isError: !1
|
|
125
|
-
}),
|
|
110
|
+
}), Yt = (o = {}) => window.$http.request({
|
|
111
|
+
url: `${window.$reportURL}/tds/report/export/download`,
|
|
112
|
+
method: "get",
|
|
113
|
+
params: o,
|
|
114
|
+
loading: !1,
|
|
115
|
+
isError: !1
|
|
116
|
+
}), Pt = (o = {}) => window.$http.request({
|
|
117
|
+
url: `${window.$reportURL}/tds/report/export/delete`,
|
|
118
|
+
method: "delete",
|
|
119
|
+
data: o
|
|
120
|
+
}), Ge = "rgba(51, 51, 51, 0.15)", re = "rgba(51, 51, 51, 1)", ue = 12, Ze = (o = !1) => {
|
|
126
121
|
const t = {
|
|
127
122
|
// top: '2%',
|
|
128
123
|
left: "3%",
|
|
@@ -131,7 +126,7 @@ const Ze = (o) => window.$http.request({
|
|
|
131
126
|
containLabel: !0
|
|
132
127
|
};
|
|
133
128
|
return o && (t.top = "5%"), t;
|
|
134
|
-
},
|
|
129
|
+
}, J = [
|
|
135
130
|
"46, 145, 255",
|
|
136
131
|
"48, 212, 183",
|
|
137
132
|
"108, 108, 255",
|
|
@@ -152,12 +147,12 @@ const Ze = (o) => window.$http.request({
|
|
|
152
147
|
"100, 161, 206",
|
|
153
148
|
"246, 175, 159",
|
|
154
149
|
"238, 97, 97"
|
|
155
|
-
],
|
|
156
|
-
const
|
|
157
|
-
t.forEach((
|
|
158
|
-
|
|
159
|
-
}), o.xAxis[0].data =
|
|
160
|
-
},
|
|
150
|
+
], Wt = (o, t, e = "", r = { name: "name", value: "value" }) => {
|
|
151
|
+
const a = [], n = [];
|
|
152
|
+
t.forEach((i) => {
|
|
153
|
+
a.push(i[r.name]), n.push(i[r.value]);
|
|
154
|
+
}), o.xAxis[0].data = a, o.series[0].data = n, o.series[0].name = e, o.series[1].data = n, o.series[2].data = n;
|
|
155
|
+
}, Ce = (o = [
|
|
161
156
|
{
|
|
162
157
|
name: "数据1",
|
|
163
158
|
value: 63
|
|
@@ -171,7 +166,7 @@ const Ze = (o) => window.$http.request({
|
|
|
171
166
|
value: 43
|
|
172
167
|
}
|
|
173
168
|
], t = { name: "name", value: "value" }) => {
|
|
174
|
-
const e = (
|
|
169
|
+
const e = (a = "rgba(46, 145, 255, 0.7)", n = "rgba(46, 145, 255, 0.2)") => ({
|
|
175
170
|
color: {
|
|
176
171
|
type: "linear",
|
|
177
172
|
x: 0,
|
|
@@ -181,7 +176,7 @@ const Ze = (o) => window.$http.request({
|
|
|
181
176
|
colorStops: [
|
|
182
177
|
{
|
|
183
178
|
offset: 0,
|
|
184
|
-
color:
|
|
179
|
+
color: a
|
|
185
180
|
},
|
|
186
181
|
{
|
|
187
182
|
offset: 0.8,
|
|
@@ -189,7 +184,7 @@ const Ze = (o) => window.$http.request({
|
|
|
189
184
|
}
|
|
190
185
|
]
|
|
191
186
|
}
|
|
192
|
-
}),
|
|
187
|
+
}), r = o.map((a) => a[t.value]);
|
|
193
188
|
return {
|
|
194
189
|
// 提示框组件
|
|
195
190
|
tooltip: {
|
|
@@ -201,7 +196,7 @@ const Ze = (o) => window.$http.request({
|
|
|
201
196
|
// type: 'plain', //plain:普通图例;scroll:可滚动翻页的图例。当图例数量较多时使。
|
|
202
197
|
// show: true,
|
|
203
198
|
// },
|
|
204
|
-
grid:
|
|
199
|
+
grid: Ze(),
|
|
205
200
|
title: {
|
|
206
201
|
show: !0,
|
|
207
202
|
text: "样例数据",
|
|
@@ -221,7 +216,7 @@ const Ze = (o) => window.$http.request({
|
|
|
221
216
|
nameRotate: 0,
|
|
222
217
|
// 坐标轴名称旋转
|
|
223
218
|
axisLabel: {
|
|
224
|
-
color:
|
|
219
|
+
color: re,
|
|
225
220
|
// X轴类目名称样式
|
|
226
221
|
rotate: 0
|
|
227
222
|
// X轴类目名称旋转角度
|
|
@@ -230,7 +225,7 @@ const Ze = (o) => window.$http.request({
|
|
|
230
225
|
//X轴轴线设置
|
|
231
226
|
show: !0,
|
|
232
227
|
lineStyle: {
|
|
233
|
-
color:
|
|
228
|
+
color: Ge,
|
|
234
229
|
width: 1
|
|
235
230
|
}
|
|
236
231
|
},
|
|
@@ -238,7 +233,7 @@ const Ze = (o) => window.$http.request({
|
|
|
238
233
|
// X轴刻度相关设置
|
|
239
234
|
splitLine: { show: !1 },
|
|
240
235
|
// 横向分隔线
|
|
241
|
-
data: o.map((
|
|
236
|
+
data: o.map((a) => a[t.name])
|
|
242
237
|
}
|
|
243
238
|
],
|
|
244
239
|
// y轴设置
|
|
@@ -249,8 +244,8 @@ const Ze = (o) => window.$http.request({
|
|
|
249
244
|
// 坐标轴刻度最小值
|
|
250
245
|
position: "left",
|
|
251
246
|
nameTextStyle: {
|
|
252
|
-
fontSize:
|
|
253
|
-
color:
|
|
247
|
+
fontSize: ue,
|
|
248
|
+
color: re,
|
|
254
249
|
fontWeight: "bold"
|
|
255
250
|
},
|
|
256
251
|
axisLine: { show: !1 },
|
|
@@ -260,7 +255,7 @@ const Ze = (o) => window.$http.request({
|
|
|
260
255
|
splitLine: { show: !1 },
|
|
261
256
|
// 纵向分隔线
|
|
262
257
|
axisLabel: {
|
|
263
|
-
color:
|
|
258
|
+
color: re,
|
|
264
259
|
// y轴刻度标签
|
|
265
260
|
formatter: "{value}",
|
|
266
261
|
inside: !1
|
|
@@ -273,8 +268,8 @@ const Ze = (o) => window.$http.request({
|
|
|
273
268
|
type: "bar",
|
|
274
269
|
barWidth: 15,
|
|
275
270
|
barGap: "0%",
|
|
276
|
-
itemStyle: e(`rgba(${
|
|
277
|
-
data:
|
|
271
|
+
itemStyle: e(`rgba(${J[0]}, 0.7)`, `rgba(${J[0]}, 0.2)`),
|
|
272
|
+
data: r,
|
|
278
273
|
label: {
|
|
279
274
|
show: !0,
|
|
280
275
|
// 显示标签
|
|
@@ -293,8 +288,8 @@ const Ze = (o) => window.$http.request({
|
|
|
293
288
|
symbolSize: [15, 10],
|
|
294
289
|
//调整截面形状
|
|
295
290
|
symbolOffset: [0, 5],
|
|
296
|
-
itemStyle: e(`rgba(${
|
|
297
|
-
data:
|
|
291
|
+
itemStyle: e(`rgba(${J[0]}, 0.7)`, `rgba(${J[0]}, 0.2)`),
|
|
292
|
+
data: r
|
|
298
293
|
},
|
|
299
294
|
{
|
|
300
295
|
// 柱顶圆片
|
|
@@ -304,19 +299,19 @@ const Ze = (o) => window.$http.request({
|
|
|
304
299
|
//调整截面形状
|
|
305
300
|
symbolOffset: [0, -5],
|
|
306
301
|
symbolPosition: "end",
|
|
307
|
-
itemStyle: e(`rgba(${
|
|
308
|
-
data:
|
|
302
|
+
itemStyle: e(`rgba(${J[0]}, 0.9)`, `rgba(${J[0]}, 1)`),
|
|
303
|
+
data: r
|
|
309
304
|
}
|
|
310
305
|
]
|
|
311
306
|
};
|
|
312
|
-
},
|
|
313
|
-
let
|
|
314
|
-
const
|
|
307
|
+
}, Nt = ({ chartOption: o, data: t, props: e = { name: "label", value: "data" } }) => {
|
|
308
|
+
let r = 0;
|
|
309
|
+
const a = t.map((n, i) => (r += Number(n[e.value]), {
|
|
315
310
|
name: n[e.name],
|
|
316
311
|
value: Number(n[e.value])
|
|
317
312
|
}));
|
|
318
|
-
o.legend.data =
|
|
319
|
-
},
|
|
313
|
+
o.legend.data = a, o.series[0].data = a, o.graphic[1].style.text = r;
|
|
314
|
+
}, Jt = () => J.map((o) => `rgba(${o}, 1)`), Ue = ({
|
|
320
315
|
data: o = [
|
|
321
316
|
{
|
|
322
317
|
name: "数据1",
|
|
@@ -333,25 +328,25 @@ const Ze = (o) => window.$http.request({
|
|
|
333
328
|
],
|
|
334
329
|
radiusType: t = 1,
|
|
335
330
|
roseType: e = !1,
|
|
336
|
-
isLegend:
|
|
337
|
-
isLine:
|
|
331
|
+
isLegend: r = !0,
|
|
332
|
+
isLine: a = !1,
|
|
338
333
|
center: n = ["50%", "50%"],
|
|
339
|
-
isTitle:
|
|
334
|
+
isTitle: i = !0
|
|
340
335
|
}) => {
|
|
341
|
-
const
|
|
342
|
-
color:
|
|
336
|
+
const p = {
|
|
337
|
+
color: Jt(),
|
|
343
338
|
toolbox: { show: !1 },
|
|
344
339
|
tooltip: {
|
|
345
340
|
trigger: "item",
|
|
346
341
|
show: !0,
|
|
347
|
-
formatter: (
|
|
348
|
-
const { name:
|
|
349
|
-
return `<div style="color: ${
|
|
350
|
-
<div><span style="font-size: 14px; color: #86909c; float: right;">数量:${
|
|
342
|
+
formatter: (s) => {
|
|
343
|
+
const { name: _, value: f } = s;
|
|
344
|
+
return `<div style="color: ${s.color}; font-size: 14px;">${_} </div>
|
|
345
|
+
<div><span style="font-size: 14px; color: #86909c; float: right;">数量:${f}</span></div>`;
|
|
351
346
|
}
|
|
352
347
|
},
|
|
353
348
|
title: {
|
|
354
|
-
show:
|
|
349
|
+
show: i,
|
|
355
350
|
text: "样例数据",
|
|
356
351
|
textStyle: {
|
|
357
352
|
color: "#333",
|
|
@@ -361,16 +356,16 @@ const Ze = (o) => window.$http.request({
|
|
|
361
356
|
y: 10
|
|
362
357
|
},
|
|
363
358
|
legend: {
|
|
364
|
-
show:
|
|
359
|
+
show: r,
|
|
365
360
|
left: "70%",
|
|
366
|
-
formatter: (
|
|
367
|
-
var
|
|
368
|
-
const
|
|
369
|
-
return ` ${
|
|
361
|
+
formatter: (s) => {
|
|
362
|
+
var f;
|
|
363
|
+
const _ = (f = p.series[0]) == null ? void 0 : f.data.find((m) => m.name === s).value;
|
|
364
|
+
return ` ${s} | ${_}`;
|
|
370
365
|
},
|
|
371
366
|
textStyle: {
|
|
372
|
-
fontSize:
|
|
373
|
-
color:
|
|
367
|
+
fontSize: ue,
|
|
368
|
+
color: re
|
|
374
369
|
},
|
|
375
370
|
data: o,
|
|
376
371
|
orient: "vertical",
|
|
@@ -407,7 +402,7 @@ const Ze = (o) => window.$http.request({
|
|
|
407
402
|
// },
|
|
408
403
|
},
|
|
409
404
|
label: {
|
|
410
|
-
show:
|
|
405
|
+
show: a,
|
|
411
406
|
position: "outside",
|
|
412
407
|
alignTo: "labelLine",
|
|
413
408
|
backgroundColor: "#fff",
|
|
@@ -419,8 +414,8 @@ const Ze = (o) => window.$http.request({
|
|
|
419
414
|
borderWidth: 1,
|
|
420
415
|
borderColor: "inherit",
|
|
421
416
|
padding: [3, -3, 3, -3],
|
|
422
|
-
formatter: function(
|
|
423
|
-
return `{a|${
|
|
417
|
+
formatter: function(s) {
|
|
418
|
+
return `{a|${s.name}(${s.value})}`;
|
|
424
419
|
},
|
|
425
420
|
rich: {
|
|
426
421
|
a: {
|
|
@@ -477,24 +472,24 @@ const Ze = (o) => window.$http.request({
|
|
|
477
472
|
}
|
|
478
473
|
]
|
|
479
474
|
};
|
|
480
|
-
return
|
|
481
|
-
},
|
|
482
|
-
o.xAxis.data = t.map((
|
|
483
|
-
o.series[
|
|
484
|
-
}) : typeof e.value == "string" && (o.series[0].data = t.map((
|
|
485
|
-
},
|
|
475
|
+
return p;
|
|
476
|
+
}, Kt = (o, t, e = { name: "name", value: "value" }) => {
|
|
477
|
+
o.xAxis.data = t.map((r) => r[e.name]), Array.isArray(e.value) ? e.value.forEach((r, a) => {
|
|
478
|
+
o.series[a].data = t.map((n) => n[r.value]);
|
|
479
|
+
}) : typeof e.value == "string" && (o.series[0].data = t.map((r) => r[e.value]));
|
|
480
|
+
}, Gt = () => ({
|
|
486
481
|
name: "",
|
|
487
482
|
type: "line",
|
|
488
483
|
symbol: "circle",
|
|
489
484
|
smooth: !0,
|
|
490
485
|
lineStyle: {
|
|
491
486
|
width: 1,
|
|
492
|
-
color: `rgba(${
|
|
487
|
+
color: `rgba(${J[0]}, 1)`
|
|
493
488
|
// 线条颜色
|
|
494
489
|
},
|
|
495
490
|
showSymbol: !1,
|
|
496
491
|
itemStyle: {
|
|
497
|
-
color: `rgba(${
|
|
492
|
+
color: `rgba(${J[0]}, 1)`,
|
|
498
493
|
//拐点颜色
|
|
499
494
|
label: {
|
|
500
495
|
show: !0,
|
|
@@ -517,18 +512,18 @@ const Ze = (o) => window.$http.request({
|
|
|
517
512
|
// 渐变颜色
|
|
518
513
|
{
|
|
519
514
|
offset: 0,
|
|
520
|
-
color: `rgba(${
|
|
515
|
+
color: `rgba(${J[0]}, 0.7)`
|
|
521
516
|
},
|
|
522
517
|
{
|
|
523
518
|
offset: 1,
|
|
524
|
-
color: `rgba(${
|
|
519
|
+
color: `rgba(${J[0]}, 0.1)`
|
|
525
520
|
}
|
|
526
521
|
],
|
|
527
522
|
global: !1
|
|
528
523
|
}
|
|
529
524
|
},
|
|
530
525
|
data: []
|
|
531
|
-
}),
|
|
526
|
+
}), $e = (o = [
|
|
532
527
|
{
|
|
533
528
|
name: "2024-08",
|
|
534
529
|
value: 63
|
|
@@ -560,24 +555,24 @@ const Ze = (o) => window.$http.request({
|
|
|
560
555
|
show: !0,
|
|
561
556
|
itemWidth: 30,
|
|
562
557
|
textStyle: {
|
|
563
|
-
color:
|
|
564
|
-
fontSize:
|
|
558
|
+
color: re,
|
|
559
|
+
fontSize: ue,
|
|
565
560
|
padding: [0, 8, 0, 8]
|
|
566
561
|
}
|
|
567
562
|
},
|
|
568
|
-
grid:
|
|
563
|
+
grid: Ze(),
|
|
569
564
|
xAxis: {
|
|
570
565
|
type: "category",
|
|
571
566
|
splitLine: { show: !1 },
|
|
572
567
|
axisTick: { show: !1 },
|
|
573
568
|
axisLine: {
|
|
574
569
|
show: !0,
|
|
575
|
-
lineStyle: { color:
|
|
570
|
+
lineStyle: { color: Ge }
|
|
576
571
|
},
|
|
577
572
|
axisLabel: {
|
|
578
573
|
show: !0,
|
|
579
|
-
fontSize:
|
|
580
|
-
color:
|
|
574
|
+
fontSize: ue,
|
|
575
|
+
color: re
|
|
581
576
|
},
|
|
582
577
|
boundaryGap: !1,
|
|
583
578
|
data: o.map((n) => n[t.name])
|
|
@@ -589,42 +584,42 @@ const Ze = (o) => window.$http.request({
|
|
|
589
584
|
axisLine: { show: !1 },
|
|
590
585
|
axisTick: { show: !1 },
|
|
591
586
|
nameTextStyle: {
|
|
592
|
-
fontSize:
|
|
593
|
-
color:
|
|
587
|
+
fontSize: ue,
|
|
588
|
+
color: re,
|
|
594
589
|
padding: [0, 60, 0, 0]
|
|
595
590
|
},
|
|
596
591
|
axisLabel: {
|
|
597
592
|
show: !0,
|
|
598
|
-
fontSize:
|
|
599
|
-
color:
|
|
593
|
+
fontSize: ue,
|
|
594
|
+
color: re
|
|
600
595
|
}
|
|
601
596
|
},
|
|
602
597
|
series: []
|
|
603
|
-
},
|
|
598
|
+
}, r = Gt(), a = [];
|
|
604
599
|
if (Array.isArray(t.value))
|
|
605
|
-
t.value.forEach((n,
|
|
606
|
-
const
|
|
607
|
-
|
|
600
|
+
t.value.forEach((n, i) => {
|
|
601
|
+
const p = we(r);
|
|
602
|
+
p.name = n.name, p.lineStyle.color = `rgba(${J[i]}, 1)`, p.itemStyle.color = `rgba(${J[i]}, 1)`, p.areaStyle.color.colorStops[0].color = `rgba(${J[i]}, 0.7)`, p.areaStyle.color.colorStops[1].color = `rgba(${J[i]}, 0.1)`, p.data = o.map((s) => s[n.value]), a.push(p);
|
|
608
603
|
});
|
|
609
604
|
else if (typeof t.value == "string") {
|
|
610
|
-
const n =
|
|
611
|
-
n.data = o.map((
|
|
605
|
+
const n = we(r);
|
|
606
|
+
n.data = o.map((i) => i[t.value]), a.push(n);
|
|
612
607
|
}
|
|
613
|
-
return e.series =
|
|
614
|
-
},
|
|
608
|
+
return e.series = a, e;
|
|
609
|
+
}, Ee = [
|
|
615
610
|
{ key: "assets", name: "资产名称" },
|
|
616
611
|
{ key: "type", name: "资产类型" },
|
|
617
612
|
{ key: "data", name: "资产数据" }
|
|
618
|
-
],
|
|
613
|
+
], Me = [
|
|
619
614
|
{ assets: "name1", type: "type1", data: "data1" },
|
|
620
615
|
{ assets: "name2", type: "type2", data: "data2" },
|
|
621
616
|
{ assets: "name3", type: "type3", data: "data3" }
|
|
622
|
-
],
|
|
617
|
+
], ke = [
|
|
623
618
|
{ data: [{ name: "默认数据", value: 180 }], label: "name1" },
|
|
624
619
|
{ data: [{ name: "默认数据", value: 311 }], label: "name2" },
|
|
625
620
|
{ data: [{ name: "默认数据", value: 42 }], label: "name3" },
|
|
626
621
|
{ data: [{ name: "默认数据", value: 32391 }], label: "name4" }
|
|
627
|
-
],
|
|
622
|
+
], Zt = [
|
|
628
623
|
{
|
|
629
624
|
data: 63,
|
|
630
625
|
label: "数据1"
|
|
@@ -637,7 +632,7 @@ const Ze = (o) => window.$http.request({
|
|
|
637
632
|
data: 43,
|
|
638
633
|
label: "数据3"
|
|
639
634
|
}
|
|
640
|
-
],
|
|
635
|
+
], Qt = [
|
|
641
636
|
{
|
|
642
637
|
type: "report-select",
|
|
643
638
|
label: "资产:",
|
|
@@ -690,8 +685,8 @@ const Ze = (o) => window.$http.request({
|
|
|
690
685
|
},
|
|
691
686
|
{
|
|
692
687
|
type: "report-table",
|
|
693
|
-
data:
|
|
694
|
-
showColumn:
|
|
688
|
+
data: Me,
|
|
689
|
+
showColumn: Ee,
|
|
695
690
|
name: "表格",
|
|
696
691
|
options: {
|
|
697
692
|
showColumn: {
|
|
@@ -706,7 +701,7 @@ const Ze = (o) => window.$http.request({
|
|
|
706
701
|
rp_item_uuid: "",
|
|
707
702
|
id: Q()
|
|
708
703
|
}
|
|
709
|
-
],
|
|
704
|
+
], Xt = [
|
|
710
705
|
{
|
|
711
706
|
type: "h1",
|
|
712
707
|
data: "报表名称",
|
|
@@ -753,8 +748,8 @@ const Ze = (o) => window.$http.request({
|
|
|
753
748
|
{ type: "p", data: "正文", name: "正文", rp_item_uuid: "", id: "" },
|
|
754
749
|
{
|
|
755
750
|
type: "report-table",
|
|
756
|
-
data:
|
|
757
|
-
showColumn:
|
|
751
|
+
data: Me,
|
|
752
|
+
showColumn: Ee,
|
|
758
753
|
name: "表格",
|
|
759
754
|
options: {
|
|
760
755
|
border: !0,
|
|
@@ -771,45 +766,45 @@ const Ze = (o) => window.$http.request({
|
|
|
771
766
|
},
|
|
772
767
|
{
|
|
773
768
|
type: "bar",
|
|
774
|
-
data:
|
|
769
|
+
data: ke,
|
|
775
770
|
showColumn: [{ key: "label", value: "data" }],
|
|
776
771
|
name: "图表",
|
|
777
|
-
options:
|
|
772
|
+
options: Ce(),
|
|
778
773
|
rp_item_uuid: "",
|
|
779
774
|
id: ""
|
|
780
775
|
}
|
|
781
|
-
],
|
|
776
|
+
], eo = (o) => ({
|
|
782
777
|
bar: () => ({
|
|
783
778
|
type: "bar",
|
|
784
|
-
data:
|
|
779
|
+
data: ke,
|
|
785
780
|
showColumn: [{ key: "label", value: "data" }],
|
|
786
781
|
name: "图表",
|
|
787
|
-
options:
|
|
782
|
+
options: Ce(),
|
|
788
783
|
rp_item_uuid: "",
|
|
789
784
|
id: Q()
|
|
790
785
|
}),
|
|
791
786
|
line: () => ({
|
|
792
787
|
type: "line",
|
|
793
|
-
data:
|
|
788
|
+
data: ke,
|
|
794
789
|
showColumn: [{ key: "label", value: "data" }],
|
|
795
790
|
name: "图表",
|
|
796
|
-
options:
|
|
791
|
+
options: $e(),
|
|
797
792
|
rp_item_uuid: "",
|
|
798
793
|
id: Q()
|
|
799
794
|
}),
|
|
800
795
|
pie: () => ({
|
|
801
796
|
type: "pie",
|
|
802
|
-
data:
|
|
797
|
+
data: Zt,
|
|
803
798
|
showColumn: [{ key: "label", value: "data" }],
|
|
804
799
|
name: "图表",
|
|
805
|
-
options:
|
|
800
|
+
options: Ue({ isLegend: !0 }),
|
|
806
801
|
rp_item_uuid: "",
|
|
807
802
|
id: Q()
|
|
808
803
|
}),
|
|
809
804
|
"report-table": () => ({
|
|
810
805
|
type: "report-table",
|
|
811
|
-
data:
|
|
812
|
-
showColumn:
|
|
806
|
+
data: Me,
|
|
807
|
+
showColumn: Ee,
|
|
813
808
|
name: "表格",
|
|
814
809
|
options: {
|
|
815
810
|
showColumn: {
|
|
@@ -864,7 +859,7 @@ const Ze = (o) => window.$http.request({
|
|
|
864
859
|
],
|
|
865
860
|
id: Q()
|
|
866
861
|
})
|
|
867
|
-
})[o](),
|
|
862
|
+
})[o](), ee = ft("tds-report", {
|
|
868
863
|
state: () => ({
|
|
869
864
|
componentList: [],
|
|
870
865
|
activeComponents: {},
|
|
@@ -885,10 +880,10 @@ const Ze = (o) => window.$http.request({
|
|
|
885
880
|
},
|
|
886
881
|
async getReportDemo(o) {
|
|
887
882
|
let t = [];
|
|
888
|
-
o ? t = (await
|
|
883
|
+
o ? t = (await xt({ report_uuid: o })).data : t = { content: we(Qt), range_time: 1 };
|
|
889
884
|
const e = [];
|
|
890
|
-
t.content.forEach((
|
|
891
|
-
(
|
|
885
|
+
t.content.forEach((r) => {
|
|
886
|
+
(r.type === "report-select" || r.type === "range-time") && e.push(r), r.type === "h1" && (this.titleComponent = r), r.id = Q();
|
|
892
887
|
}), 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;
|
|
893
888
|
},
|
|
894
889
|
setActiveComponents(o) {
|
|
@@ -901,306 +896,602 @@ const Ze = (o) => window.$http.request({
|
|
|
901
896
|
};
|
|
902
897
|
}
|
|
903
898
|
}
|
|
904
|
-
}),
|
|
899
|
+
}), to = {
|
|
905
900
|
mounted(o) {
|
|
906
901
|
o.addEventListener("click", (t) => {
|
|
907
|
-
var
|
|
902
|
+
var r;
|
|
908
903
|
t.preventDefault(), console.log(o, "scollow");
|
|
909
|
-
const e = (
|
|
904
|
+
const e = (r = o.getAttribute("href")) == null ? void 0 : r.substring(1);
|
|
910
905
|
if (e) {
|
|
911
|
-
const
|
|
912
|
-
if (
|
|
913
|
-
const
|
|
906
|
+
const a = document.getElementById(e), n = document.getElementById("editor");
|
|
907
|
+
if (a && n) {
|
|
908
|
+
const p = a.offsetTop - n.offsetTop - 0;
|
|
914
909
|
n.scrollTo({
|
|
915
|
-
top:
|
|
910
|
+
top: p,
|
|
916
911
|
behavior: "smooth"
|
|
917
912
|
});
|
|
918
913
|
}
|
|
919
914
|
}
|
|
920
915
|
});
|
|
921
916
|
}
|
|
922
|
-
},
|
|
917
|
+
}, oo = { class: "catalogue" }, no = ["href", "title"], lo = /* @__PURE__ */ F({
|
|
923
918
|
__name: "Catalogue",
|
|
924
919
|
props: {
|
|
925
920
|
data: { default: () => [] }
|
|
926
921
|
},
|
|
927
922
|
setup(o) {
|
|
928
|
-
const t = o, e =
|
|
929
|
-
return (
|
|
930
|
-
const n =
|
|
931
|
-
return
|
|
932
|
-
|
|
933
|
-
(
|
|
934
|
-
class:
|
|
935
|
-
key:
|
|
923
|
+
const t = o, e = X(() => t.data.filter((r) => ["h2", "h3", "h4"].includes(r.type)));
|
|
924
|
+
return (r, a) => {
|
|
925
|
+
const n = d("el-divider");
|
|
926
|
+
return v(), V("div", oo, [
|
|
927
|
+
a[0] || (a[0] = E("div", { class: "cata-title el-anchor__link" }, "目录", -1)),
|
|
928
|
+
(v(!0), V(N, null, G(e.value, (i) => (v(), V("div", {
|
|
929
|
+
class: de("level" + i.type),
|
|
930
|
+
key: i.value
|
|
936
931
|
}, [
|
|
937
|
-
|
|
932
|
+
i.type === "h2" ? (v(), q(n, {
|
|
938
933
|
key: 0,
|
|
939
934
|
style: { "margin-top": "10px", "margin-bottom": "10px" }
|
|
940
|
-
})) :
|
|
941
|
-
|
|
935
|
+
})) : P("", !0),
|
|
936
|
+
Le((v(), V("a", {
|
|
942
937
|
class: "el-anchor__link",
|
|
943
|
-
href: "#" +
|
|
944
|
-
title:
|
|
938
|
+
href: "#" + i.id,
|
|
939
|
+
title: i.data
|
|
945
940
|
}, [
|
|
946
|
-
|
|
947
|
-
], 8,
|
|
948
|
-
[
|
|
941
|
+
H(ne(i.data), 1)
|
|
942
|
+
], 8, no)), [
|
|
943
|
+
[S(to)]
|
|
949
944
|
])
|
|
950
945
|
], 2))), 128))
|
|
951
946
|
]);
|
|
952
947
|
};
|
|
953
948
|
}
|
|
954
949
|
});
|
|
955
|
-
const
|
|
950
|
+
const _e = (o, t) => {
|
|
956
951
|
const e = o.__vccOpts || o;
|
|
957
|
-
for (const [
|
|
958
|
-
e[
|
|
952
|
+
for (const [r, a] of t)
|
|
953
|
+
e[r] = a;
|
|
959
954
|
return e;
|
|
960
|
-
},
|
|
955
|
+
}, ro = /* @__PURE__ */ _e(lo, [["__scopeId", "data-v-00cc9080"]]);
|
|
956
|
+
var ye = { exports: {} }, ao = ye.exports, Ie;
|
|
957
|
+
function io() {
|
|
958
|
+
return Ie || (Ie = 1, function(o, t) {
|
|
959
|
+
(function(e, r) {
|
|
960
|
+
o.exports = r();
|
|
961
|
+
})(ao, function() {
|
|
962
|
+
var e = 1e3, r = 6e4, a = 36e5, n = "millisecond", i = "second", p = "minute", s = "hour", _ = "day", f = "week", m = "month", h = "quarter", w = "year", x = "date", C = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, u = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, $ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(L) {
|
|
963
|
+
var g = ["th", "st", "nd", "rd"], b = L % 100;
|
|
964
|
+
return "[" + L + (g[(b - 20) % 10] || g[b] || g[0]) + "]";
|
|
965
|
+
} }, B = function(L, g, b) {
|
|
966
|
+
var k = String(L);
|
|
967
|
+
return !k || k.length >= g ? L : "" + Array(g + 1 - k.length).join(b) + L;
|
|
968
|
+
}, U = { s: B, z: function(L) {
|
|
969
|
+
var g = -L.utcOffset(), b = Math.abs(g), k = Math.floor(b / 60), y = b % 60;
|
|
970
|
+
return (g <= 0 ? "+" : "-") + B(k, 2, "0") + ":" + B(y, 2, "0");
|
|
971
|
+
}, m: function L(g, b) {
|
|
972
|
+
if (g.date() < b.date())
|
|
973
|
+
return -L(b, g);
|
|
974
|
+
var k = 12 * (b.year() - g.year()) + (b.month() - g.month()), y = g.clone().add(k, m), D = b - y < 0, R = g.clone().add(k + (D ? -1 : 1), m);
|
|
975
|
+
return +(-(k + (b - y) / (D ? y - R : R - y)) || 0);
|
|
976
|
+
}, a: function(L) {
|
|
977
|
+
return L < 0 ? Math.ceil(L) || 0 : Math.floor(L);
|
|
978
|
+
}, p: function(L) {
|
|
979
|
+
return { M: m, y: w, w: f, d: _, D: x, h: s, m: p, s: i, ms: n, Q: h }[L] || String(L || "").toLowerCase().replace(/s$/, "");
|
|
980
|
+
}, u: function(L) {
|
|
981
|
+
return L === void 0;
|
|
982
|
+
} }, oe = "en", O = {};
|
|
983
|
+
O[oe] = $;
|
|
984
|
+
var Ae = "$isDayjsObject", xe = function(L) {
|
|
985
|
+
return L instanceof be || !(!L || !L[Ae]);
|
|
986
|
+
}, ve = function L(g, b, k) {
|
|
987
|
+
var y;
|
|
988
|
+
if (!g)
|
|
989
|
+
return oe;
|
|
990
|
+
if (typeof g == "string") {
|
|
991
|
+
var D = g.toLowerCase();
|
|
992
|
+
O[D] && (y = D), b && (O[D] = b, y = D);
|
|
993
|
+
var R = g.split("-");
|
|
994
|
+
if (!y && R.length > 1)
|
|
995
|
+
return L(R[0]);
|
|
996
|
+
} else {
|
|
997
|
+
var I = g.name;
|
|
998
|
+
O[I] = g, y = I;
|
|
999
|
+
}
|
|
1000
|
+
return !k && y && (oe = y), y || !k && oe;
|
|
1001
|
+
}, z = function(L, g) {
|
|
1002
|
+
if (xe(L))
|
|
1003
|
+
return L.clone();
|
|
1004
|
+
var b = typeof g == "object" ? g : {};
|
|
1005
|
+
return b.date = L, b.args = arguments, new be(b);
|
|
1006
|
+
}, A = U;
|
|
1007
|
+
A.l = ve, A.i = xe, A.w = function(L, g) {
|
|
1008
|
+
return z(L, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
1009
|
+
};
|
|
1010
|
+
var be = function() {
|
|
1011
|
+
function L(b) {
|
|
1012
|
+
this.$L = ve(b.locale, null, !0), this.parse(b), this.$x = this.$x || b.x || {}, this[Ae] = !0;
|
|
1013
|
+
}
|
|
1014
|
+
var g = L.prototype;
|
|
1015
|
+
return g.parse = function(b) {
|
|
1016
|
+
this.$d = function(k) {
|
|
1017
|
+
var y = k.date, D = k.utc;
|
|
1018
|
+
if (y === null)
|
|
1019
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
1020
|
+
if (A.u(y))
|
|
1021
|
+
return /* @__PURE__ */ new Date();
|
|
1022
|
+
if (y instanceof Date)
|
|
1023
|
+
return new Date(y);
|
|
1024
|
+
if (typeof y == "string" && !/Z$/i.test(y)) {
|
|
1025
|
+
var R = y.match(T);
|
|
1026
|
+
if (R) {
|
|
1027
|
+
var I = R[2] - 1 || 0, j = (R[7] || "0").substring(0, 3);
|
|
1028
|
+
return D ? new Date(Date.UTC(R[1], I, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, j)) : new Date(R[1], I, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, j);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
return new Date(y);
|
|
1032
|
+
}(b), this.init();
|
|
1033
|
+
}, g.init = function() {
|
|
1034
|
+
var b = this.$d;
|
|
1035
|
+
this.$y = b.getFullYear(), this.$M = b.getMonth(), this.$D = b.getDate(), this.$W = b.getDay(), this.$H = b.getHours(), this.$m = b.getMinutes(), this.$s = b.getSeconds(), this.$ms = b.getMilliseconds();
|
|
1036
|
+
}, g.$utils = function() {
|
|
1037
|
+
return A;
|
|
1038
|
+
}, g.isValid = function() {
|
|
1039
|
+
return this.$d.toString() !== C;
|
|
1040
|
+
}, g.isSame = function(b, k) {
|
|
1041
|
+
var y = z(b);
|
|
1042
|
+
return this.startOf(k) <= y && y <= this.endOf(k);
|
|
1043
|
+
}, g.isAfter = function(b, k) {
|
|
1044
|
+
return z(b) < this.startOf(k);
|
|
1045
|
+
}, g.isBefore = function(b, k) {
|
|
1046
|
+
return this.endOf(k) < z(b);
|
|
1047
|
+
}, g.$g = function(b, k, y) {
|
|
1048
|
+
return A.u(b) ? this[k] : this.set(y, b);
|
|
1049
|
+
}, g.unix = function() {
|
|
1050
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
1051
|
+
}, g.valueOf = function() {
|
|
1052
|
+
return this.$d.getTime();
|
|
1053
|
+
}, g.startOf = function(b, k) {
|
|
1054
|
+
var y = this, D = !!A.u(k) || k, R = A.p(b), I = function(ie, K) {
|
|
1055
|
+
var le = A.w(y.$u ? Date.UTC(y.$y, K, ie) : new Date(y.$y, K, ie), y);
|
|
1056
|
+
return D ? le : le.endOf(_);
|
|
1057
|
+
}, j = function(ie, K) {
|
|
1058
|
+
return A.w(y.toDate()[ie].apply(y.toDate("s"), (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), y);
|
|
1059
|
+
}, Y = this.$W, W = this.$M, Z = this.$D, se = "set" + (this.$u ? "UTC" : "");
|
|
1060
|
+
switch (R) {
|
|
1061
|
+
case w:
|
|
1062
|
+
return D ? I(1, 0) : I(31, 11);
|
|
1063
|
+
case m:
|
|
1064
|
+
return D ? I(1, W) : I(0, W + 1);
|
|
1065
|
+
case f:
|
|
1066
|
+
var ae = this.$locale().weekStart || 0, ce = (Y < ae ? Y + 7 : Y) - ae;
|
|
1067
|
+
return I(D ? Z - ce : Z + (6 - ce), W);
|
|
1068
|
+
case _:
|
|
1069
|
+
case x:
|
|
1070
|
+
return j(se + "Hours", 0);
|
|
1071
|
+
case s:
|
|
1072
|
+
return j(se + "Minutes", 1);
|
|
1073
|
+
case p:
|
|
1074
|
+
return j(se + "Seconds", 2);
|
|
1075
|
+
case i:
|
|
1076
|
+
return j(se + "Milliseconds", 3);
|
|
1077
|
+
default:
|
|
1078
|
+
return this.clone();
|
|
1079
|
+
}
|
|
1080
|
+
}, g.endOf = function(b) {
|
|
1081
|
+
return this.startOf(b, !1);
|
|
1082
|
+
}, g.$set = function(b, k) {
|
|
1083
|
+
var y, D = A.p(b), R = "set" + (this.$u ? "UTC" : ""), I = (y = {}, y[_] = R + "Date", y[x] = R + "Date", y[m] = R + "Month", y[w] = R + "FullYear", y[s] = R + "Hours", y[p] = R + "Minutes", y[i] = R + "Seconds", y[n] = R + "Milliseconds", y)[D], j = D === _ ? this.$D + (k - this.$W) : k;
|
|
1084
|
+
if (D === m || D === w) {
|
|
1085
|
+
var Y = this.clone().set(x, 1);
|
|
1086
|
+
Y.$d[I](j), Y.init(), this.$d = Y.set(x, Math.min(this.$D, Y.daysInMonth())).$d;
|
|
1087
|
+
} else
|
|
1088
|
+
I && this.$d[I](j);
|
|
1089
|
+
return this.init(), this;
|
|
1090
|
+
}, g.set = function(b, k) {
|
|
1091
|
+
return this.clone().$set(b, k);
|
|
1092
|
+
}, g.get = function(b) {
|
|
1093
|
+
return this[A.p(b)]();
|
|
1094
|
+
}, g.add = function(b, k) {
|
|
1095
|
+
var y, D = this;
|
|
1096
|
+
b = Number(b);
|
|
1097
|
+
var R = A.p(k), I = function(W) {
|
|
1098
|
+
var Z = z(D);
|
|
1099
|
+
return A.w(Z.date(Z.date() + Math.round(W * b)), D);
|
|
1100
|
+
};
|
|
1101
|
+
if (R === m)
|
|
1102
|
+
return this.set(m, this.$M + b);
|
|
1103
|
+
if (R === w)
|
|
1104
|
+
return this.set(w, this.$y + b);
|
|
1105
|
+
if (R === _)
|
|
1106
|
+
return I(1);
|
|
1107
|
+
if (R === f)
|
|
1108
|
+
return I(7);
|
|
1109
|
+
var j = (y = {}, y[p] = r, y[s] = a, y[i] = e, y)[R] || 1, Y = this.$d.getTime() + b * j;
|
|
1110
|
+
return A.w(Y, this);
|
|
1111
|
+
}, g.subtract = function(b, k) {
|
|
1112
|
+
return this.add(-1 * b, k);
|
|
1113
|
+
}, g.format = function(b) {
|
|
1114
|
+
var k = this, y = this.$locale();
|
|
1115
|
+
if (!this.isValid())
|
|
1116
|
+
return y.invalidDate || C;
|
|
1117
|
+
var D = b || "YYYY-MM-DDTHH:mm:ssZ", R = A.z(this), I = this.$H, j = this.$m, Y = this.$M, W = y.weekdays, Z = y.months, se = y.meridiem, ae = function(K, le, me, he) {
|
|
1118
|
+
return K && (K[le] || K(k, D)) || me[le].slice(0, he);
|
|
1119
|
+
}, ce = function(K) {
|
|
1120
|
+
return A.s(I % 12 || 12, K, "0");
|
|
1121
|
+
}, ie = se || function(K, le, me) {
|
|
1122
|
+
var he = K < 12 ? "AM" : "PM";
|
|
1123
|
+
return me ? he.toLowerCase() : he;
|
|
1124
|
+
};
|
|
1125
|
+
return D.replace(u, function(K, le) {
|
|
1126
|
+
return le || function(me) {
|
|
1127
|
+
switch (me) {
|
|
1128
|
+
case "YY":
|
|
1129
|
+
return String(k.$y).slice(-2);
|
|
1130
|
+
case "YYYY":
|
|
1131
|
+
return A.s(k.$y, 4, "0");
|
|
1132
|
+
case "M":
|
|
1133
|
+
return Y + 1;
|
|
1134
|
+
case "MM":
|
|
1135
|
+
return A.s(Y + 1, 2, "0");
|
|
1136
|
+
case "MMM":
|
|
1137
|
+
return ae(y.monthsShort, Y, Z, 3);
|
|
1138
|
+
case "MMMM":
|
|
1139
|
+
return ae(Z, Y);
|
|
1140
|
+
case "D":
|
|
1141
|
+
return k.$D;
|
|
1142
|
+
case "DD":
|
|
1143
|
+
return A.s(k.$D, 2, "0");
|
|
1144
|
+
case "d":
|
|
1145
|
+
return String(k.$W);
|
|
1146
|
+
case "dd":
|
|
1147
|
+
return ae(y.weekdaysMin, k.$W, W, 2);
|
|
1148
|
+
case "ddd":
|
|
1149
|
+
return ae(y.weekdaysShort, k.$W, W, 3);
|
|
1150
|
+
case "dddd":
|
|
1151
|
+
return W[k.$W];
|
|
1152
|
+
case "H":
|
|
1153
|
+
return String(I);
|
|
1154
|
+
case "HH":
|
|
1155
|
+
return A.s(I, 2, "0");
|
|
1156
|
+
case "h":
|
|
1157
|
+
return ce(1);
|
|
1158
|
+
case "hh":
|
|
1159
|
+
return ce(2);
|
|
1160
|
+
case "a":
|
|
1161
|
+
return ie(I, j, !0);
|
|
1162
|
+
case "A":
|
|
1163
|
+
return ie(I, j, !1);
|
|
1164
|
+
case "m":
|
|
1165
|
+
return String(j);
|
|
1166
|
+
case "mm":
|
|
1167
|
+
return A.s(j, 2, "0");
|
|
1168
|
+
case "s":
|
|
1169
|
+
return String(k.$s);
|
|
1170
|
+
case "ss":
|
|
1171
|
+
return A.s(k.$s, 2, "0");
|
|
1172
|
+
case "SSS":
|
|
1173
|
+
return A.s(k.$ms, 3, "0");
|
|
1174
|
+
case "Z":
|
|
1175
|
+
return R;
|
|
1176
|
+
}
|
|
1177
|
+
return null;
|
|
1178
|
+
}(K) || R.replace(":", "");
|
|
1179
|
+
});
|
|
1180
|
+
}, g.utcOffset = function() {
|
|
1181
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1182
|
+
}, g.diff = function(b, k, y) {
|
|
1183
|
+
var D, R = this, I = A.p(k), j = z(b), Y = (j.utcOffset() - this.utcOffset()) * r, W = this - j, Z = function() {
|
|
1184
|
+
return A.m(R, j);
|
|
1185
|
+
};
|
|
1186
|
+
switch (I) {
|
|
1187
|
+
case w:
|
|
1188
|
+
D = Z() / 12;
|
|
1189
|
+
break;
|
|
1190
|
+
case m:
|
|
1191
|
+
D = Z();
|
|
1192
|
+
break;
|
|
1193
|
+
case h:
|
|
1194
|
+
D = Z() / 3;
|
|
1195
|
+
break;
|
|
1196
|
+
case f:
|
|
1197
|
+
D = (W - Y) / 6048e5;
|
|
1198
|
+
break;
|
|
1199
|
+
case _:
|
|
1200
|
+
D = (W - Y) / 864e5;
|
|
1201
|
+
break;
|
|
1202
|
+
case s:
|
|
1203
|
+
D = W / a;
|
|
1204
|
+
break;
|
|
1205
|
+
case p:
|
|
1206
|
+
D = W / r;
|
|
1207
|
+
break;
|
|
1208
|
+
case i:
|
|
1209
|
+
D = W / e;
|
|
1210
|
+
break;
|
|
1211
|
+
default:
|
|
1212
|
+
D = W;
|
|
1213
|
+
}
|
|
1214
|
+
return y ? D : A.a(D);
|
|
1215
|
+
}, g.daysInMonth = function() {
|
|
1216
|
+
return this.endOf(m).$D;
|
|
1217
|
+
}, g.$locale = function() {
|
|
1218
|
+
return O[this.$L];
|
|
1219
|
+
}, g.locale = function(b, k) {
|
|
1220
|
+
if (!b)
|
|
1221
|
+
return this.$L;
|
|
1222
|
+
var y = this.clone(), D = ve(b, k, !0);
|
|
1223
|
+
return D && (y.$L = D), y;
|
|
1224
|
+
}, g.clone = function() {
|
|
1225
|
+
return A.w(this.$d, this);
|
|
1226
|
+
}, g.toDate = function() {
|
|
1227
|
+
return new Date(this.valueOf());
|
|
1228
|
+
}, g.toJSON = function() {
|
|
1229
|
+
return this.isValid() ? this.toISOString() : null;
|
|
1230
|
+
}, g.toISOString = function() {
|
|
1231
|
+
return this.$d.toISOString();
|
|
1232
|
+
}, g.toString = function() {
|
|
1233
|
+
return this.$d.toUTCString();
|
|
1234
|
+
}, L;
|
|
1235
|
+
}(), Fe = be.prototype;
|
|
1236
|
+
return z.prototype = Fe, [["$ms", n], ["$s", i], ["$m", p], ["$H", s], ["$W", _], ["$M", m], ["$y", w], ["$D", x]].forEach(function(L) {
|
|
1237
|
+
Fe[L[1]] = function(g) {
|
|
1238
|
+
return this.$g(g, L[0], L[1]);
|
|
1239
|
+
};
|
|
1240
|
+
}), z.extend = function(L, g) {
|
|
1241
|
+
return L.$i || (L(g, be, z), L.$i = !0), z;
|
|
1242
|
+
}, z.locale = ve, z.isDayjs = xe, z.unix = function(L) {
|
|
1243
|
+
return z(1e3 * L);
|
|
1244
|
+
}, z.en = O[oe], z.Ls = O, z.p = {}, z;
|
|
1245
|
+
});
|
|
1246
|
+
}(ye)), ye.exports;
|
|
1247
|
+
}
|
|
1248
|
+
const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1249
|
+
__proto__: null,
|
|
1250
|
+
__require: io
|
|
1251
|
+
}, Symbol.toStringTag, { value: "Module" })), so = {
|
|
961
1252
|
class: "chart-components"
|
|
962
|
-
},
|
|
1253
|
+
}, Qe = /* @__PURE__ */ F({
|
|
963
1254
|
__name: "Bar",
|
|
964
1255
|
props: {
|
|
965
1256
|
value: {}
|
|
966
1257
|
},
|
|
967
1258
|
setup(o) {
|
|
968
|
-
const t = o, e =
|
|
969
|
-
return
|
|
970
|
-
const n =
|
|
971
|
-
return
|
|
1259
|
+
const t = o, e = X(() => t.value.options);
|
|
1260
|
+
return M(!1), (r, a) => {
|
|
1261
|
+
const n = d("TdsChart");
|
|
1262
|
+
return v(), V("div", so, [l(n, {
|
|
972
1263
|
option: e.value
|
|
973
1264
|
}, null, 8, ["option"])]);
|
|
974
1265
|
};
|
|
975
1266
|
}
|
|
976
|
-
}),
|
|
1267
|
+
}), uo = { class: "chart-components" }, Xe = /* @__PURE__ */ F({
|
|
977
1268
|
__name: "Line",
|
|
978
1269
|
props: {
|
|
979
1270
|
value: {}
|
|
980
1271
|
},
|
|
981
1272
|
setup(o) {
|
|
982
|
-
const t = o, e =
|
|
983
|
-
return (
|
|
984
|
-
const n =
|
|
985
|
-
return
|
|
1273
|
+
const t = o, e = X(() => t.value.options);
|
|
1274
|
+
return (r, a) => {
|
|
1275
|
+
const n = d("TdsChart");
|
|
1276
|
+
return v(), V("div", uo, [
|
|
986
1277
|
l(n, { option: e.value }, null, 8, ["option"])
|
|
987
1278
|
]);
|
|
988
1279
|
};
|
|
989
1280
|
}
|
|
990
|
-
}),
|
|
1281
|
+
}), po = { class: "chart-components" }, et = /* @__PURE__ */ F({
|
|
991
1282
|
__name: "Pie",
|
|
992
1283
|
props: {
|
|
993
1284
|
value: {}
|
|
994
1285
|
},
|
|
995
1286
|
setup(o) {
|
|
996
|
-
const t = o, e =
|
|
997
|
-
return (
|
|
998
|
-
const n =
|
|
999
|
-
return
|
|
1287
|
+
const t = o, e = X(() => t.value.options);
|
|
1288
|
+
return (r, a) => {
|
|
1289
|
+
const n = d("TdsChart");
|
|
1290
|
+
return v(), V("div", po, [
|
|
1000
1291
|
l(n, { option: e.value }, null, 8, ["option"])
|
|
1001
1292
|
]);
|
|
1002
1293
|
};
|
|
1003
1294
|
}
|
|
1004
|
-
}),
|
|
1295
|
+
}), co = { key: 0 }, Se = /* @__PURE__ */ F({
|
|
1005
1296
|
__name: "ReportSelect",
|
|
1006
1297
|
props: {
|
|
1007
1298
|
value: {}
|
|
1008
1299
|
},
|
|
1009
1300
|
emits: ["change"],
|
|
1010
1301
|
setup(o, { emit: t }) {
|
|
1011
|
-
const e = t,
|
|
1012
|
-
e("change",
|
|
1013
|
-
}, n =
|
|
1014
|
-
return (
|
|
1015
|
-
const
|
|
1016
|
-
return n.value.data ? (
|
|
1017
|
-
l(
|
|
1302
|
+
const e = t, r = (i) => {
|
|
1303
|
+
e("change", i);
|
|
1304
|
+
}, n = M(o.value);
|
|
1305
|
+
return (i, p) => {
|
|
1306
|
+
const s = d("el-option"), _ = d("el-select");
|
|
1307
|
+
return n.value.data ? (v(), V("div", co, [
|
|
1308
|
+
l(_, {
|
|
1018
1309
|
modelValue: n.value.value,
|
|
1019
|
-
"onUpdate:modelValue":
|
|
1310
|
+
"onUpdate:modelValue": p[0] || (p[0] = (f) => n.value.value = f),
|
|
1020
1311
|
multiple: "",
|
|
1021
1312
|
style: { width: "100%" },
|
|
1022
|
-
onChange:
|
|
1313
|
+
onChange: r,
|
|
1023
1314
|
placeholder: "全部"
|
|
1024
1315
|
}, {
|
|
1025
|
-
default:
|
|
1026
|
-
(
|
|
1027
|
-
key:
|
|
1028
|
-
label:
|
|
1029
|
-
value:
|
|
1316
|
+
default: c(() => [
|
|
1317
|
+
(v(!0), V(N, null, G(n.value.data, (f) => (v(), q(s, {
|
|
1318
|
+
key: f.data,
|
|
1319
|
+
label: f.label,
|
|
1320
|
+
value: f.data
|
|
1030
1321
|
}, null, 8, ["label", "value"]))), 128))
|
|
1031
1322
|
]),
|
|
1032
1323
|
_: 1
|
|
1033
1324
|
}, 8, ["modelValue"])
|
|
1034
|
-
])) :
|
|
1325
|
+
])) : P("", !0);
|
|
1035
1326
|
};
|
|
1036
1327
|
}
|
|
1037
|
-
}),
|
|
1328
|
+
}), Te = /* @__PURE__ */ F({
|
|
1038
1329
|
__name: "RangeTime",
|
|
1039
1330
|
props: {
|
|
1040
1331
|
value: {}
|
|
1041
1332
|
},
|
|
1042
1333
|
emits: ["change"],
|
|
1043
1334
|
setup(o, { emit: t }) {
|
|
1044
|
-
const e = t,
|
|
1045
|
-
function
|
|
1046
|
-
|
|
1335
|
+
const e = t, a = M(o.value), n = M([]);
|
|
1336
|
+
function i(p) {
|
|
1337
|
+
p ? (a.value.data[0].start_time = p[0], a.value.data[0].end_time = p[1]) : n.value = [], e("change", n.value);
|
|
1047
1338
|
}
|
|
1048
|
-
return
|
|
1049
|
-
n.value = [
|
|
1050
|
-
}), (
|
|
1051
|
-
const
|
|
1052
|
-
return
|
|
1053
|
-
l(
|
|
1339
|
+
return De(() => {
|
|
1340
|
+
n.value = [a.value.data[0].start_time, a.value.data[0].end_time];
|
|
1341
|
+
}), (p, s) => {
|
|
1342
|
+
const _ = d("el-date-picker");
|
|
1343
|
+
return v(), V("div", null, [
|
|
1344
|
+
l(_, {
|
|
1054
1345
|
modelValue: n.value,
|
|
1055
|
-
"onUpdate:modelValue":
|
|
1346
|
+
"onUpdate:modelValue": s[0] || (s[0] = (f) => n.value = f),
|
|
1056
1347
|
type: "datetimerange",
|
|
1057
1348
|
placeholder: "Pick a Date",
|
|
1058
1349
|
format: "YYYY-MM-DD HH:mm:ss",
|
|
1059
1350
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
1060
|
-
onChange:
|
|
1351
|
+
onChange: i,
|
|
1061
1352
|
clearable: !1
|
|
1062
1353
|
}, null, 8, ["modelValue"])
|
|
1063
1354
|
]);
|
|
1064
1355
|
};
|
|
1065
1356
|
}
|
|
1066
1357
|
});
|
|
1067
|
-
function
|
|
1068
|
-
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !
|
|
1358
|
+
function mo(o) {
|
|
1359
|
+
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !Re(o);
|
|
1069
1360
|
}
|
|
1070
|
-
const
|
|
1361
|
+
const tt = /* @__PURE__ */ F({
|
|
1071
1362
|
__name: "ReportTable",
|
|
1072
1363
|
props: {
|
|
1073
1364
|
value: {}
|
|
1074
1365
|
},
|
|
1075
1366
|
setup(o) {
|
|
1076
|
-
const t = o, e = (
|
|
1077
|
-
let
|
|
1078
|
-
return l(
|
|
1079
|
-
data:
|
|
1367
|
+
const t = o, e = (r) => {
|
|
1368
|
+
let a;
|
|
1369
|
+
return l(d("el-table"), {
|
|
1370
|
+
data: r.data,
|
|
1080
1371
|
border: t.value.options.border,
|
|
1081
1372
|
"show-header": !!t.value.options.showHeader,
|
|
1082
1373
|
stripe: t.value.options.stripe
|
|
1083
|
-
},
|
|
1374
|
+
}, mo(a = r.showColumn.map((n) => t.value.options.showColumn[n.key] === !0 ? l(d("el-table-column"), {
|
|
1084
1375
|
prop: n.key,
|
|
1085
1376
|
label: n.name
|
|
1086
|
-
}, null) : null)) ?
|
|
1087
|
-
default: () => [
|
|
1377
|
+
}, null) : null)) ? a : {
|
|
1378
|
+
default: () => [a]
|
|
1088
1379
|
});
|
|
1089
1380
|
};
|
|
1090
|
-
return (
|
|
1381
|
+
return (r, a) => (v(), V("div", null, [l(e, je(Be(r.value)), null, 16)]));
|
|
1091
1382
|
}
|
|
1092
|
-
}),
|
|
1383
|
+
}), Ve = /* @__PURE__ */ F({
|
|
1093
1384
|
__name: "ReportText",
|
|
1094
1385
|
props: {
|
|
1095
1386
|
value: {}
|
|
1096
1387
|
},
|
|
1097
1388
|
setup(o) {
|
|
1098
1389
|
const t = o, e = () => {
|
|
1099
|
-
const
|
|
1390
|
+
const r = t.value.options || {};
|
|
1100
1391
|
return {
|
|
1101
|
-
color:
|
|
1102
|
-
"font-size":
|
|
1103
|
-
"font-weight":
|
|
1104
|
-
"letter-spacing":
|
|
1105
|
-
"text-indent":
|
|
1106
|
-
"text-align":
|
|
1392
|
+
color: r.color,
|
|
1393
|
+
"font-size": r.size + "px",
|
|
1394
|
+
"font-weight": r.fontWeight,
|
|
1395
|
+
"letter-spacing": r.letterSpacing + "px",
|
|
1396
|
+
"text-indent": r.textIndent + "px",
|
|
1397
|
+
"text-align": r.textAlign
|
|
1107
1398
|
};
|
|
1108
1399
|
};
|
|
1109
|
-
return (
|
|
1110
|
-
style:
|
|
1111
|
-
},
|
|
1400
|
+
return (r, a) => (v(), V("div", {
|
|
1401
|
+
style: it(e())
|
|
1402
|
+
}, ne(r.value.data), 5));
|
|
1112
1403
|
}
|
|
1113
|
-
}),
|
|
1404
|
+
}), _o = { class: "chart-components" }, ot = /* @__PURE__ */ F({
|
|
1114
1405
|
__name: "ReportChart",
|
|
1115
1406
|
props: {
|
|
1116
1407
|
value: {}
|
|
1117
1408
|
},
|
|
1118
1409
|
setup(o) {
|
|
1119
|
-
const t = o, e =
|
|
1410
|
+
const t = o, e = X(() => t.value), r = X(() => {
|
|
1120
1411
|
if (e.value.type === "bar") {
|
|
1121
|
-
e.value.options.series =
|
|
1122
|
-
const
|
|
1412
|
+
e.value.options.series = Ce([]).series;
|
|
1413
|
+
const a = [];
|
|
1123
1414
|
let n = "";
|
|
1124
|
-
e.value.data.forEach((
|
|
1125
|
-
n =
|
|
1126
|
-
name:
|
|
1127
|
-
value:
|
|
1415
|
+
e.value.data.forEach((i) => {
|
|
1416
|
+
n = i.data[0].name, a.push({
|
|
1417
|
+
name: i.label,
|
|
1418
|
+
value: i.data[0].value
|
|
1128
1419
|
});
|
|
1129
|
-
}),
|
|
1420
|
+
}), Wt(e.value.options, a, n);
|
|
1130
1421
|
}
|
|
1131
|
-
if (e.value.type === "pie" && (e.value.options =
|
|
1132
|
-
let
|
|
1133
|
-
e.value.data.forEach((
|
|
1134
|
-
|
|
1422
|
+
if (e.value.type === "pie" && (e.value.options = Ue({ isLegend: !0 }), Nt({ chartOption: e.value.options, data: e.value.data })), e.value.type === "line") {
|
|
1423
|
+
let a = [];
|
|
1424
|
+
e.value.data.forEach((p) => {
|
|
1425
|
+
a = p.data.map((s, _) => ({ name: s.name, value: "value" + _ }));
|
|
1135
1426
|
});
|
|
1136
1427
|
const n = {
|
|
1137
1428
|
name: "name",
|
|
1138
|
-
value:
|
|
1139
|
-
},
|
|
1140
|
-
const
|
|
1141
|
-
name:
|
|
1429
|
+
value: a
|
|
1430
|
+
}, i = e.value.data.map((p) => {
|
|
1431
|
+
const s = {
|
|
1432
|
+
name: p.label
|
|
1142
1433
|
};
|
|
1143
|
-
return
|
|
1144
|
-
|
|
1145
|
-
}),
|
|
1434
|
+
return a.forEach((_, f) => {
|
|
1435
|
+
s[_.value] = p.data[f].value;
|
|
1436
|
+
}), s;
|
|
1146
1437
|
});
|
|
1147
|
-
console.log(
|
|
1438
|
+
console.log($e([], n), "chartsLine([], params)"), e.value.options.series = $e([], n).series, Kt(e.value.options, i, n);
|
|
1148
1439
|
}
|
|
1149
1440
|
return e.value.options;
|
|
1150
1441
|
});
|
|
1151
|
-
return (
|
|
1152
|
-
const
|
|
1153
|
-
return
|
|
1154
|
-
l(
|
|
1442
|
+
return (a, n) => {
|
|
1443
|
+
const i = d("TdsChart");
|
|
1444
|
+
return v(), V("div", _o, [
|
|
1445
|
+
l(i, { option: r.value }, null, 8, ["option"])
|
|
1155
1446
|
]);
|
|
1156
1447
|
};
|
|
1157
1448
|
}
|
|
1158
1449
|
});
|
|
1159
|
-
function
|
|
1160
|
-
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !
|
|
1450
|
+
function fo(o) {
|
|
1451
|
+
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !Re(o);
|
|
1161
1452
|
}
|
|
1162
|
-
const
|
|
1453
|
+
const nt = /* @__PURE__ */ F({
|
|
1163
1454
|
__name: "ReportDescribe",
|
|
1164
1455
|
props: {
|
|
1165
1456
|
value: {}
|
|
1166
1457
|
},
|
|
1167
1458
|
setup(o) {
|
|
1168
|
-
const t = o, e = (
|
|
1169
|
-
let
|
|
1170
|
-
return l(
|
|
1459
|
+
const t = o, e = (r) => {
|
|
1460
|
+
let a;
|
|
1461
|
+
return l(d("el-descriptions"), {
|
|
1171
1462
|
title: t.value.options.title,
|
|
1172
1463
|
border: t.value.options.border,
|
|
1173
1464
|
column: t.value.options.column,
|
|
1174
1465
|
direction: t.value.options.direction
|
|
1175
|
-
},
|
|
1466
|
+
}, fo(a = r.showColumn.map((n) => l(d("el-descriptions-item"), {
|
|
1176
1467
|
label: n.name
|
|
1177
1468
|
}, {
|
|
1178
1469
|
default: () => [l("div", {
|
|
1179
1470
|
style: "word-break: break-all; white-space: normal; overflow-wrap: break-word;"
|
|
1180
1471
|
}, [t.value.data[n.key]])]
|
|
1181
|
-
}))) ?
|
|
1182
|
-
default: () => [
|
|
1472
|
+
}))) ? a : {
|
|
1473
|
+
default: () => [a]
|
|
1183
1474
|
});
|
|
1184
1475
|
};
|
|
1185
|
-
return (
|
|
1476
|
+
return (r, a) => (v(), V("div", null, [l(e, je(Be(r.value)), null, 16)]));
|
|
1186
1477
|
}
|
|
1187
|
-
}),
|
|
1478
|
+
}), vo = {
|
|
1188
1479
|
class: "editor-box"
|
|
1189
|
-
},
|
|
1480
|
+
}, bo = {
|
|
1190
1481
|
class: "editor",
|
|
1191
1482
|
id: "editor",
|
|
1192
1483
|
style: {
|
|
1193
1484
|
width: "100%"
|
|
1194
1485
|
}
|
|
1195
|
-
},
|
|
1486
|
+
}, ho = {
|
|
1196
1487
|
class: "editor-content flex flex-start"
|
|
1197
|
-
},
|
|
1488
|
+
}, yo = {
|
|
1198
1489
|
style: {
|
|
1199
1490
|
"margin-left": "auto"
|
|
1200
1491
|
}
|
|
1201
|
-
},
|
|
1492
|
+
}, go = ["id"], wo = ["innerHTML"], $o = /* @__PURE__ */ F({
|
|
1202
1493
|
__name: "index",
|
|
1203
|
-
props: /* @__PURE__ */
|
|
1494
|
+
props: /* @__PURE__ */ ze({
|
|
1204
1495
|
reportId: {
|
|
1205
1496
|
type: String,
|
|
1206
1497
|
default: ""
|
|
@@ -1211,289 +1502,239 @@ const Te = /* @__PURE__ */ L({
|
|
|
1211
1502
|
}),
|
|
1212
1503
|
emits: ["update:modelValue"],
|
|
1213
1504
|
setup(o) {
|
|
1214
|
-
const t =
|
|
1215
|
-
Bar:
|
|
1216
|
-
Line:
|
|
1217
|
-
Pie:
|
|
1218
|
-
ReportSelect:
|
|
1219
|
-
RangeTime:
|
|
1220
|
-
ReportTable:
|
|
1221
|
-
ReportText:
|
|
1222
|
-
ReportChart:
|
|
1223
|
-
ReportDescribe:
|
|
1224
|
-
},
|
|
1225
|
-
function
|
|
1505
|
+
const t = M(!1), e = {
|
|
1506
|
+
Bar: Qe,
|
|
1507
|
+
Line: Xe,
|
|
1508
|
+
Pie: et,
|
|
1509
|
+
ReportSelect: Se,
|
|
1510
|
+
RangeTime: Te,
|
|
1511
|
+
ReportTable: tt,
|
|
1512
|
+
ReportText: Ve,
|
|
1513
|
+
ReportChart: ot,
|
|
1514
|
+
ReportDescribe: nt
|
|
1515
|
+
}, r = ee(), a = o, n = Ye(o, "modelValue"), i = M([]), p = M([]), s = M([]), _ = M(qe().subtract(1, "month").format("YYYY-MM-DD HH:mm:ss")), f = M(qe().format("YYYY-MM-DD HH:mm:ss"));
|
|
1516
|
+
function m() {
|
|
1226
1517
|
n.value = "table";
|
|
1227
1518
|
}
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
});
|
|
1234
|
-
const k = {
|
|
1235
|
-
export_format: p,
|
|
1236
|
-
select_data: i.value,
|
|
1237
|
-
report_uuid: r.reportId,
|
|
1238
|
-
start_time: g.value,
|
|
1239
|
-
end_time: m.value
|
|
1240
|
-
}, B = await vt(k), M = p === 1 ? "application/pdf" : "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1241
|
-
je(B.file_data, B.file_name, M);
|
|
1242
|
-
}
|
|
1243
|
-
const y = (p) => {
|
|
1244
|
-
i.value = p, _();
|
|
1245
|
-
}, h = (p) => {
|
|
1246
|
-
p && p.length > 0 && (g.value = p[0], m.value = p[1]), _();
|
|
1247
|
-
}, _ = async () => {
|
|
1519
|
+
const h = (u) => {
|
|
1520
|
+
s.value = u, x();
|
|
1521
|
+
}, w = (u) => {
|
|
1522
|
+
u && u.length > 0 && (_.value = u[0], f.value = u[1]), x();
|
|
1523
|
+
}, x = async () => {
|
|
1248
1524
|
try {
|
|
1249
1525
|
t.value = !0;
|
|
1250
|
-
const
|
|
1251
|
-
report_uuid:
|
|
1252
|
-
start_time:
|
|
1253
|
-
end_time:
|
|
1254
|
-
select_data:
|
|
1255
|
-
},
|
|
1256
|
-
|
|
1257
|
-
(
|
|
1258
|
-
}),
|
|
1259
|
-
} catch (
|
|
1260
|
-
t.value = !1, console.error("Error setting loading state:",
|
|
1526
|
+
const u = {
|
|
1527
|
+
report_uuid: a.reportId,
|
|
1528
|
+
start_time: _.value,
|
|
1529
|
+
end_time: f.value,
|
|
1530
|
+
select_data: s.value.join(",")
|
|
1531
|
+
}, $ = await kt(u), B = [];
|
|
1532
|
+
$.data.forEach((U) => {
|
|
1533
|
+
(U.type === "report-select" || U.type === "range-time") && B.push(U);
|
|
1534
|
+
}), i.value = B, $.data.splice(0, i.value.length), p.value = $.data, t.value = !1;
|
|
1535
|
+
} catch (u) {
|
|
1536
|
+
t.value = !1, console.error("Error setting loading state:", u);
|
|
1261
1537
|
}
|
|
1262
1538
|
};
|
|
1263
|
-
|
|
1264
|
-
const C = () => l("div", null, [
|
|
1265
|
-
return (
|
|
1266
|
-
const B =
|
|
1267
|
-
return
|
|
1539
|
+
x();
|
|
1540
|
+
const C = () => l("div", null, [H("未找到对应组件")]), T = (u) => u === "h2" || u === "h3" || u === "h4" ? te(e, "ReportText") : u === "bar" || u === "pie" || u === "line" ? te(e, "ReportChart") : u ? te(e, u) : l(C, null, null);
|
|
1541
|
+
return (u, $) => {
|
|
1542
|
+
const B = d("el-button"), U = d("el-card"), oe = Pe("loading");
|
|
1543
|
+
return Le((v(), q(U, {
|
|
1268
1544
|
class: "editor view",
|
|
1269
1545
|
"element-loading-text": "加载中..."
|
|
1270
1546
|
}, {
|
|
1271
|
-
default:
|
|
1272
|
-
data:
|
|
1273
|
-
}, null, 8, ["data"]),
|
|
1547
|
+
default: c(() => [E("div", vo, [l(ro, {
|
|
1548
|
+
data: p.value
|
|
1549
|
+
}, null, 8, ["data"]), E("div", bo, [E("div", ho, [(v(!0), V(N, null, G(i.value, (O) => (v(), V("div", {
|
|
1274
1550
|
class: "item-input",
|
|
1275
|
-
key:
|
|
1276
|
-
}, [
|
|
1551
|
+
key: O.id
|
|
1552
|
+
}, [O.type === "report-select" ? (v(), q(Se, {
|
|
1277
1553
|
key: 0,
|
|
1278
|
-
onChange: y,
|
|
1279
|
-
value: U
|
|
1280
|
-
}, null, 8, ["value"])) : R("", !0), U.type === "range-time" && w(a).filterForm.range_time ? (c(), D(te, {
|
|
1281
|
-
key: 1,
|
|
1282
1554
|
onChange: h,
|
|
1283
|
-
value:
|
|
1284
|
-
}, null, 8, ["value"])) :
|
|
1555
|
+
value: O
|
|
1556
|
+
}, null, 8, ["value"])) : P("", !0), O.type === "range-time" && S(r).filterForm.range_time ? (v(), q(Te, {
|
|
1557
|
+
key: 1,
|
|
1558
|
+
onChange: w,
|
|
1559
|
+
value: O
|
|
1560
|
+
}, null, 8, ["value"])) : P("", !0)]))), 128)), E("div", yo, [$[1] || ($[1] = E("span", {
|
|
1285
1561
|
class: "font-export"
|
|
1286
1562
|
}, "导出为:", -1)), l(B, {
|
|
1287
|
-
link: "",
|
|
1288
|
-
onClick: k[0] || (k[0] = (U) => v(1)),
|
|
1289
|
-
title: "PDF",
|
|
1290
|
-
type: "primary",
|
|
1291
|
-
class: "custom-btn"
|
|
1292
|
-
}, {
|
|
1293
|
-
default: u(() => k[2] || (k[2] = [T("img", {
|
|
1294
|
-
style: {
|
|
1295
|
-
width: "25px",
|
|
1296
|
-
height: "25px"
|
|
1297
|
-
},
|
|
1298
|
-
src: "data:image/png;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AAECIhjYuS4sCAAAAoCVOUCdEFQAAAIAQDW1clhYFAAAAQEucoE6IKgAAAAAhGtq4LC0KAAAAgJY4QZ0QVQAAAABCNLRxWVoUAAAAAC1xgjohqgAAAACEaGjjsrQoAAAAAFriBHVCVAEAAAAI0dDGZWlRAAAAALTECeqEqAIAAAAQoqGNy9KiAAAAAGiJE9QJUQUAADEADhJRfIjef1wWFFBToNrrKUhwskSS2c4lj8lcTT6abnY/sA8FHKeARLne4oIZjvPrPIdMB0BKetZiH/lud7II8A0KmKGARNKSMk/+fDNsG2XTdAAkpWfMlEhaaZTDsAMF3KKAj3w55Z7CVU7213QA8MWnpGW96ZN8s50sBHyDAkYqIPmkZWUl+XOMtGmGLUsAwI4np2f6zLgA2IQCTlTA6ymwbGzpuX5LnUxJz5rvI99TehxGWyjgZAUkku4o8+QvdrKP5/tmKQDkJ4G0jInUga4jn5TkI0qWiOLcIhb8hAKtFfAR1UhEXpJ85XSGlntLCvPcpNK/AYZ0MuKpjLl8AAAAAElFTkSuQmCC",
|
|
1299
|
-
alt: "导出为PDF"
|
|
1300
|
-
}, null, -1)])),
|
|
1301
|
-
_: 1
|
|
1302
|
-
}), l(B, {
|
|
1303
|
-
link: "",
|
|
1304
|
-
onClick: k[1] || (k[1] = (U) => v(3)),
|
|
1305
|
-
title: "WORD",
|
|
1306
|
-
type: "primary",
|
|
1307
|
-
class: "custom-btn",
|
|
1308
|
-
style: {
|
|
1309
|
-
"margin-right": "5px"
|
|
1310
|
-
}
|
|
1311
|
-
}, {
|
|
1312
|
-
default: u(() => k[3] || (k[3] = [T("img", {
|
|
1313
|
-
style: {
|
|
1314
|
-
width: "25px",
|
|
1315
|
-
height: "25px"
|
|
1316
|
-
},
|
|
1317
|
-
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAFU9JREFUeF7tnQlwFlW2x09TD2d8WC6gI+M4+lxQB6IQl4EEFEEFRBFBBxhWkQ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mq0BgGAFBgAAINiM0mwNAAQrMACIOACCTQesmaYAAAAApuU88ZZSAAAAAArCYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQAAAKrAYAUAAAAwOP0JHQC4A+BLETmfVEEBAxXYXRTLqx7muC3dztW6NuMtsaWJ7nmwjwKhU8CSFUWb85qGzq9SDmkHQFp65kRb7EfCLAK+oYAOBSyxsgpjub112A7KpnYA1Eyvd7sl1rKgHMYOCkRFAVvs5sWx/Jww+6sdACr4tDqZs2zL7hBmIfANBYJUwLKt2YUFuR2DtKnDVlIAoByvlZ5h6wgAmygQRgWKYnlJqy0/8SfVybT0zN622BP8OMxYFAizApZYfQpjuRPD7GNp35IKgPiRQJ169aWStBfbqmmL1LJEzouKWPiJAicrYIvstUSKxLKL5bjMKSrIXx8llf4PH+/6pjEjSfIAAAAASUVORK5CYII=",
|
|
1318
|
-
alt: "导出为WORD"
|
|
1319
|
-
}, null, -1)])),
|
|
1320
|
-
_: 1
|
|
1321
|
-
}), l(B, {
|
|
1322
1563
|
plain: "",
|
|
1323
|
-
onClick:
|
|
1564
|
+
onClick: m,
|
|
1324
1565
|
type: "primary",
|
|
1325
1566
|
class: "custom-btn exit-preview",
|
|
1326
1567
|
style: {
|
|
1327
1568
|
"margin-left": "auto"
|
|
1328
1569
|
}
|
|
1329
1570
|
}, {
|
|
1330
|
-
default:
|
|
1571
|
+
default: c(() => $[0] || ($[0] = [H("退出预览")])),
|
|
1331
1572
|
_: 1
|
|
1332
|
-
})])]), (
|
|
1333
|
-
key:
|
|
1334
|
-
class:
|
|
1335
|
-
id:
|
|
1336
|
-
}, [
|
|
1573
|
+
})])]), (v(!0), V(N, null, G(p.value, (O) => (v(), V("div", {
|
|
1574
|
+
key: O.id,
|
|
1575
|
+
class: de(["editor-content", ["editor" + O.type]]),
|
|
1576
|
+
id: O.id
|
|
1577
|
+
}, [O.type !== "p" ? (v(), q(ge(T(O.type)), {
|
|
1337
1578
|
key: 0,
|
|
1338
|
-
class:
|
|
1339
|
-
value:
|
|
1579
|
+
class: de(["editor" + O.type]),
|
|
1580
|
+
value: O
|
|
1340
1581
|
}, {
|
|
1341
|
-
default:
|
|
1582
|
+
default: c(() => [H(ne(O.data), 1)]),
|
|
1342
1583
|
_: 2
|
|
1343
|
-
}, 1032, ["class", "value"])) : (
|
|
1584
|
+
}, 1032, ["class", "value"])) : (v(), V("p", {
|
|
1344
1585
|
key: 1,
|
|
1345
|
-
innerHTML:
|
|
1346
|
-
}, null, 8,
|
|
1586
|
+
innerHTML: O.data
|
|
1587
|
+
}, null, 8, wo))], 10, go))), 128))])])]),
|
|
1347
1588
|
_: 1
|
|
1348
|
-
})), [[
|
|
1589
|
+
})), [[oe, t.value]]);
|
|
1349
1590
|
};
|
|
1350
1591
|
}
|
|
1351
1592
|
});
|
|
1352
|
-
const
|
|
1593
|
+
const lt = /* @__PURE__ */ _e($o, [["__scopeId", "data-v-82a7b5e8"]]), Co = {
|
|
1353
1594
|
class: "editor"
|
|
1354
|
-
},
|
|
1595
|
+
}, xo = {
|
|
1355
1596
|
class: "editor-content edit"
|
|
1356
|
-
},
|
|
1597
|
+
}, ko = ["onClick"], So = ["onClick"], To = ["innerHTML", "draggable"], Vo = /* @__PURE__ */ F({
|
|
1357
1598
|
__name: "Editor",
|
|
1358
1599
|
setup(o) {
|
|
1359
1600
|
const t = {
|
|
1360
|
-
Bar:
|
|
1361
|
-
Line:
|
|
1362
|
-
Pie:
|
|
1363
|
-
ReportSelect:
|
|
1364
|
-
RangeTime:
|
|
1365
|
-
ReportTable:
|
|
1366
|
-
ReportText:
|
|
1367
|
-
ReportChart:
|
|
1368
|
-
ReportDescribe:
|
|
1601
|
+
Bar: Qe,
|
|
1602
|
+
Line: Xe,
|
|
1603
|
+
Pie: et,
|
|
1604
|
+
ReportSelect: Se,
|
|
1605
|
+
RangeTime: Te,
|
|
1606
|
+
ReportTable: tt,
|
|
1607
|
+
ReportText: Ve,
|
|
1608
|
+
ReportChart: ot,
|
|
1609
|
+
ReportDescribe: nt
|
|
1369
1610
|
}, {
|
|
1370
1611
|
componentList: e,
|
|
1371
|
-
activeComponents:
|
|
1372
|
-
notDraggableList:
|
|
1612
|
+
activeComponents: r,
|
|
1613
|
+
notDraggableList: a,
|
|
1373
1614
|
titleComponent: n
|
|
1374
|
-
} =
|
|
1375
|
-
e.value.forEach((
|
|
1376
|
-
|
|
1615
|
+
} = vt(ee()), i = ee(), p = (T) => {
|
|
1616
|
+
e.value.forEach((u, $) => {
|
|
1617
|
+
u.id === T && (e.value.splice($, 1), i.activeComponents = []);
|
|
1377
1618
|
});
|
|
1378
|
-
},
|
|
1379
|
-
|
|
1380
|
-
},
|
|
1381
|
-
console.log(
|
|
1382
|
-
},
|
|
1383
|
-
|
|
1384
|
-
},
|
|
1385
|
-
|
|
1386
|
-
},
|
|
1387
|
-
return (
|
|
1388
|
-
const
|
|
1389
|
-
return
|
|
1390
|
-
class:
|
|
1391
|
-
active:
|
|
1619
|
+
}, s = (T) => {
|
|
1620
|
+
i.setActiveComponents(T);
|
|
1621
|
+
}, _ = () => l("div", null, [H("未找到对应组件")]), f = (T) => T === "h2" || T === "h3" || T === "h4" ? te(t, "ReportText") : T === "bar" || T === "pie" || T === "line" ? te(t, "ReportChart") : T ? te(t, T) : l(_, null, null), m = (T) => {
|
|
1622
|
+
console.log(T, "evt");
|
|
1623
|
+
}, h = M(!1), w = () => {
|
|
1624
|
+
h.value = !0;
|
|
1625
|
+
}, x = (T) => {
|
|
1626
|
+
T.newIndex !== 0 && (console.log(T), h.value = !1);
|
|
1627
|
+
}, C = M();
|
|
1628
|
+
return (T, u) => {
|
|
1629
|
+
const $ = d("CircleClose"), B = d("el-icon");
|
|
1630
|
+
return v(), V("div", Co, [E("div", {
|
|
1631
|
+
class: de(["editor-content edit flex flex-start", [{
|
|
1632
|
+
active: S(r).id === "filter"
|
|
1392
1633
|
}]]),
|
|
1393
|
-
onClick:
|
|
1634
|
+
onClick: u[0] || (u[0] = (U) => s({
|
|
1394
1635
|
id: "filter",
|
|
1395
1636
|
type: "filter"
|
|
1396
1637
|
}))
|
|
1397
|
-
}, [(
|
|
1638
|
+
}, [(v(!0), V(N, null, G(S(a), (U) => (v(), V("div", {
|
|
1398
1639
|
class: "item-input",
|
|
1399
|
-
key:
|
|
1400
|
-
}, [
|
|
1640
|
+
key: U.id
|
|
1641
|
+
}, [U.type === "report-select" || U.type === "range-time" && S(i).filterForm.range_time ? (v(), q(ge(S(te)(t, U.type)), {
|
|
1401
1642
|
key: 0,
|
|
1402
|
-
value:
|
|
1643
|
+
value: U
|
|
1403
1644
|
}, {
|
|
1404
|
-
default:
|
|
1645
|
+
default: c(() => [H(ne(U.data), 1)]),
|
|
1405
1646
|
_: 2
|
|
1406
|
-
}, 1032, ["value"])) :
|
|
1407
|
-
value:
|
|
1408
|
-
onClick:
|
|
1409
|
-
}, null, 8, ["value"])]), l(
|
|
1647
|
+
}, 1032, ["value"])) : P("", !0)]))), 128))], 2), E("div", xo, [l(Ve, {
|
|
1648
|
+
value: S(n),
|
|
1649
|
+
onClick: u[1] || (u[1] = (U) => s(S(n)))
|
|
1650
|
+
}, null, 8, ["value"])]), l(S(ht), {
|
|
1410
1651
|
ref_key: "el",
|
|
1411
|
-
ref:
|
|
1412
|
-
modelValue:
|
|
1413
|
-
"onUpdate:modelValue":
|
|
1414
|
-
"on-change":
|
|
1652
|
+
ref: C,
|
|
1653
|
+
modelValue: S(e),
|
|
1654
|
+
"onUpdate:modelValue": u[2] || (u[2] = (U) => st(e) ? e.value = U : null),
|
|
1655
|
+
"on-change": m,
|
|
1415
1656
|
animation: 150,
|
|
1416
|
-
onStart:
|
|
1417
|
-
onEnd:
|
|
1657
|
+
onStart: w,
|
|
1658
|
+
onEnd: x
|
|
1418
1659
|
}, {
|
|
1419
|
-
default:
|
|
1420
|
-
key:
|
|
1421
|
-
class:
|
|
1422
|
-
active:
|
|
1660
|
+
default: c(() => [(v(!0), V(N, null, G(S(e), (U) => (v(), V("div", {
|
|
1661
|
+
key: U.id,
|
|
1662
|
+
class: de(["editor-content edit", ["editor" + U.type, {
|
|
1663
|
+
active: U.id === S(r).id
|
|
1423
1664
|
}]]),
|
|
1424
|
-
onClick: (
|
|
1425
|
-
}, [
|
|
1426
|
-
onClick:
|
|
1665
|
+
onClick: (oe) => s(U)
|
|
1666
|
+
}, [E("i", {
|
|
1667
|
+
onClick: ut((oe) => p(U.id), ["stop"]),
|
|
1427
1668
|
style: {
|
|
1428
1669
|
"z-index": "99"
|
|
1429
1670
|
}
|
|
1430
|
-
}, [l(
|
|
1671
|
+
}, [l(B, {
|
|
1431
1672
|
size: "16px",
|
|
1432
1673
|
color: "red"
|
|
1433
1674
|
}, {
|
|
1434
|
-
default:
|
|
1675
|
+
default: c(() => [l($)]),
|
|
1435
1676
|
_: 1
|
|
1436
|
-
})], 8,
|
|
1677
|
+
})], 8, So), U.type !== "p" ? (v(), q(ge(f(U.type)), {
|
|
1437
1678
|
key: 0,
|
|
1438
|
-
class:
|
|
1439
|
-
value:
|
|
1440
|
-
draggable:
|
|
1679
|
+
class: de(["editor" + U.type]),
|
|
1680
|
+
value: U,
|
|
1681
|
+
draggable: h.value
|
|
1441
1682
|
}, {
|
|
1442
|
-
default:
|
|
1683
|
+
default: c(() => [H(ne(U.data), 1)]),
|
|
1443
1684
|
_: 2
|
|
1444
|
-
}, 1032, ["class", "value", "draggable"])) : (
|
|
1685
|
+
}, 1032, ["class", "value", "draggable"])) : (v(), V("p", {
|
|
1445
1686
|
key: 1,
|
|
1446
|
-
innerHTML:
|
|
1447
|
-
draggable:
|
|
1448
|
-
}, null, 8,
|
|
1687
|
+
innerHTML: U.data,
|
|
1688
|
+
draggable: h.value
|
|
1689
|
+
}, null, 8, To))], 10, ko))), 128))]),
|
|
1449
1690
|
_: 1
|
|
1450
1691
|
}, 8, ["modelValue"])]);
|
|
1451
1692
|
};
|
|
1452
1693
|
}
|
|
1453
|
-
}),
|
|
1694
|
+
}), Lo = { class: "label" }, Do = { class: "flex item-switch" }, Ro = { class: "flex item-switch" }, Uo = { class: "flex item-switch" }, rt = /* @__PURE__ */ F({
|
|
1454
1695
|
__name: "SettingTable",
|
|
1455
1696
|
setup(o) {
|
|
1456
|
-
const t =
|
|
1457
|
-
return (
|
|
1458
|
-
const n =
|
|
1459
|
-
return
|
|
1460
|
-
l(
|
|
1461
|
-
default:
|
|
1462
|
-
(
|
|
1697
|
+
const t = ee(), e = X(() => t.getActiveComponents);
|
|
1698
|
+
return (r, a) => {
|
|
1699
|
+
const n = d("el-switch"), i = d("el-form-item"), p = d("el-divider");
|
|
1700
|
+
return v(), V("div", null, [
|
|
1701
|
+
l(i, { label: "控制列" }, {
|
|
1702
|
+
default: c(() => [
|
|
1703
|
+
(v(!0), V(N, null, G(e.value.showColumn, (s, _) => (v(), V("p", {
|
|
1463
1704
|
class: "flex item-switch",
|
|
1464
|
-
key:
|
|
1705
|
+
key: _
|
|
1465
1706
|
}, [
|
|
1466
|
-
|
|
1707
|
+
E("span", Lo, ne(s.name), 1),
|
|
1467
1708
|
l(n, {
|
|
1468
|
-
modelValue: e.value.options.showColumn[
|
|
1469
|
-
"onUpdate:modelValue": (
|
|
1709
|
+
modelValue: e.value.options.showColumn[s.key],
|
|
1710
|
+
"onUpdate:modelValue": (f) => e.value.options.showColumn[s.key] = f
|
|
1470
1711
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1471
1712
|
]))), 128))
|
|
1472
1713
|
]),
|
|
1473
1714
|
_: 1
|
|
1474
1715
|
}),
|
|
1475
|
-
l(
|
|
1476
|
-
l(
|
|
1477
|
-
default:
|
|
1478
|
-
|
|
1479
|
-
|
|
1716
|
+
l(p),
|
|
1717
|
+
l(i, { label: "表格样式" }, {
|
|
1718
|
+
default: c(() => [
|
|
1719
|
+
E("p", Do, [
|
|
1720
|
+
a[3] || (a[3] = E("span", { class: "label" }, "斑马纹", -1)),
|
|
1480
1721
|
l(n, {
|
|
1481
1722
|
modelValue: e.value.options.stripe,
|
|
1482
|
-
"onUpdate:modelValue":
|
|
1723
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => e.value.options.stripe = s)
|
|
1483
1724
|
}, null, 8, ["modelValue"])
|
|
1484
1725
|
]),
|
|
1485
|
-
|
|
1486
|
-
|
|
1726
|
+
E("p", Ro, [
|
|
1727
|
+
a[4] || (a[4] = E("span", { class: "label" }, "边框", -1)),
|
|
1487
1728
|
l(n, {
|
|
1488
1729
|
modelValue: e.value.options.border,
|
|
1489
|
-
"onUpdate:modelValue":
|
|
1730
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => e.value.options.border = s)
|
|
1490
1731
|
}, null, 8, ["modelValue"])
|
|
1491
1732
|
]),
|
|
1492
|
-
|
|
1493
|
-
|
|
1733
|
+
E("p", Uo, [
|
|
1734
|
+
a[5] || (a[5] = E("span", { class: "label" }, "表头", -1)),
|
|
1494
1735
|
l(n, {
|
|
1495
1736
|
modelValue: e.value.options.showHeader,
|
|
1496
|
-
"onUpdate:modelValue":
|
|
1737
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => e.value.options.showHeader = s)
|
|
1497
1738
|
}, null, 8, ["modelValue"])
|
|
1498
1739
|
])
|
|
1499
1740
|
]),
|
|
@@ -1502,85 +1743,85 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
|
|
|
1502
1743
|
]);
|
|
1503
1744
|
};
|
|
1504
1745
|
}
|
|
1505
|
-
}),
|
|
1746
|
+
}), Eo = { key: 0 }, Mo = /* @__PURE__ */ F({
|
|
1506
1747
|
__name: "ChartsUniConfig",
|
|
1507
1748
|
setup(o) {
|
|
1508
|
-
const t =
|
|
1509
|
-
function a
|
|
1510
|
-
|
|
1749
|
+
const t = ee(), e = X(() => t.activeComponents);
|
|
1750
|
+
function r(a) {
|
|
1751
|
+
a ? (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);
|
|
1511
1752
|
}
|
|
1512
|
-
return
|
|
1513
|
-
const
|
|
1514
|
-
return e.value.options.title ? (
|
|
1515
|
-
l(
|
|
1516
|
-
default:
|
|
1517
|
-
l(
|
|
1753
|
+
return M("rgb(46, 145, 255)"), (a, n) => {
|
|
1754
|
+
const i = d("el-input"), p = d("el-form-item"), s = d("el-switch"), _ = d("el-col"), f = d("el-color-picker"), m = d("el-input-number"), h = d("el-row"), w = d("el-collapse-item"), x = d("el-collapse");
|
|
1755
|
+
return e.value.options.title ? (v(), V("div", Eo, [
|
|
1756
|
+
l(p, { label: "标题" }, {
|
|
1757
|
+
default: c(() => [
|
|
1758
|
+
l(i, {
|
|
1518
1759
|
modelValue: e.value.options.title.text,
|
|
1519
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
1760
|
+
"onUpdate:modelValue": n[0] || (n[0] = (C) => e.value.options.title.text = C)
|
|
1520
1761
|
}, null, 8, ["modelValue"])
|
|
1521
1762
|
]),
|
|
1522
1763
|
_: 1
|
|
1523
1764
|
}),
|
|
1524
|
-
l(
|
|
1525
|
-
default:
|
|
1526
|
-
l(
|
|
1765
|
+
l(x, null, {
|
|
1766
|
+
default: c(() => [
|
|
1767
|
+
l(w, {
|
|
1527
1768
|
title: "标题配置",
|
|
1528
1769
|
name: "1"
|
|
1529
1770
|
}, {
|
|
1530
|
-
default:
|
|
1531
|
-
l(
|
|
1532
|
-
default:
|
|
1533
|
-
l(
|
|
1534
|
-
default:
|
|
1535
|
-
n[8] || (n[8] =
|
|
1536
|
-
l(
|
|
1771
|
+
default: c(() => [
|
|
1772
|
+
l(h, { class: "w-100%" }, {
|
|
1773
|
+
default: c(() => [
|
|
1774
|
+
l(_, { span: 24 }, {
|
|
1775
|
+
default: c(() => [
|
|
1776
|
+
n[8] || (n[8] = E("span", { class: "switch-label" }, "显示标题", -1)),
|
|
1777
|
+
l(s, {
|
|
1537
1778
|
modelValue: e.value.options.title.show,
|
|
1538
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
1779
|
+
"onUpdate:modelValue": n[1] || (n[1] = (C) => e.value.options.title.show = C)
|
|
1539
1780
|
}, null, 8, ["modelValue"])
|
|
1540
1781
|
]),
|
|
1541
1782
|
_: 1
|
|
1542
1783
|
}),
|
|
1543
|
-
l(
|
|
1544
|
-
default:
|
|
1545
|
-
l(
|
|
1784
|
+
l(_, { span: 12 }, {
|
|
1785
|
+
default: c(() => [
|
|
1786
|
+
l(f, {
|
|
1546
1787
|
modelValue: e.value.options.title.textStyle.color,
|
|
1547
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
1788
|
+
"onUpdate:modelValue": n[2] || (n[2] = (C) => e.value.options.title.textStyle.color = C),
|
|
1548
1789
|
"show-alpha": ""
|
|
1549
1790
|
}, null, 8, ["modelValue"]),
|
|
1550
|
-
n[9] || (n[9] =
|
|
1791
|
+
n[9] || (n[9] = E("p", { class: "sub-title" }, "颜色", -1))
|
|
1551
1792
|
]),
|
|
1552
1793
|
_: 1
|
|
1553
1794
|
}),
|
|
1554
|
-
l(
|
|
1555
|
-
default:
|
|
1556
|
-
l(
|
|
1795
|
+
l(_, { span: 12 }, {
|
|
1796
|
+
default: c(() => [
|
|
1797
|
+
l(m, {
|
|
1557
1798
|
modelValue: e.value.options.title.textStyle.fontSize,
|
|
1558
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
1799
|
+
"onUpdate:modelValue": n[3] || (n[3] = (C) => e.value.options.title.textStyle.fontSize = C),
|
|
1559
1800
|
"controls-position": "right"
|
|
1560
1801
|
}, null, 8, ["modelValue"]),
|
|
1561
|
-
n[10] || (n[10] =
|
|
1802
|
+
n[10] || (n[10] = E("p", { class: "sub-title" }, "字体大小", -1))
|
|
1562
1803
|
]),
|
|
1563
1804
|
_: 1
|
|
1564
1805
|
}),
|
|
1565
|
-
l(
|
|
1566
|
-
default:
|
|
1567
|
-
l(
|
|
1806
|
+
l(_, { span: 12 }, {
|
|
1807
|
+
default: c(() => [
|
|
1808
|
+
l(m, {
|
|
1568
1809
|
modelValue: e.value.options.title.x,
|
|
1569
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
1810
|
+
"onUpdate:modelValue": n[4] || (n[4] = (C) => e.value.options.title.x = C),
|
|
1570
1811
|
"controls-position": "right"
|
|
1571
1812
|
}, null, 8, ["modelValue"]),
|
|
1572
|
-
n[11] || (n[11] =
|
|
1813
|
+
n[11] || (n[11] = E("p", { class: "sub-title" }, "横向", -1))
|
|
1573
1814
|
]),
|
|
1574
1815
|
_: 1
|
|
1575
1816
|
}),
|
|
1576
|
-
l(
|
|
1577
|
-
default:
|
|
1578
|
-
l(
|
|
1817
|
+
l(_, { span: 12 }, {
|
|
1818
|
+
default: c(() => [
|
|
1819
|
+
l(m, {
|
|
1579
1820
|
modelValue: e.value.options.title.y,
|
|
1580
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
1821
|
+
"onUpdate:modelValue": n[5] || (n[5] = (C) => e.value.options.title.y = C),
|
|
1581
1822
|
"controls-position": "right"
|
|
1582
1823
|
}, null, 8, ["modelValue"]),
|
|
1583
|
-
n[12] || (n[12] =
|
|
1824
|
+
n[12] || (n[12] = E("p", { class: "sub-title" }, "纵向", -1))
|
|
1584
1825
|
]),
|
|
1585
1826
|
_: 1
|
|
1586
1827
|
})
|
|
@@ -1590,45 +1831,45 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
|
|
|
1590
1831
|
]),
|
|
1591
1832
|
_: 1
|
|
1592
1833
|
}),
|
|
1593
|
-
l(
|
|
1834
|
+
l(w, {
|
|
1594
1835
|
title: "图形配置",
|
|
1595
1836
|
name: "2"
|
|
1596
1837
|
}, {
|
|
1597
|
-
default:
|
|
1598
|
-
e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (
|
|
1599
|
-
default:
|
|
1600
|
-
l(
|
|
1601
|
-
default:
|
|
1602
|
-
n[13] || (n[13] =
|
|
1603
|
-
l(
|
|
1604
|
-
onChange:
|
|
1838
|
+
default: c(() => [
|
|
1839
|
+
e.value.options.color && e.value.options.color.length && e.value.type === "pie" ? (v(), q(h, { key: 0 }, {
|
|
1840
|
+
default: c(() => [
|
|
1841
|
+
l(_, { span: 24 }, {
|
|
1842
|
+
default: c(() => [
|
|
1843
|
+
n[13] || (n[13] = E("span", { class: "switch-label" }, "玫瑰图", -1)),
|
|
1844
|
+
l(s, {
|
|
1845
|
+
onChange: r,
|
|
1605
1846
|
modelValue: e.value.options.series[0].roseType,
|
|
1606
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
1847
|
+
"onUpdate:modelValue": n[6] || (n[6] = (C) => e.value.options.series[0].roseType = C)
|
|
1607
1848
|
}, null, 8, ["modelValue"])
|
|
1608
1849
|
]),
|
|
1609
1850
|
_: 1
|
|
1610
1851
|
})
|
|
1611
1852
|
]),
|
|
1612
1853
|
_: 1
|
|
1613
|
-
})) :
|
|
1854
|
+
})) : P("", !0)
|
|
1614
1855
|
]),
|
|
1615
1856
|
_: 1
|
|
1616
1857
|
}),
|
|
1617
|
-
l(
|
|
1858
|
+
l(w, {
|
|
1618
1859
|
title: "图例配置",
|
|
1619
1860
|
name: "3"
|
|
1620
1861
|
}, {
|
|
1621
|
-
default:
|
|
1622
|
-
l(
|
|
1623
|
-
default:
|
|
1624
|
-
l(
|
|
1625
|
-
default:
|
|
1626
|
-
n[14] || (n[14] =
|
|
1627
|
-
e.value.options.legend ? (
|
|
1862
|
+
default: c(() => [
|
|
1863
|
+
l(h, null, {
|
|
1864
|
+
default: c(() => [
|
|
1865
|
+
l(_, { span: 24 }, {
|
|
1866
|
+
default: c(() => [
|
|
1867
|
+
n[14] || (n[14] = E("span", { class: "switch-label" }, "显示图例", -1)),
|
|
1868
|
+
e.value.options.legend ? (v(), q(s, {
|
|
1628
1869
|
key: 0,
|
|
1629
1870
|
modelValue: e.value.options.legend.show,
|
|
1630
|
-
"onUpdate:modelValue": n[7] || (n[7] = (
|
|
1631
|
-
}, null, 8, ["modelValue"])) :
|
|
1871
|
+
"onUpdate:modelValue": n[7] || (n[7] = (C) => e.value.options.legend.show = C)
|
|
1872
|
+
}, null, 8, ["modelValue"])) : P("", !0)
|
|
1632
1873
|
]),
|
|
1633
1874
|
_: 1
|
|
1634
1875
|
})
|
|
@@ -1641,40 +1882,40 @@ const Ve = /* @__PURE__ */ Y(zt, [["__scopeId", "data-v-a8c32bde"]]), Nt = {
|
|
|
1641
1882
|
]),
|
|
1642
1883
|
_: 1
|
|
1643
1884
|
})
|
|
1644
|
-
])) :
|
|
1885
|
+
])) : P("", !0);
|
|
1645
1886
|
};
|
|
1646
1887
|
}
|
|
1647
1888
|
});
|
|
1648
|
-
const
|
|
1889
|
+
const Ao = /* @__PURE__ */ _e(Mo, [["__scopeId", "data-v-e9859d3b"]]), at = /* @__PURE__ */ F({
|
|
1649
1890
|
__name: "SettingDescribe",
|
|
1650
1891
|
setup(o) {
|
|
1651
|
-
const t =
|
|
1652
|
-
return (
|
|
1653
|
-
const n =
|
|
1654
|
-
return
|
|
1655
|
-
l(
|
|
1656
|
-
default:
|
|
1892
|
+
const t = ee(), e = X(() => t.getActiveComponents);
|
|
1893
|
+
return (r, a) => {
|
|
1894
|
+
const n = d("el-input"), i = d("el-form-item"), p = d("el-switch"), s = d("el-input-number"), _ = d("el-radio"), f = d("el-radio-group");
|
|
1895
|
+
return v(), V("div", null, [
|
|
1896
|
+
l(i, { label: "标题" }, {
|
|
1897
|
+
default: c(() => [
|
|
1657
1898
|
l(n, {
|
|
1658
1899
|
modelValue: e.value.options.title,
|
|
1659
|
-
"onUpdate:modelValue":
|
|
1900
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => e.value.options.title = m)
|
|
1660
1901
|
}, null, 8, ["modelValue"])
|
|
1661
1902
|
]),
|
|
1662
1903
|
_: 1
|
|
1663
1904
|
}),
|
|
1664
|
-
l(
|
|
1665
|
-
default:
|
|
1666
|
-
l(
|
|
1905
|
+
l(i, { label: "边框" }, {
|
|
1906
|
+
default: c(() => [
|
|
1907
|
+
l(p, {
|
|
1667
1908
|
modelValue: e.value.options.border,
|
|
1668
|
-
"onUpdate:modelValue":
|
|
1909
|
+
"onUpdate:modelValue": a[1] || (a[1] = (m) => e.value.options.border = m)
|
|
1669
1910
|
}, null, 8, ["modelValue"])
|
|
1670
1911
|
]),
|
|
1671
1912
|
_: 1
|
|
1672
1913
|
}),
|
|
1673
|
-
l(
|
|
1674
|
-
default:
|
|
1675
|
-
l(
|
|
1914
|
+
l(i, { label: "每行展示数量" }, {
|
|
1915
|
+
default: c(() => [
|
|
1916
|
+
l(s, {
|
|
1676
1917
|
modelValue: e.value.options.column,
|
|
1677
|
-
"onUpdate:modelValue":
|
|
1918
|
+
"onUpdate:modelValue": a[2] || (a[2] = (m) => e.value.options.column = m),
|
|
1678
1919
|
min: 1,
|
|
1679
1920
|
max: 10,
|
|
1680
1921
|
controls: !1
|
|
@@ -1682,22 +1923,22 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1682
1923
|
]),
|
|
1683
1924
|
_: 1
|
|
1684
1925
|
}),
|
|
1685
|
-
l(
|
|
1686
|
-
default:
|
|
1687
|
-
l(
|
|
1926
|
+
l(i, { label: "排列方向" }, {
|
|
1927
|
+
default: c(() => [
|
|
1928
|
+
l(f, {
|
|
1688
1929
|
modelValue: e.value.options.direction,
|
|
1689
|
-
"onUpdate:modelValue":
|
|
1930
|
+
"onUpdate:modelValue": a[3] || (a[3] = (m) => e.value.options.direction = m)
|
|
1690
1931
|
}, {
|
|
1691
|
-
default:
|
|
1692
|
-
l(
|
|
1693
|
-
default:
|
|
1694
|
-
|
|
1932
|
+
default: c(() => [
|
|
1933
|
+
l(_, { value: "horizontal" }, {
|
|
1934
|
+
default: c(() => a[4] || (a[4] = [
|
|
1935
|
+
H("横向")
|
|
1695
1936
|
])),
|
|
1696
1937
|
_: 1
|
|
1697
1938
|
}),
|
|
1698
|
-
l(
|
|
1699
|
-
default:
|
|
1700
|
-
|
|
1939
|
+
l(_, { value: "vertical" }, {
|
|
1940
|
+
default: c(() => a[5] || (a[5] = [
|
|
1941
|
+
H("纵向")
|
|
1701
1942
|
])),
|
|
1702
1943
|
_: 1
|
|
1703
1944
|
})
|
|
@@ -1710,81 +1951,81 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1710
1951
|
]);
|
|
1711
1952
|
};
|
|
1712
1953
|
}
|
|
1713
|
-
}),
|
|
1954
|
+
}), Fo = /* @__PURE__ */ F({
|
|
1714
1955
|
__name: "SettingCharts",
|
|
1715
1956
|
setup(o) {
|
|
1716
|
-
const t =
|
|
1957
|
+
const t = ee(), e = M(!1), r = X(() => t.getActiveComponents), a = [
|
|
1717
1958
|
{ value: "report-describe", name: "描述列表" },
|
|
1718
1959
|
{ value: "report-table", name: "表格" },
|
|
1719
1960
|
{ value: "line", name: "趋势图" },
|
|
1720
1961
|
{ value: "pie", name: "扇形图" },
|
|
1721
1962
|
{ value: "bar", name: "柱状图" }
|
|
1722
|
-
], n =
|
|
1723
|
-
async function
|
|
1724
|
-
const
|
|
1963
|
+
], n = M(""), i = M();
|
|
1964
|
+
async function p(f) {
|
|
1965
|
+
const m = await Je({
|
|
1725
1966
|
prod_type: window.$prodType,
|
|
1726
|
-
chart_type:
|
|
1967
|
+
chart_type: f,
|
|
1727
1968
|
filter_uuid: t.filterForm.filter_uuid
|
|
1728
1969
|
});
|
|
1729
|
-
|
|
1970
|
+
i.value = m.data;
|
|
1730
1971
|
}
|
|
1731
|
-
function
|
|
1732
|
-
let
|
|
1733
|
-
const
|
|
1734
|
-
if (
|
|
1735
|
-
let
|
|
1736
|
-
|
|
1737
|
-
|
|
1972
|
+
function s(f) {
|
|
1973
|
+
let m = i.value.find((w) => w.rp_item_uuid === f);
|
|
1974
|
+
const h = m.rp_item_content;
|
|
1975
|
+
if (m.rp_item_content.type === "bar" && (h.options = Ce()), h.type === "pie" && (h.options = Ue({ isLegend: !0 })), h.type === "line") {
|
|
1976
|
+
let w = [];
|
|
1977
|
+
h.data.forEach((C) => {
|
|
1978
|
+
w = C.data.map((T, u) => ({ name: T.name, value: "value" + u }));
|
|
1738
1979
|
});
|
|
1739
|
-
const
|
|
1980
|
+
const x = {
|
|
1740
1981
|
name: "name",
|
|
1741
|
-
value:
|
|
1982
|
+
value: w
|
|
1742
1983
|
};
|
|
1743
|
-
|
|
1984
|
+
h.options = $e([], x);
|
|
1744
1985
|
}
|
|
1745
|
-
if (
|
|
1746
|
-
const
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
}),
|
|
1986
|
+
if (h.type === "report-table") {
|
|
1987
|
+
const w = {};
|
|
1988
|
+
h.showColumn.forEach((x) => {
|
|
1989
|
+
w[x.key] = !0;
|
|
1990
|
+
}), h.options = { ...h.options, showColumn: w, border: !0, showHeader: !0, stripe: !1 };
|
|
1750
1991
|
}
|
|
1751
|
-
|
|
1992
|
+
h.type === "report-describe" && (h.options = { ...h.options, title: "", border: !0, column: 1, direction: "horizontal", ...r.value.options }), Object.assign(t.activeComponents, h), t.activeComponents.rp_item_uuid = m.rp_item_uuid;
|
|
1752
1993
|
}
|
|
1753
|
-
|
|
1754
|
-
n.value =
|
|
1994
|
+
De(async () => {
|
|
1995
|
+
n.value = r.value.type, await p(n.value);
|
|
1755
1996
|
});
|
|
1756
|
-
async function
|
|
1997
|
+
async function _(f) {
|
|
1757
1998
|
try {
|
|
1758
|
-
e.value = !0, await
|
|
1759
|
-
} catch (
|
|
1760
|
-
console.error("加载报告项失败:",
|
|
1999
|
+
e.value = !0, await p(f);
|
|
2000
|
+
} catch (m) {
|
|
2001
|
+
console.error("加载报告项失败:", m);
|
|
1761
2002
|
} finally {
|
|
1762
|
-
Object.assign(t.activeComponents,
|
|
2003
|
+
Object.assign(t.activeComponents, eo(f)), e.value = !1;
|
|
1763
2004
|
}
|
|
1764
2005
|
}
|
|
1765
|
-
return
|
|
1766
|
-
() =>
|
|
1767
|
-
(
|
|
1768
|
-
console.log(
|
|
2006
|
+
return dt(
|
|
2007
|
+
() => r.value,
|
|
2008
|
+
(f) => {
|
|
2009
|
+
console.log(f, "activeComponents"), ~["bar", "pie", "line", "report-table", "report-describe"].indexOf(f.type) && (n.value = r.value.type, p(n.value));
|
|
1769
2010
|
}
|
|
1770
|
-
), (
|
|
1771
|
-
const
|
|
1772
|
-
return
|
|
1773
|
-
l(
|
|
1774
|
-
default:
|
|
1775
|
-
l(
|
|
1776
|
-
default:
|
|
1777
|
-
l(
|
|
2011
|
+
), (f, m) => {
|
|
2012
|
+
const h = d("el-option"), w = d("el-select"), x = d("el-form-item"), C = d("el-form"), T = Pe("loading");
|
|
2013
|
+
return Le((v(), V("div", null, [
|
|
2014
|
+
l(C, { "label-position": "top" }, {
|
|
2015
|
+
default: c(() => [
|
|
2016
|
+
l(x, { label: "图表类型" }, {
|
|
2017
|
+
default: c(() => [
|
|
2018
|
+
l(w, {
|
|
1778
2019
|
style: { width: "100%" },
|
|
1779
2020
|
modelValue: n.value,
|
|
1780
|
-
"onUpdate:modelValue":
|
|
1781
|
-
onChange:
|
|
2021
|
+
"onUpdate:modelValue": m[0] || (m[0] = (u) => n.value = u),
|
|
2022
|
+
onChange: _
|
|
1782
2023
|
}, {
|
|
1783
|
-
default:
|
|
1784
|
-
(
|
|
1785
|
-
key:
|
|
1786
|
-
label:
|
|
1787
|
-
value:
|
|
2024
|
+
default: c(() => [
|
|
2025
|
+
(v(), V(N, null, G(a, (u, $) => l(h, {
|
|
2026
|
+
key: $,
|
|
2027
|
+
label: u.name,
|
|
2028
|
+
value: u.value
|
|
1788
2029
|
}, null, 8, ["label", "value"])), 64))
|
|
1789
2030
|
]),
|
|
1790
2031
|
_: 1
|
|
@@ -1792,19 +2033,19 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1792
2033
|
]),
|
|
1793
2034
|
_: 1
|
|
1794
2035
|
}),
|
|
1795
|
-
l(
|
|
1796
|
-
default:
|
|
1797
|
-
l(
|
|
2036
|
+
l(x, { label: "组件库" }, {
|
|
2037
|
+
default: c(() => [
|
|
2038
|
+
l(w, {
|
|
1798
2039
|
style: { width: "100%" },
|
|
1799
|
-
modelValue:
|
|
1800
|
-
"onUpdate:modelValue":
|
|
1801
|
-
onChange:
|
|
2040
|
+
modelValue: S(t).activeComponents.rp_item_uuid,
|
|
2041
|
+
"onUpdate:modelValue": m[1] || (m[1] = (u) => S(t).activeComponents.rp_item_uuid = u),
|
|
2042
|
+
onChange: s
|
|
1802
2043
|
}, {
|
|
1803
|
-
default:
|
|
1804
|
-
(
|
|
1805
|
-
key:
|
|
1806
|
-
label:
|
|
1807
|
-
value:
|
|
2044
|
+
default: c(() => [
|
|
2045
|
+
(v(!0), V(N, null, G(i.value, (u, $) => (v(), q(h, {
|
|
2046
|
+
key: $,
|
|
2047
|
+
label: u.rp_item_name,
|
|
2048
|
+
value: u.rp_item_uuid
|
|
1808
2049
|
}, null, 8, ["label", "value"]))), 128))
|
|
1809
2050
|
]),
|
|
1810
2051
|
_: 1
|
|
@@ -1812,31 +2053,31 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1812
2053
|
]),
|
|
1813
2054
|
_: 1
|
|
1814
2055
|
}),
|
|
1815
|
-
n.value === "report-table" &&
|
|
1816
|
-
n.value === "pie" || n.value === "bar" || n.value === "line" ? (
|
|
1817
|
-
n.value === "report-describe" ? (
|
|
2056
|
+
n.value === "report-table" && r.value.options.showColumn ? (v(), q(rt, { key: 0 })) : P("", !0),
|
|
2057
|
+
n.value === "pie" || n.value === "bar" || n.value === "line" ? (v(), q(Ao, { key: 1 })) : P("", !0),
|
|
2058
|
+
n.value === "report-describe" ? (v(), q(at, { key: 2 })) : P("", !0)
|
|
1818
2059
|
]),
|
|
1819
2060
|
_: 1
|
|
1820
2061
|
})
|
|
1821
2062
|
])), [
|
|
1822
|
-
[
|
|
2063
|
+
[T, e.value]
|
|
1823
2064
|
]);
|
|
1824
2065
|
};
|
|
1825
2066
|
}
|
|
1826
|
-
}),
|
|
2067
|
+
}), Io = { key: 0 }, qo = { style: { border: "1px solid #ccc", "border-radius": "3px" } }, Oe = "default", Oo = /* @__PURE__ */ F({
|
|
1827
2068
|
__name: "SettingText",
|
|
1828
2069
|
setup(o) {
|
|
1829
|
-
const t =
|
|
1830
|
-
function
|
|
1831
|
-
const
|
|
1832
|
-
t.activeComponents.uri =
|
|
2070
|
+
const t = ee(), e = pt(), r = M();
|
|
2071
|
+
function a(f) {
|
|
2072
|
+
const m = r.value.find((h) => h.rp_item_uuid === f);
|
|
2073
|
+
t.activeComponents.uri = m.rp_item_content.uri, e.value.setHtml((m == null ? void 0 : m.rp_item_content.data) || "");
|
|
1833
2074
|
}
|
|
1834
2075
|
async function n() {
|
|
1835
|
-
const
|
|
1836
|
-
|
|
2076
|
+
const f = await Je({ prod_type: window.$prodType, chart_type: "p", filter_uuid: t.filterForm.filter_uuid });
|
|
2077
|
+
r.value = f.data;
|
|
1837
2078
|
}
|
|
1838
2079
|
n();
|
|
1839
|
-
const
|
|
2080
|
+
const i = {
|
|
1840
2081
|
toolbarKeys: [
|
|
1841
2082
|
"bold",
|
|
1842
2083
|
"underline",
|
|
@@ -1858,31 +2099,31 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1858
2099
|
"justifyJustify",
|
|
1859
2100
|
"lineHeight"
|
|
1860
2101
|
]
|
|
1861
|
-
},
|
|
1862
|
-
e.value =
|
|
1863
|
-
},
|
|
2102
|
+
}, p = { placeholder: "请输入内容..." }, s = (f) => {
|
|
2103
|
+
e.value = f;
|
|
2104
|
+
}, _ = (f) => {
|
|
1864
2105
|
};
|
|
1865
|
-
return
|
|
1866
|
-
const
|
|
1867
|
-
|
|
1868
|
-
}), (
|
|
1869
|
-
const
|
|
1870
|
-
return
|
|
1871
|
-
l(
|
|
1872
|
-
default:
|
|
1873
|
-
l(
|
|
1874
|
-
default:
|
|
1875
|
-
l(
|
|
2106
|
+
return ct(() => {
|
|
2107
|
+
const f = e.value;
|
|
2108
|
+
f != null && f.destroy();
|
|
2109
|
+
}), (f, m) => {
|
|
2110
|
+
const h = d("el-option"), w = d("el-select"), x = d("el-form-item"), C = d("el-form");
|
|
2111
|
+
return S(t).activeComponents.id ? (v(), V("div", Io, [
|
|
2112
|
+
l(C, { "label-position": "top" }, {
|
|
2113
|
+
default: c(() => [
|
|
2114
|
+
l(x, { label: "组件库" }, {
|
|
2115
|
+
default: c(() => [
|
|
2116
|
+
l(w, {
|
|
1876
2117
|
style: { width: "100%" },
|
|
1877
|
-
modelValue:
|
|
1878
|
-
"onUpdate:modelValue":
|
|
1879
|
-
onChange:
|
|
2118
|
+
modelValue: S(t).activeComponents.rp_item_uuid,
|
|
2119
|
+
"onUpdate:modelValue": m[0] || (m[0] = (T) => S(t).activeComponents.rp_item_uuid = T),
|
|
2120
|
+
onChange: a
|
|
1880
2121
|
}, {
|
|
1881
|
-
default:
|
|
1882
|
-
(
|
|
1883
|
-
key:
|
|
1884
|
-
label:
|
|
1885
|
-
value:
|
|
2122
|
+
default: c(() => [
|
|
2123
|
+
(v(!0), V(N, null, G(r.value, (T, u) => (v(), q(h, {
|
|
2124
|
+
key: u,
|
|
2125
|
+
label: T.rp_item_name,
|
|
2126
|
+
value: T.rp_item_uuid
|
|
1886
2127
|
}, null, 8, ["label", "value"]))), 128))
|
|
1887
2128
|
]),
|
|
1888
2129
|
_: 1
|
|
@@ -1890,23 +2131,23 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1890
2131
|
]),
|
|
1891
2132
|
_: 1
|
|
1892
2133
|
}),
|
|
1893
|
-
l(
|
|
1894
|
-
default:
|
|
1895
|
-
|
|
1896
|
-
l(
|
|
2134
|
+
l(x, { label: "文本内容" }, {
|
|
2135
|
+
default: c(() => [
|
|
2136
|
+
E("div", qo, [
|
|
2137
|
+
l(S(yt), {
|
|
1897
2138
|
style: { "border-bottom": "1px solid #ccc" },
|
|
1898
2139
|
editor: e.value,
|
|
1899
|
-
"default-config":
|
|
1900
|
-
mode:
|
|
2140
|
+
"default-config": i,
|
|
2141
|
+
mode: Oe
|
|
1901
2142
|
}, null, 8, ["editor"]),
|
|
1902
|
-
l(
|
|
2143
|
+
l(S(gt), {
|
|
1903
2144
|
style: { height: "500px", "overflow-y": "hidden" },
|
|
1904
|
-
onOnChange:
|
|
1905
|
-
modelValue:
|
|
1906
|
-
"onUpdate:modelValue":
|
|
1907
|
-
"default-config":
|
|
1908
|
-
mode:
|
|
1909
|
-
onOnCreated:
|
|
2145
|
+
onOnChange: _,
|
|
2146
|
+
modelValue: S(t).activeComponents.data,
|
|
2147
|
+
"onUpdate:modelValue": m[1] || (m[1] = (T) => S(t).activeComponents.data = T),
|
|
2148
|
+
"default-config": p,
|
|
2149
|
+
mode: Oe,
|
|
2150
|
+
onOnCreated: s
|
|
1910
2151
|
}, null, 8, ["modelValue"])
|
|
1911
2152
|
])
|
|
1912
2153
|
]),
|
|
@@ -1915,36 +2156,36 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1915
2156
|
]),
|
|
1916
2157
|
_: 1
|
|
1917
2158
|
})
|
|
1918
|
-
])) :
|
|
2159
|
+
])) : P("", !0);
|
|
1919
2160
|
};
|
|
1920
2161
|
}
|
|
1921
|
-
}),
|
|
2162
|
+
}), Ho = /* @__PURE__ */ F({
|
|
1922
2163
|
__name: "SettingFilter",
|
|
1923
2164
|
setup(o) {
|
|
1924
|
-
const t =
|
|
1925
|
-
async function
|
|
1926
|
-
const
|
|
1927
|
-
t.value =
|
|
2165
|
+
const t = M([]), e = ee();
|
|
2166
|
+
async function r() {
|
|
2167
|
+
const a = await Ke({ prod_type: window.$prodType });
|
|
2168
|
+
t.value = a.data;
|
|
1928
2169
|
}
|
|
1929
|
-
return
|
|
1930
|
-
const
|
|
1931
|
-
return
|
|
2170
|
+
return r(), (a, n) => {
|
|
2171
|
+
const i = d("el-option"), p = d("el-select"), s = d("el-form-item"), _ = d("el-checkbox"), f = d("el-form");
|
|
2172
|
+
return v(), q(f, {
|
|
1932
2173
|
"label-width": "80px",
|
|
1933
2174
|
"label-position": "top"
|
|
1934
2175
|
}, {
|
|
1935
|
-
default:
|
|
1936
|
-
l(
|
|
1937
|
-
default:
|
|
1938
|
-
l(
|
|
1939
|
-
modelValue:
|
|
1940
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
1941
|
-
disabled: !!
|
|
2176
|
+
default: c(() => [
|
|
2177
|
+
l(s, { label: "筛选条件" }, {
|
|
2178
|
+
default: c(() => [
|
|
2179
|
+
l(p, {
|
|
2180
|
+
modelValue: S(e).filterForm.filter_uuid,
|
|
2181
|
+
"onUpdate:modelValue": n[0] || (n[0] = (m) => S(e).filterForm.filter_uuid = m),
|
|
2182
|
+
disabled: !!S(e).filterForm.filter_uuid
|
|
1942
2183
|
}, {
|
|
1943
|
-
default:
|
|
1944
|
-
(
|
|
1945
|
-
key:
|
|
1946
|
-
label:
|
|
1947
|
-
value:
|
|
2184
|
+
default: c(() => [
|
|
2185
|
+
(v(!0), V(N, null, G(t.value, (m) => (v(), q(i, {
|
|
2186
|
+
key: m.filter_uuid,
|
|
2187
|
+
label: m.filter_name,
|
|
2188
|
+
value: m.filter_uuid
|
|
1948
2189
|
}, null, 8, ["label", "value"]))), 128))
|
|
1949
2190
|
]),
|
|
1950
2191
|
_: 1
|
|
@@ -1952,11 +2193,11 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1952
2193
|
]),
|
|
1953
2194
|
_: 1
|
|
1954
2195
|
}),
|
|
1955
|
-
l(
|
|
1956
|
-
default:
|
|
1957
|
-
l(
|
|
1958
|
-
modelValue:
|
|
1959
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
2196
|
+
l(s, null, {
|
|
2197
|
+
default: c(() => [
|
|
2198
|
+
l(_, {
|
|
2199
|
+
modelValue: S(e).filterForm.range_time,
|
|
2200
|
+
"onUpdate:modelValue": n[1] || (n[1] = (m) => S(e).filterForm.range_time = m),
|
|
1960
2201
|
"true-value": 1,
|
|
1961
2202
|
"false-value": 0,
|
|
1962
2203
|
label: "时间范围"
|
|
@@ -1969,22 +2210,22 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1969
2210
|
});
|
|
1970
2211
|
};
|
|
1971
2212
|
}
|
|
1972
|
-
}),
|
|
2213
|
+
}), jo = /* @__PURE__ */ F({
|
|
1973
2214
|
__name: "SettingTitle",
|
|
1974
2215
|
setup(o) {
|
|
1975
|
-
const t =
|
|
1976
|
-
return (e,
|
|
1977
|
-
const
|
|
1978
|
-
return
|
|
2216
|
+
const t = ee();
|
|
2217
|
+
return (e, r) => {
|
|
2218
|
+
const a = d("el-input"), n = d("el-form-item"), i = d("el-color-picker"), p = d("el-col"), s = d("el-input-number"), _ = d("el-option"), f = d("el-select"), m = d("el-row"), h = d("el-form");
|
|
2219
|
+
return v(), q(h, {
|
|
1979
2220
|
"label-width": "auto",
|
|
1980
2221
|
"label-position": "top"
|
|
1981
2222
|
}, {
|
|
1982
|
-
default:
|
|
2223
|
+
default: c(() => [
|
|
1983
2224
|
l(n, { label: "名称" }, {
|
|
1984
|
-
default:
|
|
1985
|
-
l(
|
|
1986
|
-
modelValue:
|
|
1987
|
-
"onUpdate:modelValue":
|
|
2225
|
+
default: c(() => [
|
|
2226
|
+
l(a, {
|
|
2227
|
+
modelValue: S(t).activeComponents.data,
|
|
2228
|
+
"onUpdate:modelValue": r[0] || (r[0] = (w) => S(t).activeComponents.data = w),
|
|
1988
2229
|
placeholder: "Please input",
|
|
1989
2230
|
maxlength: "24",
|
|
1990
2231
|
"show-word-limit": ""
|
|
@@ -1993,98 +2234,98 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
1993
2234
|
_: 1
|
|
1994
2235
|
}),
|
|
1995
2236
|
l(n, { label: "样式" }, {
|
|
1996
|
-
default:
|
|
1997
|
-
l(
|
|
1998
|
-
default:
|
|
1999
|
-
l(
|
|
2000
|
-
default:
|
|
2001
|
-
l(
|
|
2002
|
-
modelValue:
|
|
2003
|
-
"onUpdate:modelValue":
|
|
2237
|
+
default: c(() => [
|
|
2238
|
+
l(m, { gutter: 20 }, {
|
|
2239
|
+
default: c(() => [
|
|
2240
|
+
l(p, { span: 12 }, {
|
|
2241
|
+
default: c(() => [
|
|
2242
|
+
l(i, {
|
|
2243
|
+
modelValue: S(t).activeComponents.options.color,
|
|
2244
|
+
"onUpdate:modelValue": r[1] || (r[1] = (w) => S(t).activeComponents.options.color = w),
|
|
2004
2245
|
"show-alpha": ""
|
|
2005
2246
|
}, null, 8, ["modelValue"]),
|
|
2006
|
-
|
|
2247
|
+
r[7] || (r[7] = E("p", { class: "sub-title" }, "颜色", -1))
|
|
2007
2248
|
]),
|
|
2008
2249
|
_: 1
|
|
2009
2250
|
}),
|
|
2010
|
-
l(
|
|
2011
|
-
default:
|
|
2012
|
-
l(
|
|
2013
|
-
modelValue:
|
|
2014
|
-
"onUpdate:modelValue":
|
|
2251
|
+
l(p, { span: 12 }, {
|
|
2252
|
+
default: c(() => [
|
|
2253
|
+
l(s, {
|
|
2254
|
+
modelValue: S(t).activeComponents.options.size,
|
|
2255
|
+
"onUpdate:modelValue": r[2] || (r[2] = (w) => S(t).activeComponents.options.size = w),
|
|
2015
2256
|
"controls-position": "right"
|
|
2016
2257
|
}, null, 8, ["modelValue"]),
|
|
2017
|
-
|
|
2258
|
+
r[8] || (r[8] = E("p", { class: "sub-title" }, "字体大小", -1))
|
|
2018
2259
|
]),
|
|
2019
2260
|
_: 1
|
|
2020
2261
|
}),
|
|
2021
|
-
l(
|
|
2022
|
-
default:
|
|
2023
|
-
l(
|
|
2024
|
-
modelValue:
|
|
2025
|
-
"onUpdate:modelValue":
|
|
2262
|
+
l(p, { span: 12 }, {
|
|
2263
|
+
default: c(() => [
|
|
2264
|
+
l(f, {
|
|
2265
|
+
modelValue: S(t).activeComponents.options.fontWeight,
|
|
2266
|
+
"onUpdate:modelValue": r[3] || (r[3] = (w) => S(t).activeComponents.options.fontWeight = w)
|
|
2026
2267
|
}, {
|
|
2027
|
-
default:
|
|
2028
|
-
l(
|
|
2268
|
+
default: c(() => [
|
|
2269
|
+
l(_, {
|
|
2029
2270
|
label: "常规",
|
|
2030
2271
|
value: 500
|
|
2031
2272
|
}),
|
|
2032
|
-
l(
|
|
2273
|
+
l(_, {
|
|
2033
2274
|
label: "加粗",
|
|
2034
2275
|
value: 600
|
|
2035
2276
|
})
|
|
2036
2277
|
]),
|
|
2037
2278
|
_: 1
|
|
2038
2279
|
}, 8, ["modelValue"]),
|
|
2039
|
-
|
|
2280
|
+
r[9] || (r[9] = E("p", { class: "sub-title" }, "字体粗细", -1))
|
|
2040
2281
|
]),
|
|
2041
2282
|
_: 1
|
|
2042
2283
|
}),
|
|
2043
|
-
l(
|
|
2044
|
-
default:
|
|
2045
|
-
l(
|
|
2046
|
-
modelValue:
|
|
2047
|
-
"onUpdate:modelValue":
|
|
2284
|
+
l(p, { span: 12 }, {
|
|
2285
|
+
default: c(() => [
|
|
2286
|
+
l(s, {
|
|
2287
|
+
modelValue: S(t).activeComponents.options.letterSpacing,
|
|
2288
|
+
"onUpdate:modelValue": r[4] || (r[4] = (w) => S(t).activeComponents.options.letterSpacing = w),
|
|
2048
2289
|
"controls-position": "right"
|
|
2049
2290
|
}, null, 8, ["modelValue"]),
|
|
2050
|
-
|
|
2291
|
+
r[10] || (r[10] = E("p", { class: "sub-title" }, "字间距", -1))
|
|
2051
2292
|
]),
|
|
2052
2293
|
_: 1
|
|
2053
2294
|
}),
|
|
2054
|
-
l(
|
|
2055
|
-
default:
|
|
2056
|
-
l(
|
|
2057
|
-
modelValue:
|
|
2058
|
-
"onUpdate:modelValue":
|
|
2295
|
+
l(p, { span: 12 }, {
|
|
2296
|
+
default: c(() => [
|
|
2297
|
+
l(s, {
|
|
2298
|
+
modelValue: S(t).activeComponents.options.textIndent,
|
|
2299
|
+
"onUpdate:modelValue": r[5] || (r[5] = (w) => S(t).activeComponents.options.textIndent = w),
|
|
2059
2300
|
"controls-position": "right"
|
|
2060
2301
|
}, null, 8, ["modelValue"]),
|
|
2061
|
-
|
|
2302
|
+
r[11] || (r[11] = E("p", { class: "sub-title" }, "首行缩进", -1))
|
|
2062
2303
|
]),
|
|
2063
2304
|
_: 1
|
|
2064
2305
|
}),
|
|
2065
|
-
l(
|
|
2066
|
-
default:
|
|
2067
|
-
l(
|
|
2068
|
-
modelValue:
|
|
2069
|
-
"onUpdate:modelValue":
|
|
2306
|
+
l(p, { span: 12 }, {
|
|
2307
|
+
default: c(() => [
|
|
2308
|
+
l(f, {
|
|
2309
|
+
modelValue: S(t).activeComponents.options.textAlign,
|
|
2310
|
+
"onUpdate:modelValue": r[6] || (r[6] = (w) => S(t).activeComponents.options.textAlign = w)
|
|
2070
2311
|
}, {
|
|
2071
|
-
default:
|
|
2072
|
-
l(
|
|
2312
|
+
default: c(() => [
|
|
2313
|
+
l(_, {
|
|
2073
2314
|
label: "左对齐",
|
|
2074
2315
|
value: "left"
|
|
2075
2316
|
}),
|
|
2076
|
-
l(
|
|
2317
|
+
l(_, {
|
|
2077
2318
|
label: "居中对齐",
|
|
2078
2319
|
value: "center"
|
|
2079
2320
|
}),
|
|
2080
|
-
l(
|
|
2321
|
+
l(_, {
|
|
2081
2322
|
label: "右对齐",
|
|
2082
2323
|
value: "right"
|
|
2083
2324
|
})
|
|
2084
2325
|
]),
|
|
2085
2326
|
_: 1
|
|
2086
2327
|
}, 8, ["modelValue"]),
|
|
2087
|
-
|
|
2328
|
+
r[12] || (r[12] = E("p", { class: "sub-title" }, "位置", -1))
|
|
2088
2329
|
]),
|
|
2089
2330
|
_: 1
|
|
2090
2331
|
})
|
|
@@ -2100,30 +2341,30 @@ const lo = /* @__PURE__ */ Y(oo, [["__scopeId", "data-v-e9859d3b"]]), De = /* @_
|
|
|
2100
2341
|
};
|
|
2101
2342
|
}
|
|
2102
2343
|
});
|
|
2103
|
-
const
|
|
2344
|
+
const Bo = /* @__PURE__ */ _e(jo, [["__scopeId", "data-v-56fef84c"]]), zo = /* @__PURE__ */ F({
|
|
2104
2345
|
__name: "Setting",
|
|
2105
2346
|
setup(o) {
|
|
2106
2347
|
const t = {
|
|
2107
|
-
SettingTable:
|
|
2108
|
-
SettingCharts:
|
|
2109
|
-
SettingDescribe:
|
|
2110
|
-
SettingText:
|
|
2111
|
-
SettingFilter:
|
|
2112
|
-
SettingTitle:
|
|
2113
|
-
}, e =
|
|
2114
|
-
return (
|
|
2115
|
-
const
|
|
2116
|
-
return
|
|
2117
|
-
default:
|
|
2118
|
-
(
|
|
2348
|
+
SettingTable: rt,
|
|
2349
|
+
SettingCharts: Fo,
|
|
2350
|
+
SettingDescribe: at,
|
|
2351
|
+
SettingText: Oo,
|
|
2352
|
+
SettingFilter: Ho,
|
|
2353
|
+
SettingTitle: Bo
|
|
2354
|
+
}, e = ee(), r = X(() => e.activeComponents), a = ["h1", "h2", "h3", "h4"], n = ["p"], i = ["report-table", "bar", "line", "pie", "report-describe"], p = (s) => a.includes(s) ? te(t, "SettingTitle") : n.includes(s) ? te(t, "SettingText") : i.includes(s) ? te(t, "SettingCharts") : s === "filter" ? te(t, "SettingFilter") : "DefaultEditor";
|
|
2355
|
+
return (s, _) => {
|
|
2356
|
+
const f = d("el-card");
|
|
2357
|
+
return v(), q(f, { class: "config-wrapper" }, {
|
|
2358
|
+
default: c(() => [
|
|
2359
|
+
(v(), q(ge(p(r.value.type))))
|
|
2119
2360
|
]),
|
|
2120
2361
|
_: 1
|
|
2121
2362
|
});
|
|
2122
2363
|
};
|
|
2123
2364
|
}
|
|
2124
|
-
}),
|
|
2365
|
+
}), Yo = { class: "editor-wrapper flex items-center space-between start" }, Po = { class: "flex items-center space-between" }, Wo = { class: "btn-group" }, No = /* @__PURE__ */ F({
|
|
2125
2366
|
__name: "index",
|
|
2126
|
-
props: /* @__PURE__ */
|
|
2367
|
+
props: /* @__PURE__ */ ze({
|
|
2127
2368
|
reportId: {
|
|
2128
2369
|
type: String,
|
|
2129
2370
|
default: ""
|
|
@@ -2134,26 +2375,26 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2134
2375
|
}),
|
|
2135
2376
|
emits: ["update:modelValue"],
|
|
2136
2377
|
setup(o) {
|
|
2137
|
-
const t =
|
|
2138
|
-
const
|
|
2139
|
-
|
|
2378
|
+
const t = ee(), e = o, r = Ye(o, "modelValue"), a = (s) => {
|
|
2379
|
+
const _ = we(s);
|
|
2380
|
+
_.id = Q(), t.componentList.push(_);
|
|
2140
2381
|
};
|
|
2141
2382
|
function n() {
|
|
2142
|
-
|
|
2383
|
+
r.value = "table";
|
|
2143
2384
|
}
|
|
2144
|
-
function
|
|
2385
|
+
function i() {
|
|
2145
2386
|
t.getReportDemo(e.reportId);
|
|
2146
2387
|
}
|
|
2147
|
-
|
|
2148
|
-
|
|
2388
|
+
De(() => {
|
|
2389
|
+
i();
|
|
2149
2390
|
});
|
|
2150
|
-
async function
|
|
2391
|
+
async function p() {
|
|
2151
2392
|
if (!t.filterForm.filter_uuid) {
|
|
2152
|
-
|
|
2393
|
+
bt.error("请选择筛选条件");
|
|
2153
2394
|
return;
|
|
2154
2395
|
}
|
|
2155
2396
|
try {
|
|
2156
|
-
e.reportId ? await
|
|
2397
|
+
e.reportId ? await Tt({
|
|
2157
2398
|
report_uuid: e.reportId,
|
|
2158
2399
|
data: {
|
|
2159
2400
|
report_name: t.titleComponent.data,
|
|
@@ -2161,7 +2402,7 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2161
2402
|
content: [...t.notDraggableList, t.titleComponent, ...t.componentList],
|
|
2162
2403
|
...t.filterForm
|
|
2163
2404
|
}
|
|
2164
|
-
}) : await
|
|
2405
|
+
}) : await St({
|
|
2165
2406
|
data: {
|
|
2166
2407
|
report_name: t.titleComponent.data,
|
|
2167
2408
|
prod_type: window.$prodType,
|
|
@@ -2169,30 +2410,30 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2169
2410
|
...t.filterForm
|
|
2170
2411
|
}
|
|
2171
2412
|
}), n();
|
|
2172
|
-
} catch (
|
|
2173
|
-
console.log(
|
|
2413
|
+
} catch (s) {
|
|
2414
|
+
console.log(s, "error");
|
|
2174
2415
|
}
|
|
2175
2416
|
}
|
|
2176
|
-
return
|
|
2417
|
+
return mt(() => {
|
|
2177
2418
|
t.clearComponents();
|
|
2178
|
-
}), (
|
|
2179
|
-
const
|
|
2180
|
-
return
|
|
2181
|
-
l(
|
|
2182
|
-
default:
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
l(
|
|
2186
|
-
default:
|
|
2187
|
-
(
|
|
2188
|
-
key:
|
|
2419
|
+
}), (s, _) => {
|
|
2420
|
+
const f = d("el-button"), m = d("el-button-group"), h = d("el-card");
|
|
2421
|
+
return v(), V("div", Yo, [
|
|
2422
|
+
l(h, { class: "view-wrapper" }, {
|
|
2423
|
+
default: c(() => [
|
|
2424
|
+
E("div", Po, [
|
|
2425
|
+
E("div", Wo, [
|
|
2426
|
+
l(m, null, {
|
|
2427
|
+
default: c(() => [
|
|
2428
|
+
(v(!0), V(N, null, G(S(Xt), (w) => (v(), V(N, {
|
|
2429
|
+
key: w.type
|
|
2189
2430
|
}, [
|
|
2190
|
-
|
|
2431
|
+
w != null && w.hide ? P("", !0) : (v(), q(f, {
|
|
2191
2432
|
key: 0,
|
|
2192
|
-
onClick: (
|
|
2433
|
+
onClick: (x) => a(w)
|
|
2193
2434
|
}, {
|
|
2194
|
-
default:
|
|
2195
|
-
|
|
2435
|
+
default: c(() => [
|
|
2436
|
+
H(ne(w.name), 1)
|
|
2196
2437
|
]),
|
|
2197
2438
|
_: 2
|
|
2198
2439
|
}, 1032, ["onClick"]))
|
|
@@ -2201,20 +2442,20 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2201
2442
|
_: 1
|
|
2202
2443
|
})
|
|
2203
2444
|
]),
|
|
2204
|
-
l(
|
|
2205
|
-
default:
|
|
2206
|
-
l(
|
|
2445
|
+
l(m, null, {
|
|
2446
|
+
default: c(() => [
|
|
2447
|
+
l(f, {
|
|
2207
2448
|
type: "primary",
|
|
2208
|
-
onClick:
|
|
2449
|
+
onClick: p
|
|
2209
2450
|
}, {
|
|
2210
|
-
default:
|
|
2211
|
-
|
|
2451
|
+
default: c(() => _[0] || (_[0] = [
|
|
2452
|
+
H("保存")
|
|
2212
2453
|
])),
|
|
2213
2454
|
_: 1
|
|
2214
2455
|
}),
|
|
2215
|
-
l(
|
|
2216
|
-
default:
|
|
2217
|
-
|
|
2456
|
+
l(f, { onClick: n }, {
|
|
2457
|
+
default: c(() => _[1] || (_[1] = [
|
|
2458
|
+
H("退出")
|
|
2218
2459
|
])),
|
|
2219
2460
|
_: 1
|
|
2220
2461
|
})
|
|
@@ -2222,39 +2463,39 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2222
2463
|
_: 1
|
|
2223
2464
|
})
|
|
2224
2465
|
]),
|
|
2225
|
-
l(
|
|
2466
|
+
l(Vo)
|
|
2226
2467
|
]),
|
|
2227
2468
|
_: 1
|
|
2228
2469
|
}),
|
|
2229
|
-
l(
|
|
2470
|
+
l(zo)
|
|
2230
2471
|
]);
|
|
2231
2472
|
};
|
|
2232
2473
|
}
|
|
2233
|
-
}),
|
|
2474
|
+
}), Jo = {
|
|
2234
2475
|
class: "table-box"
|
|
2235
|
-
},
|
|
2476
|
+
}, Ko = /* @__PURE__ */ F({
|
|
2236
2477
|
__name: "Report",
|
|
2237
2478
|
emits: ["click"],
|
|
2238
2479
|
setup(o, {
|
|
2239
2480
|
emit: t
|
|
2240
2481
|
}) {
|
|
2241
|
-
const e =
|
|
2482
|
+
const e = X(() => ({
|
|
2242
2483
|
prod_type: window.$prodType
|
|
2243
|
-
})),
|
|
2244
|
-
|
|
2245
|
-
},
|
|
2246
|
-
|
|
2247
|
-
},
|
|
2248
|
-
|
|
2249
|
-
},
|
|
2250
|
-
console.log(
|
|
2251
|
-
},
|
|
2484
|
+
})), r = M(), a = t, n = (h) => {
|
|
2485
|
+
a("click", h.report_uuid, "review");
|
|
2486
|
+
}, i = (h) => {
|
|
2487
|
+
a("click", h.report_uuid, "editor");
|
|
2488
|
+
}, p = () => {
|
|
2489
|
+
a("click", "", "editor");
|
|
2490
|
+
}, s = (h) => {
|
|
2491
|
+
console.log(h);
|
|
2492
|
+
}, _ = (h) => {
|
|
2252
2493
|
window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
|
|
2253
|
-
await
|
|
2254
|
-
report_uuids:
|
|
2255
|
-
}),
|
|
2494
|
+
await Lt({
|
|
2495
|
+
report_uuids: h
|
|
2496
|
+
}), r.value.getTableList();
|
|
2256
2497
|
});
|
|
2257
|
-
},
|
|
2498
|
+
}, f = (h) => h.report_type === 1, m = pe([
|
|
2258
2499
|
// { type: 'selection', fixed: 'left', width: 70 },
|
|
2259
2500
|
{
|
|
2260
2501
|
type: "selection",
|
|
@@ -2281,61 +2522,61 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2281
2522
|
name: "操作",
|
|
2282
2523
|
align: "center",
|
|
2283
2524
|
fixed: "right",
|
|
2284
|
-
render: (
|
|
2525
|
+
render: (h) => l("div", null, [l(d("el-button"), {
|
|
2285
2526
|
link: !0,
|
|
2286
2527
|
type: "primary",
|
|
2287
2528
|
class: "custom-btn",
|
|
2288
2529
|
icon: "View",
|
|
2289
2530
|
title: "预览",
|
|
2290
|
-
onClick: () => n(
|
|
2291
|
-
}, null), l(
|
|
2531
|
+
onClick: () => n(h.row)
|
|
2532
|
+
}, null), l(d("el-button"), {
|
|
2292
2533
|
link: !0,
|
|
2293
2534
|
type: "primary",
|
|
2294
2535
|
class: "custom-btn",
|
|
2295
2536
|
icon: "Edit",
|
|
2296
2537
|
title: "编辑",
|
|
2297
|
-
disabled:
|
|
2298
|
-
onClick: () =>
|
|
2299
|
-
}, null), l(
|
|
2538
|
+
disabled: h.row.report_type === 0,
|
|
2539
|
+
onClick: () => i(h.row)
|
|
2540
|
+
}, null), l(d("el-button"), {
|
|
2300
2541
|
link: !0,
|
|
2301
2542
|
type: "danger",
|
|
2302
2543
|
icon: "Delete",
|
|
2303
2544
|
title: "删除",
|
|
2304
|
-
disabled:
|
|
2305
|
-
onClick: () =>
|
|
2545
|
+
disabled: h.row.report_type === 0,
|
|
2546
|
+
onClick: () => _([h.row.report_uuid])
|
|
2306
2547
|
}, null)])
|
|
2307
2548
|
}
|
|
2308
2549
|
]);
|
|
2309
|
-
return (
|
|
2310
|
-
const
|
|
2311
|
-
return
|
|
2550
|
+
return (h, w) => {
|
|
2551
|
+
const x = d("el-button"), C = d("TdsTable");
|
|
2552
|
+
return v(), V("div", Jo, [l(C, {
|
|
2312
2553
|
ref_key: "proTable",
|
|
2313
|
-
ref:
|
|
2314
|
-
columns:
|
|
2315
|
-
"request-api":
|
|
2554
|
+
ref: r,
|
|
2555
|
+
columns: m,
|
|
2556
|
+
"request-api": S(Vt),
|
|
2316
2557
|
"init-param": e.value,
|
|
2317
2558
|
"row-key": "report_uuid",
|
|
2318
|
-
options:
|
|
2559
|
+
options: h.$tableOptions(),
|
|
2319
2560
|
"search-col": 6,
|
|
2320
|
-
selectable:
|
|
2321
|
-
onSelectionChange:
|
|
2561
|
+
selectable: f,
|
|
2562
|
+
onSelectionChange: s
|
|
2322
2563
|
}, {
|
|
2323
|
-
tableHeader:
|
|
2564
|
+
tableHeader: c((T) => [l(x, {
|
|
2324
2565
|
plain: "",
|
|
2325
2566
|
type: "primary",
|
|
2326
2567
|
class: "custom-btn",
|
|
2327
2568
|
icon: "Plus",
|
|
2328
|
-
onClick:
|
|
2569
|
+
onClick: p
|
|
2329
2570
|
}, {
|
|
2330
|
-
default:
|
|
2571
|
+
default: c(() => w[0] || (w[0] = [H("新建")])),
|
|
2331
2572
|
_: 1
|
|
2332
|
-
}), l(
|
|
2573
|
+
}), l(x, {
|
|
2333
2574
|
plain: "",
|
|
2334
2575
|
type: "danger",
|
|
2335
2576
|
icon: "Delete",
|
|
2336
|
-
onClick: (
|
|
2577
|
+
onClick: (u) => _(T.selectedListIds)
|
|
2337
2578
|
}, {
|
|
2338
|
-
default:
|
|
2579
|
+
default: c(() => w[1] || (w[1] = [H("删除")])),
|
|
2339
2580
|
_: 2
|
|
2340
2581
|
}, 1032, ["onClick"])]),
|
|
2341
2582
|
_: 1
|
|
@@ -2343,47 +2584,47 @@ const uo = /* @__PURE__ */ Y(io, [["__scopeId", "data-v-56fef84c"]]), po = /* @_
|
|
|
2343
2584
|
};
|
|
2344
2585
|
}
|
|
2345
2586
|
});
|
|
2346
|
-
const
|
|
2587
|
+
const Go = { style: { height: "100%" } }, Zo = /* @__PURE__ */ F({
|
|
2347
2588
|
name: "TCReport",
|
|
2348
2589
|
__name: "index",
|
|
2349
2590
|
setup(o) {
|
|
2350
|
-
const t =
|
|
2351
|
-
t.value =
|
|
2591
|
+
const t = M(), e = M("table"), r = (a, n) => {
|
|
2592
|
+
t.value = a, e.value = n;
|
|
2352
2593
|
};
|
|
2353
|
-
return (
|
|
2354
|
-
l(
|
|
2355
|
-
default:
|
|
2356
|
-
e.value === "table" ? (
|
|
2594
|
+
return (a, n) => (v(), V("div", Go, [
|
|
2595
|
+
l(_t, { name: "slide-fade" }, {
|
|
2596
|
+
default: c(() => [
|
|
2597
|
+
e.value === "table" ? (v(), q(Ko, {
|
|
2357
2598
|
key: 0,
|
|
2358
|
-
onClick:
|
|
2359
|
-
})) :
|
|
2360
|
-
e.value === "review" ? (
|
|
2599
|
+
onClick: r
|
|
2600
|
+
})) : P("", !0),
|
|
2601
|
+
e.value === "review" ? (v(), q(lt, {
|
|
2361
2602
|
key: 1,
|
|
2362
2603
|
"report-id": t.value,
|
|
2363
2604
|
modelValue: e.value,
|
|
2364
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
2365
|
-
}, null, 8, ["report-id", "modelValue"])) :
|
|
2366
|
-
e.value === "editor" ? (
|
|
2605
|
+
"onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
|
|
2606
|
+
}, null, 8, ["report-id", "modelValue"])) : P("", !0),
|
|
2607
|
+
e.value === "editor" ? (v(), q(No, {
|
|
2367
2608
|
key: 2,
|
|
2368
2609
|
"report-id": t.value,
|
|
2369
2610
|
modelValue: e.value,
|
|
2370
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
2371
|
-
}, null, 8, ["report-id", "modelValue"])) :
|
|
2611
|
+
"onUpdate:modelValue": n[1] || (n[1] = (i) => e.value = i)
|
|
2612
|
+
}, null, 8, ["report-id", "modelValue"])) : P("", !0)
|
|
2372
2613
|
]),
|
|
2373
2614
|
_: 1
|
|
2374
2615
|
})
|
|
2375
2616
|
]));
|
|
2376
2617
|
}
|
|
2377
2618
|
});
|
|
2378
|
-
const
|
|
2619
|
+
const fe = (o, t) => {
|
|
2379
2620
|
if (o.install = (e) => {
|
|
2380
|
-
for (const
|
|
2381
|
-
e.component(
|
|
2621
|
+
for (const r of [o, ...Object.values(t ?? {})])
|
|
2622
|
+
e.component(r.name, r);
|
|
2382
2623
|
}, t)
|
|
2383
|
-
for (const [e,
|
|
2384
|
-
o[e] =
|
|
2624
|
+
for (const [e, r] of Object.entries(t))
|
|
2625
|
+
o[e] = r;
|
|
2385
2626
|
return o;
|
|
2386
|
-
},
|
|
2627
|
+
}, Qo = fe(Zo), Xo = [
|
|
2387
2628
|
{
|
|
2388
2629
|
label: "正文",
|
|
2389
2630
|
value: "p"
|
|
@@ -2408,7 +2649,7 @@ const W = (o, t) => {
|
|
|
2408
2649
|
label: "描述列表",
|
|
2409
2650
|
value: "report-describe"
|
|
2410
2651
|
}
|
|
2411
|
-
],
|
|
2652
|
+
], en = [
|
|
2412
2653
|
{
|
|
2413
2654
|
value: "p",
|
|
2414
2655
|
fields: ["table_key_relation"]
|
|
@@ -2433,53 +2674,53 @@ const W = (o, t) => {
|
|
|
2433
2674
|
value: "report-describe",
|
|
2434
2675
|
fields: ["p_text"]
|
|
2435
2676
|
}
|
|
2436
|
-
],
|
|
2677
|
+
], tn = {
|
|
2437
2678
|
class: "table-box"
|
|
2438
|
-
},
|
|
2679
|
+
}, on = /* @__PURE__ */ F({
|
|
2439
2680
|
name: "TCModule",
|
|
2440
2681
|
__name: "index",
|
|
2441
2682
|
setup(o) {
|
|
2442
|
-
const t =
|
|
2683
|
+
const t = M(), e = M(), r = M({}), a = M(""), n = pe({
|
|
2443
2684
|
prod_type: window.$prodType
|
|
2444
2685
|
});
|
|
2445
|
-
function
|
|
2686
|
+
function i(x) {
|
|
2446
2687
|
window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
|
|
2447
|
-
await
|
|
2448
|
-
rp_item_uuids:
|
|
2688
|
+
await Rt({
|
|
2689
|
+
rp_item_uuids: x
|
|
2449
2690
|
}), t.value.getTableList();
|
|
2450
2691
|
});
|
|
2451
2692
|
}
|
|
2452
|
-
function
|
|
2453
|
-
|
|
2693
|
+
function p(x) {
|
|
2694
|
+
r.value = x ? Object.assign({}, x) : {
|
|
2454
2695
|
table_key_relation: [{
|
|
2455
2696
|
name: "",
|
|
2456
2697
|
key: "",
|
|
2457
2698
|
id: (/* @__PURE__ */ new Date()).getTime()
|
|
2458
2699
|
}]
|
|
2459
|
-
},
|
|
2700
|
+
}, a.value = x ? "编辑自定义组件" : "新增自定义组件", e.value.open();
|
|
2460
2701
|
}
|
|
2461
|
-
async function
|
|
2462
|
-
const
|
|
2463
|
-
|
|
2464
|
-
rp_item_uuid:
|
|
2465
|
-
data:
|
|
2466
|
-
}) : (
|
|
2467
|
-
data:
|
|
2702
|
+
async function s(x) {
|
|
2703
|
+
const C = Object.assign({}, x);
|
|
2704
|
+
C.chart_type !== "report-table" && C.chart_type !== "report-describe" && delete C.table_key_relation, C.chart_type !== "p" && (C.p_text = ""), C.rp_item_uuid ? await Et({
|
|
2705
|
+
rp_item_uuid: C.rp_item_uuid,
|
|
2706
|
+
data: C
|
|
2707
|
+
}) : (C.prod_type = window.$prodType, await Ut({
|
|
2708
|
+
data: C
|
|
2468
2709
|
})), t.value.getTableList(), e.value.close();
|
|
2469
2710
|
}
|
|
2470
|
-
const
|
|
2471
|
-
|
|
2472
|
-
},
|
|
2473
|
-
|
|
2711
|
+
const _ = (x) => {
|
|
2712
|
+
r.value.table_key_relation.splice(x, 1);
|
|
2713
|
+
}, f = () => {
|
|
2714
|
+
r.value.table_key_relation.push({
|
|
2474
2715
|
name: "",
|
|
2475
2716
|
key: "",
|
|
2476
2717
|
id: (/* @__PURE__ */ new Date()).getTime()
|
|
2477
2718
|
});
|
|
2478
|
-
},
|
|
2479
|
-
delete
|
|
2480
|
-
|
|
2481
|
-
}),
|
|
2482
|
-
},
|
|
2719
|
+
}, m = (x, C, T) => {
|
|
2720
|
+
delete x.message, C.forEach((u) => {
|
|
2721
|
+
u.name ? u.key || T(new Error("请填写表头名称和KEY")) : T(new Error("请填写表头名称和KEY"));
|
|
2722
|
+
}), T();
|
|
2723
|
+
}, h = (x) => x.item_type === 1, w = pe([{
|
|
2483
2724
|
type: "selection",
|
|
2484
2725
|
width: 60,
|
|
2485
2726
|
field: "rp_item_uuid",
|
|
@@ -2496,7 +2737,7 @@ const W = (o, t) => {
|
|
|
2496
2737
|
}, {
|
|
2497
2738
|
field: "filter_uuid",
|
|
2498
2739
|
name: "筛选条件",
|
|
2499
|
-
enum: () =>
|
|
2740
|
+
enum: () => Ke({
|
|
2500
2741
|
prod_type: window.$prodType
|
|
2501
2742
|
}),
|
|
2502
2743
|
fieldNames: {
|
|
@@ -2512,10 +2753,10 @@ const W = (o, t) => {
|
|
|
2512
2753
|
}, {
|
|
2513
2754
|
field: "chart_type",
|
|
2514
2755
|
name: "组件类型",
|
|
2515
|
-
enum:
|
|
2756
|
+
enum: Xo,
|
|
2516
2757
|
show: {
|
|
2517
2758
|
type: "select",
|
|
2518
|
-
display:
|
|
2759
|
+
display: en
|
|
2519
2760
|
},
|
|
2520
2761
|
rules: [{
|
|
2521
2762
|
required: !0
|
|
@@ -2535,7 +2776,7 @@ const W = (o, t) => {
|
|
|
2535
2776
|
hide: !0,
|
|
2536
2777
|
show: {
|
|
2537
2778
|
render: () => {
|
|
2538
|
-
var
|
|
2779
|
+
var x;
|
|
2539
2780
|
return l("div", {
|
|
2540
2781
|
style: "width:80%"
|
|
2541
2782
|
}, [l("div", {
|
|
@@ -2543,42 +2784,42 @@ const W = (o, t) => {
|
|
|
2543
2784
|
style: "gap:15px;"
|
|
2544
2785
|
}, [l("span", {
|
|
2545
2786
|
style: "width:50%"
|
|
2546
|
-
}, [
|
|
2787
|
+
}, [H("表头名称")]), l("span", {
|
|
2547
2788
|
style: "width:50%"
|
|
2548
|
-
}, [
|
|
2789
|
+
}, [H("KEY")])]), (x = r.value.table_key_relation) == null ? void 0 : x.map((C, T) => l("div", {
|
|
2549
2790
|
class: "flex items-center space-between form-m0 w-100%",
|
|
2550
2791
|
style: "gap:15px;margin-bottom:10px;",
|
|
2551
|
-
key:
|
|
2552
|
-
}, [l(
|
|
2792
|
+
key: T
|
|
2793
|
+
}, [l(d("el-form-item"), {
|
|
2553
2794
|
style: "width:50%"
|
|
2554
2795
|
}, {
|
|
2555
|
-
default: () => [l(
|
|
2556
|
-
modelValue:
|
|
2557
|
-
"onUpdate:modelValue": (
|
|
2796
|
+
default: () => [l(d("el-input"), {
|
|
2797
|
+
modelValue: C.name,
|
|
2798
|
+
"onUpdate:modelValue": (u) => C.name = u,
|
|
2558
2799
|
class: "",
|
|
2559
2800
|
placeholder: "表头"
|
|
2560
2801
|
}, null)]
|
|
2561
|
-
}), l(
|
|
2802
|
+
}), l(d("el-form-item"), {
|
|
2562
2803
|
style: "width:50%"
|
|
2563
2804
|
}, {
|
|
2564
|
-
default: () => [l(
|
|
2565
|
-
modelValue:
|
|
2566
|
-
"onUpdate:modelValue": (
|
|
2805
|
+
default: () => [l(d("el-input"), {
|
|
2806
|
+
modelValue: C.key,
|
|
2807
|
+
"onUpdate:modelValue": (u) => C.key = u,
|
|
2567
2808
|
class: "",
|
|
2568
2809
|
placeholder: "KEY"
|
|
2569
2810
|
}, null)]
|
|
2570
|
-
}),
|
|
2811
|
+
}), r.value.table_key_relation.length > 1 && l("div", {
|
|
2571
2812
|
class: "report-btn-remove absolute right--13px text-#f56c6c hover:cursor-pointer"
|
|
2572
|
-
}, [l(
|
|
2573
|
-
onClick: () =>
|
|
2813
|
+
}, [l(d("el-icon"), {
|
|
2814
|
+
onClick: () => _(T)
|
|
2574
2815
|
}, {
|
|
2575
|
-
default: () => [l(
|
|
2576
|
-
})])])), l(
|
|
2816
|
+
default: () => [l(wt, null, null)]
|
|
2817
|
+
})])])), l(d("el-button"), {
|
|
2577
2818
|
class: "report-btn ",
|
|
2578
2819
|
icon: "Plus",
|
|
2579
|
-
onClick: () =>
|
|
2820
|
+
onClick: () => f()
|
|
2580
2821
|
}, {
|
|
2581
|
-
default: () => [
|
|
2822
|
+
default: () => [H("新增表头与KEY")]
|
|
2582
2823
|
})]);
|
|
2583
2824
|
}
|
|
2584
2825
|
},
|
|
@@ -2587,7 +2828,7 @@ const W = (o, t) => {
|
|
|
2587
2828
|
},
|
|
2588
2829
|
rules: [{
|
|
2589
2830
|
required: !0,
|
|
2590
|
-
validator:
|
|
2831
|
+
validator: m,
|
|
2591
2832
|
trigger: "blur"
|
|
2592
2833
|
}]
|
|
2593
2834
|
}, {
|
|
@@ -2613,116 +2854,116 @@ const W = (o, t) => {
|
|
|
2613
2854
|
name: "操作",
|
|
2614
2855
|
align: "center",
|
|
2615
2856
|
fixed: "right",
|
|
2616
|
-
render: (
|
|
2857
|
+
render: (x) => l("div", null, [l(d("el-button"), {
|
|
2617
2858
|
link: !0,
|
|
2618
2859
|
type: "primary",
|
|
2619
2860
|
class: "custom-btn",
|
|
2620
2861
|
icon: "Edit",
|
|
2621
2862
|
title: "编辑",
|
|
2622
|
-
disabled:
|
|
2623
|
-
onClick: () =>
|
|
2624
|
-
}, null), l(
|
|
2863
|
+
disabled: x.row.item_type === 0,
|
|
2864
|
+
onClick: () => p(x.row)
|
|
2865
|
+
}, null), l(d("el-button"), {
|
|
2625
2866
|
link: !0,
|
|
2626
2867
|
type: "danger",
|
|
2627
2868
|
icon: "Delete",
|
|
2628
2869
|
title: "删除",
|
|
2629
|
-
disabled:
|
|
2630
|
-
onClick: () =>
|
|
2870
|
+
disabled: x.row.item_type === 0,
|
|
2871
|
+
onClick: () => i([x.row.rp_item_uuid])
|
|
2631
2872
|
}, null)])
|
|
2632
2873
|
}]);
|
|
2633
|
-
return (
|
|
2634
|
-
const
|
|
2635
|
-
return
|
|
2874
|
+
return (x, C) => {
|
|
2875
|
+
const T = d("el-button"), u = d("TdsTable"), $ = d("TdsForm");
|
|
2876
|
+
return v(), V("div", tn, [l(u, {
|
|
2636
2877
|
ref_key: "refTdsTable",
|
|
2637
2878
|
ref: t,
|
|
2638
|
-
columns:
|
|
2639
|
-
"request-api":
|
|
2879
|
+
columns: w,
|
|
2880
|
+
"request-api": S(Dt),
|
|
2640
2881
|
"init-param": n,
|
|
2641
2882
|
"row-key": "rp_item_uuid",
|
|
2642
|
-
options:
|
|
2643
|
-
selectable:
|
|
2883
|
+
options: x.$tableOptions(),
|
|
2884
|
+
selectable: h,
|
|
2644
2885
|
"search-col": 6
|
|
2645
2886
|
}, {
|
|
2646
|
-
tableHeader:
|
|
2887
|
+
tableHeader: c((B) => [l(T, {
|
|
2647
2888
|
plain: "",
|
|
2648
2889
|
type: "primary",
|
|
2649
2890
|
class: "custom-btn",
|
|
2650
2891
|
icon: "Plus",
|
|
2651
|
-
onClick:
|
|
2892
|
+
onClick: C[0] || (C[0] = (U) => p())
|
|
2652
2893
|
}, {
|
|
2653
|
-
default:
|
|
2894
|
+
default: c(() => C[1] || (C[1] = [H("新建")])),
|
|
2654
2895
|
_: 1
|
|
2655
|
-
}), l(
|
|
2896
|
+
}), l(T, {
|
|
2656
2897
|
plain: "",
|
|
2657
2898
|
type: "danger",
|
|
2658
2899
|
icon: "Delete",
|
|
2659
|
-
onClick: (
|
|
2900
|
+
onClick: (U) => i(B.selectedListIds)
|
|
2660
2901
|
}, {
|
|
2661
|
-
default:
|
|
2902
|
+
default: c(() => C[2] || (C[2] = [H("删除")])),
|
|
2662
2903
|
_: 2
|
|
2663
2904
|
}, 1032, ["onClick"])]),
|
|
2664
2905
|
_: 1
|
|
2665
|
-
}, 8, ["columns", "request-api", "init-param", "options"]), l(
|
|
2906
|
+
}, 8, ["columns", "request-api", "init-param", "options"]), l($, We({
|
|
2666
2907
|
ref_key: "refTdsForm",
|
|
2667
2908
|
ref: e
|
|
2668
|
-
},
|
|
2669
|
-
title:
|
|
2670
|
-
form:
|
|
2671
|
-
columns:
|
|
2909
|
+
}, x.$formBindProps({
|
|
2910
|
+
title: a.value,
|
|
2911
|
+
form: r.value,
|
|
2912
|
+
columns: w
|
|
2672
2913
|
}), {
|
|
2673
|
-
onSubmit:
|
|
2914
|
+
onSubmit: s
|
|
2674
2915
|
}), null, 16)]);
|
|
2675
2916
|
};
|
|
2676
2917
|
}
|
|
2677
2918
|
});
|
|
2678
|
-
const
|
|
2919
|
+
const nn = fe(on), ln = {
|
|
2679
2920
|
class: "table-box"
|
|
2680
2921
|
};
|
|
2681
|
-
function
|
|
2682
|
-
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !
|
|
2922
|
+
function He(o) {
|
|
2923
|
+
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !Re(o);
|
|
2683
2924
|
}
|
|
2684
|
-
const
|
|
2925
|
+
const rn = /* @__PURE__ */ F({
|
|
2685
2926
|
name: "TCSubscribe",
|
|
2686
2927
|
__name: "index",
|
|
2687
2928
|
setup(o) {
|
|
2688
|
-
const t =
|
|
2689
|
-
$t:
|
|
2690
|
-
$messageBox:
|
|
2691
|
-
} = window, n =
|
|
2929
|
+
const t = M(), e = M(), {
|
|
2930
|
+
$t: r,
|
|
2931
|
+
$messageBox: a
|
|
2932
|
+
} = window, n = M(""), i = M({
|
|
2692
2933
|
receiver: []
|
|
2693
2934
|
});
|
|
2694
|
-
function
|
|
2695
|
-
|
|
2696
|
-
await
|
|
2697
|
-
subscript_uuids:
|
|
2935
|
+
function p(u) {
|
|
2936
|
+
a(u, "subscript_name", r("button.delete"), "error").then(async () => {
|
|
2937
|
+
await It({
|
|
2938
|
+
subscript_uuids: u.map(($) => $.subscript_uuid)
|
|
2698
2939
|
}), t.value.getTableList();
|
|
2699
2940
|
});
|
|
2700
2941
|
}
|
|
2701
|
-
function
|
|
2702
|
-
|
|
2942
|
+
function s() {
|
|
2943
|
+
p(t.value.selectedList);
|
|
2703
2944
|
}
|
|
2704
|
-
const
|
|
2705
|
-
|
|
2945
|
+
const _ = (u) => {
|
|
2946
|
+
i.value = u ? Object.assign({}, u) : {
|
|
2706
2947
|
receiver: []
|
|
2707
|
-
}, n.value =
|
|
2948
|
+
}, n.value = u ? "编辑报表订阅" : "新增报表订阅", e.value.open();
|
|
2708
2949
|
};
|
|
2709
|
-
async function
|
|
2710
|
-
const
|
|
2711
|
-
|
|
2712
|
-
subscript_uuid:
|
|
2713
|
-
data:
|
|
2714
|
-
}) : await
|
|
2715
|
-
data:
|
|
2950
|
+
async function f(u) {
|
|
2951
|
+
const $ = Object.assign({}, u);
|
|
2952
|
+
$.subscript_uuid ? await Ft({
|
|
2953
|
+
subscript_uuid: $.subscript_uuid,
|
|
2954
|
+
data: $
|
|
2955
|
+
}) : await At({
|
|
2956
|
+
data: $
|
|
2716
2957
|
}), t.value.getTableList(), e.value.close();
|
|
2717
2958
|
}
|
|
2718
|
-
function
|
|
2719
|
-
if (
|
|
2720
|
-
return
|
|
2721
|
-
|
|
2959
|
+
function m(u, $, B) {
|
|
2960
|
+
if (!$ || $.length === 0)
|
|
2961
|
+
return B(new Error("请输入收件人"));
|
|
2962
|
+
B();
|
|
2722
2963
|
}
|
|
2723
|
-
const
|
|
2724
|
-
|
|
2725
|
-
},
|
|
2964
|
+
const h = (u, $) => {
|
|
2965
|
+
u.target.value && i.value[$].push(u.target.value);
|
|
2966
|
+
}, w = [{
|
|
2726
2967
|
label: "周一",
|
|
2727
2968
|
value: 1
|
|
2728
2969
|
}, {
|
|
@@ -2743,7 +2984,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2743
2984
|
}, {
|
|
2744
2985
|
label: "周日",
|
|
2745
2986
|
value: 0
|
|
2746
|
-
}],
|
|
2987
|
+
}], x = [{
|
|
2747
2988
|
label: "每天",
|
|
2748
2989
|
value: 0
|
|
2749
2990
|
}, {
|
|
@@ -2752,7 +2993,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2752
2993
|
}, {
|
|
2753
2994
|
label: "每月",
|
|
2754
2995
|
value: 2
|
|
2755
|
-
}],
|
|
2996
|
+
}], C = [], T = pe([{
|
|
2756
2997
|
type: "selection",
|
|
2757
2998
|
align: "center",
|
|
2758
2999
|
field: "subscript_uuid",
|
|
@@ -2779,7 +3020,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2779
3020
|
}, {
|
|
2780
3021
|
field: "report_uuid",
|
|
2781
3022
|
name: "报表类型",
|
|
2782
|
-
enum: () =>
|
|
3023
|
+
enum: () => Ot({
|
|
2783
3024
|
prod_type: window.$prodType
|
|
2784
3025
|
}),
|
|
2785
3026
|
fieldNames: {
|
|
@@ -2796,7 +3037,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2796
3037
|
}, {
|
|
2797
3038
|
field: "format",
|
|
2798
3039
|
name: "报表格式",
|
|
2799
|
-
enum:
|
|
3040
|
+
enum: Ht,
|
|
2800
3041
|
fieldNames: {
|
|
2801
3042
|
label: "name",
|
|
2802
3043
|
value: "id"
|
|
@@ -2811,7 +3052,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2811
3052
|
}, {
|
|
2812
3053
|
field: "select_data",
|
|
2813
3054
|
name: "资产/任务",
|
|
2814
|
-
enum:
|
|
3055
|
+
enum: jt,
|
|
2815
3056
|
fieldNames: {
|
|
2816
3057
|
label: "label",
|
|
2817
3058
|
value: "data"
|
|
@@ -2830,50 +3071,50 @@ const ko = /* @__PURE__ */ L({
|
|
|
2830
3071
|
key: window.$prodType
|
|
2831
3072
|
}
|
|
2832
3073
|
},
|
|
2833
|
-
render: (
|
|
3074
|
+
render: (u) => t.value.enumMap.get("dbsId").filter((U) => u.row.dbsId.indexOf(U.id) > -1).map((U) => l(d("el-tag"), {
|
|
2834
3075
|
class: "mr-10px",
|
|
2835
3076
|
type: "info"
|
|
2836
3077
|
}, {
|
|
2837
|
-
default: () => [
|
|
3078
|
+
default: () => [U.policy_name]
|
|
2838
3079
|
}))
|
|
2839
3080
|
}, {
|
|
2840
3081
|
field: "receiver_email",
|
|
2841
3082
|
name: "收件人",
|
|
2842
3083
|
width: 300,
|
|
2843
|
-
render: (
|
|
3084
|
+
render: (u) => l(N, null, [u.row.receiver_email.map(($) => l(d("el-tag"), {
|
|
2844
3085
|
class: "mr-10px",
|
|
2845
3086
|
type: "info"
|
|
2846
|
-
},
|
|
2847
|
-
default: () => [
|
|
3087
|
+
}, He($) ? $ : {
|
|
3088
|
+
default: () => [$]
|
|
2848
3089
|
}))]),
|
|
2849
3090
|
show: {
|
|
2850
3091
|
type: "input",
|
|
2851
3092
|
render: () => {
|
|
2852
|
-
let
|
|
2853
|
-
return l(
|
|
3093
|
+
let u;
|
|
3094
|
+
return l(N, null, [l(d("el-select"), {
|
|
2854
3095
|
class: "right-select",
|
|
2855
|
-
modelValue:
|
|
2856
|
-
"onUpdate:modelValue": (
|
|
3096
|
+
modelValue: i.value.receiver_email,
|
|
3097
|
+
"onUpdate:modelValue": ($) => i.value.receiver_email = $,
|
|
2857
3098
|
placeholder: "请输入",
|
|
2858
3099
|
multiple: !0,
|
|
2859
3100
|
filterable: !0,
|
|
2860
3101
|
"allow-create": !0,
|
|
2861
3102
|
"default-first-option": !0,
|
|
2862
3103
|
"reserve-keyword": !1,
|
|
2863
|
-
onBlur: (
|
|
2864
|
-
},
|
|
2865
|
-
label:
|
|
2866
|
-
value:
|
|
2867
|
-
}, null))) ?
|
|
2868
|
-
default: () => [
|
|
3104
|
+
onBlur: ($) => h($, "receiver_email")
|
|
3105
|
+
}, He(u = C.map(($) => l(d("el-option"), {
|
|
3106
|
+
label: $.label,
|
|
3107
|
+
value: $.value
|
|
3108
|
+
}, null))) ? u : {
|
|
3109
|
+
default: () => [u]
|
|
2869
3110
|
}), l("p", {
|
|
2870
3111
|
style: "font-size:12px;color:#909399;line-height:20px"
|
|
2871
|
-
}, [
|
|
3112
|
+
}, [H("可输入多个收件人邮箱,多个值间以“回车键”分隔,例:xxx@163.com xx@qq.com")])]);
|
|
2872
3113
|
}
|
|
2873
3114
|
},
|
|
2874
3115
|
rules: [{
|
|
2875
3116
|
required: !0,
|
|
2876
|
-
validator:
|
|
3117
|
+
validator: m,
|
|
2877
3118
|
type: "any",
|
|
2878
3119
|
trigger: "change"
|
|
2879
3120
|
}]
|
|
@@ -2884,7 +3125,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2884
3125
|
field: "loop_type",
|
|
2885
3126
|
name: "发送周期",
|
|
2886
3127
|
hide: !0,
|
|
2887
|
-
enum:
|
|
3128
|
+
enum: x,
|
|
2888
3129
|
show: {
|
|
2889
3130
|
dataType: "number",
|
|
2890
3131
|
type: "select",
|
|
@@ -2907,9 +3148,9 @@ const ko = /* @__PURE__ */ L({
|
|
|
2907
3148
|
field: "day",
|
|
2908
3149
|
name: "日",
|
|
2909
3150
|
hide: !0,
|
|
2910
|
-
enum: [...Array(28)].map((
|
|
2911
|
-
label:
|
|
2912
|
-
value:
|
|
3151
|
+
enum: [...Array(28)].map((u, $) => ({
|
|
3152
|
+
label: $ + 1 + "",
|
|
3153
|
+
value: $ + 1
|
|
2913
3154
|
})),
|
|
2914
3155
|
show: {
|
|
2915
3156
|
type: "select"
|
|
@@ -2922,7 +3163,7 @@ const ko = /* @__PURE__ */ L({
|
|
|
2922
3163
|
field: "weekday",
|
|
2923
3164
|
name: "星期",
|
|
2924
3165
|
hide: !0,
|
|
2925
|
-
enum:
|
|
3166
|
+
enum: w,
|
|
2926
3167
|
show: {
|
|
2927
3168
|
type: "select"
|
|
2928
3169
|
},
|
|
@@ -2934,9 +3175,9 @@ const ko = /* @__PURE__ */ L({
|
|
|
2934
3175
|
field: "hour",
|
|
2935
3176
|
name: "小时",
|
|
2936
3177
|
hide: !0,
|
|
2937
|
-
enum: [...Array(24)].map((
|
|
2938
|
-
label:
|
|
2939
|
-
value:
|
|
3178
|
+
enum: [...Array(24)].map((u, $) => ({
|
|
3179
|
+
label: $ + "时",
|
|
3180
|
+
value: $
|
|
2940
3181
|
})),
|
|
2941
3182
|
show: {
|
|
2942
3183
|
type: "select"
|
|
@@ -2949,9 +3190,9 @@ const ko = /* @__PURE__ */ L({
|
|
|
2949
3190
|
field: "minute",
|
|
2950
3191
|
name: "分钟",
|
|
2951
3192
|
hide: !0,
|
|
2952
|
-
enum: [...Array(60)].map((
|
|
2953
|
-
label:
|
|
2954
|
-
value:
|
|
3193
|
+
enum: [...Array(60)].map((u, $) => ({
|
|
3194
|
+
label: $ + "分",
|
|
3195
|
+
value: $
|
|
2955
3196
|
})),
|
|
2956
3197
|
show: {
|
|
2957
3198
|
type: "select"
|
|
@@ -2963,15 +3204,15 @@ const ko = /* @__PURE__ */ L({
|
|
|
2963
3204
|
}, {
|
|
2964
3205
|
field: "enable_status",
|
|
2965
3206
|
name: "启用状态",
|
|
2966
|
-
render: (
|
|
2967
|
-
modelValue:
|
|
2968
|
-
"onUpdate:modelValue": (
|
|
3207
|
+
render: (u) => l(d("el-switch"), {
|
|
3208
|
+
modelValue: u.row.enable_status,
|
|
3209
|
+
"onUpdate:modelValue": ($) => u.row.enable_status = $,
|
|
2969
3210
|
"active-value": 1,
|
|
2970
3211
|
"inactive-value": 0,
|
|
2971
|
-
onChange: (
|
|
2972
|
-
|
|
2973
|
-
subscript_uuid:
|
|
2974
|
-
enable_status:
|
|
3212
|
+
onChange: ($) => {
|
|
3213
|
+
qt({
|
|
3214
|
+
subscript_uuid: u.row.subscript_uuid,
|
|
3215
|
+
enable_status: $
|
|
2975
3216
|
}), t.value.getTableList();
|
|
2976
3217
|
}
|
|
2977
3218
|
}, null)
|
|
@@ -2981,98 +3222,98 @@ const ko = /* @__PURE__ */ L({
|
|
|
2981
3222
|
fixed: "right",
|
|
2982
3223
|
cardHide: !0,
|
|
2983
3224
|
width: 120,
|
|
2984
|
-
render: (
|
|
3225
|
+
render: (u) => l("div", null, [l(d("el-button"), {
|
|
2985
3226
|
link: !0,
|
|
2986
3227
|
type: "primary",
|
|
2987
3228
|
icon: "Edit",
|
|
2988
|
-
title:
|
|
3229
|
+
title: r("button.edit"),
|
|
2989
3230
|
class: "custom-btn",
|
|
2990
|
-
onClick: () =>
|
|
2991
|
-
}, null), l(
|
|
3231
|
+
onClick: () => _(u.row)
|
|
3232
|
+
}, null), l(d("el-button"), {
|
|
2992
3233
|
link: !0,
|
|
2993
3234
|
type: "danger",
|
|
2994
3235
|
icon: "Delete",
|
|
2995
|
-
title:
|
|
2996
|
-
onClick: () =>
|
|
3236
|
+
title: r("button.delete"),
|
|
3237
|
+
onClick: () => p([u.row])
|
|
2997
3238
|
}, null)])
|
|
2998
3239
|
}]);
|
|
2999
|
-
return (
|
|
3000
|
-
const
|
|
3001
|
-
return
|
|
3240
|
+
return (u, $) => {
|
|
3241
|
+
const B = d("el-button");
|
|
3242
|
+
return v(), V("div", ln, [l(S(Ne), {
|
|
3002
3243
|
ref_key: "refTdsTable",
|
|
3003
3244
|
ref: t,
|
|
3004
3245
|
"row-key": "subscript_uuid",
|
|
3005
|
-
"request-api":
|
|
3006
|
-
columns:
|
|
3007
|
-
options:
|
|
3246
|
+
"request-api": S(Mt),
|
|
3247
|
+
columns: T,
|
|
3248
|
+
options: u.$tableOptions()
|
|
3008
3249
|
}, {
|
|
3009
|
-
tableHeader:
|
|
3250
|
+
tableHeader: c((U) => [l(B, {
|
|
3010
3251
|
type: "primary",
|
|
3011
3252
|
icon: "Plus",
|
|
3012
3253
|
class: "custom-btn",
|
|
3013
3254
|
plain: "",
|
|
3014
|
-
onClick:
|
|
3255
|
+
onClick: $[0] || ($[0] = (oe) => _())
|
|
3015
3256
|
}, {
|
|
3016
|
-
default:
|
|
3257
|
+
default: c(() => [H(ne(S(r)("button.add")), 1)]),
|
|
3017
3258
|
_: 1
|
|
3018
|
-
}), l(
|
|
3259
|
+
}), l(B, {
|
|
3019
3260
|
type: "danger",
|
|
3020
3261
|
icon: "Delete",
|
|
3021
3262
|
plain: "",
|
|
3022
|
-
onClick:
|
|
3023
|
-
disabled: !
|
|
3263
|
+
onClick: s,
|
|
3264
|
+
disabled: !U.selectedListIds.length
|
|
3024
3265
|
}, {
|
|
3025
|
-
default:
|
|
3266
|
+
default: c(() => [H(ne(S(r)("button.delete")), 1)]),
|
|
3026
3267
|
_: 2
|
|
3027
3268
|
}, 1032, ["disabled"])]),
|
|
3028
3269
|
_: 1
|
|
3029
|
-
}, 8, ["request-api", "columns", "options"]), l(
|
|
3270
|
+
}, 8, ["request-api", "columns", "options"]), l(S($t), We({
|
|
3030
3271
|
ref_key: "refTdsForm",
|
|
3031
3272
|
ref: e
|
|
3032
|
-
},
|
|
3273
|
+
}, u.$formBindProps({
|
|
3033
3274
|
title: n.value,
|
|
3034
|
-
form:
|
|
3035
|
-
columns:
|
|
3275
|
+
form: i.value,
|
|
3276
|
+
columns: T
|
|
3036
3277
|
}), {
|
|
3037
|
-
onSubmit:
|
|
3278
|
+
onSubmit: f
|
|
3038
3279
|
}), null, 16)]);
|
|
3039
3280
|
};
|
|
3040
3281
|
}
|
|
3041
|
-
}),
|
|
3282
|
+
}), an = fe(rn), sn = {
|
|
3042
3283
|
class: "main-wrapper"
|
|
3043
|
-
},
|
|
3284
|
+
}, un = /* @__PURE__ */ F({
|
|
3044
3285
|
name: "TCBuildin",
|
|
3045
3286
|
__name: "index",
|
|
3046
3287
|
setup(o) {
|
|
3047
|
-
const t =
|
|
3048
|
-
async function
|
|
3049
|
-
const
|
|
3288
|
+
const t = M([]), e = M("1");
|
|
3289
|
+
async function r() {
|
|
3290
|
+
const a = await Bt({
|
|
3050
3291
|
prod_type: window.$prodType
|
|
3051
3292
|
});
|
|
3052
|
-
t.value =
|
|
3293
|
+
t.value = a.data, e.value = a.data[0].report_uuid;
|
|
3053
3294
|
}
|
|
3054
|
-
return
|
|
3055
|
-
const
|
|
3056
|
-
return
|
|
3295
|
+
return r(), (a, n) => {
|
|
3296
|
+
const i = d("el-tab-pane"), p = d("el-tabs");
|
|
3297
|
+
return v(), V("div", sn, [l(p, {
|
|
3057
3298
|
modelValue: e.value,
|
|
3058
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3299
|
+
"onUpdate:modelValue": n[0] || (n[0] = (s) => e.value = s),
|
|
3059
3300
|
class: "report-tabs",
|
|
3060
3301
|
style: {
|
|
3061
3302
|
height: "100%"
|
|
3062
3303
|
}
|
|
3063
3304
|
}, {
|
|
3064
|
-
default:
|
|
3305
|
+
default: c(() => [(v(!0), V(N, null, G(t.value, (s) => (v(), q(i, {
|
|
3065
3306
|
style: {
|
|
3066
3307
|
height: "100%"
|
|
3067
3308
|
},
|
|
3068
|
-
key:
|
|
3069
|
-
label:
|
|
3070
|
-
name:
|
|
3309
|
+
key: s.report_uuid,
|
|
3310
|
+
label: s.report_name,
|
|
3311
|
+
name: s.report_uuid
|
|
3071
3312
|
}, {
|
|
3072
|
-
default:
|
|
3313
|
+
default: c(() => [e.value === s.report_uuid ? (v(), q(lt, {
|
|
3073
3314
|
key: 0,
|
|
3074
3315
|
"report-id": e.value
|
|
3075
|
-
}, null, 8, ["report-id"])) :
|
|
3316
|
+
}, null, 8, ["report-id"])) : P("", !0)]),
|
|
3076
3317
|
_: 2
|
|
3077
3318
|
}, 1032, ["label", "name"]))), 128))]),
|
|
3078
3319
|
_: 1
|
|
@@ -3080,22 +3321,156 @@ const ko = /* @__PURE__ */ L({
|
|
|
3080
3321
|
};
|
|
3081
3322
|
}
|
|
3082
3323
|
});
|
|
3083
|
-
const
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3324
|
+
const dn = /* @__PURE__ */ _e(un, [["__scopeId", "data-v-30fa84c8"]]), pn = fe(dn);
|
|
3325
|
+
function cn(o, t, e) {
|
|
3326
|
+
const r = atob(o), a = [];
|
|
3327
|
+
for (let s = 0; s < r.length; s += 512) {
|
|
3328
|
+
const _ = r.slice(s, s + 512), f = new Array(_.length);
|
|
3329
|
+
for (let h = 0; h < _.length; h++)
|
|
3330
|
+
f[h] = _.charCodeAt(h);
|
|
3331
|
+
const m = new Uint8Array(f);
|
|
3332
|
+
a.push(m);
|
|
3333
|
+
}
|
|
3334
|
+
const n = new Blob(a, { type: e }), i = URL.createObjectURL(n), p = document.createElement("a");
|
|
3335
|
+
p.href = i, p.download = t, document.body.appendChild(p), p.click(), setTimeout(() => {
|
|
3336
|
+
document.body.removeChild(p), URL.revokeObjectURL(i);
|
|
3337
|
+
}, 0);
|
|
3338
|
+
}
|
|
3339
|
+
const mn = {
|
|
3340
|
+
class: "table-box"
|
|
3341
|
+
}, _n = /* @__PURE__ */ F({
|
|
3342
|
+
name: "TCDownload",
|
|
3343
|
+
__name: "index",
|
|
3344
|
+
setup(o) {
|
|
3345
|
+
const t = pe({
|
|
3346
|
+
prod_type: window.$prodType
|
|
3347
|
+
}), e = M(), r = async (i) => {
|
|
3348
|
+
const p = await Yt({
|
|
3349
|
+
export_uuid: i.export_uuid
|
|
3350
|
+
}), s = i.export_format === 1 ? "application/pdf" : "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
3351
|
+
cn(p.file_data, p.file_name, s), e.value.getTableList();
|
|
3352
|
+
}, a = (i) => {
|
|
3353
|
+
window.$messageBox("确定要删除吗?", "", "删除", "error").then(async () => {
|
|
3354
|
+
await Pt({
|
|
3355
|
+
export_uuids: i
|
|
3356
|
+
}), e.value.getTableList();
|
|
3357
|
+
});
|
|
3358
|
+
}, n = pe([{
|
|
3359
|
+
type: "selection",
|
|
3360
|
+
width: 80
|
|
3361
|
+
}, {
|
|
3362
|
+
field: "report_name",
|
|
3363
|
+
name: "名称",
|
|
3364
|
+
search: {
|
|
3365
|
+
type: "input"
|
|
3366
|
+
}
|
|
3367
|
+
}, {
|
|
3368
|
+
field: "file_size",
|
|
3369
|
+
name: "文件大小(B)"
|
|
3370
|
+
}, {
|
|
3371
|
+
field: "export_format",
|
|
3372
|
+
name: "导出格式",
|
|
3373
|
+
enum: [{
|
|
3374
|
+
value: 1,
|
|
3375
|
+
label: "PDF"
|
|
3376
|
+
}, {
|
|
3377
|
+
value: 3,
|
|
3378
|
+
label: "WORD"
|
|
3379
|
+
}]
|
|
3380
|
+
}, {
|
|
3381
|
+
field: "export_status",
|
|
3382
|
+
name: "报表状态",
|
|
3383
|
+
tag: !0,
|
|
3384
|
+
enum: [{
|
|
3385
|
+
value: 0,
|
|
3386
|
+
label: "待生成",
|
|
3387
|
+
tagType: "info"
|
|
3388
|
+
}, {
|
|
3389
|
+
value: 1,
|
|
3390
|
+
label: "生成中",
|
|
3391
|
+
tagType: "info"
|
|
3392
|
+
}, {
|
|
3393
|
+
value: 2,
|
|
3394
|
+
label: "已完成",
|
|
3395
|
+
tagType: "success"
|
|
3396
|
+
}, {
|
|
3397
|
+
value: 3,
|
|
3398
|
+
label: "生成失败",
|
|
3399
|
+
tagType: "error"
|
|
3400
|
+
}]
|
|
3401
|
+
}, {
|
|
3402
|
+
field: "create_time",
|
|
3403
|
+
name: "导出时间"
|
|
3404
|
+
}, {
|
|
3405
|
+
field: "operation",
|
|
3406
|
+
width: 140,
|
|
3407
|
+
name: "操作",
|
|
3408
|
+
align: "center",
|
|
3409
|
+
fixed: "right",
|
|
3410
|
+
render: (i) => l("div", null, [l(d("el-button"), {
|
|
3411
|
+
link: !0,
|
|
3412
|
+
type: "primary",
|
|
3413
|
+
class: "custom-btn",
|
|
3414
|
+
icon: "Edit",
|
|
3415
|
+
title: "下載",
|
|
3416
|
+
disabled: i.row.report_type === 0,
|
|
3417
|
+
onClick: () => r(i.row)
|
|
3418
|
+
}, null), l(d("el-button"), {
|
|
3419
|
+
link: !0,
|
|
3420
|
+
type: "danger",
|
|
3421
|
+
icon: "Delete",
|
|
3422
|
+
title: "删除",
|
|
3423
|
+
disabled: i.row.report_type === 0,
|
|
3424
|
+
onClick: () => a([i.row.report_uuid])
|
|
3425
|
+
}, null)])
|
|
3426
|
+
}]);
|
|
3427
|
+
return (i, p) => {
|
|
3428
|
+
const s = d("el-button");
|
|
3429
|
+
return v(), V("div", mn, [l(S(Ne), {
|
|
3430
|
+
ref_key: "proTable",
|
|
3431
|
+
ref: e,
|
|
3432
|
+
columns: n,
|
|
3433
|
+
"request-api": S(zt),
|
|
3434
|
+
"row-key": "report_uuid",
|
|
3435
|
+
"init-param": t,
|
|
3436
|
+
options: i.$tableOptions({
|
|
3437
|
+
refresh: {
|
|
3438
|
+
export_status: [0, 1]
|
|
3439
|
+
}
|
|
3440
|
+
}),
|
|
3441
|
+
"search-col": 6
|
|
3442
|
+
}, {
|
|
3443
|
+
tableHeader: c((_) => [l(s, {
|
|
3444
|
+
plain: "",
|
|
3445
|
+
type: "danger",
|
|
3446
|
+
icon: "Delete",
|
|
3447
|
+
onClick: (f) => a(_.selectedListIds)
|
|
3448
|
+
}, {
|
|
3449
|
+
default: c(() => p[0] || (p[0] = [H("删除")])),
|
|
3450
|
+
_: 2
|
|
3451
|
+
}, 1032, ["onClick"])]),
|
|
3452
|
+
_: 1
|
|
3453
|
+
}, 8, ["columns", "request-api", "init-param", "options"])]);
|
|
3454
|
+
};
|
|
3455
|
+
}
|
|
3456
|
+
}), fn = fe(_n), vn = {
|
|
3457
|
+
TCReport: Qo,
|
|
3458
|
+
TCModule: nn,
|
|
3459
|
+
TCSubscribe: an,
|
|
3460
|
+
TCBuildin: pn,
|
|
3461
|
+
TCDownload: fn
|
|
3462
|
+
}, xn = {
|
|
3089
3463
|
install(o, t) {
|
|
3090
|
-
Object.entries(
|
|
3091
|
-
o.component(e,
|
|
3464
|
+
Object.entries(vn).forEach(([e, r]) => {
|
|
3465
|
+
o.component(e, r);
|
|
3092
3466
|
}), t.prodType && (window.$prodType = t.prodType), t.envURL && (window.$reportURL = t.envURL);
|
|
3093
3467
|
}
|
|
3094
3468
|
};
|
|
3095
3469
|
export {
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3470
|
+
pn as TCBuildin,
|
|
3471
|
+
fn as TCDownload,
|
|
3472
|
+
nn as TCModule,
|
|
3473
|
+
Qo as TCReport,
|
|
3474
|
+
an as TCSubscribe,
|
|
3475
|
+
xn as default
|
|
3101
3476
|
};
|