form-imagining 0.0.92-beta1 → 0.0.92-beta3

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.
Files changed (112) hide show
  1. package/dist/App-BtkDkcdK.js +32 -0
  2. package/dist/App-DZeeXrAi.js +32 -0
  3. package/dist/Area-BHKEscV-.js +4 -0
  4. package/dist/Area-DLF4dKyb.js +4 -0
  5. package/dist/Bar--Tn_i50U.js +4 -0
  6. package/dist/Bar-g-UJZxZz.js +4 -0
  7. package/dist/ChartsArea-0wrqHfos.js +4 -0
  8. package/dist/ChartsArea-Dya2T0Hf.js +4 -0
  9. package/dist/ChartsBar-CVO6LNSb.js +4 -0
  10. package/dist/ChartsBar-De3wqxB9.js +4 -0
  11. package/dist/ChartsPie-BzuLpsbV.js +4 -0
  12. package/dist/ChartsPie-M9v47a1y.js +4 -0
  13. package/dist/CheckBoxModel-DL90UDdw.js +4 -0
  14. package/dist/CheckBoxModel-hSZd0YyP.js +4 -0
  15. package/dist/Col-BiZex8OV.js +4 -0
  16. package/dist/Col-DAuf-D27.js +4 -0
  17. package/dist/Collapse-D1wtVr4J.js +4 -0
  18. package/dist/Collapse-ObYssHj6.js +4 -0
  19. package/dist/CommonText copy-CnTaynHd.js +189 -0
  20. package/dist/CommonText copy-DfObA3kp.js +189 -0
  21. package/dist/Demo-B3jXn-Wm.js +201 -0
  22. package/dist/Demo-DCuaQcE7.js +72 -0
  23. package/dist/Demo-Dwy222GW.js +72 -0
  24. package/dist/Demo-TdNyclAe.js +201 -0
  25. package/dist/FView-B3MnQkCE.js +4 -0
  26. package/dist/FView-D5njXTYr.js +4 -0
  27. package/dist/FX-DaGuj_pg.js +4 -0
  28. package/dist/FX-Ds_RTNfB.js +4 -0
  29. package/dist/FormGridCopy-BhNEuN_v.js +168 -0
  30. package/dist/FormGridCopy-DuV9Ni27.js +168 -0
  31. package/dist/FormImagining-DPQkYBgj.js +9 -0
  32. package/dist/FormImagining-mMqPn9Ll.js +9 -0
  33. package/dist/GenerateForm-Bc_gKUhp.js +4 -0
  34. package/dist/GenerateForm-RTuqKBFk.js +4 -0
  35. package/dist/GenerateReport-CYWOUnXC.js +4 -0
  36. package/dist/GenerateReport-MBi8bZl7.js +4 -0
  37. package/dist/HelloWorld-BeqAgIrc.js +9 -0
  38. package/dist/HelloWorld-ozWUgTPI.js +9 -0
  39. package/dist/Input-/345/210/240/351/231/244-BSy1dpR9.js +87 -0
  40. package/dist/Input-/345/210/240/351/231/244-bH-Y8vY6.js +87 -0
  41. package/dist/Label-/345/210/240/351/231/244-BlmENKyQ.js +92 -0
  42. package/dist/Label-/345/210/240/351/231/244-Cq2Ayj6E.js +92 -0
  43. package/dist/LabelModel-B6Hvk81c.js +4 -0
  44. package/dist/LabelModel-BAM6G3Ie.js +4 -0
  45. package/dist/Login-cwLdgf2n.js +9 -0
  46. package/dist/Login-lb3t6gnq.js +9 -0
  47. package/dist/Pie-Bdwe3wcU.js +4 -0
  48. package/dist/Pie-Jo6W9CJB.js +4 -0
  49. package/dist/PropertyIndex-B-NHOEV0.js +4 -0
  50. package/dist/PropertyIndex-DgQ24KcZ.js +4 -0
  51. package/dist/RView-CCm2BHv0.js +4 -0
  52. package/dist/RView-oDLUM6Lo.js +4 -0
  53. package/dist/SqlModule-DTW0tMR7.js +4 -0
  54. package/dist/SqlModule-JAqDy8bK.js +4 -0
  55. package/dist/SvgIconCopy-B0GIGBZv.js +39 -0
  56. package/dist/SvgIconCopy-Bmi1qbTC.js +39 -0
  57. package/dist/TableBtnModal-CApZwv92.js +4 -0
  58. package/dist/TableBtnModal-r-13ZsI9.js +4 -0
  59. package/dist/TextModel-CzAuMCPf.js +9 -0
  60. package/dist/TextModel-aT7LooUr.js +9 -0
  61. package/dist/childForm-BglEql5G.js +4 -0
  62. package/dist/childForm-iXdTPSZL.js +4 -0
  63. package/dist/cssMode-HBTpfptp.js +1577 -0
  64. package/dist/cssMode-SsosamS5.js +1577 -0
  65. package/dist/form-imagining.js +1 -1
  66. package/dist/form-imagining.umd.cjs +5 -5
  67. package/dist/formTest-BBmM88LZ.js +19 -0
  68. package/dist/formTest-DdIjfGpu.js +19 -0
  69. package/dist/freemarker2-CDFH8CaW.js +995 -0
  70. package/dist/freemarker2-CcHBBlpf.js +995 -0
  71. package/dist/handlebars-DfcmDcw8.js +425 -0
  72. package/dist/handlebars-Dp4NcSjN.js +425 -0
  73. package/dist/html-CKJuyuep.js +314 -0
  74. package/dist/html-DJqtjUfW.js +314 -0
  75. package/dist/htmlMode-BWiO4pRY.js +1587 -0
  76. package/dist/htmlMode-CA0fDGcQ.js +1587 -0
  77. package/dist/index - /345/211/257/346/234/254-8Cr7tC3N.js" +531 -0
  78. package/dist/index - /345/211/257/346/234/254-UCuyvE6m.js" +531 -0
  79. package/dist/index-B62shk7i.js +11 -0
  80. package/dist/index-BpyIDAPw.js +3323 -0
  81. package/dist/index-Bux9hm-L.js +300191 -0
  82. package/dist/index-C7qdpjIL.js +36 -0
  83. package/dist/index-CK6F3EQf.js +11 -0
  84. package/dist/index-Ctpjp4rq.js +36 -0
  85. package/dist/index-DUW9FD08.js +3323 -0
  86. package/dist/index-wY48_10N.js +300162 -0
  87. package/dist/javascript-CPCjva_r.js +76 -0
  88. package/dist/javascript-D1TTqDJv.js +76 -0
  89. package/dist/jsonMode-BlL2u-dx.js +2002 -0
  90. package/dist/jsonMode-DEavh37X.js +2002 -0
  91. package/dist/liquid-Bc0jxNGA.js +246 -0
  92. package/dist/liquid-D3Ero-K5.js +246 -0
  93. package/dist/mdx-9y_7F0Bo.js +171 -0
  94. package/dist/mdx-CYm1NWQD.js +171 -0
  95. package/dist/python-BPeneLIu.js +307 -0
  96. package/dist/python-CZaLu6bh.js +307 -0
  97. package/dist/razor-Bnmmlnh_.js +556 -0
  98. package/dist/razor-CuQONhZ_.js +556 -0
  99. package/dist/style.css +1 -1
  100. package/dist/tableSelectDemo-DsTljq6I.js +134 -0
  101. package/dist/tableSelectDemo-EkGJqe7z.js +134 -0
  102. package/dist/tableSelectDemo2-B92XBNnl.js +108 -0
  103. package/dist/tableSelectDemo2-BaV81cyf.js +108 -0
  104. package/dist/tsMode-BMfmnceI.js +895 -0
  105. package/dist/tsMode-Dpzp6hEL.js +895 -0
  106. package/dist/typescript-BN1BF4_9.js +349 -0
  107. package/dist/typescript-D4uhirbI.js +349 -0
  108. package/dist/xml-BFVowNZ0.js +101 -0
  109. package/dist/xml-CSQLleJF.js +101 -0
  110. package/dist/yaml-DxoitMTx.js +212 -0
  111. package/dist/yaml-WbjWgGoS.js +212 -0
  112. package/package.json +1 -1
