@jeecg/online 3.7.0-beta → 3.7.4-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 +254 -0
- package/AiModal-26903538.mjs +84 -0
- package/AppForgetPassword-52443f23.mjs +310 -0
- package/AppLogin-ecf798fa.mjs +287 -0
- package/AppLoginHeader-4432c584.mjs +27 -0
- package/AppNameEmail-3303a037.mjs +180 -0
- package/AppRegister-79a62c59.mjs +303 -0
- package/AppTenant-f0bef7ca.mjs +373 -0
- package/AppThirdForm-fd8b4604.mjs +189 -0
- package/AuthButtonConfig-d5bffca0.mjs +156 -0
- package/AuthButtonTree-b0bd6c40.mjs +165 -0
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
- package/AuthFieldConfig-f1e224cc.mjs +245 -0
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1131274c.mjs +260 -0
- package/CgformCopyList-5fba0810.mjs +252 -0
- package/CgformModal-c4a4e0c2.mjs +667 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/CodeFileViewModal-405e2b58.mjs +253 -0
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
- package/DbToOnlineModal-f28ff0a3.mjs +168 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
- package/JModalTip-a927f85d.mjs +49 -0
- package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
- package/OnlCgformInnerTableList-b283a525.mjs +474 -0
- package/OnlCgformTabList-91e3dd78.mjs +424 -0
- package/OnlineAutoList-84475f1b.mjs +513 -0
- package/OnlineAutoModal-95f46901.mjs +260 -0
- package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
- package/OnlineCustomModal-c8b1e780.mjs +232 -0
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
- package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
- package/SetSwitchOptions-f914bc17.mjs +62 -0
- package/ShareAddView-657f0f8b.mjs +86 -0
- package/ShareEditView-1b945fd3.mjs +92 -0
- package/ShareView-222ed3d8.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
- package/SingleView-23b0cb4e.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
- package/SuperQuery-46032e66.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/auth.api-53df4c33.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
- package/index-c5a79b0b.mjs +219 -0
- package/index-cce225be.mjs +110 -0
- package/index-f2c2d1cf.mjs +74 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-f3cb9156.mjs +378 -0
- package/useExtendComponent-bb98e568.mjs +4460 -0
- package/useListButton-98908683.mjs +719 -0
- package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
- package/useTableSync-075826a1.mjs +89 -0
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-fe3988fb.mjs +0 -84
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthButtonTree-589395ed.mjs +0 -156
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/AuthFieldTree-b7cd091e.mjs +0 -232
- package/CgformCopyList-8077ccc6.mjs +0 -250
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeFileListModal-0e26b7e0.mjs +0 -158
- package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/CustomButtonList-37639061.mjs +0 -381
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JModalTip-4a83aaed.mjs +0 -49
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/LeftRole-7d8c5acc.mjs +0 -86
- package/OnlCgformErpList-30e416c8.mjs +0 -470
- package/OnlCgformErpSubTable-9a876058.mjs +0 -427
- package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
- package/OnlCgformTabList-7a2f2c03.mjs +0 -408
- package/OnlineAutoList-46c6c8b9.mjs +0 -493
- package/OnlineAutoModal-971bef13.mjs +0 -236
- package/OnlineAutoTreeList-3b92454c.mjs +0 -502
- package/OnlineCustomModal-594244f3.mjs +0 -232
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/OnlineTabForm-9ad7d29a.mjs +0 -805
- package/SetSwitchOptions-a452fa0f.mjs +0 -62
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useCgformList-8755a94e.mjs +0 -426
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useListButton-7ddb9a46.mjs +0 -697
- 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_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -1,493 +0,0 @@
|
|
|
1
|
-
var T = (e, C, l) => new Promise((M, g) => {
|
|
2
|
-
var S = (u) => {
|
|
3
|
-
try {
|
|
4
|
-
r(l.next(u));
|
|
5
|
-
} catch (f) {
|
|
6
|
-
g(f);
|
|
7
|
-
}
|
|
8
|
-
}, k = (u) => {
|
|
9
|
-
try {
|
|
10
|
-
r(l.throw(u));
|
|
11
|
-
} catch (f) {
|
|
12
|
-
g(f);
|
|
13
|
-
}
|
|
14
|
-
}, r = (u) => u.done ? M(u.value) : Promise.resolve(u.value).then(S, k);
|
|
15
|
-
r((l = l.apply(e, C)).next());
|
|
16
|
-
});
|
|
17
|
-
import { ref as ve, watch as De, resolveComponent as s, openBlock as n, createElementBlock as m, normalizeClass as _, createVNode as p, createBlock as d, withCtx as i, createTextVNode as y, createCommentVNode as c, Fragment as Q, renderList as Ee, toDisplayString as B, withDirectives as Fe, vShow as Oe, createElementVNode as $, mergeProps as Ae, toHandlers as He, resolveDynamicComponent as Pe, normalizeProps as _e, guardReactiveProps as Qe } from "vue";
|
|
18
|
-
import { BasicTable as $e, TableAction as Je } from "/@/components/Table";
|
|
19
|
-
import { useMessage as qe } from "/@/hooks/web/useMessage";
|
|
20
|
-
import Ne from "./OnlineAutoModal-971bef13.mjs";
|
|
21
|
-
import ze from "./OnlineCustomModal-594244f3.mjs";
|
|
22
|
-
import Ve from "./OnlineDetailModal-2a271e0b.mjs";
|
|
23
|
-
import je from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as Ke, a as Ue } from "./useListButton-7ddb9a46.mjs";
|
|
25
|
-
import { O as Ge, u as We, a as Xe, g as Ye } from "./useExtendComponent-bb7cca20.mjs";
|
|
26
|
-
import Ze from "./OnlineQueryForm-998c12a4.mjs";
|
|
27
|
-
import xe from "./SuperQuery-cbfba908.mjs";
|
|
28
|
-
import { u as eo } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
-
import { N as oo } from "./constant-fa63bd66.mjs";
|
|
30
|
-
import { _ as no } from "./index-173949bb.mjs";
|
|
31
|
-
import "/@/components/Modal";
|
|
32
|
-
import "./OnlineForm-018981b2.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 "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
|
|
50
|
-
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
51
|
-
import "./OnlineFormDetail-e036cd11.mjs";
|
|
52
|
-
import "./DetailForm-4aa2570b.mjs";
|
|
53
|
-
import "/@/utils/propTypes";
|
|
54
|
-
import "/@/utils/dict";
|
|
55
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
56
|
-
import "/@/utils/dict/index";
|
|
57
|
-
import "/@/api/common/api";
|
|
58
|
-
import "/@/components/Form/src/utils/Area";
|
|
59
|
-
import "/@/components/Preview/index";
|
|
60
|
-
import "/@/components/Markdown";
|
|
61
|
-
import "./OnlineSubFormDetail-03f8ee5c.mjs";
|
|
62
|
-
import "vue-router";
|
|
63
|
-
import "/@/router";
|
|
64
|
-
import "/@/hooks/core/onMountedOrActivated";
|
|
65
|
-
import "/@/store/modules/multipleTab";
|
|
66
|
-
import "./cgformState-d9f8ec42.mjs";
|
|
67
|
-
import "pinia";
|
|
68
|
-
import "/@/store";
|
|
69
|
-
import "ant-design-vue";
|
|
70
|
-
import "/@/hooks/system/useMethods";
|
|
71
|
-
import "/@/components/Form/src/componentMap";
|
|
72
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
73
|
-
import "/@/views/system/user/user.api";
|
|
74
|
-
import "/@/utils/desform/customExpression";
|
|
75
|
-
import "/@/store/modules/permission";
|
|
76
|
-
import "/@/hooks/system/useListPage";
|
|
77
|
-
import "./LinkTableListPiece-2660d709.mjs";
|
|
78
|
-
import "/@/assets/images/placeholderImage.png";
|
|
79
|
-
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
80
|
-
import "./JModalTip-4a83aaed.mjs";
|
|
81
|
-
import "@vueuse/core";
|
|
82
|
-
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
83
|
-
import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
|
|
84
|
-
import "/@/hooks/web/useDesign";
|
|
85
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
86
|
-
const to = {
|
|
87
|
-
name: "OnlineAutoList",
|
|
88
|
-
components: {
|
|
89
|
-
BasicTable: $e,
|
|
90
|
-
TableAction: Je,
|
|
91
|
-
OnlineAutoModal: Ne,
|
|
92
|
-
JImportModal: je,
|
|
93
|
-
OnlineQueryForm: Ze,
|
|
94
|
-
OnlineSuperQuery: xe,
|
|
95
|
-
OnlineCustomModal: ze,
|
|
96
|
-
OnlineDetailModal: Ve,
|
|
97
|
-
OnlinePopModal: Ge
|
|
98
|
-
},
|
|
99
|
-
setup() {
|
|
100
|
-
const { createMessage: e } = qe(), {
|
|
101
|
-
ID: C,
|
|
102
|
-
onlineTableContext: l,
|
|
103
|
-
onlineQueryFormOuter: M,
|
|
104
|
-
loading: g,
|
|
105
|
-
reload: S,
|
|
106
|
-
dataSource: k,
|
|
107
|
-
pagination: r,
|
|
108
|
-
handleSpecialConfig: u,
|
|
109
|
-
getColumnList: f,
|
|
110
|
-
handleChangeInTable: R,
|
|
111
|
-
loadData: L,
|
|
112
|
-
superQueryButtonRef: b,
|
|
113
|
-
superQueryStatus: v,
|
|
114
|
-
handleSuperQuery: D,
|
|
115
|
-
onlineExtConfigJson: w,
|
|
116
|
-
handleFormConfig: E,
|
|
117
|
-
registerCustomModal: F,
|
|
118
|
-
tableReloading: o
|
|
119
|
-
} = Ke();
|
|
120
|
-
if (!C.value)
|
|
121
|
-
throw e.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
122
|
-
let { initCgEnhanceJs: a } = We(l);
|
|
123
|
-
const {
|
|
124
|
-
buttonSwitch: h,
|
|
125
|
-
cgLinkButtonList: O,
|
|
126
|
-
cgTopButtonList: J,
|
|
127
|
-
importUrl: q,
|
|
128
|
-
registerModal: N,
|
|
129
|
-
handleAdd: z,
|
|
130
|
-
handleEdit: V,
|
|
131
|
-
handleBatchDelete: j,
|
|
132
|
-
registerImportModal: K,
|
|
133
|
-
onImportExcel: U,
|
|
134
|
-
onExportExcel: H,
|
|
135
|
-
cgButtonJsHandler: G,
|
|
136
|
-
cgButtonActionHandler: W,
|
|
137
|
-
cgButtonLinkHandler: X,
|
|
138
|
-
handleSubmitFlow: Y,
|
|
139
|
-
getDropDownActions: Z,
|
|
140
|
-
getActions: x,
|
|
141
|
-
initButtonList: ee,
|
|
142
|
-
initButtonSwitch: oe,
|
|
143
|
-
registerDetailModal: ne,
|
|
144
|
-
registerBpmModal: te
|
|
145
|
-
} = Ue(l, w), A = ve(!1);
|
|
146
|
-
function ie() {
|
|
147
|
-
return T(this, null, function* () {
|
|
148
|
-
try {
|
|
149
|
-
A.value = !0, yield H();
|
|
150
|
-
} finally {
|
|
151
|
-
setTimeout(() => A.value = !1, 1500);
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
const {
|
|
156
|
-
columns: re,
|
|
157
|
-
actionColumn: le,
|
|
158
|
-
selectedKeys: ae,
|
|
159
|
-
rowSelection: se,
|
|
160
|
-
enableScrollBar: ue,
|
|
161
|
-
tableScroll: pe,
|
|
162
|
-
downloadRowFile: de,
|
|
163
|
-
getImgView: me,
|
|
164
|
-
getPcaText: ce,
|
|
165
|
-
getFormatDate: ge,
|
|
166
|
-
handleColumnResult: fe,
|
|
167
|
-
hrefComponent: he,
|
|
168
|
-
viewOnlineCellImage: ye,
|
|
169
|
-
hrefMainTableId: Ce,
|
|
170
|
-
registerOnlineHrefModal: be,
|
|
171
|
-
registerPopModal: Se,
|
|
172
|
-
openPopModal: ke,
|
|
173
|
-
onlinePopModalRef: we,
|
|
174
|
-
popTableId: P,
|
|
175
|
-
handleClickFieldHref: Ie
|
|
176
|
-
} = Xe(l, w);
|
|
177
|
-
De(
|
|
178
|
-
C,
|
|
179
|
-
() => {
|
|
180
|
-
Me();
|
|
181
|
-
},
|
|
182
|
-
{ immediate: !0 }
|
|
183
|
-
);
|
|
184
|
-
function Me() {
|
|
185
|
-
return T(this, null, function* () {
|
|
186
|
-
g.value = !0;
|
|
187
|
-
let t = yield f(oo);
|
|
188
|
-
Te(t), yield L(), g.value = !1, l.execButtonEnhance("setup");
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
function Te(t) {
|
|
192
|
-
let I = a(t.enhanceJs);
|
|
193
|
-
l.EnhanceJS = I, ee(t.cgButtonList), oe(t.hideColumns), fe(t), u(t);
|
|
194
|
-
}
|
|
195
|
-
function Be(t) {
|
|
196
|
-
l.queryParam = t, S({ mode: "search" });
|
|
197
|
-
}
|
|
198
|
-
function Re(t) {
|
|
199
|
-
return T(this, null, function* () {
|
|
200
|
-
yield Ye(b), b.value.init(t);
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
function Le(t) {
|
|
204
|
-
P.value = t.id;
|
|
205
|
-
let I = {
|
|
206
|
-
title: t.describe
|
|
207
|
-
};
|
|
208
|
-
t.record && t.record.id && (I.record = t.record, I.isUpdate = !0), ke(!0, I);
|
|
209
|
-
}
|
|
210
|
-
return eo(Le), {
|
|
211
|
-
ID: C,
|
|
212
|
-
// 查询区域
|
|
213
|
-
onlineQueryFormOuter: M,
|
|
214
|
-
queryWithCondition: Be,
|
|
215
|
-
onQueryFormLoaded: Re,
|
|
216
|
-
reload: S,
|
|
217
|
-
//高级查询
|
|
218
|
-
superQueryButtonRef: b,
|
|
219
|
-
superQueryStatus: v,
|
|
220
|
-
handleSuperQuery: D,
|
|
221
|
-
// table区域
|
|
222
|
-
loading: g,
|
|
223
|
-
columns: re,
|
|
224
|
-
dataSource: k,
|
|
225
|
-
pagination: r,
|
|
226
|
-
actionColumn: le,
|
|
227
|
-
rowSelection: se,
|
|
228
|
-
selectedKeys: ae,
|
|
229
|
-
tableScroll: pe,
|
|
230
|
-
enableScrollBar: ue,
|
|
231
|
-
handleChangeInTable: R,
|
|
232
|
-
//按钮
|
|
233
|
-
buttonSwitch: h,
|
|
234
|
-
handleAdd: z,
|
|
235
|
-
handleEdit: V,
|
|
236
|
-
onImportExcel: U,
|
|
237
|
-
onExportExcel: H,
|
|
238
|
-
exportLoading: A,
|
|
239
|
-
onExportExcelOverride: ie,
|
|
240
|
-
cgTopButtonList: J,
|
|
241
|
-
cgLinkButtonList: O,
|
|
242
|
-
cgButtonJsHandler: G,
|
|
243
|
-
cgButtonActionHandler: W,
|
|
244
|
-
cgButtonLinkHandler: X,
|
|
245
|
-
handleBatchDelete: j,
|
|
246
|
-
// table-slot
|
|
247
|
-
downloadRowFile: de,
|
|
248
|
-
getImgView: me,
|
|
249
|
-
getPcaText: ce,
|
|
250
|
-
getFormatDate: ge,
|
|
251
|
-
// 操作列
|
|
252
|
-
getActions: x,
|
|
253
|
-
getDropDownActions: Z,
|
|
254
|
-
// 弹窗
|
|
255
|
-
registerModal: N,
|
|
256
|
-
registerCustomModal: F,
|
|
257
|
-
registerImportModal: K,
|
|
258
|
-
registerDetailModal: ne,
|
|
259
|
-
importUrl: q,
|
|
260
|
-
handleFormConfig: E,
|
|
261
|
-
onlinePopModalRef: we,
|
|
262
|
-
//其他
|
|
263
|
-
tableReloading: o,
|
|
264
|
-
handleSubmitFlow: Y,
|
|
265
|
-
hrefComponent: he,
|
|
266
|
-
viewOnlineCellImage: ye,
|
|
267
|
-
hrefMainTableId: Ce,
|
|
268
|
-
onlineExtConfigJson: w,
|
|
269
|
-
registerOnlineHrefModal: be,
|
|
270
|
-
registerPopModal: Se,
|
|
271
|
-
popTableId: P,
|
|
272
|
-
registerBpmModal: te,
|
|
273
|
-
handleClickFieldHref: Ie
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
// 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
|
|
277
|
-
// 2. value的问题
|
|
278
|
-
// 3. 变量位置改变后需要 重写api
|
|
279
|
-
// 1添加按钮的时候 预留出样式对象 然后js增强中设置样式对象
|
|
280
|
-
// 2直接设置css字符串 然后通过js document 往head里面增加css片段 全局生效
|
|
281
|
-
};
|
|
282
|
-
const io = {
|
|
283
|
-
key: 0,
|
|
284
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
285
|
-
}, ro = {
|
|
286
|
-
key: 0,
|
|
287
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
288
|
-
}, lo = ["src", "onClick"], ao = ["innerHTML", "onClick"], so = ["innerHTML"], uo = ["title"];
|
|
289
|
-
function po(e, C, l, M, g, S) {
|
|
290
|
-
const k = s("online-query-form"), r = s("a-button"), u = s("online-super-query"), f = s("TableAction"), R = s("BasicTable"), L = s("OnlineAutoModal"), b = s("online-detail-modal"), v = s("JImportModal"), D = s("a-modal"), w = s("online-custom-modal"), E = s("online-pop-modal"), F = s("BpmGraphicModal");
|
|
291
|
-
return n(), m("div", {
|
|
292
|
-
class: _(["p-2", `online-list-${e.ID}`])
|
|
293
|
-
}, [
|
|
294
|
-
p(k, {
|
|
295
|
-
ref: "onlineQueryFormOuter",
|
|
296
|
-
id: e.ID,
|
|
297
|
-
onSearch: e.queryWithCondition,
|
|
298
|
-
onLoaded: e.onQueryFormLoaded
|
|
299
|
-
}, null, 8, ["id", "onSearch", "onLoaded"]),
|
|
300
|
-
e.tableReloading ? c("", !0) : (n(), d(R, {
|
|
301
|
-
key: 0,
|
|
302
|
-
ref: "onlineTable",
|
|
303
|
-
rowKey: "jeecg_row_key",
|
|
304
|
-
canResize: !0,
|
|
305
|
-
bordered: !0,
|
|
306
|
-
showIndexColumn: !1,
|
|
307
|
-
loading: e.loading,
|
|
308
|
-
columns: e.columns,
|
|
309
|
-
dataSource: e.dataSource,
|
|
310
|
-
pagination: e.pagination,
|
|
311
|
-
rowSelection: e.rowSelection,
|
|
312
|
-
actionColumn: e.actionColumn,
|
|
313
|
-
showTableSetting: !0,
|
|
314
|
-
clickToRowSelect: !1,
|
|
315
|
-
scroll: e.tableScroll,
|
|
316
|
-
onTableRedo: e.reload,
|
|
317
|
-
class: _({ "j-table-force-nowrap": e.enableScrollBar }),
|
|
318
|
-
onChange: e.handleChangeInTable
|
|
319
|
-
}, {
|
|
320
|
-
tableTitle: i(() => [
|
|
321
|
-
e.buttonSwitch.add ? (n(), d(r, {
|
|
322
|
-
key: 0,
|
|
323
|
-
preIcon: "ant-design:plus-outlined",
|
|
324
|
-
type: "primary",
|
|
325
|
-
onClick: e.handleAdd
|
|
326
|
-
}, {
|
|
327
|
-
default: i(() => [
|
|
328
|
-
y("新增")
|
|
329
|
-
]),
|
|
330
|
-
_: 1
|
|
331
|
-
}, 8, ["onClick"])) : c("", !0),
|
|
332
|
-
e.buttonSwitch.import ? (n(), d(r, {
|
|
333
|
-
key: 1,
|
|
334
|
-
preIcon: "ant-design:import-outlined",
|
|
335
|
-
type: "primary",
|
|
336
|
-
onClick: e.onImportExcel
|
|
337
|
-
}, {
|
|
338
|
-
default: i(() => [
|
|
339
|
-
y("导入")
|
|
340
|
-
]),
|
|
341
|
-
_: 1
|
|
342
|
-
}, 8, ["onClick"])) : c("", !0),
|
|
343
|
-
e.buttonSwitch.export ? (n(), d(r, {
|
|
344
|
-
key: 2,
|
|
345
|
-
preIcon: "ant-design:export-outlined",
|
|
346
|
-
type: "primary",
|
|
347
|
-
loading: e.exportLoading,
|
|
348
|
-
onClick: e.onExportExcelOverride
|
|
349
|
-
}, {
|
|
350
|
-
default: i(() => [
|
|
351
|
-
y(" 导出")
|
|
352
|
-
]),
|
|
353
|
-
_: 1
|
|
354
|
-
}, 8, ["loading", "onClick"])) : c("", !0),
|
|
355
|
-
e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (n(!0), m(Q, { key: 3 }, Ee(e.cgTopButtonList, (o, a) => (n(), m(Q, null, [
|
|
356
|
-
o.optType == "js" ? (n(), d(r, {
|
|
357
|
-
key: "cgbtn" + a,
|
|
358
|
-
onClick: (h) => e.cgButtonJsHandler(o.buttonCode),
|
|
359
|
-
type: "primary",
|
|
360
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
361
|
-
}, {
|
|
362
|
-
default: i(() => [
|
|
363
|
-
y(B(o.buttonName), 1)
|
|
364
|
-
]),
|
|
365
|
-
_: 2
|
|
366
|
-
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), d(r, {
|
|
367
|
-
key: "cgbtn" + a,
|
|
368
|
-
onClick: (h) => e.cgButtonActionHandler(o.buttonCode),
|
|
369
|
-
type: "primary",
|
|
370
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
371
|
-
}, {
|
|
372
|
-
default: i(() => [
|
|
373
|
-
y(B(o.buttonName), 1)
|
|
374
|
-
]),
|
|
375
|
-
_: 2
|
|
376
|
-
}, 1032, ["onClick", "preIcon"])) : c("", !0)
|
|
377
|
-
], 64))), 256)) : c("", !0),
|
|
378
|
-
e.buttonSwitch.batch_delete ? Fe((n(), d(r, {
|
|
379
|
-
key: 4,
|
|
380
|
-
preIcon: "ant-design:delete-outlined",
|
|
381
|
-
onClick: e.handleBatchDelete
|
|
382
|
-
}, {
|
|
383
|
-
default: i(() => [
|
|
384
|
-
y(" 批量删除")
|
|
385
|
-
]),
|
|
386
|
-
_: 1
|
|
387
|
-
}, 8, ["onClick"])), [
|
|
388
|
-
[Oe, e.selectedKeys.length > 0]
|
|
389
|
-
]) : c("", !0),
|
|
390
|
-
e.buttonSwitch.super_query ? (n(), d(u, {
|
|
391
|
-
key: 5,
|
|
392
|
-
ref: "superQueryButtonRef",
|
|
393
|
-
online: "",
|
|
394
|
-
status: e.superQueryStatus,
|
|
395
|
-
onSearch: e.handleSuperQuery
|
|
396
|
-
}, null, 8, ["status", "onSearch"])) : c("", !0)
|
|
397
|
-
]),
|
|
398
|
-
fileSlot: i(({ text: o, record: a, column: h }) => [
|
|
399
|
-
o ? (n(), d(r, {
|
|
400
|
-
key: 1,
|
|
401
|
-
ghost: !0,
|
|
402
|
-
type: "primary",
|
|
403
|
-
preIcon: "ant-design:download",
|
|
404
|
-
size: "small",
|
|
405
|
-
onClick: (O) => e.downloadRowFile(o, a, h, e.ID)
|
|
406
|
-
}, {
|
|
407
|
-
default: i(() => [
|
|
408
|
-
y(" 下载 ")
|
|
409
|
-
]),
|
|
410
|
-
_: 2
|
|
411
|
-
}, 1032, ["onClick"])) : (n(), m("span", io, "无文件"))
|
|
412
|
-
]),
|
|
413
|
-
imgSlot: i(({ text: o }) => [
|
|
414
|
-
o ? (n(), m("img", {
|
|
415
|
-
key: 1,
|
|
416
|
-
src: e.getImgView(o),
|
|
417
|
-
alt: "图片不存在",
|
|
418
|
-
class: "online-cell-image",
|
|
419
|
-
onClick: (a) => e.viewOnlineCellImage(o)
|
|
420
|
-
}, null, 8, lo)) : (n(), m("span", ro, "无图片"))
|
|
421
|
-
]),
|
|
422
|
-
htmlSlot: i(({ text: o, column: a, record: h }) => [
|
|
423
|
-
a.fieldHref ? (n(), m("a", {
|
|
424
|
-
key: 0,
|
|
425
|
-
innerHTML: o,
|
|
426
|
-
onClick: (O) => e.handleClickFieldHref(a.fieldHref, h)
|
|
427
|
-
}, null, 8, ao)) : (n(), m("div", {
|
|
428
|
-
key: 1,
|
|
429
|
-
innerHTML: o
|
|
430
|
-
}, null, 8, so))
|
|
431
|
-
]),
|
|
432
|
-
pcaSlot: i(({ text: o }) => [
|
|
433
|
-
$("div", {
|
|
434
|
-
title: e.getPcaText(o)
|
|
435
|
-
}, B(e.getPcaText(o)), 9, uo)
|
|
436
|
-
]),
|
|
437
|
-
dateSlot: i(({ text: o, column: a }) => [
|
|
438
|
-
$("span", null, B(e.getFormatDate(o, a)), 1)
|
|
439
|
-
]),
|
|
440
|
-
action: i(({ record: o }) => [
|
|
441
|
-
p(f, {
|
|
442
|
-
actions: e.getActions(o),
|
|
443
|
-
dropDownActions: e.getDropDownActions(o)
|
|
444
|
-
}, null, 8, ["actions", "dropDownActions"])
|
|
445
|
-
]),
|
|
446
|
-
_: 1
|
|
447
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
448
|
-
p(L, {
|
|
449
|
-
id: e.ID,
|
|
450
|
-
onRegister: e.registerModal,
|
|
451
|
-
onSuccess: e.reload,
|
|
452
|
-
onFormConfig: e.handleFormConfig
|
|
453
|
-
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
454
|
-
p(b, {
|
|
455
|
-
id: e.ID,
|
|
456
|
-
onRegister: e.registerDetailModal
|
|
457
|
-
}, null, 8, ["id", "onRegister"]),
|
|
458
|
-
p(v, {
|
|
459
|
-
onRegister: e.registerImportModal,
|
|
460
|
-
url: e.importUrl(),
|
|
461
|
-
onOk: e.reload,
|
|
462
|
-
online: ""
|
|
463
|
-
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
464
|
-
p(D, Ae(e.hrefComponent.model, He(e.hrefComponent.on)), {
|
|
465
|
-
default: i(() => [
|
|
466
|
-
(n(), d(Pe(e.hrefComponent.is), _e(Qe(e.hrefComponent.params)), null, 16))
|
|
467
|
-
]),
|
|
468
|
-
_: 1
|
|
469
|
-
}, 16),
|
|
470
|
-
p(w, {
|
|
471
|
-
onRegister: e.registerCustomModal,
|
|
472
|
-
onSuccess: e.reload
|
|
473
|
-
}, null, 8, ["onRegister", "onSuccess"]),
|
|
474
|
-
p(b, {
|
|
475
|
-
id: e.hrefMainTableId,
|
|
476
|
-
onRegister: e.registerOnlineHrefModal,
|
|
477
|
-
defaultFullscreen: !1
|
|
478
|
-
}, null, 8, ["id", "onRegister"]),
|
|
479
|
-
p(E, {
|
|
480
|
-
ref: "onlinePopModalRef",
|
|
481
|
-
id: e.popTableId,
|
|
482
|
-
onRegister: e.registerPopModal,
|
|
483
|
-
onSuccess: e.reload,
|
|
484
|
-
request: "",
|
|
485
|
-
topTip: ""
|
|
486
|
-
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
487
|
-
p(F, { onRegister: e.registerBpmModal }, null, 8, ["onRegister"])
|
|
488
|
-
], 2);
|
|
489
|
-
}
|
|
490
|
-
const Dn = /* @__PURE__ */ no(to, [["render", po]]);
|
|
491
|
-
export {
|
|
492
|
-
Dn as default
|
|
493
|
-
};
|