@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,425 +0,0 @@
|
|
|
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
|
-
};
|