@jeecg/online 3.7.4-beta → 3.8.2-beta

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 (111) hide show
  1. package/{AccountLoginForm-84cbd344.mjs → AccountLoginForm-79fa7b01.mjs} +1 -1
  2. package/{AiModal-26903538.mjs → AiModal-942b59ec.mjs} +1 -1
  3. package/{AppForgetPassword-52443f23.mjs → AppForgetPassword-d762e5b3.mjs} +2 -2
  4. package/{AppLogin-ecf798fa.mjs → AppLogin-41372985.mjs} +9 -9
  5. package/{AppLoginHeader-4432c584.mjs → AppLoginHeader-3b6fa33d.mjs} +1 -1
  6. package/{AppNameEmail-3303a037.mjs → AppNameEmail-8dfbad62.mjs} +2 -2
  7. package/{AppRegister-79a62c59.mjs → AppRegister-433c54db.mjs} +3 -3
  8. package/{AppTenant-f0bef7ca.mjs → AppTenant-e49dfa9b.mjs} +2 -2
  9. package/{AppThirdForm-fd8b4604.mjs → AppThirdForm-7b75b4fc.mjs} +1 -1
  10. package/{AuthButtonConfig-d5bffca0.mjs → AuthButtonConfig-a0f59cb5.mjs} +50 -46
  11. package/{AuthButtonTree-b0bd6c40.mjs → AuthButtonTree-f0a5cc0b.mjs} +2 -2
  12. package/{AuthDataConfig-d3b7afa4.mjs → AuthDataConfig-647c4a27.mjs} +2 -2
  13. package/{AuthDataTree-f14a98d9.mjs → AuthDataTree-b80a3ea5.mjs} +1 -1
  14. package/{AuthFieldConfig-f1e224cc.mjs → AuthFieldConfig-d36a1b2d.mjs} +2 -2
  15. package/{AuthFieldTree-5cc0da05.mjs → AuthFieldTree-dba6af79.mjs} +1 -1
  16. package/{AuthManagerDrawer-32556109.mjs → AuthManagerDrawer-5acbd451.mjs} +5 -5
  17. package/{AuthSetterModal-364f1f67.mjs → AuthSetterModal-95b5f616.mjs} +8 -8
  18. package/CgformAddressModal-5d889870.mjs +263 -0
  19. package/CgformCopyList-cc5f76cd.mjs +259 -0
  20. package/{CgformModal-c4a4e0c2.mjs → CgformModal-cebc698b.mjs} +72 -69
  21. package/CgreportAigcModal-d1e62385.mjs +211 -0
  22. package/{CgreportModal-8a84aae5.mjs → CgreportModal-2e4421e6.mjs} +103 -103
  23. package/{CheckDictTable-8a938e3a.mjs → CheckDictTable-8fb7299c.mjs} +2 -2
  24. package/{CodeFileListModal-a924902a.mjs → CodeFileListModal-25fad54f.mjs} +2 -2
  25. package/{CodeFileViewModal-405e2b58.mjs → CodeFileViewModal-12299ab5.mjs} +1 -1
  26. package/{CodeGeneratorModal-2e1dc13d.mjs → CodeGeneratorModal-791b1695.mjs} +4 -4
  27. package/{CustomButtonList-c453b654.mjs → CustomButtonList-26490688.mjs} +1 -1
  28. package/DBAttributeTable-dea8ab11.mjs +546 -0
  29. package/{DbToOnlineModal-f28ff0a3.mjs → DbToOnlineModal-60317a16.mjs} +1 -1
  30. package/{DetailForm-c592b8d8.mjs → DetailForm-b92a5e9d.mjs} +6 -6
  31. package/{DropMenuItem-1e49abea.mjs → DropMenuItem-82213be6.mjs} +1 -1
  32. package/{EnhanceJavaModal-d5a93f2a.mjs → EnhanceJavaModal-6ebefc8b.mjs} +1 -1
  33. package/{EnhanceJsHistory-8ddb0657.mjs → EnhanceJsHistory-8d9b86ca.mjs} +2 -2
  34. package/{EnhanceJsModal-dc4f9ade.mjs → EnhanceJsModal-9439e6f8.mjs} +4 -3
  35. package/{EnhanceSqlModal-984f045d.mjs → EnhanceSqlModal-ea4592bf.mjs} +1 -1
  36. package/{ExtendConfigModal-7d70f362.mjs → ExtendConfigModal-f509db46.mjs} +1 -1
  37. package/{FieldExtendJsonModal-bf04d70e.mjs → FieldExtendJsonModal-73bab5b5.mjs} +2 -2
  38. package/{FileSelectModal-ffc69d4a.mjs → FileSelectModal-49d6dade.mjs} +1 -1
  39. package/{ForeignKeyTable-92decaea.mjs → ForeignKeyTable-330963c1.mjs} +2 -2
  40. package/{IndexTable-2ded2014.mjs → IndexTable-c0478faa.mjs} +2 -2
  41. package/{JModalTip-a927f85d.mjs → JModalTip-b1d19eaa.mjs} +1 -1
  42. package/{JOnlineSearchSelect-04ec87d0.mjs → JOnlineSearchSelect-97662e1b.mjs} +1 -1
  43. package/{LeftDepart-52cb6743.mjs → LeftDepart-4b1003f0.mjs} +1 -1
  44. package/{LeftRole-b0e0b496.mjs → LeftRole-8486ba4f.mjs} +1 -1
  45. package/{LeftUser-dd4b10e2.mjs → LeftUser-09894a2f.mjs} +1 -1
  46. package/{LinkTableConfigModal-7eeb3e58.mjs → LinkTableConfigModal-cd0980e9.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-b078fcef.mjs → LinkTableFieldConfigModal-f4106ab7.mjs} +1 -1
  48. package/{LinkTableListPiece-e016b8e6.mjs → LinkTableListPiece-4187ad7d.mjs} +1 -1
  49. package/{ModalFormDemo-aaa719a7.mjs → ModalFormDemo-4ec79769.mjs} +1 -1
  50. package/OnlCgformErpList-63089149.mjs +498 -0
  51. package/{OnlCgformErpSubTable-e1b88312.mjs → OnlCgformErpSubTable-421e2051.mjs} +18 -17
  52. package/{OnlCgformInnerSubTable-6b6fa15a.mjs → OnlCgformInnerSubTable-9616ebf2.mjs} +16 -15
  53. package/{OnlCgformInnerTableList-b283a525.mjs → OnlCgformInnerTableList-5ed887e4.mjs} +160 -154
  54. package/{OnlCgformTabList-91e3dd78.mjs → OnlCgformTabList-c03a1d0a.mjs} +160 -154
  55. package/OnlineAutoList-e5a61211.mjs +557 -0
  56. package/{OnlineAutoModal-95f46901.mjs → OnlineAutoModal-38f2d522.mjs} +7 -7
  57. package/OnlineAutoTreeList-16fa962f.mjs +531 -0
  58. package/{OnlineCustomModal-c8b1e780.mjs → OnlineCustomModal-7e31297e.mjs} +7 -7
  59. package/{OnlineDetailModal-5b412bb9.mjs → OnlineDetailModal-79085ba8.mjs} +8 -8
  60. package/{OnlineForm-58282699.mjs → OnlineForm-0438f4bf.mjs} +6 -6
  61. package/{OnlineFormDetail-fc087725.mjs → OnlineFormDetail-76d243ed.mjs} +89 -83
  62. package/{OnlineFormUrlAdd-bc9105bb.mjs → OnlineFormUrlAdd-2e05ba0f.mjs} +12 -11
  63. package/{OnlineFormUrlDetail-ad912560.mjs → OnlineFormUrlDetail-06b2d9e6.mjs} +19 -18
  64. package/{OnlineFormUrlEdit-f2fa79ff.mjs → OnlineFormUrlEdit-77ac4bba.mjs} +12 -11
  65. package/{OnlineFormUrlSuccess-76813d45.mjs → OnlineFormUrlSuccess-cb3f7be4.mjs} +1 -1
  66. package/{OnlineQueryForm-9248341f.mjs → OnlineQueryForm-528af6ed.mjs} +5 -5
  67. package/{OnlineSearchFormItem-1e437bd3.mjs → OnlineSearchFormItem-51eefaf4.mjs} +2 -2
  68. package/{OnlineSelectCascade-d631ed72.mjs → OnlineSelectCascade-b218691c.mjs} +1 -1
  69. package/{OnlineSubFormDetail-8be879b9.mjs → OnlineSubFormDetail-a1b7f33f.mjs} +6 -6
  70. package/{OnlineTabAutoModal-c9ca3c24.mjs → OnlineTabAutoModal-1c7c4ed2.mjs} +7 -7
  71. package/{OnlineTabDetailModal-fd4c9a72.mjs → OnlineTabDetailModal-7c45e727.mjs} +8 -8
  72. package/{OnlineTabForm-1940e88b.mjs → OnlineTabForm-9682158f.mjs} +7 -7
  73. package/{OnlineTabFormDetail-2aa67564.mjs → OnlineTabFormDetail-b8650175.mjs} +7 -7
  74. package/{PageAttributeTable-66e7b485.mjs → PageAttributeTable-21314341.mjs} +6 -6
  75. package/{PhoneLoginForm-86437a9d.mjs → PhoneLoginForm-c3c16f16.mjs} +62 -62
  76. package/{ProcessOnlineForm-98ede18d.mjs → ProcessOnlineForm-d6113dec.mjs} +7 -7
  77. package/{QueryTable-65d3f54f.mjs → QueryTable-413d1366.mjs} +2 -2
  78. package/{SetSwitchOptions-f914bc17.mjs → SetSwitchOptions-82fd6265.mjs} +1 -1
  79. package/{ShareAddView-657f0f8b.mjs → ShareAddView-a2dba2ef.mjs} +22 -21
  80. package/{ShareEditView-1b945fd3.mjs → ShareEditView-ecd590dc.mjs} +22 -21
  81. package/{ShareView-222ed3d8.mjs → ShareView-84f333e7.mjs} +20 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs → ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs} +2 -2
  83. package/{SingleView-23b0cb4e.mjs → SingleView-d4f29169.mjs} +15 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs → SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs} +4 -4
  85. package/{SuperQuery-46032e66.mjs → SuperQuery-290f5080.mjs} +39 -38
  86. package/aiModal-6e338c79.mjs +175 -0
  87. package/{auth.data-626c5083.mjs → auth.data-e44c7975.mjs} +10 -9
  88. package/{index-a039036e.mjs → index-254a82b7.mjs} +49 -48
  89. package/index-30c0a14f.mjs +57 -0
  90. package/{index-f2c2d1cf.mjs → index-7890e2b4.mjs} +1 -1
  91. package/{index-c5a79b0b.mjs → index-7bab525f.mjs} +3 -3
  92. package/{index-1a2e8832.mjs → index-9bebbfe5.mjs} +2 -2
  93. package/{index-cce225be.mjs → index-bc0d747e.mjs} +2 -2
  94. package/index-c5737cbb.mjs +268 -0
  95. package/main.index.js +1 -1
  96. package/package.json +1 -1
  97. package/style.css +1 -1
  98. package/{useCgformList-f3cb9156.mjs → useCgformList-52631580.mjs} +105 -88
  99. package/{useCustomHook-acb00837.mjs → useCustomHook-3a17a690.mjs} +11 -9
  100. package/{useExtendComponent-bb98e568.mjs → useExtendComponent-d1db211d.mjs} +607 -607
  101. package/useListButton-7f9674a0.mjs +765 -0
  102. package/{useTableSync-075826a1.mjs → useTableSync-dbfba20e.mjs} +31 -31
  103. package/CgformAddressModal-1131274c.mjs +0 -260
  104. package/CgformCopyList-5fba0810.mjs +0 -252
  105. package/DBAttributeTable-1a45c7b7.mjs +0 -502
  106. package/OnlCgformErpList-5c5acdaa.mjs +0 -488
  107. package/OnlineAutoList-84475f1b.mjs +0 -513
  108. package/OnlineAutoTreeList-20b9ce04.mjs +0 -523
  109. package/index-2fb8e07f.mjs +0 -239
  110. package/index-9e1e1e53.mjs +0 -57
  111. package/useListButton-98908683.mjs +0 -719
