@jeecg/online 3.8.2-beta → 3.9.0-beta2
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/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
- package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
- package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
- package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
- package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
- package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
- package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
- package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
- package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
- package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
- package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
- package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
- package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
- package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
- package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
- package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
- package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
- package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
- package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
- package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
- package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
- package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
- package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
- package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
- package/CodeFileViewModal-320d7acf.mjs +269 -0
- package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
- package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
- package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
- package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
- package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
- package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
- package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
- package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
- package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
- package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
- package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
- package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
- package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
- package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
- package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
- package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
- package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
- package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
- package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
- package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
- package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
- package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
- package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
- package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
- package/OnlCgformErpList-b0605798.mjs +527 -0
- package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
- package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
- package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
- package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
- package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
- package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
- package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
- package/OnlineCustomModal-f4e17bed.mjs +246 -0
- package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
- package/OnlineForm-86b5966d.mjs +1079 -0
- package/OnlineFormDetail-4b3ad130.mjs +349 -0
- package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
- package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
- package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
- package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
- package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
- package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
- package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
- package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
- package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
- package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
- package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
- package/OnlineTabFormDetail-2a28febf.mjs +328 -0
- package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
- package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
- package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
- package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
- package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
- package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
- package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
- package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
- package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
- package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
- package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
- package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
- package/TaskOpinionList-60cf4080.mjs +13 -0
- package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
- package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
- package/index-740b2c4a.mjs +57 -0
- package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
- package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
- package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
- package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
- package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-6d5547ff.mjs +410 -0
- package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
- package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
- package/CodeFileViewModal-12299ab5.mjs +0 -253
- package/CodeGeneratorModal-791b1695.mjs +0 -281
- package/OnlCgformErpList-63089149.mjs +0 -498
- package/OnlineCustomModal-7e31297e.mjs +0 -232
- package/OnlineForm-0438f4bf.mjs +0 -1012
- package/OnlineFormDetail-76d243ed.mjs +0 -348
- package/OnlineTabFormDetail-b8650175.mjs +0 -327
- package/ProcessOnlineForm-d6113dec.mjs +0 -188
- package/README.md +0 -26
- package/index-30c0a14f.mjs +0 -57
- package/useCgformList-52631580.mjs +0 -395
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
var E = (J, S, _) => new Promise((w, R) => {
|
|
2
|
-
var O = (c) => {
|
|
3
|
-
try {
|
|
4
|
-
T(_.next(c));
|
|
5
|
-
} catch (i) {
|
|
6
|
-
R(i);
|
|
7
|
-
}
|
|
8
|
-
}, M = (c) => {
|
|
9
|
-
try {
|
|
10
|
-
T(_.throw(c));
|
|
11
|
-
} catch (i) {
|
|
12
|
-
R(i);
|
|
13
|
-
}
|
|
14
|
-
}, T = (c) => c.done ? w(c.value) : Promise.resolve(c.value).then(O, M);
|
|
15
|
-
T((_ = _.apply(J, S)).next());
|
|
16
|
-
});
|
|
17
|
-
import { ref as v, watch as K, resolveComponent as I, openBlock as r, createElementBlock as y, createElementVNode as C, unref as e, createBlock as s, createCommentVNode as m, withDirectives as G, createVNode as d, vShow as W, normalizeClass as et, withCtx as l, toDisplayString as b, Fragment as N, renderList as X, createTextVNode as Q, mergeProps as tt, toHandlers as ot, resolveDynamicComponent as nt, normalizeProps as rt, guardReactiveProps as lt } from "vue";
|
|
18
|
-
import { BasicTable as it, TableAction as at } from "/@/components/Table";
|
|
19
|
-
import { useMessage as ct } from "/@/hooks/web/useMessage";
|
|
20
|
-
import st from "./OnlineAutoModal-38f2d522.mjs";
|
|
21
|
-
import ut from "./OnlineCustomModal-7e31297e.mjs";
|
|
22
|
-
import Y from "./OnlineDetailModal-79085ba8.mjs";
|
|
23
|
-
import pt from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as dt, a as mt } from "./useListButton-7f9674a0.mjs";
|
|
25
|
-
import { u as gt, a as ft, O as yt, g as bt } from "./useExtendComponent-d1db211d.mjs";
|
|
26
|
-
import _t from "./OnlineQueryForm-528af6ed.mjs";
|
|
27
|
-
import Ct from "./SuperQuery-290f5080.mjs";
|
|
28
|
-
import { u as ht } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
-
import kt from "./OnlCgformErpSubTable-421e2051.mjs";
|
|
30
|
-
import { E as Z } from "./constant-fa63bd66.mjs";
|
|
31
|
-
import { cloneDeep as vt } from "lodash-es";
|
|
32
|
-
import { Loading as St } from "/@/components/Loading";
|
|
33
|
-
import "/@/components/Modal";
|
|
34
|
-
import "./OnlineForm-0438f4bf.mjs";
|
|
35
|
-
import "/@/components/Form/index";
|
|
36
|
-
import "/@/utils/http/axios";
|
|
37
|
-
import "/@/utils";
|
|
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-3a17a690.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_3f26e7bd_lang-4ed993c7.mjs";
|
|
51
|
-
import "./index-30c0a14f.mjs";
|
|
52
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
53
|
-
import "vue-router";
|
|
54
|
-
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
55
|
-
import "./OnlineFormDetail-76d243ed.mjs";
|
|
56
|
-
import "./DetailForm-b92a5e9d.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-a1b7f33f.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 "/@/router/menus";
|
|
73
|
-
import "ant-design-vue";
|
|
74
|
-
import "/@/hooks/system/useMethods";
|
|
75
|
-
import "/@/components/Form/src/componentMap";
|
|
76
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
77
|
-
import "/@/views/system/user/user.api";
|
|
78
|
-
import "/@/utils/desform/customExpression";
|
|
79
|
-
import "/@/hooks/system/useListPage";
|
|
80
|
-
import "./LinkTableListPiece-4187ad7d.mjs";
|
|
81
|
-
import "/@/assets/images/placeholderImage.png";
|
|
82
|
-
import "./OnlineSelectCascade-b218691c.mjs";
|
|
83
|
-
import "./JModalTip-b1d19eaa.mjs";
|
|
84
|
-
import "@vueuse/core";
|
|
85
|
-
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
86
|
-
import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
87
|
-
import "/@/utils/index";
|
|
88
|
-
import "/@/hooks/web/useDesign";
|
|
89
|
-
const wt = { class: "p-2 cgformErpList" }, Rt = { class: "content" }, Tt = {
|
|
90
|
-
key: 0,
|
|
91
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
92
|
-
}, Bt = {
|
|
93
|
-
key: 0,
|
|
94
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
95
|
-
}, It = ["src", "onClick"], Mt = ["innerHTML", "onClick"], Lt = ["innerHTML"], Et = ["title"], nn = {
|
|
96
|
-
__name: "OnlCgformErpList",
|
|
97
|
-
setup(J) {
|
|
98
|
-
const S = v([]), _ = v(0), w = v(null), R = v({}), { createMessage: O } = ct(), M = v({}), T = (o, n) => {
|
|
99
|
-
M.value[o] = n;
|
|
100
|
-
}, {
|
|
101
|
-
ID: c,
|
|
102
|
-
onlineTableContext: i,
|
|
103
|
-
onlineQueryFormOuter: ee,
|
|
104
|
-
loading: x,
|
|
105
|
-
reload: h,
|
|
106
|
-
dataSource: D,
|
|
107
|
-
pagination: $,
|
|
108
|
-
handleSpecialConfig: te,
|
|
109
|
-
getColumnList: oe,
|
|
110
|
-
handleChangeInTable: ne,
|
|
111
|
-
loadData: re,
|
|
112
|
-
superQueryButtonRef: P,
|
|
113
|
-
superQueryStatus: le,
|
|
114
|
-
handleSuperQuery: ie,
|
|
115
|
-
onlineExtConfigJson: j,
|
|
116
|
-
handleFormConfig: ae,
|
|
117
|
-
registerCustomModal: ce,
|
|
118
|
-
tableReloading: A,
|
|
119
|
-
pageLoading: se
|
|
120
|
-
} = dt({ themeTemplate: Z });
|
|
121
|
-
if (K(D, (o) => {
|
|
122
|
-
g.value.length > 0 && (g.value = g.value.filter((n) => o.some((p) => p.jeecg_row_key === n))), $.value.current == 1 && g.value.length === 0 && setTimeout(() => {
|
|
123
|
-
var p;
|
|
124
|
-
const n = document.querySelector(".ant-table-wrapper .ant-table-tbody");
|
|
125
|
-
(p = n == null ? void 0 : n.querySelector(".ant-table-row")) == null || p.click();
|
|
126
|
-
}, 100);
|
|
127
|
-
}), !c.value)
|
|
128
|
-
throw O.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
129
|
-
let { initCgEnhanceJs: ue } = gt(i);
|
|
130
|
-
const {
|
|
131
|
-
buttonSwitch: k,
|
|
132
|
-
cgLinkButtonList: Ot,
|
|
133
|
-
cgBIBtnMap: a,
|
|
134
|
-
getQueryButtonCfg: pe,
|
|
135
|
-
getResetButtonCfg: de,
|
|
136
|
-
getFormConfirmButtonCfg: me,
|
|
137
|
-
cgTopButtonList: F,
|
|
138
|
-
importUrl: ge,
|
|
139
|
-
registerModal: fe,
|
|
140
|
-
handleAdd: ye,
|
|
141
|
-
handleEdit: xt,
|
|
142
|
-
handleBatchDelete: be,
|
|
143
|
-
registerImportModal: _e,
|
|
144
|
-
onImportExcel: Ce,
|
|
145
|
-
onExportExcel: he,
|
|
146
|
-
cgButtonJsHandler: ke,
|
|
147
|
-
cgButtonActionHandler: ve,
|
|
148
|
-
cgButtonLinkHandler: Dt,
|
|
149
|
-
handleSubmitFlow: Pt,
|
|
150
|
-
getDropDownActions: Se,
|
|
151
|
-
getActions: we,
|
|
152
|
-
initButtonList: Re,
|
|
153
|
-
initButtonSwitch: Te,
|
|
154
|
-
registerDetailModal: Be,
|
|
155
|
-
registerBpmModal: At
|
|
156
|
-
} = mt(i, j, {
|
|
157
|
-
singleDelCallback: (o) => {
|
|
158
|
-
Array.isArray(i.selectedRowKeys) && i.selectedRowKeys.includes(o) && i.clearSelectedRow();
|
|
159
|
-
},
|
|
160
|
-
editClickCallback: (o, n) => {
|
|
161
|
-
Array.isArray(i.selectedRowKeys) && i.selectedRowKeys.includes(o) && n.stopPropagation();
|
|
162
|
-
}
|
|
163
|
-
}), q = v(!1);
|
|
164
|
-
function Ie() {
|
|
165
|
-
return E(this, null, function* () {
|
|
166
|
-
try {
|
|
167
|
-
q.value = !0, yield he();
|
|
168
|
-
} finally {
|
|
169
|
-
setTimeout(() => q.value = !1, 1500);
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
const {
|
|
174
|
-
columns: Me,
|
|
175
|
-
actionColumn: Le,
|
|
176
|
-
selectedKeys: g,
|
|
177
|
-
rowSelection: Ee,
|
|
178
|
-
enableScrollBar: Oe,
|
|
179
|
-
tableScroll: xe,
|
|
180
|
-
downloadRowFile: De,
|
|
181
|
-
getImgView: Pe,
|
|
182
|
-
getPcaText: z,
|
|
183
|
-
getFormatDate: Ae,
|
|
184
|
-
handleColumnResult: Fe,
|
|
185
|
-
hrefComponent: L,
|
|
186
|
-
viewOnlineCellImage: qe,
|
|
187
|
-
hrefMainTableId: He,
|
|
188
|
-
registerOnlineHrefModal: Ke,
|
|
189
|
-
registerPopModal: Ne,
|
|
190
|
-
openPopModal: Qe,
|
|
191
|
-
onlinePopModalRef: Je,
|
|
192
|
-
popTableId: V,
|
|
193
|
-
handleClickFieldHref: $e
|
|
194
|
-
} = ft(i, j);
|
|
195
|
-
K(
|
|
196
|
-
g,
|
|
197
|
-
(o) => {
|
|
198
|
-
var n;
|
|
199
|
-
(n = g.value) != null && n.length ? w.value = D.value.find((p) => p.id === g.value[0]) : w.value = null;
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
immediate: !0
|
|
203
|
-
}
|
|
204
|
-
), K(
|
|
205
|
-
c,
|
|
206
|
-
() => {
|
|
207
|
-
je();
|
|
208
|
-
},
|
|
209
|
-
{ immediate: !0 }
|
|
210
|
-
);
|
|
211
|
-
function je() {
|
|
212
|
-
return E(this, null, function* () {
|
|
213
|
-
x.value = !0;
|
|
214
|
-
let o = yield oe(Z);
|
|
215
|
-
ze(o.main), S.value = o.subList, yield re(), x.value = !1, i.execButtonEnhance("setup");
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
function ze(o) {
|
|
219
|
-
let n = ue(o.enhanceJs);
|
|
220
|
-
i.EnhanceJS = n, Re(o.cgButtonList), Te(o.hideColumns), Fe(o, "radio"), te(o), R.value = {
|
|
221
|
-
cacheKey: `online_erp_mainTable_${o.currentTableName}`
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
function Ve(o) {
|
|
225
|
-
i.queryParam = o, h({ mode: "search" });
|
|
226
|
-
}
|
|
227
|
-
function Ue() {
|
|
228
|
-
return E(this, arguments, function* (o = {}) {
|
|
229
|
-
yield bt(P);
|
|
230
|
-
const n = vt(o), { properties: p = {} } = n;
|
|
231
|
-
Object.entries(p).forEach(([f, H]) => {
|
|
232
|
-
H.view == "table" && delete p[f];
|
|
233
|
-
}), P.value.init(n);
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
function Ge(o) {
|
|
237
|
-
V.value = o.id;
|
|
238
|
-
let n = {
|
|
239
|
-
title: o.describe
|
|
240
|
-
};
|
|
241
|
-
o.record && o.record.id && (n.record = o.record, n.isUpdate = !0), Qe(!0, n);
|
|
242
|
-
}
|
|
243
|
-
ht(Ge);
|
|
244
|
-
const We = (o, n) => {
|
|
245
|
-
ie(o, n), g.value = [];
|
|
246
|
-
};
|
|
247
|
-
return (o, n) => {
|
|
248
|
-
var U;
|
|
249
|
-
const p = I("a-skeleton"), f = I("a-button"), H = I("a-tab-pane"), Xe = I("a-tabs"), Ye = I("a-modal");
|
|
250
|
-
return r(), y("div", wt, [
|
|
251
|
-
C("div", Rt, [
|
|
252
|
-
e(A) ? (r(), s(p, {
|
|
253
|
-
key: 0,
|
|
254
|
-
active: ""
|
|
255
|
-
})) : m("", !0),
|
|
256
|
-
G(d(_t, {
|
|
257
|
-
ref_key: "onlineQueryFormOuter",
|
|
258
|
-
ref: ee,
|
|
259
|
-
id: e(c),
|
|
260
|
-
queryBtnCfg: e(pe),
|
|
261
|
-
resetBtnCfg: e(de),
|
|
262
|
-
onSearch: Ve,
|
|
263
|
-
onLoaded: Ue
|
|
264
|
-
}, null, 8, ["id", "queryBtnCfg", "resetBtnCfg"]), [
|
|
265
|
-
[W, !e(A)]
|
|
266
|
-
]),
|
|
267
|
-
e(A) ? m("", !0) : (r(), s(e(it), {
|
|
268
|
-
key: 1,
|
|
269
|
-
ref: "onlineTable",
|
|
270
|
-
rowKey: "jeecg_row_key",
|
|
271
|
-
canResize: !1,
|
|
272
|
-
bordered: !0,
|
|
273
|
-
showIndexColumn: !1,
|
|
274
|
-
loading: e(x),
|
|
275
|
-
columns: e(Me),
|
|
276
|
-
dataSource: e(D),
|
|
277
|
-
pagination: e($),
|
|
278
|
-
rowSelection: e(Ee),
|
|
279
|
-
actionColumn: e(Le),
|
|
280
|
-
showTableSetting: !0,
|
|
281
|
-
clickToRowSelect: !0,
|
|
282
|
-
scroll: e(xe),
|
|
283
|
-
onTableRedo: e(h),
|
|
284
|
-
tableSetting: R.value,
|
|
285
|
-
class: et({ "j-table-force-nowrap": e(Oe) }),
|
|
286
|
-
onChange: e(ne)
|
|
287
|
-
}, {
|
|
288
|
-
tableTitle: l(() => [
|
|
289
|
-
e(k).add && e(a).add.enabled ? (r(), s(f, {
|
|
290
|
-
key: 0,
|
|
291
|
-
type: "primary",
|
|
292
|
-
preIcon: e(a).add.buttonIcon,
|
|
293
|
-
onClick: e(ye)
|
|
294
|
-
}, {
|
|
295
|
-
default: l(() => [
|
|
296
|
-
C("span", null, b(e(a).add.buttonName), 1)
|
|
297
|
-
]),
|
|
298
|
-
_: 1
|
|
299
|
-
}, 8, ["preIcon", "onClick"])) : m("", !0),
|
|
300
|
-
e(k).import && e(a).import.enabled ? (r(), s(f, {
|
|
301
|
-
key: 1,
|
|
302
|
-
type: "primary",
|
|
303
|
-
preIcon: e(a).import.buttonIcon,
|
|
304
|
-
onClick: e(Ce)
|
|
305
|
-
}, {
|
|
306
|
-
default: l(() => [
|
|
307
|
-
C("span", null, b(e(a).import.buttonName), 1)
|
|
308
|
-
]),
|
|
309
|
-
_: 1
|
|
310
|
-
}, 8, ["preIcon", "onClick"])) : m("", !0),
|
|
311
|
-
e(k).export && e(a).export.enabled ? (r(), s(f, {
|
|
312
|
-
key: 2,
|
|
313
|
-
type: "primary",
|
|
314
|
-
preIcon: e(a).export.buttonIcon,
|
|
315
|
-
loading: q.value,
|
|
316
|
-
onClick: Ie
|
|
317
|
-
}, {
|
|
318
|
-
default: l(() => [
|
|
319
|
-
C("span", null, b(e(a).export.buttonName), 1)
|
|
320
|
-
]),
|
|
321
|
-
_: 1
|
|
322
|
-
}, 8, ["preIcon", "loading"])) : m("", !0),
|
|
323
|
-
e(F) && e(F).length > 0 ? (r(!0), y(N, { key: 3 }, X(e(F), (t, u) => (r(), y(N, null, [
|
|
324
|
-
t.optType == "js" ? (r(), s(f, {
|
|
325
|
-
key: "cgbtn" + u,
|
|
326
|
-
onClick: (B) => e(ke)(t.buttonCode),
|
|
327
|
-
type: "primary",
|
|
328
|
-
preIcon: t.buttonIcon ? "ant-design:" + t.buttonIcon : ""
|
|
329
|
-
}, {
|
|
330
|
-
default: l(() => [
|
|
331
|
-
Q(b(t.buttonName), 1)
|
|
332
|
-
]),
|
|
333
|
-
_: 2
|
|
334
|
-
}, 1032, ["onClick", "preIcon"])) : t.optType == "action" ? (r(), s(f, {
|
|
335
|
-
key: "cgbtn" + u,
|
|
336
|
-
onClick: (B) => e(ve)(t.buttonCode),
|
|
337
|
-
type: "primary",
|
|
338
|
-
preIcon: t.buttonIcon ? "ant-design:" + t.buttonIcon : ""
|
|
339
|
-
}, {
|
|
340
|
-
default: l(() => [
|
|
341
|
-
Q(b(t.buttonName), 1)
|
|
342
|
-
]),
|
|
343
|
-
_: 2
|
|
344
|
-
}, 1032, ["onClick", "preIcon"])) : m("", !0)
|
|
345
|
-
], 64))), 256)) : m("", !0),
|
|
346
|
-
e(k).batch_delete && e(a).batch_delete.enabled ? G((r(), s(f, {
|
|
347
|
-
key: 4,
|
|
348
|
-
preIcon: e(a).batch_delete.buttonIcon,
|
|
349
|
-
onClick: e(be)
|
|
350
|
-
}, {
|
|
351
|
-
default: l(() => [
|
|
352
|
-
C("span", null, b(e(a).batch_delete.buttonName), 1)
|
|
353
|
-
]),
|
|
354
|
-
_: 1
|
|
355
|
-
}, 8, ["preIcon", "onClick"])), [
|
|
356
|
-
[W, e(g).length > 0]
|
|
357
|
-
]) : m("", !0),
|
|
358
|
-
e(k).super_query && e(a).super_query.enabled ? (r(), s(Ct, {
|
|
359
|
-
key: 5,
|
|
360
|
-
ref_key: "superQueryButtonRef",
|
|
361
|
-
ref: P,
|
|
362
|
-
online: "",
|
|
363
|
-
status: e(le),
|
|
364
|
-
queryBtnCfg: e(a).super_query,
|
|
365
|
-
onSearch: We
|
|
366
|
-
}, null, 8, ["status", "queryBtnCfg"])) : m("", !0)
|
|
367
|
-
]),
|
|
368
|
-
fileSlot: l(({ text: t, record: u, column: B }) => [
|
|
369
|
-
t ? (r(), s(f, {
|
|
370
|
-
key: 1,
|
|
371
|
-
ghost: !0,
|
|
372
|
-
type: "primary",
|
|
373
|
-
preIcon: "ant-design:download",
|
|
374
|
-
size: "small",
|
|
375
|
-
onClick: (Ze) => e(De)(t, u, B, e(c))
|
|
376
|
-
}, {
|
|
377
|
-
default: l(() => n[1] || (n[1] = [
|
|
378
|
-
Q(" 下载 ")
|
|
379
|
-
])),
|
|
380
|
-
_: 2
|
|
381
|
-
}, 1032, ["onClick"])) : (r(), y("span", Tt, "无文件"))
|
|
382
|
-
]),
|
|
383
|
-
imgSlot: l(({ text: t }) => [
|
|
384
|
-
t ? (r(), y("img", {
|
|
385
|
-
key: 1,
|
|
386
|
-
src: e(Pe)(t),
|
|
387
|
-
alt: "图片不存在",
|
|
388
|
-
class: "online-cell-image",
|
|
389
|
-
onClick: (u) => e(qe)(t)
|
|
390
|
-
}, null, 8, It)) : (r(), y("span", Bt, "无图片"))
|
|
391
|
-
]),
|
|
392
|
-
htmlSlot: l(({ text: t, column: u, record: B }) => [
|
|
393
|
-
u.fieldHref ? (r(), y("a", {
|
|
394
|
-
key: 0,
|
|
395
|
-
innerHTML: t,
|
|
396
|
-
onClick: (Ze) => e($e)(u.fieldHref, B)
|
|
397
|
-
}, null, 8, Mt)) : (r(), y("div", {
|
|
398
|
-
key: 1,
|
|
399
|
-
innerHTML: t
|
|
400
|
-
}, null, 8, Lt))
|
|
401
|
-
]),
|
|
402
|
-
pcaSlot: l(({ text: t }) => [
|
|
403
|
-
C("div", {
|
|
404
|
-
title: e(z)(t)
|
|
405
|
-
}, b(e(z)(t)), 9, Et)
|
|
406
|
-
]),
|
|
407
|
-
dateSlot: l(({ text: t, column: u }) => [
|
|
408
|
-
C("span", null, b(e(Ae)(t, u)), 1)
|
|
409
|
-
]),
|
|
410
|
-
action: l(({ record: t }) => [
|
|
411
|
-
d(e(at), {
|
|
412
|
-
actions: e(we)(t),
|
|
413
|
-
dropDownActions: e(Se)(t)
|
|
414
|
-
}, null, 8, ["actions", "dropDownActions"])
|
|
415
|
-
]),
|
|
416
|
-
_: 1
|
|
417
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "tableSetting", "class", "onChange"])),
|
|
418
|
-
(U = S.value) != null && U.length ? (r(), s(Xe, {
|
|
419
|
-
key: 2,
|
|
420
|
-
animated: "",
|
|
421
|
-
activeKey: _.value,
|
|
422
|
-
"onUpdate:activeKey": n[0] || (n[0] = (t) => _.value = t),
|
|
423
|
-
style: { margin: "10px" }
|
|
424
|
-
}, {
|
|
425
|
-
default: l(() => [
|
|
426
|
-
(r(!0), y(N, null, X(S.value, (t, u) => (r(), s(H, {
|
|
427
|
-
tab: t.description,
|
|
428
|
-
key: u,
|
|
429
|
-
forceRender: ""
|
|
430
|
-
}, {
|
|
431
|
-
default: l(() => [
|
|
432
|
-
d(kt, {
|
|
433
|
-
data: t,
|
|
434
|
-
mainTableSelectedRowRcord: w.value,
|
|
435
|
-
onGetSource: T
|
|
436
|
-
}, null, 8, ["data", "mainTableSelectedRowRcord"])
|
|
437
|
-
]),
|
|
438
|
-
_: 2
|
|
439
|
-
}, 1032, ["tab"]))), 128))
|
|
440
|
-
]),
|
|
441
|
-
_: 1
|
|
442
|
-
}, 8, ["activeKey"])) : m("", !0),
|
|
443
|
-
d(st, {
|
|
444
|
-
onRegister: e(fe),
|
|
445
|
-
id: e(c),
|
|
446
|
-
subTableSource: M.value,
|
|
447
|
-
cgBIBtnMap: e(a),
|
|
448
|
-
buttonSwitch: e(k),
|
|
449
|
-
confirmBtnCfg: e(me),
|
|
450
|
-
onSuccess: e(h),
|
|
451
|
-
onFormConfig: e(ae)
|
|
452
|
-
}, null, 8, ["onRegister", "id", "subTableSource", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg", "onSuccess", "onFormConfig"]),
|
|
453
|
-
d(Y, {
|
|
454
|
-
id: e(c),
|
|
455
|
-
onRegister: e(Be)
|
|
456
|
-
}, null, 8, ["id", "onRegister"]),
|
|
457
|
-
d(pt, {
|
|
458
|
-
onRegister: e(_e),
|
|
459
|
-
url: e(ge)(),
|
|
460
|
-
onOk: e(h),
|
|
461
|
-
online: ""
|
|
462
|
-
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
463
|
-
d(Ye, tt(e(L).model, ot(e(L).on)), {
|
|
464
|
-
default: l(() => [
|
|
465
|
-
(r(), s(nt(e(L).is), rt(lt(e(L).params)), null, 16))
|
|
466
|
-
]),
|
|
467
|
-
_: 1
|
|
468
|
-
}, 16),
|
|
469
|
-
d(ut, {
|
|
470
|
-
onRegister: e(ce),
|
|
471
|
-
onSuccess: e(h)
|
|
472
|
-
}, null, 8, ["onRegister", "onSuccess"]),
|
|
473
|
-
d(Y, {
|
|
474
|
-
id: e(He),
|
|
475
|
-
onRegister: e(Ke),
|
|
476
|
-
defaultFullscreen: !1
|
|
477
|
-
}, null, 8, ["id", "onRegister"]),
|
|
478
|
-
d(yt, {
|
|
479
|
-
ref_key: "onlinePopModalRef",
|
|
480
|
-
ref: Je,
|
|
481
|
-
id: e(V),
|
|
482
|
-
onRegister: e(Ne),
|
|
483
|
-
onSuccess: e(h),
|
|
484
|
-
request: "",
|
|
485
|
-
topTip: ""
|
|
486
|
-
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
487
|
-
d(e(St), {
|
|
488
|
-
loading: e(se),
|
|
489
|
-
absolute: !0
|
|
490
|
-
}, null, 8, ["loading"])
|
|
491
|
-
])
|
|
492
|
-
]);
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
};
|
|
496
|
-
export {
|
|
497
|
-
nn as default
|
|
498
|
-
};
|