@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
|
@@ -5,32 +5,32 @@ var I = (K, b, g) => new Promise((h, C) => {
|
|
|
5
5
|
} catch (r) {
|
|
6
6
|
C(r);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, R = (a) => {
|
|
9
9
|
try {
|
|
10
10
|
k(g.throw(a));
|
|
11
11
|
} catch (r) {
|
|
12
12
|
C(r);
|
|
13
13
|
}
|
|
14
|
-
}, k = (a) => a.done ? h(a.value) : Promise.resolve(a.value).then(E,
|
|
14
|
+
}, k = (a) => a.done ? h(a.value) : Promise.resolve(a.value).then(E, R);
|
|
15
15
|
k((g = g.apply(K, b)).next());
|
|
16
16
|
});
|
|
17
|
-
import { ref as _, watch as j, resolveComponent as
|
|
18
|
-
import { BasicTable as
|
|
19
|
-
import { useMessage as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import q from "./OnlineDetailModal-
|
|
23
|
-
import
|
|
24
|
-
import { u as
|
|
25
|
-
import { u as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { u as
|
|
29
|
-
import
|
|
30
|
-
import { E as
|
|
31
|
-
import { cloneDeep as
|
|
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
32
|
import "/@/components/Modal";
|
|
33
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-9f1153ba.mjs";
|
|
34
34
|
import "/@/components/Form/index";
|
|
35
35
|
import "/@/utils/http/axios";
|
|
36
36
|
import "/@/utils";
|
|
@@ -46,13 +46,14 @@ import "/@/utils/common/compUtils";
|
|
|
46
46
|
import "/@/store/modules/user";
|
|
47
47
|
import "/@/hooks/web/useAppInject";
|
|
48
48
|
import "/@/utils/is";
|
|
49
|
-
import "
|
|
50
|
-
import "./
|
|
49
|
+
import "/@/store/modules/permission";
|
|
50
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
|
|
51
|
+
import "./index-1d1a6e56.mjs";
|
|
51
52
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
52
53
|
import "vue-router";
|
|
53
54
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
54
|
-
import "./OnlineFormDetail-
|
|
55
|
-
import "./DetailForm-
|
|
55
|
+
import "./OnlineFormDetail-022ca117.mjs";
|
|
56
|
+
import "./DetailForm-deecbf3d.mjs";
|
|
56
57
|
import "/@/utils/propTypes";
|
|
57
58
|
import "/@/utils/dict";
|
|
58
59
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -61,7 +62,7 @@ import "/@/api/common/api";
|
|
|
61
62
|
import "/@/components/Form/src/utils/Area";
|
|
62
63
|
import "/@/components/Preview/index";
|
|
63
64
|
import "/@/components/Markdown";
|
|
64
|
-
import "./OnlineSubFormDetail-
|
|
65
|
+
import "./OnlineSubFormDetail-58e896ce.mjs";
|
|
65
66
|
import "/@/router";
|
|
66
67
|
import "/@/hooks/core/onMountedOrActivated";
|
|
67
68
|
import "/@/store/modules/multipleTab";
|
|
@@ -74,32 +75,32 @@ import "/@/components/Form/src/componentMap";
|
|
|
74
75
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
75
76
|
import "/@/views/system/user/user.api";
|
|
76
77
|
import "/@/utils/desform/customExpression";
|
|
77
|
-
import "/@/store/modules/permission";
|
|
78
78
|
import "/@/hooks/system/useListPage";
|
|
79
|
-
import "./LinkTableListPiece-
|
|
79
|
+
import "./LinkTableListPiece-f3a8e0d7.mjs";
|
|
80
80
|
import "/@/assets/images/placeholderImage.png";
|
|
81
|
-
import "./OnlineSelectCascade-
|
|
82
|
-
import "./JModalTip-
|
|
81
|
+
import "./OnlineSelectCascade-05c40fef.mjs";
|
|
82
|
+
import "./JModalTip-b055ab60.mjs";
|
|
83
83
|
import "@vueuse/core";
|
|
84
84
|
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
85
85
|
import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
|
|
86
|
+
import "/@/utils/index";
|
|
86
87
|
import "/@/hooks/web/useDesign";
|
|
87
|
-
const
|
|
88
|
+
const bo = { class: "p-2 cgformErpList" }, ho = { class: "content" }, Co = {
|
|
88
89
|
key: 0,
|
|
89
90
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
90
|
-
},
|
|
91
|
+
}, ko = {
|
|
91
92
|
key: 0,
|
|
92
93
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
93
|
-
},
|
|
94
|
+
}, vo = ["src", "onClick"], So = ["innerHTML", "onClick"], wo = ["innerHTML"], Ro = ["title"], Gt = {
|
|
94
95
|
__name: "OnlCgformErpList",
|
|
95
96
|
setup(K) {
|
|
96
|
-
const b = _([]), g = _(0), h = _(null), C = _({}), { createMessage: E } =
|
|
97
|
-
|
|
97
|
+
const b = _([]), g = _(0), h = _(null), C = _({}), { createMessage: E } = to(), R = _({}), k = (t, i) => {
|
|
98
|
+
R.value[t] = i;
|
|
98
99
|
}, {
|
|
99
100
|
ID: a,
|
|
100
101
|
onlineTableContext: r,
|
|
101
|
-
onlineQueryFormOuter:
|
|
102
|
-
loading:
|
|
102
|
+
onlineQueryFormOuter: G,
|
|
103
|
+
loading: O,
|
|
103
104
|
reload: y,
|
|
104
105
|
dataSource: Q,
|
|
105
106
|
pagination: W,
|
|
@@ -107,40 +108,40 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
107
108
|
getColumnList: Y,
|
|
108
109
|
handleChangeInTable: Z,
|
|
109
110
|
loadData: ee,
|
|
110
|
-
superQueryButtonRef:
|
|
111
|
+
superQueryButtonRef: B,
|
|
111
112
|
superQueryStatus: oe,
|
|
112
113
|
handleSuperQuery: te,
|
|
113
114
|
onlineExtConfigJson: J,
|
|
114
115
|
handleFormConfig: ne,
|
|
115
116
|
registerCustomModal: ie,
|
|
116
117
|
tableReloading: le
|
|
117
|
-
} =
|
|
118
|
+
} = ro({ themeTemplate: U });
|
|
118
119
|
if (!a.value)
|
|
119
120
|
throw E.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
120
|
-
let { initCgEnhanceJs: re } =
|
|
121
|
+
let { initCgEnhanceJs: re } = so(r);
|
|
121
122
|
const {
|
|
122
123
|
buttonSwitch: v,
|
|
123
|
-
cgLinkButtonList:
|
|
124
|
+
cgLinkButtonList: To,
|
|
124
125
|
cgTopButtonList: x,
|
|
125
126
|
importUrl: ae,
|
|
126
127
|
registerModal: se,
|
|
127
128
|
handleAdd: ce,
|
|
128
|
-
handleEdit:
|
|
129
|
+
handleEdit: Io,
|
|
129
130
|
handleBatchDelete: ue,
|
|
130
131
|
registerImportModal: pe,
|
|
131
132
|
onImportExcel: de,
|
|
132
133
|
onExportExcel: me,
|
|
133
134
|
cgButtonJsHandler: ge,
|
|
134
135
|
cgButtonActionHandler: fe,
|
|
135
|
-
cgButtonLinkHandler:
|
|
136
|
-
handleSubmitFlow:
|
|
136
|
+
cgButtonLinkHandler: Mo,
|
|
137
|
+
handleSubmitFlow: Lo,
|
|
137
138
|
getDropDownActions: ye,
|
|
138
139
|
getActions: _e,
|
|
139
140
|
initButtonList: be,
|
|
140
141
|
initButtonSwitch: he,
|
|
141
142
|
registerDetailModal: Ce,
|
|
142
|
-
registerBpmModal:
|
|
143
|
-
} =
|
|
143
|
+
registerBpmModal: Eo
|
|
144
|
+
} = ao(r, J, {
|
|
144
145
|
singleDelCallback: (t) => {
|
|
145
146
|
Array.isArray(r.selectedRowKeys) && r.selectedRowKeys.includes(t) && r.clearSelectedRow();
|
|
146
147
|
},
|
|
@@ -148,7 +149,7 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
148
149
|
Array.isArray(r.selectedRowKeys) && r.selectedRowKeys.includes(t) && i.stopPropagation();
|
|
149
150
|
}
|
|
150
151
|
}), D = _(!1);
|
|
151
|
-
function
|
|
152
|
+
function ke() {
|
|
152
153
|
return I(this, null, function* () {
|
|
153
154
|
try {
|
|
154
155
|
D.value = !0, yield me();
|
|
@@ -158,27 +159,27 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
158
159
|
});
|
|
159
160
|
}
|
|
160
161
|
const {
|
|
161
|
-
columns:
|
|
162
|
-
actionColumn:
|
|
162
|
+
columns: ve,
|
|
163
|
+
actionColumn: Se,
|
|
163
164
|
selectedKeys: S,
|
|
164
|
-
rowSelection:
|
|
165
|
-
enableScrollBar:
|
|
166
|
-
tableScroll:
|
|
165
|
+
rowSelection: we,
|
|
166
|
+
enableScrollBar: Re,
|
|
167
|
+
tableScroll: Te,
|
|
167
168
|
downloadRowFile: Ie,
|
|
168
|
-
getImgView:
|
|
169
|
+
getImgView: Me,
|
|
169
170
|
getPcaText: $,
|
|
170
|
-
getFormatDate:
|
|
171
|
-
handleColumnResult:
|
|
172
|
-
hrefComponent:
|
|
171
|
+
getFormatDate: Le,
|
|
172
|
+
handleColumnResult: Ee,
|
|
173
|
+
hrefComponent: T,
|
|
173
174
|
viewOnlineCellImage: Oe,
|
|
174
|
-
hrefMainTableId:
|
|
175
|
-
registerOnlineHrefModal:
|
|
176
|
-
registerPopModal:
|
|
177
|
-
openPopModal:
|
|
178
|
-
onlinePopModalRef:
|
|
175
|
+
hrefMainTableId: Be,
|
|
176
|
+
registerOnlineHrefModal: xe,
|
|
177
|
+
registerPopModal: De,
|
|
178
|
+
openPopModal: Pe,
|
|
179
|
+
onlinePopModalRef: Ae,
|
|
179
180
|
popTableId: N,
|
|
180
|
-
handleClickFieldHref:
|
|
181
|
-
} =
|
|
181
|
+
handleClickFieldHref: Fe
|
|
182
|
+
} = co(r, J);
|
|
182
183
|
j(
|
|
183
184
|
S,
|
|
184
185
|
(t) => {
|
|
@@ -191,77 +192,77 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
191
192
|
), j(
|
|
192
193
|
a,
|
|
193
194
|
() => {
|
|
194
|
-
|
|
195
|
+
He();
|
|
195
196
|
},
|
|
196
197
|
{ immediate: !0 }
|
|
197
198
|
);
|
|
198
|
-
function
|
|
199
|
+
function He() {
|
|
199
200
|
return I(this, null, function* () {
|
|
200
|
-
|
|
201
|
-
let t = yield Y(
|
|
202
|
-
|
|
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");
|
|
203
204
|
});
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
+
function Ke(t) {
|
|
206
207
|
let i = re(t.enhanceJs);
|
|
207
|
-
r.EnhanceJS = i, be(t.cgButtonList), he(t.hideColumns),
|
|
208
|
+
r.EnhanceJS = i, be(t.cgButtonList), he(t.hideColumns), Ee(t, "radio"), X(t), C.value = {
|
|
208
209
|
cacheKey: `online_erp_mainTable_${t.currentTableName}`
|
|
209
210
|
};
|
|
210
211
|
}
|
|
211
|
-
function
|
|
212
|
+
function Qe(t) {
|
|
212
213
|
r.queryParam = t, y({ mode: "search" });
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
+
function Je() {
|
|
215
216
|
return I(this, arguments, function* (t = {}) {
|
|
216
|
-
yield
|
|
217
|
-
const i =
|
|
217
|
+
yield po(B);
|
|
218
|
+
const i = _o(t), { properties: s = {} } = i;
|
|
218
219
|
Object.entries(s).forEach(([P, A]) => {
|
|
219
220
|
A.view == "table" && delete s[P];
|
|
220
|
-
}),
|
|
221
|
+
}), B.value.init(i);
|
|
221
222
|
});
|
|
222
223
|
}
|
|
223
|
-
function
|
|
224
|
+
function $e(t) {
|
|
224
225
|
N.value = t.id;
|
|
225
226
|
let i = {
|
|
226
227
|
title: t.describe
|
|
227
228
|
};
|
|
228
|
-
t.record && t.record.id && (i.record = t.record, i.isUpdate = !0),
|
|
229
|
+
t.record && t.record.id && (i.record = t.record, i.isUpdate = !0), Pe(!0, i);
|
|
229
230
|
}
|
|
230
|
-
|
|
231
|
-
const
|
|
231
|
+
fo($e);
|
|
232
|
+
const Ne = (t, i) => {
|
|
232
233
|
te(t, i), S.value = [];
|
|
233
234
|
};
|
|
234
235
|
return (t, i) => {
|
|
235
236
|
var z;
|
|
236
|
-
const s =
|
|
237
|
-
return n(), d("div",
|
|
238
|
-
F("div",
|
|
239
|
-
p(
|
|
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, {
|
|
240
241
|
ref_key: "onlineQueryFormOuter",
|
|
241
|
-
ref:
|
|
242
|
+
ref: G,
|
|
242
243
|
id: e(a),
|
|
243
|
-
onSearch:
|
|
244
|
-
onLoaded:
|
|
244
|
+
onSearch: Qe,
|
|
245
|
+
onLoaded: Je
|
|
245
246
|
}, null, 8, ["id"]),
|
|
246
|
-
e(le) ? m("", !0) : (n(), u(e(
|
|
247
|
+
e(le) ? m("", !0) : (n(), u(e(eo), {
|
|
247
248
|
key: 0,
|
|
248
249
|
ref: "onlineTable",
|
|
249
250
|
rowKey: "jeecg_row_key",
|
|
250
251
|
canResize: !0,
|
|
251
252
|
bordered: !0,
|
|
252
253
|
showIndexColumn: !1,
|
|
253
|
-
loading: e(
|
|
254
|
-
columns: e(
|
|
254
|
+
loading: e(O),
|
|
255
|
+
columns: e(ve),
|
|
255
256
|
dataSource: e(Q),
|
|
256
257
|
pagination: e(W),
|
|
257
|
-
rowSelection: e(
|
|
258
|
-
actionColumn: e(
|
|
258
|
+
rowSelection: e(we),
|
|
259
|
+
actionColumn: e(Se),
|
|
259
260
|
showTableSetting: !0,
|
|
260
261
|
clickToRowSelect: !0,
|
|
261
|
-
scroll: e(
|
|
262
|
+
scroll: e(Te),
|
|
262
263
|
onTableRedo: e(y),
|
|
263
264
|
tableSetting: C.value,
|
|
264
|
-
class:
|
|
265
|
+
class: Ve({ "j-table-force-nowrap": e(Re) }),
|
|
265
266
|
onChange: e(Z)
|
|
266
267
|
}, {
|
|
267
268
|
tableTitle: l(() => [
|
|
@@ -292,7 +293,7 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
292
293
|
preIcon: "ant-design:export-outlined",
|
|
293
294
|
type: "primary",
|
|
294
295
|
loading: D.value,
|
|
295
|
-
onClick:
|
|
296
|
+
onClick: ke
|
|
296
297
|
}, {
|
|
297
298
|
default: l(() => [
|
|
298
299
|
f(" 导出")
|
|
@@ -322,7 +323,7 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
322
323
|
_: 2
|
|
323
324
|
}, 1032, ["onClick", "preIcon"])) : m("", !0)
|
|
324
325
|
], 64))), 256)) : m("", !0),
|
|
325
|
-
e(v).batch_delete ?
|
|
326
|
+
e(v).batch_delete ? qe((n(), u(s, {
|
|
326
327
|
key: 4,
|
|
327
328
|
preIcon: "ant-design:delete-outlined",
|
|
328
329
|
onClick: e(ue)
|
|
@@ -332,15 +333,15 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
332
333
|
]),
|
|
333
334
|
_: 1
|
|
334
335
|
}, 8, ["onClick"])), [
|
|
335
|
-
[
|
|
336
|
+
[Ue, e(S).length > 0]
|
|
336
337
|
]) : m("", !0),
|
|
337
|
-
e(v).super_query ? (n(), u(
|
|
338
|
+
e(v).super_query ? (n(), u(go, {
|
|
338
339
|
key: 5,
|
|
339
340
|
ref_key: "superQueryButtonRef",
|
|
340
|
-
ref:
|
|
341
|
+
ref: B,
|
|
341
342
|
online: "",
|
|
342
343
|
status: e(oe),
|
|
343
|
-
onSearch:
|
|
344
|
+
onSearch: Ne
|
|
344
345
|
}, null, 8, ["status"])) : m("", !0)
|
|
345
346
|
]),
|
|
346
347
|
fileSlot: l(({ text: o, record: c, column: w }) => [
|
|
@@ -350,43 +351,43 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
350
351
|
type: "primary",
|
|
351
352
|
preIcon: "ant-design:download",
|
|
352
353
|
size: "small",
|
|
353
|
-
onClick: (
|
|
354
|
+
onClick: (je) => e(Ie)(o, c, w, e(a))
|
|
354
355
|
}, {
|
|
355
356
|
default: l(() => [
|
|
356
357
|
f(" 下载 ")
|
|
357
358
|
]),
|
|
358
359
|
_: 2
|
|
359
|
-
}, 1032, ["onClick"])) : (n(), d("span",
|
|
360
|
+
}, 1032, ["onClick"])) : (n(), d("span", Co, "无文件"))
|
|
360
361
|
]),
|
|
361
362
|
imgSlot: l(({ text: o }) => [
|
|
362
363
|
o ? (n(), d("img", {
|
|
363
364
|
key: 1,
|
|
364
|
-
src: e(
|
|
365
|
+
src: e(Me)(o),
|
|
365
366
|
alt: "图片不存在",
|
|
366
367
|
class: "online-cell-image",
|
|
367
368
|
onClick: (c) => e(Oe)(o)
|
|
368
|
-
}, null, 8,
|
|
369
|
+
}, null, 8, vo)) : (n(), d("span", ko, "无图片"))
|
|
369
370
|
]),
|
|
370
371
|
htmlSlot: l(({ text: o, column: c, record: w }) => [
|
|
371
372
|
c.fieldHref ? (n(), d("a", {
|
|
372
373
|
key: 0,
|
|
373
374
|
innerHTML: o,
|
|
374
|
-
onClick: (
|
|
375
|
-
}, null, 8,
|
|
375
|
+
onClick: (je) => e(Fe)(c.fieldHref, w)
|
|
376
|
+
}, null, 8, So)) : (n(), d("div", {
|
|
376
377
|
key: 1,
|
|
377
378
|
innerHTML: o
|
|
378
|
-
}, null, 8,
|
|
379
|
+
}, null, 8, wo))
|
|
379
380
|
]),
|
|
380
381
|
pcaSlot: l(({ text: o }) => [
|
|
381
382
|
F("div", {
|
|
382
383
|
title: e($)(o)
|
|
383
|
-
}, L(e($)(o)), 9,
|
|
384
|
+
}, L(e($)(o)), 9, Ro)
|
|
384
385
|
]),
|
|
385
386
|
dateSlot: l(({ text: o, column: c }) => [
|
|
386
|
-
F("span", null, L(e(
|
|
387
|
+
F("span", null, L(e(Le)(o, c)), 1)
|
|
387
388
|
]),
|
|
388
389
|
action: l(({ record: o }) => [
|
|
389
|
-
p(e(
|
|
390
|
+
p(e(oo), {
|
|
390
391
|
actions: e(_e)(o),
|
|
391
392
|
dropDownActions: e(ye)(o)
|
|
392
393
|
}, null, 8, ["actions", "dropDownActions"])
|
|
@@ -407,7 +408,7 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
407
408
|
forceRender: ""
|
|
408
409
|
}, {
|
|
409
410
|
default: l(() => [
|
|
410
|
-
p(
|
|
411
|
+
p(yo, {
|
|
411
412
|
data: o,
|
|
412
413
|
mainTableSelectedRowRcord: h.value,
|
|
413
414
|
onGetSource: k
|
|
@@ -418,9 +419,9 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
418
419
|
]),
|
|
419
420
|
_: 1
|
|
420
421
|
}, 8, ["activeKey"])) : m("", !0),
|
|
421
|
-
p(
|
|
422
|
+
p(no, {
|
|
422
423
|
id: e(a),
|
|
423
|
-
subTableSource:
|
|
424
|
+
subTableSource: R.value,
|
|
424
425
|
onRegister: e(se),
|
|
425
426
|
onSuccess: e(y),
|
|
426
427
|
onFormConfig: e(ne)
|
|
@@ -429,42 +430,41 @@ const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
|
429
430
|
id: e(a),
|
|
430
431
|
onRegister: e(Ce)
|
|
431
432
|
}, null, 8, ["id", "onRegister"]),
|
|
432
|
-
p(
|
|
433
|
+
p(lo, {
|
|
433
434
|
onRegister: e(pe),
|
|
434
435
|
url: e(ae)(),
|
|
435
436
|
onOk: e(y),
|
|
436
437
|
online: ""
|
|
437
438
|
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
438
|
-
p(
|
|
439
|
+
p(ze, Ge(e(T).model, We(e(T).on)), {
|
|
439
440
|
default: l(() => [
|
|
440
|
-
(n(), u(
|
|
441
|
+
(n(), u(Xe(e(T).is), Ye(Ze(e(T).params)), null, 16))
|
|
441
442
|
]),
|
|
442
443
|
_: 1
|
|
443
444
|
}, 16),
|
|
444
|
-
p(
|
|
445
|
+
p(io, {
|
|
445
446
|
onRegister: e(ie),
|
|
446
447
|
onSuccess: e(y)
|
|
447
448
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
448
449
|
p(q, {
|
|
449
|
-
id: e(
|
|
450
|
-
onRegister: e(
|
|
450
|
+
id: e(Be),
|
|
451
|
+
onRegister: e(xe),
|
|
451
452
|
defaultFullscreen: !1
|
|
452
453
|
}, null, 8, ["id", "onRegister"]),
|
|
453
|
-
p(
|
|
454
|
+
p(uo, {
|
|
454
455
|
ref_key: "onlinePopModalRef",
|
|
455
|
-
ref:
|
|
456
|
+
ref: Ae,
|
|
456
457
|
id: e(N),
|
|
457
|
-
onRegister: e(
|
|
458
|
+
onRegister: e(De),
|
|
458
459
|
onSuccess: e(y),
|
|
459
460
|
request: "",
|
|
460
461
|
topTip: ""
|
|
461
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
462
|
-
p(Ve, { onRegister: e(ke) }, null, 8, ["onRegister"])
|
|
462
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
463
463
|
])
|
|
464
464
|
]);
|
|
465
465
|
};
|
|
466
466
|
}
|
|
467
467
|
};
|
|
468
468
|
export {
|
|
469
|
-
|
|
469
|
+
Gt as default
|
|
470
470
|
};
|