@jeecg/online 3.6.2-beta → 3.7.1-RC
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-6de335e3.mjs +84 -0
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/AuthDataConfig-5c3a8e6b.mjs +238 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/AuthManagerDrawer-76f15e8d.mjs +119 -0
- package/AuthSetterModal-f5d2e87f.mjs +274 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
- package/CheckDictTable-1bc8322d.mjs +229 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/CodeFileViewModal-2fe911f4.mjs +253 -0
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/CustomButtonList-f07bc695.mjs +397 -0
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/DetailForm-deecbf3d.mjs +486 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
- package/EnhanceJsModal-175357a1.mjs +548 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
- package/ExtendConfigModal-a89ae052.mjs +117 -0
- package/FieldExtendJsonModal-32135634.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
- package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
- package/LinkTableConfigModal-9242d750.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/OnlCgformErpList-58acdfa0.mjs +470 -0
- package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
- package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
- package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
- package/OnlCgformTabList-019ad753.mjs +408 -0
- package/OnlineAutoList-48589d09.mjs +493 -0
- package/OnlineAutoModal-c2928847.mjs +239 -0
- package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
- package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-022ca117.mjs +342 -0
- package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
- package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
- package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
- package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
- package/OnlineTabForm-27655c83.mjs +817 -0
- package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
- package/PageAttributeTable-25e3b7da.mjs +466 -0
- package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
- package/QueryTable-f7bfca7f.mjs +147 -0
- package/SetSwitchOptions-b2af757f.mjs +62 -0
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/auth.data-511e5197.mjs +217 -0
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
- package/index-1d1a6e56.mjs +57 -0
- package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
- package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-f41d4dc1.mjs +426 -0
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-bfac4ecf.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
- package/useTableSync-d7e9f18d.mjs +89 -0
- 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/CgformModal-eccfc38e.mjs +0 -611
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeFileViewModal-373e8058.mjs +0 -244
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/CustomButtonList-02e3d897.mjs +0 -363
- package/DbToOnlineModal-9f13956f.mjs +0 -160
- 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/JOnlineSearchSelect-c287af12.mjs +0 -95
- 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/auth.api-d3a6c4b3.mjs +0 -39
- package/auth.data-8be5c9e3.mjs +0 -141
- 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
- package/useTableSync-774c3774.mjs +0 -87
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
var I = (K, b, g) => new Promise((h, C) => {
|
|
2
|
+
var E = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
k(g.next(a));
|
|
5
|
+
} catch (r) {
|
|
6
|
+
C(r);
|
|
7
|
+
}
|
|
8
|
+
}, R = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
k(g.throw(a));
|
|
11
|
+
} catch (r) {
|
|
12
|
+
C(r);
|
|
13
|
+
}
|
|
14
|
+
}, k = (a) => a.done ? h(a.value) : Promise.resolve(a.value).then(E, R);
|
|
15
|
+
k((g = g.apply(K, b)).next());
|
|
16
|
+
});
|
|
17
|
+
import { ref as _, watch as j, resolveComponent as M, openBlock as n, createElementBlock as d, createElementVNode as F, createVNode as p, unref as e, createBlock as u, normalizeClass as Ve, withCtx as l, createTextVNode as f, createCommentVNode as m, Fragment as H, renderList as V, toDisplayString as L, withDirectives as qe, vShow as Ue, mergeProps as Ge, toHandlers as We, resolveDynamicComponent as Xe, normalizeProps as Ye, guardReactiveProps as Ze } from "vue";
|
|
18
|
+
import { BasicTable as eo, TableAction as oo } from "/@/components/Table";
|
|
19
|
+
import { useMessage as to } from "/@/hooks/web/useMessage";
|
|
20
|
+
import no from "./OnlineAutoModal-c2928847.mjs";
|
|
21
|
+
import io from "./OnlineCustomModal-9e17b6ce.mjs";
|
|
22
|
+
import q from "./OnlineDetailModal-d5895734.mjs";
|
|
23
|
+
import lo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as ro, a as ao } from "./useListButton-bfac4ecf.mjs";
|
|
25
|
+
import { u as so, a as co, O as uo, g as po } from "./useExtendComponent-dcae5c78.mjs";
|
|
26
|
+
import mo from "./OnlineQueryForm-eedb9a60.mjs";
|
|
27
|
+
import go from "./SuperQuery-a8592995.mjs";
|
|
28
|
+
import { u as fo } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import yo from "./OnlCgformErpSubTable-9b1e1938.mjs";
|
|
30
|
+
import { E as U } from "./constant-fa63bd66.mjs";
|
|
31
|
+
import { cloneDeep as _o } from "lodash-es";
|
|
32
|
+
import "/@/components/Modal";
|
|
33
|
+
import "./OnlineForm-9f1153ba.mjs";
|
|
34
|
+
import "/@/components/Form/index";
|
|
35
|
+
import "/@/utils/http/axios";
|
|
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 "/@/store/modules/permission";
|
|
50
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
|
|
51
|
+
import "./index-1d1a6e56.mjs";
|
|
52
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
53
|
+
import "vue-router";
|
|
54
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
55
|
+
import "./OnlineFormDetail-022ca117.mjs";
|
|
56
|
+
import "./DetailForm-deecbf3d.mjs";
|
|
57
|
+
import "/@/utils/propTypes";
|
|
58
|
+
import "/@/utils/dict";
|
|
59
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
60
|
+
import "/@/utils/dict/index";
|
|
61
|
+
import "/@/api/common/api";
|
|
62
|
+
import "/@/components/Form/src/utils/Area";
|
|
63
|
+
import "/@/components/Preview/index";
|
|
64
|
+
import "/@/components/Markdown";
|
|
65
|
+
import "./OnlineSubFormDetail-58e896ce.mjs";
|
|
66
|
+
import "/@/router";
|
|
67
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
68
|
+
import "/@/store/modules/multipleTab";
|
|
69
|
+
import "./cgformState-d9f8ec42.mjs";
|
|
70
|
+
import "pinia";
|
|
71
|
+
import "/@/store";
|
|
72
|
+
import "ant-design-vue";
|
|
73
|
+
import "/@/hooks/system/useMethods";
|
|
74
|
+
import "/@/components/Form/src/componentMap";
|
|
75
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
76
|
+
import "/@/views/system/user/user.api";
|
|
77
|
+
import "/@/utils/desform/customExpression";
|
|
78
|
+
import "/@/hooks/system/useListPage";
|
|
79
|
+
import "./LinkTableListPiece-f3a8e0d7.mjs";
|
|
80
|
+
import "/@/assets/images/placeholderImage.png";
|
|
81
|
+
import "./OnlineSelectCascade-05c40fef.mjs";
|
|
82
|
+
import "./JModalTip-b055ab60.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 "/@/utils/index";
|
|
87
|
+
import "/@/hooks/web/useDesign";
|
|
88
|
+
const bo = { class: "p-2 cgformErpList" }, ho = { class: "content" }, Co = {
|
|
89
|
+
key: 0,
|
|
90
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
91
|
+
}, ko = {
|
|
92
|
+
key: 0,
|
|
93
|
+
style: { "font-size": "12px", "font-style": "italic" }
|
|
94
|
+
}, vo = ["src", "onClick"], So = ["innerHTML", "onClick"], wo = ["innerHTML"], Ro = ["title"], Gt = {
|
|
95
|
+
__name: "OnlCgformErpList",
|
|
96
|
+
setup(K) {
|
|
97
|
+
const b = _([]), g = _(0), h = _(null), C = _({}), { createMessage: E } = to(), R = _({}), k = (t, i) => {
|
|
98
|
+
R.value[t] = i;
|
|
99
|
+
}, {
|
|
100
|
+
ID: a,
|
|
101
|
+
onlineTableContext: r,
|
|
102
|
+
onlineQueryFormOuter: G,
|
|
103
|
+
loading: O,
|
|
104
|
+
reload: y,
|
|
105
|
+
dataSource: Q,
|
|
106
|
+
pagination: W,
|
|
107
|
+
handleSpecialConfig: X,
|
|
108
|
+
getColumnList: Y,
|
|
109
|
+
handleChangeInTable: Z,
|
|
110
|
+
loadData: ee,
|
|
111
|
+
superQueryButtonRef: B,
|
|
112
|
+
superQueryStatus: oe,
|
|
113
|
+
handleSuperQuery: te,
|
|
114
|
+
onlineExtConfigJson: J,
|
|
115
|
+
handleFormConfig: ne,
|
|
116
|
+
registerCustomModal: ie,
|
|
117
|
+
tableReloading: le
|
|
118
|
+
} = ro({ themeTemplate: U });
|
|
119
|
+
if (!a.value)
|
|
120
|
+
throw E.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
121
|
+
let { initCgEnhanceJs: re } = so(r);
|
|
122
|
+
const {
|
|
123
|
+
buttonSwitch: v,
|
|
124
|
+
cgLinkButtonList: To,
|
|
125
|
+
cgTopButtonList: x,
|
|
126
|
+
importUrl: ae,
|
|
127
|
+
registerModal: se,
|
|
128
|
+
handleAdd: ce,
|
|
129
|
+
handleEdit: Io,
|
|
130
|
+
handleBatchDelete: ue,
|
|
131
|
+
registerImportModal: pe,
|
|
132
|
+
onImportExcel: de,
|
|
133
|
+
onExportExcel: me,
|
|
134
|
+
cgButtonJsHandler: ge,
|
|
135
|
+
cgButtonActionHandler: fe,
|
|
136
|
+
cgButtonLinkHandler: Mo,
|
|
137
|
+
handleSubmitFlow: Lo,
|
|
138
|
+
getDropDownActions: ye,
|
|
139
|
+
getActions: _e,
|
|
140
|
+
initButtonList: be,
|
|
141
|
+
initButtonSwitch: he,
|
|
142
|
+
registerDetailModal: Ce,
|
|
143
|
+
registerBpmModal: Eo
|
|
144
|
+
} = ao(r, J, {
|
|
145
|
+
singleDelCallback: (t) => {
|
|
146
|
+
Array.isArray(r.selectedRowKeys) && r.selectedRowKeys.includes(t) && r.clearSelectedRow();
|
|
147
|
+
},
|
|
148
|
+
editClickCallback: (t, i) => {
|
|
149
|
+
Array.isArray(r.selectedRowKeys) && r.selectedRowKeys.includes(t) && i.stopPropagation();
|
|
150
|
+
}
|
|
151
|
+
}), D = _(!1);
|
|
152
|
+
function ke() {
|
|
153
|
+
return I(this, null, function* () {
|
|
154
|
+
try {
|
|
155
|
+
D.value = !0, yield me();
|
|
156
|
+
} finally {
|
|
157
|
+
setTimeout(() => D.value = !1, 1500);
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
const {
|
|
162
|
+
columns: ve,
|
|
163
|
+
actionColumn: Se,
|
|
164
|
+
selectedKeys: S,
|
|
165
|
+
rowSelection: we,
|
|
166
|
+
enableScrollBar: Re,
|
|
167
|
+
tableScroll: Te,
|
|
168
|
+
downloadRowFile: Ie,
|
|
169
|
+
getImgView: Me,
|
|
170
|
+
getPcaText: $,
|
|
171
|
+
getFormatDate: Le,
|
|
172
|
+
handleColumnResult: Ee,
|
|
173
|
+
hrefComponent: T,
|
|
174
|
+
viewOnlineCellImage: Oe,
|
|
175
|
+
hrefMainTableId: Be,
|
|
176
|
+
registerOnlineHrefModal: xe,
|
|
177
|
+
registerPopModal: De,
|
|
178
|
+
openPopModal: Pe,
|
|
179
|
+
onlinePopModalRef: Ae,
|
|
180
|
+
popTableId: N,
|
|
181
|
+
handleClickFieldHref: Fe
|
|
182
|
+
} = co(r, J);
|
|
183
|
+
j(
|
|
184
|
+
S,
|
|
185
|
+
(t) => {
|
|
186
|
+
var i;
|
|
187
|
+
(i = S.value) != null && i.length ? h.value = Q.value.find((s) => s.id === S.value[0]) : h.value = null;
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
immediate: !0
|
|
191
|
+
}
|
|
192
|
+
), j(
|
|
193
|
+
a,
|
|
194
|
+
() => {
|
|
195
|
+
He();
|
|
196
|
+
},
|
|
197
|
+
{ immediate: !0 }
|
|
198
|
+
);
|
|
199
|
+
function He() {
|
|
200
|
+
return I(this, null, function* () {
|
|
201
|
+
O.value = !0;
|
|
202
|
+
let t = yield Y(U);
|
|
203
|
+
Ke(t.main), b.value = t.subList, yield ee(), O.value = !1, r.execButtonEnhance("setup");
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
function Ke(t) {
|
|
207
|
+
let i = re(t.enhanceJs);
|
|
208
|
+
r.EnhanceJS = i, be(t.cgButtonList), he(t.hideColumns), Ee(t, "radio"), X(t), C.value = {
|
|
209
|
+
cacheKey: `online_erp_mainTable_${t.currentTableName}`
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function Qe(t) {
|
|
213
|
+
r.queryParam = t, y({ mode: "search" });
|
|
214
|
+
}
|
|
215
|
+
function Je() {
|
|
216
|
+
return I(this, arguments, function* (t = {}) {
|
|
217
|
+
yield po(B);
|
|
218
|
+
const i = _o(t), { properties: s = {} } = i;
|
|
219
|
+
Object.entries(s).forEach(([P, A]) => {
|
|
220
|
+
A.view == "table" && delete s[P];
|
|
221
|
+
}), B.value.init(i);
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
function $e(t) {
|
|
225
|
+
N.value = t.id;
|
|
226
|
+
let i = {
|
|
227
|
+
title: t.describe
|
|
228
|
+
};
|
|
229
|
+
t.record && t.record.id && (i.record = t.record, i.isUpdate = !0), Pe(!0, i);
|
|
230
|
+
}
|
|
231
|
+
fo($e);
|
|
232
|
+
const Ne = (t, i) => {
|
|
233
|
+
te(t, i), S.value = [];
|
|
234
|
+
};
|
|
235
|
+
return (t, i) => {
|
|
236
|
+
var z;
|
|
237
|
+
const s = M("a-button"), P = M("a-tab-pane"), A = M("a-tabs"), ze = M("a-modal");
|
|
238
|
+
return n(), d("div", bo, [
|
|
239
|
+
F("div", ho, [
|
|
240
|
+
p(mo, {
|
|
241
|
+
ref_key: "onlineQueryFormOuter",
|
|
242
|
+
ref: G,
|
|
243
|
+
id: e(a),
|
|
244
|
+
onSearch: Qe,
|
|
245
|
+
onLoaded: Je
|
|
246
|
+
}, null, 8, ["id"]),
|
|
247
|
+
e(le) ? m("", !0) : (n(), u(e(eo), {
|
|
248
|
+
key: 0,
|
|
249
|
+
ref: "onlineTable",
|
|
250
|
+
rowKey: "jeecg_row_key",
|
|
251
|
+
canResize: !0,
|
|
252
|
+
bordered: !0,
|
|
253
|
+
showIndexColumn: !1,
|
|
254
|
+
loading: e(O),
|
|
255
|
+
columns: e(ve),
|
|
256
|
+
dataSource: e(Q),
|
|
257
|
+
pagination: e(W),
|
|
258
|
+
rowSelection: e(we),
|
|
259
|
+
actionColumn: e(Se),
|
|
260
|
+
showTableSetting: !0,
|
|
261
|
+
clickToRowSelect: !0,
|
|
262
|
+
scroll: e(Te),
|
|
263
|
+
onTableRedo: e(y),
|
|
264
|
+
tableSetting: C.value,
|
|
265
|
+
class: Ve({ "j-table-force-nowrap": e(Re) }),
|
|
266
|
+
onChange: e(Z)
|
|
267
|
+
}, {
|
|
268
|
+
tableTitle: l(() => [
|
|
269
|
+
e(v).add ? (n(), u(s, {
|
|
270
|
+
key: 0,
|
|
271
|
+
preIcon: "ant-design:plus-outlined",
|
|
272
|
+
type: "primary",
|
|
273
|
+
onClick: e(ce)
|
|
274
|
+
}, {
|
|
275
|
+
default: l(() => [
|
|
276
|
+
f("新增")
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}, 8, ["onClick"])) : m("", !0),
|
|
280
|
+
e(v).import ? (n(), u(s, {
|
|
281
|
+
key: 1,
|
|
282
|
+
preIcon: "ant-design:import-outlined",
|
|
283
|
+
type: "primary",
|
|
284
|
+
onClick: e(de)
|
|
285
|
+
}, {
|
|
286
|
+
default: l(() => [
|
|
287
|
+
f("导入")
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
}, 8, ["onClick"])) : m("", !0),
|
|
291
|
+
e(v).export ? (n(), u(s, {
|
|
292
|
+
key: 2,
|
|
293
|
+
preIcon: "ant-design:export-outlined",
|
|
294
|
+
type: "primary",
|
|
295
|
+
loading: D.value,
|
|
296
|
+
onClick: ke
|
|
297
|
+
}, {
|
|
298
|
+
default: l(() => [
|
|
299
|
+
f(" 导出")
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}, 8, ["loading"])) : m("", !0),
|
|
303
|
+
e(x) && e(x).length > 0 ? (n(!0), d(H, { key: 3 }, V(e(x), (o, c) => (n(), d(H, null, [
|
|
304
|
+
o.optType == "js" ? (n(), u(s, {
|
|
305
|
+
key: "cgbtn" + c,
|
|
306
|
+
onClick: (w) => e(ge)(o.buttonCode),
|
|
307
|
+
type: "primary",
|
|
308
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
309
|
+
}, {
|
|
310
|
+
default: l(() => [
|
|
311
|
+
f(L(o.buttonName), 1)
|
|
312
|
+
]),
|
|
313
|
+
_: 2
|
|
314
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), u(s, {
|
|
315
|
+
key: "cgbtn" + c,
|
|
316
|
+
onClick: (w) => e(fe)(o.buttonCode),
|
|
317
|
+
type: "primary",
|
|
318
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
319
|
+
}, {
|
|
320
|
+
default: l(() => [
|
|
321
|
+
f(L(o.buttonName), 1)
|
|
322
|
+
]),
|
|
323
|
+
_: 2
|
|
324
|
+
}, 1032, ["onClick", "preIcon"])) : m("", !0)
|
|
325
|
+
], 64))), 256)) : m("", !0),
|
|
326
|
+
e(v).batch_delete ? qe((n(), u(s, {
|
|
327
|
+
key: 4,
|
|
328
|
+
preIcon: "ant-design:delete-outlined",
|
|
329
|
+
onClick: e(ue)
|
|
330
|
+
}, {
|
|
331
|
+
default: l(() => [
|
|
332
|
+
f(" 批量删除")
|
|
333
|
+
]),
|
|
334
|
+
_: 1
|
|
335
|
+
}, 8, ["onClick"])), [
|
|
336
|
+
[Ue, e(S).length > 0]
|
|
337
|
+
]) : m("", !0),
|
|
338
|
+
e(v).super_query ? (n(), u(go, {
|
|
339
|
+
key: 5,
|
|
340
|
+
ref_key: "superQueryButtonRef",
|
|
341
|
+
ref: B,
|
|
342
|
+
online: "",
|
|
343
|
+
status: e(oe),
|
|
344
|
+
onSearch: Ne
|
|
345
|
+
}, null, 8, ["status"])) : m("", !0)
|
|
346
|
+
]),
|
|
347
|
+
fileSlot: l(({ text: o, record: c, column: w }) => [
|
|
348
|
+
o ? (n(), u(s, {
|
|
349
|
+
key: 1,
|
|
350
|
+
ghost: !0,
|
|
351
|
+
type: "primary",
|
|
352
|
+
preIcon: "ant-design:download",
|
|
353
|
+
size: "small",
|
|
354
|
+
onClick: (je) => e(Ie)(o, c, w, e(a))
|
|
355
|
+
}, {
|
|
356
|
+
default: l(() => [
|
|
357
|
+
f(" 下载 ")
|
|
358
|
+
]),
|
|
359
|
+
_: 2
|
|
360
|
+
}, 1032, ["onClick"])) : (n(), d("span", Co, "无文件"))
|
|
361
|
+
]),
|
|
362
|
+
imgSlot: l(({ text: o }) => [
|
|
363
|
+
o ? (n(), d("img", {
|
|
364
|
+
key: 1,
|
|
365
|
+
src: e(Me)(o),
|
|
366
|
+
alt: "图片不存在",
|
|
367
|
+
class: "online-cell-image",
|
|
368
|
+
onClick: (c) => e(Oe)(o)
|
|
369
|
+
}, null, 8, vo)) : (n(), d("span", ko, "无图片"))
|
|
370
|
+
]),
|
|
371
|
+
htmlSlot: l(({ text: o, column: c, record: w }) => [
|
|
372
|
+
c.fieldHref ? (n(), d("a", {
|
|
373
|
+
key: 0,
|
|
374
|
+
innerHTML: o,
|
|
375
|
+
onClick: (je) => e(Fe)(c.fieldHref, w)
|
|
376
|
+
}, null, 8, So)) : (n(), d("div", {
|
|
377
|
+
key: 1,
|
|
378
|
+
innerHTML: o
|
|
379
|
+
}, null, 8, wo))
|
|
380
|
+
]),
|
|
381
|
+
pcaSlot: l(({ text: o }) => [
|
|
382
|
+
F("div", {
|
|
383
|
+
title: e($)(o)
|
|
384
|
+
}, L(e($)(o)), 9, Ro)
|
|
385
|
+
]),
|
|
386
|
+
dateSlot: l(({ text: o, column: c }) => [
|
|
387
|
+
F("span", null, L(e(Le)(o, c)), 1)
|
|
388
|
+
]),
|
|
389
|
+
action: l(({ record: o }) => [
|
|
390
|
+
p(e(oo), {
|
|
391
|
+
actions: e(_e)(o),
|
|
392
|
+
dropDownActions: e(ye)(o)
|
|
393
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
394
|
+
]),
|
|
395
|
+
_: 1
|
|
396
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "tableSetting", "class", "onChange"])),
|
|
397
|
+
(z = b.value) != null && z.length ? (n(), u(A, {
|
|
398
|
+
key: 1,
|
|
399
|
+
animated: "",
|
|
400
|
+
activeKey: g.value,
|
|
401
|
+
"onUpdate:activeKey": i[0] || (i[0] = (o) => g.value = o),
|
|
402
|
+
style: { margin: "10px" }
|
|
403
|
+
}, {
|
|
404
|
+
default: l(() => [
|
|
405
|
+
(n(!0), d(H, null, V(b.value, (o, c) => (n(), u(P, {
|
|
406
|
+
tab: o.description,
|
|
407
|
+
key: c,
|
|
408
|
+
forceRender: ""
|
|
409
|
+
}, {
|
|
410
|
+
default: l(() => [
|
|
411
|
+
p(yo, {
|
|
412
|
+
data: o,
|
|
413
|
+
mainTableSelectedRowRcord: h.value,
|
|
414
|
+
onGetSource: k
|
|
415
|
+
}, null, 8, ["data", "mainTableSelectedRowRcord"])
|
|
416
|
+
]),
|
|
417
|
+
_: 2
|
|
418
|
+
}, 1032, ["tab"]))), 128))
|
|
419
|
+
]),
|
|
420
|
+
_: 1
|
|
421
|
+
}, 8, ["activeKey"])) : m("", !0),
|
|
422
|
+
p(no, {
|
|
423
|
+
id: e(a),
|
|
424
|
+
subTableSource: R.value,
|
|
425
|
+
onRegister: e(se),
|
|
426
|
+
onSuccess: e(y),
|
|
427
|
+
onFormConfig: e(ne)
|
|
428
|
+
}, null, 8, ["id", "subTableSource", "onRegister", "onSuccess", "onFormConfig"]),
|
|
429
|
+
p(q, {
|
|
430
|
+
id: e(a),
|
|
431
|
+
onRegister: e(Ce)
|
|
432
|
+
}, null, 8, ["id", "onRegister"]),
|
|
433
|
+
p(lo, {
|
|
434
|
+
onRegister: e(pe),
|
|
435
|
+
url: e(ae)(),
|
|
436
|
+
onOk: e(y),
|
|
437
|
+
online: ""
|
|
438
|
+
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
439
|
+
p(ze, Ge(e(T).model, We(e(T).on)), {
|
|
440
|
+
default: l(() => [
|
|
441
|
+
(n(), u(Xe(e(T).is), Ye(Ze(e(T).params)), null, 16))
|
|
442
|
+
]),
|
|
443
|
+
_: 1
|
|
444
|
+
}, 16),
|
|
445
|
+
p(io, {
|
|
446
|
+
onRegister: e(ie),
|
|
447
|
+
onSuccess: e(y)
|
|
448
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
449
|
+
p(q, {
|
|
450
|
+
id: e(Be),
|
|
451
|
+
onRegister: e(xe),
|
|
452
|
+
defaultFullscreen: !1
|
|
453
|
+
}, null, 8, ["id", "onRegister"]),
|
|
454
|
+
p(uo, {
|
|
455
|
+
ref_key: "onlinePopModalRef",
|
|
456
|
+
ref: Ae,
|
|
457
|
+
id: e(N),
|
|
458
|
+
onRegister: e(De),
|
|
459
|
+
onSuccess: e(y),
|
|
460
|
+
request: "",
|
|
461
|
+
topTip: ""
|
|
462
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
463
|
+
])
|
|
464
|
+
]);
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
export {
|
|
469
|
+
Gt as default
|
|
470
|
+
};
|