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