@jeecg/online 3.5.3-beta3 → 3.6.0-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-b6a674fa.mjs +125 -0
- package/AuthButtonTree-09e57bc4.mjs +156 -0
- package/AuthDataConfig-6e7e61ec.mjs +212 -0
- package/AuthDataTree-e83286c5.mjs +139 -0
- package/AuthFieldConfig-f1ec2708.mjs +139 -0
- package/AuthFieldTree-bb72e21f.mjs +232 -0
- package/AuthManagerDrawer-28a2d108.mjs +114 -0
- package/AuthSetterModal-2990d553.mjs +261 -0
- package/CgformCopyList-36a4cbf0.mjs +246 -0
- package/CgformModal-7399a5ac.mjs +611 -0
- package/CgreportModal-2eb9c9e1.mjs +13 -0
- package/CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs +566 -0
- package/CheckDictTable-3a8a54b3.mjs +211 -0
- package/CodeFileListModal-72f0d3bb.mjs +158 -0
- package/CodeFileViewModal-9eb88c47.mjs +244 -0
- package/CodeGeneratorModal-a89958f5.mjs +233 -0
- package/CustomButtonList-c44aec5a.mjs +363 -0
- package/DBAttributeTable-7d285e8d.mjs +473 -0
- package/DbToOnlineModal-d23cbeb1.mjs +160 -0
- package/DetailForm-2901d215.mjs +461 -0
- package/EnhanceJavaModal-153899a9.mjs +264 -0
- package/EnhanceJsHistory-7f5db3b1.mjs +184 -0
- package/EnhanceJsModal-c2fb75b8.mjs +311 -0
- package/EnhanceSqlModal-965e9b0a.mjs +268 -0
- package/ExtendConfigModal-8f08466f.mjs +111 -0
- package/FieldExtendJsonModal-adfcf5a7.mjs +219 -0
- package/FileSelectModal-432d4521.mjs +103 -0
- package/ForeignKeyTable-faab7ccf.mjs +69 -0
- package/IndexTable-0a2d3718.mjs +89 -0
- package/JModalTip-e1938b49.mjs +46 -0
- package/JOnlineSearchSelect-7e908492.mjs +95 -0
- package/LeftDepart-54f245b3.mjs +82 -0
- package/LeftRole-c138f892.mjs +86 -0
- package/LeftUser-9c812f8a.mjs +105 -0
- package/LinkTableConfigModal-c2c5c7e6.mjs +230 -0
- package/LinkTableFieldConfigModal-a3553b1f.mjs +176 -0
- package/LinkTableListPiece-7f793b08.mjs +34 -0
- package/ModalFormDemo-65685b0e.mjs +78 -0
- package/OnlCgformErpList-52c87ed3.mjs +449 -0
- package/OnlCgformErpSubTable-6e7fb17b.mjs +398 -0
- package/OnlCgformInnerSubTable-f0727b8f.mjs +248 -0
- package/OnlCgformInnerTableList-9f89c173.mjs +430 -0
- package/OnlCgformTabList-15516315.mjs +390 -0
- package/OnlineAutoList-63a0224f.mjs +474 -0
- package/OnlineAutoModal-ffe19c3f.mjs +206 -0
- package/OnlineAutoTreeList-317c7105.mjs +495 -0
- package/OnlineCustomModal-3939ce78.mjs +227 -0
- package/OnlineDetailModal-bfb1375f.mjs +177 -0
- package/OnlineForm-069f6092.mjs +749 -0
- package/OnlineFormDetail-ad5735fb.mjs +296 -0
- package/OnlineQueryForm-0771c80f.mjs +385 -0
- package/OnlineSearchFormItem-0db5834f.mjs +348 -0
- package/OnlineSelectCascade-a05c30f4.mjs +159 -0
- package/OnlineSubFormDetail-583d01eb.mjs +142 -0
- package/OnlineTabAutoModal-747e071d.mjs +253 -0
- package/OnlineTabDetailModal-887f0174.mjs +222 -0
- package/OnlineTabForm-b1dcd4b4.mjs +765 -0
- package/OnlineTabFormDetail-8e494a96.mjs +323 -0
- package/PageAttributeTable-5966b201.mjs +404 -0
- package/ProcessOnlineForm-4382bea7.mjs +177 -0
- package/QueryTable-6e8053ad.mjs +115 -0
- package/README.md +2 -1
- package/SuperQuery-78db6998.mjs +841 -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-754f1a9d.mjs +9 -0
- package/enhance.api-138e6826.mjs +104 -0
- package/enhance.data-efc7e155.mjs +175 -0
- package/index-0a93652b.mjs +237 -0
- package/index-7e9a23f2.mjs +1494 -0
- package/index-b70302f2.mjs +56 -0
- package/main.index.js +7 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-0c603af1.mjs +424 -0
- package/useCustomHook-acb00837.mjs +53 -0
- package/useExtendComponent-aa1cdfc8.mjs +3917 -0
- package/useListButton-0f18bf6a.mjs +671 -0
- package/useOnlinePopEvent-687070b7.mjs +19 -0
- package/useOnlineTest-e4bd8be3.mjs +42 -0
- package/useSchemas-43429d80.mjs +685 -0
- package/useTableSync-774c3774.mjs +87 -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 -523
- package/OnlineAutoModal.js +0 -226
- package/OnlineAutoTreeList.js +0 -552
- package/OnlineCustomModal.js +0 -286
- package/OnlineDetailModal.js +0 -190
- package/OnlineForm.js +0 -1016
- 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 -1020
- package/SuperQueryValComponent.js +0 -8
- package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -168
- 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,430 @@
|
|
|
1
|
+
var I = (P, g, s) => new Promise((x, S) => {
|
|
2
|
+
var f = (l) => {
|
|
3
|
+
try {
|
|
4
|
+
h(s.next(l));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
S(c);
|
|
7
|
+
}
|
|
8
|
+
}, m = (l) => {
|
|
9
|
+
try {
|
|
10
|
+
h(s.throw(l));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
S(c);
|
|
13
|
+
}
|
|
14
|
+
}, h = (l) => l.done ? x(l.value) : Promise.resolve(l.value).then(f, m);
|
|
15
|
+
h((s = s.apply(P, g)).next());
|
|
16
|
+
});
|
|
17
|
+
import { reactive as Qe, ref as L, watch as Ke, resolveComponent as T, openBlock as n, createElementBlock as y, createVNode as u, unref as e, createBlock as a, normalizeClass as Je, withCtx as i, createTextVNode as _, createCommentVNode as p, Fragment as D, renderList as K, toDisplayString as R, withDirectives as ze, vShow as He, createElementVNode as N, mergeProps as $e, toHandlers as je, resolveDynamicComponent as Ve, normalizeProps as qe, guardReactiveProps as Ue } from "vue";
|
|
18
|
+
import { BasicTable as We, TableAction as Ge } from "/@/components/Table";
|
|
19
|
+
import { useMessage as Xe } from "/@/hooks/web/useMessage";
|
|
20
|
+
import Ye from "./OnlineAutoModal-ffe19c3f.mjs";
|
|
21
|
+
import Ze from "./OnlineCustomModal-3939ce78.mjs";
|
|
22
|
+
import J from "./OnlineDetailModal-bfb1375f.mjs";
|
|
23
|
+
import eo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as oo, a as to } from "./useListButton-0f18bf6a.mjs";
|
|
25
|
+
import { u as no, a as io, O as ro, g as ao } from "./useExtendComponent-aa1cdfc8.mjs";
|
|
26
|
+
import lo from "./OnlineQueryForm-0771c80f.mjs";
|
|
27
|
+
import so from "./SuperQuery-78db6998.mjs";
|
|
28
|
+
import { u as co } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import uo from "./OnlCgformInnerSubTable-f0727b8f.mjs";
|
|
30
|
+
import { I as po } from "./constant-754f1a9d.mjs";
|
|
31
|
+
import "/@/components/Modal";
|
|
32
|
+
import "./OnlineForm-069f6092.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-b70302f2.mjs";
|
|
48
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
49
|
+
import "vue-router";
|
|
50
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
51
|
+
import "./OnlineFormDetail-ad5735fb.mjs";
|
|
52
|
+
import "./DetailForm-2901d215.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-583d01eb.mjs";
|
|
62
|
+
import "/@/router";
|
|
63
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
64
|
+
import "ant-design-vue";
|
|
65
|
+
import "/@/hooks/system/useMethods";
|
|
66
|
+
import "/@/components/Form/src/componentMap";
|
|
67
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
68
|
+
import "/@/views/system/user/user.api";
|
|
69
|
+
import "/@/utils/desform/customExpression";
|
|
70
|
+
import "/@/store/modules/permission";
|
|
71
|
+
import "/@/hooks/system/useListPage";
|
|
72
|
+
import "./LinkTableListPiece-7f793b08.mjs";
|
|
73
|
+
import "./OnlineSelectCascade-a05c30f4.mjs";
|
|
74
|
+
import "./JModalTip-e1938b49.mjs";
|
|
75
|
+
import "@vueuse/core";
|
|
76
|
+
import "./SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs";
|
|
77
|
+
import "/@/utils/is";
|
|
78
|
+
import "/@/components/Table/src/const";
|
|
79
|
+
const mo = { class: "p-2" }, go = {
|
|
80
|
+
key: 0,
|
|
81
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
82
|
+
}, fo = {
|
|
83
|
+
key: 0,
|
|
84
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
85
|
+
}, bo = ["src", "onClick"], yo = ["innerHTML"], _o = ["title"], Mt = {
|
|
86
|
+
__name: "OnlCgformInnerTableList",
|
|
87
|
+
setup(P) {
|
|
88
|
+
const g = Qe({
|
|
89
|
+
tabNav: [],
|
|
90
|
+
tabIndex: "0"
|
|
91
|
+
}), s = L([]), x = L(null), { createMessage: S } = Xe(), {
|
|
92
|
+
ID: f,
|
|
93
|
+
onlineTableContext: m,
|
|
94
|
+
onlineQueryFormOuter: h,
|
|
95
|
+
loading: l,
|
|
96
|
+
reload: c,
|
|
97
|
+
dataSource: z,
|
|
98
|
+
pagination: H,
|
|
99
|
+
handleSpecialConfig: $,
|
|
100
|
+
getColumnList: j,
|
|
101
|
+
handleChangeInTable: V,
|
|
102
|
+
loadData: q,
|
|
103
|
+
superQueryButtonRef: M,
|
|
104
|
+
superQueryStatus: U,
|
|
105
|
+
handleSuperQuery: W,
|
|
106
|
+
onlineExtConfigJson: F,
|
|
107
|
+
handleFormConfig: G,
|
|
108
|
+
registerCustomModal: X,
|
|
109
|
+
tableReloading: Y
|
|
110
|
+
} = oo();
|
|
111
|
+
if (!f.value)
|
|
112
|
+
throw S.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
113
|
+
let { initCgEnhanceJs: Z } = no(m);
|
|
114
|
+
const {
|
|
115
|
+
buttonSwitch: C,
|
|
116
|
+
cgTopButtonList: O,
|
|
117
|
+
importUrl: ee,
|
|
118
|
+
registerModal: oe,
|
|
119
|
+
handleAdd: te,
|
|
120
|
+
handleBatchDelete: ne,
|
|
121
|
+
registerImportModal: ie,
|
|
122
|
+
onImportExcel: re,
|
|
123
|
+
onExportExcel: ae,
|
|
124
|
+
cgButtonJsHandler: le,
|
|
125
|
+
cgButtonActionHandler: se,
|
|
126
|
+
getDropDownActions: ce,
|
|
127
|
+
getActions: ue,
|
|
128
|
+
initButtonList: pe,
|
|
129
|
+
initButtonSwitch: de,
|
|
130
|
+
registerDetailModal: me,
|
|
131
|
+
registerBpmModal: ho
|
|
132
|
+
} = to(m, F), E = L(!1);
|
|
133
|
+
function ge() {
|
|
134
|
+
return I(this, null, function* () {
|
|
135
|
+
try {
|
|
136
|
+
E.value = !0, yield ae();
|
|
137
|
+
} finally {
|
|
138
|
+
setTimeout(() => E.value = !1, 1500);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
const {
|
|
143
|
+
columns: fe,
|
|
144
|
+
actionColumn: be,
|
|
145
|
+
selectedKeys: ye,
|
|
146
|
+
rowSelection: _e,
|
|
147
|
+
enableScrollBar: he,
|
|
148
|
+
tableScroll: Ce,
|
|
149
|
+
downloadRowFile: ke,
|
|
150
|
+
getImgView: Se,
|
|
151
|
+
getPcaText: A,
|
|
152
|
+
getFormatDate: ve,
|
|
153
|
+
handleColumnResult: we,
|
|
154
|
+
hrefComponent: v,
|
|
155
|
+
viewOnlineCellImage: Ie,
|
|
156
|
+
hrefMainTableId: Te,
|
|
157
|
+
registerOnlineHrefModal: Re,
|
|
158
|
+
registerPopModal: xe,
|
|
159
|
+
openPopModal: Me,
|
|
160
|
+
onlinePopModalRef: Oe,
|
|
161
|
+
popTableId: Q
|
|
162
|
+
} = io(m, F);
|
|
163
|
+
Ke(
|
|
164
|
+
f,
|
|
165
|
+
() => {
|
|
166
|
+
Ee();
|
|
167
|
+
},
|
|
168
|
+
{ immediate: !0 }
|
|
169
|
+
);
|
|
170
|
+
function Ee() {
|
|
171
|
+
return I(this, null, function* () {
|
|
172
|
+
l.value = !0;
|
|
173
|
+
let t = yield j(po);
|
|
174
|
+
Be(t), yield q(), l.value = !1, m.execButtonEnhance("setup");
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function Be(t) {
|
|
178
|
+
let r = Z(t.enhanceJs);
|
|
179
|
+
m.EnhanceJS = r, pe(t.cgButtonList), de(t.hideColumns), we(t), $(t);
|
|
180
|
+
}
|
|
181
|
+
function Le(t) {
|
|
182
|
+
m.queryParam = t, c();
|
|
183
|
+
}
|
|
184
|
+
function De(t) {
|
|
185
|
+
return I(this, null, function* () {
|
|
186
|
+
yield ao(M), M.value.init(t);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
function Ne(t) {
|
|
190
|
+
Q.value = t.id;
|
|
191
|
+
let r = {
|
|
192
|
+
title: t.describe
|
|
193
|
+
};
|
|
194
|
+
t.record && t.record.id && (r.record = t.record, r.isUpdate = !0), Me(!0, r);
|
|
195
|
+
}
|
|
196
|
+
co(Ne);
|
|
197
|
+
const Pe = (t) => {
|
|
198
|
+
G(t);
|
|
199
|
+
const { schema: r } = t, { properties: d } = r, w = [];
|
|
200
|
+
Object.entries(d).forEach(([B, k]) => {
|
|
201
|
+
k.view == "tab" && w.push({ tableName: B, tableTxt: k.describe, id: k.id });
|
|
202
|
+
}), g.tabNav = w;
|
|
203
|
+
}, Fe = (t, r) => {
|
|
204
|
+
s.value = [], t && (s.value = [r.id], x.value = r);
|
|
205
|
+
};
|
|
206
|
+
return (t, r) => {
|
|
207
|
+
const d = T("a-button"), w = T("a-tab-pane"), B = T("a-tabs"), k = T("a-modal");
|
|
208
|
+
return n(), y("div", mo, [
|
|
209
|
+
u(lo, {
|
|
210
|
+
ref_key: "onlineQueryFormOuter",
|
|
211
|
+
ref: h,
|
|
212
|
+
id: e(f),
|
|
213
|
+
onSearch: Le,
|
|
214
|
+
onLoaded: De
|
|
215
|
+
}, null, 8, ["id"]),
|
|
216
|
+
e(Y) ? p("", !0) : (n(), a(e(We), {
|
|
217
|
+
key: 0,
|
|
218
|
+
ref: "onlineTable",
|
|
219
|
+
rowKey: "jeecg_row_key",
|
|
220
|
+
canResize: !0,
|
|
221
|
+
bordered: !0,
|
|
222
|
+
showIndexColumn: !1,
|
|
223
|
+
loading: e(l),
|
|
224
|
+
columns: e(fe),
|
|
225
|
+
dataSource: e(z),
|
|
226
|
+
pagination: e(H),
|
|
227
|
+
rowSelection: e(_e),
|
|
228
|
+
actionColumn: e(be),
|
|
229
|
+
showTableSetting: !0,
|
|
230
|
+
clickToRowSelect: !1,
|
|
231
|
+
scroll: e(Ce),
|
|
232
|
+
onTableRedo: e(c),
|
|
233
|
+
class: Je({ "j-table-force-nowrap": e(he) }),
|
|
234
|
+
onChange: e(V),
|
|
235
|
+
expandedRowKeys: s.value,
|
|
236
|
+
onExpand: Fe
|
|
237
|
+
}, {
|
|
238
|
+
tableTitle: i(() => [
|
|
239
|
+
e(C).add ? (n(), a(d, {
|
|
240
|
+
key: 0,
|
|
241
|
+
preIcon: "ant-design:plus-outlined",
|
|
242
|
+
type: "primary",
|
|
243
|
+
onClick: e(te)
|
|
244
|
+
}, {
|
|
245
|
+
default: i(() => [
|
|
246
|
+
_("新增")
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
}, 8, ["onClick"])) : p("", !0),
|
|
250
|
+
e(C).import ? (n(), a(d, {
|
|
251
|
+
key: 1,
|
|
252
|
+
preIcon: "ant-design:import-outlined",
|
|
253
|
+
type: "primary",
|
|
254
|
+
onClick: e(re)
|
|
255
|
+
}, {
|
|
256
|
+
default: i(() => [
|
|
257
|
+
_("导入")
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
}, 8, ["onClick"])) : p("", !0),
|
|
261
|
+
e(C).export ? (n(), a(d, {
|
|
262
|
+
key: 2,
|
|
263
|
+
preIcon: "ant-design:export-outlined",
|
|
264
|
+
type: "primary",
|
|
265
|
+
loading: E.value,
|
|
266
|
+
onClick: ge
|
|
267
|
+
}, {
|
|
268
|
+
default: i(() => [
|
|
269
|
+
_(" 导出")
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}, 8, ["loading"])) : p("", !0),
|
|
273
|
+
e(O) && e(O).length > 0 ? (n(!0), y(D, { key: 3 }, K(e(O), (o, b) => (n(), y(D, null, [
|
|
274
|
+
o.optType == "js" ? (n(), a(d, {
|
|
275
|
+
key: "cgbtn" + b,
|
|
276
|
+
onClick: (Ae) => e(le)(o.buttonCode),
|
|
277
|
+
type: "primary",
|
|
278
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
279
|
+
}, {
|
|
280
|
+
default: i(() => [
|
|
281
|
+
_(R(o.buttonName), 1)
|
|
282
|
+
]),
|
|
283
|
+
_: 2
|
|
284
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), a(d, {
|
|
285
|
+
key: "cgbtn" + b,
|
|
286
|
+
onClick: (Ae) => e(se)(o.buttonCode),
|
|
287
|
+
type: "primary",
|
|
288
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
289
|
+
}, {
|
|
290
|
+
default: i(() => [
|
|
291
|
+
_(R(o.buttonName), 1)
|
|
292
|
+
]),
|
|
293
|
+
_: 2
|
|
294
|
+
}, 1032, ["onClick", "preIcon"])) : p("", !0)
|
|
295
|
+
], 64))), 256)) : p("", !0),
|
|
296
|
+
e(C).batch_delete ? ze((n(), a(d, {
|
|
297
|
+
key: 4,
|
|
298
|
+
preIcon: "ant-design:delete-outlined",
|
|
299
|
+
onClick: e(ne)
|
|
300
|
+
}, {
|
|
301
|
+
default: i(() => [
|
|
302
|
+
_(" 批量删除")
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
}, 8, ["onClick"])), [
|
|
306
|
+
[He, e(ye).length > 0]
|
|
307
|
+
]) : p("", !0),
|
|
308
|
+
e(C).super_query ? (n(), a(so, {
|
|
309
|
+
key: 5,
|
|
310
|
+
ref_key: "superQueryButtonRef",
|
|
311
|
+
ref: M,
|
|
312
|
+
online: "",
|
|
313
|
+
status: e(U),
|
|
314
|
+
onSearch: e(W)
|
|
315
|
+
}, null, 8, ["status", "onSearch"])) : p("", !0)
|
|
316
|
+
]),
|
|
317
|
+
expandedRowRender: i(() => [
|
|
318
|
+
u(B, {
|
|
319
|
+
activeKey: g.tabIndex,
|
|
320
|
+
"onUpdate:activeKey": r[0] || (r[0] = (o) => g.tabIndex = o)
|
|
321
|
+
}, {
|
|
322
|
+
default: i(() => [
|
|
323
|
+
s.value.length ? (n(!0), y(D, { key: 0 }, K(g.tabNav, (o, b) => (n(), a(w, {
|
|
324
|
+
tab: o.tableTxt,
|
|
325
|
+
key: b + ""
|
|
326
|
+
}, {
|
|
327
|
+
default: i(() => [
|
|
328
|
+
g.tabIndex == b ? (n(), a(uo, {
|
|
329
|
+
key: 0,
|
|
330
|
+
subTableId: o.id,
|
|
331
|
+
mTableSelectedRcordId: s.value[0],
|
|
332
|
+
subTableName: o.tableName
|
|
333
|
+
}, null, 8, ["subTableId", "mTableSelectedRcordId", "subTableName"])) : p("", !0)
|
|
334
|
+
]),
|
|
335
|
+
_: 2
|
|
336
|
+
}, 1032, ["tab"]))), 128)) : p("", !0)
|
|
337
|
+
]),
|
|
338
|
+
_: 1
|
|
339
|
+
}, 8, ["activeKey"])
|
|
340
|
+
]),
|
|
341
|
+
fileSlot: i(({ text: o }) => [
|
|
342
|
+
o ? (n(), a(d, {
|
|
343
|
+
key: 1,
|
|
344
|
+
ghost: !0,
|
|
345
|
+
type: "primary",
|
|
346
|
+
preIcon: "ant-design:download",
|
|
347
|
+
size: "small",
|
|
348
|
+
onClick: (b) => e(ke)(o)
|
|
349
|
+
}, {
|
|
350
|
+
default: i(() => [
|
|
351
|
+
_(" 下载 ")
|
|
352
|
+
]),
|
|
353
|
+
_: 2
|
|
354
|
+
}, 1032, ["onClick"])) : (n(), y("span", go, "无文件"))
|
|
355
|
+
]),
|
|
356
|
+
imgSlot: i(({ text: o }) => [
|
|
357
|
+
o ? (n(), y("img", {
|
|
358
|
+
key: 1,
|
|
359
|
+
src: e(Se)(o),
|
|
360
|
+
alt: "图片不存在",
|
|
361
|
+
class: "online-cell-image",
|
|
362
|
+
onClick: (b) => e(Ie)(o)
|
|
363
|
+
}, null, 8, bo)) : (n(), y("span", fo, "无图片"))
|
|
364
|
+
]),
|
|
365
|
+
htmlSlot: i(({ text: o }) => [
|
|
366
|
+
N("div", { innerHTML: o }, null, 8, yo)
|
|
367
|
+
]),
|
|
368
|
+
pcaSlot: i(({ text: o }) => [
|
|
369
|
+
N("div", {
|
|
370
|
+
title: e(A)(o)
|
|
371
|
+
}, R(e(A)(o)), 9, _o)
|
|
372
|
+
]),
|
|
373
|
+
dateSlot: i(({ text: o }) => [
|
|
374
|
+
N("span", null, R(e(ve)(o)), 1)
|
|
375
|
+
]),
|
|
376
|
+
action: i(({ record: o }) => [
|
|
377
|
+
u(e(Ge), {
|
|
378
|
+
actions: e(ue)(o),
|
|
379
|
+
dropDownActions: e(ce)(o)
|
|
380
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
381
|
+
]),
|
|
382
|
+
_: 1
|
|
383
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange", "expandedRowKeys"])),
|
|
384
|
+
u(Ye, {
|
|
385
|
+
id: e(f),
|
|
386
|
+
onRegister: e(oe),
|
|
387
|
+
onSuccess: e(c),
|
|
388
|
+
onFormConfig: Pe
|
|
389
|
+
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
390
|
+
u(J, {
|
|
391
|
+
id: e(f),
|
|
392
|
+
onRegister: e(me)
|
|
393
|
+
}, null, 8, ["id", "onRegister"]),
|
|
394
|
+
u(eo, {
|
|
395
|
+
onRegister: e(ie),
|
|
396
|
+
url: e(ee)(),
|
|
397
|
+
onOk: e(c),
|
|
398
|
+
online: ""
|
|
399
|
+
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
400
|
+
u(k, $e(e(v).model, je(e(v).on)), {
|
|
401
|
+
default: i(() => [
|
|
402
|
+
(n(), a(Ve(e(v).is), qe(Ue(e(v).params)), null, 16))
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
}, 16),
|
|
406
|
+
u(Ze, {
|
|
407
|
+
onRegister: e(X),
|
|
408
|
+
onSuccess: e(c)
|
|
409
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
410
|
+
u(J, {
|
|
411
|
+
id: e(Te),
|
|
412
|
+
onRegister: e(Re),
|
|
413
|
+
defaultFullscreen: !1
|
|
414
|
+
}, null, 8, ["id", "onRegister"]),
|
|
415
|
+
u(ro, {
|
|
416
|
+
ref_key: "onlinePopModalRef",
|
|
417
|
+
ref: Oe,
|
|
418
|
+
id: e(Q),
|
|
419
|
+
onRegister: e(xe),
|
|
420
|
+
onSuccess: e(c),
|
|
421
|
+
request: "",
|
|
422
|
+
topTip: ""
|
|
423
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
424
|
+
]);
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
export {
|
|
429
|
+
Mt as default
|
|
430
|
+
};
|