@@ -0,0 +1,201 @@
1
+ import { defineComponent as G, ref as s, reactive as K, resolveComponent as r, openBlock as n, createElementBlock as l, createVNode as c, withCtx as d, createTextVNode as p, unref as a, createBlock as y, createCommentVNode as L, isRef as P, Fragment as g, toDisplayString as f, withModifiers as Q } from "vue";
2
+ import { aJ as X, ah as z, ag as h, am as O, a4 as Y, ar as Z, _ as ee } from "./index-wY48_10N.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__ */ G({
11
+ __name: "Demo",
12
+ setup(de) {
13
+ X();
14
+ let u = s([]), _ = s(), w = s([]), B = s({}), V = s(!1), q = 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: V,
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, q);
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"), J = r("a-divider"), U = r("a-space"), j = 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
+ p(" 查询 ", -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(j, {
126
+ columns: a(w),
127
+ "data-source": a(u),
128
+ onColumnsChange: R,
129
+ loading: a(V),
130
+ onExport: $,
131
+ eLoading: a(q),
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, f(e), 1)) : (n(), l("span", oe, f(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
+ p(f(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
+ p(f(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
+ p(f(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
+ }, f(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
+ p(f(a(h)(e.dict, t)), 1)
175
+ ], 64)) : e.treeDict ? (n(), l(g, { key: 1 }, [
176
+ p(f(o.getLabelByTreeDictCode(e.treeDict, t)), 1)
177
+ ], 64)) : L("", !0)
178
+ ], 64)),
179
+ e.key === "action" ? (n(), y(U, {
180
+ key: 3,
181
+ size: 0
182
+ }, {
183
+ split: d(() => [
184
+ c(J, { 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
+ };
@@ -0,0 +1,72 @@
1
+ import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
2
+ import { aF as useFormStore, ae as generateReportHtml, a8 as defHttp } from "./index-wY48_10N.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,72 @@
1
+ import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
2
+ import { aF as useFormStore, ae as generateReportHtml, a8 as defHttp } from "./index-Bux9hm-L.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 G, ref as s, reactive as K, resolveComponent as r, openBlock as n, createElementBlock as l, createVNode as c, withCtx as d, createTextVNode as p, unref as a, createBlock as y, createCommentVNode as L, isRef as P, Fragment as g, toDisplayString as f, withModifiers as Q } from "vue";
2
+ import { aJ as X, ah as z, ag as h, am as O, a4 as Y, ar as Z, _ as ee } from "./index-Bux9hm-L.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__ */ G({
11
+ __name: "Demo",
12
+ setup(de) {
13
+ X();
14
+ let u = s([]), _ = s(), w = s([]), B = s({}), V = s(!1), q = 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: V,
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, q);
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"), J = r("a-divider"), U = r("a-space"), j = 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
+ p(" 查询 ", -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(j, {
126
+ columns: a(w),
127
+ "data-source": a(u),
128
+ onColumnsChange: R,
129
+ loading: a(V),
130
+ onExport: $,
131
+ eLoading: a(q),
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, f(e), 1)) : (n(), l("span", oe, f(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
+ p(f(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
+ p(f(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
+ p(f(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
+ }, f(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
+ p(f(a(h)(e.dict, t)), 1)
175
+ ], 64)) : e.treeDict ? (n(), l(g, { key: 1 }, [
176
+ p(f(o.getLabelByTreeDictCode(e.treeDict, t)), 1)
177
+ ], 64)) : L("", !0)
178
+ ], 64)),
179
+ e.key === "action" ? (n(), y(U, {
180
+ key: 3,
181
+ size: 0
182
+ }, {
183
+ split: d(() => [
184
+ c(J, { 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
+ };
@@ -0,0 +1,4 @@
1
+ import { U as f } from "./index-Bux9hm-L.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { U as f } from "./index-wY48_10N.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { Y as f } from "./index-Bux9hm-L.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { Y as f } from "./index-wY48_10N.js";
2
+ export {
3
+ f as default
4
+ };