@jeecg/online 3.5.3-vite4 → 3.6.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 (101) hide show
  1. package/{AuthButtonConfig-2f71787c.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
  2. package/{AuthButtonTree-d73bccf5.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
  3. package/{AuthDataConfig-32cf23d2.mjs → AuthDataConfig-83891eea.mjs} +1 -1
  4. package/{AuthDataTree-03d62d3f.mjs → AuthDataTree-94e026e3.mjs} +1 -1
  5. package/{AuthFieldConfig-b1217a0c.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
  6. package/{AuthFieldTree-888e04a9.mjs → AuthFieldTree-69864163.mjs} +1 -1
  7. package/{AuthManagerDrawer-f127b8a2.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
  8. package/{AuthSetterModal-37da78ed.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
  9. package/{CgformCopyList-3adab58f.mjs → CgformCopyList-14b76108.mjs} +42 -39
  10. package/CgformModal-eccfc38e.mjs +611 -0
  11. package/{CgreportModal-77ec8c17.mjs → CgreportModal-2065f5a9.mjs} +2 -1
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +170 -171
  13. package/{CheckDictTable-414313f2.mjs → CheckDictTable-134cbb83.mjs} +3 -3
  14. package/{CodeFileListModal-4831ce3d.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
  15. package/{CodeFileViewModal-5990dac4.mjs → CodeFileViewModal-373e8058.mjs} +2 -2
  16. package/{CodeGeneratorModal-7df9e25d.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -6
  17. package/{CustomButtonList-1c9bd859.mjs → CustomButtonList-02e3d897.mjs} +2 -2
  18. package/{DBAttributeTable-cd1c41e5.mjs → DBAttributeTable-370de07b.mjs} +2 -2
  19. package/{DbToOnlineModal-dc5d2030.mjs → DbToOnlineModal-9f13956f.mjs} +35 -35
  20. package/{DetailForm-e4538e7a.mjs → DetailForm-424638eb.mjs} +179 -163
  21. package/{EnhanceJavaModal-7f53d2ca.mjs → EnhanceJavaModal-f63aa2d3.mjs} +17 -13
  22. package/{EnhanceJsHistory-c30805ce.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
  23. package/EnhanceJsModal-05c73a59.mjs +311 -0
  24. package/{EnhanceSqlModal-33a94c83.mjs → EnhanceSqlModal-5e4ae84f.mjs} +55 -46
  25. package/{ExtendConfigModal-60f2cf86.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
  26. package/FieldExtendJsonModal-a70a9ccd.mjs +219 -0
  27. package/FileSelectModal-9a02560b.mjs +103 -0
  28. package/{ForeignKeyTable-cb1abd1d.mjs → ForeignKeyTable-6a843c4b.mjs} +2 -2
  29. package/{IndexTable-4e94cd1f.mjs → IndexTable-f8af9d44.mjs} +2 -2
  30. package/JModalTip-33c7dc44.mjs +49 -0
  31. package/{JOnlineSearchSelect-5608a5cf.mjs → JOnlineSearchSelect-c287af12.mjs} +17 -16
  32. package/{LeftDepart-ca7a7375.mjs → LeftDepart-fa85523d.mjs} +1 -1
  33. package/{LeftRole-d0fa8398.mjs → LeftRole-8b8dfe21.mjs} +1 -1
  34. package/{LeftUser-0c88c240.mjs → LeftUser-dc24ef2f.mjs} +1 -1
  35. package/{LinkTableConfigModal-77d7c0b9.mjs → LinkTableConfigModal-d4fbdef2.mjs} +23 -23
  36. package/{LinkTableFieldConfigModal-c5689ab0.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +44 -46
  37. package/LinkTableListPiece-8499a318.mjs +34 -0
  38. package/{ModalFormDemo-0eeea994.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
  39. package/OnlCgformErpList-db45e22b.mjs +454 -0
  40. package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
  41. package/OnlCgformInnerSubTable-fbca73e0.mjs +253 -0
  42. package/OnlCgformInnerTableList-782eaf04.mjs +444 -0
  43. package/OnlCgformTabList-a9e1e36a.mjs +395 -0
  44. package/OnlineAutoList-0583a910.mjs +479 -0
  45. package/{OnlineAutoModal-2a146238.mjs → OnlineAutoModal-510991eb.mjs} +59 -58
  46. package/{OnlineAutoTreeList-f8d0e100.mjs → OnlineAutoTreeList-89265688.mjs} +158 -153
  47. package/{OnlineCustomModal-456a85a6.mjs → OnlineCustomModal-518ad33c.mjs} +67 -66
  48. package/{OnlineDetailModal-f967f080.mjs → OnlineDetailModal-9675390d.mjs} +40 -39
  49. package/OnlineForm-1fa2d893.mjs +750 -0
  50. package/{OnlineFormDetail-1b216792.mjs → OnlineFormDetail-0e7294ca.mjs} +56 -55
  51. package/OnlineQueryForm-1bfc8320.mjs +386 -0
  52. package/{OnlineSearchFormItem-7c2ea9ed.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +83 -87
  53. package/{OnlineSelectCascade-c7baf52b.mjs → OnlineSelectCascade-4265c95d.mjs} +31 -32
  54. package/{OnlineSubFormDetail-0aa4966c.mjs → OnlineSubFormDetail-f0d2c016.mjs} +53 -50
  55. package/OnlineTabAutoModal-6f636ee2.mjs +254 -0
  56. package/OnlineTabDetailModal-7356d3a8.mjs +223 -0
  57. package/OnlineTabForm-512d3951.mjs +766 -0
  58. package/OnlineTabFormDetail-5a70219d.mjs +324 -0
  59. package/{PageAttributeTable-811185fd.mjs → PageAttributeTable-965dc58e.mjs} +20 -20
  60. package/{ProcessOnlineForm-27be6f6f.mjs → ProcessOnlineForm-67558898.mjs} +39 -38
  61. package/{QueryTable-4ba771ef.mjs → QueryTable-eb9a5b21.mjs} +2 -2
  62. package/README.md +5 -2
  63. package/{SuperQuery-3821f984.mjs → SuperQuery-5d1ca957.mjs} +171 -173
  64. package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
  66. package/cgformState-d9f8ec42.mjs +28 -0
  67. package/constant-754f1a9d.mjs +9 -0
  68. package/index-0e3ab3af.mjs +56 -0
  69. package/{index-074b92e5.mjs → index-49508cad.mjs} +4 -3
  70. package/index-b7a05eef.mjs +1496 -0
  71. package/main.index.js +1 -1
  72. package/package.json +1 -1
  73. package/style.css +1 -1
  74. package/useCgformList-423282b7.mjs +400 -0
  75. package/useCustomHook-acb00837.mjs +53 -0
  76. package/useExtendComponent-325fe3f1.mjs +3926 -0
  77. package/useListButton-cdbab702.mjs +676 -0
  78. package/useOnlinePopEvent-687070b7.mjs +19 -0
  79. package/useOnlineTest-e4bd8be3.mjs +42 -0
  80. package/{useSchemas-fc8d97ce.mjs → useSchemas-0433a403.mjs} +129 -109
  81. package/{useTableSync-dc333087.mjs → useTableSync-774c3774.mjs} +17 -13
  82. package/CgformModal-6938d8c2.mjs +0 -613
  83. package/EnhanceJsModal-0b133341.mjs +0 -233
  84. package/FieldExtendJsonModal-48f7d67f.mjs +0 -220
  85. package/FileSelectModal-64aaf623.mjs +0 -91
  86. package/JModalTip-abe1515a.mjs +0 -46
  87. package/LinkTableListPiece-34266919.mjs +0 -34
  88. package/OnlCgformErpList-7a0388d8.mjs +0 -425
  89. package/OnlCgformErpSubTable-fc6ade76.mjs +0 -388
  90. package/OnlineAutoList-85e6a30d.mjs +0 -472
  91. package/OnlineForm-630a22c2.mjs +0 -778
  92. package/OnlineQueryForm-1c5949a7.mjs +0 -378
  93. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
  94. package/constant-fe20103a.mjs +0 -6
  95. package/index-6a09a912.mjs +0 -58
  96. package/index-9d32ae88.mjs +0 -313
  97. package/useCgformList-2d6a5955.mjs +0 -388
  98. package/useExtendComponent-48d37d9b.mjs +0 -3919
  99. package/useListButton-cef1371a.mjs +0 -656
  100. package/useOnlinePopEvent-e9a042f8.mjs +0 -19
  101. package/useOnlineTest-0df0ae86.mjs +0 -43
@@ -1,472 +0,0 @@
1
- var T = (e, f, r) => new Promise((I, m) => {
2
- var b = (a) => {
3
- try {
4
- l(r.next(a));
5
- } catch (c) {
6
- m(c);
7
- }
8
- }, S = (a) => {
9
- try {
10
- l(r.throw(a));
11
- } catch (c) {
12
- m(c);
13
- }
14
- }, l = (a) => a.done ? I(a.value) : Promise.resolve(a.value).then(b, S);
15
- l((r = r.apply(e, f)).next());
16
- });
17
- import { ref as Re, watch as Le, resolveComponent as s, openBlock as t, createElementBlock as C, createVNode as d, createBlock as u, normalizeClass as Oe, withCtx as i, createTextVNode as g, createCommentVNode as p, Fragment as _, renderList as ve, toDisplayString as M, withDirectives as Ee, vShow as Fe, createElementVNode as D, mergeProps as De, toHandlers as Ae, resolveDynamicComponent as Pe, normalizeProps as _e, guardReactiveProps as Qe } from "vue";
18
- import { BasicTable as He, TableAction as Je } from "/@/components/Table";
19
- import { useMessage as qe } from "/@/hooks/web/useMessage";
20
- import $e from "./OnlineAutoModal-2a146238.mjs";
21
- import Ne from "./OnlineCustomModal-456a85a6.mjs";
22
- import ze from "./OnlineDetailModal-f967f080.mjs";
23
- import Ve from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
- import { u as Ke, a as Ue } from "./useListButton-cef1371a.mjs";
25
- import { O as je, u as We, a as Ge, g as Xe } from "./useExtendComponent-48d37d9b.mjs";
26
- import Ye from "./OnlineQueryForm-1c5949a7.mjs";
27
- import Ze from "./SuperQuery-3821f984.mjs";
28
- import { u as xe } from "./useOnlinePopEvent-e9a042f8.mjs";
29
- import { N as eo } from "./constant-fe20103a.mjs";
30
- import { _ as oo } from "./index-6a09a912.mjs";
31
- import "/@/components/Modal";
32
- import "./OnlineForm-630a22c2.mjs";
33
- import "/@/components/Form/index";
34
- import "/@/utils/http/axios";
35
- import "lodash-es";
36
- import "/@/utils";
37
- import "/@/components/Loading";
38
- import "/@/components/jeecg/JVxeTable/types";
39
- import "/@/utils/auth";
40
- import "@ant-design/icons-vue";
41
- import "/@/hooks/core/useContext";
42
- import "/@/utils/mitt";
43
- import "/@/utils/cache";
44
- import "/@/utils/common/compUtils";
45
- import "/@/store/modules/user";
46
- import "/@/components/jeecg/comment/CommentPanel.vue";
47
- import "./OnlineFormDetail-1b216792.mjs";
48
- import "./DetailForm-e4538e7a.mjs";
49
- import "/@/utils/propTypes";
50
- import "/@/utils/dict";
51
- import "/@/utils/dict/JDictSelectUtil";
52
- import "/@/utils/dict/index";
53
- import "/@/api/common/api";
54
- import "/@/components/Form/src/utils/Area";
55
- import "/@/components/Preview/index";
56
- import "./OnlineSubFormDetail-0aa4966c.mjs";
57
- import "vue-router";
58
- import "/@/router";
59
- import "/@/hooks/core/onMountedOrActivated";
60
- import "ant-design-vue";
61
- import "/@/hooks/system/useMethods";
62
- import "/@/components/Form/src/componentMap";
63
- import "/@/components/Form/src/jeecg/components/JUpload";
64
- import "/@/views/system/user/user.api";
65
- import "/@/utils/desform/customExpression";
66
- import "/@/store/modules/permission";
67
- import "/@/hooks/system/useListPage";
68
- import "./LinkTableListPiece-34266919.mjs";
69
- import "./OnlineSelectCascade-c7baf52b.mjs";
70
- import "./JModalTip-abe1515a.mjs";
71
- import "@vueuse/core";
72
- import "./SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs";
73
- import "/@/utils/is";
74
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
75
- const no = {
76
- name: "OnlineAutoList",
77
- components: {
78
- BasicTable: He,
79
- TableAction: Je,
80
- OnlineAutoModal: $e,
81
- JImportModal: Ve,
82
- OnlineQueryForm: Ye,
83
- OnlineSuperQuery: Ze,
84
- OnlineCustomModal: Ne,
85
- OnlineDetailModal: ze,
86
- OnlinePopModal: je
87
- },
88
- setup() {
89
- const { createMessage: e } = qe(), {
90
- ID: f,
91
- onlineTableContext: r,
92
- onlineQueryFormOuter: I,
93
- loading: m,
94
- reload: b,
95
- dataSource: S,
96
- pagination: l,
97
- handleSpecialConfig: a,
98
- getColumnList: c,
99
- handleChangeInTable: B,
100
- loadData: R,
101
- superQueryButtonRef: h,
102
- superQueryStatus: L,
103
- handleSuperQuery: O,
104
- onlineExtConfigJson: w,
105
- handleFormConfig: v,
106
- registerCustomModal: o,
107
- tableReloading: y
108
- } = Ke();
109
- if (!f.value) {
110
- e.warning("地址错误, 配置ID不存在!");
111
- return;
112
- }
113
- let { initCgEnhanceJs: E } = We(r);
114
- const {
115
- buttonSwitch: Q,
116
- cgLinkButtonList: H,
117
- cgTopButtonList: J,
118
- importUrl: q,
119
- registerModal: $,
120
- handleAdd: N,
121
- handleEdit: z,
122
- handleBatchDelete: V,
123
- registerImportModal: K,
124
- onImportExcel: U,
125
- onExportExcel: A,
126
- cgButtonJsHandler: j,
127
- cgButtonActionHandler: W,
128
- cgButtonLinkHandler: G,
129
- handleSubmitFlow: X,
130
- getDropDownActions: Y,
131
- getActions: Z,
132
- initButtonList: x,
133
- initButtonSwitch: ee,
134
- registerDetailModal: oe,
135
- registerBpmModal: ne
136
- } = Ue(r, w), F = Re(!1);
137
- function te() {
138
- return T(this, null, function* () {
139
- try {
140
- F.value = !0, yield A();
141
- } finally {
142
- setTimeout(() => F.value = !1, 1500);
143
- }
144
- });
145
- }
146
- const {
147
- columns: ie,
148
- actionColumn: le,
149
- selectedKeys: re,
150
- rowSelection: ae,
151
- enableScrollBar: se,
152
- tableScroll: ue,
153
- downloadRowFile: de,
154
- getImgView: pe,
155
- getPcaText: me,
156
- getFormatDate: ce,
157
- handleColumnResult: ge,
158
- hrefComponent: fe,
159
- viewOnlineCellImage: he,
160
- hrefMainTableId: ye,
161
- registerOnlineHrefModal: Ce,
162
- registerPopModal: be,
163
- openPopModal: Se,
164
- onlinePopModalRef: we,
165
- popTableId: P
166
- } = Ge(r, w);
167
- Le(
168
- f,
169
- () => {
170
- console.log("watched id is change..."), ke();
171
- },
172
- { immediate: !0 }
173
- );
174
- function ke() {
175
- return T(this, null, function* () {
176
- m.value = !0;
177
- let n = yield c(eo);
178
- Ie(n), yield R(), m.value = !1, r.execButtonEnhance("setup");
179
- });
180
- }
181
- function Ie(n) {
182
- let k = E(n.enhanceJs);
183
- r.EnhanceJS = k, x(n.cgButtonList), ee(n.hideColumns), ge(n), a(n);
184
- }
185
- function Te(n) {
186
- r.queryParam = n, b();
187
- }
188
- function Me(n) {
189
- return T(this, null, function* () {
190
- console.log("onQueryFormLoaded", n), yield Xe(h), h.value.init(n);
191
- });
192
- }
193
- function Be(n) {
194
- console.log("openOnlinePopModal", n), P.value = n.id;
195
- let k = {
196
- title: n.describe
197
- };
198
- n.record && n.record.id && (k.record = n.record, k.isUpdate = !0), Se(!0, k);
199
- }
200
- return xe(Be), {
201
- ID: f,
202
- // 查询区域
203
- onlineQueryFormOuter: I,
204
- queryWithCondition: Te,
205
- onQueryFormLoaded: Me,
206
- reload: b,
207
- //高级查询
208
- superQueryButtonRef: h,
209
- superQueryStatus: L,
210
- handleSuperQuery: O,
211
- // table区域
212
- loading: m,
213
- columns: ie,
214
- dataSource: S,
215
- pagination: l,
216
- actionColumn: le,
217
- rowSelection: ae,
218
- selectedKeys: re,
219
- tableScroll: ue,
220
- enableScrollBar: se,
221
- handleChangeInTable: B,
222
- //按钮
223
- buttonSwitch: Q,
224
- handleAdd: N,
225
- handleEdit: z,
226
- onImportExcel: U,
227
- onExportExcel: A,
228
- exportLoading: F,
229
- onExportExcelOverride: te,
230
- cgTopButtonList: J,
231
- cgLinkButtonList: H,
232
- cgButtonJsHandler: j,
233
- cgButtonActionHandler: W,
234
- cgButtonLinkHandler: G,
235
- handleBatchDelete: V,
236
- // table-slot
237
- downloadRowFile: de,
238
- getImgView: pe,
239
- getPcaText: me,
240
- getFormatDate: ce,
241
- // 操作列
242
- getActions: Z,
243
- getDropDownActions: Y,
244
- // 弹窗
245
- registerModal: $,
246
- registerCustomModal: o,
247
- registerImportModal: K,
248
- registerDetailModal: oe,
249
- importUrl: q,
250
- handleFormConfig: v,
251
- onlinePopModalRef: we,
252
- //其他
253
- tableReloading: y,
254
- handleSubmitFlow: X,
255
- hrefComponent: fe,
256
- viewOnlineCellImage: he,
257
- hrefMainTableId: ye,
258
- onlineExtConfigJson: w,
259
- registerOnlineHrefModal: Ce,
260
- registerPopModal: be,
261
- popTableId: P,
262
- registerBpmModal: ne
263
- };
264
- }
265
- // 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
266
- // 2. value的问题
267
- // 3. 变量位置改变后需要 重写api
268
- // 1添加按钮的时候 预留出样式对象 然后js增强中设置样式对象
269
- // 2直接设置css字符串 然后通过js document 往head里面增加css片段 全局生效
270
- };
271
- const to = { class: "p-2" }, io = {
272
- key: 0,
273
- style: { "font-size": "12px", "font-style": "italic" }
274
- }, lo = {
275
- key: 0,
276
- style: { "font-size": "12px", "font-style": "italic" }
277
- }, ro = ["src", "onClick"], ao = ["innerHTML"], so = ["title"];
278
- function uo(e, f, r, I, m, b) {
279
- const S = s("online-query-form"), l = s("a-button"), a = s("online-super-query"), c = s("TableAction"), B = s("BasicTable"), R = s("OnlineAutoModal"), h = s("online-detail-modal"), L = s("JImportModal"), O = s("a-modal"), w = s("online-custom-modal"), v = s("online-pop-modal");
280
- return t(), C("div", to, [
281
- d(S, {
282
- ref: "onlineQueryFormOuter",
283
- id: e.ID,
284
- onSearch: e.queryWithCondition,
285
- onLoaded: e.onQueryFormLoaded
286
- }, null, 8, ["id", "onSearch", "onLoaded"]),
287
- e.tableReloading ? p("", !0) : (t(), u(B, {
288
- key: 0,
289
- ref: "onlineTable",
290
- rowKey: "jeecg_row_key",
291
- canResize: !0,
292
- bordered: !0,
293
- showIndexColumn: !1,
294
- loading: e.loading,
295
- columns: e.columns,
296
- dataSource: e.dataSource,
297
- pagination: e.pagination,
298
- rowSelection: e.rowSelection,
299
- actionColumn: e.actionColumn,
300
- showTableSetting: !0,
301
- clickToRowSelect: !1,
302
- scroll: e.tableScroll,
303
- onTableRedo: e.reload,
304
- class: Oe({ "j-table-force-nowrap": e.enableScrollBar }),
305
- onChange: e.handleChangeInTable
306
- }, {
307
- tableTitle: i(() => [
308
- e.buttonSwitch.add ? (t(), u(l, {
309
- key: 0,
310
- preIcon: "ant-design:plus-outlined",
311
- type: "primary",
312
- onClick: e.handleAdd
313
- }, {
314
- default: i(() => [
315
- g("新增")
316
- ]),
317
- _: 1
318
- }, 8, ["onClick"])) : p("", !0),
319
- e.buttonSwitch.import ? (t(), u(l, {
320
- key: 1,
321
- preIcon: "ant-design:import-outlined",
322
- type: "primary",
323
- onClick: e.onImportExcel
324
- }, {
325
- default: i(() => [
326
- g("导入")
327
- ]),
328
- _: 1
329
- }, 8, ["onClick"])) : p("", !0),
330
- e.buttonSwitch.export ? (t(), u(l, {
331
- key: 2,
332
- preIcon: "ant-design:export-outlined",
333
- type: "primary",
334
- loading: e.exportLoading,
335
- onClick: e.onExportExcelOverride
336
- }, {
337
- default: i(() => [
338
- g(" 导出")
339
- ]),
340
- _: 1
341
- }, 8, ["loading", "onClick"])) : p("", !0),
342
- e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (t(!0), C(_, { key: 3 }, ve(e.cgTopButtonList, (o, y) => (t(), C(_, null, [
343
- o.optType == "js" ? (t(), u(l, {
344
- key: "cgbtn" + y,
345
- onClick: (E) => e.cgButtonJsHandler(o.buttonCode),
346
- type: "primary",
347
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
348
- }, {
349
- default: i(() => [
350
- g(M(o.buttonName), 1)
351
- ]),
352
- _: 2
353
- }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (t(), u(l, {
354
- key: "cgbtn" + y,
355
- onClick: (E) => e.cgButtonActionHandler(o.buttonCode),
356
- type: "primary",
357
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
358
- }, {
359
- default: i(() => [
360
- g(M(o.buttonName), 1)
361
- ]),
362
- _: 2
363
- }, 1032, ["onClick", "preIcon"])) : p("", !0)
364
- ], 64))), 256)) : p("", !0),
365
- e.buttonSwitch.batch_delete ? Ee((t(), u(l, {
366
- key: 4,
367
- preIcon: "ant-design:delete-outlined",
368
- onClick: e.handleBatchDelete
369
- }, {
370
- default: i(() => [
371
- g(" 批量删除")
372
- ]),
373
- _: 1
374
- }, 8, ["onClick"])), [
375
- [Fe, e.selectedKeys.length > 0]
376
- ]) : p("", !0),
377
- e.buttonSwitch.super_query ? (t(), u(a, {
378
- key: 5,
379
- ref: "superQueryButtonRef",
380
- online: "",
381
- status: e.superQueryStatus,
382
- onSearch: e.handleSuperQuery
383
- }, null, 8, ["status", "onSearch"])) : p("", !0)
384
- ]),
385
- fileSlot: i(({ text: o }) => [
386
- o ? (t(), u(l, {
387
- key: 1,
388
- ghost: !0,
389
- type: "primary",
390
- preIcon: "ant-design:download",
391
- size: "small",
392
- onClick: (y) => e.downloadRowFile(o)
393
- }, {
394
- default: i(() => [
395
- g(" 下载 ")
396
- ]),
397
- _: 2
398
- }, 1032, ["onClick"])) : (t(), C("span", io, "无文件"))
399
- ]),
400
- imgSlot: i(({ text: o }) => [
401
- o ? (t(), C("img", {
402
- key: 1,
403
- src: e.getImgView(o),
404
- alt: "图片不存在",
405
- class: "online-cell-image",
406
- onClick: (y) => e.viewOnlineCellImage(o)
407
- }, null, 8, ro)) : (t(), C("span", lo, "无图片"))
408
- ]),
409
- htmlSlot: i(({ text: o }) => [
410
- D("div", { innerHTML: o }, null, 8, ao)
411
- ]),
412
- pcaSlot: i(({ text: o }) => [
413
- D("div", {
414
- title: e.getPcaText(o)
415
- }, M(e.getPcaText(o)), 9, so)
416
- ]),
417
- dateSlot: i(({ text: o }) => [
418
- D("span", null, M(e.getFormatDate(o)), 1)
419
- ]),
420
- action: i(({ record: o }) => [
421
- d(c, {
422
- actions: e.getActions(o),
423
- dropDownActions: e.getDropDownActions(o)
424
- }, null, 8, ["actions", "dropDownActions"])
425
- ]),
426
- _: 1
427
- }, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
428
- d(R, {
429
- id: e.ID,
430
- onRegister: e.registerModal,
431
- onSuccess: e.reload,
432
- onFormConfig: e.handleFormConfig
433
- }, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
434
- d(h, {
435
- id: e.ID,
436
- onRegister: e.registerDetailModal
437
- }, null, 8, ["id", "onRegister"]),
438
- d(L, {
439
- onRegister: e.registerImportModal,
440
- url: e.importUrl(),
441
- onOk: e.reload,
442
- online: ""
443
- }, null, 8, ["onRegister", "url", "onOk"]),
444
- d(O, De(e.hrefComponent.model, Ae(e.hrefComponent.on)), {
445
- default: i(() => [
446
- (t(), u(Pe(e.hrefComponent.is), _e(Qe(e.hrefComponent.params)), null, 16))
447
- ]),
448
- _: 1
449
- }, 16),
450
- d(w, {
451
- onRegister: e.registerCustomModal,
452
- onSuccess: e.reload
453
- }, null, 8, ["onRegister", "onSuccess"]),
454
- d(h, {
455
- id: e.hrefMainTableId,
456
- onRegister: e.registerOnlineHrefModal,
457
- defaultFullscreen: !1
458
- }, null, 8, ["id", "onRegister"]),
459
- d(v, {
460
- ref: "onlinePopModalRef",
461
- id: e.popTableId,
462
- onRegister: e.registerPopModal,
463
- onSuccess: e.reload,
464
- request: "",
465
- topTip: ""
466
- }, null, 8, ["id", "onRegister", "onSuccess"])
467
- ]);
468
- }
469
- const Cn = /* @__PURE__ */ oo(no, [["render", uo]]);
470
- export {
471
- Cn as default
472
- };