@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
|
@@ -1,388 +0,0 @@
|
|
|
1
|
-
var E = (R, f, r) => new Promise((h, n) => {
|
|
2
|
-
var w = (s) => {
|
|
3
|
-
try {
|
|
4
|
-
c(r.next(s));
|
|
5
|
-
} catch (b) {
|
|
6
|
-
n(b);
|
|
7
|
-
}
|
|
8
|
-
}, y = (s) => {
|
|
9
|
-
try {
|
|
10
|
-
c(r.throw(s));
|
|
11
|
-
} catch (b) {
|
|
12
|
-
n(b);
|
|
13
|
-
}
|
|
14
|
-
}, c = (s) => s.done ? h(s.value) : Promise.resolve(s.value).then(w, y);
|
|
15
|
-
c((r = r.apply(R, f)).next());
|
|
16
|
-
});
|
|
17
|
-
import { ref as O, provide as Oe, watch as Be, resolveComponent as K, openBlock as i, createElementBlock as C, Fragment as B, createVNode as u, unref as e, createBlock as d, normalizeClass as xe, withCtx as l, createTextVNode as m, createCommentVNode as g, renderList as Fe, toDisplayString as T, withDirectives as De, vShow as Le, createElementVNode as x, mergeProps as Pe, toHandlers as Ae, resolveDynamicComponent as Ke, normalizeProps as He, guardReactiveProps as Je } from "vue";
|
|
18
|
-
import { BasicTable as ze, TableAction as Ne } from "/@/components/Table";
|
|
19
|
-
import Ve from "./OnlineAutoModal-2a146238.mjs";
|
|
20
|
-
import $e from "./OnlineCustomModal-456a85a6.mjs";
|
|
21
|
-
import H from "./OnlineDetailModal-f967f080.mjs";
|
|
22
|
-
import je from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
23
|
-
import { u as qe, a as Qe } from "./useListButton-cef1371a.mjs";
|
|
24
|
-
import { u as Ue, a as We, O as Ge } from "./useExtendComponent-48d37d9b.mjs";
|
|
25
|
-
import Xe from "./OnlineQueryForm-1c5949a7.mjs";
|
|
26
|
-
import { u as Ye } from "./useOnlinePopEvent-e9a042f8.mjs";
|
|
27
|
-
import { E as Ze } from "./constant-fe20103a.mjs";
|
|
28
|
-
import { cloneDeep as eo } from "lodash-es";
|
|
29
|
-
import "/@/components/Modal";
|
|
30
|
-
import "./OnlineForm-630a22c2.mjs";
|
|
31
|
-
import "/@/hooks/web/useMessage";
|
|
32
|
-
import "/@/components/Form/index";
|
|
33
|
-
import "/@/utils/http/axios";
|
|
34
|
-
import "/@/utils";
|
|
35
|
-
import "/@/components/Loading";
|
|
36
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
37
|
-
import "/@/utils/auth";
|
|
38
|
-
import "@ant-design/icons-vue";
|
|
39
|
-
import "/@/hooks/core/useContext";
|
|
40
|
-
import "/@/utils/mitt";
|
|
41
|
-
import "/@/utils/cache";
|
|
42
|
-
import "/@/utils/common/compUtils";
|
|
43
|
-
import "/@/store/modules/user";
|
|
44
|
-
import "./index-6a09a912.mjs";
|
|
45
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
46
|
-
import "vue-router";
|
|
47
|
-
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
48
|
-
import "./OnlineFormDetail-1b216792.mjs";
|
|
49
|
-
import "./DetailForm-e4538e7a.mjs";
|
|
50
|
-
import "/@/utils/propTypes";
|
|
51
|
-
import "/@/utils/dict";
|
|
52
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
53
|
-
import "/@/utils/dict/index";
|
|
54
|
-
import "/@/api/common/api";
|
|
55
|
-
import "/@/components/Form/src/utils/Area";
|
|
56
|
-
import "/@/components/Preview/index";
|
|
57
|
-
import "./OnlineSubFormDetail-0aa4966c.mjs";
|
|
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
|
-
const oo = {
|
|
73
|
-
key: 0,
|
|
74
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
75
|
-
}, to = {
|
|
76
|
-
key: 0,
|
|
77
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
78
|
-
}, no = ["src", "onClick"], io = ["innerHTML"], lo = ["title"], ft = {
|
|
79
|
-
__name: "OnlCgformErpSubTable",
|
|
80
|
-
props: ["data", "mainTableSelectedRowRcord"],
|
|
81
|
-
setup(R) {
|
|
82
|
-
const f = R, r = O(!1), {
|
|
83
|
-
ID: h,
|
|
84
|
-
onlineTableContext: n,
|
|
85
|
-
onlineQueryFormOuter: w,
|
|
86
|
-
loading: y,
|
|
87
|
-
reload: c,
|
|
88
|
-
dataSource: s,
|
|
89
|
-
pagination: b,
|
|
90
|
-
handleSpecialConfig: J,
|
|
91
|
-
getColumnList: ro,
|
|
92
|
-
handleChangeInTable: z,
|
|
93
|
-
loadData: N,
|
|
94
|
-
onlineExtConfigJson: F,
|
|
95
|
-
handleFormConfig: V,
|
|
96
|
-
registerCustomModal: $,
|
|
97
|
-
tableReloading: j
|
|
98
|
-
} = qe({ code: f.data.code, themeTemplate: Ze });
|
|
99
|
-
n.isErpSubTable = !0;
|
|
100
|
-
let { initCgEnhanceJs: q } = Ue(n);
|
|
101
|
-
const {
|
|
102
|
-
buttonSwitch: k,
|
|
103
|
-
cgLinkButtonList: ao,
|
|
104
|
-
cgTopButtonList: I,
|
|
105
|
-
importUrl: Q,
|
|
106
|
-
registerModal: U,
|
|
107
|
-
handleAdd: W,
|
|
108
|
-
handleEdit: co,
|
|
109
|
-
handleBatchDelete: G,
|
|
110
|
-
registerImportModal: X,
|
|
111
|
-
onImportExcel: Y,
|
|
112
|
-
onExportExcel: Z,
|
|
113
|
-
cgButtonJsHandler: ee,
|
|
114
|
-
cgButtonActionHandler: oe,
|
|
115
|
-
cgButtonLinkHandler: so,
|
|
116
|
-
handleSubmitFlow: uo,
|
|
117
|
-
getDropDownActions: te,
|
|
118
|
-
getActions: ne,
|
|
119
|
-
initButtonList: ie,
|
|
120
|
-
initButtonSwitch: le,
|
|
121
|
-
registerDetailModal: re,
|
|
122
|
-
registerBpmModal: po
|
|
123
|
-
} = Qe(n, F), M = O(!1);
|
|
124
|
-
function ae() {
|
|
125
|
-
return E(this, null, function* () {
|
|
126
|
-
try {
|
|
127
|
-
M.value = !0, yield Z();
|
|
128
|
-
} finally {
|
|
129
|
-
setTimeout(() => M.value = !1, 1500);
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
const {
|
|
134
|
-
columns: ce,
|
|
135
|
-
actionColumn: se,
|
|
136
|
-
selectedKeys: ue,
|
|
137
|
-
rowSelection: de,
|
|
138
|
-
enableScrollBar: pe,
|
|
139
|
-
tableScroll: me,
|
|
140
|
-
downloadRowFile: ge,
|
|
141
|
-
getImgView: fe,
|
|
142
|
-
getPcaText: D,
|
|
143
|
-
getFormatDate: ye,
|
|
144
|
-
handleColumnResult: Ce,
|
|
145
|
-
hrefComponent: _,
|
|
146
|
-
viewOnlineCellImage: he,
|
|
147
|
-
hrefMainTableId: be,
|
|
148
|
-
registerOnlineHrefModal: ke,
|
|
149
|
-
registerPopModal: _e,
|
|
150
|
-
openPopModal: Se,
|
|
151
|
-
onlinePopModalRef: ve,
|
|
152
|
-
popTableId: L
|
|
153
|
-
} = We(n, F);
|
|
154
|
-
Te(eo(f.data));
|
|
155
|
-
const P = O(null), S = f.data.foreignKeys;
|
|
156
|
-
let A;
|
|
157
|
-
if (S != null && S.length) {
|
|
158
|
-
const t = S[0], a = t.field;
|
|
159
|
-
A = t.key, n.foreignKeyField = a;
|
|
160
|
-
} else
|
|
161
|
-
n.foreignKeyField = null, n.foreignKeyValue = null;
|
|
162
|
-
Oe("foreignkey", P), Be(
|
|
163
|
-
() => f.mainTableSelectedRowRcord,
|
|
164
|
-
(t) => {
|
|
165
|
-
if (t) {
|
|
166
|
-
if (n.foreignKeyField) {
|
|
167
|
-
const a = t[A];
|
|
168
|
-
n.foreignKeyValue = a, P.value = { field: n.foreignKeyField, value: a };
|
|
169
|
-
}
|
|
170
|
-
r.value = !0, y.value = !0, N().finally(() => {
|
|
171
|
-
y.value = !1;
|
|
172
|
-
});
|
|
173
|
-
} else
|
|
174
|
-
r.value = !1, s.value = [];
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
immediate: !0
|
|
178
|
-
}
|
|
179
|
-
);
|
|
180
|
-
function Te(t) {
|
|
181
|
-
return E(this, null, function* () {
|
|
182
|
-
Re(t), y.value = !1, n.execButtonEnhance("setup");
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
function Re(t) {
|
|
186
|
-
let a = q(t.enhanceJs);
|
|
187
|
-
n.EnhanceJS = a, ie(t.cgButtonList), le(t.hideColumns), Ce(t), J(t);
|
|
188
|
-
}
|
|
189
|
-
function we(t) {
|
|
190
|
-
n.queryParam = t, c();
|
|
191
|
-
}
|
|
192
|
-
function Ie(t) {
|
|
193
|
-
console.log("openOnlinePopModal", t), L.value = t.id;
|
|
194
|
-
let a = {
|
|
195
|
-
title: t.describe
|
|
196
|
-
};
|
|
197
|
-
t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), Se(!0, a);
|
|
198
|
-
}
|
|
199
|
-
return Ye(Ie), (t, a) => {
|
|
200
|
-
const p = K("a-button"), Me = K("a-modal");
|
|
201
|
-
return i(), C(B, null, [
|
|
202
|
-
u(Xe, {
|
|
203
|
-
ref_key: "onlineQueryFormOuter",
|
|
204
|
-
ref: w,
|
|
205
|
-
id: e(h),
|
|
206
|
-
onSearch: we
|
|
207
|
-
}, null, 8, ["id"]),
|
|
208
|
-
e(j) ? g("", !0) : (i(), d(e(ze), {
|
|
209
|
-
key: 0,
|
|
210
|
-
ref: "onlineTable",
|
|
211
|
-
rowKey: "jeecg_row_key",
|
|
212
|
-
canResize: !0,
|
|
213
|
-
bordered: !0,
|
|
214
|
-
showIndexColumn: !1,
|
|
215
|
-
loading: e(y),
|
|
216
|
-
columns: e(ce),
|
|
217
|
-
dataSource: e(s),
|
|
218
|
-
pagination: e(b),
|
|
219
|
-
rowSelection: e(de),
|
|
220
|
-
actionColumn: e(se),
|
|
221
|
-
showTableSetting: !0,
|
|
222
|
-
clickToRowSelect: !1,
|
|
223
|
-
scroll: e(me),
|
|
224
|
-
onTableRedo: e(c),
|
|
225
|
-
class: xe({ "j-table-force-nowrap": e(pe) }),
|
|
226
|
-
onChange: e(z)
|
|
227
|
-
}, {
|
|
228
|
-
tableTitle: l(() => [
|
|
229
|
-
r.value && e(k).add ? (i(), d(p, {
|
|
230
|
-
key: 0,
|
|
231
|
-
preIcon: "ant-design:plus-outlined",
|
|
232
|
-
type: "primary",
|
|
233
|
-
onClick: e(W)
|
|
234
|
-
}, {
|
|
235
|
-
default: l(() => [
|
|
236
|
-
m("新增")
|
|
237
|
-
]),
|
|
238
|
-
_: 1
|
|
239
|
-
}, 8, ["onClick"])) : g("", !0),
|
|
240
|
-
r.value && e(k).import ? (i(), d(p, {
|
|
241
|
-
key: 1,
|
|
242
|
-
preIcon: "ant-design:import-outlined",
|
|
243
|
-
type: "primary",
|
|
244
|
-
onClick: e(Y)
|
|
245
|
-
}, {
|
|
246
|
-
default: l(() => [
|
|
247
|
-
m("导入")
|
|
248
|
-
]),
|
|
249
|
-
_: 1
|
|
250
|
-
}, 8, ["onClick"])) : g("", !0),
|
|
251
|
-
r.value && e(k).export ? (i(), d(p, {
|
|
252
|
-
key: 2,
|
|
253
|
-
preIcon: "ant-design:export-outlined",
|
|
254
|
-
type: "primary",
|
|
255
|
-
loading: M.value,
|
|
256
|
-
onClick: ae
|
|
257
|
-
}, {
|
|
258
|
-
default: l(() => [
|
|
259
|
-
m(" 导出")
|
|
260
|
-
]),
|
|
261
|
-
_: 1
|
|
262
|
-
}, 8, ["loading"])) : g("", !0),
|
|
263
|
-
r.value && e(I) && e(I).length > 0 ? (i(!0), C(B, { key: 3 }, Fe(e(I), (o, v) => (i(), C(B, null, [
|
|
264
|
-
o.optType == "js" ? (i(), d(p, {
|
|
265
|
-
key: "cgbtn" + v,
|
|
266
|
-
onClick: (Ee) => e(ee)(o.buttonCode),
|
|
267
|
-
type: "primary",
|
|
268
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
269
|
-
}, {
|
|
270
|
-
default: l(() => [
|
|
271
|
-
m(T(o.buttonName), 1)
|
|
272
|
-
]),
|
|
273
|
-
_: 2
|
|
274
|
-
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (i(), d(p, {
|
|
275
|
-
key: "cgbtn" + v,
|
|
276
|
-
onClick: (Ee) => e(oe)(o.buttonCode),
|
|
277
|
-
type: "primary",
|
|
278
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
279
|
-
}, {
|
|
280
|
-
default: l(() => [
|
|
281
|
-
m(T(o.buttonName), 1)
|
|
282
|
-
]),
|
|
283
|
-
_: 2
|
|
284
|
-
}, 1032, ["onClick", "preIcon"])) : g("", !0)
|
|
285
|
-
], 64))), 256)) : g("", !0),
|
|
286
|
-
e(k).batch_delete ? De((i(), d(p, {
|
|
287
|
-
key: 4,
|
|
288
|
-
preIcon: "ant-design:delete-outlined",
|
|
289
|
-
onClick: e(G)
|
|
290
|
-
}, {
|
|
291
|
-
default: l(() => [
|
|
292
|
-
m(" 批量删除")
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}, 8, ["onClick"])), [
|
|
296
|
-
[Le, e(ue).length > 0]
|
|
297
|
-
]) : g("", !0)
|
|
298
|
-
]),
|
|
299
|
-
fileSlot: l(({ text: o }) => [
|
|
300
|
-
o ? (i(), d(p, {
|
|
301
|
-
key: 1,
|
|
302
|
-
ghost: !0,
|
|
303
|
-
type: "primary",
|
|
304
|
-
preIcon: "ant-design:download",
|
|
305
|
-
size: "small",
|
|
306
|
-
onClick: (v) => e(ge)(o)
|
|
307
|
-
}, {
|
|
308
|
-
default: l(() => [
|
|
309
|
-
m(" 下载 ")
|
|
310
|
-
]),
|
|
311
|
-
_: 2
|
|
312
|
-
}, 1032, ["onClick"])) : (i(), C("span", oo, "无文件"))
|
|
313
|
-
]),
|
|
314
|
-
imgSlot: l(({ text: o }) => [
|
|
315
|
-
o ? (i(), C("img", {
|
|
316
|
-
key: 1,
|
|
317
|
-
src: e(fe)(o),
|
|
318
|
-
alt: "图片不存在",
|
|
319
|
-
class: "online-cell-image",
|
|
320
|
-
onClick: (v) => e(he)(o)
|
|
321
|
-
}, null, 8, no)) : (i(), C("span", to, "无图片"))
|
|
322
|
-
]),
|
|
323
|
-
htmlSlot: l(({ text: o }) => [
|
|
324
|
-
x("div", { innerHTML: o }, null, 8, io)
|
|
325
|
-
]),
|
|
326
|
-
pcaSlot: l(({ text: o }) => [
|
|
327
|
-
x("div", {
|
|
328
|
-
title: e(D)(o)
|
|
329
|
-
}, T(e(D)(o)), 9, lo)
|
|
330
|
-
]),
|
|
331
|
-
dateSlot: l(({ text: o }) => [
|
|
332
|
-
x("span", null, T(e(ye)(o)), 1)
|
|
333
|
-
]),
|
|
334
|
-
action: l(({ record: o }) => [
|
|
335
|
-
u(e(Ne), {
|
|
336
|
-
actions: e(ne)(o),
|
|
337
|
-
dropDownActions: e(te)(o)
|
|
338
|
-
}, null, 8, ["actions", "dropDownActions"])
|
|
339
|
-
]),
|
|
340
|
-
_: 1
|
|
341
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
342
|
-
u(Ve, {
|
|
343
|
-
id: e(h),
|
|
344
|
-
onRegister: e(U),
|
|
345
|
-
onSuccess: e(c),
|
|
346
|
-
onFormConfig: e(V)
|
|
347
|
-
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
348
|
-
u(H, {
|
|
349
|
-
id: e(h),
|
|
350
|
-
onRegister: e(re)
|
|
351
|
-
}, null, 8, ["id", "onRegister"]),
|
|
352
|
-
u(je, {
|
|
353
|
-
onRegister: e(X),
|
|
354
|
-
url: e(Q)(),
|
|
355
|
-
onOk: e(c),
|
|
356
|
-
online: ""
|
|
357
|
-
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
358
|
-
u(Me, Pe(e(_).model, Ae(e(_).on)), {
|
|
359
|
-
default: l(() => [
|
|
360
|
-
(i(), d(Ke(e(_).is), He(Je(e(_).params)), null, 16))
|
|
361
|
-
]),
|
|
362
|
-
_: 1
|
|
363
|
-
}, 16),
|
|
364
|
-
u($e, {
|
|
365
|
-
onRegister: e($),
|
|
366
|
-
onSuccess: e(c)
|
|
367
|
-
}, null, 8, ["onRegister", "onSuccess"]),
|
|
368
|
-
u(H, {
|
|
369
|
-
id: e(be),
|
|
370
|
-
onRegister: e(ke),
|
|
371
|
-
defaultFullscreen: !1
|
|
372
|
-
}, null, 8, ["id", "onRegister"]),
|
|
373
|
-
u(Ge, {
|
|
374
|
-
ref_key: "onlinePopModalRef",
|
|
375
|
-
ref: ve,
|
|
376
|
-
id: e(L),
|
|
377
|
-
onRegister: e(_e),
|
|
378
|
-
onSuccess: e(c),
|
|
379
|
-
request: "",
|
|
380
|
-
topTip: ""
|
|
381
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
382
|
-
], 64);
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
export {
|
|
387
|
-
ft as default
|
|
388
|
-
};
|