@jeecg/online 3.6.2-GA → 3.7.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/AiModal-fe3988fb.mjs +84 -0
- package/AuthButtonConfig-d50a0a65.mjs +134 -0
- package/{AuthButtonTree-c2602a7c.mjs → AuthButtonTree-589395ed.mjs} +2 -2
- package/AuthDataConfig-7bb0cd85.mjs +237 -0
- package/{AuthDataTree-9dc58b20.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
- package/AuthFieldConfig-490fc0ab.mjs +139 -0
- package/{AuthFieldTree-d836be59.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
- package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
- package/AuthSetterModal-6f74449c.mjs +273 -0
- package/{CgformCopyList-86157923.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
- package/{CgformModal-5cf02d51.mjs → CgformModal-36faf29a.mjs} +256 -246
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal-5a23d089.mjs} +140 -117
- package/CheckDictTable-b5cb0e2b.mjs +226 -0
- package/{CodeFileListModal-f747daae.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
- package/{CodeFileViewModal-a9fb2900.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
- package/CodeGeneratorModal-b722d976.mjs +238 -0
- package/{CustomButtonList-b9b27a93.mjs → CustomButtonList-37639061.mjs} +118 -100
- package/{DBAttributeTable-6bdcb1e8.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
- package/{DbToOnlineModal-3705e91a.mjs → DbToOnlineModal-f49b9530.mjs} +56 -50
- package/DetailForm-4aa2570b.mjs +485 -0
- package/{EnhanceJavaModal-c13de6e0.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
- package/{EnhanceJsHistory-154101f0.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
- package/EnhanceJsModal-247f640d.mjs +532 -0
- package/{EnhanceSqlModal-221c22dc.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
- package/ExtendConfigModal-00f2fb55.mjs +117 -0
- package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
- package/{FileSelectModal-de40a706.mjs → FileSelectModal-38660e3c.mjs} +1 -1
- package/{ForeignKeyTable-22989042.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
- package/{IndexTable-833d34ff.mjs → IndexTable-1b496559.mjs} +10 -10
- package/{JModalTip-0413ad6a.mjs → JModalTip-4a83aaed.mjs} +1 -1
- package/{JOnlineSearchSelect-9ea89e13.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
- package/{LeftDepart-b0a535c0.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
- package/{LeftRole-22c90d6b.mjs → LeftRole-7d8c5acc.mjs} +1 -1
- package/{LeftUser-a44d63dd.mjs → LeftUser-b4d1372a.mjs} +3 -3
- package/LinkTableConfigModal-a138c85e.mjs +240 -0
- package/{LinkTableFieldConfigModal-06693eaa.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
- package/{LinkTableListPiece-46e8af51.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
- package/{ModalFormDemo-d107fa87.mjs → ModalFormDemo-0544737d.mjs} +1 -1
- package/OnlCgformErpList-30e416c8.mjs +470 -0
- package/OnlCgformErpSubTable-9a876058.mjs +427 -0
- package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
- package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
- package/OnlCgformTabList-7a2f2c03.mjs +408 -0
- package/OnlineAutoList-46c6c8b9.mjs +493 -0
- package/OnlineAutoModal-971bef13.mjs +236 -0
- package/{OnlineAutoTreeList-ec27d271.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
- package/{OnlineCustomModal-3e6792d3.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
- package/{OnlineDetailModal-f40e37e1.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
- package/OnlineForm-018981b2.mjs +924 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-e036cd11.mjs +342 -0
- package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
- package/OnlineFormUrlDetail-b2292137.mjs +119 -0
- package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
- package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
- package/OnlineQueryForm-998c12a4.mjs +444 -0
- package/{OnlineSearchFormItem-fe308194.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
- package/{OnlineSelectCascade-abc345f9.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
- package/{OnlineSubFormDetail-02326a8c.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
- package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
- package/{OnlineTabDetailModal-d23bd4c9.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
- package/OnlineTabForm-9ad7d29a.mjs +805 -0
- package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
- package/PageAttributeTable-6c23547b.mjs +446 -0
- package/{ProcessOnlineForm-84f4d02d.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
- package/QueryTable-96b3dbd0.mjs +144 -0
- package/SetSwitchOptions-a452fa0f.mjs +62 -0
- package/SuperQuery-cbfba908.mjs +975 -0
- package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
- package/index-173949bb.mjs +57 -0
- package/{index-0a93652b.mjs → index-581bef24.mjs} +29 -27
- package/{index-e1bda35b.mjs → index-d2abb8a0.mjs} +394 -361
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-8755a94e.mjs +426 -0
- package/useExtendComponent-bb7cca20.mjs +4295 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-7ddb9a46.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
- package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
- package/AuthButtonConfig-f142147a.mjs +0 -125
- package/AuthDataConfig-8e5c7b0c.mjs +0 -212
- package/AuthFieldConfig-e9a45f94.mjs +0 -139
- package/AuthManagerDrawer-5b558c23.mjs +0 -114
- package/AuthSetterModal-0cc557cf.mjs +0 -267
- package/CgreportModal-2eb9c9e1.mjs +0 -13
- package/CheckDictTable-27102064.mjs +0 -211
- package/CodeGeneratorModal-3a0e9f0e.mjs +0 -233
- package/DetailForm-cdeb54e3.mjs +0 -462
- package/EnhanceJsModal-6158804c.mjs +0 -311
- package/ExtendConfigModal-0564ef83.mjs +0 -111
- package/FieldExtendJsonModal-40d961c1.mjs +0 -219
- package/LinkTableConfigModal-5edaa08d.mjs +0 -230
- package/OnlCgformErpList-4c51cdb3.mjs +0 -454
- package/OnlCgformErpSubTable-d7081b9f.mjs +0 -403
- package/OnlCgformInnerSubTable-4c3925bb.mjs +0 -253
- package/OnlCgformInnerTableList-1e5014fa.mjs +0 -444
- package/OnlCgformTabList-c59c7cc7.mjs +0 -395
- package/OnlineAutoList-a7a9de5d.mjs +0 -479
- package/OnlineAutoModal-a33f1a63.mjs +0 -207
- package/OnlineForm-fb3a2379.mjs +0 -750
- package/OnlineFormDetail-52b1c303.mjs +0 -297
- package/OnlineQueryForm-7c70734e.mjs +0 -386
- package/OnlineTabAutoModal-6d9da8b0.mjs +0 -254
- package/OnlineTabForm-29ca07f7.mjs +0 -766
- package/OnlineTabFormDetail-aa7e1144.mjs +0 -324
- package/PageAttributeTable-d82946c5.mjs +0 -404
- package/QueryTable-d4599fca.mjs +0 -115
- package/SuperQuery-07162778.mjs +0 -843
- package/constant-754f1a9d.mjs +0 -9
- package/index-73993b18.mjs +0 -56
- package/useCgformList-b135794d.mjs +0 -400
- package/useExtendComponent-f4e29152.mjs +0 -3926
- package/useListButton-4dd33e7a.mjs +0 -676
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
var x = (P, p, l) => new Promise((O, R) => {
|
|
2
|
+
var b = (c) => {
|
|
3
|
+
try {
|
|
4
|
+
k(l.next(c));
|
|
5
|
+
} catch (u) {
|
|
6
|
+
R(u);
|
|
7
|
+
}
|
|
8
|
+
}, y = (c) => {
|
|
9
|
+
try {
|
|
10
|
+
k(l.throw(c));
|
|
11
|
+
} catch (u) {
|
|
12
|
+
R(u);
|
|
13
|
+
}
|
|
14
|
+
}, k = (c) => c.done ? O(c.value) : Promise.resolve(c.value).then(b, y);
|
|
15
|
+
k((l = l.apply(P, p)).next());
|
|
16
|
+
});
|
|
17
|
+
import { reactive as je, ref as D, watch as Ve, resolveComponent as S, openBlock as n, createElementBlock as f, createVNode as m, unref as e, createBlock as s, normalizeClass as qe, withCtx as r, createTextVNode as C, createCommentVNode as d, Fragment as N, renderList as Q, toDisplayString as M, withDirectives as Ue, vShow as Ge, createElementVNode as K, mergeProps as We, toHandlers as Xe, resolveDynamicComponent as Ye, normalizeProps as Ze, guardReactiveProps as eo, nextTick as oo } from "vue";
|
|
18
|
+
import { BasicTable as to, TableAction as no } from "/@/components/Table";
|
|
19
|
+
import { useMessage as ro } from "/@/hooks/web/useMessage";
|
|
20
|
+
import io from "./OnlineAutoModal-971bef13.mjs";
|
|
21
|
+
import lo from "./OnlineCustomModal-594244f3.mjs";
|
|
22
|
+
import J from "./OnlineDetailModal-2a271e0b.mjs";
|
|
23
|
+
import ao from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as so, a as co } from "./useListButton-7ddb9a46.mjs";
|
|
25
|
+
import { u as po, a as uo, O as mo, g as go } from "./useExtendComponent-bb7cca20.mjs";
|
|
26
|
+
import fo from "./OnlineQueryForm-998c12a4.mjs";
|
|
27
|
+
import bo from "./SuperQuery-cbfba908.mjs";
|
|
28
|
+
import { u as yo } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import _o from "./OnlCgformInnerSubTable-290ace5d.mjs";
|
|
30
|
+
import { I as ho } from "./constant-fa63bd66.mjs";
|
|
31
|
+
import "/@/components/Modal";
|
|
32
|
+
import "./OnlineForm-018981b2.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 "/@/hooks/web/useAppInject";
|
|
48
|
+
import "/@/utils/is";
|
|
49
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
|
|
50
|
+
import "./index-173949bb.mjs";
|
|
51
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
52
|
+
import "vue-router";
|
|
53
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
54
|
+
import "./OnlineFormDetail-e036cd11.mjs";
|
|
55
|
+
import "./DetailForm-4aa2570b.mjs";
|
|
56
|
+
import "/@/utils/propTypes";
|
|
57
|
+
import "/@/utils/dict";
|
|
58
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
59
|
+
import "/@/utils/dict/index";
|
|
60
|
+
import "/@/api/common/api";
|
|
61
|
+
import "/@/components/Form/src/utils/Area";
|
|
62
|
+
import "/@/components/Preview/index";
|
|
63
|
+
import "/@/components/Markdown";
|
|
64
|
+
import "./OnlineSubFormDetail-03f8ee5c.mjs";
|
|
65
|
+
import "/@/router";
|
|
66
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
67
|
+
import "/@/store/modules/multipleTab";
|
|
68
|
+
import "./cgformState-d9f8ec42.mjs";
|
|
69
|
+
import "pinia";
|
|
70
|
+
import "/@/store";
|
|
71
|
+
import "ant-design-vue";
|
|
72
|
+
import "/@/hooks/system/useMethods";
|
|
73
|
+
import "/@/components/Form/src/componentMap";
|
|
74
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
75
|
+
import "/@/views/system/user/user.api";
|
|
76
|
+
import "/@/utils/desform/customExpression";
|
|
77
|
+
import "/@/store/modules/permission";
|
|
78
|
+
import "/@/hooks/system/useListPage";
|
|
79
|
+
import "./LinkTableListPiece-2660d709.mjs";
|
|
80
|
+
import "/@/assets/images/placeholderImage.png";
|
|
81
|
+
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
82
|
+
import "./JModalTip-4a83aaed.mjs";
|
|
83
|
+
import "@vueuse/core";
|
|
84
|
+
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
85
|
+
import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
|
|
86
|
+
import "/@/hooks/web/useDesign";
|
|
87
|
+
import "/@/components/Table/src/const";
|
|
88
|
+
const Co = { class: "p-2" }, ko = {
|
|
89
|
+
key: 0,
|
|
90
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
91
|
+
}, Io = {
|
|
92
|
+
key: 0,
|
|
93
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
94
|
+
}, To = ["src", "onClick"], vo = ["innerHTML", "onClick"], So = ["innerHTML"], Ro = ["title"], jt = {
|
|
95
|
+
__name: "OnlCgformInnerTableList",
|
|
96
|
+
setup(P) {
|
|
97
|
+
const p = je({
|
|
98
|
+
tabNav: [],
|
|
99
|
+
tabIndex: "0"
|
|
100
|
+
}), l = D([]), O = D(null), { createMessage: R } = ro(), {
|
|
101
|
+
ID: b,
|
|
102
|
+
onlineTableContext: y,
|
|
103
|
+
onlineQueryFormOuter: k,
|
|
104
|
+
loading: c,
|
|
105
|
+
reload: u,
|
|
106
|
+
dataSource: $,
|
|
107
|
+
pagination: z,
|
|
108
|
+
handleSpecialConfig: j,
|
|
109
|
+
getColumnList: V,
|
|
110
|
+
handleChangeInTable: q,
|
|
111
|
+
loadData: U,
|
|
112
|
+
superQueryButtonRef: B,
|
|
113
|
+
superQueryStatus: G,
|
|
114
|
+
handleSuperQuery: W,
|
|
115
|
+
onlineExtConfigJson: F,
|
|
116
|
+
handleFormConfig: X,
|
|
117
|
+
registerCustomModal: Y,
|
|
118
|
+
tableReloading: Z
|
|
119
|
+
} = so();
|
|
120
|
+
if (!b.value)
|
|
121
|
+
throw R.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
122
|
+
let { initCgEnhanceJs: ee } = po(y);
|
|
123
|
+
const {
|
|
124
|
+
buttonSwitch: I,
|
|
125
|
+
cgTopButtonList: E,
|
|
126
|
+
importUrl: oe,
|
|
127
|
+
registerModal: te,
|
|
128
|
+
handleAdd: ne,
|
|
129
|
+
handleBatchDelete: re,
|
|
130
|
+
registerImportModal: ie,
|
|
131
|
+
onImportExcel: le,
|
|
132
|
+
onExportExcel: ae,
|
|
133
|
+
cgButtonJsHandler: se,
|
|
134
|
+
cgButtonActionHandler: ce,
|
|
135
|
+
getDropDownActions: de,
|
|
136
|
+
getActions: pe,
|
|
137
|
+
initButtonList: ue,
|
|
138
|
+
initButtonSwitch: me,
|
|
139
|
+
registerDetailModal: ge,
|
|
140
|
+
registerBpmModal: fe
|
|
141
|
+
} = co(y, F), L = D(!1);
|
|
142
|
+
function be() {
|
|
143
|
+
return x(this, null, function* () {
|
|
144
|
+
try {
|
|
145
|
+
L.value = !0, yield ae();
|
|
146
|
+
} finally {
|
|
147
|
+
setTimeout(() => L.value = !1, 1500);
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
const {
|
|
152
|
+
columns: ye,
|
|
153
|
+
actionColumn: _e,
|
|
154
|
+
selectedKeys: he,
|
|
155
|
+
rowSelection: Ce,
|
|
156
|
+
enableScrollBar: ke,
|
|
157
|
+
tableScroll: Ie,
|
|
158
|
+
downloadRowFile: Te,
|
|
159
|
+
getImgView: ve,
|
|
160
|
+
getPcaText: H,
|
|
161
|
+
getFormatDate: Se,
|
|
162
|
+
handleColumnResult: Re,
|
|
163
|
+
hrefComponent: w,
|
|
164
|
+
viewOnlineCellImage: we,
|
|
165
|
+
hrefMainTableId: xe,
|
|
166
|
+
registerOnlineHrefModal: Me,
|
|
167
|
+
registerPopModal: Oe,
|
|
168
|
+
openPopModal: Be,
|
|
169
|
+
onlinePopModalRef: Ee,
|
|
170
|
+
popTableId: A,
|
|
171
|
+
handleClickFieldHref: Le
|
|
172
|
+
} = uo(y, F);
|
|
173
|
+
Ve(
|
|
174
|
+
b,
|
|
175
|
+
() => {
|
|
176
|
+
De();
|
|
177
|
+
},
|
|
178
|
+
{ immediate: !0 }
|
|
179
|
+
);
|
|
180
|
+
function De() {
|
|
181
|
+
return x(this, null, function* () {
|
|
182
|
+
c.value = !0;
|
|
183
|
+
let t = yield V(ho);
|
|
184
|
+
Ne(t), yield U(), c.value = !1, y.execButtonEnhance("setup");
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
function Ne(t) {
|
|
188
|
+
let a = ee(t.enhanceJs);
|
|
189
|
+
y.EnhanceJS = a, ue(t.cgButtonList), me(t.hideColumns), Re(t), j(t);
|
|
190
|
+
}
|
|
191
|
+
function Pe(t) {
|
|
192
|
+
y.queryParam = t, u({ mode: "search" });
|
|
193
|
+
}
|
|
194
|
+
function Fe(t) {
|
|
195
|
+
return x(this, null, function* () {
|
|
196
|
+
yield go(B), B.value.init(t);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
function He(t) {
|
|
200
|
+
A.value = t.id;
|
|
201
|
+
let a = {
|
|
202
|
+
title: t.describe
|
|
203
|
+
};
|
|
204
|
+
t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), Be(!0, a);
|
|
205
|
+
}
|
|
206
|
+
yo(He);
|
|
207
|
+
const Ae = (t) => {
|
|
208
|
+
X(t);
|
|
209
|
+
const { schema: a } = t, { properties: g } = a, T = [];
|
|
210
|
+
Object.entries(g).forEach(([v, _]) => {
|
|
211
|
+
_.view == "tab" && T.push({ tableName: v, tableTxt: _.describe, id: _.id, order: _.order });
|
|
212
|
+
}), T.sort((v, _) => v.order - _.order), p.tabNav = T;
|
|
213
|
+
}, Qe = (t, a) => {
|
|
214
|
+
l.value = [], t && (l.value = [a.id], O.value = a);
|
|
215
|
+
}, Ke = (t) => {
|
|
216
|
+
u(t), Je();
|
|
217
|
+
}, Je = () => {
|
|
218
|
+
if (l.value.length) {
|
|
219
|
+
const t = p.tabIndex;
|
|
220
|
+
p.tabIndex = "-1", oo(() => {
|
|
221
|
+
p.tabIndex = t;
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
return (t, a) => {
|
|
226
|
+
const g = S("a-button"), T = S("a-tab-pane"), v = S("a-tabs"), _ = S("a-modal"), $e = S("BpmGraphicModal");
|
|
227
|
+
return n(), f("div", Co, [
|
|
228
|
+
m(fo, {
|
|
229
|
+
ref_key: "onlineQueryFormOuter",
|
|
230
|
+
ref: k,
|
|
231
|
+
id: e(b),
|
|
232
|
+
onSearch: Pe,
|
|
233
|
+
onLoaded: Fe
|
|
234
|
+
}, null, 8, ["id"]),
|
|
235
|
+
e(Z) ? d("", !0) : (n(), s(e(to), {
|
|
236
|
+
key: 0,
|
|
237
|
+
ref: "onlineTable",
|
|
238
|
+
rowKey: "jeecg_row_key",
|
|
239
|
+
canResize: !0,
|
|
240
|
+
bordered: !0,
|
|
241
|
+
showIndexColumn: !1,
|
|
242
|
+
loading: e(c),
|
|
243
|
+
columns: e(ye),
|
|
244
|
+
dataSource: e($),
|
|
245
|
+
pagination: e(z),
|
|
246
|
+
rowSelection: e(Ce),
|
|
247
|
+
actionColumn: e(_e),
|
|
248
|
+
showTableSetting: !0,
|
|
249
|
+
clickToRowSelect: !1,
|
|
250
|
+
scroll: e(Ie),
|
|
251
|
+
onTableRedo: e(u),
|
|
252
|
+
class: qe({ "j-table-force-nowrap": e(ke) }),
|
|
253
|
+
onChange: e(q),
|
|
254
|
+
expandedRowKeys: l.value,
|
|
255
|
+
onExpand: Qe
|
|
256
|
+
}, {
|
|
257
|
+
tableTitle: r(() => [
|
|
258
|
+
e(I).add ? (n(), s(g, {
|
|
259
|
+
key: 0,
|
|
260
|
+
preIcon: "ant-design:plus-outlined",
|
|
261
|
+
type: "primary",
|
|
262
|
+
onClick: e(ne)
|
|
263
|
+
}, {
|
|
264
|
+
default: r(() => [
|
|
265
|
+
C("新增")
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
}, 8, ["onClick"])) : d("", !0),
|
|
269
|
+
e(I).import ? (n(), s(g, {
|
|
270
|
+
key: 1,
|
|
271
|
+
preIcon: "ant-design:import-outlined",
|
|
272
|
+
type: "primary",
|
|
273
|
+
onClick: e(le)
|
|
274
|
+
}, {
|
|
275
|
+
default: r(() => [
|
|
276
|
+
C("导入")
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}, 8, ["onClick"])) : d("", !0),
|
|
280
|
+
e(I).export ? (n(), s(g, {
|
|
281
|
+
key: 2,
|
|
282
|
+
preIcon: "ant-design:export-outlined",
|
|
283
|
+
type: "primary",
|
|
284
|
+
loading: L.value,
|
|
285
|
+
onClick: be
|
|
286
|
+
}, {
|
|
287
|
+
default: r(() => [
|
|
288
|
+
C(" 导出")
|
|
289
|
+
]),
|
|
290
|
+
_: 1
|
|
291
|
+
}, 8, ["loading"])) : d("", !0),
|
|
292
|
+
e(E) && e(E).length > 0 ? (n(!0), f(N, { key: 3 }, Q(e(E), (o, i) => (n(), f(N, null, [
|
|
293
|
+
o.optType == "js" ? (n(), s(g, {
|
|
294
|
+
key: "cgbtn" + i,
|
|
295
|
+
onClick: (h) => e(se)(o.buttonCode),
|
|
296
|
+
type: "primary",
|
|
297
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
298
|
+
}, {
|
|
299
|
+
default: r(() => [
|
|
300
|
+
C(M(o.buttonName), 1)
|
|
301
|
+
]),
|
|
302
|
+
_: 2
|
|
303
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), s(g, {
|
|
304
|
+
key: "cgbtn" + i,
|
|
305
|
+
onClick: (h) => e(ce)(o.buttonCode),
|
|
306
|
+
type: "primary",
|
|
307
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
308
|
+
}, {
|
|
309
|
+
default: r(() => [
|
|
310
|
+
C(M(o.buttonName), 1)
|
|
311
|
+
]),
|
|
312
|
+
_: 2
|
|
313
|
+
}, 1032, ["onClick", "preIcon"])) : d("", !0)
|
|
314
|
+
], 64))), 256)) : d("", !0),
|
|
315
|
+
e(I).batch_delete ? Ue((n(), s(g, {
|
|
316
|
+
key: 4,
|
|
317
|
+
preIcon: "ant-design:delete-outlined",
|
|
318
|
+
onClick: e(re)
|
|
319
|
+
}, {
|
|
320
|
+
default: r(() => [
|
|
321
|
+
C(" 批量删除")
|
|
322
|
+
]),
|
|
323
|
+
_: 1
|
|
324
|
+
}, 8, ["onClick"])), [
|
|
325
|
+
[Ge, e(he).length > 0]
|
|
326
|
+
]) : d("", !0),
|
|
327
|
+
e(I).super_query ? (n(), s(bo, {
|
|
328
|
+
key: 5,
|
|
329
|
+
ref_key: "superQueryButtonRef",
|
|
330
|
+
ref: B,
|
|
331
|
+
online: "",
|
|
332
|
+
status: e(G),
|
|
333
|
+
onSearch: e(W)
|
|
334
|
+
}, null, 8, ["status", "onSearch"])) : d("", !0)
|
|
335
|
+
]),
|
|
336
|
+
expandedRowRender: r(({ record: o }) => [
|
|
337
|
+
l.value[0] && o.id == l.value[0] ? (n(), s(v, {
|
|
338
|
+
key: 0,
|
|
339
|
+
activeKey: p.tabIndex,
|
|
340
|
+
"onUpdate:activeKey": a[0] || (a[0] = (i) => p.tabIndex = i)
|
|
341
|
+
}, {
|
|
342
|
+
default: r(() => [
|
|
343
|
+
l.value.length ? (n(!0), f(N, { key: 0 }, Q(p.tabNav, (i, h) => (n(), s(T, {
|
|
344
|
+
tab: i.tableTxt,
|
|
345
|
+
key: h + ""
|
|
346
|
+
}, {
|
|
347
|
+
default: r(() => [
|
|
348
|
+
p.tabIndex == h ? (n(), s(_o, {
|
|
349
|
+
key: 0,
|
|
350
|
+
subTableId: i.id,
|
|
351
|
+
mTableSelectedRcordId: l.value[0],
|
|
352
|
+
subTableName: i.tableName
|
|
353
|
+
}, null, 8, ["subTableId", "mTableSelectedRcordId", "subTableName"])) : d("", !0)
|
|
354
|
+
]),
|
|
355
|
+
_: 2
|
|
356
|
+
}, 1032, ["tab"]))), 128)) : d("", !0)
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}, 8, ["activeKey"])) : d("", !0)
|
|
360
|
+
]),
|
|
361
|
+
fileSlot: r(({ text: o, record: i, column: h }) => [
|
|
362
|
+
o ? (n(), s(g, {
|
|
363
|
+
key: 1,
|
|
364
|
+
ghost: !0,
|
|
365
|
+
type: "primary",
|
|
366
|
+
preIcon: "ant-design:download",
|
|
367
|
+
size: "small",
|
|
368
|
+
onClick: (ze) => e(Te)(o, i, h, e(b))
|
|
369
|
+
}, {
|
|
370
|
+
default: r(() => [
|
|
371
|
+
C(" 下载 ")
|
|
372
|
+
]),
|
|
373
|
+
_: 2
|
|
374
|
+
}, 1032, ["onClick"])) : (n(), f("span", ko, "无文件"))
|
|
375
|
+
]),
|
|
376
|
+
imgSlot: r(({ text: o }) => [
|
|
377
|
+
o ? (n(), f("img", {
|
|
378
|
+
key: 1,
|
|
379
|
+
src: e(ve)(o),
|
|
380
|
+
alt: "图片不存在",
|
|
381
|
+
class: "online-cell-image",
|
|
382
|
+
onClick: (i) => e(we)(o)
|
|
383
|
+
}, null, 8, To)) : (n(), f("span", Io, "无图片"))
|
|
384
|
+
]),
|
|
385
|
+
htmlSlot: r(({ text: o, column: i, record: h }) => [
|
|
386
|
+
i.fieldHref ? (n(), f("a", {
|
|
387
|
+
key: 0,
|
|
388
|
+
innerHTML: o,
|
|
389
|
+
onClick: (ze) => e(Le)(i.fieldHref, h)
|
|
390
|
+
}, null, 8, vo)) : (n(), f("div", {
|
|
391
|
+
key: 1,
|
|
392
|
+
innerHTML: o
|
|
393
|
+
}, null, 8, So))
|
|
394
|
+
]),
|
|
395
|
+
pcaSlot: r(({ text: o }) => [
|
|
396
|
+
K("div", {
|
|
397
|
+
title: e(H)(o)
|
|
398
|
+
}, M(e(H)(o)), 9, Ro)
|
|
399
|
+
]),
|
|
400
|
+
dateSlot: r(({ text: o, column: i }) => [
|
|
401
|
+
K("span", null, M(e(Se)(o, i)), 1)
|
|
402
|
+
]),
|
|
403
|
+
action: r(({ record: o }) => [
|
|
404
|
+
m(e(no), {
|
|
405
|
+
actions: e(pe)(o),
|
|
406
|
+
dropDownActions: e(de)(o)
|
|
407
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
408
|
+
]),
|
|
409
|
+
_: 1
|
|
410
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange", "expandedRowKeys"])),
|
|
411
|
+
m(io, {
|
|
412
|
+
id: e(b),
|
|
413
|
+
onRegister: e(te),
|
|
414
|
+
onSuccess: Ke,
|
|
415
|
+
onFormConfig: Ae
|
|
416
|
+
}, null, 8, ["id", "onRegister"]),
|
|
417
|
+
m(J, {
|
|
418
|
+
id: e(b),
|
|
419
|
+
onRegister: e(ge)
|
|
420
|
+
}, null, 8, ["id", "onRegister"]),
|
|
421
|
+
m(ao, {
|
|
422
|
+
onRegister: e(ie),
|
|
423
|
+
url: e(oe)(),
|
|
424
|
+
onOk: e(u),
|
|
425
|
+
online: ""
|
|
426
|
+
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
427
|
+
m(_, We(e(w).model, Xe(e(w).on)), {
|
|
428
|
+
default: r(() => [
|
|
429
|
+
(n(), s(Ye(e(w).is), Ze(eo(e(w).params)), null, 16))
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
}, 16),
|
|
433
|
+
m(lo, {
|
|
434
|
+
onRegister: e(Y),
|
|
435
|
+
onSuccess: e(u)
|
|
436
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
437
|
+
m(J, {
|
|
438
|
+
id: e(xe),
|
|
439
|
+
onRegister: e(Me),
|
|
440
|
+
defaultFullscreen: !1
|
|
441
|
+
}, null, 8, ["id", "onRegister"]),
|
|
442
|
+
m(mo, {
|
|
443
|
+
ref_key: "onlinePopModalRef",
|
|
444
|
+
ref: Ee,
|
|
445
|
+
id: e(A),
|
|
446
|
+
onRegister: e(Oe),
|
|
447
|
+
onSuccess: e(u),
|
|
448
|
+
request: "",
|
|
449
|
+
topTip: ""
|
|
450
|
+
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
451
|
+
m($e, { onRegister: e(fe) }, null, 8, ["onRegister"])
|
|
452
|
+
]);
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
export {
|
|
457
|
+
jt as default
|
|
458
|
+
};
|