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