@jeecg/online 3.7.0-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-fe3988fb.mjs → AiModal-6de335e3.mjs} +1 -1
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-589395ed.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-5c3a8e6b.mjs} +11 -10
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-b7cd091e.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-76f15e8d.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-f5d2e87f.mjs} +12 -11
- package/{CgformCopyList-8077ccc6.mjs → CgformCopyList-365b3e8f.mjs} +43 -42
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-edefa8e3.mjs} +15 -14
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-1bc8322d.mjs} +36 -33
- package/{CodeFileListModal-0e26b7e0.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/{CodeFileViewModal-9d4a5b5f.mjs → CodeFileViewModal-2fe911f4.mjs} +89 -84
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/{CustomButtonList-37639061.mjs → CustomButtonList-f07bc695.mjs} +108 -92
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-285d40db.mjs} +79 -71
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-deecbf3d.mjs} +50 -49
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-45c66cd5.mjs} +2 -2
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-fab3102e.mjs} +1 -1
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-175357a1.mjs} +119 -103
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-7ea1b300.mjs} +2 -2
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-a89ae052.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-32135634.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-7f7e28a7.mjs} +2 -2
- package/{IndexTable-1b496559.mjs → IndexTable-cdcc2b48.mjs} +27 -19
- package/{JModalTip-4a83aaed.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-7d8c5acc.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-b4d1372a.mjs → LeftUser-22baa378.mjs} +1 -1
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-9242d750.mjs} +1 -1
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/{OnlCgformErpList-30e416c8.mjs → OnlCgformErpList-58acdfa0.mjs} +121 -121
- package/{OnlCgformErpSubTable-9a876058.mjs → OnlCgformErpSubTable-9b1e1938.mjs} +149 -150
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6c23781f.mjs} +96 -97
- package/{OnlCgformInnerTableList-f89b6687.mjs → OnlCgformInnerTableList-4b5e14ed.mjs} +156 -156
- package/{OnlCgformTabList-7a2f2c03.mjs → OnlCgformTabList-019ad753.mjs} +138 -138
- package/{OnlineAutoList-46c6c8b9.mjs → OnlineAutoList-48589d09.mjs} +90 -90
- package/{OnlineAutoModal-971bef13.mjs → OnlineAutoModal-c2928847.mjs} +64 -61
- package/{OnlineAutoTreeList-3b92454c.mjs → OnlineAutoTreeList-3baa1d00.mjs} +20 -19
- package/{OnlineCustomModal-594244f3.mjs → OnlineCustomModal-9e17b6ce.mjs} +8 -8
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-d5895734.mjs} +8 -8
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-022ca117.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-9715d70a.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-8f864b1a.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-ac985b36.mjs} +10 -10
- package/{OnlineFormUrlSuccess-af285b02.mjs → OnlineFormUrlSuccess-3dfc54ab.mjs} +1 -1
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-58e896ce.mjs} +7 -7
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-47b18ad6.mjs} +7 -7
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-82de1465.mjs} +8 -8
- package/{OnlineTabForm-9ad7d29a.mjs → OnlineTabForm-27655c83.mjs} +236 -224
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-8d0c40c0.mjs} +7 -7
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-25e3b7da.mjs} +156 -136
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-148632fe.mjs} +61 -55
- package/{QueryTable-96b3dbd0.mjs → QueryTable-f7bfca7f.mjs} +39 -36
- package/{SetSwitchOptions-a452fa0f.mjs → SetSwitchOptions-b2af757f.mjs} +1 -1
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-511e5197.mjs} +62 -28
- package/{enhance.data-3304d553.mjs → enhance.data-a67572e1.mjs} +8 -7
- package/index-1d1a6e56.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-30e0e923.mjs} +48 -47
- package/{index-581bef24.mjs → index-f30613d1.mjs} +2 -2
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{useCgformList-8755a94e.mjs → useCgformList-f41d4dc1.mjs} +1 -1
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/{useListButton-7ddb9a46.mjs → useListButton-bfac4ecf.mjs} +45 -45
- package/{useSchemas-47e45edc.mjs → useSchemas-a9c75b0f.mjs} +55 -46
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useTableSync-f6089e8a.mjs +0 -87
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var S = (
|
|
1
|
+
var M = (e, C, l) => new Promise((T, g) => {
|
|
2
|
+
var S = (s) => {
|
|
3
3
|
try {
|
|
4
|
-
r(l.next(
|
|
4
|
+
r(l.next(s));
|
|
5
5
|
} catch (f) {
|
|
6
6
|
g(f);
|
|
7
7
|
}
|
|
8
|
-
}, k = (
|
|
8
|
+
}, k = (s) => {
|
|
9
9
|
try {
|
|
10
|
-
r(l.throw(
|
|
10
|
+
r(l.throw(s));
|
|
11
11
|
} catch (f) {
|
|
12
12
|
g(f);
|
|
13
13
|
}
|
|
14
|
-
}, r = (
|
|
14
|
+
}, r = (s) => s.done ? T(s.value) : Promise.resolve(s.value).then(S, k);
|
|
15
15
|
r((l = l.apply(e, C)).next());
|
|
16
16
|
});
|
|
17
|
-
import { ref as ve, watch as De, resolveComponent as
|
|
17
|
+
import { ref as ve, watch as De, resolveComponent as u, openBlock as n, createElementBlock as m, normalizeClass as P, createVNode as d, createBlock as p, withCtx as i, createTextVNode as y, createCommentVNode as c, Fragment as Q, renderList as Ee, toDisplayString as B, withDirectives as Fe, vShow as Oe, createElementVNode as _, mergeProps as Ae, toHandlers as He, resolveDynamicComponent as Pe, normalizeProps as Qe, guardReactiveProps as _e } from "vue";
|
|
18
18
|
import { BasicTable as $e, TableAction as Je } from "/@/components/Table";
|
|
19
19
|
import { useMessage as qe } from "/@/hooks/web/useMessage";
|
|
20
|
-
import Ne from "./OnlineAutoModal-
|
|
21
|
-
import ze from "./OnlineCustomModal-
|
|
22
|
-
import Ve from "./OnlineDetailModal-
|
|
20
|
+
import Ne from "./OnlineAutoModal-c2928847.mjs";
|
|
21
|
+
import ze from "./OnlineCustomModal-9e17b6ce.mjs";
|
|
22
|
+
import Ve from "./OnlineDetailModal-d5895734.mjs";
|
|
23
23
|
import je from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as Ke, a as Ue } from "./useListButton-
|
|
25
|
-
import { O as
|
|
26
|
-
import Ze from "./OnlineQueryForm-
|
|
27
|
-
import xe from "./SuperQuery-
|
|
24
|
+
import { u as Ke, a as Ue } from "./useListButton-bfac4ecf.mjs";
|
|
25
|
+
import { O as We, u as Ge, a as Xe, g as Ye } from "./useExtendComponent-dcae5c78.mjs";
|
|
26
|
+
import Ze from "./OnlineQueryForm-eedb9a60.mjs";
|
|
27
|
+
import xe from "./SuperQuery-a8592995.mjs";
|
|
28
28
|
import { u as eo } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
29
|
import { N as oo } from "./constant-fa63bd66.mjs";
|
|
30
|
-
import { _ as no } from "./index-
|
|
30
|
+
import { _ as no } from "./index-1d1a6e56.mjs";
|
|
31
31
|
import "/@/components/Modal";
|
|
32
|
-
import "./OnlineForm-
|
|
32
|
+
import "./OnlineForm-9f1153ba.mjs";
|
|
33
33
|
import "/@/components/Form/index";
|
|
34
34
|
import "/@/utils/http/axios";
|
|
35
35
|
import "lodash-es";
|
|
@@ -46,10 +46,11 @@ import "/@/utils/common/compUtils";
|
|
|
46
46
|
import "/@/store/modules/user";
|
|
47
47
|
import "/@/hooks/web/useAppInject";
|
|
48
48
|
import "/@/utils/is";
|
|
49
|
-
import "
|
|
49
|
+
import "/@/store/modules/permission";
|
|
50
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
|
|
50
51
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
51
|
-
import "./OnlineFormDetail-
|
|
52
|
-
import "./DetailForm-
|
|
52
|
+
import "./OnlineFormDetail-022ca117.mjs";
|
|
53
|
+
import "./DetailForm-deecbf3d.mjs";
|
|
53
54
|
import "/@/utils/propTypes";
|
|
54
55
|
import "/@/utils/dict";
|
|
55
56
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -58,7 +59,7 @@ import "/@/api/common/api";
|
|
|
58
59
|
import "/@/components/Form/src/utils/Area";
|
|
59
60
|
import "/@/components/Preview/index";
|
|
60
61
|
import "/@/components/Markdown";
|
|
61
|
-
import "./OnlineSubFormDetail-
|
|
62
|
+
import "./OnlineSubFormDetail-58e896ce.mjs";
|
|
62
63
|
import "vue-router";
|
|
63
64
|
import "/@/router";
|
|
64
65
|
import "/@/hooks/core/onMountedOrActivated";
|
|
@@ -72,15 +73,15 @@ import "/@/components/Form/src/componentMap";
|
|
|
72
73
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
73
74
|
import "/@/views/system/user/user.api";
|
|
74
75
|
import "/@/utils/desform/customExpression";
|
|
75
|
-
import "/@/store/modules/permission";
|
|
76
76
|
import "/@/hooks/system/useListPage";
|
|
77
|
-
import "./LinkTableListPiece-
|
|
77
|
+
import "./LinkTableListPiece-f3a8e0d7.mjs";
|
|
78
78
|
import "/@/assets/images/placeholderImage.png";
|
|
79
|
-
import "./OnlineSelectCascade-
|
|
80
|
-
import "./JModalTip-
|
|
79
|
+
import "./OnlineSelectCascade-05c40fef.mjs";
|
|
80
|
+
import "./JModalTip-b055ab60.mjs";
|
|
81
81
|
import "@vueuse/core";
|
|
82
82
|
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
83
83
|
import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
|
|
84
|
+
import "/@/utils/index";
|
|
84
85
|
import "/@/hooks/web/useDesign";
|
|
85
86
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
86
87
|
const to = {
|
|
@@ -94,18 +95,18 @@ const to = {
|
|
|
94
95
|
OnlineSuperQuery: xe,
|
|
95
96
|
OnlineCustomModal: ze,
|
|
96
97
|
OnlineDetailModal: Ve,
|
|
97
|
-
OnlinePopModal:
|
|
98
|
+
OnlinePopModal: We
|
|
98
99
|
},
|
|
99
100
|
setup() {
|
|
100
101
|
const { createMessage: e } = qe(), {
|
|
101
102
|
ID: C,
|
|
102
103
|
onlineTableContext: l,
|
|
103
|
-
onlineQueryFormOuter:
|
|
104
|
+
onlineQueryFormOuter: T,
|
|
104
105
|
loading: g,
|
|
105
106
|
reload: S,
|
|
106
107
|
dataSource: k,
|
|
107
108
|
pagination: r,
|
|
108
|
-
handleSpecialConfig:
|
|
109
|
+
handleSpecialConfig: s,
|
|
109
110
|
getColumnList: f,
|
|
110
111
|
handleChangeInTable: R,
|
|
111
112
|
loadData: L,
|
|
@@ -114,15 +115,15 @@ const to = {
|
|
|
114
115
|
handleSuperQuery: D,
|
|
115
116
|
onlineExtConfigJson: w,
|
|
116
117
|
handleFormConfig: E,
|
|
117
|
-
registerCustomModal:
|
|
118
|
-
tableReloading:
|
|
118
|
+
registerCustomModal: o,
|
|
119
|
+
tableReloading: a
|
|
119
120
|
} = Ke();
|
|
120
121
|
if (!C.value)
|
|
121
122
|
throw e.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
122
|
-
let { initCgEnhanceJs:
|
|
123
|
+
let { initCgEnhanceJs: h } = Ge(l);
|
|
123
124
|
const {
|
|
124
|
-
buttonSwitch:
|
|
125
|
-
cgLinkButtonList:
|
|
125
|
+
buttonSwitch: F,
|
|
126
|
+
cgLinkButtonList: $,
|
|
126
127
|
cgTopButtonList: J,
|
|
127
128
|
importUrl: q,
|
|
128
129
|
registerModal: N,
|
|
@@ -131,9 +132,9 @@ const to = {
|
|
|
131
132
|
handleBatchDelete: j,
|
|
132
133
|
registerImportModal: K,
|
|
133
134
|
onImportExcel: U,
|
|
134
|
-
onExportExcel:
|
|
135
|
-
cgButtonJsHandler:
|
|
136
|
-
cgButtonActionHandler:
|
|
135
|
+
onExportExcel: A,
|
|
136
|
+
cgButtonJsHandler: W,
|
|
137
|
+
cgButtonActionHandler: G,
|
|
137
138
|
cgButtonLinkHandler: X,
|
|
138
139
|
handleSubmitFlow: Y,
|
|
139
140
|
getDropDownActions: Z,
|
|
@@ -142,13 +143,13 @@ const to = {
|
|
|
142
143
|
initButtonSwitch: oe,
|
|
143
144
|
registerDetailModal: ne,
|
|
144
145
|
registerBpmModal: te
|
|
145
|
-
} = Ue(l, w),
|
|
146
|
+
} = Ue(l, w), O = ve(!1);
|
|
146
147
|
function ie() {
|
|
147
|
-
return
|
|
148
|
+
return M(this, null, function* () {
|
|
148
149
|
try {
|
|
149
|
-
|
|
150
|
+
O.value = !0, yield A();
|
|
150
151
|
} finally {
|
|
151
|
-
setTimeout(() =>
|
|
152
|
+
setTimeout(() => O.value = !1, 1500);
|
|
152
153
|
}
|
|
153
154
|
});
|
|
154
155
|
}
|
|
@@ -171,37 +172,37 @@ const to = {
|
|
|
171
172
|
registerPopModal: Se,
|
|
172
173
|
openPopModal: ke,
|
|
173
174
|
onlinePopModalRef: we,
|
|
174
|
-
popTableId:
|
|
175
|
+
popTableId: H,
|
|
175
176
|
handleClickFieldHref: Ie
|
|
176
177
|
} = Xe(l, w);
|
|
177
178
|
De(
|
|
178
179
|
C,
|
|
179
180
|
() => {
|
|
180
|
-
|
|
181
|
+
Te();
|
|
181
182
|
},
|
|
182
183
|
{ immediate: !0 }
|
|
183
184
|
);
|
|
184
|
-
function
|
|
185
|
-
return
|
|
185
|
+
function Te() {
|
|
186
|
+
return M(this, null, function* () {
|
|
186
187
|
g.value = !0;
|
|
187
188
|
let t = yield f(oo);
|
|
188
|
-
|
|
189
|
+
Me(t), yield L(), g.value = !1, l.execButtonEnhance("setup");
|
|
189
190
|
});
|
|
190
191
|
}
|
|
191
|
-
function
|
|
192
|
-
let I =
|
|
193
|
-
l.EnhanceJS = I, ee(t.cgButtonList), oe(t.hideColumns), fe(t),
|
|
192
|
+
function Me(t) {
|
|
193
|
+
let I = h(t.enhanceJs);
|
|
194
|
+
l.EnhanceJS = I, ee(t.cgButtonList), oe(t.hideColumns), fe(t), s(t);
|
|
194
195
|
}
|
|
195
196
|
function Be(t) {
|
|
196
197
|
l.queryParam = t, S({ mode: "search" });
|
|
197
198
|
}
|
|
198
199
|
function Re(t) {
|
|
199
|
-
return
|
|
200
|
+
return M(this, null, function* () {
|
|
200
201
|
yield Ye(b), b.value.init(t);
|
|
201
202
|
});
|
|
202
203
|
}
|
|
203
204
|
function Le(t) {
|
|
204
|
-
|
|
205
|
+
H.value = t.id;
|
|
205
206
|
let I = {
|
|
206
207
|
title: t.describe
|
|
207
208
|
};
|
|
@@ -210,7 +211,7 @@ const to = {
|
|
|
210
211
|
return eo(Le), {
|
|
211
212
|
ID: C,
|
|
212
213
|
// 查询区域
|
|
213
|
-
onlineQueryFormOuter:
|
|
214
|
+
onlineQueryFormOuter: T,
|
|
214
215
|
queryWithCondition: Be,
|
|
215
216
|
onQueryFormLoaded: Re,
|
|
216
217
|
reload: S,
|
|
@@ -230,17 +231,17 @@ const to = {
|
|
|
230
231
|
enableScrollBar: ue,
|
|
231
232
|
handleChangeInTable: R,
|
|
232
233
|
//按钮
|
|
233
|
-
buttonSwitch:
|
|
234
|
+
buttonSwitch: F,
|
|
234
235
|
handleAdd: z,
|
|
235
236
|
handleEdit: V,
|
|
236
237
|
onImportExcel: U,
|
|
237
|
-
onExportExcel:
|
|
238
|
-
exportLoading:
|
|
238
|
+
onExportExcel: A,
|
|
239
|
+
exportLoading: O,
|
|
239
240
|
onExportExcelOverride: ie,
|
|
240
241
|
cgTopButtonList: J,
|
|
241
|
-
cgLinkButtonList:
|
|
242
|
-
cgButtonJsHandler:
|
|
243
|
-
cgButtonActionHandler:
|
|
242
|
+
cgLinkButtonList: $,
|
|
243
|
+
cgButtonJsHandler: W,
|
|
244
|
+
cgButtonActionHandler: G,
|
|
244
245
|
cgButtonLinkHandler: X,
|
|
245
246
|
handleBatchDelete: j,
|
|
246
247
|
// table-slot
|
|
@@ -253,14 +254,14 @@ const to = {
|
|
|
253
254
|
getDropDownActions: Z,
|
|
254
255
|
// 弹窗
|
|
255
256
|
registerModal: N,
|
|
256
|
-
registerCustomModal:
|
|
257
|
+
registerCustomModal: o,
|
|
257
258
|
registerImportModal: K,
|
|
258
259
|
registerDetailModal: ne,
|
|
259
260
|
importUrl: q,
|
|
260
261
|
handleFormConfig: E,
|
|
261
262
|
onlinePopModalRef: we,
|
|
262
263
|
//其他
|
|
263
|
-
tableReloading:
|
|
264
|
+
tableReloading: a,
|
|
264
265
|
handleSubmitFlow: Y,
|
|
265
266
|
hrefComponent: he,
|
|
266
267
|
viewOnlineCellImage: ye,
|
|
@@ -268,7 +269,7 @@ const to = {
|
|
|
268
269
|
onlineExtConfigJson: w,
|
|
269
270
|
registerOnlineHrefModal: be,
|
|
270
271
|
registerPopModal: Se,
|
|
271
|
-
popTableId:
|
|
272
|
+
popTableId: H,
|
|
272
273
|
registerBpmModal: te,
|
|
273
274
|
handleClickFieldHref: Ie
|
|
274
275
|
};
|
|
@@ -286,18 +287,18 @@ const io = {
|
|
|
286
287
|
key: 0,
|
|
287
288
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
288
289
|
}, lo = ["src", "onClick"], ao = ["innerHTML", "onClick"], so = ["innerHTML"], uo = ["title"];
|
|
289
|
-
function po(e, C, l,
|
|
290
|
-
const k =
|
|
290
|
+
function po(e, C, l, T, g, S) {
|
|
291
|
+
const k = u("online-query-form"), r = u("a-button"), s = u("online-super-query"), f = u("TableAction"), R = u("BasicTable"), L = u("OnlineAutoModal"), b = u("online-detail-modal"), v = u("JImportModal"), D = u("a-modal"), w = u("online-custom-modal"), E = u("online-pop-modal");
|
|
291
292
|
return n(), m("div", {
|
|
292
|
-
class:
|
|
293
|
+
class: P(["p-2", `online-list-${e.ID}`])
|
|
293
294
|
}, [
|
|
294
|
-
|
|
295
|
+
d(k, {
|
|
295
296
|
ref: "onlineQueryFormOuter",
|
|
296
297
|
id: e.ID,
|
|
297
298
|
onSearch: e.queryWithCondition,
|
|
298
299
|
onLoaded: e.onQueryFormLoaded
|
|
299
300
|
}, null, 8, ["id", "onSearch", "onLoaded"]),
|
|
300
|
-
e.tableReloading ? c("", !0) : (n(),
|
|
301
|
+
e.tableReloading ? c("", !0) : (n(), p(R, {
|
|
301
302
|
key: 0,
|
|
302
303
|
ref: "onlineTable",
|
|
303
304
|
rowKey: "jeecg_row_key",
|
|
@@ -314,11 +315,11 @@ function po(e, C, l, M, g, S) {
|
|
|
314
315
|
clickToRowSelect: !1,
|
|
315
316
|
scroll: e.tableScroll,
|
|
316
317
|
onTableRedo: e.reload,
|
|
317
|
-
class:
|
|
318
|
+
class: P({ "j-table-force-nowrap": e.enableScrollBar }),
|
|
318
319
|
onChange: e.handleChangeInTable
|
|
319
320
|
}, {
|
|
320
321
|
tableTitle: i(() => [
|
|
321
|
-
e.buttonSwitch.add ? (n(),
|
|
322
|
+
e.buttonSwitch.add ? (n(), p(r, {
|
|
322
323
|
key: 0,
|
|
323
324
|
preIcon: "ant-design:plus-outlined",
|
|
324
325
|
type: "primary",
|
|
@@ -329,7 +330,7 @@ function po(e, C, l, M, g, S) {
|
|
|
329
330
|
]),
|
|
330
331
|
_: 1
|
|
331
332
|
}, 8, ["onClick"])) : c("", !0),
|
|
332
|
-
e.buttonSwitch.import ? (n(),
|
|
333
|
+
e.buttonSwitch.import ? (n(), p(r, {
|
|
333
334
|
key: 1,
|
|
334
335
|
preIcon: "ant-design:import-outlined",
|
|
335
336
|
type: "primary",
|
|
@@ -340,7 +341,7 @@ function po(e, C, l, M, g, S) {
|
|
|
340
341
|
]),
|
|
341
342
|
_: 1
|
|
342
343
|
}, 8, ["onClick"])) : c("", !0),
|
|
343
|
-
e.buttonSwitch.export ? (n(),
|
|
344
|
+
e.buttonSwitch.export ? (n(), p(r, {
|
|
344
345
|
key: 2,
|
|
345
346
|
preIcon: "ant-design:export-outlined",
|
|
346
347
|
type: "primary",
|
|
@@ -353,7 +354,7 @@ function po(e, C, l, M, g, S) {
|
|
|
353
354
|
_: 1
|
|
354
355
|
}, 8, ["loading", "onClick"])) : c("", !0),
|
|
355
356
|
e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (n(!0), m(Q, { key: 3 }, Ee(e.cgTopButtonList, (o, a) => (n(), m(Q, null, [
|
|
356
|
-
o.optType == "js" ? (n(),
|
|
357
|
+
o.optType == "js" ? (n(), p(r, {
|
|
357
358
|
key: "cgbtn" + a,
|
|
358
359
|
onClick: (h) => e.cgButtonJsHandler(o.buttonCode),
|
|
359
360
|
type: "primary",
|
|
@@ -363,7 +364,7 @@ function po(e, C, l, M, g, S) {
|
|
|
363
364
|
y(B(o.buttonName), 1)
|
|
364
365
|
]),
|
|
365
366
|
_: 2
|
|
366
|
-
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(),
|
|
367
|
+
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), p(r, {
|
|
367
368
|
key: "cgbtn" + a,
|
|
368
369
|
onClick: (h) => e.cgButtonActionHandler(o.buttonCode),
|
|
369
370
|
type: "primary",
|
|
@@ -375,7 +376,7 @@ function po(e, C, l, M, g, S) {
|
|
|
375
376
|
_: 2
|
|
376
377
|
}, 1032, ["onClick", "preIcon"])) : c("", !0)
|
|
377
378
|
], 64))), 256)) : c("", !0),
|
|
378
|
-
e.buttonSwitch.batch_delete ? Fe((n(),
|
|
379
|
+
e.buttonSwitch.batch_delete ? Fe((n(), p(r, {
|
|
379
380
|
key: 4,
|
|
380
381
|
preIcon: "ant-design:delete-outlined",
|
|
381
382
|
onClick: e.handleBatchDelete
|
|
@@ -387,7 +388,7 @@ function po(e, C, l, M, g, S) {
|
|
|
387
388
|
}, 8, ["onClick"])), [
|
|
388
389
|
[Oe, e.selectedKeys.length > 0]
|
|
389
390
|
]) : c("", !0),
|
|
390
|
-
e.buttonSwitch.super_query ? (n(),
|
|
391
|
+
e.buttonSwitch.super_query ? (n(), p(s, {
|
|
391
392
|
key: 5,
|
|
392
393
|
ref: "superQueryButtonRef",
|
|
393
394
|
online: "",
|
|
@@ -396,13 +397,13 @@ function po(e, C, l, M, g, S) {
|
|
|
396
397
|
}, null, 8, ["status", "onSearch"])) : c("", !0)
|
|
397
398
|
]),
|
|
398
399
|
fileSlot: i(({ text: o, record: a, column: h }) => [
|
|
399
|
-
o ? (n(),
|
|
400
|
+
o ? (n(), p(r, {
|
|
400
401
|
key: 1,
|
|
401
402
|
ghost: !0,
|
|
402
403
|
type: "primary",
|
|
403
404
|
preIcon: "ant-design:download",
|
|
404
405
|
size: "small",
|
|
405
|
-
onClick: (
|
|
406
|
+
onClick: (F) => e.downloadRowFile(o, a, h, e.ID)
|
|
406
407
|
}, {
|
|
407
408
|
default: i(() => [
|
|
408
409
|
y(" 下载 ")
|
|
@@ -423,71 +424,70 @@ function po(e, C, l, M, g, S) {
|
|
|
423
424
|
a.fieldHref ? (n(), m("a", {
|
|
424
425
|
key: 0,
|
|
425
426
|
innerHTML: o,
|
|
426
|
-
onClick: (
|
|
427
|
+
onClick: (F) => e.handleClickFieldHref(a.fieldHref, h)
|
|
427
428
|
}, null, 8, ao)) : (n(), m("div", {
|
|
428
429
|
key: 1,
|
|
429
430
|
innerHTML: o
|
|
430
431
|
}, null, 8, so))
|
|
431
432
|
]),
|
|
432
433
|
pcaSlot: i(({ text: o }) => [
|
|
433
|
-
|
|
434
|
+
_("div", {
|
|
434
435
|
title: e.getPcaText(o)
|
|
435
436
|
}, B(e.getPcaText(o)), 9, uo)
|
|
436
437
|
]),
|
|
437
438
|
dateSlot: i(({ text: o, column: a }) => [
|
|
438
|
-
|
|
439
|
+
_("span", null, B(e.getFormatDate(o, a)), 1)
|
|
439
440
|
]),
|
|
440
441
|
action: i(({ record: o }) => [
|
|
441
|
-
|
|
442
|
+
d(f, {
|
|
442
443
|
actions: e.getActions(o),
|
|
443
444
|
dropDownActions: e.getDropDownActions(o)
|
|
444
445
|
}, null, 8, ["actions", "dropDownActions"])
|
|
445
446
|
]),
|
|
446
447
|
_: 1
|
|
447
448
|
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
448
|
-
|
|
449
|
+
d(L, {
|
|
449
450
|
id: e.ID,
|
|
450
451
|
onRegister: e.registerModal,
|
|
451
452
|
onSuccess: e.reload,
|
|
452
453
|
onFormConfig: e.handleFormConfig
|
|
453
454
|
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
454
|
-
|
|
455
|
+
d(b, {
|
|
455
456
|
id: e.ID,
|
|
456
457
|
onRegister: e.registerDetailModal
|
|
457
458
|
}, null, 8, ["id", "onRegister"]),
|
|
458
|
-
|
|
459
|
+
d(v, {
|
|
459
460
|
onRegister: e.registerImportModal,
|
|
460
461
|
url: e.importUrl(),
|
|
461
462
|
onOk: e.reload,
|
|
462
463
|
online: ""
|
|
463
464
|
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
464
|
-
|
|
465
|
+
d(D, Ae(e.hrefComponent.model, He(e.hrefComponent.on)), {
|
|
465
466
|
default: i(() => [
|
|
466
|
-
(n(),
|
|
467
|
+
(n(), p(Pe(e.hrefComponent.is), Qe(_e(e.hrefComponent.params)), null, 16))
|
|
467
468
|
]),
|
|
468
469
|
_: 1
|
|
469
470
|
}, 16),
|
|
470
|
-
|
|
471
|
+
d(w, {
|
|
471
472
|
onRegister: e.registerCustomModal,
|
|
472
473
|
onSuccess: e.reload
|
|
473
474
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
474
|
-
|
|
475
|
+
d(b, {
|
|
475
476
|
id: e.hrefMainTableId,
|
|
476
477
|
onRegister: e.registerOnlineHrefModal,
|
|
477
478
|
defaultFullscreen: !1
|
|
478
479
|
}, null, 8, ["id", "onRegister"]),
|
|
479
|
-
|
|
480
|
+
d(E, {
|
|
480
481
|
ref: "onlinePopModalRef",
|
|
481
482
|
id: e.popTableId,
|
|
482
483
|
onRegister: e.registerPopModal,
|
|
483
484
|
onSuccess: e.reload,
|
|
484
485
|
request: "",
|
|
485
486
|
topTip: ""
|
|
486
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
487
|
-
p(F, { onRegister: e.registerBpmModal }, null, 8, ["onRegister"])
|
|
487
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
488
488
|
], 2);
|
|
489
489
|
}
|
|
490
|
-
const
|
|
490
|
+
const En = /* @__PURE__ */ no(to, [["render", po]]);
|
|
491
491
|
export {
|
|
492
|
-
|
|
492
|
+
En as default
|
|
493
493
|
};
|