form-imagining 0.0.91-3 → 0.0.91-4
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/dist/App-Bxi89UcU.js +32 -0
- package/dist/Area-CvHsGV9F.js +4 -0
- package/dist/Bar-DB6_WUnN.js +4 -0
- package/dist/ChartsArea-Dh_s3VUh.js +4 -0
- package/dist/ChartsBar-Dtvy61dU.js +4 -0
- package/dist/ChartsPie-C0nCuyxl.js +4 -0
- package/dist/CheckBoxModel-C3tzT1cr.js +4 -0
- package/dist/Col-1GJRBe0Y.js +4 -0
- package/dist/Collapse-ETDwU-O2.js +4 -0
- package/dist/CommonText copy-BopfYNXm.js +189 -0
- package/dist/Demo-B6HHgjg2.js +72 -0
- package/dist/Demo-BPThqNgl.js +201 -0
- package/dist/FView-jlOlDqOY.js +4 -0
- package/dist/FX-147FbcEF.js +4 -0
- package/dist/FormGridCopy-DN8sO6Kt.js +168 -0
- package/dist/FormImagining--Iqak7ti.js +9 -0
- package/dist/GenerateForm-DlOHiBT6.js +4 -0
- package/dist/GenerateReport-w1Z4L5RS.js +4 -0
- package/dist/HelloWorld-Cs9vcQZy.js +9 -0
- package/dist/Input-/345/210/240/351/231/244-C2ZQxXp7.js +87 -0
- package/dist/Label-/345/210/240/351/231/244-D9kbjQME.js +92 -0
- package/dist/LabelModel-ChEsZOMK.js +4 -0
- package/dist/Login-DGeuCv29.js +9 -0
- package/dist/Pie-_Tkspn12.js +4 -0
- package/dist/PropertyIndex-CCRaKy-z.js +4 -0
- package/dist/RView-D3CweAvr.js +4 -0
- package/dist/SqlModule-BTUDXWIr.js +4 -0
- package/dist/SvgIconCopy-CmgZ504W.js +39 -0
- package/dist/TableBtnModal-M8DypZA1.js +4 -0
- package/dist/TableModel-BdSL6XuV.js +4 -0
- package/dist/TextModel-CDxQib2U.js +9 -0
- package/dist/childForm-DT9GyhXy.js +4 -0
- package/dist/cssMode-boX_9-4D.js +141 -0
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +3 -3
- package/dist/formTest-nJQQ0bQe.js +19 -0
- package/dist/freemarker2-DgPtWzLN.js +982 -0
- package/dist/handlebars-D26dKsiI.js +412 -0
- package/dist/html-ByNsvsma.js +301 -0
- package/dist/htmlMode-hufZZVNO.js +152 -0
- package/dist/index - /345/211/257/346/234/254-RvFzPF3k.js" +531 -0
- package/dist/index-7gCI5vmP.js +3323 -0
- package/dist/index-Cb2JEXGA.js +4 -0
- package/dist/index-DCqqRo7P.js +36 -0
- package/dist/index-Dea3S2cp.js +302317 -0
- package/dist/index-DlY2PibK.js +11 -0
- package/dist/javascript-Z2Y4Qgpz.js +70 -0
- package/dist/jsonMode-DxXDmpA1.js +569 -0
- package/dist/liquid-DehwaRgZ.js +233 -0
- package/dist/lspLanguageFeatures-C7EDcZ_E.js +1458 -0
- package/dist/mdx-B5OJ3ipK.js +158 -0
- package/dist/python-3P9SskHq.js +294 -0
- package/dist/razor-BHRaOMxL.js +543 -0
- package/dist/style.css +1 -1
- package/dist/tableSelectDemo-26yK5RCD.js +134 -0
- package/dist/tableSelectDemo2-DSBmgXuv.js +108 -0
- package/dist/tsMode-DZ5AE1Kt.js +946 -0
- package/dist/typescript-BUowGFyj.js +336 -0
- package/dist/xml-CAim-ClR.js +88 -0
- package/dist/yaml-Ppzka_sQ.js +199 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as c, onMounted as p, resolveComponent as i, openBlock as e, createBlock as o, unref as n, withCtx as t, createVNode as f, KeepAlive as u, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { l as m, R as s } from "./index-Dea3S2cp.js";
|
|
3
|
+
const x = /* @__PURE__ */ c({
|
|
4
|
+
__name: "App",
|
|
5
|
+
setup(d) {
|
|
6
|
+
return p(() => {
|
|
7
|
+
}), (v, h) => {
|
|
8
|
+
const r = i("a-config-provider");
|
|
9
|
+
return e(), o(r, {
|
|
10
|
+
locale: n(m),
|
|
11
|
+
theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
|
|
12
|
+
}, {
|
|
13
|
+
default: t(() => [
|
|
14
|
+
f(n(s), null, {
|
|
15
|
+
default: t(({ Component: l, route: a }) => [
|
|
16
|
+
(e(), o(u, null, [
|
|
17
|
+
(e(), o(_(l), {
|
|
18
|
+
key: a.fullPath
|
|
19
|
+
}))
|
|
20
|
+
], 1024))
|
|
21
|
+
]),
|
|
22
|
+
_: 1
|
|
23
|
+
})
|
|
24
|
+
]),
|
|
25
|
+
_: 1
|
|
26
|
+
}, 8, ["locale"]);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
x as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { defineComponent as R, computed as f, resolveComponent as u, openBlock as r, createElementBlock as c, createElementVNode as v, createVNode as t, withCtx as n, unref as i, h as y, withDirectives as O, vModelText as x, Fragment as g, renderList as B, createBlock as C, resolveDynamicComponent as h, createTextVNode as z, toDisplayString as j } from "vue";
|
|
2
|
+
import { H as S, I as F, J as H, K as J, L as K, M as P, N as Q, O as q, P as G, Q as X, T as Y, U as Z, V as $, _ as ee } from "./index-Dea3S2cp.js";
|
|
3
|
+
const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ R({
|
|
4
|
+
__name: "CommonText copy",
|
|
5
|
+
props: {
|
|
6
|
+
textElement: {
|
|
7
|
+
type: Object,
|
|
8
|
+
default: () => ({})
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
emits: ["update:textElement"],
|
|
12
|
+
setup(k, { emit: U }) {
|
|
13
|
+
const w = k, A = U, e = f({
|
|
14
|
+
get: () => w.textElement,
|
|
15
|
+
set: (a) => A("update:textElement", a)
|
|
16
|
+
}), E = [
|
|
17
|
+
{ value: "solid", label: "实线", icon: Y },
|
|
18
|
+
{ value: "dashed", label: "虚线", icon: Z },
|
|
19
|
+
{ value: "dotted", label: "点线", icon: $ }
|
|
20
|
+
], m = [
|
|
21
|
+
{ value: "none", label: "无框线", icon: S },
|
|
22
|
+
{ value: "all", label: "所有框线", icon: F },
|
|
23
|
+
{ value: "top", label: "上框线", icon: H },
|
|
24
|
+
{ value: "right", label: "右框线", icon: J },
|
|
25
|
+
{ value: "bottom", label: "下框线", icon: K },
|
|
26
|
+
{ value: "left", label: "左框线", icon: P }
|
|
27
|
+
], T = f(() => {
|
|
28
|
+
const a = m.find(
|
|
29
|
+
(o) => o.value === e.value.border
|
|
30
|
+
);
|
|
31
|
+
return a ? a.icon : S;
|
|
32
|
+
});
|
|
33
|
+
function V(a) {
|
|
34
|
+
a > 0 && !e.value.borderStyle && (e.value.borderStyle = "solid", e.value.border = "all"), a === 0 && (e.value.border = "none", e.value.borderStyle = null);
|
|
35
|
+
}
|
|
36
|
+
function D({ key: a }) {
|
|
37
|
+
e.value.border = a;
|
|
38
|
+
}
|
|
39
|
+
function I() {
|
|
40
|
+
e.value.bold = !e.value.bold;
|
|
41
|
+
}
|
|
42
|
+
return (a, o) => {
|
|
43
|
+
const d = u("a-radio-button"), p = u("a-radio-group"), _ = u("a-button"), b = u("a-input-number"), s = u("a-tooltip"), L = u("a-divider"), M = u("a-menu-item"), N = u("a-menu"), W = u("a-dropdown");
|
|
44
|
+
return r(), c("div", le, [
|
|
45
|
+
v("div", te, [
|
|
46
|
+
t(p, {
|
|
47
|
+
value: e.value.horzAlign,
|
|
48
|
+
"onUpdate:value": o[0] || (o[0] = (l) => e.value.horzAlign = l),
|
|
49
|
+
size: "small"
|
|
50
|
+
}, {
|
|
51
|
+
default: n(() => [
|
|
52
|
+
t(d, { value: "left" }, {
|
|
53
|
+
default: n(() => [
|
|
54
|
+
t(i(Q))
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}),
|
|
58
|
+
t(d, { value: "center" }, {
|
|
59
|
+
default: n(() => [
|
|
60
|
+
t(i(q))
|
|
61
|
+
]),
|
|
62
|
+
_: 1
|
|
63
|
+
}),
|
|
64
|
+
t(d, { value: "right" }, {
|
|
65
|
+
default: n(() => [
|
|
66
|
+
t(i(G))
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
})
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["value"]),
|
|
73
|
+
t(_, {
|
|
74
|
+
size: "small",
|
|
75
|
+
icon: y(i(X)),
|
|
76
|
+
onClick: I
|
|
77
|
+
}, null, 8, ["icon"]),
|
|
78
|
+
t(s, {
|
|
79
|
+
title: "字号",
|
|
80
|
+
color: "blue"
|
|
81
|
+
}, {
|
|
82
|
+
default: n(() => [
|
|
83
|
+
t(b, {
|
|
84
|
+
value: e.value.fontSize,
|
|
85
|
+
"onUpdate:value": o[1] || (o[1] = (l) => e.value.fontSize = l),
|
|
86
|
+
placeholder: "字体大小",
|
|
87
|
+
style: { width: "50px" },
|
|
88
|
+
size: "small"
|
|
89
|
+
}, null, 8, ["value"])
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}),
|
|
93
|
+
t(s, {
|
|
94
|
+
title: "字体颜色",
|
|
95
|
+
color: "blue"
|
|
96
|
+
}, {
|
|
97
|
+
default: n(() => [
|
|
98
|
+
O(v("input", {
|
|
99
|
+
type: "color",
|
|
100
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => e.value.color = l),
|
|
101
|
+
class: "color-picker"
|
|
102
|
+
}, null, 512), [
|
|
103
|
+
[x, e.value.color]
|
|
104
|
+
])
|
|
105
|
+
]),
|
|
106
|
+
_: 1
|
|
107
|
+
}),
|
|
108
|
+
t(L, { type: "vertical" }),
|
|
109
|
+
t(W, null, {
|
|
110
|
+
overlay: n(() => [
|
|
111
|
+
t(N, { onClick: D }, {
|
|
112
|
+
default: n(() => [
|
|
113
|
+
(r(), c(g, null, B(m, (l) => t(M, {
|
|
114
|
+
key: l.value,
|
|
115
|
+
disabled: l.value === e.value.border
|
|
116
|
+
}, {
|
|
117
|
+
default: n(() => [
|
|
118
|
+
(r(), C(h(l.icon), { style: { fontSize: "18px" } })),
|
|
119
|
+
z(" " + j(l.label), 1)
|
|
120
|
+
]),
|
|
121
|
+
_: 2
|
|
122
|
+
}, 1032, ["disabled"])), 64))
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
})
|
|
126
|
+
]),
|
|
127
|
+
default: n(() => [
|
|
128
|
+
t(_, {
|
|
129
|
+
size: "small",
|
|
130
|
+
icon: y(T.value)
|
|
131
|
+
}, null, 8, ["icon"])
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
}),
|
|
135
|
+
t(s, {
|
|
136
|
+
title: "边框宽度",
|
|
137
|
+
color: "blue"
|
|
138
|
+
}, {
|
|
139
|
+
default: n(() => [
|
|
140
|
+
t(b, {
|
|
141
|
+
value: e.value.borderWidth,
|
|
142
|
+
"onUpdate:value": o[3] || (o[3] = (l) => e.value.borderWidth = l),
|
|
143
|
+
min: 0,
|
|
144
|
+
max: 10,
|
|
145
|
+
style: { width: "80px" },
|
|
146
|
+
onChange: V,
|
|
147
|
+
size: "small"
|
|
148
|
+
}, {
|
|
149
|
+
addonAfter: n(() => [...o[6] || (o[6] = [
|
|
150
|
+
z("px", -1)
|
|
151
|
+
])]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["value"])
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}),
|
|
157
|
+
O(v("input", {
|
|
158
|
+
type: "color",
|
|
159
|
+
"onUpdate:modelValue": o[4] || (o[4] = (l) => e.value.borderColor = l),
|
|
160
|
+
class: "color-picker"
|
|
161
|
+
}, null, 512), [
|
|
162
|
+
[x, e.value.borderColor]
|
|
163
|
+
]),
|
|
164
|
+
t(p, {
|
|
165
|
+
value: e.value.borderStyle,
|
|
166
|
+
"onUpdate:value": o[5] || (o[5] = (l) => e.value.borderStyle = l),
|
|
167
|
+
size: "small"
|
|
168
|
+
}, {
|
|
169
|
+
default: n(() => [
|
|
170
|
+
(r(), c(g, null, B(E, (l) => t(d, {
|
|
171
|
+
key: l.value,
|
|
172
|
+
value: l.value
|
|
173
|
+
}, {
|
|
174
|
+
default: n(() => [
|
|
175
|
+
(r(), C(h(l.icon)))
|
|
176
|
+
]),
|
|
177
|
+
_: 2
|
|
178
|
+
}, 1032, ["value"])), 64))
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}, 8, ["value"])
|
|
182
|
+
])
|
|
183
|
+
]);
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
}), ue = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-553e4e34"]]);
|
|
187
|
+
export {
|
|
188
|
+
ue as default
|
|
189
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
|
|
2
|
+
import { a0 as useFormStore, a1 as generateReportHtml, t as defHttp } from "./index-Dea3S2cp.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "Demo",
|
|
5
|
+
props: {
|
|
6
|
+
data: {
|
|
7
|
+
type: Object,
|
|
8
|
+
default: []
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const formStore = useFormStore();
|
|
13
|
+
let list = ref(formStore.formData.config.eventScript);
|
|
14
|
+
const { eventScript, baseScript, ...restConfig } = formStore.formData.config;
|
|
15
|
+
let vue3Script = ref({
|
|
16
|
+
importScript: "",
|
|
17
|
+
//import导入
|
|
18
|
+
variableScript: "",
|
|
19
|
+
//变量
|
|
20
|
+
contentScript: ""
|
|
21
|
+
//ts内容
|
|
22
|
+
});
|
|
23
|
+
const generateData = generateReportHtml(formStore.formData.list, restConfig, vue3Script), columns = JSON.parse(generateData.columns), searchInfo = generateData.searchData;
|
|
24
|
+
onBeforeUpdate(() => {
|
|
25
|
+
});
|
|
26
|
+
const generateVue3 = defineComponent({
|
|
27
|
+
template: generateData.html,
|
|
28
|
+
props: {},
|
|
29
|
+
setup() {
|
|
30
|
+
let viewData = ref({});
|
|
31
|
+
const events = {};
|
|
32
|
+
return generateTs(), {
|
|
33
|
+
// formData,
|
|
34
|
+
// formRef,
|
|
35
|
+
search,
|
|
36
|
+
searchInfo,
|
|
37
|
+
// defineExpose,
|
|
38
|
+
// paginations,
|
|
39
|
+
// dataSource,
|
|
40
|
+
// datalist,
|
|
41
|
+
columns,
|
|
42
|
+
viewData,
|
|
43
|
+
// initTable,
|
|
44
|
+
...events,
|
|
45
|
+
defHttp,
|
|
46
|
+
onChange
|
|
47
|
+
};
|
|
48
|
+
function search() {
|
|
49
|
+
}
|
|
50
|
+
function onChange(e) {
|
|
51
|
+
}
|
|
52
|
+
function generateTs() {
|
|
53
|
+
for (let e = 0; e < list.value.length; e++) {
|
|
54
|
+
const t = list.value[e];
|
|
55
|
+
events[t.name] = newFunction(t);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function newFunction(_data) {
|
|
59
|
+
return _data.param != "" ? (_params) => {
|
|
60
|
+
eval(_data.func);
|
|
61
|
+
} : () => {
|
|
62
|
+
eval(_data.func);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
return (e, t) => (openBlock(), createBlock(unref(generateVue3)));
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
_sfc_main as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { defineComponent as J, ref as s, reactive as K, resolveComponent as r, openBlock as n, createElementBlock as l, createVNode as c, withCtx as d, createTextVNode as f, unref as a, createBlock as y, createCommentVNode as L, isRef as P, Fragment as g, toDisplayString as p, withModifiers as Q } from "vue";
|
|
2
|
+
import { am as X, an as z, ao as h, ap as O, w as Y, aq as Z, _ as ee } from "./index-Dea3S2cp.js";
|
|
3
|
+
const te = {
|
|
4
|
+
ref: "formRef",
|
|
5
|
+
class: "cici-form-css",
|
|
6
|
+
style: { padding: "10px" }
|
|
7
|
+
}, ae = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "required-text"
|
|
10
|
+
}, oe = { key: 1 }, ne = ["onClick"], ie = /* @__PURE__ */ J({
|
|
11
|
+
__name: "Demo",
|
|
12
|
+
setup(de) {
|
|
13
|
+
X();
|
|
14
|
+
let u = s([]), _ = s(), w = s([]), B = s({}), q = s(!1), V = s(!1), m = K({
|
|
15
|
+
formId: "",
|
|
16
|
+
tableName: "",
|
|
17
|
+
title: "文件",
|
|
18
|
+
keyCol: "",
|
|
19
|
+
searchInfo: []
|
|
20
|
+
}), A = {
|
|
21
|
+
title: {
|
|
22
|
+
text: "本年度不动产登记情况",
|
|
23
|
+
width: "800",
|
|
24
|
+
height: "400"
|
|
25
|
+
},
|
|
26
|
+
xAxis: [
|
|
27
|
+
{
|
|
28
|
+
type: "category",
|
|
29
|
+
dataIndex: "month",
|
|
30
|
+
pointerType: "shadow"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
yAxis: [{ name: "抵押", type: "value", min: "1", interval: 100, unit: "个" }],
|
|
34
|
+
series: [{ name: "产权", type: "bar", dataIndex: "cq_count" }, { name: "抵押", type: "bar", dataIndex: "dy_count", unit: "个" }, { name: "预告", type: "line", dataIndex: "yg_count" }]
|
|
35
|
+
};
|
|
36
|
+
_.value = { total: 0, current: 1, pageSize: 5, showSizeChanger: !1, showTotal: (o) => `共 ${o} 条数据` }, w.value = [{ key: "column-617ff7f2-a54f-1979c0fd2a8-fd70-700057f84a62", title: "year", dataIndex: "year", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-1cf72339-f874-1979c0fd2a8-b988-60f9b58ff66a", title: "month", dataIndex: "month", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-84b63a70-2238-1979c0fd2a8-29a5-68340db892fa", title: "cq_count", dataIndex: "cq_count", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-f8aa1b10-fe0d-1979c0fd2a8-8167-9c69e75fdf15", title: "dy_count", dataIndex: "dy_count", width: "auto", options: { hidden: !1 }, rules: [] }, { key: "column-cf6692ef-5ce7-1979c0fd2a8-4531-cb617052dd15", title: "yg_count", dataIndex: "yg_count", width: "auto", options: { hidden: !1 }, rules: [] }, { id: "action", key: "action", title: "操作", dataIndex: "action", width: "auto", fixed: "right", align: "left", options: { hidden: !1 }, rules: [] }], m.formId = "1935623887264063490", m.title = "刘鹭测试";
|
|
37
|
+
let b = s([]), k = {
|
|
38
|
+
viewData: B,
|
|
39
|
+
dataSource: u,
|
|
40
|
+
reportInfo: m,
|
|
41
|
+
paginations: _,
|
|
42
|
+
loading: q,
|
|
43
|
+
sortField: "",
|
|
44
|
+
sortOrder: ""
|
|
45
|
+
};
|
|
46
|
+
function M() {
|
|
47
|
+
_.value.current = 1, O(k);
|
|
48
|
+
}
|
|
49
|
+
let E = s([]);
|
|
50
|
+
E.value = w.value;
|
|
51
|
+
function R(o) {
|
|
52
|
+
E.value = o;
|
|
53
|
+
}
|
|
54
|
+
function W(o, i) {
|
|
55
|
+
const { sorter: C, pagination: D } = o, { field: x, order: I } = C;
|
|
56
|
+
k.sortField = x, k.sortOrder = I, _.value.current = D.current, O(k);
|
|
57
|
+
}
|
|
58
|
+
function $(o) {
|
|
59
|
+
let i = s(o);
|
|
60
|
+
if (i.value.length == 0) {
|
|
61
|
+
Y.warning("请选择要导出的列");
|
|
62
|
+
return;
|
|
63
|
+
} else
|
|
64
|
+
Z(i, B, m, V);
|
|
65
|
+
}
|
|
66
|
+
return (o, i) => {
|
|
67
|
+
const C = r("a-col"), D = r("a-button"), x = r("a-form-item"), I = r("a-row"), F = r("a-form"), H = r("c-echarts-bar"), T = r("a-tag"), U = r("a-divider"), j = r("a-space"), G = r("c-table");
|
|
68
|
+
return n(), l("div", te, [
|
|
69
|
+
c(F, {
|
|
70
|
+
"label-col": { style: { width: "120px" } },
|
|
71
|
+
labelWrap: !0
|
|
72
|
+
}, {
|
|
73
|
+
default: d(() => [
|
|
74
|
+
c(F, {
|
|
75
|
+
id: "wonder-form-css",
|
|
76
|
+
"label-col": { style: { width: "120px" } },
|
|
77
|
+
labelWrap: !0
|
|
78
|
+
}, {
|
|
79
|
+
default: d(() => [
|
|
80
|
+
c(I, {
|
|
81
|
+
class: "wonderform-row-css",
|
|
82
|
+
style: { padding: "0px 0px 0px 0px" },
|
|
83
|
+
gutter: [8, 0],
|
|
84
|
+
tyle: "flex"
|
|
85
|
+
}, {
|
|
86
|
+
default: d(() => [
|
|
87
|
+
c(C, {
|
|
88
|
+
span: 12,
|
|
89
|
+
offset: 0
|
|
90
|
+
}),
|
|
91
|
+
c(C, {
|
|
92
|
+
span: 12,
|
|
93
|
+
offset: 0
|
|
94
|
+
}, {
|
|
95
|
+
default: d(() => [
|
|
96
|
+
c(x, { style: { "text-align": "left", "padding-left": "5px" } }, {
|
|
97
|
+
default: d(() => [
|
|
98
|
+
c(D, {
|
|
99
|
+
type: "primary",
|
|
100
|
+
onClick: i[0] || (i[0] = (e) => M()),
|
|
101
|
+
class: "btn-icon-content"
|
|
102
|
+
}, {
|
|
103
|
+
default: d(() => [...i[3] || (i[3] = [
|
|
104
|
+
f(" 查询 ", -1)
|
|
105
|
+
])]),
|
|
106
|
+
_: 1
|
|
107
|
+
})
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
})
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
})
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
})
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
a(u) && a(u).length > 0 ? (n(), y(H, {
|
|
121
|
+
key: 0,
|
|
122
|
+
options: a(A),
|
|
123
|
+
data: a(u)
|
|
124
|
+
}, null, 8, ["options", "data"])) : L("", !0),
|
|
125
|
+
c(G, {
|
|
126
|
+
columns: a(w),
|
|
127
|
+
"data-source": a(u),
|
|
128
|
+
onColumnsChange: R,
|
|
129
|
+
loading: a(q),
|
|
130
|
+
onExport: $,
|
|
131
|
+
eLoading: a(V),
|
|
132
|
+
value: a(b),
|
|
133
|
+
"onUpdate:value": i[1] || (i[1] = (e) => P(b) ? b.value = e : b = e),
|
|
134
|
+
scroll: { x: "max-content" },
|
|
135
|
+
pagination: a(_),
|
|
136
|
+
onChange: i[2] || (i[2] = (e) => W(e))
|
|
137
|
+
}, {
|
|
138
|
+
headerCell: d(({ title: e, column: t }) => {
|
|
139
|
+
var v;
|
|
140
|
+
return [
|
|
141
|
+
(v = t.rules) != null && v.find((N) => N.required) ? (n(), l("span", ae, p(e), 1)) : (n(), l("span", oe, p(e), 1))
|
|
142
|
+
];
|
|
143
|
+
}),
|
|
144
|
+
bodyCell: d(({ column: e, text: t, record: v, index: N }) => {
|
|
145
|
+
var S;
|
|
146
|
+
return [
|
|
147
|
+
e.options.displayType == "tag" ? (n(), l(g, { key: 0 }, [
|
|
148
|
+
e.options.tagList.length ? (n(), l(g, { key: 0 }, [
|
|
149
|
+
a(z)(e.options.tagList, t) ? (n(), y(T, {
|
|
150
|
+
key: 0,
|
|
151
|
+
color: (S = a(z)(e.options.tagList, t)) == null ? void 0 : S.color[0]
|
|
152
|
+
}, {
|
|
153
|
+
default: d(() => [
|
|
154
|
+
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
155
|
+
]),
|
|
156
|
+
_: 2
|
|
157
|
+
}, 1032, ["color"])) : (n(), y(T, { key: 1 }, {
|
|
158
|
+
default: d(() => [
|
|
159
|
+
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
160
|
+
]),
|
|
161
|
+
_: 2
|
|
162
|
+
}, 1024))
|
|
163
|
+
], 64)) : (n(), y(T, { key: 1 }, {
|
|
164
|
+
default: d(() => [
|
|
165
|
+
f(p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 2
|
|
168
|
+
}, 1024))
|
|
169
|
+
], 64)) : e.options.displayType == "href" ? (n(), l("a", {
|
|
170
|
+
key: 1,
|
|
171
|
+
onClick: Q((re) => o.excuteHrefFun(e.options.hrefFun, v), ["stop"])
|
|
172
|
+
}, p(e.dict ? a(h)(e.dict, t) : e.treeDict ? o.getLabelByTreeDictCode(e.treeDict, t) : t), 9, ne)) : (n(), l(g, { key: 2 }, [
|
|
173
|
+
e.dict ? (n(), l(g, { key: 0 }, [
|
|
174
|
+
f(p(a(h)(e.dict, t)), 1)
|
|
175
|
+
], 64)) : e.treeDict ? (n(), l(g, { key: 1 }, [
|
|
176
|
+
f(p(o.getLabelByTreeDictCode(e.treeDict, t)), 1)
|
|
177
|
+
], 64)) : L("", !0)
|
|
178
|
+
], 64)),
|
|
179
|
+
e.key === "action" ? (n(), y(j, {
|
|
180
|
+
key: 3,
|
|
181
|
+
size: 0
|
|
182
|
+
}, {
|
|
183
|
+
split: d(() => [
|
|
184
|
+
c(U, { type: "vertical" })
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})) : L("", !0)
|
|
188
|
+
];
|
|
189
|
+
}),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["columns", "data-source", "loading", "eLoading", "value", "pagination"])
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
], 512);
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
}), ce = /* @__PURE__ */ ee(ie, [["__scopeId", "data-v-14a1711c"]]);
|
|
199
|
+
export {
|
|
200
|
+
ce as default
|
|
201
|
+
};
|