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