@jeecg/online 3.6.2-beta → 3.7.1-RC
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AiModal-6de335e3.mjs +84 -0
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/AuthDataConfig-5c3a8e6b.mjs +238 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/AuthManagerDrawer-76f15e8d.mjs +119 -0
- package/AuthSetterModal-f5d2e87f.mjs +274 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
- package/CheckDictTable-1bc8322d.mjs +229 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/CodeFileViewModal-2fe911f4.mjs +253 -0
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/CustomButtonList-f07bc695.mjs +397 -0
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/DetailForm-deecbf3d.mjs +486 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
- package/EnhanceJsModal-175357a1.mjs +548 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
- package/ExtendConfigModal-a89ae052.mjs +117 -0
- package/FieldExtendJsonModal-32135634.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
- package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
- package/LinkTableConfigModal-9242d750.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/OnlCgformErpList-58acdfa0.mjs +470 -0
- package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
- package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
- package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
- package/OnlCgformTabList-019ad753.mjs +408 -0
- package/OnlineAutoList-48589d09.mjs +493 -0
- package/OnlineAutoModal-c2928847.mjs +239 -0
- package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
- package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-022ca117.mjs +342 -0
- package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
- package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
- package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
- package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
- package/OnlineTabForm-27655c83.mjs +817 -0
- package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
- package/PageAttributeTable-25e3b7da.mjs +466 -0
- package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
- package/QueryTable-f7bfca7f.mjs +147 -0
- package/SetSwitchOptions-b2af757f.mjs +62 -0
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/auth.data-511e5197.mjs +217 -0
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
- package/index-1d1a6e56.mjs +57 -0
- package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
- package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-f41d4dc1.mjs +426 -0
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-bfac4ecf.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-244ec09f.mjs +0 -125
- package/AuthDataConfig-83891eea.mjs +0 -212
- package/AuthFieldConfig-6b21915c.mjs +0 -139
- package/AuthManagerDrawer-300dd4e4.mjs +0 -114
- package/AuthSetterModal-a414fb35.mjs +0 -267
- package/CgformModal-eccfc38e.mjs +0 -611
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeFileViewModal-373e8058.mjs +0 -244
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/CustomButtonList-02e3d897.mjs +0 -363
- package/DbToOnlineModal-9f13956f.mjs +0 -160
- package/DetailForm-424638eb.mjs +0 -462
- package/EnhanceJsModal-05c73a59.mjs +0 -311
- package/ExtendConfigModal-1dde390a.mjs +0 -111
- package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
- package/JOnlineSearchSelect-c287af12.mjs +0 -95
- package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
- package/OnlCgformErpList-db45e22b.mjs +0 -454
- package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
- package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
- package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
- package/OnlCgformTabList-a9e1e36a.mjs +0 -395
- package/OnlineAutoList-0583a910.mjs +0 -479
- package/OnlineAutoModal-510991eb.mjs +0 -207
- package/OnlineForm-1fa2d893.mjs +0 -750
- package/OnlineFormDetail-0e7294ca.mjs +0 -297
- package/OnlineQueryForm-1bfc8320.mjs +0 -386
- package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
- package/OnlineTabForm-512d3951.mjs +0 -766
- package/OnlineTabFormDetail-5a70219d.mjs +0 -324
- package/PageAttributeTable-965dc58e.mjs +0 -404
- package/QueryTable-eb9a5b21.mjs +0 -115
- package/SuperQuery-5d1ca957.mjs +0 -843
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/auth.data-8be5c9e3.mjs +0 -141
- package/constant-754f1a9d.mjs +0 -9
- package/index-0e3ab3af.mjs +0 -56
- package/useCgformList-423282b7.mjs +0 -400
- package/useExtendComponent-325fe3f1.mjs +0 -3926
- package/useListButton-cdbab702.mjs +0 -676
- package/useTableSync-774c3774.mjs +0 -87
|
@@ -1,479 +0,0 @@
|
|
|
1
|
-
var T = (o, f, l) => new Promise((I, m) => {
|
|
2
|
-
var b = (a) => {
|
|
3
|
-
try {
|
|
4
|
-
r(l.next(a));
|
|
5
|
-
} catch (c) {
|
|
6
|
-
m(c);
|
|
7
|
-
}
|
|
8
|
-
}, S = (a) => {
|
|
9
|
-
try {
|
|
10
|
-
r(l.throw(a));
|
|
11
|
-
} catch (c) {
|
|
12
|
-
m(c);
|
|
13
|
-
}
|
|
14
|
-
}, r = (a) => a.done ? I(a.value) : Promise.resolve(a.value).then(b, S);
|
|
15
|
-
r((l = l.apply(o, f)).next());
|
|
16
|
-
});
|
|
17
|
-
import { ref as vo, watch as Do, resolveComponent as s, openBlock as t, createElementBlock as C, normalizeClass as Q, createVNode as p, createBlock as u, withCtx as i, createTextVNode as g, createCommentVNode as d, Fragment as _, renderList as Lo, toDisplayString as B, withDirectives as Oo, vShow as Fo, createElementVNode as F, mergeProps as Ao, toHandlers as Po, resolveDynamicComponent as Qo, normalizeProps as _o, guardReactiveProps as Ho } from "vue";
|
|
18
|
-
import { BasicTable as Jo, TableAction as $o } from "/@/components/Table";
|
|
19
|
-
import { useMessage as qo } from "/@/hooks/web/useMessage";
|
|
20
|
-
import No from "./OnlineAutoModal-510991eb.mjs";
|
|
21
|
-
import zo from "./OnlineCustomModal-518ad33c.mjs";
|
|
22
|
-
import Vo from "./OnlineDetailModal-9675390d.mjs";
|
|
23
|
-
import jo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as Ko, a as Uo } from "./useListButton-cdbab702.mjs";
|
|
25
|
-
import { O as Wo, u as Go, a as Xo, g as Yo } from "./useExtendComponent-325fe3f1.mjs";
|
|
26
|
-
import Zo from "./OnlineQueryForm-1bfc8320.mjs";
|
|
27
|
-
import xo from "./SuperQuery-5d1ca957.mjs";
|
|
28
|
-
import { u as oe } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
-
import { N as ee } from "./constant-754f1a9d.mjs";
|
|
30
|
-
import { _ as ne } from "./index-0e3ab3af.mjs";
|
|
31
|
-
import "/@/components/Modal";
|
|
32
|
-
import "./OnlineForm-1fa2d893.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 "/@/components/jeecg/comment/CommentPanel.vue";
|
|
48
|
-
import "./OnlineFormDetail-0e7294ca.mjs";
|
|
49
|
-
import "./DetailForm-424638eb.mjs";
|
|
50
|
-
import "/@/utils/propTypes";
|
|
51
|
-
import "/@/utils/dict";
|
|
52
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
53
|
-
import "/@/utils/dict/index";
|
|
54
|
-
import "/@/api/common/api";
|
|
55
|
-
import "/@/components/Form/src/utils/Area";
|
|
56
|
-
import "/@/components/Preview/index";
|
|
57
|
-
import "/@/components/Markdown";
|
|
58
|
-
import "./OnlineSubFormDetail-f0d2c016.mjs";
|
|
59
|
-
import "vue-router";
|
|
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-8499a318.mjs";
|
|
75
|
-
import "./OnlineSelectCascade-4265c95d.mjs";
|
|
76
|
-
import "./JModalTip-33c7dc44.mjs";
|
|
77
|
-
import "/@/hooks/web/useAppInject";
|
|
78
|
-
import "@vueuse/core";
|
|
79
|
-
import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
|
|
80
|
-
import "/@/utils/is";
|
|
81
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
82
|
-
const te = {
|
|
83
|
-
name: "OnlineAutoList",
|
|
84
|
-
components: {
|
|
85
|
-
BasicTable: Jo,
|
|
86
|
-
TableAction: $o,
|
|
87
|
-
OnlineAutoModal: No,
|
|
88
|
-
JImportModal: jo,
|
|
89
|
-
OnlineQueryForm: Zo,
|
|
90
|
-
OnlineSuperQuery: xo,
|
|
91
|
-
OnlineCustomModal: zo,
|
|
92
|
-
OnlineDetailModal: Vo,
|
|
93
|
-
OnlinePopModal: Wo
|
|
94
|
-
},
|
|
95
|
-
setup() {
|
|
96
|
-
const { createMessage: o } = qo(), {
|
|
97
|
-
ID: f,
|
|
98
|
-
onlineTableContext: l,
|
|
99
|
-
onlineQueryFormOuter: I,
|
|
100
|
-
loading: m,
|
|
101
|
-
reload: b,
|
|
102
|
-
dataSource: S,
|
|
103
|
-
pagination: r,
|
|
104
|
-
handleSpecialConfig: a,
|
|
105
|
-
getColumnList: c,
|
|
106
|
-
handleChangeInTable: M,
|
|
107
|
-
loadData: R,
|
|
108
|
-
superQueryButtonRef: h,
|
|
109
|
-
superQueryStatus: E,
|
|
110
|
-
handleSuperQuery: v,
|
|
111
|
-
onlineExtConfigJson: w,
|
|
112
|
-
handleFormConfig: D,
|
|
113
|
-
registerCustomModal: e,
|
|
114
|
-
tableReloading: y
|
|
115
|
-
} = Ko();
|
|
116
|
-
if (!f.value)
|
|
117
|
-
throw o.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
118
|
-
let { initCgEnhanceJs: L } = Go(l);
|
|
119
|
-
const {
|
|
120
|
-
buttonSwitch: H,
|
|
121
|
-
cgLinkButtonList: J,
|
|
122
|
-
cgTopButtonList: $,
|
|
123
|
-
importUrl: q,
|
|
124
|
-
registerModal: N,
|
|
125
|
-
handleAdd: z,
|
|
126
|
-
handleEdit: V,
|
|
127
|
-
handleBatchDelete: j,
|
|
128
|
-
registerImportModal: K,
|
|
129
|
-
onImportExcel: U,
|
|
130
|
-
onExportExcel: A,
|
|
131
|
-
cgButtonJsHandler: W,
|
|
132
|
-
cgButtonActionHandler: G,
|
|
133
|
-
cgButtonLinkHandler: X,
|
|
134
|
-
handleSubmitFlow: Y,
|
|
135
|
-
getDropDownActions: Z,
|
|
136
|
-
getActions: x,
|
|
137
|
-
initButtonList: oo,
|
|
138
|
-
initButtonSwitch: eo,
|
|
139
|
-
registerDetailModal: no,
|
|
140
|
-
registerBpmModal: to
|
|
141
|
-
} = Uo(l, w), O = vo(!1);
|
|
142
|
-
function io() {
|
|
143
|
-
return T(this, null, function* () {
|
|
144
|
-
try {
|
|
145
|
-
O.value = !0, yield A();
|
|
146
|
-
} finally {
|
|
147
|
-
setTimeout(() => O.value = !1, 1500);
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
const {
|
|
152
|
-
columns: ro,
|
|
153
|
-
actionColumn: lo,
|
|
154
|
-
selectedKeys: ao,
|
|
155
|
-
rowSelection: so,
|
|
156
|
-
enableScrollBar: uo,
|
|
157
|
-
tableScroll: po,
|
|
158
|
-
downloadRowFile: mo,
|
|
159
|
-
getImgView: co,
|
|
160
|
-
getPcaText: go,
|
|
161
|
-
getFormatDate: fo,
|
|
162
|
-
handleColumnResult: ho,
|
|
163
|
-
hrefComponent: yo,
|
|
164
|
-
viewOnlineCellImage: Co,
|
|
165
|
-
hrefMainTableId: bo,
|
|
166
|
-
registerOnlineHrefModal: So,
|
|
167
|
-
registerPopModal: wo,
|
|
168
|
-
openPopModal: ko,
|
|
169
|
-
onlinePopModalRef: Io,
|
|
170
|
-
popTableId: P
|
|
171
|
-
} = Xo(l, w);
|
|
172
|
-
Do(
|
|
173
|
-
f,
|
|
174
|
-
() => {
|
|
175
|
-
To();
|
|
176
|
-
},
|
|
177
|
-
{ immediate: !0 }
|
|
178
|
-
);
|
|
179
|
-
function To() {
|
|
180
|
-
return T(this, null, function* () {
|
|
181
|
-
m.value = !0;
|
|
182
|
-
let n = yield c(ee);
|
|
183
|
-
Bo(n), yield R(), m.value = !1, l.execButtonEnhance("setup");
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
function Bo(n) {
|
|
187
|
-
let k = L(n.enhanceJs);
|
|
188
|
-
l.EnhanceJS = k, oo(n.cgButtonList), eo(n.hideColumns), ho(n), a(n);
|
|
189
|
-
}
|
|
190
|
-
function Mo(n) {
|
|
191
|
-
l.queryParam = n, b({ mode: "search" });
|
|
192
|
-
}
|
|
193
|
-
function Ro(n) {
|
|
194
|
-
return T(this, null, function* () {
|
|
195
|
-
yield Yo(h), h.value.init(n);
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
function Eo(n) {
|
|
199
|
-
P.value = n.id;
|
|
200
|
-
let k = {
|
|
201
|
-
title: n.describe
|
|
202
|
-
};
|
|
203
|
-
n.record && n.record.id && (k.record = n.record, k.isUpdate = !0), ko(!0, k);
|
|
204
|
-
}
|
|
205
|
-
return oe(Eo), {
|
|
206
|
-
ID: f,
|
|
207
|
-
// 查询区域
|
|
208
|
-
onlineQueryFormOuter: I,
|
|
209
|
-
queryWithCondition: Mo,
|
|
210
|
-
onQueryFormLoaded: Ro,
|
|
211
|
-
reload: b,
|
|
212
|
-
//高级查询
|
|
213
|
-
superQueryButtonRef: h,
|
|
214
|
-
superQueryStatus: E,
|
|
215
|
-
handleSuperQuery: v,
|
|
216
|
-
// table区域
|
|
217
|
-
loading: m,
|
|
218
|
-
columns: ro,
|
|
219
|
-
dataSource: S,
|
|
220
|
-
pagination: r,
|
|
221
|
-
actionColumn: lo,
|
|
222
|
-
rowSelection: so,
|
|
223
|
-
selectedKeys: ao,
|
|
224
|
-
tableScroll: po,
|
|
225
|
-
enableScrollBar: uo,
|
|
226
|
-
handleChangeInTable: M,
|
|
227
|
-
//按钮
|
|
228
|
-
buttonSwitch: H,
|
|
229
|
-
handleAdd: z,
|
|
230
|
-
handleEdit: V,
|
|
231
|
-
onImportExcel: U,
|
|
232
|
-
onExportExcel: A,
|
|
233
|
-
exportLoading: O,
|
|
234
|
-
onExportExcelOverride: io,
|
|
235
|
-
cgTopButtonList: $,
|
|
236
|
-
cgLinkButtonList: J,
|
|
237
|
-
cgButtonJsHandler: W,
|
|
238
|
-
cgButtonActionHandler: G,
|
|
239
|
-
cgButtonLinkHandler: X,
|
|
240
|
-
handleBatchDelete: j,
|
|
241
|
-
// table-slot
|
|
242
|
-
downloadRowFile: mo,
|
|
243
|
-
getImgView: co,
|
|
244
|
-
getPcaText: go,
|
|
245
|
-
getFormatDate: fo,
|
|
246
|
-
// 操作列
|
|
247
|
-
getActions: x,
|
|
248
|
-
getDropDownActions: Z,
|
|
249
|
-
// 弹窗
|
|
250
|
-
registerModal: N,
|
|
251
|
-
registerCustomModal: e,
|
|
252
|
-
registerImportModal: K,
|
|
253
|
-
registerDetailModal: no,
|
|
254
|
-
importUrl: q,
|
|
255
|
-
handleFormConfig: D,
|
|
256
|
-
onlinePopModalRef: Io,
|
|
257
|
-
//其他
|
|
258
|
-
tableReloading: y,
|
|
259
|
-
handleSubmitFlow: Y,
|
|
260
|
-
hrefComponent: yo,
|
|
261
|
-
viewOnlineCellImage: Co,
|
|
262
|
-
hrefMainTableId: bo,
|
|
263
|
-
onlineExtConfigJson: w,
|
|
264
|
-
registerOnlineHrefModal: So,
|
|
265
|
-
registerPopModal: wo,
|
|
266
|
-
popTableId: P,
|
|
267
|
-
registerBpmModal: to
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
// 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
|
|
271
|
-
// 2. value的问题
|
|
272
|
-
// 3. 变量位置改变后需要 重写api
|
|
273
|
-
// 1添加按钮的时候 预留出样式对象 然后js增强中设置样式对象
|
|
274
|
-
// 2直接设置css字符串 然后通过js document 往head里面增加css片段 全局生效
|
|
275
|
-
};
|
|
276
|
-
const ie = {
|
|
277
|
-
key: 0,
|
|
278
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
279
|
-
}, re = {
|
|
280
|
-
key: 0,
|
|
281
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
282
|
-
}, le = ["src", "onClick"], ae = ["innerHTML"], se = ["title"];
|
|
283
|
-
function ue(o, f, l, I, m, b) {
|
|
284
|
-
const S = s("online-query-form"), r = s("a-button"), a = s("online-super-query"), c = s("TableAction"), M = s("BasicTable"), R = s("OnlineAutoModal"), h = s("online-detail-modal"), E = s("JImportModal"), v = s("a-modal"), w = s("online-custom-modal"), D = s("online-pop-modal");
|
|
285
|
-
return t(), C("div", {
|
|
286
|
-
class: Q(["p-2", `online-list-${o.ID}`])
|
|
287
|
-
}, [
|
|
288
|
-
p(S, {
|
|
289
|
-
ref: "onlineQueryFormOuter",
|
|
290
|
-
id: o.ID,
|
|
291
|
-
onSearch: o.queryWithCondition,
|
|
292
|
-
onLoaded: o.onQueryFormLoaded
|
|
293
|
-
}, null, 8, ["id", "onSearch", "onLoaded"]),
|
|
294
|
-
o.tableReloading ? d("", !0) : (t(), u(M, {
|
|
295
|
-
key: 0,
|
|
296
|
-
ref: "onlineTable",
|
|
297
|
-
rowKey: "jeecg_row_key",
|
|
298
|
-
canResize: !0,
|
|
299
|
-
bordered: !0,
|
|
300
|
-
showIndexColumn: !1,
|
|
301
|
-
loading: o.loading,
|
|
302
|
-
columns: o.columns,
|
|
303
|
-
dataSource: o.dataSource,
|
|
304
|
-
pagination: o.pagination,
|
|
305
|
-
rowSelection: o.rowSelection,
|
|
306
|
-
actionColumn: o.actionColumn,
|
|
307
|
-
showTableSetting: !0,
|
|
308
|
-
clickToRowSelect: !1,
|
|
309
|
-
scroll: o.tableScroll,
|
|
310
|
-
onTableRedo: o.reload,
|
|
311
|
-
class: Q({ "j-table-force-nowrap": o.enableScrollBar }),
|
|
312
|
-
onChange: o.handleChangeInTable
|
|
313
|
-
}, {
|
|
314
|
-
tableTitle: i(() => [
|
|
315
|
-
o.buttonSwitch.add ? (t(), u(r, {
|
|
316
|
-
key: 0,
|
|
317
|
-
preIcon: "ant-design:plus-outlined",
|
|
318
|
-
type: "primary",
|
|
319
|
-
onClick: o.handleAdd
|
|
320
|
-
}, {
|
|
321
|
-
default: i(() => [
|
|
322
|
-
g("新增")
|
|
323
|
-
]),
|
|
324
|
-
_: 1
|
|
325
|
-
}, 8, ["onClick"])) : d("", !0),
|
|
326
|
-
o.buttonSwitch.import ? (t(), u(r, {
|
|
327
|
-
key: 1,
|
|
328
|
-
preIcon: "ant-design:import-outlined",
|
|
329
|
-
type: "primary",
|
|
330
|
-
onClick: o.onImportExcel
|
|
331
|
-
}, {
|
|
332
|
-
default: i(() => [
|
|
333
|
-
g("导入")
|
|
334
|
-
]),
|
|
335
|
-
_: 1
|
|
336
|
-
}, 8, ["onClick"])) : d("", !0),
|
|
337
|
-
o.buttonSwitch.export ? (t(), u(r, {
|
|
338
|
-
key: 2,
|
|
339
|
-
preIcon: "ant-design:export-outlined",
|
|
340
|
-
type: "primary",
|
|
341
|
-
loading: o.exportLoading,
|
|
342
|
-
onClick: o.onExportExcelOverride
|
|
343
|
-
}, {
|
|
344
|
-
default: i(() => [
|
|
345
|
-
g(" 导出")
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
}, 8, ["loading", "onClick"])) : d("", !0),
|
|
349
|
-
o.cgTopButtonList && o.cgTopButtonList.length > 0 ? (t(!0), C(_, { key: 3 }, Lo(o.cgTopButtonList, (e, y) => (t(), C(_, null, [
|
|
350
|
-
e.optType == "js" ? (t(), u(r, {
|
|
351
|
-
key: "cgbtn" + y,
|
|
352
|
-
onClick: (L) => o.cgButtonJsHandler(e.buttonCode),
|
|
353
|
-
type: "primary",
|
|
354
|
-
preIcon: e.buttonIcon ? "ant-design:" + e.buttonIcon : ""
|
|
355
|
-
}, {
|
|
356
|
-
default: i(() => [
|
|
357
|
-
g(B(e.buttonName), 1)
|
|
358
|
-
]),
|
|
359
|
-
_: 2
|
|
360
|
-
}, 1032, ["onClick", "preIcon"])) : e.optType == "action" ? (t(), u(r, {
|
|
361
|
-
key: "cgbtn" + y,
|
|
362
|
-
onClick: (L) => o.cgButtonActionHandler(e.buttonCode),
|
|
363
|
-
type: "primary",
|
|
364
|
-
preIcon: e.buttonIcon ? "ant-design:" + e.buttonIcon : ""
|
|
365
|
-
}, {
|
|
366
|
-
default: i(() => [
|
|
367
|
-
g(B(e.buttonName), 1)
|
|
368
|
-
]),
|
|
369
|
-
_: 2
|
|
370
|
-
}, 1032, ["onClick", "preIcon"])) : d("", !0)
|
|
371
|
-
], 64))), 256)) : d("", !0),
|
|
372
|
-
o.buttonSwitch.batch_delete ? Oo((t(), u(r, {
|
|
373
|
-
key: 4,
|
|
374
|
-
preIcon: "ant-design:delete-outlined",
|
|
375
|
-
onClick: o.handleBatchDelete
|
|
376
|
-
}, {
|
|
377
|
-
default: i(() => [
|
|
378
|
-
g(" 批量删除")
|
|
379
|
-
]),
|
|
380
|
-
_: 1
|
|
381
|
-
}, 8, ["onClick"])), [
|
|
382
|
-
[Fo, o.selectedKeys.length > 0]
|
|
383
|
-
]) : d("", !0),
|
|
384
|
-
o.buttonSwitch.super_query ? (t(), u(a, {
|
|
385
|
-
key: 5,
|
|
386
|
-
ref: "superQueryButtonRef",
|
|
387
|
-
online: "",
|
|
388
|
-
status: o.superQueryStatus,
|
|
389
|
-
onSearch: o.handleSuperQuery
|
|
390
|
-
}, null, 8, ["status", "onSearch"])) : d("", !0)
|
|
391
|
-
]),
|
|
392
|
-
fileSlot: i(({ text: e }) => [
|
|
393
|
-
e ? (t(), u(r, {
|
|
394
|
-
key: 1,
|
|
395
|
-
ghost: !0,
|
|
396
|
-
type: "primary",
|
|
397
|
-
preIcon: "ant-design:download",
|
|
398
|
-
size: "small",
|
|
399
|
-
onClick: (y) => o.downloadRowFile(e)
|
|
400
|
-
}, {
|
|
401
|
-
default: i(() => [
|
|
402
|
-
g(" 下载 ")
|
|
403
|
-
]),
|
|
404
|
-
_: 2
|
|
405
|
-
}, 1032, ["onClick"])) : (t(), C("span", ie, "无文件"))
|
|
406
|
-
]),
|
|
407
|
-
imgSlot: i(({ text: e }) => [
|
|
408
|
-
e ? (t(), C("img", {
|
|
409
|
-
key: 1,
|
|
410
|
-
src: o.getImgView(e),
|
|
411
|
-
alt: "图片不存在",
|
|
412
|
-
class: "online-cell-image",
|
|
413
|
-
onClick: (y) => o.viewOnlineCellImage(e)
|
|
414
|
-
}, null, 8, le)) : (t(), C("span", re, "无图片"))
|
|
415
|
-
]),
|
|
416
|
-
htmlSlot: i(({ text: e }) => [
|
|
417
|
-
F("div", { innerHTML: e }, null, 8, ae)
|
|
418
|
-
]),
|
|
419
|
-
pcaSlot: i(({ text: e }) => [
|
|
420
|
-
F("div", {
|
|
421
|
-
title: o.getPcaText(e)
|
|
422
|
-
}, B(o.getPcaText(e)), 9, se)
|
|
423
|
-
]),
|
|
424
|
-
dateSlot: i(({ text: e }) => [
|
|
425
|
-
F("span", null, B(o.getFormatDate(e)), 1)
|
|
426
|
-
]),
|
|
427
|
-
action: i(({ record: e }) => [
|
|
428
|
-
p(c, {
|
|
429
|
-
actions: o.getActions(e),
|
|
430
|
-
dropDownActions: o.getDropDownActions(e)
|
|
431
|
-
}, null, 8, ["actions", "dropDownActions"])
|
|
432
|
-
]),
|
|
433
|
-
_: 1
|
|
434
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
435
|
-
p(R, {
|
|
436
|
-
id: o.ID,
|
|
437
|
-
onRegister: o.registerModal,
|
|
438
|
-
onSuccess: o.reload,
|
|
439
|
-
onFormConfig: o.handleFormConfig
|
|
440
|
-
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
441
|
-
p(h, {
|
|
442
|
-
id: o.ID,
|
|
443
|
-
onRegister: o.registerDetailModal
|
|
444
|
-
}, null, 8, ["id", "onRegister"]),
|
|
445
|
-
p(E, {
|
|
446
|
-
onRegister: o.registerImportModal,
|
|
447
|
-
url: o.importUrl(),
|
|
448
|
-
onOk: o.reload,
|
|
449
|
-
online: ""
|
|
450
|
-
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
451
|
-
p(v, Ao(o.hrefComponent.model, Po(o.hrefComponent.on)), {
|
|
452
|
-
default: i(() => [
|
|
453
|
-
(t(), u(Qo(o.hrefComponent.is), _o(Ho(o.hrefComponent.params)), null, 16))
|
|
454
|
-
]),
|
|
455
|
-
_: 1
|
|
456
|
-
}, 16),
|
|
457
|
-
p(w, {
|
|
458
|
-
onRegister: o.registerCustomModal,
|
|
459
|
-
onSuccess: o.reload
|
|
460
|
-
}, null, 8, ["onRegister", "onSuccess"]),
|
|
461
|
-
p(h, {
|
|
462
|
-
id: o.hrefMainTableId,
|
|
463
|
-
onRegister: o.registerOnlineHrefModal,
|
|
464
|
-
defaultFullscreen: !1
|
|
465
|
-
}, null, 8, ["id", "onRegister"]),
|
|
466
|
-
p(D, {
|
|
467
|
-
ref: "onlinePopModalRef",
|
|
468
|
-
id: o.popTableId,
|
|
469
|
-
onRegister: o.registerPopModal,
|
|
470
|
-
onSuccess: o.reload,
|
|
471
|
-
request: "",
|
|
472
|
-
topTip: ""
|
|
473
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
474
|
-
], 2);
|
|
475
|
-
}
|
|
476
|
-
const Tn = /* @__PURE__ */ ne(te, [["render", ue]]);
|
|
477
|
-
export {
|
|
478
|
-
Tn as default
|
|
479
|
-
};
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
var k = (e, l, t) => new Promise((p, d) => {
|
|
2
|
-
var s = (o) => {
|
|
3
|
-
try {
|
|
4
|
-
i(t.next(o));
|
|
5
|
-
} catch (r) {
|
|
6
|
-
d(r);
|
|
7
|
-
}
|
|
8
|
-
}, m = (o) => {
|
|
9
|
-
try {
|
|
10
|
-
i(t.throw(o));
|
|
11
|
-
} catch (r) {
|
|
12
|
-
d(r);
|
|
13
|
-
}
|
|
14
|
-
}, i = (o) => o.done ? p(o.value) : Promise.resolve(o.value).then(s, m);
|
|
15
|
-
i((t = t.apply(e, l)).next());
|
|
16
|
-
});
|
|
17
|
-
import { defineComponent as P, ref as V, watch as W, resolveComponent as u, openBlock as c, createBlock as f, mergeProps as S, withCtx as a, createElementBlock as j, Fragment as H, renderList as q, createTextVNode as C, toDisplayString as z, createCommentVNode as G, createVNode as b } from "vue";
|
|
18
|
-
import { BasicModal as J } from "/@/components/Modal";
|
|
19
|
-
import K from "./OnlineForm-1fa2d893.mjs";
|
|
20
|
-
import { b as Q } from "./useExtendComponent-325fe3f1.mjs";
|
|
21
|
-
import U from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { _ as X } from "./index-0e3ab3af.mjs";
|
|
23
|
-
import "/@/hooks/web/useMessage";
|
|
24
|
-
import "/@/components/Form/index";
|
|
25
|
-
import "/@/utils/http/axios";
|
|
26
|
-
import "lodash-es";
|
|
27
|
-
import "/@/utils";
|
|
28
|
-
import "/@/components/Loading";
|
|
29
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
30
|
-
import "/@/utils/auth";
|
|
31
|
-
import "@ant-design/icons-vue";
|
|
32
|
-
import "/@/hooks/core/useContext";
|
|
33
|
-
import "/@/utils/mitt";
|
|
34
|
-
import "./useCustomHook-acb00837.mjs";
|
|
35
|
-
import "/@/utils/cache";
|
|
36
|
-
import "/@/utils/common/compUtils";
|
|
37
|
-
import "/@/store/modules/user";
|
|
38
|
-
import "./constant-754f1a9d.mjs";
|
|
39
|
-
import "/@/components/Form/src/componentMap";
|
|
40
|
-
import "/@/utils/propTypes";
|
|
41
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
42
|
-
import "/@/views/system/user/user.api";
|
|
43
|
-
import "/@/utils/desform/customExpression";
|
|
44
|
-
import "/@/store/modules/permission";
|
|
45
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
46
|
-
import "/@/components/Table";
|
|
47
|
-
import "/@/hooks/system/useListPage";
|
|
48
|
-
import "vue-router";
|
|
49
|
-
import "/@/components/Form/src/utils/Area";
|
|
50
|
-
import "/@/components/Preview/index";
|
|
51
|
-
import "./LinkTableListPiece-8499a318.mjs";
|
|
52
|
-
import "./OnlineSelectCascade-4265c95d.mjs";
|
|
53
|
-
import "./JModalTip-33c7dc44.mjs";
|
|
54
|
-
import "/@/hooks/web/useAppInject";
|
|
55
|
-
import "ant-design-vue";
|
|
56
|
-
import "@vueuse/core";
|
|
57
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
58
|
-
const Y = P({
|
|
59
|
-
name: "OnlineAutoModal",
|
|
60
|
-
props: {
|
|
61
|
-
id: {
|
|
62
|
-
type: String,
|
|
63
|
-
default: ""
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
components: {
|
|
67
|
-
BasicModal: J,
|
|
68
|
-
OnlineForm: K,
|
|
69
|
-
CommentPanel: U
|
|
70
|
-
},
|
|
71
|
-
emits: ["success", "register", "formConfig"],
|
|
72
|
-
setup(e, { emit: l }) {
|
|
73
|
-
const t = V();
|
|
74
|
-
function p() {
|
|
75
|
-
t.value && t.value.reload();
|
|
76
|
-
}
|
|
77
|
-
const {
|
|
78
|
-
title: d,
|
|
79
|
-
modalWidth: s,
|
|
80
|
-
registerModal: m,
|
|
81
|
-
closeModal: i,
|
|
82
|
-
cgButtonList: o,
|
|
83
|
-
handleCgButtonClick: r,
|
|
84
|
-
disableSubmit: n,
|
|
85
|
-
handleSubmit: h,
|
|
86
|
-
submitLoading: F,
|
|
87
|
-
handleCancel: T,
|
|
88
|
-
handleFormConfig: y,
|
|
89
|
-
onlineFormCompRef: B,
|
|
90
|
-
formTemplate: N,
|
|
91
|
-
isTreeForm: I,
|
|
92
|
-
pidFieldName: M,
|
|
93
|
-
renderSuccess: R,
|
|
94
|
-
formRendered: v,
|
|
95
|
-
tableName: $,
|
|
96
|
-
formDataId: w,
|
|
97
|
-
enableComment: E,
|
|
98
|
-
onCloseEvent: g,
|
|
99
|
-
themeTemplate: L
|
|
100
|
-
} = Q(!1, { emit: l }, p);
|
|
101
|
-
function O(D) {
|
|
102
|
-
l("success", D), i(), g();
|
|
103
|
-
}
|
|
104
|
-
W(() => e.id, A, { immediate: !0 });
|
|
105
|
-
function A() {
|
|
106
|
-
return k(this, null, function* () {
|
|
107
|
-
v.value = !1, e.id && (yield y(e.id, {}));
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
return {
|
|
111
|
-
title: d,
|
|
112
|
-
onlineFormCompRef: B,
|
|
113
|
-
renderSuccess: R,
|
|
114
|
-
registerModal: m,
|
|
115
|
-
handleSubmit: h,
|
|
116
|
-
handleSuccess: O,
|
|
117
|
-
handleCancel: T,
|
|
118
|
-
modalWidth: s,
|
|
119
|
-
formTemplate: N,
|
|
120
|
-
disableSubmit: n,
|
|
121
|
-
cgButtonList: o,
|
|
122
|
-
handleCgButtonClick: r,
|
|
123
|
-
isTreeForm: I,
|
|
124
|
-
pidFieldName: M,
|
|
125
|
-
submitLoading: F,
|
|
126
|
-
tableName: $,
|
|
127
|
-
formDataId: w,
|
|
128
|
-
enableComment: E,
|
|
129
|
-
commentPanelRef: t,
|
|
130
|
-
onCloseEvent: g,
|
|
131
|
-
themeTemplate: L
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
function Z(e, l, t, p, d, s) {
|
|
136
|
-
const m = u("a-button"), i = u("online-form"), o = u("comment-panel"), r = u("BasicModal");
|
|
137
|
-
return c(), f(r, S({
|
|
138
|
-
title: e.title,
|
|
139
|
-
onCancel: e.onCloseEvent,
|
|
140
|
-
enableComment: e.enableComment,
|
|
141
|
-
width: e.modalWidth
|
|
142
|
-
}, e.$attrs, {
|
|
143
|
-
maxHeight: 600,
|
|
144
|
-
onRegister: e.registerModal,
|
|
145
|
-
wrapClassName: "jeecg-online-modal",
|
|
146
|
-
onOk: e.handleSubmit
|
|
147
|
-
}), {
|
|
148
|
-
footer: a(() => [
|
|
149
|
-
(c(!0), j(H, null, q(e.cgButtonList, (n) => (c(), f(m, {
|
|
150
|
-
key: n.id,
|
|
151
|
-
type: "primary",
|
|
152
|
-
onClick: (h) => e.handleCgButtonClick(n.optType, n.buttonCode),
|
|
153
|
-
preIcon: n.buttonIcon ? "ant-design:" + n.buttonIcon : ""
|
|
154
|
-
}, {
|
|
155
|
-
default: a(() => [
|
|
156
|
-
C(z(n.buttonName), 1)
|
|
157
|
-
]),
|
|
158
|
-
_: 2
|
|
159
|
-
}, 1032, ["onClick", "preIcon"]))), 128)),
|
|
160
|
-
e.disableSubmit ? G("", !0) : (c(), f(m, {
|
|
161
|
-
key: "submit",
|
|
162
|
-
type: "primary",
|
|
163
|
-
onClick: e.handleSubmit,
|
|
164
|
-
loading: e.submitLoading
|
|
165
|
-
}, {
|
|
166
|
-
default: a(() => [
|
|
167
|
-
C("确定")
|
|
168
|
-
]),
|
|
169
|
-
_: 1
|
|
170
|
-
}, 8, ["onClick", "loading"])),
|
|
171
|
-
b(m, {
|
|
172
|
-
key: "back",
|
|
173
|
-
onClick: e.handleCancel
|
|
174
|
-
}, {
|
|
175
|
-
default: a(() => [
|
|
176
|
-
C("关闭")
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
}, 8, ["onClick"])
|
|
180
|
-
]),
|
|
181
|
-
comment: a(() => [
|
|
182
|
-
b(o, {
|
|
183
|
-
ref: "commentPanelRef",
|
|
184
|
-
tableName: e.tableName,
|
|
185
|
-
dataId: e.formDataId
|
|
186
|
-
}, null, 8, ["tableName", "dataId"])
|
|
187
|
-
]),
|
|
188
|
-
default: a(() => [
|
|
189
|
-
b(i, S(e.$attrs, {
|
|
190
|
-
ref: "onlineFormCompRef",
|
|
191
|
-
id: e.id,
|
|
192
|
-
disabled: e.disableSubmit,
|
|
193
|
-
"form-template": e.formTemplate,
|
|
194
|
-
isTree: e.isTreeForm,
|
|
195
|
-
pidField: e.pidFieldName,
|
|
196
|
-
themeTemplate: e.themeTemplate,
|
|
197
|
-
onRendered: e.renderSuccess,
|
|
198
|
-
onSuccess: e.handleSuccess
|
|
199
|
-
}), null, 16, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "onRendered", "onSuccess"])
|
|
200
|
-
]),
|
|
201
|
-
_: 1
|
|
202
|
-
}, 16, ["title", "onCancel", "enableComment", "width", "onRegister", "onOk"]);
|
|
203
|
-
}
|
|
204
|
-
const He = /* @__PURE__ */ X(Y, [["render", Z]]);
|
|
205
|
-
export {
|
|
206
|
-
He as default
|
|
207
|
-
};
|