@jeecg/online 1.0.1 → 3.4.3
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/AuthButtonConfig.js +15 -9
- package/AuthButtonTree.js +4 -7
- package/AuthDataConfig.js +10 -8
- package/AuthDataTree.js +4 -7
- package/AuthFieldConfig.js +16 -14
- package/AuthFieldTree.js +25 -20
- package/AuthManagerDrawer.js +2 -3
- package/AuthSetterModal.js +2 -2
- package/CgformCopyList.js +34 -24
- package/CgformModal.js +57 -50
- package/CgreportModal.js +32 -39
- package/CheckDictTable.js +146 -26
- package/CodeFileListModal.js +174 -0
- package/CodeFileViewModal.js +324 -0
- package/CodeGeneratorModal.js +42 -40
- package/CustomButtonList.js +19 -23
- package/DBAttributeTable.js +250 -14
- package/DbToOnlineModal.js +28 -27
- package/DetailForm.js +607 -0
- package/EnhanceJavaModal.js +12 -19
- package/EnhanceJsHistory.js +6 -8
- package/EnhanceJsModal.js +17 -18
- package/EnhanceSqlModal.js +12 -19
- package/ExtendConfigModal.js +26 -17
- package/FileSelectModal.js +1 -2
- package/ForeignKeyTable.js +6 -5
- package/FormSchemaFactory.js +163 -30
- package/IndexTable.js +8 -7
- package/JModalTip.js +54 -0
- package/LeftDepart.js +3 -3
- package/LeftRole.js +8 -6
- package/LeftUser.js +8 -6
- package/LinkTableConfigModal.js +288 -0
- package/LinkTableFieldConfigModal.js +217 -0
- package/LinkTableListPiece.js +36 -0
- package/ModalFormDemo.js +4 -4
- package/OnlCgReportList.js +34 -0
- package/OnlineAutoList.js +155 -58
- package/OnlineAutoModal.js +91 -132
- package/OnlineAutoTreeList.js +92 -54
- package/OnlineCustomModal.js +31 -17
- package/OnlineDetailModal.js +182 -0
- package/OnlineForm.js +272 -141
- package/OnlineFormDetail.js +324 -0
- package/OnlineQueryForm.js +72 -42
- package/OnlineSearchFormItem.js +28 -23
- package/OnlineSubFormDetail.js +165 -0
- package/OnlineSuperQuery.js +72 -76
- package/OnlineSuperQueryValComponent.js +1 -0
- package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
- package/PageAttributeTable.js +233 -31
- package/ProcessOnlineForm.js +41 -18
- package/QueryTable.js +6 -5
- package/README.md +3 -8
- package/_arrayPush.js +5 -3
- package/{cloneDeep.js → _baseClone.js} +5 -9
- package/_baseSlice.js +18 -0
- package/_commonjsHelpers.js +5 -0
- package/_flatRest.js +174 -0
- package/auth.data.js +1 -3
- package/cgform.data.js +18 -9
- package/enhance.api.js +27 -18
- package/index.js +358 -34
- package/index2.js +49 -48
- package/index3.js +29 -26
- package/isArray.js +1 -1
- package/main.index.js +3 -3
- package/omit.js +60 -0
- package/package.json +1 -1
- package/pick.js +3 -173
- package/style.css +1 -1
- package/toString.js +2 -2
- package/useAutoForm.js +3457 -3792
- package/useCgformList.js +44 -31
- package/{useTableColumns.js → useListButton.js} +218 -409
- package/useOnlineTest.js +5 -26827
- package/useSchemas.js +382 -234
- package/useTableSync.js +19 -7
- package/ChartAutoRender.js +0 -69
- package/ChartDoubleRender.js +0 -154
- package/ChartSingleRender.js +0 -132
- package/ChartTabsRender.js +0 -218
- package/ErrorTip.js +0 -21
- package/FieldTable.js +0 -185
- package/GraphreportAutoChart.js +0 -352
- package/GraphreportList.js +0 -239
- package/GraphreportModal.js +0 -559
- package/JOnlineSearchSelect.js +0 -107
- package/LICENSE +0 -7
- package/OnlineSelectCascade.js +0 -217
- package/OnlineSubForm.js +0 -200
- package/ParamsTable.js +0 -71
- package/graphreport.api.js +0 -23
- package/useChartRender.js +0 -405
- package/useMessageOnline.js +0 -71
package/OnlineAutoList.js
CHANGED
|
@@ -22,45 +22,83 @@ import { BasicTable, TableAction } from "/@/components/Table";
|
|
|
22
22
|
import { useMessage } from "/@/hooks/web/useMessage";
|
|
23
23
|
import OnlineAutoModal from "./OnlineAutoModal.js";
|
|
24
24
|
import OnlineCustomModal from "./OnlineCustomModal.js";
|
|
25
|
-
import
|
|
25
|
+
import OnlineDetailModal from "./OnlineDetailModal.js";
|
|
26
|
+
import { watch, resolveComponent, openBlock, createElementBlock, createVNode, createBlock, normalizeClass, withCtx, createTextVNode, createCommentVNode, Fragment, renderList, toDisplayString, withDirectives, vShow, createElementVNode, mergeProps, toHandlers, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
26
27
|
import JImportModal from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
27
|
-
import { u as useOnlineTableContext, a as useListButton
|
|
28
|
-
import {
|
|
28
|
+
import { u as useOnlineTableContext, a as useListButton } from "./useListButton.js";
|
|
29
|
+
import { a as OnlinePopModal, c as useEnhance, j as useTableColumns, g as getRefPromise } from "./useAutoForm.js";
|
|
29
30
|
import OnlineQueryForm from "./OnlineQueryForm.js";
|
|
30
31
|
import OnlineSuperQuery from "./OnlineSuperQuery.js";
|
|
32
|
+
import { createContext } from "/@/hooks/core/useContext";
|
|
33
|
+
import mitt from "/@/utils/mitt";
|
|
31
34
|
import { _ as _export_sfc } from "./index.js";
|
|
32
35
|
import "/@/components/Modal";
|
|
33
|
-
import "
|
|
34
|
-
import "
|
|
36
|
+
import "./OnlineForm.js";
|
|
37
|
+
import "/@/components/Form/index";
|
|
35
38
|
import "./FormSchemaFactory.js";
|
|
36
39
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
37
|
-
import "/@/
|
|
38
|
-
import "/@/store/modules/user";
|
|
40
|
+
import "/@/utils/http/axios";
|
|
39
41
|
import "/@/utils";
|
|
40
|
-
import "/@/
|
|
41
|
-
import "/@/components/
|
|
42
|
-
import "
|
|
43
|
-
import "
|
|
44
|
-
import "vue-router";
|
|
45
|
-
import "/@/utils/common/compUtils";
|
|
46
|
-
import "/@/utils/cache";
|
|
47
|
-
import "/@/hooks/core/onMountedOrActivated";
|
|
48
|
-
import "ant-design-vue";
|
|
49
|
-
import "/@/hooks/system/useMethods";
|
|
42
|
+
import "/@/components/Loading";
|
|
43
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
44
|
+
import "/@/utils/auth";
|
|
45
|
+
import "@ant-design/icons-vue";
|
|
50
46
|
import "./pick.js";
|
|
47
|
+
import "./_flatRest.js";
|
|
51
48
|
import "./isArray.js";
|
|
52
49
|
import "./toString.js";
|
|
53
50
|
import "./_arrayPush.js";
|
|
51
|
+
import "./omit.js";
|
|
52
|
+
import "./_baseClone.js";
|
|
53
|
+
import "./_baseSlice.js";
|
|
54
|
+
import "/@/views/system/user/user.api";
|
|
55
|
+
import "./_commonjsHelpers.js";
|
|
56
|
+
import "/@/store/modules/user";
|
|
57
|
+
import "/@/utils/desform/customExpression";
|
|
58
|
+
import "/@/components/Form/src/componentMap";
|
|
59
|
+
import "/@/store/modules/permission";
|
|
60
|
+
import "/@/utils/propTypes";
|
|
54
61
|
import "/@/utils/dict/JDictSelectUtil";
|
|
62
|
+
import "/@/utils/common/compUtils";
|
|
63
|
+
import "/@/hooks/system/useListPage";
|
|
64
|
+
import "vue-router";
|
|
55
65
|
import "/@/components/Form/src/utils/Area";
|
|
56
66
|
import "/@/components/Preview/index";
|
|
57
|
-
import "
|
|
58
|
-
import "
|
|
59
|
-
import "./
|
|
67
|
+
import "./LinkTableListPiece.js";
|
|
68
|
+
import "@vueuse/core";
|
|
69
|
+
import "./JModalTip.js";
|
|
70
|
+
import "ant-design-vue";
|
|
71
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
72
|
+
import "./OnlineFormDetail.js";
|
|
73
|
+
import "./DetailForm.js";
|
|
74
|
+
import "/@/utils/dict";
|
|
75
|
+
import "/@/utils/dict/index";
|
|
76
|
+
import "/@/api/common/api";
|
|
77
|
+
import "./OnlineSubFormDetail.js";
|
|
78
|
+
import "/@/router";
|
|
79
|
+
import "/@/utils/cache";
|
|
80
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
81
|
+
import "/@/hooks/system/useMethods";
|
|
60
82
|
import "./OnlineSuperQueryValComponent.vue_vue_type_script_lang.js";
|
|
61
83
|
import "/@/components/Form/src/helper";
|
|
62
84
|
import "/@/utils/is";
|
|
63
|
-
|
|
85
|
+
const key = Symbol();
|
|
86
|
+
const EVENT_OPEN_CODE = "openpopmodal";
|
|
87
|
+
function useOnlineListPopEvent(callback) {
|
|
88
|
+
const emitter = mitt();
|
|
89
|
+
function openPopModal(params) {
|
|
90
|
+
callback(params);
|
|
91
|
+
console.log("\u4E8B\u4EF6\u89E6\u53D1\u5B8C\u6210,", params);
|
|
92
|
+
}
|
|
93
|
+
emitter.on(EVENT_OPEN_CODE, openPopModal);
|
|
94
|
+
createOnlineEventContext({
|
|
95
|
+
onlineEmitter: emitter
|
|
96
|
+
});
|
|
97
|
+
console.log("\u4E8B\u4EF6\u7ED1\u5B8C\u6210,");
|
|
98
|
+
}
|
|
99
|
+
function createOnlineEventContext(context) {
|
|
100
|
+
return createContext(context, key, { readonly: false, native: true });
|
|
101
|
+
}
|
|
64
102
|
var OnlineAutoList_vue_vue_type_style_index_0_lang = "";
|
|
65
103
|
const _sfc_main = {
|
|
66
104
|
name: "DefaultOnlineList",
|
|
@@ -71,7 +109,9 @@ const _sfc_main = {
|
|
|
71
109
|
JImportModal,
|
|
72
110
|
OnlineQueryForm,
|
|
73
111
|
OnlineSuperQuery,
|
|
74
|
-
OnlineCustomModal
|
|
112
|
+
OnlineCustomModal,
|
|
113
|
+
OnlineDetailModal,
|
|
114
|
+
OnlinePopModal
|
|
75
115
|
},
|
|
76
116
|
setup() {
|
|
77
117
|
const { createMessage: $message } = useMessage();
|
|
@@ -90,7 +130,10 @@ const _sfc_main = {
|
|
|
90
130
|
superQueryButtonRef,
|
|
91
131
|
superQueryStatus,
|
|
92
132
|
handleSuperQuery,
|
|
93
|
-
|
|
133
|
+
onlineExtConfigJson,
|
|
134
|
+
handleFormConfig,
|
|
135
|
+
registerCustomModal,
|
|
136
|
+
tableReloading
|
|
94
137
|
} = useOnlineTableContext();
|
|
95
138
|
if (!ID.value) {
|
|
96
139
|
$message.warning("\u5730\u5740\u9519\u8BEF, \u914D\u7F6EID\u4E0D\u5B58\u5728!");
|
|
@@ -116,8 +159,10 @@ const _sfc_main = {
|
|
|
116
159
|
getDropDownActions,
|
|
117
160
|
getActions,
|
|
118
161
|
initButtonList,
|
|
119
|
-
initButtonSwitch
|
|
120
|
-
|
|
162
|
+
initButtonSwitch,
|
|
163
|
+
registerDetailModal,
|
|
164
|
+
registerBpmModal
|
|
165
|
+
} = useListButton(onlineTableContext, onlineExtConfigJson);
|
|
121
166
|
const {
|
|
122
167
|
columns,
|
|
123
168
|
actionColumn,
|
|
@@ -131,12 +176,22 @@ const _sfc_main = {
|
|
|
131
176
|
getFormatDate,
|
|
132
177
|
handleColumnResult,
|
|
133
178
|
hrefComponent,
|
|
134
|
-
viewOnlineCellImage
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
179
|
+
viewOnlineCellImage,
|
|
180
|
+
hrefMainTableId,
|
|
181
|
+
registerOnlineHrefModal,
|
|
182
|
+
registerPopModal,
|
|
183
|
+
openPopModal,
|
|
184
|
+
onlinePopModalRef,
|
|
185
|
+
popTableId
|
|
186
|
+
} = useTableColumns(onlineTableContext, onlineExtConfigJson);
|
|
187
|
+
watch(
|
|
188
|
+
ID,
|
|
189
|
+
() => {
|
|
190
|
+
console.log("watched id is change...");
|
|
191
|
+
initAutoList();
|
|
192
|
+
},
|
|
193
|
+
{ immediate: true }
|
|
194
|
+
);
|
|
140
195
|
function initAutoList() {
|
|
141
196
|
return __async(this, null, function* () {
|
|
142
197
|
loading.value = true;
|
|
@@ -160,8 +215,24 @@ const _sfc_main = {
|
|
|
160
215
|
reload();
|
|
161
216
|
}
|
|
162
217
|
function onQueryFormLoaded(json) {
|
|
163
|
-
|
|
218
|
+
return __async(this, null, function* () {
|
|
219
|
+
yield getRefPromise(superQueryButtonRef);
|
|
220
|
+
superQueryButtonRef.value.init(json);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
function openOnlinePopModal(params) {
|
|
224
|
+
console.log("openOnlinePopModal", params);
|
|
225
|
+
popTableId.value = params.id;
|
|
226
|
+
let data = {
|
|
227
|
+
title: params.describe
|
|
228
|
+
};
|
|
229
|
+
if (params.record && params.record.id) {
|
|
230
|
+
data["record"] = params.record;
|
|
231
|
+
data["isUpdate"] = true;
|
|
232
|
+
}
|
|
233
|
+
openPopModal(true, data);
|
|
164
234
|
}
|
|
235
|
+
useOnlineListPopEvent(openOnlinePopModal);
|
|
165
236
|
const that = {
|
|
166
237
|
ID,
|
|
167
238
|
onlineQueryFormOuter,
|
|
@@ -201,31 +272,36 @@ const _sfc_main = {
|
|
|
201
272
|
registerModal,
|
|
202
273
|
registerCustomModal,
|
|
203
274
|
registerImportModal,
|
|
275
|
+
registerDetailModal,
|
|
204
276
|
importUrl,
|
|
277
|
+
handleFormConfig,
|
|
278
|
+
onlinePopModalRef,
|
|
279
|
+
tableReloading,
|
|
205
280
|
handleSubmitFlow,
|
|
206
281
|
hrefComponent,
|
|
207
|
-
viewOnlineCellImage
|
|
282
|
+
viewOnlineCellImage,
|
|
283
|
+
hrefMainTableId,
|
|
284
|
+
onlineExtConfigJson,
|
|
285
|
+
registerOnlineHrefModal,
|
|
286
|
+
registerPopModal,
|
|
287
|
+
popTableId,
|
|
288
|
+
registerBpmModal
|
|
208
289
|
};
|
|
209
290
|
return that;
|
|
210
291
|
}
|
|
211
292
|
};
|
|
212
293
|
const _hoisted_1 = { class: "p-2" };
|
|
213
|
-
const _hoisted_2 =
|
|
214
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u5BFC\u5165");
|
|
215
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode(" \u5BFC\u51FA");
|
|
216
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u6279\u91CF\u5220\u9664");
|
|
217
|
-
const _hoisted_6 = {
|
|
294
|
+
const _hoisted_2 = {
|
|
218
295
|
key: 0,
|
|
219
296
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
220
297
|
};
|
|
221
|
-
const
|
|
222
|
-
const _hoisted_8 = {
|
|
298
|
+
const _hoisted_3 = {
|
|
223
299
|
key: 0,
|
|
224
300
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
225
301
|
};
|
|
226
|
-
const
|
|
227
|
-
const
|
|
228
|
-
const
|
|
302
|
+
const _hoisted_4 = ["src", "onClick"];
|
|
303
|
+
const _hoisted_5 = ["innerHTML"];
|
|
304
|
+
const _hoisted_6 = ["title"];
|
|
229
305
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
230
306
|
const _component_online_query_form = resolveComponent("online-query-form");
|
|
231
307
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -233,9 +309,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
233
309
|
const _component_TableAction = resolveComponent("TableAction");
|
|
234
310
|
const _component_BasicTable = resolveComponent("BasicTable");
|
|
235
311
|
const _component_OnlineAutoModal = resolveComponent("OnlineAutoModal");
|
|
312
|
+
const _component_online_detail_modal = resolveComponent("online-detail-modal");
|
|
236
313
|
const _component_JImportModal = resolveComponent("JImportModal");
|
|
237
314
|
const _component_a_modal = resolveComponent("a-modal");
|
|
238
315
|
const _component_online_custom_modal = resolveComponent("online-custom-modal");
|
|
316
|
+
const _component_online_pop_modal = resolveComponent("online-pop-modal");
|
|
239
317
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
240
318
|
createVNode(_component_online_query_form, {
|
|
241
319
|
ref: "onlineQueryFormOuter",
|
|
@@ -243,7 +321,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
243
321
|
onSearch: _ctx.queryWithCondition,
|
|
244
322
|
onLoaded: _ctx.onQueryFormLoaded
|
|
245
323
|
}, null, 8, ["id", "onSearch", "onLoaded"]),
|
|
246
|
-
|
|
324
|
+
!_ctx.tableReloading ? (openBlock(), createBlock(_component_BasicTable, {
|
|
325
|
+
key: 0,
|
|
247
326
|
ref: "onlineTable",
|
|
248
327
|
rowKey: "jeecg_row_key",
|
|
249
328
|
canResize: true,
|
|
@@ -270,7 +349,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
270
349
|
onClick: _ctx.handleAdd
|
|
271
350
|
}, {
|
|
272
351
|
default: withCtx(() => [
|
|
273
|
-
|
|
352
|
+
createTextVNode("\u65B0\u589E")
|
|
274
353
|
]),
|
|
275
354
|
_: 1
|
|
276
355
|
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
@@ -281,7 +360,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
281
360
|
onClick: _ctx.onImportExcel
|
|
282
361
|
}, {
|
|
283
362
|
default: withCtx(() => [
|
|
284
|
-
|
|
363
|
+
createTextVNode("\u5BFC\u5165")
|
|
285
364
|
]),
|
|
286
365
|
_: 1
|
|
287
366
|
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
@@ -292,7 +371,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
292
371
|
onClick: _ctx.onExportExcel
|
|
293
372
|
}, {
|
|
294
373
|
default: withCtx(() => [
|
|
295
|
-
|
|
374
|
+
createTextVNode(" \u5BFC\u51FA")
|
|
296
375
|
]),
|
|
297
376
|
_: 1
|
|
298
377
|
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
@@ -327,7 +406,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
327
406
|
onClick: _ctx.handleBatchDelete
|
|
328
407
|
}, {
|
|
329
408
|
default: withCtx(() => [
|
|
330
|
-
|
|
409
|
+
createTextVNode(" \u6279\u91CF\u5220\u9664")
|
|
331
410
|
]),
|
|
332
411
|
_: 1
|
|
333
412
|
}, 8, ["onClick"])), [
|
|
@@ -341,7 +420,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
341
420
|
}, null, 8, ["status", "onSearch"])) : createCommentVNode("", true)
|
|
342
421
|
]),
|
|
343
422
|
fileSlot: withCtx(({ text }) => [
|
|
344
|
-
!text ? (openBlock(), createElementBlock("span",
|
|
423
|
+
!text ? (openBlock(), createElementBlock("span", _hoisted_2, "\u65E0\u6587\u4EF6")) : (openBlock(), createBlock(_component_a_button, {
|
|
345
424
|
key: 1,
|
|
346
425
|
ghost: true,
|
|
347
426
|
type: "primary",
|
|
@@ -350,27 +429,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
350
429
|
onClick: ($event) => _ctx.downloadRowFile(text)
|
|
351
430
|
}, {
|
|
352
431
|
default: withCtx(() => [
|
|
353
|
-
|
|
432
|
+
createTextVNode(" \u4E0B\u8F7D ")
|
|
354
433
|
]),
|
|
355
434
|
_: 2
|
|
356
435
|
}, 1032, ["onClick"]))
|
|
357
436
|
]),
|
|
358
437
|
imgSlot: withCtx(({ text }) => [
|
|
359
|
-
!text ? (openBlock(), createElementBlock("span",
|
|
438
|
+
!text ? (openBlock(), createElementBlock("span", _hoisted_3, "\u65E0\u56FE\u7247")) : (openBlock(), createElementBlock("img", {
|
|
360
439
|
key: 1,
|
|
361
440
|
src: _ctx.getImgView(text),
|
|
362
441
|
alt: "\u56FE\u7247\u4E0D\u5B58\u5728",
|
|
363
442
|
class: "online-cell-image",
|
|
364
443
|
onClick: ($event) => _ctx.viewOnlineCellImage(text)
|
|
365
|
-
}, null, 8,
|
|
444
|
+
}, null, 8, _hoisted_4))
|
|
366
445
|
]),
|
|
367
446
|
htmlSlot: withCtx(({ text }) => [
|
|
368
|
-
createElementVNode("div", { innerHTML: text }, null, 8,
|
|
447
|
+
createElementVNode("div", { innerHTML: text }, null, 8, _hoisted_5)
|
|
369
448
|
]),
|
|
370
449
|
pcaSlot: withCtx(({ text }) => [
|
|
371
450
|
createElementVNode("div", {
|
|
372
451
|
title: _ctx.getPcaText(text)
|
|
373
|
-
}, toDisplayString(_ctx.getPcaText(text)), 9,
|
|
452
|
+
}, toDisplayString(_ctx.getPcaText(text)), 9, _hoisted_6)
|
|
374
453
|
]),
|
|
375
454
|
dateSlot: withCtx(({ text }) => [
|
|
376
455
|
createElementVNode("span", null, toDisplayString(_ctx.getFormatDate(text)), 1)
|
|
@@ -382,12 +461,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
382
461
|
}, null, 8, ["actions", "dropDownActions"])
|
|
383
462
|
]),
|
|
384
463
|
_: 1
|
|
385
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"]),
|
|
464
|
+
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])) : createCommentVNode("", true),
|
|
386
465
|
createVNode(_component_OnlineAutoModal, {
|
|
387
466
|
id: _ctx.ID,
|
|
388
467
|
onRegister: _ctx.registerModal,
|
|
389
|
-
onSuccess: _ctx.reload
|
|
390
|
-
|
|
468
|
+
onSuccess: _ctx.reload,
|
|
469
|
+
onFormConfig: _ctx.handleFormConfig
|
|
470
|
+
}, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
|
|
471
|
+
createVNode(_component_online_detail_modal, {
|
|
472
|
+
id: _ctx.ID,
|
|
473
|
+
onRegister: _ctx.registerDetailModal
|
|
474
|
+
}, null, 8, ["id", "onRegister"]),
|
|
391
475
|
createVNode(_component_JImportModal, {
|
|
392
476
|
onRegister: _ctx.registerImportModal,
|
|
393
477
|
url: _ctx.importUrl(),
|
|
@@ -403,7 +487,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
403
487
|
createVNode(_component_online_custom_modal, {
|
|
404
488
|
onRegister: _ctx.registerCustomModal,
|
|
405
489
|
onSuccess: _ctx.reload
|
|
406
|
-
}, null, 8, ["onRegister", "onSuccess"])
|
|
490
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
491
|
+
createVNode(_component_online_detail_modal, {
|
|
492
|
+
id: _ctx.hrefMainTableId,
|
|
493
|
+
onRegister: _ctx.registerOnlineHrefModal,
|
|
494
|
+
defaultFullscreen: false
|
|
495
|
+
}, null, 8, ["id", "onRegister"]),
|
|
496
|
+
createVNode(_component_online_pop_modal, {
|
|
497
|
+
ref: "onlinePopModalRef",
|
|
498
|
+
id: _ctx.popTableId,
|
|
499
|
+
onRegister: _ctx.registerPopModal,
|
|
500
|
+
onSuccess: _ctx.reload,
|
|
501
|
+
request: "",
|
|
502
|
+
topTip: ""
|
|
503
|
+
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
407
504
|
]);
|
|
408
505
|
}
|
|
409
506
|
var OnlineAutoList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|