@jeecg/online 3.7.1-RC → 3.7.4-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 (143) hide show
  1. package/AccountLoginForm-84cbd344.mjs +254 -0
  2. package/AiModal-26903538.mjs +84 -0
  3. package/AppForgetPassword-52443f23.mjs +310 -0
  4. package/AppLogin-ecf798fa.mjs +287 -0
  5. package/AppLoginHeader-4432c584.mjs +27 -0
  6. package/AppNameEmail-3303a037.mjs +180 -0
  7. package/AppRegister-79a62c59.mjs +303 -0
  8. package/AppTenant-f0bef7ca.mjs +373 -0
  9. package/AppThirdForm-fd8b4604.mjs +189 -0
  10. package/AuthButtonConfig-d5bffca0.mjs +156 -0
  11. package/AuthButtonTree-b0bd6c40.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-d3b7afa4.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-f14a98d9.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-f1e224cc.mjs} +71 -71
  15. package/AuthFieldTree-5cc0da05.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-32556109.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-364f1f67.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1131274c.mjs +260 -0
  21. package/CgformCopyList-5fba0810.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-c4a4e0c2.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-8a84aae5.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-8a938e3a.mjs} +3 -3
  25. package/CodeFileListModal-a924902a.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-405e2b58.mjs} +66 -66
  27. package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
  28. package/CustomButtonList-c453b654.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-1a45c7b7.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-f28ff0a3.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c592b8d8.mjs} +5 -5
  32. package/DropMenuItem-1e49abea.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-dc4f9ade.mjs} +104 -104
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-2ded2014.mjs} +3 -3
  44. package/JModalTip-a927f85d.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-04ec87d0.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-52cb6743.mjs} +1 -1
  47. package/LeftRole-b0e0b496.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-dd4b10e2.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
  53. package/OnlCgformErpList-5c5acdaa.mjs +488 -0
  54. package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +38 -38
  56. package/OnlCgformInnerTableList-b283a525.mjs +474 -0
  57. package/OnlCgformTabList-91e3dd78.mjs +424 -0
  58. package/OnlineAutoList-84475f1b.mjs +513 -0
  59. package/OnlineAutoModal-95f46901.mjs +260 -0
  60. package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
  61. package/OnlineCustomModal-c8b1e780.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
  63. package/OnlineForm-58282699.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-ad912560.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
  69. package/OnlineQueryForm-9248341f.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-8be879b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
  75. package/OnlineTabForm-1940e88b.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-66e7b485.mjs} +108 -108
  78. package/PhoneLoginForm-86437a9d.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-98ede18d.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-65d3f54f.mjs} +3 -3
  81. package/SetSwitchOptions-f914bc17.mjs +62 -0
  82. package/ShareAddView-657f0f8b.mjs +86 -0
  83. package/ShareEditView-1b945fd3.mjs +92 -0
  84. package/ShareView-222ed3d8.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
  86. package/SingleView-23b0cb4e.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
  88. package/SuperQuery-46032e66.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/button.data-fe45d43b.mjs +12 -0
  94. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  95. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  96. package/index-19eaef11.mjs +11 -0
  97. package/index-1a2e8832.mjs +135 -0
  98. package/{index-f30613d1.mjs → index-2fb8e07f.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-9e1e1e53.mjs +57 -0
  101. package/{index-30e0e923.mjs → index-a039036e.mjs} +272 -262
  102. package/index-c5a79b0b.mjs +219 -0
  103. package/index-cce225be.mjs +110 -0
  104. package/index-f2c2d1cf.mjs +74 -0
  105. package/main.index.js +1 -1
  106. package/package.json +1 -1
  107. package/shareStore-7de6c7a6.mjs +67 -0
  108. package/style.css +1 -1
  109. package/useCgformList-f3cb9156.mjs +378 -0
  110. package/useExtendComponent-bb98e568.mjs +4460 -0
  111. package/useListButton-98908683.mjs +719 -0
  112. package/{useSchemas-a9c75b0f.mjs → useSchemas-b074f3a1.mjs} +33 -0
  113. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  114. package/utils-9fce7606.mjs +16 -0
  115. package/AiModal-6de335e3.mjs +0 -84
  116. package/AuthButtonConfig-89763932.mjs +0 -154
  117. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  118. package/AuthFieldTree-e326fc38.mjs +0 -232
  119. package/CgformCopyList-365b3e8f.mjs +0 -251
  120. package/CodeFileListModal-24601898.mjs +0 -159
  121. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  122. package/CustomButtonList-f07bc695.mjs +0 -397
  123. package/JModalTip-b055ab60.mjs +0 -49
  124. package/LeftRole-2ed8a2bf.mjs +0 -86
  125. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  126. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  127. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  128. package/OnlCgformTabList-019ad753.mjs +0 -408
  129. package/OnlineAutoList-48589d09.mjs +0 -493
  130. package/OnlineAutoModal-c2928847.mjs +0 -239
  131. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  132. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  133. package/OnlineForm-9f1153ba.mjs +0 -985
  134. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  135. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  136. package/OnlineTabForm-27655c83.mjs +0 -817
  137. package/SetSwitchOptions-b2af757f.mjs +0 -62
  138. package/SuperQuery-a8592995.mjs +0 -967
  139. package/index-1d1a6e56.mjs +0 -57
  140. package/useCgformList-f41d4dc1.mjs +0 -426
  141. package/useExtendComponent-dcae5c78.mjs +0 -4399
  142. package/useListButton-bfac4ecf.mjs +0 -697
  143. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -1,503 +0,0 @@
1
- var B = (e, S, m) => new Promise((i, k) => {
2
- var w = (d) => {
3
- try {
4
- s(m.next(d));
5
- } catch (f) {
6
- k(f);
7
- }
8
- }, g = (d) => {
9
- try {
10
- s(m.throw(d));
11
- } catch (f) {
12
- k(f);
13
- }
14
- }, s = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(w, g);
15
- s((m = m.apply(e, S)).next());
16
- });
17
- import { BasicTable as Je, TableAction as Ke } from "/@/components/Table";
18
- import { useMessage as Pe } from "/@/hooks/web/useMessage";
19
- import qe from "./OnlineAutoModal-c2928847.mjs";
20
- import Ne from "./OnlineDetailModal-d5895734.mjs";
21
- import Ve from "./OnlineCustomModal-9e17b6ce.mjs";
22
- import { ref as K, watch as ze, resolveComponent as p, openBlock as l, createElementBlock as h, createVNode as C, createBlock as c, normalizeClass as je, withCtx as a, createTextVNode as T, createCommentVNode as y, Fragment as P, renderList as Ue, toDisplayString as D, withDirectives as We, vShow as Ge, createElementVNode as q, mergeProps as Xe, toHandlers as Ye, resolveDynamicComponent as Ze, normalizeProps as xe, guardReactiveProps as eo } from "vue";
23
- import oo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
- import { u as no, a as to } from "./useListButton-bfac4ecf.mjs";
25
- import { u as io, a as lo, g as ro } from "./useExtendComponent-dcae5c78.mjs";
26
- import { defHttp as ao } from "/@/utils/http/axios";
27
- import so from "./OnlineQueryForm-eedb9a60.mjs";
28
- import uo from "./SuperQuery-a8592995.mjs";
29
- import { b as N } from "./constant-fa63bd66.mjs";
30
- import { _ as po } from "./index-1d1a6e56.mjs";
31
- import "/@/components/Modal";
32
- import "./OnlineForm-9f1153ba.mjs";
33
- import "/@/components/Form/index";
34
- import "lodash-es";
35
- import "/@/utils";
36
- import "/@/components/Loading";
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-acb00837.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_4657b304_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-f3a8e0d7.mjs";
61
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
62
- import "/@/api/common/api";
63
- import "/@/assets/images/placeholderImage.png";
64
- import "./OnlineSelectCascade-05c40fef.mjs";
65
- import "./JModalTip-b055ab60.mjs";
66
- import "ant-design-vue";
67
- import "@vueuse/core";
68
- import "/@/components/jeecg/comment/CommentPanel.vue";
69
- import "./OnlineFormDetail-022ca117.mjs";
70
- import "./DetailForm-deecbf3d.mjs";
71
- import "/@/utils/dict";
72
- import "/@/utils/dict/index";
73
- import "/@/components/Markdown";
74
- import "./OnlineSubFormDetail-58e896ce.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 "/@/hooks/system/useMethods";
82
- import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
83
- import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
84
- import "/@/utils/index";
85
- import "/@/hooks/web/useDesign";
86
- const mo = {
87
- name: "DefaultOnlineList",
88
- components: {
89
- BasicTable: Je,
90
- TableAction: Ke,
91
- OnlineAutoModal: qe,
92
- JImportModal: oo,
93
- OnlineQueryForm: so,
94
- OnlineSuperQuery: uo,
95
- OnlineCustomModal: Ve,
96
- OnlineDetailModal: Ne
97
- },
98
- setup() {
99
- const { createMessage: e } = Pe(), S = K(), {
100
- ID: m,
101
- onlineTableContext: i,
102
- onlineQueryFormOuter: k,
103
- loading: w,
104
- reload: g,
105
- dataSource: s,
106
- pagination: d,
107
- handleSpecialConfig: f,
108
- getColumnList: E,
109
- handleChangeInTable: v,
110
- loadData: L,
111
- superQueryButtonRef: F,
112
- superQueryStatus: A,
113
- handleSuperQuery: M,
114
- registerCustomModal: o,
115
- getTreeDataByResult: u,
116
- expandedRowKeys: r,
117
- handleExpandedRowsChange: O,
118
- tableReloading: V,
119
- onlineExtConfigJson: _,
120
- handleFormConfig: z
121
- } = no();
122
- if (!m.value)
123
- throw e.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
124
- i.isTree(!0);
125
- let { initCgEnhanceJs: j } = io(i);
126
- const {
127
- buttonSwitch: U,
128
- cgLinkButtonList: W,
129
- cgTopButtonList: G,
130
- importUrl: X,
131
- registerModal: Y,
132
- handleAdd: Q,
133
- handleEdit: Z,
134
- handleBatchDelete: x,
135
- registerImportModal: ee,
136
- onImportExcel: oe,
137
- onExportExcel: ne,
138
- cgButtonJsHandler: te,
139
- cgButtonActionHandler: ie,
140
- cgButtonLinkHandler: le,
141
- handleSubmitFlow: re,
142
- getDropDownActions: ae,
143
- getActions: se,
144
- initButtonList: ue,
145
- initButtonSwitch: de,
146
- registerDetailModal: pe
147
- } = to(i, _), {
148
- columns: me,
149
- actionColumn: ce,
150
- selectedKeys: ge,
151
- rowSelection: he,
152
- enableScrollBar: fe,
153
- tableScroll: Ce,
154
- downloadRowFile: ye,
155
- getImgView: we,
156
- getPcaText: be,
157
- getFormatDate: Te,
158
- handleColumnResult: Se,
159
- hrefComponent: ke,
160
- viewOnlineCellImage: Fe,
161
- handleClickFieldHref: Re
162
- } = lo(i, _);
163
- ze(
164
- m,
165
- () => {
166
- Ie();
167
- },
168
- { immediate: !0 }
169
- );
170
- function Ie() {
171
- return B(this, null, function* () {
172
- w.value = !0;
173
- let n = yield E(N);
174
- Be(n), yield L(), w.value = !1, i.execButtonEnhance("setup");
175
- });
176
- }
177
- function Be(n) {
178
- let t = j(n.enhanceJs);
179
- i.EnhanceJS = t, ue(n.cgButtonList), de(n.hideColumns), Se(n), f(n), i.hasChildrenField = n.hasChildrenField, i.pidField = n.pidField;
180
- }
181
- function De(n, t) {
182
- i.queryParam = n, t === !0 ? g({ mode: "search" }) : $();
183
- }
184
- function Ee(n) {
185
- return B(this, null, function* () {
186
- yield ro(F), F.value.init(n);
187
- });
188
- }
189
- function ve(n, t) {
190
- let b = r.value;
191
- if (n) {
192
- if (Le(t.id), t.children.length > 0 && t.children[0].isLoading === !0) {
193
- let R = i.hasChildrenField;
194
- const { sortField: _e, sortType: Qe } = i;
195
- let H = Object.assign({}, { column: _e, order: Qe });
196
- H[i.pidField] = t.id, H[R] = t[R];
197
- let $e = `${i.onlineUrl.getTreeData}${i.ID}`;
198
- ao.get({ url: $e, params: H }, { isTransformResponse: !1 }).then((I) => {
199
- I.success ? Number(I.result.total) > 0 ? t.children = u(I.result.records) : (t.children = "", t.hasChildrenField = "0") : e.warning(I.message);
200
- }).catch(() => {
201
- e.warning("加载子节点失败!");
202
- });
203
- }
204
- } else {
205
- let R = b.indexOf(t.id);
206
- R >= 0 && (r.value = b.splice(R, 1));
207
- }
208
- }
209
- function Le(n) {
210
- let t = r.value;
211
- t && t.indexOf(n) < 0 && t.push(n), r.value = t;
212
- }
213
- function $() {
214
- return B(this, null, function* () {
215
- i.isTree() === !0 && (r.value = [], S.value.collapseAll()), g();
216
- });
217
- }
218
- function Ae(n) {
219
- if (J.value === !0) {
220
- let t = n[i.pidField];
221
- if (t) {
222
- let b = r.value;
223
- b.indexOf(t) < 0 && b.push(t), r.value = b;
224
- }
225
- }
226
- g();
227
- }
228
- const Me = (n) => ({
229
- label: "添加下级",
230
- onClick: Oe.bind(null, n)
231
- }), J = K(!1);
232
- function Oe(n) {
233
- J.value = !0;
234
- let t = {
235
- [i.pidField]: n.id
236
- };
237
- Q(t);
238
- }
239
- function He(n) {
240
- let t = ae(n, { themeTemplate: N });
241
- return t.unshift(Me(n)), t;
242
- }
243
- return {
244
- ID: m,
245
- // 查询区域
246
- onlineQueryFormOuter: k,
247
- queryWithCondition: De,
248
- onQueryFormLoaded: Ee,
249
- reload: g,
250
- //高级查询
251
- superQueryButtonRef: F,
252
- superQueryStatus: A,
253
- handleSuperQuery: M,
254
- // table区域
255
- loading: w,
256
- columns: me,
257
- actionColumn: ce,
258
- dataSource: s,
259
- pagination: d,
260
- rowSelection: he,
261
- selectedKeys: ge,
262
- tableScroll: Ce,
263
- enableScrollBar: fe,
264
- handleChangeInTable: v,
265
- //按钮
266
- buttonSwitch: U,
267
- handleAdd: Q,
268
- handleEdit: Z,
269
- onImportExcel: oe,
270
- onExportExcel: ne,
271
- cgTopButtonList: G,
272
- cgLinkButtonList: W,
273
- cgButtonJsHandler: te,
274
- cgButtonActionHandler: ie,
275
- cgButtonLinkHandler: le,
276
- handleBatchDelete: x,
277
- // table-slot
278
- downloadRowFile: ye,
279
- getImgView: we,
280
- getPcaText: be,
281
- getFormatDate: Te,
282
- // 操作列
283
- getActions: se,
284
- getTreeDropDownActions: He,
285
- // 弹窗
286
- registerModal: Y,
287
- registerCustomModal: o,
288
- registerImportModal: ee,
289
- importUrl: X,
290
- handleFormConfig: z,
291
- //其他
292
- tableReloading: V,
293
- handleSubmitFlow: re,
294
- hrefComponent: ke,
295
- viewOnlineCellImage: Fe,
296
- //树特定的配置
297
- onlineTreeTableRef: S,
298
- handlerFormSuccess: Ae,
299
- searchReset: $,
300
- handleExpand: ve,
301
- expandedRowKeys: r,
302
- handleExpandedRowsChange: O,
303
- registerDetailModal: pe,
304
- handleClickFieldHref: Re
305
- };
306
- }
307
- // 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
308
- // 2. value的问题
309
- // 3. 变量位置改变后需要 重写api
310
- // 1添加按钮的时候 预留出样式对象 然后js增强中设置样式对象
311
- // 2直接设置css字符串 然后通过js document 往head里面增加css片段 全局生效
312
- // TODO 清空高级查询
313
- // TODO 积木报表打印地址
314
- // const reportPrintUrl = ref('')
315
- };
316
- const co = { class: "p-2" }, go = {
317
- key: 0,
318
- style: { "font-size": "12px", "font-style": "italic" }
319
- }, ho = {
320
- key: 0,
321
- style: { "font-size": "12px", "font-style": "italic" }
322
- }, fo = ["src", "onClick"], Co = ["innerHTML", "onClick"], yo = ["innerHTML"], wo = ["title"];
323
- function bo(e, S, m, i, k, w) {
324
- const g = p("online-query-form"), s = p("a-button"), d = p("online-super-query"), f = p("TableAction"), E = p("BasicTable"), v = p("OnlineAutoModal"), L = p("JImportModal"), F = p("a-modal"), A = p("online-custom-modal"), M = p("online-detail-modal");
325
- return l(), h("div", co, [
326
- C(g, {
327
- ref: "onlineQueryFormOuter",
328
- id: e.ID,
329
- onSearch: e.queryWithCondition,
330
- onLoaded: e.onQueryFormLoaded
331
- }, null, 8, ["id", "onSearch", "onLoaded"]),
332
- e.tableReloading ? y("", !0) : (l(), c(E, {
333
- key: 0,
334
- ref: "onlineTreeTableRef",
335
- isTreeTable: !0,
336
- expandedRowKeys: e.expandedRowKeys,
337
- onExpandedRowsChange: e.handleExpandedRowsChange,
338
- onExpand: e.handleExpand,
339
- rowKey: "jeecg_row_key",
340
- canResize: !0,
341
- bordered: !0,
342
- showIndexColumn: !1,
343
- loading: e.loading,
344
- columns: e.columns,
345
- dataSource: e.dataSource,
346
- pagination: e.pagination,
347
- rowSelection: e.rowSelection,
348
- actionColumn: e.actionColumn,
349
- showTableSetting: !0,
350
- clickToRowSelect: !1,
351
- scroll: e.tableScroll,
352
- onTableRedo: e.reload,
353
- class: je({ "j-table-force-nowrap": e.enableScrollBar }),
354
- onChange: e.handleChangeInTable
355
- }, {
356
- tableTitle: a(() => [
357
- e.buttonSwitch.add ? (l(), c(s, {
358
- key: 0,
359
- preIcon: "ant-design:plus-outlined",
360
- type: "primary",
361
- onClick: e.handleAdd
362
- }, {
363
- default: a(() => [
364
- T("新增")
365
- ]),
366
- _: 1
367
- }, 8, ["onClick"])) : y("", !0),
368
- e.buttonSwitch.export ? (l(), c(s, {
369
- key: 1,
370
- preIcon: "ant-design:export-outlined",
371
- type: "primary",
372
- onClick: e.onExportExcel
373
- }, {
374
- default: a(() => [
375
- T(" 导出")
376
- ]),
377
- _: 1
378
- }, 8, ["onClick"])) : y("", !0),
379
- e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (l(!0), h(P, { key: 2 }, Ue(e.cgTopButtonList, (o, u) => (l(), h(P, null, [
380
- o.optType == "js" ? (l(), c(s, {
381
- key: "cgbtn" + u,
382
- onClick: (r) => e.cgButtonJsHandler(o.buttonCode),
383
- type: "primary",
384
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
385
- }, {
386
- default: a(() => [
387
- T(D(o.buttonName), 1)
388
- ]),
389
- _: 2
390
- }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (l(), c(s, {
391
- key: "cgbtn" + u,
392
- onClick: (r) => e.cgButtonActionHandler(o.buttonCode),
393
- type: "primary",
394
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
395
- }, {
396
- default: a(() => [
397
- T(D(o.buttonName), 1)
398
- ]),
399
- _: 2
400
- }, 1032, ["onClick", "preIcon"])) : y("", !0)
401
- ], 64))), 256)) : y("", !0),
402
- e.buttonSwitch.batch_delete ? We((l(), c(s, {
403
- key: 3,
404
- preIcon: "ant-design:delete-outlined",
405
- onClick: e.handleBatchDelete
406
- }, {
407
- default: a(() => [
408
- T(" 批量删除")
409
- ]),
410
- _: 1
411
- }, 8, ["onClick"])), [
412
- [Ge, e.selectedKeys.length > 0]
413
- ]) : y("", !0),
414
- e.buttonSwitch.super_query ? (l(), c(d, {
415
- key: 4,
416
- ref: "superQueryButtonRef",
417
- online: "",
418
- status: e.superQueryStatus,
419
- onSearch: e.handleSuperQuery
420
- }, null, 8, ["status", "onSearch"])) : y("", !0)
421
- ]),
422
- fileSlot: a(({ text: o, record: u, column: r }) => [
423
- o ? (l(), c(s, {
424
- key: 1,
425
- ghost: !0,
426
- type: "primary",
427
- preIcon: "ant-design:download",
428
- size: "small",
429
- onClick: (O) => e.downloadRowFile(o, u, r, e.ID)
430
- }, {
431
- default: a(() => [
432
- T(" 下载 ")
433
- ]),
434
- _: 2
435
- }, 1032, ["onClick"])) : (l(), h("span", go, "无文件"))
436
- ]),
437
- imgSlot: a(({ text: o }) => [
438
- o ? (l(), h("img", {
439
- key: 1,
440
- src: e.getImgView(o),
441
- alt: "图片不存在",
442
- class: "online-cell-image",
443
- onClick: (u) => e.viewOnlineCellImage(o)
444
- }, null, 8, fo)) : (l(), h("span", ho, "无图片"))
445
- ]),
446
- htmlSlot: a(({ text: o, column: u, record: r }) => [
447
- u.fieldHref ? (l(), h("a", {
448
- key: 0,
449
- innerHTML: o,
450
- onClick: (O) => e.handleClickFieldHref(u.fieldHref, r)
451
- }, null, 8, Co)) : (l(), h("div", {
452
- key: 1,
453
- innerHTML: o
454
- }, null, 8, yo))
455
- ]),
456
- pcaSlot: a(({ text: o }) => [
457
- q("div", {
458
- title: e.getPcaText(o)
459
- }, D(e.getPcaText(o)), 9, wo)
460
- ]),
461
- dateSlot: a(({ text: o, column: u }) => [
462
- q("span", null, D(e.getFormatDate(o, u)), 1)
463
- ]),
464
- action: a(({ record: o }) => [
465
- C(f, {
466
- actions: e.getActions(o),
467
- dropDownActions: e.getTreeDropDownActions(o)
468
- }, null, 8, ["actions", "dropDownActions"])
469
- ]),
470
- _: 1
471
- }, 8, ["expandedRowKeys", "onExpandedRowsChange", "onExpand", "loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
472
- C(v, {
473
- id: e.ID,
474
- onRegister: e.registerModal,
475
- onSuccess: e.handlerFormSuccess,
476
- onFormConfig: e.handleFormConfig
477
- }, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
478
- C(L, {
479
- onRegister: e.registerImportModal,
480
- url: e.importUrl(),
481
- onOk: e.reload,
482
- online: ""
483
- }, null, 8, ["onRegister", "url", "onOk"]),
484
- C(F, Xe(e.hrefComponent.model, Ye(e.hrefComponent.on)), {
485
- default: a(() => [
486
- (l(), c(Ze(e.hrefComponent.is), xe(eo(e.hrefComponent.params)), null, 16))
487
- ]),
488
- _: 1
489
- }, 16),
490
- C(A, {
491
- onRegister: e.registerCustomModal,
492
- onSuccess: e.reload
493
- }, null, 8, ["onRegister", "onSuccess"]),
494
- C(M, {
495
- id: e.ID,
496
- onRegister: e.registerDetailModal
497
- }, null, 8, ["id", "onRegister"])
498
- ]);
499
- }
500
- const Jn = /* @__PURE__ */ po(mo, [["render", bo]]);
501
- export {
502
- Jn as default
503
- };