@jeecg/online 3.6.2-beta → 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-3aa0ed49.mjs → AuthButtonTree-589395ed.mjs} +2 -2
- package/AuthDataConfig-7bb0cd85.mjs +237 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
- package/AuthFieldConfig-490fc0ab.mjs +139 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
- package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
- package/AuthSetterModal-6f74449c.mjs +273 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
- package/{CgformModal-eccfc38e.mjs → CgformModal-36faf29a.mjs} +256 -246
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-5a23d089.mjs} +154 -131
- package/CheckDictTable-b5cb0e2b.mjs +226 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
- package/{CodeFileViewModal-373e8058.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
- package/CodeGeneratorModal-b722d976.mjs +238 -0
- package/{CustomButtonList-02e3d897.mjs → CustomButtonList-37639061.mjs} +118 -100
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
- package/{DbToOnlineModal-9f13956f.mjs → DbToOnlineModal-f49b9530.mjs} +57 -51
- package/DetailForm-4aa2570b.mjs +485 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
- package/EnhanceJsModal-247f640d.mjs +532 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
- package/ExtendConfigModal-00f2fb55.mjs +117 -0
- package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-38660e3c.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-1b496559.mjs} +10 -10
- package/{JModalTip-33c7dc44.mjs → JModalTip-4a83aaed.mjs} +1 -1
- package/{JOnlineSearchSelect-c287af12.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
- package/{LeftDepart-fa85523d.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-7d8c5acc.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-b4d1372a.mjs} +3 -3
- package/LinkTableConfigModal-a138c85e.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.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-89265688.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
- package/{OnlineDetailModal-9675390d.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-0cc85a8a.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
- package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.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-67558898.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-49508cad.mjs → index-581bef24.mjs} +29 -27
- package/{index-b7a05eef.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-244ec09f.mjs +0 -125
- package/AuthDataConfig-83891eea.mjs +0 -212
- package/AuthFieldConfig-6b21915c.mjs +0 -139
- package/AuthManagerDrawer-300dd4e4.mjs +0 -114
- package/AuthSetterModal-a414fb35.mjs +0 -267
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/DetailForm-424638eb.mjs +0 -462
- package/EnhanceJsModal-05c73a59.mjs +0 -311
- package/ExtendConfigModal-1dde390a.mjs +0 -111
- package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
- package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
- package/OnlCgformErpList-db45e22b.mjs +0 -454
- package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
- package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
- package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
- package/OnlCgformTabList-a9e1e36a.mjs +0 -395
- package/OnlineAutoList-0583a910.mjs +0 -479
- package/OnlineAutoModal-510991eb.mjs +0 -207
- package/OnlineForm-1fa2d893.mjs +0 -750
- package/OnlineFormDetail-0e7294ca.mjs +0 -297
- package/OnlineQueryForm-1bfc8320.mjs +0 -386
- package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
- package/OnlineTabForm-512d3951.mjs +0 -766
- package/OnlineTabFormDetail-5a70219d.mjs +0 -324
- package/PageAttributeTable-965dc58e.mjs +0 -404
- package/QueryTable-eb9a5b21.mjs +0 -115
- package/SuperQuery-5d1ca957.mjs +0 -843
- package/constant-754f1a9d.mjs +0 -9
- package/index-0e3ab3af.mjs +0 -56
- package/useCgformList-423282b7.mjs +0 -400
- package/useExtendComponent-325fe3f1.mjs +0 -3926
- package/useListButton-cdbab702.mjs +0 -676
|
@@ -1,444 +0,0 @@
|
|
|
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
|
-
};
|