@jeecg/online 3.5.3-beta3 → 3.6.0-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.
- package/AuthButtonConfig-b6a674fa.mjs +125 -0
- package/AuthButtonTree-09e57bc4.mjs +156 -0
- package/AuthDataConfig-6e7e61ec.mjs +212 -0
- package/AuthDataTree-e83286c5.mjs +139 -0
- package/AuthFieldConfig-f1ec2708.mjs +139 -0
- package/AuthFieldTree-bb72e21f.mjs +232 -0
- package/AuthManagerDrawer-28a2d108.mjs +114 -0
- package/AuthSetterModal-2990d553.mjs +261 -0
- package/CgformCopyList-36a4cbf0.mjs +246 -0
- package/CgformModal-7399a5ac.mjs +611 -0
- package/CgreportModal-2eb9c9e1.mjs +13 -0
- package/CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs +566 -0
- package/CheckDictTable-3a8a54b3.mjs +211 -0
- package/CodeFileListModal-72f0d3bb.mjs +158 -0
- package/CodeFileViewModal-9eb88c47.mjs +244 -0
- package/CodeGeneratorModal-a89958f5.mjs +233 -0
- package/CustomButtonList-c44aec5a.mjs +363 -0
- package/DBAttributeTable-7d285e8d.mjs +473 -0
- package/DbToOnlineModal-d23cbeb1.mjs +160 -0
- package/DetailForm-2901d215.mjs +461 -0
- package/EnhanceJavaModal-153899a9.mjs +264 -0
- package/EnhanceJsHistory-7f5db3b1.mjs +184 -0
- package/EnhanceJsModal-c2fb75b8.mjs +311 -0
- package/EnhanceSqlModal-965e9b0a.mjs +268 -0
- package/ExtendConfigModal-8f08466f.mjs +111 -0
- package/FieldExtendJsonModal-adfcf5a7.mjs +219 -0
- package/FileSelectModal-432d4521.mjs +103 -0
- package/ForeignKeyTable-faab7ccf.mjs +69 -0
- package/IndexTable-0a2d3718.mjs +89 -0
- package/JModalTip-e1938b49.mjs +46 -0
- package/JOnlineSearchSelect-7e908492.mjs +95 -0
- package/LeftDepart-54f245b3.mjs +82 -0
- package/LeftRole-c138f892.mjs +86 -0
- package/LeftUser-9c812f8a.mjs +105 -0
- package/LinkTableConfigModal-c2c5c7e6.mjs +230 -0
- package/LinkTableFieldConfigModal-a3553b1f.mjs +176 -0
- package/LinkTableListPiece-7f793b08.mjs +34 -0
- package/ModalFormDemo-65685b0e.mjs +78 -0
- package/OnlCgformErpList-52c87ed3.mjs +449 -0
- package/OnlCgformErpSubTable-6e7fb17b.mjs +398 -0
- package/OnlCgformInnerSubTable-f0727b8f.mjs +248 -0
- package/OnlCgformInnerTableList-9f89c173.mjs +430 -0
- package/OnlCgformTabList-15516315.mjs +390 -0
- package/OnlineAutoList-63a0224f.mjs +474 -0
- package/OnlineAutoModal-ffe19c3f.mjs +206 -0
- package/OnlineAutoTreeList-317c7105.mjs +495 -0
- package/OnlineCustomModal-3939ce78.mjs +227 -0
- package/OnlineDetailModal-bfb1375f.mjs +177 -0
- package/OnlineForm-069f6092.mjs +749 -0
- package/OnlineFormDetail-ad5735fb.mjs +296 -0
- package/OnlineQueryForm-0771c80f.mjs +385 -0
- package/OnlineSearchFormItem-0db5834f.mjs +348 -0
- package/OnlineSelectCascade-a05c30f4.mjs +159 -0
- package/OnlineSubFormDetail-583d01eb.mjs +142 -0
- package/OnlineTabAutoModal-747e071d.mjs +253 -0
- package/OnlineTabDetailModal-887f0174.mjs +222 -0
- package/OnlineTabForm-b1dcd4b4.mjs +765 -0
- package/OnlineTabFormDetail-8e494a96.mjs +323 -0
- package/PageAttributeTable-5966b201.mjs +404 -0
- package/ProcessOnlineForm-4382bea7.mjs +177 -0
- package/QueryTable-6e8053ad.mjs +115 -0
- package/README.md +2 -1
- package/SuperQuery-78db6998.mjs +841 -0
- package/SuperQueryValComponent-471110b5.mjs +8 -0
- package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
- package/auth.api-d3a6c4b3.mjs +39 -0
- package/auth.data-8be5c9e3.mjs +141 -0
- package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
- package/constant-754f1a9d.mjs +9 -0
- package/enhance.api-138e6826.mjs +104 -0
- package/enhance.data-efc7e155.mjs +175 -0
- package/index-0a93652b.mjs +237 -0
- package/index-7e9a23f2.mjs +1494 -0
- package/index-b70302f2.mjs +56 -0
- package/main.index.js +7 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-0c603af1.mjs +424 -0
- package/useCustomHook-acb00837.mjs +53 -0
- package/useExtendComponent-aa1cdfc8.mjs +3917 -0
- package/useListButton-0f18bf6a.mjs +671 -0
- package/useOnlinePopEvent-687070b7.mjs +19 -0
- package/useOnlineTest-e4bd8be3.mjs +42 -0
- package/useSchemas-43429d80.mjs +685 -0
- package/useTableSync-774c3774.mjs +87 -0
- package/AuthButtonConfig.js +0 -147
- package/AuthButtonTree.js +0 -183
- package/AuthDataConfig.js +0 -246
- package/AuthDataTree.js +0 -160
- package/AuthFieldConfig.js +0 -170
- package/AuthFieldTree.js +0 -281
- package/AuthManagerDrawer.js +0 -125
- package/AuthSetterModal.js +0 -316
- package/CgformCopyList.js +0 -266
- package/CgformModal.js +0 -780
- package/CgreportModal.js +0 -667
- package/CheckDictTable.js +0 -242
- package/CodeFileListModal.js +0 -175
- package/CodeFileViewModal.js +0 -325
- package/CodeGeneratorModal.js +0 -297
- package/CustomButtonList.js +0 -410
- package/DBAttributeTable.js +0 -526
- package/DbToOnlineModal.js +0 -192
- package/DetailForm.js +0 -608
- package/EnhanceJavaModal.js +0 -298
- package/EnhanceJsHistory.js +0 -229
- package/EnhanceJsModal.js +0 -293
- package/EnhanceSqlModal.js +0 -299
- package/ExtendConfigModal.js +0 -151
- package/FieldExtendJsonModal.js +0 -283
- package/FileSelectModal.js +0 -102
- package/ForeignKeyTable.js +0 -79
- package/IndexTable.js +0 -97
- package/JModalTip.js +0 -54
- package/JOnlineSearchSelect.js +0 -115
- package/LICENSE +0 -9
- package/LeftDepart.js +0 -96
- package/LeftRole.js +0 -98
- package/LeftUser.js +0 -117
- package/LinkTableConfigModal.js +0 -289
- package/LinkTableFieldConfigModal.js +0 -218
- package/LinkTableListPiece.js +0 -36
- package/ModalFormDemo.js +0 -85
- package/OnlineAutoList.js +0 -523
- package/OnlineAutoModal.js +0 -226
- package/OnlineAutoTreeList.js +0 -552
- package/OnlineCustomModal.js +0 -286
- package/OnlineDetailModal.js +0 -190
- package/OnlineForm.js +0 -1016
- package/OnlineFormDetail.js +0 -347
- package/OnlineQueryForm.js +0 -484
- package/OnlineSearchFormItem.js +0 -436
- package/OnlineSelectCascade.js +0 -228
- package/OnlineSubFormDetail.js +0 -166
- package/PageAttributeTable.js +0 -486
- package/ProcessOnlineForm.js +0 -208
- package/QueryTable.js +0 -129
- package/SuperQuery.js +0 -1020
- package/SuperQueryValComponent.js +0 -8
- package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -168
- package/_arrayPush.js +0 -278
- package/_baseClone.js +0 -471
- package/_baseSlice.js +0 -18
- package/_commonjsHelpers.js +0 -5
- package/_flatRest.js +0 -174
- package/auth.api.js +0 -43
- package/auth.data.js +0 -142
- package/clipboard.js +0 -565
- package/enhance.api.js +0 -129
- package/enhance.data.js +0 -196
- package/index.js +0 -87
- package/index2.js +0 -340
- package/index3.js +0 -264
- package/isArray.js +0 -47
- package/omit.js +0 -60
- package/pick.js +0 -68
- package/toString.js +0 -31
- package/useCgformList.js +0 -470
- package/useExtendComponent.js +0 -5205
- package/useListButton.js +0 -923
- package/useOnlineTest.js +0 -44
- package/useSchemas.js +0 -653
- package/useTableSync.js +0 -117
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
var w = (B, R, r) => new Promise((c, k) => {
|
|
2
|
+
var y = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
C(r.next(a));
|
|
5
|
+
} catch (_) {
|
|
6
|
+
k(_);
|
|
7
|
+
}
|
|
8
|
+
}, u = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
C(r.throw(a));
|
|
11
|
+
} catch (_) {
|
|
12
|
+
k(_);
|
|
13
|
+
}
|
|
14
|
+
}, C = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(y, u);
|
|
15
|
+
C((r = r.apply(B, R)).next());
|
|
16
|
+
});
|
|
17
|
+
import { defineComponent as Be, ref as xe, watch as De, resolveComponent as L, openBlock as n, createElementBlock as f, createVNode as s, unref as e, createBlock as l, normalizeClass as Ee, withCtx as i, createTextVNode as d, createCommentVNode as p, Fragment as P, renderList as Le, toDisplayString as T, withDirectives as Pe, vShow as Fe, createElementVNode as O, mergeProps as Ae, toHandlers as Qe, resolveDynamicComponent as Je, normalizeProps as ze, guardReactiveProps as He } from "vue";
|
|
18
|
+
import { BasicTable as Ne, TableAction as Ve } from "/@/components/Table";
|
|
19
|
+
import { useMessage as $e } from "/@/hooks/web/useMessage";
|
|
20
|
+
import qe from "./OnlineCustomModal-3939ce78.mjs";
|
|
21
|
+
import je from "./OnlineTabAutoModal-747e071d.mjs";
|
|
22
|
+
import F from "./OnlineTabDetailModal-887f0174.mjs";
|
|
23
|
+
import Ke from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as Ue, a as We } from "./useListButton-0f18bf6a.mjs";
|
|
25
|
+
import { u as Ge, a as Xe, O as Ye, g as Ze } from "./useExtendComponent-aa1cdfc8.mjs";
|
|
26
|
+
import eo from "./OnlineQueryForm-0771c80f.mjs";
|
|
27
|
+
import oo from "./SuperQuery-78db6998.mjs";
|
|
28
|
+
import { u as to } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import { T as no } from "./constant-754f1a9d.mjs";
|
|
30
|
+
import "/@/components/Modal";
|
|
31
|
+
import "/@/utils/http/axios";
|
|
32
|
+
import "./OnlineForm-069f6092.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 "./index-b70302f2.mjs";
|
|
47
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
48
|
+
import "vue-router";
|
|
49
|
+
import "./OnlineTabForm-b1dcd4b4.mjs";
|
|
50
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
51
|
+
import "./OnlineTabFormDetail-8e494a96.mjs";
|
|
52
|
+
import "./DetailForm-2901d215.mjs";
|
|
53
|
+
import "/@/utils/propTypes";
|
|
54
|
+
import "/@/utils/dict";
|
|
55
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
56
|
+
import "/@/utils/dict/index";
|
|
57
|
+
import "/@/api/common/api";
|
|
58
|
+
import "/@/components/Form/src/utils/Area";
|
|
59
|
+
import "/@/components/Preview/index";
|
|
60
|
+
import "/@/components/Markdown";
|
|
61
|
+
import "./OnlineSubFormDetail-583d01eb.mjs";
|
|
62
|
+
import "/@/router";
|
|
63
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
64
|
+
import "ant-design-vue";
|
|
65
|
+
import "/@/hooks/system/useMethods";
|
|
66
|
+
import "/@/components/Form/src/componentMap";
|
|
67
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
68
|
+
import "/@/views/system/user/user.api";
|
|
69
|
+
import "/@/utils/desform/customExpression";
|
|
70
|
+
import "/@/store/modules/permission";
|
|
71
|
+
import "/@/hooks/system/useListPage";
|
|
72
|
+
import "./LinkTableListPiece-7f793b08.mjs";
|
|
73
|
+
import "./OnlineSelectCascade-a05c30f4.mjs";
|
|
74
|
+
import "./JModalTip-e1938b49.mjs";
|
|
75
|
+
import "@vueuse/core";
|
|
76
|
+
import "./SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs";
|
|
77
|
+
import "/@/utils/is";
|
|
78
|
+
const io = { class: "p-2" }, ro = {
|
|
79
|
+
key: 0,
|
|
80
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
81
|
+
}, lo = {
|
|
82
|
+
key: 0,
|
|
83
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
84
|
+
}, ao = ["src", "onClick"], so = ["innerHTML"], co = ["title"], kt = /* @__PURE__ */ Be({
|
|
85
|
+
__name: "OnlCgformTabList",
|
|
86
|
+
setup(B) {
|
|
87
|
+
const { createMessage: R } = $e(), {
|
|
88
|
+
ID: r,
|
|
89
|
+
onlineTableContext: c,
|
|
90
|
+
onlineQueryFormOuter: k,
|
|
91
|
+
loading: y,
|
|
92
|
+
reload: u,
|
|
93
|
+
dataSource: C,
|
|
94
|
+
pagination: a,
|
|
95
|
+
handleSpecialConfig: _,
|
|
96
|
+
getColumnList: A,
|
|
97
|
+
handleChangeInTable: Q,
|
|
98
|
+
loadData: J,
|
|
99
|
+
superQueryButtonRef: v,
|
|
100
|
+
superQueryStatus: z,
|
|
101
|
+
handleSuperQuery: H,
|
|
102
|
+
onlineExtConfigJson: x,
|
|
103
|
+
handleFormConfig: N,
|
|
104
|
+
registerCustomModal: V,
|
|
105
|
+
tableReloading: $
|
|
106
|
+
} = Ue();
|
|
107
|
+
if (!r.value)
|
|
108
|
+
throw R.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
109
|
+
let { initCgEnhanceJs: q } = Ge(c);
|
|
110
|
+
const {
|
|
111
|
+
buttonSwitch: h,
|
|
112
|
+
cgTopButtonList: I,
|
|
113
|
+
importUrl: j,
|
|
114
|
+
registerModal: K,
|
|
115
|
+
handleAdd: U,
|
|
116
|
+
handleBatchDelete: W,
|
|
117
|
+
registerImportModal: G,
|
|
118
|
+
onImportExcel: X,
|
|
119
|
+
onExportExcel: Y,
|
|
120
|
+
cgButtonJsHandler: Z,
|
|
121
|
+
cgButtonActionHandler: ee,
|
|
122
|
+
getDropDownActions: oe,
|
|
123
|
+
getActions: te,
|
|
124
|
+
initButtonList: ne,
|
|
125
|
+
initButtonSwitch: ie,
|
|
126
|
+
registerDetailModal: re,
|
|
127
|
+
registerBpmModal: uo
|
|
128
|
+
} = We(c, x), M = xe(!1);
|
|
129
|
+
function le() {
|
|
130
|
+
return w(this, null, function* () {
|
|
131
|
+
try {
|
|
132
|
+
M.value = !0, yield Y();
|
|
133
|
+
} finally {
|
|
134
|
+
setTimeout(() => M.value = !1, 1500);
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
const {
|
|
139
|
+
columns: ae,
|
|
140
|
+
actionColumn: se,
|
|
141
|
+
selectedKeys: ce,
|
|
142
|
+
rowSelection: ue,
|
|
143
|
+
enableScrollBar: pe,
|
|
144
|
+
tableScroll: me,
|
|
145
|
+
downloadRowFile: de,
|
|
146
|
+
getImgView: ge,
|
|
147
|
+
getPcaText: D,
|
|
148
|
+
getFormatDate: fe,
|
|
149
|
+
handleColumnResult: ye,
|
|
150
|
+
hrefComponent: b,
|
|
151
|
+
viewOnlineCellImage: Ce,
|
|
152
|
+
hrefMainTableId: _e,
|
|
153
|
+
registerOnlineHrefModal: he,
|
|
154
|
+
registerPopModal: ke,
|
|
155
|
+
openPopModal: be,
|
|
156
|
+
onlinePopModalRef: Se,
|
|
157
|
+
popTableId: E
|
|
158
|
+
} = Xe(c, x);
|
|
159
|
+
De(
|
|
160
|
+
r,
|
|
161
|
+
() => {
|
|
162
|
+
we();
|
|
163
|
+
},
|
|
164
|
+
{ immediate: !0 }
|
|
165
|
+
);
|
|
166
|
+
function we() {
|
|
167
|
+
return w(this, null, function* () {
|
|
168
|
+
y.value = !0;
|
|
169
|
+
let t = yield A(no);
|
|
170
|
+
Te(t), yield J(), y.value = !1, c.execButtonEnhance("setup");
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
function Te(t) {
|
|
174
|
+
let g = q(t.enhanceJs);
|
|
175
|
+
c.EnhanceJS = g, ne(t.cgButtonList), ie(t.hideColumns), ye(t), _(t);
|
|
176
|
+
}
|
|
177
|
+
function Re(t) {
|
|
178
|
+
c.queryParam = t, u();
|
|
179
|
+
}
|
|
180
|
+
function ve(t) {
|
|
181
|
+
return w(this, null, function* () {
|
|
182
|
+
yield Ze(v), v.value.init(t);
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
function Ie(t) {
|
|
186
|
+
E.value = t.id;
|
|
187
|
+
let g = {
|
|
188
|
+
title: t.describe
|
|
189
|
+
};
|
|
190
|
+
t.record && t.record.id && (g.record = t.record, g.isUpdate = !0), be(!0, g);
|
|
191
|
+
}
|
|
192
|
+
return to(Ie), (t, g) => {
|
|
193
|
+
const m = L("a-button"), Me = L("a-modal");
|
|
194
|
+
return n(), f("div", io, [
|
|
195
|
+
s(eo, {
|
|
196
|
+
ref_key: "onlineQueryFormOuter",
|
|
197
|
+
ref: k,
|
|
198
|
+
id: e(r),
|
|
199
|
+
onSearch: Re,
|
|
200
|
+
onLoaded: ve
|
|
201
|
+
}, null, 8, ["id"]),
|
|
202
|
+
e($) ? p("", !0) : (n(), l(e(Ne), {
|
|
203
|
+
key: 0,
|
|
204
|
+
ref: "onlineTable",
|
|
205
|
+
rowKey: "jeecg_row_key",
|
|
206
|
+
canResize: !0,
|
|
207
|
+
bordered: !0,
|
|
208
|
+
showIndexColumn: !1,
|
|
209
|
+
loading: e(y),
|
|
210
|
+
columns: e(ae),
|
|
211
|
+
dataSource: e(C),
|
|
212
|
+
pagination: e(a),
|
|
213
|
+
rowSelection: e(ue),
|
|
214
|
+
actionColumn: e(se),
|
|
215
|
+
showTableSetting: !0,
|
|
216
|
+
clickToRowSelect: !1,
|
|
217
|
+
scroll: e(me),
|
|
218
|
+
onTableRedo: e(u),
|
|
219
|
+
class: Ee({ "j-table-force-nowrap": e(pe) }),
|
|
220
|
+
onChange: e(Q)
|
|
221
|
+
}, {
|
|
222
|
+
tableTitle: i(() => [
|
|
223
|
+
e(h).add ? (n(), l(m, {
|
|
224
|
+
key: 0,
|
|
225
|
+
preIcon: "ant-design:plus-outlined",
|
|
226
|
+
type: "primary",
|
|
227
|
+
onClick: e(U)
|
|
228
|
+
}, {
|
|
229
|
+
default: i(() => [
|
|
230
|
+
d("新增")
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["onClick"])) : p("", !0),
|
|
234
|
+
e(h).import ? (n(), l(m, {
|
|
235
|
+
key: 1,
|
|
236
|
+
preIcon: "ant-design:import-outlined",
|
|
237
|
+
type: "primary",
|
|
238
|
+
onClick: e(X)
|
|
239
|
+
}, {
|
|
240
|
+
default: i(() => [
|
|
241
|
+
d("导入")
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["onClick"])) : p("", !0),
|
|
245
|
+
e(h).export ? (n(), l(m, {
|
|
246
|
+
key: 2,
|
|
247
|
+
preIcon: "ant-design:export-outlined",
|
|
248
|
+
type: "primary",
|
|
249
|
+
loading: M.value,
|
|
250
|
+
onClick: le
|
|
251
|
+
}, {
|
|
252
|
+
default: i(() => [
|
|
253
|
+
d(" 导出")
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
256
|
+
}, 8, ["loading"])) : p("", !0),
|
|
257
|
+
e(I) && e(I).length > 0 ? (n(!0), f(P, { key: 3 }, Le(e(I), (o, S) => (n(), f(P, null, [
|
|
258
|
+
o.optType == "js" ? (n(), l(m, {
|
|
259
|
+
key: "cgbtn" + S,
|
|
260
|
+
onClick: (Oe) => e(Z)(o.buttonCode),
|
|
261
|
+
type: "primary",
|
|
262
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
263
|
+
}, {
|
|
264
|
+
default: i(() => [
|
|
265
|
+
d(T(o.buttonName), 1)
|
|
266
|
+
]),
|
|
267
|
+
_: 2
|
|
268
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), l(m, {
|
|
269
|
+
key: "cgbtn" + S,
|
|
270
|
+
onClick: (Oe) => e(ee)(o.buttonCode),
|
|
271
|
+
type: "primary",
|
|
272
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
273
|
+
}, {
|
|
274
|
+
default: i(() => [
|
|
275
|
+
d(T(o.buttonName), 1)
|
|
276
|
+
]),
|
|
277
|
+
_: 2
|
|
278
|
+
}, 1032, ["onClick", "preIcon"])) : p("", !0)
|
|
279
|
+
], 64))), 256)) : p("", !0),
|
|
280
|
+
e(h).batch_delete ? Pe((n(), l(m, {
|
|
281
|
+
key: 4,
|
|
282
|
+
preIcon: "ant-design:delete-outlined",
|
|
283
|
+
onClick: e(W)
|
|
284
|
+
}, {
|
|
285
|
+
default: i(() => [
|
|
286
|
+
d(" 批量删除")
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
}, 8, ["onClick"])), [
|
|
290
|
+
[Fe, e(ce).length > 0]
|
|
291
|
+
]) : p("", !0),
|
|
292
|
+
e(h).super_query ? (n(), l(oo, {
|
|
293
|
+
key: 5,
|
|
294
|
+
ref_key: "superQueryButtonRef",
|
|
295
|
+
ref: v,
|
|
296
|
+
online: "",
|
|
297
|
+
status: e(z),
|
|
298
|
+
onSearch: e(H)
|
|
299
|
+
}, null, 8, ["status", "onSearch"])) : p("", !0)
|
|
300
|
+
]),
|
|
301
|
+
fileSlot: i(({ text: o }) => [
|
|
302
|
+
o ? (n(), l(m, {
|
|
303
|
+
key: 1,
|
|
304
|
+
ghost: !0,
|
|
305
|
+
type: "primary",
|
|
306
|
+
preIcon: "ant-design:download",
|
|
307
|
+
size: "small",
|
|
308
|
+
onClick: (S) => e(de)(o)
|
|
309
|
+
}, {
|
|
310
|
+
default: i(() => [
|
|
311
|
+
d(" 下载 ")
|
|
312
|
+
]),
|
|
313
|
+
_: 2
|
|
314
|
+
}, 1032, ["onClick"])) : (n(), f("span", ro, "无文件"))
|
|
315
|
+
]),
|
|
316
|
+
imgSlot: i(({ text: o }) => [
|
|
317
|
+
o ? (n(), f("img", {
|
|
318
|
+
key: 1,
|
|
319
|
+
src: e(ge)(o),
|
|
320
|
+
alt: "图片不存在",
|
|
321
|
+
class: "online-cell-image",
|
|
322
|
+
onClick: (S) => e(Ce)(o)
|
|
323
|
+
}, null, 8, ao)) : (n(), f("span", lo, "无图片"))
|
|
324
|
+
]),
|
|
325
|
+
htmlSlot: i(({ text: o }) => [
|
|
326
|
+
O("div", { innerHTML: o }, null, 8, so)
|
|
327
|
+
]),
|
|
328
|
+
pcaSlot: i(({ text: o }) => [
|
|
329
|
+
O("div", {
|
|
330
|
+
title: e(D)(o)
|
|
331
|
+
}, T(e(D)(o)), 9, co)
|
|
332
|
+
]),
|
|
333
|
+
dateSlot: i(({ text: o }) => [
|
|
334
|
+
O("span", null, T(e(fe)(o)), 1)
|
|
335
|
+
]),
|
|
336
|
+
action: i(({ record: o }) => [
|
|
337
|
+
s(e(Ve), {
|
|
338
|
+
actions: e(te)(o),
|
|
339
|
+
dropDownActions: e(oe)(o)
|
|
340
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
341
|
+
]),
|
|
342
|
+
_: 1
|
|
343
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
344
|
+
s(je, {
|
|
345
|
+
id: e(r),
|
|
346
|
+
onRegister: e(K),
|
|
347
|
+
onSuccess: e(u),
|
|
348
|
+
onFormConfig: e(N)
|
|
349
|
+
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
350
|
+
s(F, {
|
|
351
|
+
id: e(r),
|
|
352
|
+
onRegister: e(re)
|
|
353
|
+
}, null, 8, ["id", "onRegister"]),
|
|
354
|
+
s(Ke, {
|
|
355
|
+
onRegister: e(G),
|
|
356
|
+
url: e(j)(),
|
|
357
|
+
onOk: e(u),
|
|
358
|
+
online: ""
|
|
359
|
+
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
360
|
+
s(Me, Ae(e(b).model, Qe(e(b).on)), {
|
|
361
|
+
default: i(() => [
|
|
362
|
+
(n(), l(Je(e(b).is), ze(He(e(b).params)), null, 16))
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
365
|
+
}, 16),
|
|
366
|
+
s(qe, {
|
|
367
|
+
onRegister: e(V),
|
|
368
|
+
onSuccess: e(u)
|
|
369
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
370
|
+
s(F, {
|
|
371
|
+
id: e(_e),
|
|
372
|
+
onRegister: e(he),
|
|
373
|
+
defaultFullscreen: !1
|
|
374
|
+
}, null, 8, ["id", "onRegister"]),
|
|
375
|
+
s(Ye, {
|
|
376
|
+
ref_key: "onlinePopModalRef",
|
|
377
|
+
ref: Se,
|
|
378
|
+
id: e(E),
|
|
379
|
+
onRegister: e(ke),
|
|
380
|
+
onSuccess: e(u),
|
|
381
|
+
request: "",
|
|
382
|
+
topTip: ""
|
|
383
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
384
|
+
]);
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
export {
|
|
389
|
+
kt as default
|
|
390
|
+
};
|