@jeecg/online 3.7.4-beta → 3.8.2-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/{AccountLoginForm-84cbd344.mjs → AccountLoginForm-79fa7b01.mjs} +1 -1
- package/{AiModal-26903538.mjs → AiModal-942b59ec.mjs} +1 -1
- package/{AppForgetPassword-52443f23.mjs → AppForgetPassword-d762e5b3.mjs} +2 -2
- package/{AppLogin-ecf798fa.mjs → AppLogin-41372985.mjs} +9 -9
- package/{AppLoginHeader-4432c584.mjs → AppLoginHeader-3b6fa33d.mjs} +1 -1
- package/{AppNameEmail-3303a037.mjs → AppNameEmail-8dfbad62.mjs} +2 -2
- package/{AppRegister-79a62c59.mjs → AppRegister-433c54db.mjs} +3 -3
- package/{AppTenant-f0bef7ca.mjs → AppTenant-e49dfa9b.mjs} +2 -2
- package/{AppThirdForm-fd8b4604.mjs → AppThirdForm-7b75b4fc.mjs} +1 -1
- package/{AuthButtonConfig-d5bffca0.mjs → AuthButtonConfig-a0f59cb5.mjs} +50 -46
- package/{AuthButtonTree-b0bd6c40.mjs → AuthButtonTree-f0a5cc0b.mjs} +2 -2
- package/{AuthDataConfig-d3b7afa4.mjs → AuthDataConfig-647c4a27.mjs} +2 -2
- package/{AuthDataTree-f14a98d9.mjs → AuthDataTree-b80a3ea5.mjs} +1 -1
- package/{AuthFieldConfig-f1e224cc.mjs → AuthFieldConfig-d36a1b2d.mjs} +2 -2
- package/{AuthFieldTree-5cc0da05.mjs → AuthFieldTree-dba6af79.mjs} +1 -1
- package/{AuthManagerDrawer-32556109.mjs → AuthManagerDrawer-5acbd451.mjs} +5 -5
- package/{AuthSetterModal-364f1f67.mjs → AuthSetterModal-95b5f616.mjs} +8 -8
- package/CgformAddressModal-5d889870.mjs +263 -0
- package/CgformCopyList-cc5f76cd.mjs +259 -0
- package/{CgformModal-c4a4e0c2.mjs → CgformModal-cebc698b.mjs} +72 -69
- package/CgreportAigcModal-d1e62385.mjs +211 -0
- package/{CgreportModal-8a84aae5.mjs → CgreportModal-2e4421e6.mjs} +103 -103
- package/{CheckDictTable-8a938e3a.mjs → CheckDictTable-8fb7299c.mjs} +2 -2
- package/{CodeFileListModal-a924902a.mjs → CodeFileListModal-25fad54f.mjs} +2 -2
- package/{CodeFileViewModal-405e2b58.mjs → CodeFileViewModal-12299ab5.mjs} +1 -1
- package/{CodeGeneratorModal-2e1dc13d.mjs → CodeGeneratorModal-791b1695.mjs} +4 -4
- package/{CustomButtonList-c453b654.mjs → CustomButtonList-26490688.mjs} +1 -1
- package/DBAttributeTable-dea8ab11.mjs +546 -0
- package/{DbToOnlineModal-f28ff0a3.mjs → DbToOnlineModal-60317a16.mjs} +1 -1
- package/{DetailForm-c592b8d8.mjs → DetailForm-b92a5e9d.mjs} +6 -6
- package/{DropMenuItem-1e49abea.mjs → DropMenuItem-82213be6.mjs} +1 -1
- package/{EnhanceJavaModal-d5a93f2a.mjs → EnhanceJavaModal-6ebefc8b.mjs} +1 -1
- package/{EnhanceJsHistory-8ddb0657.mjs → EnhanceJsHistory-8d9b86ca.mjs} +2 -2
- package/{EnhanceJsModal-dc4f9ade.mjs → EnhanceJsModal-9439e6f8.mjs} +4 -3
- package/{EnhanceSqlModal-984f045d.mjs → EnhanceSqlModal-ea4592bf.mjs} +1 -1
- package/{ExtendConfigModal-7d70f362.mjs → ExtendConfigModal-f509db46.mjs} +1 -1
- package/{FieldExtendJsonModal-bf04d70e.mjs → FieldExtendJsonModal-73bab5b5.mjs} +2 -2
- package/{FileSelectModal-ffc69d4a.mjs → FileSelectModal-49d6dade.mjs} +1 -1
- package/{ForeignKeyTable-92decaea.mjs → ForeignKeyTable-330963c1.mjs} +2 -2
- package/{IndexTable-2ded2014.mjs → IndexTable-c0478faa.mjs} +2 -2
- package/{JModalTip-a927f85d.mjs → JModalTip-b1d19eaa.mjs} +1 -1
- package/{JOnlineSearchSelect-04ec87d0.mjs → JOnlineSearchSelect-97662e1b.mjs} +1 -1
- package/{LeftDepart-52cb6743.mjs → LeftDepart-4b1003f0.mjs} +1 -1
- package/{LeftRole-b0e0b496.mjs → LeftRole-8486ba4f.mjs} +1 -1
- package/{LeftUser-dd4b10e2.mjs → LeftUser-09894a2f.mjs} +1 -1
- package/{LinkTableConfigModal-7eeb3e58.mjs → LinkTableConfigModal-cd0980e9.mjs} +1 -1
- package/{LinkTableFieldConfigModal-b078fcef.mjs → LinkTableFieldConfigModal-f4106ab7.mjs} +1 -1
- package/{LinkTableListPiece-e016b8e6.mjs → LinkTableListPiece-4187ad7d.mjs} +1 -1
- package/{ModalFormDemo-aaa719a7.mjs → ModalFormDemo-4ec79769.mjs} +1 -1
- package/OnlCgformErpList-63089149.mjs +498 -0
- package/{OnlCgformErpSubTable-e1b88312.mjs → OnlCgformErpSubTable-421e2051.mjs} +18 -17
- package/{OnlCgformInnerSubTable-6b6fa15a.mjs → OnlCgformInnerSubTable-9616ebf2.mjs} +16 -15
- package/{OnlCgformInnerTableList-b283a525.mjs → OnlCgformInnerTableList-5ed887e4.mjs} +160 -154
- package/{OnlCgformTabList-91e3dd78.mjs → OnlCgformTabList-c03a1d0a.mjs} +160 -154
- package/OnlineAutoList-e5a61211.mjs +557 -0
- package/{OnlineAutoModal-95f46901.mjs → OnlineAutoModal-38f2d522.mjs} +7 -7
- package/OnlineAutoTreeList-16fa962f.mjs +531 -0
- package/{OnlineCustomModal-c8b1e780.mjs → OnlineCustomModal-7e31297e.mjs} +7 -7
- package/{OnlineDetailModal-5b412bb9.mjs → OnlineDetailModal-79085ba8.mjs} +8 -8
- package/{OnlineForm-58282699.mjs → OnlineForm-0438f4bf.mjs} +6 -6
- package/{OnlineFormDetail-fc087725.mjs → OnlineFormDetail-76d243ed.mjs} +89 -83
- package/{OnlineFormUrlAdd-bc9105bb.mjs → OnlineFormUrlAdd-2e05ba0f.mjs} +12 -11
- package/{OnlineFormUrlDetail-ad912560.mjs → OnlineFormUrlDetail-06b2d9e6.mjs} +19 -18
- package/{OnlineFormUrlEdit-f2fa79ff.mjs → OnlineFormUrlEdit-77ac4bba.mjs} +12 -11
- package/{OnlineFormUrlSuccess-76813d45.mjs → OnlineFormUrlSuccess-cb3f7be4.mjs} +1 -1
- package/{OnlineQueryForm-9248341f.mjs → OnlineQueryForm-528af6ed.mjs} +5 -5
- package/{OnlineSearchFormItem-1e437bd3.mjs → OnlineSearchFormItem-51eefaf4.mjs} +2 -2
- package/{OnlineSelectCascade-d631ed72.mjs → OnlineSelectCascade-b218691c.mjs} +1 -1
- package/{OnlineSubFormDetail-8be879b9.mjs → OnlineSubFormDetail-a1b7f33f.mjs} +6 -6
- package/{OnlineTabAutoModal-c9ca3c24.mjs → OnlineTabAutoModal-1c7c4ed2.mjs} +7 -7
- package/{OnlineTabDetailModal-fd4c9a72.mjs → OnlineTabDetailModal-7c45e727.mjs} +8 -8
- package/{OnlineTabForm-1940e88b.mjs → OnlineTabForm-9682158f.mjs} +7 -7
- package/{OnlineTabFormDetail-2aa67564.mjs → OnlineTabFormDetail-b8650175.mjs} +7 -7
- package/{PageAttributeTable-66e7b485.mjs → PageAttributeTable-21314341.mjs} +6 -6
- package/{PhoneLoginForm-86437a9d.mjs → PhoneLoginForm-c3c16f16.mjs} +62 -62
- package/{ProcessOnlineForm-98ede18d.mjs → ProcessOnlineForm-d6113dec.mjs} +7 -7
- package/{QueryTable-65d3f54f.mjs → QueryTable-413d1366.mjs} +2 -2
- package/{SetSwitchOptions-f914bc17.mjs → SetSwitchOptions-82fd6265.mjs} +1 -1
- package/{ShareAddView-657f0f8b.mjs → ShareAddView-a2dba2ef.mjs} +22 -21
- package/{ShareEditView-1b945fd3.mjs → ShareEditView-ecd590dc.mjs} +22 -21
- package/{ShareView-222ed3d8.mjs → ShareView-84f333e7.mjs} +20 -19
- package/{ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs → ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs} +2 -2
- package/{SingleView-23b0cb4e.mjs → SingleView-d4f29169.mjs} +15 -14
- package/{SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs → SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs} +4 -4
- package/{SuperQuery-46032e66.mjs → SuperQuery-290f5080.mjs} +39 -38
- package/aiModal-6e338c79.mjs +175 -0
- package/{auth.data-626c5083.mjs → auth.data-e44c7975.mjs} +10 -9
- package/{index-a039036e.mjs → index-254a82b7.mjs} +49 -48
- package/index-30c0a14f.mjs +57 -0
- package/{index-f2c2d1cf.mjs → index-7890e2b4.mjs} +1 -1
- package/{index-c5a79b0b.mjs → index-7bab525f.mjs} +3 -3
- package/{index-1a2e8832.mjs → index-9bebbfe5.mjs} +2 -2
- package/{index-cce225be.mjs → index-bc0d747e.mjs} +2 -2
- package/index-c5737cbb.mjs +268 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{useCgformList-f3cb9156.mjs → useCgformList-52631580.mjs} +105 -88
- package/{useCustomHook-acb00837.mjs → useCustomHook-3a17a690.mjs} +11 -9
- package/{useExtendComponent-bb98e568.mjs → useExtendComponent-d1db211d.mjs} +607 -607
- package/useListButton-7f9674a0.mjs +765 -0
- package/{useTableSync-075826a1.mjs → useTableSync-dbfba20e.mjs} +31 -31
- package/CgformAddressModal-1131274c.mjs +0 -260
- package/CgformCopyList-5fba0810.mjs +0 -252
- package/DBAttributeTable-1a45c7b7.mjs +0 -502
- package/OnlCgformErpList-5c5acdaa.mjs +0 -488
- package/OnlineAutoList-84475f1b.mjs +0 -513
- package/OnlineAutoTreeList-20b9ce04.mjs +0 -523
- package/index-2fb8e07f.mjs +0 -239
- package/index-9e1e1e53.mjs +0 -57
- package/useListButton-98908683.mjs +0 -719
|
@@ -1,513 +0,0 @@
|
|
|
1
|
-
var R = (e, m, l) => new Promise((w, f) => {
|
|
2
|
-
var b = (t) => {
|
|
3
|
-
try {
|
|
4
|
-
B(l.next(t));
|
|
5
|
-
} catch (C) {
|
|
6
|
-
f(C);
|
|
7
|
-
}
|
|
8
|
-
}, I = (t) => {
|
|
9
|
-
try {
|
|
10
|
-
B(l.throw(t));
|
|
11
|
-
} catch (C) {
|
|
12
|
-
f(C);
|
|
13
|
-
}
|
|
14
|
-
}, B = (t) => t.done ? w(t.value) : Promise.resolve(t.value).then(b, I);
|
|
15
|
-
B((l = l.apply(e, m)).next());
|
|
16
|
-
});
|
|
17
|
-
import { ref as He, watch as Pe, resolveComponent as p, openBlock as n, createElementBlock as c, normalizeClass as Q, createBlock as u, createCommentVNode as s, withDirectives as N, createVNode as d, vShow as $, withCtx as i, createElementVNode as y, toDisplayString as g, Fragment as J, renderList as qe, createTextVNode as H, mergeProps as Qe, toHandlers as Ne, resolveDynamicComponent as $e, normalizeProps as Je, guardReactiveProps as ze } from "vue";
|
|
18
|
-
import { BasicTable as Ve, TableAction as je } from "/@/components/Table";
|
|
19
|
-
import { useMessage as Ke } from "/@/hooks/web/useMessage";
|
|
20
|
-
import Ue from "./OnlineAutoModal-95f46901.mjs";
|
|
21
|
-
import We from "./OnlineCustomModal-c8b1e780.mjs";
|
|
22
|
-
import Ge from "./OnlineDetailModal-5b412bb9.mjs";
|
|
23
|
-
import Xe from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as Ye, a as Ze } from "./useListButton-98908683.mjs";
|
|
25
|
-
import { O as _e, u as xe, a as eo, g as oo } from "./useExtendComponent-bb98e568.mjs";
|
|
26
|
-
import no from "./OnlineQueryForm-9248341f.mjs";
|
|
27
|
-
import to from "./SuperQuery-46032e66.mjs";
|
|
28
|
-
import { u as ro } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
-
import { N as io } from "./constant-fa63bd66.mjs";
|
|
30
|
-
import { _ as lo } from "./index-9e1e1e53.mjs";
|
|
31
|
-
import "/@/components/Modal";
|
|
32
|
-
import "./OnlineForm-58282699.mjs";
|
|
33
|
-
import "/@/components/Form/index";
|
|
34
|
-
import "/@/utils/http/axios";
|
|
35
|
-
import "lodash-es";
|
|
36
|
-
import "/@/utils";
|
|
37
|
-
import "/@/components/Loading";
|
|
38
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
39
|
-
import "/@/utils/auth";
|
|
40
|
-
import "@ant-design/icons-vue";
|
|
41
|
-
import "/@/hooks/core/useContext";
|
|
42
|
-
import "/@/utils/mitt";
|
|
43
|
-
import "./useCustomHook-acb00837.mjs";
|
|
44
|
-
import "/@/utils/cache";
|
|
45
|
-
import "/@/utils/common/compUtils";
|
|
46
|
-
import "/@/store/modules/user";
|
|
47
|
-
import "/@/hooks/web/useAppInject";
|
|
48
|
-
import "/@/utils/is";
|
|
49
|
-
import "/@/store/modules/permission";
|
|
50
|
-
import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
|
|
51
|
-
import "/@/components/Form/src/componentMap";
|
|
52
|
-
import "/@/utils/propTypes";
|
|
53
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
54
|
-
import "/@/views/system/user/user.api";
|
|
55
|
-
import "/@/utils/desform/customExpression";
|
|
56
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
57
|
-
import "/@/hooks/system/useListPage";
|
|
58
|
-
import "vue-router";
|
|
59
|
-
import "/@/components/Form/src/utils/Area";
|
|
60
|
-
import "/@/components/Preview/index";
|
|
61
|
-
import "./LinkTableListPiece-e016b8e6.mjs";
|
|
62
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
63
|
-
import "/@/api/common/api";
|
|
64
|
-
import "/@/assets/images/placeholderImage.png";
|
|
65
|
-
import "./OnlineSelectCascade-d631ed72.mjs";
|
|
66
|
-
import "./JModalTip-a927f85d.mjs";
|
|
67
|
-
import "ant-design-vue";
|
|
68
|
-
import "@vueuse/core";
|
|
69
|
-
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
70
|
-
import "./OnlineFormDetail-fc087725.mjs";
|
|
71
|
-
import "./DetailForm-c592b8d8.mjs";
|
|
72
|
-
import "/@/utils/dict";
|
|
73
|
-
import "/@/utils/dict/index";
|
|
74
|
-
import "/@/components/Markdown";
|
|
75
|
-
import "./OnlineSubFormDetail-8be879b9.mjs";
|
|
76
|
-
import "/@/router";
|
|
77
|
-
import "/@/hooks/core/onMountedOrActivated";
|
|
78
|
-
import "/@/store/modules/multipleTab";
|
|
79
|
-
import "./cgformState-d9f8ec42.mjs";
|
|
80
|
-
import "pinia";
|
|
81
|
-
import "/@/store";
|
|
82
|
-
import "/@/hooks/system/useMethods";
|
|
83
|
-
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
84
|
-
import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
85
|
-
import "/@/utils/index";
|
|
86
|
-
import "/@/hooks/web/useDesign";
|
|
87
|
-
const ao = {
|
|
88
|
-
name: "OnlineAutoList",
|
|
89
|
-
components: {
|
|
90
|
-
BasicTable: Ve,
|
|
91
|
-
TableAction: je,
|
|
92
|
-
OnlineAutoModal: Ue,
|
|
93
|
-
JImportModal: Xe,
|
|
94
|
-
OnlineQueryForm: no,
|
|
95
|
-
OnlineSuperQuery: to,
|
|
96
|
-
OnlineCustomModal: We,
|
|
97
|
-
OnlineDetailModal: Ge,
|
|
98
|
-
OnlinePopModal: _e
|
|
99
|
-
},
|
|
100
|
-
setup() {
|
|
101
|
-
const { createMessage: e } = Ke(), {
|
|
102
|
-
ID: m,
|
|
103
|
-
onlineTableContext: l,
|
|
104
|
-
onlineQueryFormOuter: w,
|
|
105
|
-
loading: f,
|
|
106
|
-
reload: b,
|
|
107
|
-
dataSource: I,
|
|
108
|
-
pagination: B,
|
|
109
|
-
handleSpecialConfig: t,
|
|
110
|
-
getColumnList: C,
|
|
111
|
-
handleChangeInTable: v,
|
|
112
|
-
loadData: L,
|
|
113
|
-
superQueryButtonRef: M,
|
|
114
|
-
superQueryStatus: T,
|
|
115
|
-
handleSuperQuery: D,
|
|
116
|
-
onlineExtConfigJson: S,
|
|
117
|
-
handleFormConfig: E,
|
|
118
|
-
registerCustomModal: O,
|
|
119
|
-
tableReloading: o
|
|
120
|
-
} = Ye();
|
|
121
|
-
if (!m.value)
|
|
122
|
-
throw e.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
123
|
-
let { initCgEnhanceJs: a } = xe(l);
|
|
124
|
-
const {
|
|
125
|
-
buttonSwitch: h,
|
|
126
|
-
cgLinkButtonList: F,
|
|
127
|
-
cgBIBtnMap: z,
|
|
128
|
-
getQueryButtonCfg: V,
|
|
129
|
-
getResetButtonCfg: j,
|
|
130
|
-
getFormConfirmButtonCfg: K,
|
|
131
|
-
cgTopButtonList: U,
|
|
132
|
-
importUrl: W,
|
|
133
|
-
registerModal: G,
|
|
134
|
-
handleAdd: X,
|
|
135
|
-
handleEdit: Y,
|
|
136
|
-
handleBatchDelete: Z,
|
|
137
|
-
registerImportModal: _,
|
|
138
|
-
onImportExcel: x,
|
|
139
|
-
onExportExcel: P,
|
|
140
|
-
cgButtonJsHandler: ee,
|
|
141
|
-
cgButtonActionHandler: oe,
|
|
142
|
-
cgButtonLinkHandler: ne,
|
|
143
|
-
handleSubmitFlow: te,
|
|
144
|
-
getDropDownActions: re,
|
|
145
|
-
getActions: ie,
|
|
146
|
-
initButtonList: le,
|
|
147
|
-
initButtonSwitch: ae,
|
|
148
|
-
registerDetailModal: pe,
|
|
149
|
-
registerBpmModal: ue
|
|
150
|
-
} = Ze(l, S), A = He(!1);
|
|
151
|
-
function se() {
|
|
152
|
-
return R(this, null, function* () {
|
|
153
|
-
try {
|
|
154
|
-
A.value = !0, yield P();
|
|
155
|
-
} finally {
|
|
156
|
-
setTimeout(() => A.value = !1, 1500);
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
const {
|
|
161
|
-
columns: de,
|
|
162
|
-
actionColumn: me,
|
|
163
|
-
selectedKeys: ce,
|
|
164
|
-
rowSelection: ge,
|
|
165
|
-
enableScrollBar: fe,
|
|
166
|
-
tableScroll: Be,
|
|
167
|
-
downloadRowFile: Ce,
|
|
168
|
-
getImgView: he,
|
|
169
|
-
getPcaText: ye,
|
|
170
|
-
getFormatDate: be,
|
|
171
|
-
handleColumnResult: Ie,
|
|
172
|
-
hrefComponent: Me,
|
|
173
|
-
viewOnlineCellImage: Se,
|
|
174
|
-
hrefMainTableId: ke,
|
|
175
|
-
registerOnlineHrefModal: we,
|
|
176
|
-
registerPopModal: Te,
|
|
177
|
-
openPopModal: Re,
|
|
178
|
-
onlinePopModalRef: ve,
|
|
179
|
-
popTableId: q,
|
|
180
|
-
handleClickFieldHref: Le
|
|
181
|
-
} = eo(l, S);
|
|
182
|
-
Pe(
|
|
183
|
-
m,
|
|
184
|
-
() => {
|
|
185
|
-
De();
|
|
186
|
-
},
|
|
187
|
-
{ immediate: !0 }
|
|
188
|
-
);
|
|
189
|
-
function De() {
|
|
190
|
-
return R(this, null, function* () {
|
|
191
|
-
f.value = !0;
|
|
192
|
-
let r = yield C(io);
|
|
193
|
-
Ee(r), yield L(), f.value = !1, l.execButtonEnhance("setup");
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
function Ee(r) {
|
|
197
|
-
let k = a(r.enhanceJs);
|
|
198
|
-
l.EnhanceJS = k, le(r.cgButtonList), ae(r.hideColumns), Ie(r), t(r);
|
|
199
|
-
}
|
|
200
|
-
function Oe(r) {
|
|
201
|
-
l.queryParam = r, b({ mode: "search" });
|
|
202
|
-
}
|
|
203
|
-
function Fe(r) {
|
|
204
|
-
return R(this, null, function* () {
|
|
205
|
-
yield oo(M), M.value.init(r);
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
function Ae(r) {
|
|
209
|
-
q.value = r.id;
|
|
210
|
-
let k = {
|
|
211
|
-
title: r.describe
|
|
212
|
-
};
|
|
213
|
-
r.record && r.record.id && (k.record = r.record, k.isUpdate = !0), Re(!0, k);
|
|
214
|
-
}
|
|
215
|
-
return ro(Ae), {
|
|
216
|
-
ID: m,
|
|
217
|
-
// 查询区域
|
|
218
|
-
onlineQueryFormOuter: w,
|
|
219
|
-
queryWithCondition: Oe,
|
|
220
|
-
onQueryFormLoaded: Fe,
|
|
221
|
-
reload: b,
|
|
222
|
-
//高级查询
|
|
223
|
-
superQueryButtonRef: M,
|
|
224
|
-
superQueryStatus: T,
|
|
225
|
-
handleSuperQuery: D,
|
|
226
|
-
// table区域
|
|
227
|
-
loading: f,
|
|
228
|
-
columns: de,
|
|
229
|
-
dataSource: I,
|
|
230
|
-
pagination: B,
|
|
231
|
-
actionColumn: me,
|
|
232
|
-
rowSelection: ge,
|
|
233
|
-
selectedKeys: ce,
|
|
234
|
-
tableScroll: Be,
|
|
235
|
-
enableScrollBar: fe,
|
|
236
|
-
handleChangeInTable: v,
|
|
237
|
-
//按钮
|
|
238
|
-
buttonSwitch: h,
|
|
239
|
-
handleAdd: X,
|
|
240
|
-
handleEdit: Y,
|
|
241
|
-
onImportExcel: x,
|
|
242
|
-
onExportExcel: P,
|
|
243
|
-
exportLoading: A,
|
|
244
|
-
onExportExcelOverride: se,
|
|
245
|
-
cgBIBtnMap: z,
|
|
246
|
-
getQueryButtonCfg: V,
|
|
247
|
-
getResetButtonCfg: j,
|
|
248
|
-
getFormConfirmButtonCfg: K,
|
|
249
|
-
cgTopButtonList: U,
|
|
250
|
-
cgLinkButtonList: F,
|
|
251
|
-
cgButtonJsHandler: ee,
|
|
252
|
-
cgButtonActionHandler: oe,
|
|
253
|
-
cgButtonLinkHandler: ne,
|
|
254
|
-
handleBatchDelete: Z,
|
|
255
|
-
// table-slot
|
|
256
|
-
downloadRowFile: Ce,
|
|
257
|
-
getImgView: he,
|
|
258
|
-
getPcaText: ye,
|
|
259
|
-
getFormatDate: be,
|
|
260
|
-
// 操作列
|
|
261
|
-
getActions: ie,
|
|
262
|
-
getDropDownActions: re,
|
|
263
|
-
// 弹窗
|
|
264
|
-
registerModal: G,
|
|
265
|
-
registerCustomModal: O,
|
|
266
|
-
registerImportModal: _,
|
|
267
|
-
registerDetailModal: pe,
|
|
268
|
-
importUrl: W,
|
|
269
|
-
handleFormConfig: E,
|
|
270
|
-
onlinePopModalRef: ve,
|
|
271
|
-
//其他
|
|
272
|
-
tableReloading: o,
|
|
273
|
-
handleSubmitFlow: te,
|
|
274
|
-
hrefComponent: Me,
|
|
275
|
-
viewOnlineCellImage: Se,
|
|
276
|
-
hrefMainTableId: ke,
|
|
277
|
-
onlineExtConfigJson: S,
|
|
278
|
-
registerOnlineHrefModal: we,
|
|
279
|
-
registerPopModal: Te,
|
|
280
|
-
popTableId: q,
|
|
281
|
-
registerBpmModal: ue,
|
|
282
|
-
handleClickFieldHref: Le
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
// 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
|
|
286
|
-
// 2. value的问题
|
|
287
|
-
// 3. 变量位置改变后需要 重写api
|
|
288
|
-
// 1添加按钮的时候 预留出样式对象 然后js增强中设置样式对象
|
|
289
|
-
// 2直接设置css字符串 然后通过js document 往head里面增加css片段 全局生效
|
|
290
|
-
};
|
|
291
|
-
const po = {
|
|
292
|
-
key: 0,
|
|
293
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
294
|
-
}, uo = {
|
|
295
|
-
key: 0,
|
|
296
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
297
|
-
}, so = ["src", "onClick"], mo = ["innerHTML", "onClick"], co = ["innerHTML"], go = ["title"];
|
|
298
|
-
function fo(e, m, l, w, f, b) {
|
|
299
|
-
const I = p("a-skeleton"), B = p("online-query-form"), t = p("a-button"), C = p("online-super-query"), v = p("TableAction"), L = p("BasicTable"), M = p("OnlineAutoModal"), T = p("online-detail-modal"), D = p("JImportModal"), S = p("a-modal"), E = p("online-custom-modal"), O = p("online-pop-modal");
|
|
300
|
-
return n(), c("div", {
|
|
301
|
-
class: Q(["p-2", `online-list-${e.ID}`])
|
|
302
|
-
}, [
|
|
303
|
-
e.tableReloading ? (n(), u(I, {
|
|
304
|
-
key: 0,
|
|
305
|
-
active: ""
|
|
306
|
-
})) : s("", !0),
|
|
307
|
-
N(d(B, {
|
|
308
|
-
ref: "onlineQueryFormOuter",
|
|
309
|
-
id: e.ID,
|
|
310
|
-
queryBtnCfg: e.getQueryButtonCfg,
|
|
311
|
-
resetBtnCfg: e.getResetButtonCfg,
|
|
312
|
-
onSearch: e.queryWithCondition,
|
|
313
|
-
onLoaded: e.onQueryFormLoaded
|
|
314
|
-
}, null, 8, ["id", "queryBtnCfg", "resetBtnCfg", "onSearch", "onLoaded"]), [
|
|
315
|
-
[$, !e.tableReloading]
|
|
316
|
-
]),
|
|
317
|
-
e.tableReloading ? s("", !0) : (n(), u(L, {
|
|
318
|
-
key: 1,
|
|
319
|
-
ref: "onlineTable",
|
|
320
|
-
rowKey: "jeecg_row_key",
|
|
321
|
-
canResize: !0,
|
|
322
|
-
bordered: !0,
|
|
323
|
-
showIndexColumn: !1,
|
|
324
|
-
loading: e.loading,
|
|
325
|
-
columns: e.columns,
|
|
326
|
-
dataSource: e.dataSource,
|
|
327
|
-
pagination: e.pagination,
|
|
328
|
-
rowSelection: e.rowSelection,
|
|
329
|
-
actionColumn: e.actionColumn,
|
|
330
|
-
showTableSetting: !0,
|
|
331
|
-
clickToRowSelect: !1,
|
|
332
|
-
scroll: e.tableScroll,
|
|
333
|
-
onTableRedo: e.reload,
|
|
334
|
-
class: Q({ "j-table-force-nowrap": e.enableScrollBar }),
|
|
335
|
-
onChange: e.handleChangeInTable
|
|
336
|
-
}, {
|
|
337
|
-
tableTitle: i(() => [
|
|
338
|
-
e.buttonSwitch.add && e.cgBIBtnMap.add.enabled ? (n(), u(t, {
|
|
339
|
-
key: 0,
|
|
340
|
-
type: "primary",
|
|
341
|
-
preIcon: e.cgBIBtnMap.add.buttonIcon,
|
|
342
|
-
onClick: e.handleAdd
|
|
343
|
-
}, {
|
|
344
|
-
default: i(() => [
|
|
345
|
-
y("span", null, g(e.cgBIBtnMap.add.buttonName), 1)
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
}, 8, ["preIcon", "onClick"])) : s("", !0),
|
|
349
|
-
e.buttonSwitch.import && e.cgBIBtnMap.import.enabled ? (n(), u(t, {
|
|
350
|
-
key: 1,
|
|
351
|
-
type: "primary",
|
|
352
|
-
preIcon: e.cgBIBtnMap.import.buttonIcon,
|
|
353
|
-
onClick: e.onImportExcel
|
|
354
|
-
}, {
|
|
355
|
-
default: i(() => [
|
|
356
|
-
y("span", null, g(e.cgBIBtnMap.import.buttonName), 1)
|
|
357
|
-
]),
|
|
358
|
-
_: 1
|
|
359
|
-
}, 8, ["preIcon", "onClick"])) : s("", !0),
|
|
360
|
-
e.buttonSwitch.export && e.cgBIBtnMap.export.enabled ? (n(), u(t, {
|
|
361
|
-
key: 2,
|
|
362
|
-
type: "primary",
|
|
363
|
-
preIcon: e.cgBIBtnMap.export.buttonIcon,
|
|
364
|
-
loading: e.exportLoading,
|
|
365
|
-
onClick: e.onExportExcelOverride
|
|
366
|
-
}, {
|
|
367
|
-
default: i(() => [
|
|
368
|
-
y("span", null, g(e.cgBIBtnMap.export.buttonName), 1)
|
|
369
|
-
]),
|
|
370
|
-
_: 1
|
|
371
|
-
}, 8, ["preIcon", "loading", "onClick"])) : s("", !0),
|
|
372
|
-
e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (n(!0), c(J, { key: 3 }, qe(e.cgTopButtonList, (o, a) => (n(), c(J, null, [
|
|
373
|
-
o.optType == "js" ? (n(), u(t, {
|
|
374
|
-
key: "cgbtn" + a,
|
|
375
|
-
onClick: (h) => e.cgButtonJsHandler(o.buttonCode),
|
|
376
|
-
type: "primary",
|
|
377
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
378
|
-
}, {
|
|
379
|
-
default: i(() => [
|
|
380
|
-
H(g(o.buttonName), 1)
|
|
381
|
-
]),
|
|
382
|
-
_: 2
|
|
383
|
-
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), u(t, {
|
|
384
|
-
key: "cgbtn" + a,
|
|
385
|
-
onClick: (h) => e.cgButtonActionHandler(o.buttonCode),
|
|
386
|
-
type: "primary",
|
|
387
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
388
|
-
}, {
|
|
389
|
-
default: i(() => [
|
|
390
|
-
H(g(o.buttonName), 1)
|
|
391
|
-
]),
|
|
392
|
-
_: 2
|
|
393
|
-
}, 1032, ["onClick", "preIcon"])) : s("", !0)
|
|
394
|
-
], 64))), 256)) : s("", !0),
|
|
395
|
-
e.buttonSwitch.batch_delete && e.cgBIBtnMap.batch_delete.enabled ? N((n(), u(t, {
|
|
396
|
-
key: 4,
|
|
397
|
-
preIcon: e.cgBIBtnMap.batch_delete.buttonIcon,
|
|
398
|
-
onClick: e.handleBatchDelete
|
|
399
|
-
}, {
|
|
400
|
-
default: i(() => [
|
|
401
|
-
y("span", null, g(e.cgBIBtnMap.batch_delete.buttonName), 1)
|
|
402
|
-
]),
|
|
403
|
-
_: 1
|
|
404
|
-
}, 8, ["preIcon", "onClick"])), [
|
|
405
|
-
[$, e.selectedKeys.length > 0]
|
|
406
|
-
]) : s("", !0),
|
|
407
|
-
e.buttonSwitch.super_query && e.cgBIBtnMap.super_query.enabled ? (n(), u(C, {
|
|
408
|
-
key: 5,
|
|
409
|
-
ref: "superQueryButtonRef",
|
|
410
|
-
online: "",
|
|
411
|
-
status: e.superQueryStatus,
|
|
412
|
-
queryBtnCfg: e.cgBIBtnMap.super_query,
|
|
413
|
-
onSearch: e.handleSuperQuery
|
|
414
|
-
}, null, 8, ["status", "queryBtnCfg", "onSearch"])) : s("", !0)
|
|
415
|
-
]),
|
|
416
|
-
fileSlot: i(({ text: o, record: a, column: h }) => [
|
|
417
|
-
o ? (n(), u(t, {
|
|
418
|
-
key: 1,
|
|
419
|
-
ghost: !0,
|
|
420
|
-
type: "primary",
|
|
421
|
-
preIcon: "ant-design:download",
|
|
422
|
-
size: "small",
|
|
423
|
-
onClick: (F) => e.downloadRowFile(o, a, h, e.ID)
|
|
424
|
-
}, {
|
|
425
|
-
default: i(() => m[0] || (m[0] = [
|
|
426
|
-
H(" 下载 ")
|
|
427
|
-
])),
|
|
428
|
-
_: 2
|
|
429
|
-
}, 1032, ["onClick"])) : (n(), c("span", po, "无文件"))
|
|
430
|
-
]),
|
|
431
|
-
imgSlot: i(({ text: o }) => [
|
|
432
|
-
o ? (n(), c("img", {
|
|
433
|
-
key: 1,
|
|
434
|
-
src: e.getImgView(o),
|
|
435
|
-
alt: "图片不存在",
|
|
436
|
-
class: "online-cell-image",
|
|
437
|
-
onClick: (a) => e.viewOnlineCellImage(o)
|
|
438
|
-
}, null, 8, so)) : (n(), c("span", uo, "无图片"))
|
|
439
|
-
]),
|
|
440
|
-
htmlSlot: i(({ text: o, column: a, record: h }) => [
|
|
441
|
-
a.fieldHref ? (n(), c("a", {
|
|
442
|
-
key: 0,
|
|
443
|
-
innerHTML: o,
|
|
444
|
-
onClick: (F) => e.handleClickFieldHref(a.fieldHref, h)
|
|
445
|
-
}, null, 8, mo)) : (n(), c("div", {
|
|
446
|
-
key: 1,
|
|
447
|
-
innerHTML: o
|
|
448
|
-
}, null, 8, co))
|
|
449
|
-
]),
|
|
450
|
-
pcaSlot: i(({ text: o }) => [
|
|
451
|
-
y("div", {
|
|
452
|
-
title: e.getPcaText(o)
|
|
453
|
-
}, g(e.getPcaText(o)), 9, go)
|
|
454
|
-
]),
|
|
455
|
-
dateSlot: i(({ text: o, column: a }) => [
|
|
456
|
-
y("span", null, g(e.getFormatDate(o, a)), 1)
|
|
457
|
-
]),
|
|
458
|
-
action: i(({ record: o }) => [
|
|
459
|
-
d(v, {
|
|
460
|
-
actions: e.getActions(o),
|
|
461
|
-
dropDownActions: e.getDropDownActions(o)
|
|
462
|
-
}, null, 8, ["actions", "dropDownActions"])
|
|
463
|
-
]),
|
|
464
|
-
_: 1
|
|
465
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
466
|
-
d(M, {
|
|
467
|
-
onRegister: e.registerModal,
|
|
468
|
-
id: e.ID,
|
|
469
|
-
cgBIBtnMap: e.cgBIBtnMap,
|
|
470
|
-
buttonSwitch: e.buttonSwitch,
|
|
471
|
-
confirmBtnCfg: e.getFormConfirmButtonCfg,
|
|
472
|
-
onSuccess: e.reload,
|
|
473
|
-
onFormConfig: e.handleFormConfig
|
|
474
|
-
}, null, 8, ["onRegister", "id", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg", "onSuccess", "onFormConfig"]),
|
|
475
|
-
d(T, {
|
|
476
|
-
id: e.ID,
|
|
477
|
-
onRegister: e.registerDetailModal
|
|
478
|
-
}, null, 8, ["id", "onRegister"]),
|
|
479
|
-
d(D, {
|
|
480
|
-
onRegister: e.registerImportModal,
|
|
481
|
-
url: e.importUrl(),
|
|
482
|
-
onOk: e.reload,
|
|
483
|
-
online: ""
|
|
484
|
-
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
485
|
-
d(S, Qe(e.hrefComponent.model, Ne(e.hrefComponent.on)), {
|
|
486
|
-
default: i(() => [
|
|
487
|
-
(n(), u($e(e.hrefComponent.is), Je(ze(e.hrefComponent.params)), null, 16))
|
|
488
|
-
]),
|
|
489
|
-
_: 1
|
|
490
|
-
}, 16),
|
|
491
|
-
d(E, {
|
|
492
|
-
onRegister: e.registerCustomModal,
|
|
493
|
-
onSuccess: e.reload
|
|
494
|
-
}, null, 8, ["onRegister", "onSuccess"]),
|
|
495
|
-
d(T, {
|
|
496
|
-
id: e.hrefMainTableId,
|
|
497
|
-
onRegister: e.registerOnlineHrefModal,
|
|
498
|
-
defaultFullscreen: !1
|
|
499
|
-
}, null, 8, ["id", "onRegister"]),
|
|
500
|
-
d(O, {
|
|
501
|
-
ref: "onlinePopModalRef",
|
|
502
|
-
id: e.popTableId,
|
|
503
|
-
onRegister: e.registerPopModal,
|
|
504
|
-
onSuccess: e.reload,
|
|
505
|
-
request: "",
|
|
506
|
-
topTip: ""
|
|
507
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
508
|
-
], 2);
|
|
509
|
-
}
|
|
510
|
-
const Hn = /* @__PURE__ */ lo(ao, [["render", fo]]);
|
|
511
|
-
export {
|
|
512
|
-
Hn as default
|
|
513
|
-
};
|