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