@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,444 @@
|
|
|
1
|
+
var v = (P, c, l) => new Promise((x, I) => {
|
|
2
|
+
var b = (s) => {
|
|
3
|
+
try {
|
|
4
|
+
h(l.next(s));
|
|
5
|
+
} catch (u) {
|
|
6
|
+
I(u);
|
|
7
|
+
}
|
|
8
|
+
}, g = (s) => {
|
|
9
|
+
try {
|
|
10
|
+
h(l.throw(s));
|
|
11
|
+
} catch (u) {
|
|
12
|
+
I(u);
|
|
13
|
+
}
|
|
14
|
+
}, h = (s) => s.done ? x(s.value) : Promise.resolve(s.value).then(b, g);
|
|
15
|
+
h((l = l.apply(P, c)).next());
|
|
16
|
+
});
|
|
17
|
+
import { reactive as Je, ref as L, watch as ze, resolveComponent as w, openBlock as n, createElementBlock as y, createVNode as p, unref as e, createBlock as a, normalizeClass as He, withCtx as i, createTextVNode as _, createCommentVNode as d, Fragment as D, renderList as K, toDisplayString as R, withDirectives as $e, vShow as je, createElementVNode as N, mergeProps as Ve, toHandlers as qe, resolveDynamicComponent as Ue, normalizeProps as We, guardReactiveProps as Ge, nextTick as Xe } from "vue";
|
|
18
|
+
import { BasicTable as Ye, TableAction as Ze } from "/@/components/Table";
|
|
19
|
+
import { useMessage as eo } from "/@/hooks/web/useMessage";
|
|
20
|
+
import oo from "./OnlineAutoModal-510991eb.mjs";
|
|
21
|
+
import to from "./OnlineCustomModal-518ad33c.mjs";
|
|
22
|
+
import J from "./OnlineDetailModal-9675390d.mjs";
|
|
23
|
+
import no from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as io, a as ro } from "./useListButton-cdbab702.mjs";
|
|
25
|
+
import { u as ao, a as lo, O as so, g as co } from "./useExtendComponent-325fe3f1.mjs";
|
|
26
|
+
import uo from "./OnlineQueryForm-1bfc8320.mjs";
|
|
27
|
+
import po from "./SuperQuery-5d1ca957.mjs";
|
|
28
|
+
import { u as mo } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import go from "./OnlCgformInnerSubTable-fbca73e0.mjs";
|
|
30
|
+
import { I as bo } from "./constant-754f1a9d.mjs";
|
|
31
|
+
import "/@/components/Modal";
|
|
32
|
+
import "./OnlineForm-1fa2d893.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 "./useCustomHook-acb00837.mjs";
|
|
44
|
+
import "/@/utils/cache";
|
|
45
|
+
import "/@/utils/common/compUtils";
|
|
46
|
+
import "/@/store/modules/user";
|
|
47
|
+
import "./index-0e3ab3af.mjs";
|
|
48
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
49
|
+
import "vue-router";
|
|
50
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
51
|
+
import "./OnlineFormDetail-0e7294ca.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
|
+
import "/@/components/Table/src/const";
|
|
84
|
+
const fo = { class: "p-2" }, yo = {
|
|
85
|
+
key: 0,
|
|
86
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
87
|
+
}, _o = {
|
|
88
|
+
key: 0,
|
|
89
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
90
|
+
}, ho = ["src", "onClick"], Co = ["innerHTML"], ko = ["title"], Ft = {
|
|
91
|
+
__name: "OnlCgformInnerTableList",
|
|
92
|
+
setup(P) {
|
|
93
|
+
const c = Je({
|
|
94
|
+
tabNav: [],
|
|
95
|
+
tabIndex: "0"
|
|
96
|
+
}), l = L([]), x = L(null), { createMessage: I } = eo(), {
|
|
97
|
+
ID: b,
|
|
98
|
+
onlineTableContext: g,
|
|
99
|
+
onlineQueryFormOuter: h,
|
|
100
|
+
loading: s,
|
|
101
|
+
reload: u,
|
|
102
|
+
dataSource: z,
|
|
103
|
+
pagination: H,
|
|
104
|
+
handleSpecialConfig: $,
|
|
105
|
+
getColumnList: j,
|
|
106
|
+
handleChangeInTable: V,
|
|
107
|
+
loadData: q,
|
|
108
|
+
superQueryButtonRef: M,
|
|
109
|
+
superQueryStatus: U,
|
|
110
|
+
handleSuperQuery: W,
|
|
111
|
+
onlineExtConfigJson: F,
|
|
112
|
+
handleFormConfig: G,
|
|
113
|
+
registerCustomModal: X,
|
|
114
|
+
tableReloading: Y
|
|
115
|
+
} = io();
|
|
116
|
+
if (!b.value)
|
|
117
|
+
throw I.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
118
|
+
let { initCgEnhanceJs: Z } = ao(g);
|
|
119
|
+
const {
|
|
120
|
+
buttonSwitch: C,
|
|
121
|
+
cgTopButtonList: O,
|
|
122
|
+
importUrl: ee,
|
|
123
|
+
registerModal: oe,
|
|
124
|
+
handleAdd: te,
|
|
125
|
+
handleBatchDelete: ne,
|
|
126
|
+
registerImportModal: ie,
|
|
127
|
+
onImportExcel: re,
|
|
128
|
+
onExportExcel: ae,
|
|
129
|
+
cgButtonJsHandler: le,
|
|
130
|
+
cgButtonActionHandler: se,
|
|
131
|
+
getDropDownActions: ce,
|
|
132
|
+
getActions: ue,
|
|
133
|
+
initButtonList: pe,
|
|
134
|
+
initButtonSwitch: de,
|
|
135
|
+
registerDetailModal: me,
|
|
136
|
+
registerBpmModal: Io
|
|
137
|
+
} = ro(g, F), E = L(!1);
|
|
138
|
+
function ge() {
|
|
139
|
+
return v(this, null, function* () {
|
|
140
|
+
try {
|
|
141
|
+
E.value = !0, yield ae();
|
|
142
|
+
} finally {
|
|
143
|
+
setTimeout(() => E.value = !1, 1500);
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
const {
|
|
148
|
+
columns: be,
|
|
149
|
+
actionColumn: fe,
|
|
150
|
+
selectedKeys: ye,
|
|
151
|
+
rowSelection: _e,
|
|
152
|
+
enableScrollBar: he,
|
|
153
|
+
tableScroll: Ce,
|
|
154
|
+
downloadRowFile: ke,
|
|
155
|
+
getImgView: Ie,
|
|
156
|
+
getPcaText: A,
|
|
157
|
+
getFormatDate: Se,
|
|
158
|
+
handleColumnResult: Te,
|
|
159
|
+
hrefComponent: S,
|
|
160
|
+
viewOnlineCellImage: ve,
|
|
161
|
+
hrefMainTableId: we,
|
|
162
|
+
registerOnlineHrefModal: Re,
|
|
163
|
+
registerPopModal: xe,
|
|
164
|
+
openPopModal: Me,
|
|
165
|
+
onlinePopModalRef: Oe,
|
|
166
|
+
popTableId: Q
|
|
167
|
+
} = lo(g, F);
|
|
168
|
+
ze(
|
|
169
|
+
b,
|
|
170
|
+
() => {
|
|
171
|
+
Ee();
|
|
172
|
+
},
|
|
173
|
+
{ immediate: !0 }
|
|
174
|
+
);
|
|
175
|
+
function Ee() {
|
|
176
|
+
return v(this, null, function* () {
|
|
177
|
+
s.value = !0;
|
|
178
|
+
let t = yield j(bo);
|
|
179
|
+
Be(t), yield q(), s.value = !1, g.execButtonEnhance("setup");
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
function Be(t) {
|
|
183
|
+
let r = Z(t.enhanceJs);
|
|
184
|
+
g.EnhanceJS = r, pe(t.cgButtonList), de(t.hideColumns), Te(t), $(t);
|
|
185
|
+
}
|
|
186
|
+
function Le(t) {
|
|
187
|
+
g.queryParam = t, u({ mode: "search" });
|
|
188
|
+
}
|
|
189
|
+
function De(t) {
|
|
190
|
+
return v(this, null, function* () {
|
|
191
|
+
yield co(M), M.value.init(t);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function Ne(t) {
|
|
195
|
+
Q.value = t.id;
|
|
196
|
+
let r = {
|
|
197
|
+
title: t.describe
|
|
198
|
+
};
|
|
199
|
+
t.record && t.record.id && (r.record = t.record, r.isUpdate = !0), Me(!0, r);
|
|
200
|
+
}
|
|
201
|
+
mo(Ne);
|
|
202
|
+
const Pe = (t) => {
|
|
203
|
+
G(t);
|
|
204
|
+
const { schema: r } = t, { properties: m } = r, T = [];
|
|
205
|
+
Object.entries(m).forEach(([B, k]) => {
|
|
206
|
+
k.view == "tab" && T.push({ tableName: B, tableTxt: k.describe, id: k.id });
|
|
207
|
+
}), c.tabNav = T;
|
|
208
|
+
}, Fe = (t, r) => {
|
|
209
|
+
l.value = [], t && (l.value = [r.id], x.value = r);
|
|
210
|
+
}, Ae = (t) => {
|
|
211
|
+
u(t), Qe();
|
|
212
|
+
}, Qe = () => {
|
|
213
|
+
if (l.value.length) {
|
|
214
|
+
const t = c.tabIndex;
|
|
215
|
+
c.tabIndex = "-1", Xe(() => {
|
|
216
|
+
c.tabIndex = t;
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
return (t, r) => {
|
|
221
|
+
const m = w("a-button"), T = w("a-tab-pane"), B = w("a-tabs"), k = w("a-modal");
|
|
222
|
+
return n(), y("div", fo, [
|
|
223
|
+
p(uo, {
|
|
224
|
+
ref_key: "onlineQueryFormOuter",
|
|
225
|
+
ref: h,
|
|
226
|
+
id: e(b),
|
|
227
|
+
onSearch: Le,
|
|
228
|
+
onLoaded: De
|
|
229
|
+
}, null, 8, ["id"]),
|
|
230
|
+
e(Y) ? d("", !0) : (n(), a(e(Ye), {
|
|
231
|
+
key: 0,
|
|
232
|
+
ref: "onlineTable",
|
|
233
|
+
rowKey: "jeecg_row_key",
|
|
234
|
+
canResize: !0,
|
|
235
|
+
bordered: !0,
|
|
236
|
+
showIndexColumn: !1,
|
|
237
|
+
loading: e(s),
|
|
238
|
+
columns: e(be),
|
|
239
|
+
dataSource: e(z),
|
|
240
|
+
pagination: e(H),
|
|
241
|
+
rowSelection: e(_e),
|
|
242
|
+
actionColumn: e(fe),
|
|
243
|
+
showTableSetting: !0,
|
|
244
|
+
clickToRowSelect: !1,
|
|
245
|
+
scroll: e(Ce),
|
|
246
|
+
onTableRedo: e(u),
|
|
247
|
+
class: He({ "j-table-force-nowrap": e(he) }),
|
|
248
|
+
onChange: e(V),
|
|
249
|
+
expandedRowKeys: l.value,
|
|
250
|
+
onExpand: Fe
|
|
251
|
+
}, {
|
|
252
|
+
tableTitle: i(() => [
|
|
253
|
+
e(C).add ? (n(), a(m, {
|
|
254
|
+
key: 0,
|
|
255
|
+
preIcon: "ant-design:plus-outlined",
|
|
256
|
+
type: "primary",
|
|
257
|
+
onClick: e(te)
|
|
258
|
+
}, {
|
|
259
|
+
default: i(() => [
|
|
260
|
+
_("新增")
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}, 8, ["onClick"])) : d("", !0),
|
|
264
|
+
e(C).import ? (n(), a(m, {
|
|
265
|
+
key: 1,
|
|
266
|
+
preIcon: "ant-design:import-outlined",
|
|
267
|
+
type: "primary",
|
|
268
|
+
onClick: e(re)
|
|
269
|
+
}, {
|
|
270
|
+
default: i(() => [
|
|
271
|
+
_("导入")
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, ["onClick"])) : d("", !0),
|
|
275
|
+
e(C).export ? (n(), a(m, {
|
|
276
|
+
key: 2,
|
|
277
|
+
preIcon: "ant-design:export-outlined",
|
|
278
|
+
type: "primary",
|
|
279
|
+
loading: E.value,
|
|
280
|
+
onClick: ge
|
|
281
|
+
}, {
|
|
282
|
+
default: i(() => [
|
|
283
|
+
_(" 导出")
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
}, 8, ["loading"])) : d("", !0),
|
|
287
|
+
e(O) && e(O).length > 0 ? (n(!0), y(D, { key: 3 }, K(e(O), (o, f) => (n(), y(D, null, [
|
|
288
|
+
o.optType == "js" ? (n(), a(m, {
|
|
289
|
+
key: "cgbtn" + f,
|
|
290
|
+
onClick: (Ke) => e(le)(o.buttonCode),
|
|
291
|
+
type: "primary",
|
|
292
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
293
|
+
}, {
|
|
294
|
+
default: i(() => [
|
|
295
|
+
_(R(o.buttonName), 1)
|
|
296
|
+
]),
|
|
297
|
+
_: 2
|
|
298
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), a(m, {
|
|
299
|
+
key: "cgbtn" + f,
|
|
300
|
+
onClick: (Ke) => e(se)(o.buttonCode),
|
|
301
|
+
type: "primary",
|
|
302
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
303
|
+
}, {
|
|
304
|
+
default: i(() => [
|
|
305
|
+
_(R(o.buttonName), 1)
|
|
306
|
+
]),
|
|
307
|
+
_: 2
|
|
308
|
+
}, 1032, ["onClick", "preIcon"])) : d("", !0)
|
|
309
|
+
], 64))), 256)) : d("", !0),
|
|
310
|
+
e(C).batch_delete ? $e((n(), a(m, {
|
|
311
|
+
key: 4,
|
|
312
|
+
preIcon: "ant-design:delete-outlined",
|
|
313
|
+
onClick: e(ne)
|
|
314
|
+
}, {
|
|
315
|
+
default: i(() => [
|
|
316
|
+
_(" 批量删除")
|
|
317
|
+
]),
|
|
318
|
+
_: 1
|
|
319
|
+
}, 8, ["onClick"])), [
|
|
320
|
+
[je, e(ye).length > 0]
|
|
321
|
+
]) : d("", !0),
|
|
322
|
+
e(C).super_query ? (n(), a(po, {
|
|
323
|
+
key: 5,
|
|
324
|
+
ref_key: "superQueryButtonRef",
|
|
325
|
+
ref: M,
|
|
326
|
+
online: "",
|
|
327
|
+
status: e(U),
|
|
328
|
+
onSearch: e(W)
|
|
329
|
+
}, null, 8, ["status", "onSearch"])) : d("", !0)
|
|
330
|
+
]),
|
|
331
|
+
expandedRowRender: i(() => [
|
|
332
|
+
p(B, {
|
|
333
|
+
activeKey: c.tabIndex,
|
|
334
|
+
"onUpdate:activeKey": r[0] || (r[0] = (o) => c.tabIndex = o)
|
|
335
|
+
}, {
|
|
336
|
+
default: i(() => [
|
|
337
|
+
l.value.length ? (n(!0), y(D, { key: 0 }, K(c.tabNav, (o, f) => (n(), a(T, {
|
|
338
|
+
tab: o.tableTxt,
|
|
339
|
+
key: f + ""
|
|
340
|
+
}, {
|
|
341
|
+
default: i(() => [
|
|
342
|
+
c.tabIndex == f ? (n(), a(go, {
|
|
343
|
+
key: 0,
|
|
344
|
+
subTableId: o.id,
|
|
345
|
+
mTableSelectedRcordId: l.value[0],
|
|
346
|
+
subTableName: o.tableName
|
|
347
|
+
}, null, 8, ["subTableId", "mTableSelectedRcordId", "subTableName"])) : d("", !0)
|
|
348
|
+
]),
|
|
349
|
+
_: 2
|
|
350
|
+
}, 1032, ["tab"]))), 128)) : d("", !0)
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
}, 8, ["activeKey"])
|
|
354
|
+
]),
|
|
355
|
+
fileSlot: i(({ text: o }) => [
|
|
356
|
+
o ? (n(), a(m, {
|
|
357
|
+
key: 1,
|
|
358
|
+
ghost: !0,
|
|
359
|
+
type: "primary",
|
|
360
|
+
preIcon: "ant-design:download",
|
|
361
|
+
size: "small",
|
|
362
|
+
onClick: (f) => e(ke)(o)
|
|
363
|
+
}, {
|
|
364
|
+
default: i(() => [
|
|
365
|
+
_(" 下载 ")
|
|
366
|
+
]),
|
|
367
|
+
_: 2
|
|
368
|
+
}, 1032, ["onClick"])) : (n(), y("span", yo, "无文件"))
|
|
369
|
+
]),
|
|
370
|
+
imgSlot: i(({ text: o }) => [
|
|
371
|
+
o ? (n(), y("img", {
|
|
372
|
+
key: 1,
|
|
373
|
+
src: e(Ie)(o),
|
|
374
|
+
alt: "图片不存在",
|
|
375
|
+
class: "online-cell-image",
|
|
376
|
+
onClick: (f) => e(ve)(o)
|
|
377
|
+
}, null, 8, ho)) : (n(), y("span", _o, "无图片"))
|
|
378
|
+
]),
|
|
379
|
+
htmlSlot: i(({ text: o }) => [
|
|
380
|
+
N("div", { innerHTML: o }, null, 8, Co)
|
|
381
|
+
]),
|
|
382
|
+
pcaSlot: i(({ text: o }) => [
|
|
383
|
+
N("div", {
|
|
384
|
+
title: e(A)(o)
|
|
385
|
+
}, R(e(A)(o)), 9, ko)
|
|
386
|
+
]),
|
|
387
|
+
dateSlot: i(({ text: o }) => [
|
|
388
|
+
N("span", null, R(e(Se)(o)), 1)
|
|
389
|
+
]),
|
|
390
|
+
action: i(({ record: o }) => [
|
|
391
|
+
p(e(Ze), {
|
|
392
|
+
actions: e(ue)(o),
|
|
393
|
+
dropDownActions: e(ce)(o)
|
|
394
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
395
|
+
]),
|
|
396
|
+
_: 1
|
|
397
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange", "expandedRowKeys"])),
|
|
398
|
+
p(oo, {
|
|
399
|
+
id: e(b),
|
|
400
|
+
onRegister: e(oe),
|
|
401
|
+
onSuccess: Ae,
|
|
402
|
+
onFormConfig: Pe
|
|
403
|
+
}, null, 8, ["id", "onRegister"]),
|
|
404
|
+
p(J, {
|
|
405
|
+
id: e(b),
|
|
406
|
+
onRegister: e(me)
|
|
407
|
+
}, null, 8, ["id", "onRegister"]),
|
|
408
|
+
p(no, {
|
|
409
|
+
onRegister: e(ie),
|
|
410
|
+
url: e(ee)(),
|
|
411
|
+
onOk: e(u),
|
|
412
|
+
online: ""
|
|
413
|
+
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
414
|
+
p(k, Ve(e(S).model, qe(e(S).on)), {
|
|
415
|
+
default: i(() => [
|
|
416
|
+
(n(), a(Ue(e(S).is), We(Ge(e(S).params)), null, 16))
|
|
417
|
+
]),
|
|
418
|
+
_: 1
|
|
419
|
+
}, 16),
|
|
420
|
+
p(to, {
|
|
421
|
+
onRegister: e(X),
|
|
422
|
+
onSuccess: e(u)
|
|
423
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
424
|
+
p(J, {
|
|
425
|
+
id: e(we),
|
|
426
|
+
onRegister: e(Re),
|
|
427
|
+
defaultFullscreen: !1
|
|
428
|
+
}, null, 8, ["id", "onRegister"]),
|
|
429
|
+
p(so, {
|
|
430
|
+
ref_key: "onlinePopModalRef",
|
|
431
|
+
ref: Oe,
|
|
432
|
+
id: e(Q),
|
|
433
|
+
onRegister: e(xe),
|
|
434
|
+
onSuccess: e(u),
|
|
435
|
+
request: "",
|
|
436
|
+
topTip: ""
|
|
437
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
438
|
+
]);
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
export {
|
|
443
|
+
Ft as default
|
|
444
|
+
};
|