@jeecg/online 3.5.3-beta2 → 3.5.3-vite4
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 +125 -0
- package/AuthButtonTree-d73bccf5.mjs +156 -0
- package/AuthDataConfig-32cf23d2.mjs +212 -0
- package/AuthDataTree-03d62d3f.mjs +139 -0
- package/AuthFieldConfig-b1217a0c.mjs +139 -0
- package/AuthFieldTree-888e04a9.mjs +232 -0
- package/AuthManagerDrawer-f127b8a2.mjs +114 -0
- package/AuthSetterModal-37da78ed.mjs +261 -0
- package/CgformCopyList-3adab58f.mjs +245 -0
- package/CgformModal-6938d8c2.mjs +613 -0
- package/CgreportModal-77ec8c17.mjs +12 -0
- package/CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs +567 -0
- package/CheckDictTable-414313f2.mjs +211 -0
- package/CodeFileListModal-4831ce3d.mjs +158 -0
- package/CodeFileViewModal-5990dac4.mjs +244 -0
- package/CodeGeneratorModal-7df9e25d.mjs +234 -0
- package/CustomButtonList-1c9bd859.mjs +363 -0
- package/DBAttributeTable-cd1c41e5.mjs +473 -0
- package/DbToOnlineModal-dc5d2030.mjs +160 -0
- package/DetailForm-e4538e7a.mjs +446 -0
- package/EnhanceJavaModal-7f53d2ca.mjs +260 -0
- package/EnhanceJsHistory-c30805ce.mjs +184 -0
- package/EnhanceJsModal-0b133341.mjs +233 -0
- package/EnhanceSqlModal-33a94c83.mjs +259 -0
- package/ExtendConfigModal-60f2cf86.mjs +111 -0
- package/FieldExtendJsonModal-48f7d67f.mjs +220 -0
- package/FileSelectModal-64aaf623.mjs +91 -0
- package/ForeignKeyTable-cb1abd1d.mjs +69 -0
- package/IndexTable-4e94cd1f.mjs +89 -0
- package/JModalTip-abe1515a.mjs +46 -0
- package/JOnlineSearchSelect-5608a5cf.mjs +94 -0
- package/LeftDepart-ca7a7375.mjs +82 -0
- package/LeftRole-d0fa8398.mjs +86 -0
- package/LeftUser-0c88c240.mjs +105 -0
- package/LinkTableConfigModal-77d7c0b9.mjs +230 -0
- package/LinkTableFieldConfigModal-c5689ab0.mjs +178 -0
- package/LinkTableListPiece-34266919.mjs +34 -0
- package/ModalFormDemo-0eeea994.mjs +78 -0
- package/OnlCgformErpList-7a0388d8.mjs +425 -0
- package/OnlCgformErpSubTable-fc6ade76.mjs +388 -0
- package/OnlineAutoList-85e6a30d.mjs +472 -0
- package/OnlineAutoModal-2a146238.mjs +206 -0
- package/OnlineAutoTreeList-f8d0e100.mjs +495 -0
- package/OnlineCustomModal-456a85a6.mjs +227 -0
- package/OnlineDetailModal-f967f080.mjs +177 -0
- package/OnlineForm-630a22c2.mjs +778 -0
- package/OnlineFormDetail-1b216792.mjs +296 -0
- package/OnlineQueryForm-1c5949a7.mjs +378 -0
- package/OnlineSearchFormItem-7c2ea9ed.mjs +352 -0
- package/OnlineSelectCascade-c7baf52b.mjs +160 -0
- package/OnlineSubFormDetail-0aa4966c.mjs +140 -0
- package/PageAttributeTable-811185fd.mjs +404 -0
- package/ProcessOnlineForm-27be6f6f.mjs +177 -0
- package/QueryTable-4ba771ef.mjs +115 -0
- package/SuperQuery-3821f984.mjs +845 -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-fe20103a.mjs +6 -0
- package/enhance.api-138e6826.mjs +104 -0
- package/enhance.data-efc7e155.mjs +175 -0
- package/index-074b92e5.mjs +236 -0
- package/index-6a09a912.mjs +58 -0
- package/index-9d32ae88.mjs +313 -0
- package/main.index.js +7 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-2d6a5955.mjs +388 -0
- package/useExtendComponent-48d37d9b.mjs +3919 -0
- package/useListButton-cef1371a.mjs +656 -0
- package/useOnlinePopEvent-e9a042f8.mjs +19 -0
- package/useOnlineTest-0df0ae86.mjs +43 -0
- package/useSchemas-fc8d97ce.mjs +669 -0
- package/useTableSync-dc333087.mjs +83 -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 -524
- package/OnlineAutoModal.js +0 -226
- package/OnlineAutoTreeList.js +0 -553
- package/OnlineCustomModal.js +0 -286
- package/OnlineDetailModal.js +0 -190
- package/OnlineForm.js +0 -1018
- 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 -1021
- package/SuperQueryValComponent.js +0 -9
- package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -162
- 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,425 @@
|
|
|
1
|
+
var R = (D, h, m) => new Promise((C, v) => {
|
|
2
|
+
var g = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
b(m.next(r));
|
|
5
|
+
} catch (s) {
|
|
6
|
+
v(s);
|
|
7
|
+
}
|
|
8
|
+
}, u = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
b(m.throw(r));
|
|
11
|
+
} catch (s) {
|
|
12
|
+
v(s);
|
|
13
|
+
}
|
|
14
|
+
}, b = (r) => r.done ? C(r.value) : Promise.resolve(r.value).then(g, u);
|
|
15
|
+
b((m = m.apply(D, h)).next());
|
|
16
|
+
});
|
|
17
|
+
import { ref as T, watch as J, resolveComponent as I, openBlock as n, createElementBlock as y, createElementVNode as L, createVNode as d, unref as e, createBlock as l, normalizeClass as Je, withCtx as i, createTextVNode as _, createCommentVNode as c, Fragment as x, renderList as z, toDisplayString as M, withDirectives as ze, vShow as Ke, mergeProps as Ne, toHandlers as $e, resolveDynamicComponent as Ve, normalizeProps as qe, guardReactiveProps as Ue } from "vue";
|
|
18
|
+
import { BasicTable as je, TableAction as We } from "/@/components/Table";
|
|
19
|
+
import { useMessage as Ge } from "/@/hooks/web/useMessage";
|
|
20
|
+
import Xe from "./OnlineAutoModal-2a146238.mjs";
|
|
21
|
+
import Ye from "./OnlineCustomModal-456a85a6.mjs";
|
|
22
|
+
import K from "./OnlineDetailModal-f967f080.mjs";
|
|
23
|
+
import Ze from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as eo, a as oo } from "./useListButton-cef1371a.mjs";
|
|
25
|
+
import { u as to, a as no, O as io, g as lo } from "./useExtendComponent-48d37d9b.mjs";
|
|
26
|
+
import ro from "./OnlineQueryForm-1c5949a7.mjs";
|
|
27
|
+
import ao from "./SuperQuery-3821f984.mjs";
|
|
28
|
+
import { u as so } from "./useOnlinePopEvent-e9a042f8.mjs";
|
|
29
|
+
import co from "./OnlCgformErpSubTable-fc6ade76.mjs";
|
|
30
|
+
import { E as N } from "./constant-fe20103a.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 "./index-6a09a912.mjs";
|
|
47
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
48
|
+
import "vue-router";
|
|
49
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
50
|
+
import "./OnlineFormDetail-1b216792.mjs";
|
|
51
|
+
import "./DetailForm-e4538e7a.mjs";
|
|
52
|
+
import "/@/utils/propTypes";
|
|
53
|
+
import "/@/utils/dict";
|
|
54
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
55
|
+
import "/@/utils/dict/index";
|
|
56
|
+
import "/@/api/common/api";
|
|
57
|
+
import "/@/components/Form/src/utils/Area";
|
|
58
|
+
import "/@/components/Preview/index";
|
|
59
|
+
import "./OnlineSubFormDetail-0aa4966c.mjs";
|
|
60
|
+
import "/@/router";
|
|
61
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
62
|
+
import "ant-design-vue";
|
|
63
|
+
import "/@/hooks/system/useMethods";
|
|
64
|
+
import "/@/components/Form/src/componentMap";
|
|
65
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
66
|
+
import "/@/views/system/user/user.api";
|
|
67
|
+
import "/@/utils/desform/customExpression";
|
|
68
|
+
import "/@/store/modules/permission";
|
|
69
|
+
import "/@/hooks/system/useListPage";
|
|
70
|
+
import "./LinkTableListPiece-34266919.mjs";
|
|
71
|
+
import "./OnlineSelectCascade-c7baf52b.mjs";
|
|
72
|
+
import "./JModalTip-abe1515a.mjs";
|
|
73
|
+
import "@vueuse/core";
|
|
74
|
+
import "./SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs";
|
|
75
|
+
import "/@/utils/is";
|
|
76
|
+
const uo = { class: "p-2 cgformErpList" }, po = { class: "content" }, mo = {
|
|
77
|
+
key: 0,
|
|
78
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
79
|
+
}, go = {
|
|
80
|
+
key: 0,
|
|
81
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
82
|
+
}, fo = ["src", "onClick"], yo = ["innerHTML"], _o = ["title"], Lt = {
|
|
83
|
+
__name: "OnlCgformErpList",
|
|
84
|
+
setup(D) {
|
|
85
|
+
const h = T([]), m = T(0), C = T(null), { createMessage: v } = Ge(), {
|
|
86
|
+
ID: g,
|
|
87
|
+
onlineTableContext: u,
|
|
88
|
+
onlineQueryFormOuter: b,
|
|
89
|
+
loading: r,
|
|
90
|
+
reload: s,
|
|
91
|
+
dataSource: P,
|
|
92
|
+
pagination: $,
|
|
93
|
+
handleSpecialConfig: V,
|
|
94
|
+
getColumnList: q,
|
|
95
|
+
handleChangeInTable: U,
|
|
96
|
+
loadData: j,
|
|
97
|
+
superQueryButtonRef: E,
|
|
98
|
+
superQueryStatus: W,
|
|
99
|
+
handleSuperQuery: G,
|
|
100
|
+
onlineExtConfigJson: F,
|
|
101
|
+
handleFormConfig: X,
|
|
102
|
+
registerCustomModal: Y,
|
|
103
|
+
tableReloading: Z
|
|
104
|
+
} = eo({ themeTemplate: N });
|
|
105
|
+
g.value || v.warning("地址错误, 配置ID不存在!");
|
|
106
|
+
let { initCgEnhanceJs: ee } = to(u);
|
|
107
|
+
const {
|
|
108
|
+
buttonSwitch: k,
|
|
109
|
+
cgLinkButtonList: ho,
|
|
110
|
+
cgTopButtonList: O,
|
|
111
|
+
importUrl: oe,
|
|
112
|
+
registerModal: te,
|
|
113
|
+
handleAdd: ne,
|
|
114
|
+
handleEdit: Co,
|
|
115
|
+
handleBatchDelete: ie,
|
|
116
|
+
registerImportModal: le,
|
|
117
|
+
onImportExcel: re,
|
|
118
|
+
onExportExcel: ae,
|
|
119
|
+
cgButtonJsHandler: se,
|
|
120
|
+
cgButtonActionHandler: ce,
|
|
121
|
+
cgButtonLinkHandler: bo,
|
|
122
|
+
handleSubmitFlow: ko,
|
|
123
|
+
getDropDownActions: ue,
|
|
124
|
+
getActions: pe,
|
|
125
|
+
initButtonList: de,
|
|
126
|
+
initButtonSwitch: me,
|
|
127
|
+
registerDetailModal: ge
|
|
128
|
+
} = oo(u, F), B = T(!1);
|
|
129
|
+
function fe() {
|
|
130
|
+
return R(this, null, function* () {
|
|
131
|
+
try {
|
|
132
|
+
B.value = !0, yield ae();
|
|
133
|
+
} finally {
|
|
134
|
+
setTimeout(() => B.value = !1, 1500);
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
const {
|
|
139
|
+
columns: ye,
|
|
140
|
+
actionColumn: _e,
|
|
141
|
+
selectedKeys: S,
|
|
142
|
+
rowSelection: he,
|
|
143
|
+
enableScrollBar: Ce,
|
|
144
|
+
tableScroll: be,
|
|
145
|
+
downloadRowFile: ke,
|
|
146
|
+
getImgView: ve,
|
|
147
|
+
getPcaText: A,
|
|
148
|
+
getFormatDate: Se,
|
|
149
|
+
handleColumnResult: we,
|
|
150
|
+
hrefComponent: w,
|
|
151
|
+
viewOnlineCellImage: Re,
|
|
152
|
+
hrefMainTableId: Te,
|
|
153
|
+
registerOnlineHrefModal: Ie,
|
|
154
|
+
registerPopModal: Le,
|
|
155
|
+
openPopModal: Me,
|
|
156
|
+
onlinePopModalRef: Ee,
|
|
157
|
+
popTableId: Q
|
|
158
|
+
} = no(u, F);
|
|
159
|
+
J(
|
|
160
|
+
S,
|
|
161
|
+
(t) => {
|
|
162
|
+
var a;
|
|
163
|
+
(a = S.value) != null && a.length ? C.value = P.value.find((p) => p.id === S.value[0]) : C.value = null;
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
immediate: !0
|
|
167
|
+
}
|
|
168
|
+
), J(
|
|
169
|
+
g,
|
|
170
|
+
() => {
|
|
171
|
+
console.log("watched id is change..."), Oe();
|
|
172
|
+
},
|
|
173
|
+
{ immediate: !0 }
|
|
174
|
+
);
|
|
175
|
+
function Oe() {
|
|
176
|
+
return R(this, null, function* () {
|
|
177
|
+
r.value = !0;
|
|
178
|
+
let t = yield q(N);
|
|
179
|
+
Be(t.main), h.value = t.subList, yield j(), r.value = !1, u.execButtonEnhance("setup");
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
function Be(t) {
|
|
183
|
+
let a = ee(t.enhanceJs);
|
|
184
|
+
u.EnhanceJS = a, de(t.cgButtonList), me(t.hideColumns), we(t, "radio"), V(t);
|
|
185
|
+
}
|
|
186
|
+
function xe(t) {
|
|
187
|
+
u.queryParam = t, s();
|
|
188
|
+
}
|
|
189
|
+
function De(t) {
|
|
190
|
+
return R(this, null, function* () {
|
|
191
|
+
console.log("onQueryFormLoaded", t), yield lo(E), E.value.init(t);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function Pe(t) {
|
|
195
|
+
console.log("openOnlinePopModal", t), Q.value = t.id;
|
|
196
|
+
let a = {
|
|
197
|
+
title: t.describe
|
|
198
|
+
};
|
|
199
|
+
t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), Me(!0, a);
|
|
200
|
+
}
|
|
201
|
+
return so(Pe), console.log("111111111-------onlineTableContext====111111111111111111", u), (t, a) => {
|
|
202
|
+
var H;
|
|
203
|
+
const p = I("a-button"), Fe = I("a-tab-pane"), Ae = I("a-tabs"), Qe = I("a-modal");
|
|
204
|
+
return n(), y("div", uo, [
|
|
205
|
+
L("div", po, [
|
|
206
|
+
d(ro, {
|
|
207
|
+
ref_key: "onlineQueryFormOuter",
|
|
208
|
+
ref: b,
|
|
209
|
+
id: e(g),
|
|
210
|
+
onSearch: xe,
|
|
211
|
+
onLoaded: De
|
|
212
|
+
}, null, 8, ["id"]),
|
|
213
|
+
e(Z) ? c("", !0) : (n(), l(e(je), {
|
|
214
|
+
key: 0,
|
|
215
|
+
ref: "onlineTable",
|
|
216
|
+
rowKey: "jeecg_row_key",
|
|
217
|
+
canResize: !0,
|
|
218
|
+
bordered: !0,
|
|
219
|
+
showIndexColumn: !1,
|
|
220
|
+
loading: e(r),
|
|
221
|
+
columns: e(ye),
|
|
222
|
+
dataSource: e(P),
|
|
223
|
+
pagination: e($),
|
|
224
|
+
rowSelection: e(he),
|
|
225
|
+
actionColumn: e(_e),
|
|
226
|
+
showTableSetting: !0,
|
|
227
|
+
clickToRowSelect: !1,
|
|
228
|
+
scroll: e(be),
|
|
229
|
+
onTableRedo: e(s),
|
|
230
|
+
class: Je({ "j-table-force-nowrap": e(Ce) }),
|
|
231
|
+
onChange: e(U)
|
|
232
|
+
}, {
|
|
233
|
+
tableTitle: i(() => [
|
|
234
|
+
e(k).add ? (n(), l(p, {
|
|
235
|
+
key: 0,
|
|
236
|
+
preIcon: "ant-design:plus-outlined",
|
|
237
|
+
type: "primary",
|
|
238
|
+
onClick: e(ne)
|
|
239
|
+
}, {
|
|
240
|
+
default: i(() => [
|
|
241
|
+
_("新增")
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["onClick"])) : c("", !0),
|
|
245
|
+
e(k).import ? (n(), l(p, {
|
|
246
|
+
key: 1,
|
|
247
|
+
preIcon: "ant-design:import-outlined",
|
|
248
|
+
type: "primary",
|
|
249
|
+
onClick: e(re)
|
|
250
|
+
}, {
|
|
251
|
+
default: i(() => [
|
|
252
|
+
_("导入")
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["onClick"])) : c("", !0),
|
|
256
|
+
e(k).export ? (n(), l(p, {
|
|
257
|
+
key: 2,
|
|
258
|
+
preIcon: "ant-design:export-outlined",
|
|
259
|
+
type: "primary",
|
|
260
|
+
loading: B.value,
|
|
261
|
+
onClick: fe
|
|
262
|
+
}, {
|
|
263
|
+
default: i(() => [
|
|
264
|
+
_(" 导出")
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
}, 8, ["loading"])) : c("", !0),
|
|
268
|
+
e(O) && e(O).length > 0 ? (n(!0), y(x, { key: 3 }, z(e(O), (o, f) => (n(), y(x, null, [
|
|
269
|
+
o.optType == "js" ? (n(), l(p, {
|
|
270
|
+
key: "cgbtn" + f,
|
|
271
|
+
onClick: (He) => e(se)(o.buttonCode),
|
|
272
|
+
type: "primary",
|
|
273
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
274
|
+
}, {
|
|
275
|
+
default: i(() => [
|
|
276
|
+
_(M(o.buttonName), 1)
|
|
277
|
+
]),
|
|
278
|
+
_: 2
|
|
279
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), l(p, {
|
|
280
|
+
key: "cgbtn" + f,
|
|
281
|
+
onClick: (He) => e(ce)(o.buttonCode),
|
|
282
|
+
type: "primary",
|
|
283
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
284
|
+
}, {
|
|
285
|
+
default: i(() => [
|
|
286
|
+
_(M(o.buttonName), 1)
|
|
287
|
+
]),
|
|
288
|
+
_: 2
|
|
289
|
+
}, 1032, ["onClick", "preIcon"])) : c("", !0)
|
|
290
|
+
], 64))), 256)) : c("", !0),
|
|
291
|
+
e(k).batch_delete ? ze((n(), l(p, {
|
|
292
|
+
key: 4,
|
|
293
|
+
preIcon: "ant-design:delete-outlined",
|
|
294
|
+
onClick: e(ie)
|
|
295
|
+
}, {
|
|
296
|
+
default: i(() => [
|
|
297
|
+
_(" 批量删除")
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
}, 8, ["onClick"])), [
|
|
301
|
+
[Ke, e(S).length > 0]
|
|
302
|
+
]) : c("", !0),
|
|
303
|
+
e(k).super_query ? (n(), l(ao, {
|
|
304
|
+
key: 5,
|
|
305
|
+
ref_key: "superQueryButtonRef",
|
|
306
|
+
ref: E,
|
|
307
|
+
online: "",
|
|
308
|
+
status: e(W),
|
|
309
|
+
onSearch: e(G)
|
|
310
|
+
}, null, 8, ["status", "onSearch"])) : c("", !0)
|
|
311
|
+
]),
|
|
312
|
+
fileSlot: i(({ text: o }) => [
|
|
313
|
+
o ? (n(), l(p, {
|
|
314
|
+
key: 1,
|
|
315
|
+
ghost: !0,
|
|
316
|
+
type: "primary",
|
|
317
|
+
preIcon: "ant-design:download",
|
|
318
|
+
size: "small",
|
|
319
|
+
onClick: (f) => e(ke)(o)
|
|
320
|
+
}, {
|
|
321
|
+
default: i(() => [
|
|
322
|
+
_(" 下载 ")
|
|
323
|
+
]),
|
|
324
|
+
_: 2
|
|
325
|
+
}, 1032, ["onClick"])) : (n(), y("span", mo, "无文件"))
|
|
326
|
+
]),
|
|
327
|
+
imgSlot: i(({ text: o }) => [
|
|
328
|
+
o ? (n(), y("img", {
|
|
329
|
+
key: 1,
|
|
330
|
+
src: e(ve)(o),
|
|
331
|
+
alt: "图片不存在",
|
|
332
|
+
class: "online-cell-image",
|
|
333
|
+
onClick: (f) => e(Re)(o)
|
|
334
|
+
}, null, 8, fo)) : (n(), y("span", go, "无图片"))
|
|
335
|
+
]),
|
|
336
|
+
htmlSlot: i(({ text: o }) => [
|
|
337
|
+
L("div", { innerHTML: o }, null, 8, yo)
|
|
338
|
+
]),
|
|
339
|
+
pcaSlot: i(({ text: o }) => [
|
|
340
|
+
L("div", {
|
|
341
|
+
title: e(A)(o)
|
|
342
|
+
}, M(e(A)(o)), 9, _o)
|
|
343
|
+
]),
|
|
344
|
+
dateSlot: i(({ text: o }) => [
|
|
345
|
+
L("span", null, M(e(Se)(o)), 1)
|
|
346
|
+
]),
|
|
347
|
+
action: i(({ record: o }) => [
|
|
348
|
+
d(e(We), {
|
|
349
|
+
actions: e(pe)(o),
|
|
350
|
+
dropDownActions: e(ue)(o)
|
|
351
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
352
|
+
]),
|
|
353
|
+
_: 1
|
|
354
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
355
|
+
(H = h.value) != null && H.length ? (n(), l(Ae, {
|
|
356
|
+
key: 1,
|
|
357
|
+
activeKey: m.value,
|
|
358
|
+
"onUpdate:activeKey": a[0] || (a[0] = (o) => m.value = o),
|
|
359
|
+
style: { margin: "10px" }
|
|
360
|
+
}, {
|
|
361
|
+
default: i(() => [
|
|
362
|
+
(n(!0), y(x, null, z(h.value, (o, f) => (n(), l(Fe, {
|
|
363
|
+
tab: o.description,
|
|
364
|
+
key: f
|
|
365
|
+
}, {
|
|
366
|
+
default: i(() => [
|
|
367
|
+
m.value == f ? (n(), l(co, {
|
|
368
|
+
key: 0,
|
|
369
|
+
data: o,
|
|
370
|
+
mainTableSelectedRowRcord: C.value
|
|
371
|
+
}, null, 8, ["data", "mainTableSelectedRowRcord"])) : c("", !0)
|
|
372
|
+
]),
|
|
373
|
+
_: 2
|
|
374
|
+
}, 1032, ["tab"]))), 128))
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["activeKey"])) : c("", !0),
|
|
378
|
+
d(Xe, {
|
|
379
|
+
id: e(g),
|
|
380
|
+
onRegister: e(te),
|
|
381
|
+
onSuccess: e(s),
|
|
382
|
+
onFormConfig: e(X)
|
|
383
|
+
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
384
|
+
d(K, {
|
|
385
|
+
id: e(g),
|
|
386
|
+
onRegister: e(ge)
|
|
387
|
+
}, null, 8, ["id", "onRegister"]),
|
|
388
|
+
d(Ze, {
|
|
389
|
+
onRegister: e(le),
|
|
390
|
+
url: e(oe)(),
|
|
391
|
+
onOk: e(s),
|
|
392
|
+
online: ""
|
|
393
|
+
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
394
|
+
d(Qe, Ne(e(w).model, $e(e(w).on)), {
|
|
395
|
+
default: i(() => [
|
|
396
|
+
(n(), l(Ve(e(w).is), qe(Ue(e(w).params)), null, 16))
|
|
397
|
+
]),
|
|
398
|
+
_: 1
|
|
399
|
+
}, 16),
|
|
400
|
+
d(Ye, {
|
|
401
|
+
onRegister: e(Y),
|
|
402
|
+
onSuccess: e(s)
|
|
403
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
404
|
+
d(K, {
|
|
405
|
+
id: e(Te),
|
|
406
|
+
onRegister: e(Ie),
|
|
407
|
+
defaultFullscreen: !1
|
|
408
|
+
}, null, 8, ["id", "onRegister"]),
|
|
409
|
+
d(io, {
|
|
410
|
+
ref_key: "onlinePopModalRef",
|
|
411
|
+
ref: Ee,
|
|
412
|
+
id: e(Q),
|
|
413
|
+
onRegister: e(Le),
|
|
414
|
+
onSuccess: e(s),
|
|
415
|
+
request: "",
|
|
416
|
+
topTip: ""
|
|
417
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
418
|
+
])
|
|
419
|
+
]);
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
export {
|
|
424
|
+
Lt as default
|
|
425
|
+
};
|