@@ -0,0 +1,531 @@
1
+ var v = (e, h, p) => new Promise((i, S) => {
2
+ var w = (a) => {
3
+ try {
4
+ C(p.next(a));
5
+ } catch (y) {
6
+ S(y);
7
+ }
8
+ }, m = (a) => {
9
+ try {
10
+ C(p.throw(a));
11
+ } catch (y) {
12
+ S(y);
13
+ }
14
+ }, C = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(w, m);
15
+ C((p = p.apply(e, h)).next());
16
+ });
17
+ import { BasicTable as _e, TableAction as Ue } from "/@/components/Table";
18
+ import { useMessage as We } from "/@/hooks/web/useMessage";
19
+ import Ge from "./OnlineAutoModal-38f2d522.mjs";
20
+ import Xe from "./OnlineDetailModal-79085ba8.mjs";
21
+ import Ye from "./OnlineCustomModal-7e31297e.mjs";
22
+ import { ref as P, watch as Ze, resolveComponent as u, openBlock as l, createElementBlock as c, createBlock as d, createCommentVNode as g, withDirectives as V, createVNode as f, vShow as z, normalizeClass as xe, withCtx as r, createElementVNode as R, toDisplayString as b, Fragment as j, renderList as en, createTextVNode as $, mergeProps as nn, toHandlers as on, resolveDynamicComponent as tn, normalizeProps as ln, guardReactiveProps as an } from "vue";
23
+ import rn from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
+ import { u as sn, a as un } from "./useListButton-7f9674a0.mjs";
25
+ import { u as dn, a as pn, g as mn } from "./useExtendComponent-d1db211d.mjs";
26
+ import { defHttp as cn } from "/@/utils/http/axios";
27
+ import gn from "./OnlineQueryForm-528af6ed.mjs";
28
+ import fn from "./SuperQuery-290f5080.mjs";
29
+ import { b as _ } from "./constant-fa63bd66.mjs";
30
+ import { Loading as hn } from "/@/components/Loading";
31
+ import { _ as Cn } from "./index-30c0a14f.mjs";
32
+ import "/@/components/Modal";
33
+ import "./OnlineForm-0438f4bf.mjs";
34
+ import "/@/components/Form/index";
35
+ import "lodash-es";
36
+ import "/@/utils";
37
+ import "/@/components/jeecg/JVxeTable/types";
38
+ import "/@/utils/auth";
39
+ import "@ant-design/icons-vue";
40
+ import "/@/hooks/core/useContext";
41
+ import "/@/utils/mitt";
42
+ import "./useCustomHook-3a17a690.mjs";
43
+ import "/@/utils/cache";
44
+ import "/@/utils/common/compUtils";
45
+ import "/@/store/modules/user";
46
+ import "/@/hooks/web/useAppInject";
47
+ import "/@/utils/is";
48
+ import "/@/store/modules/permission";
49
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
50
+ import "/@/components/Form/src/componentMap";
51
+ import "/@/utils/propTypes";
52
+ import "/@/components/Form/src/jeecg/components/JUpload";
53
+ import "/@/views/system/user/user.api";
54
+ import "/@/utils/desform/customExpression";
55
+ import "/@/utils/dict/JDictSelectUtil";
56
+ import "/@/hooks/system/useListPage";
57
+ import "vue-router";
58
+ import "/@/components/Form/src/utils/Area";
59
+ import "/@/components/Preview/index";
60
+ import "./LinkTableListPiece-4187ad7d.mjs";
61
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
62
+ import "/@/api/common/api";
63
+ import "/@/assets/images/placeholderImage.png";
64
+ import "./OnlineSelectCascade-b218691c.mjs";
65
+ import "./JModalTip-b1d19eaa.mjs";
66
+ import "ant-design-vue";
67
+ import "@vueuse/core";
68
+ import "/@/components/jeecg/comment/CommentPanel.vue";
69
+ import "./OnlineFormDetail-76d243ed.mjs";
70
+ import "./DetailForm-b92a5e9d.mjs";
71
+ import "/@/utils/dict";
72
+ import "/@/utils/dict/index";
73
+ import "/@/components/Markdown";
74
+ import "./OnlineSubFormDetail-a1b7f33f.mjs";
75
+ import "/@/router";
76
+ import "/@/hooks/core/onMountedOrActivated";
77
+ import "/@/store/modules/multipleTab";
78
+ import "./cgformState-d9f8ec42.mjs";
79
+ import "pinia";
80
+ import "/@/store";
81
+ import "/@/router/menus";
82
+ import "/@/hooks/system/useMethods";
83
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
84
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
85
+ import "/@/utils/index";
86
+ import "/@/hooks/web/useDesign";
87
+ const yn = {
88
+ name: "DefaultOnlineList",
89
+ components: {
90
+ BasicTable: _e,
91
+ TableAction: Ue,
92
+ OnlineAutoModal: Ge,
93
+ JImportModal: rn,
94
+ OnlineQueryForm: gn,
95
+ OnlineSuperQuery: fn,
96
+ OnlineCustomModal: Ye,
97
+ OnlineDetailModal: Xe,
98
+ Loading: hn
99
+ },
100
+ setup() {
101
+ const { createMessage: e } = We(), h = P(), {
102
+ ID: p,
103
+ onlineTableContext: i,
104
+ onlineQueryFormOuter: S,
105
+ loading: w,
106
+ reload: m,
107
+ dataSource: C,
108
+ pagination: a,
109
+ handleSpecialConfig: y,
110
+ getColumnList: D,
111
+ handleChangeInTable: E,
112
+ loadData: L,
113
+ superQueryButtonRef: T,
114
+ superQueryStatus: A,
115
+ handleSuperQuery: O,
116
+ registerCustomModal: H,
117
+ getTreeDataByResult: q,
118
+ expandedRowKeys: n,
119
+ handleExpandedRowsChange: s,
120
+ tableReloading: B,
121
+ onlineExtConfigJson: M,
122
+ handleFormConfig: U,
123
+ pageLoading: W
124
+ } = sn();
125
+ if (!p.value)
126
+ throw e.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
127
+ i.isTree(!0);
128
+ let { initCgEnhanceJs: G } = dn(i);
129
+ const {
130
+ buttonSwitch: X,
131
+ cgLinkButtonList: Y,
132
+ cgBIBtnMap: Z,
133
+ getQueryButtonCfg: x,
134
+ getResetButtonCfg: ee,
135
+ getFormConfirmButtonCfg: ne,
136
+ cgTopButtonList: oe,
137
+ importUrl: te,
138
+ registerModal: ie,
139
+ handleAdd: J,
140
+ handleEdit: le,
141
+ handleBatchDelete: ae,
142
+ registerImportModal: re,
143
+ onImportExcel: se,
144
+ onExportExcel: ue,
145
+ cgButtonJsHandler: de,
146
+ cgButtonActionHandler: pe,
147
+ cgButtonLinkHandler: me,
148
+ handleSubmitFlow: ce,
149
+ getDropDownActions: ge,
150
+ getActions: fe,
151
+ initButtonList: he,
152
+ initButtonSwitch: Ce,
153
+ registerDetailModal: ye
154
+ } = un(i, M), {
155
+ columns: Be,
156
+ actionColumn: be,
157
+ selectedKeys: we,
158
+ rowSelection: Ie,
159
+ enableScrollBar: Se,
160
+ tableScroll: Te,
161
+ downloadRowFile: ke,
162
+ getImgView: Re,
163
+ getPcaText: Me,
164
+ getFormatDate: Fe,
165
+ handleColumnResult: ve,
166
+ hrefComponent: De,
167
+ viewOnlineCellImage: Ee,
168
+ handleClickFieldHref: Le
169
+ } = pn(i, M);
170
+ Ze(
171
+ p,
172
+ () => {
173
+ Ae();
174
+ },
175
+ { immediate: !0 }
176
+ );
177
+ function Ae() {
178
+ return v(this, null, function* () {
179
+ w.value = !0;
180
+ let o = yield D(_);
181
+ Oe(o), yield L(), w.value = !1, i.execButtonEnhance("setup");
182
+ });
183
+ }
184
+ function Oe(o) {
185
+ let t = G(o.enhanceJs);
186
+ i.EnhanceJS = t, he(o.cgButtonList), Ce(o.hideColumns), ve(o), y(o), i.hasChildrenField = o.hasChildrenField, i.pidField = o.pidField;
187
+ }
188
+ function He(o, t) {
189
+ i.queryParam = o, t === !0 ? m({ mode: "search" }) : N();
190
+ }
191
+ function qe(o) {
192
+ return v(this, null, function* () {
193
+ yield mn(T), T.value.init(o);
194
+ });
195
+ }
196
+ function Qe(o, t) {
197
+ let I = n.value;
198
+ if (o) {
199
+ if ($e(t.id), t.children.length > 0 && t.children[0].isLoading === !0) {
200
+ let k = i.hasChildrenField;
201
+ const { sortField: Ve, sortType: ze } = i;
202
+ let Q = Object.assign({}, { column: Ve, order: ze });
203
+ Q[i.pidField] = t.id, Q[k] = t[k];
204
+ let je = `${i.onlineUrl.getTreeData}${i.ID}`;
205
+ cn.get({ url: je, params: Q }, { isTransformResponse: !1 }).then((F) => {
206
+ F.success ? Number(F.result.total) > 0 ? t.children = q(F.result.records) : (t.children = "", t.hasChildrenField = "0") : e.warning(F.message);
207
+ }).catch(() => {
208
+ e.warning("加载子节点失败!");
209
+ });
210
+ }
211
+ } else {
212
+ let k = I.indexOf(t.id);
213
+ k >= 0 && (n.value = I.splice(k, 1));
214
+ }
215
+ }
216
+ function $e(o) {
217
+ let t = n.value;
218
+ t && t.indexOf(o) < 0 && t.push(o), n.value = t;
219
+ }
220
+ function N() {
221
+ return v(this, null, function* () {
222
+ i.isTree() === !0 && (n.value = [], h.value.collapseAll()), m();
223
+ });
224
+ }
225
+ function Je(o) {
226
+ if (K.value === !0) {
227
+ let t = o[i.pidField];
228
+ if (t) {
229
+ let I = n.value;
230
+ I.indexOf(t) < 0 && I.push(t), n.value = I;
231
+ }
232
+ }
233
+ m();
234
+ }
235
+ const Ne = (o) => ({
236
+ label: "添加下级",
237
+ onClick: Ke.bind(null, o)
238
+ }), K = P(!1);
239
+ function Ke(o) {
240
+ K.value = !0;
241
+ let t = {
242
+ [i.pidField]: o.id
243
+ };
244
+ J(t);
245
+ }
246
+ function Pe(o) {
247
+ let t = ge(o, { themeTemplate: _ });
248
+ return t.unshift(Ne(o)), t;
249
+ }
250
+ return {
251
+ ID: p,
252
+ // 查询区域
253
+ onlineQueryFormOuter: S,
254
+ queryWithCondition: He,
255
+ onQueryFormLoaded: qe,
256
+ reload: m,
257
+ //高级查询
258
+ superQueryButtonRef: T,
259
+ superQueryStatus: A,
260
+ handleSuperQuery: O,
261
+ // table区域
262
+ loading: w,
263
+ columns: Be,
264
+ actionColumn: be,
265
+ dataSource: C,
266
+ pagination: a,
267
+ rowSelection: Ie,
268
+ selectedKeys: we,
269
+ tableScroll: Te,
270
+ enableScrollBar: Se,
271
+ handleChangeInTable: E,
272
+ //按钮
273
+ buttonSwitch: X,
274
+ handleAdd: J,
275
+ handleEdit: le,
276
+ onImportExcel: se,
277
+ onExportExcel: ue,
278
+ cgBIBtnMap: Z,
279
+ getQueryButtonCfg: x,
280
+ getResetButtonCfg: ee,
281
+ getFormConfirmButtonCfg: ne,
282
+ cgTopButtonList: oe,
283
+ cgLinkButtonList: Y,
284
+ cgButtonJsHandler: de,
285
+ cgButtonActionHandler: pe,
286
+ cgButtonLinkHandler: me,
287
+ handleBatchDelete: ae,
288
+ // table-slot
289
+ downloadRowFile: ke,
290
+ getImgView: Re,
291
+ getPcaText: Me,
292
+ getFormatDate: Fe,
293
+ // 操作列
294
+ getActions: fe,
295
+ getTreeDropDownActions: Pe,
296
+ // 弹窗
297
+ registerModal: ie,
298
+ registerCustomModal: H,
299
+ registerImportModal: re,
300
+ importUrl: te,
301
+ handleFormConfig: U,
302
+ //其他
303
+ tableReloading: B,
304
+ handleSubmitFlow: ce,
305
+ hrefComponent: De,
306
+ viewOnlineCellImage: Ee,
307
+ //树特定的配置
308
+ onlineTreeTableRef: h,
309
+ handlerFormSuccess: Je,
310
+ searchReset: N,
311
+ handleExpand: Qe,
312
+ expandedRowKeys: n,
313
+ handleExpandedRowsChange: s,
314
+ registerDetailModal: ye,
315
+ handleClickFieldHref: Le,
316
+ pageLoading: W
317
+ };
318
+ }
319
+ // 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
320
+ // 2. value的问题
321
+ // 3. 变量位置改变后需要 重写api
322
+ // 1添加按钮的时候 预留出样式对象 然后js增强中设置样式对象
323
+ // 2直接设置css字符串 然后通过js document 往head里面增加css片段 全局生效
324
+ // TODO 清空高级查询
325
+ // TODO 积木报表打印地址
326
+ // const reportPrintUrl = ref('')
327
+ };
328
+ const Bn = { class: "p-2" }, bn = {
329
+ key: 0,
330
+ style: { "font-size": "12px", "font-style": "italic" }
331
+ }, wn = {
332
+ key: 0,
333
+ style: { "font-size": "12px", "font-style": "italic" }
334
+ }, In = ["src", "onClick"], Sn = ["innerHTML", "onClick"], Tn = ["innerHTML"], kn = ["title"];
335
+ function Rn(e, h, p, i, S, w) {
336
+ const m = u("a-skeleton"), C = u("online-query-form"), a = u("a-button"), y = u("online-super-query"), D = u("TableAction"), E = u("BasicTable"), L = u("OnlineAutoModal"), T = u("JImportModal"), A = u("a-modal"), O = u("online-custom-modal"), H = u("online-detail-modal"), q = u("Loading");
337
+ return l(), c("div", Bn, [
338
+ e.tableReloading ? (l(), d(m, {
339
+ key: 0,
340
+ active: ""
341
+ })) : g("", !0),
342
+ V(f(C, {
343
+ ref: "onlineQueryFormOuter",
344
+ id: e.ID,
345
+ queryBtnCfg: e.getQueryButtonCfg,
346
+ resetBtnCfg: e.getResetButtonCfg,
347
+ onSearch: e.queryWithCondition,
348
+ onLoaded: e.onQueryFormLoaded
349
+ }, null, 8, ["id", "queryBtnCfg", "resetBtnCfg", "onSearch", "onLoaded"]), [
350
+ [z, !e.tableReloading]
351
+ ]),
352
+ e.tableReloading ? g("", !0) : (l(), d(E, {
353
+ key: 1,
354
+ ref: "onlineTreeTableRef",
355
+ isTreeTable: !0,
356
+ expandedRowKeys: e.expandedRowKeys,
357
+ onExpandedRowsChange: e.handleExpandedRowsChange,
358
+ onExpand: e.handleExpand,
359
+ rowKey: "jeecg_row_key",
360
+ canResize: !0,
361
+ bordered: !0,
362
+ showIndexColumn: !1,
363
+ loading: e.loading,
364
+ columns: e.columns,
365
+ dataSource: e.dataSource,
366
+ pagination: e.pagination,
367
+ rowSelection: e.rowSelection,
368
+ actionColumn: e.actionColumn,
369
+ showTableSetting: !0,
370
+ clickToRowSelect: !1,
371
+ scroll: e.tableScroll,
372
+ onTableRedo: e.reload,
373
+ class: xe({ "j-table-force-nowrap": e.enableScrollBar }),
374
+ onChange: e.handleChangeInTable
375
+ }, {
376
+ tableTitle: r(() => [
377
+ e.buttonSwitch.add && e.cgBIBtnMap.add.enabled ? (l(), d(a, {
378
+ key: 0,
379
+ type: "primary",
380
+ preIcon: e.cgBIBtnMap.add.buttonIcon,
381
+ onClick: e.handleAdd
382
+ }, {
383
+ default: r(() => [
384
+ R("span", null, b(e.cgBIBtnMap.add.buttonName), 1)
385
+ ]),
386
+ _: 1
387
+ }, 8, ["preIcon", "onClick"])) : g("", !0),
388
+ e.buttonSwitch.export && e.cgBIBtnMap.export.enabled ? (l(), d(a, {
389
+ key: 1,
390
+ type: "primary",
391
+ preIcon: e.cgBIBtnMap.export.buttonIcon,
392
+ onClick: e.onExportExcel
393
+ }, {
394
+ default: r(() => [
395
+ R("span", null, b(e.cgBIBtnMap.export.buttonName), 1)
396
+ ]),
397
+ _: 1
398
+ }, 8, ["preIcon", "onClick"])) : g("", !0),
399
+ e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (l(!0), c(j, { key: 2 }, en(e.cgTopButtonList, (n, s) => (l(), c(j, null, [
400
+ n.optType == "js" ? (l(), d(a, {
401
+ key: "cgbtn" + s,
402
+ onClick: (B) => e.cgButtonJsHandler(n.buttonCode),
403
+ type: "primary",
404
+ preIcon: n.buttonIcon ? "ant-design:" + n.buttonIcon : ""
405
+ }, {
406
+ default: r(() => [
407
+ $(b(n.buttonName), 1)
408
+ ]),
409
+ _: 2
410
+ }, 1032, ["onClick", "preIcon"])) : n.optType == "action" ? (l(), d(a, {
411
+ key: "cgbtn" + s,
412
+ onClick: (B) => e.cgButtonActionHandler(n.buttonCode),
413
+ type: "primary",
414
+ preIcon: n.buttonIcon ? "ant-design:" + n.buttonIcon : ""
415
+ }, {
416
+ default: r(() => [
417
+ $(b(n.buttonName), 1)
418
+ ]),
419
+ _: 2
420
+ }, 1032, ["onClick", "preIcon"])) : g("", !0)
421
+ ], 64))), 256)) : g("", !0),
422
+ e.buttonSwitch.batch_delete && e.cgBIBtnMap.batch_delete.enabled ? V((l(), d(a, {
423
+ key: 3,
424
+ preIcon: e.cgBIBtnMap.batch_delete.buttonIcon,
425
+ onClick: e.handleBatchDelete
426
+ }, {
427
+ default: r(() => [
428
+ R("span", null, b(e.cgBIBtnMap.batch_delete.buttonName), 1)
429
+ ]),
430
+ _: 1
431
+ }, 8, ["preIcon", "onClick"])), [
432
+ [z, e.selectedKeys.length > 0]
433
+ ]) : g("", !0),
434
+ e.buttonSwitch.super_query && e.cgBIBtnMap.super_query.enabled ? (l(), d(y, {
435
+ key: 4,
436
+ ref: "superQueryButtonRef",
437
+ online: "",
438
+ status: e.superQueryStatus,
439
+ queryBtnCfg: e.cgBIBtnMap.super_query,
440
+ onSearch: e.handleSuperQuery
441
+ }, null, 8, ["status", "queryBtnCfg", "onSearch"])) : g("", !0)
442
+ ]),
443
+ fileSlot: r(({ text: n, record: s, column: B }) => [
444
+ n ? (l(), d(a, {
445
+ key: 1,
446
+ ghost: !0,
447
+ type: "primary",
448
+ preIcon: "ant-design:download",
449
+ size: "small",
450
+ onClick: (M) => e.downloadRowFile(n, s, B, e.ID)
451
+ }, {
452
+ default: r(() => h[0] || (h[0] = [
453
+ $(" 下载 ")
454
+ ])),
455
+ _: 2
456
+ }, 1032, ["onClick"])) : (l(), c("span", bn, "无文件"))
457
+ ]),
458
+ imgSlot: r(({ text: n }) => [
459
+ n ? (l(), c("img", {
460
+ key: 1,
461
+ src: e.getImgView(n),
462
+ alt: "图片不存在",
463
+ class: "online-cell-image",
464
+ onClick: (s) => e.viewOnlineCellImage(n)
465
+ }, null, 8, In)) : (l(), c("span", wn, "无图片"))
466
+ ]),
467
+ htmlSlot: r(({ text: n, column: s, record: B }) => [
468
+ s.fieldHref ? (l(), c("a", {
469
+ key: 0,
470
+ innerHTML: n,
471
+ onClick: (M) => e.handleClickFieldHref(s.fieldHref, B)
472
+ }, null, 8, Sn)) : (l(), c("div", {
473
+ key: 1,
474
+ innerHTML: n
475
+ }, null, 8, Tn))
476
+ ]),
477
+ pcaSlot: r(({ text: n }) => [
478
+ R("div", {
479
+ title: e.getPcaText(n)
480
+ }, b(e.getPcaText(n)), 9, kn)
481
+ ]),
482
+ dateSlot: r(({ text: n, column: s }) => [
483
+ R("span", null, b(e.getFormatDate(n, s)), 1)
484
+ ]),
485
+ action: r(({ record: n }) => [
486
+ f(D, {
487
+ actions: e.getActions(n),
488
+ dropDownActions: e.getTreeDropDownActions(n)
489
+ }, null, 8, ["actions", "dropDownActions"])
490
+ ]),
491
+ _: 1
492
+ }, 8, ["expandedRowKeys", "onExpandedRowsChange", "onExpand", "loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
493
+ f(L, {
494
+ onRegister: e.registerModal,
495
+ id: e.ID,
496
+ cgBIBtnMap: e.cgBIBtnMap,
497
+ buttonSwitch: e.buttonSwitch,
498
+ confirmBtnCfg: e.getFormConfirmButtonCfg,
499
+ onSuccess: e.handlerFormSuccess,
500
+ onFormConfig: e.handleFormConfig
501
+ }, null, 8, ["onRegister", "id", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg", "onSuccess", "onFormConfig"]),
502
+ f(T, {
503
+ onRegister: e.registerImportModal,
504
+ url: e.importUrl(),
505
+ onOk: e.reload,
506
+ online: ""
507
+ }, null, 8, ["onRegister", "url", "onOk"]),
508
+ f(A, nn(e.hrefComponent.model, on(e.hrefComponent.on)), {
509
+ default: r(() => [
510
+ (l(), d(tn(e.hrefComponent.is), ln(an(e.hrefComponent.params)), null, 16))
511
+ ]),
512
+ _: 1
513
+ }, 16),
514
+ f(O, {
515
+ onRegister: e.registerCustomModal,
516
+ onSuccess: e.reload
517
+ }, null, 8, ["onRegister", "onSuccess"]),
518
+ f(H, {
519
+ id: e.ID,
520
+ onRegister: e.registerDetailModal
521
+ }, null, 8, ["id", "onRegister"]),
522
+ f(q, {
523
+ loading: e.pageLoading,
524
+ absolute: !0
525
+ }, null, 8, ["loading"])
526
+ ]);
527
+ }
528
+ const _o = /* @__PURE__ */ Cn(yn, [["render", Rn]]);
529
+ export {
530
+ _o as default
531
+ };
@@ -16,11 +16,11 @@ var c = (o, s, r) => new Promise((m, p) => {
16
16
  });
17
17
  import { defineComponent as z, ref as i, nextTick as T, watch as J, reactive as Q, markRaw as W, defineAsyncComponent as X, resolveComponent as F, openBlock as S, createBlock as k, mergeProps as Y, withCtx as f, createVNode as R, createTextVNode as P, resolveDynamicComponent as Z } from "vue";
18
18
  import { BasicModal as x, useModalInner as oo } from "/@/components/Modal";
19
- import { g as I } from "./useExtendComponent-bb98e568.mjs";
19
+ import { g as I } from "./useExtendComponent-d1db211d.mjs";
20
20
  import { defHttp as eo } from "/@/utils/http/axios";
21
- import to from "./OnlineForm-58282699.mjs";
21
+ import to from "./OnlineForm-0438f4bf.mjs";
22
22
  import { importViewsFile as no } from "/@/utils";
23
- import { _ as ro } from "./index-9e1e1e53.mjs";
23
+ import { _ as ro } from "./index-30c0a14f.mjs";
24
24
  import "/@/components/Form/src/componentMap";
25
25
  import "/@/utils/propTypes";
26
26
  import "@ant-design/icons-vue";
@@ -41,21 +41,21 @@ import "/@/hooks/system/useListPage";
41
41
  import "vue-router";
42
42
  import "/@/components/Form/src/utils/Area";
43
43
  import "/@/components/Preview/index";
44
- import "./LinkTableListPiece-e016b8e6.mjs";
44
+ import "./LinkTableListPiece-4187ad7d.mjs";
45
45
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
46
46
  import "/@/utils/auth";
47
47
  import "/@/api/common/api";
48
48
  import "/@/hooks/web/useAppInject";
49
49
  import "/@/assets/images/placeholderImage.png";
50
- import "./OnlineSelectCascade-d631ed72.mjs";
50
+ import "./OnlineSelectCascade-b218691c.mjs";
51
51
  import "/@/components/Loading";
52
- import "./JModalTip-a927f85d.mjs";
52
+ import "./JModalTip-b1d19eaa.mjs";
53
53
  import "ant-design-vue";
54
54
  import "@vueuse/core";
55
55
  import "/@/components/jeecg/JVxeTable/types";
56
56
  import "/@/hooks/core/useContext";
57
57
  import "/@/utils/mitt";
58
- import "./useCustomHook-acb00837.mjs";
58
+ import "./useCustomHook-3a17a690.mjs";
59
59
  import "/@/utils/cache";
60
60
  import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
61
61
  const io = {
@@ -16,17 +16,17 @@ var c = (e, i, o) => new Promise((l, n) => {
16
16
  });
17
17
  import { defineComponent as P, ref as v, watch as O, resolveComponent as d, openBlock as u, createBlock as b, mergeProps as E, withCtx as s, createElementVNode as L, toDisplayString as V, createCommentVNode as j, renderSlot as A, createVNode as C } from "vue";
18
18
  import { BasicModal as W } from "/@/components/Modal";
19
- import q from "./OnlineFormDetail-fc087725.mjs";
20
- import { b as H } from "./useExtendComponent-bb98e568.mjs";
19
+ import q from "./OnlineFormDetail-76d243ed.mjs";
20
+ import { b as H } from "./useExtendComponent-d1db211d.mjs";
21
21
  import U from "/@/components/jeecg/comment/CommentPanel.vue";
22
22
  import { a as z } from "./constant-fa63bd66.mjs";
23
- import { _ as G } from "./index-9e1e1e53.mjs";
23
+ import { _ as G } from "./index-30c0a14f.mjs";
24
24
  import "/@/hooks/web/useMessage";
25
25
  import "/@/components/Loading";
26
26
  import "/@/utils/auth";
27
27
  import "/@/utils";
28
28
  import "@ant-design/icons-vue";
29
- import "./DetailForm-c592b8d8.mjs";
29
+ import "./DetailForm-b92a5e9d.mjs";
30
30
  import "/@/utils/propTypes";
31
31
  import "/@/utils/dict";
32
32
  import "/@/utils/dict/JDictSelectUtil";
@@ -49,15 +49,15 @@ import "/@/store/modules/permission";
49
49
  import "/@/components/Table";
50
50
  import "/@/hooks/system/useListPage";
51
51
  import "vue-router";
52
- import "./LinkTableListPiece-e016b8e6.mjs";
52
+ import "./LinkTableListPiece-4187ad7d.mjs";
53
53
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
54
54
  import "/@/hooks/web/useAppInject";
55
55
  import "/@/assets/images/placeholderImage.png";
56
- import "./OnlineSelectCascade-d631ed72.mjs";
57
- import "./JModalTip-a927f85d.mjs";
56
+ import "./OnlineSelectCascade-b218691c.mjs";
57
+ import "./JModalTip-b1d19eaa.mjs";
58
58
  import "ant-design-vue";
59
59
  import "@vueuse/core";
60
- import "./OnlineSubFormDetail-8be879b9.mjs";
60
+ import "./OnlineSubFormDetail-a1b7f33f.mjs";
61
61
  const J = P({
62
62
  name: "OnlineDetailModal",
63
63
  props: {
@@ -29,7 +29,7 @@ var _ = (u, p, s) => new Promise((a, R) => {
29
29
  import { useMessage as tn } from "/@/hooks/web/useMessage";
30
30
  import { ref as v, inject as nn, reactive as ln, watch as on, computed as an, resolveComponent as D, openBlock as V, createElementBlock as te, normalizeClass as rn, createVNode as H, createBlock as ne, withCtx as G, Fragment as sn, renderList as un, normalizeStyle as cn, createElementVNode as Ve, toDisplayString as Be, createCommentVNode as fe, renderSlot as fn, unref as Ie, nextTick as je, toRaw as J } from "vue";
31
31
  import { BasicForm as dn, useForm as mn } from "/@/components/Form/index";
32
- import { c as pn, O as gn, d as hn, e as bn, u as yn, l as Y, k as vn, g as Fn, V as z, S as Sn, f as wn, h as Ne, j as de } from "./useExtendComponent-bb98e568.mjs";
32
+ import { c as pn, O as gn, d as hn, e as bn, u as yn, l as Y, k as vn, g as Fn, V as z, S as Sn, f as wn, h as Ne, j as de } from "./useExtendComponent-d1db211d.mjs";
33
33
  import { defHttp as le } from "/@/utils/http/axios";
34
34
  import { pick as kn, omit as Je, debounce as Tn, cloneDeep as Cn } from "lodash-es";
35
35
  import { sleep as _n, goJmReportViewPage as On } from "/@/utils";
@@ -40,13 +40,13 @@ import { PrinterOutlined as Rn } from "@ant-design/icons-vue";
40
40
  import "/@/hooks/core/useContext";
41
41
  import "/@/utils/mitt";
42
42
  import { useModal as En } from "/@/components/Modal";
43
- import { u as xn, G as Mn } from "./useCustomHook-acb00837.mjs";
43
+ import { u as xn, G as Mn } from "./useCustomHook-3a17a690.mjs";
44
44
  import { E as oe } from "./constant-fa63bd66.mjs";
45
45
  import { useAppInject as Dn } from "/@/hooks/web/useAppInject";
46
46
  import { isArray as Vn } from "/@/utils/is";
47
47
  import { usePermissionStore as Bn } from "/@/store/modules/permission";
48
48
  import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
49
- import { _ as In } from "./index-9e1e1e53.mjs";
49
+ import { _ as In } from "./index-30c0a14f.mjs";
50
50
  import "/@/components/Form/src/componentMap";
51
51
  import "/@/utils/propTypes";
52
52
  import "/@/utils/common/compUtils";
@@ -60,12 +60,12 @@ import "/@/hooks/system/useListPage";
60
60
  import "vue-router";
61
61
  import "/@/components/Form/src/utils/Area";
62
62
  import "/@/components/Preview/index";
63
- import "./LinkTableListPiece-e016b8e6.mjs";
63
+ import "./LinkTableListPiece-4187ad7d.mjs";
64
64
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
65
65
  import "/@/api/common/api";
66
66
  import "/@/assets/images/placeholderImage.png";
67
- import "./OnlineSelectCascade-d631ed72.mjs";
68
- import "./JModalTip-a927f85d.mjs";
67
+ import "./OnlineSelectCascade-b218691c.mjs";
68
+ import "./JModalTip-b1d19eaa.mjs";
69
69
  import "ant-design-vue";
70
70
  import "@vueuse/core";
71
71
  import "/@/utils/cache";