@jeecg/online 3.7.4 → 3.9.0-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-d2fed52f.mjs → AccountLoginForm-cbc75a49.mjs} +1 -1
- package/{AiModal-fbe4b68a.mjs → AiModal-5bec5218.mjs} +1 -1
- package/{AppForgetPassword-3b3bec82.mjs → AppForgetPassword-dbc8377e.mjs} +2 -2
- package/{AppLogin-cd2e2a87.mjs → AppLogin-786949d3.mjs} +9 -9
- package/{AppLoginHeader-9b5be678.mjs → AppLoginHeader-37034b2f.mjs} +1 -1
- package/{AppNameEmail-b4e32ae8.mjs → AppNameEmail-7c6a1406.mjs} +2 -2
- package/{AppRegister-7117b66a.mjs → AppRegister-29a00a9d.mjs} +3 -3
- package/{AppTenant-5817729b.mjs → AppTenant-92890383.mjs} +2 -2
- package/{AppThirdForm-d14fb5e5.mjs → AppThirdForm-760064e5.mjs} +1 -1
- package/{AuthButtonConfig-5e3b6d72.mjs → AuthButtonConfig-78180aec.mjs} +50 -46
- package/{AuthButtonTree-7b4ec967.mjs → AuthButtonTree-62c8e70c.mjs} +2 -2
- package/{AuthDataConfig-48ee9228.mjs → AuthDataConfig-c978c469.mjs} +2 -2
- package/{AuthDataTree-02b3ba05.mjs → AuthDataTree-0647a06c.mjs} +1 -1
- package/{AuthFieldConfig-562cc6b6.mjs → AuthFieldConfig-558283bc.mjs} +2 -2
- package/{AuthFieldTree-2d458c0c.mjs → AuthFieldTree-106db4e2.mjs} +1 -1
- package/{AuthManagerDrawer-38299230.mjs → AuthManagerDrawer-ec5190d2.mjs} +5 -5
- package/{AuthSetterModal-78b06703.mjs → AuthSetterModal-90a76886.mjs} +8 -8
- package/CgformAddressModal-690b8940.mjs +263 -0
- package/CgformCopyList-af9c99a4.mjs +260 -0
- package/{CgformModal-12951453.mjs → CgformModal-b04a492a.mjs} +73 -70
- package/CgreportAigcModal-8fdcbd31.mjs +211 -0
- package/{CgreportModal-bfeb93ed.mjs → CgreportModal-da62724c.mjs} +123 -119
- package/{CheckDictTable-3c1e59e0.mjs → CheckDictTable-7320189b.mjs} +2 -2
- package/{CodeFileListModal-71752603.mjs → CodeFileListModal-e5ec210d.mjs} +2 -2
- package/CodeFileViewModal-09053f3a.mjs +269 -0
- package/CodeGeneratorModal-aba790e3.mjs +298 -0
- package/{CustomButtonList-22b5cdb3.mjs → CustomButtonList-704e6d1c.mjs} +1 -1
- package/{DBAttributeTable-eb25565c.mjs → DBAttributeTable-4a65c897.mjs} +176 -131
- package/{DbToOnlineModal-049b4bbd.mjs → DbToOnlineModal-cc398c70.mjs} +1 -1
- package/{DetailForm-c127c27f.mjs → DetailForm-a2bf8c33.mjs} +165 -153
- package/{DropMenuItem-b1a8f47d.mjs → DropMenuItem-884f9464.mjs} +1 -1
- package/{EnhanceJavaModal-1a4d696b.mjs → EnhanceJavaModal-fe8d475d.mjs} +1 -1
- package/{EnhanceJsHistory-48cf43ad.mjs → EnhanceJsHistory-95ca545c.mjs} +2 -2
- package/{EnhanceJsModal-0e1f15f8.mjs → EnhanceJsModal-742b0ee2.mjs} +17 -16
- package/{EnhanceSqlModal-6a1aa471.mjs → EnhanceSqlModal-6e36bc4f.mjs} +1 -1
- package/{ExtendConfigModal-37af21a5.mjs → ExtendConfigModal-74d657c7.mjs} +2 -2
- package/{FieldExtendJsonModal-9441e08e.mjs → FieldExtendJsonModal-fe7f7902.mjs} +2 -2
- package/{FileSelectModal-04490919.mjs → FileSelectModal-cf41604b.mjs} +1 -1
- package/{ForeignKeyTable-06300a47.mjs → ForeignKeyTable-4a59ded1.mjs} +2 -2
- package/{IndexTable-79bddd5c.mjs → IndexTable-87d67830.mjs} +2 -2
- package/{JModalTip-192fafa1.mjs → JModalTip-5401f43d.mjs} +1 -1
- package/{JOnlineSearchSelect-9abcf657.mjs → JOnlineSearchSelect-d8c57973.mjs} +1 -1
- package/{LeftDepart-35d78655.mjs → LeftDepart-463bf432.mjs} +1 -1
- package/{LeftRole-9d88976d.mjs → LeftRole-1631d3d4.mjs} +1 -1
- package/{LeftUser-04c89aea.mjs → LeftUser-5774a5db.mjs} +1 -1
- package/{LinkTableConfigModal-5f94ef13.mjs → LinkTableConfigModal-1bab1423.mjs} +1 -1
- package/{LinkTableFieldConfigModal-40753de5.mjs → LinkTableFieldConfigModal-49470140.mjs} +1 -1
- package/{LinkTableListPiece-179035c7.mjs → LinkTableListPiece-47f4286c.mjs} +1 -1
- package/{ModalFormDemo-3a85920c.mjs → ModalFormDemo-dbd0aa28.mjs} +1 -1
- package/OnlCgformErpList-35ad1d6e.mjs +528 -0
- package/{OnlCgformErpSubTable-3515150b.mjs → OnlCgformErpSubTable-5093d438.mjs} +45 -42
- package/{OnlCgformInnerSubTable-13e888c6.mjs → OnlCgformInnerSubTable-f1dc90db.mjs} +108 -103
- package/{OnlCgformInnerTableList-2e8f853c.mjs → OnlCgformInnerTableList-1b82a7da.mjs} +163 -155
- package/{OnlCgformTabList-583ac15f.mjs → OnlCgformTabList-d66d1261.mjs} +163 -155
- package/OnlineAutoList-fbba2a52.mjs +559 -0
- package/{OnlineAutoModal-c0743caf.mjs → OnlineAutoModal-68909692.mjs} +11 -10
- package/OnlineAutoTreeList-5153f09d.mjs +533 -0
- package/OnlineCustomModal-b5f8c799.mjs +247 -0
- package/{OnlineDetailModal-785e848e.mjs → OnlineDetailModal-ac078a9a.mjs} +45 -43
- package/OnlineForm-20604e4f.mjs +1080 -0
- package/OnlineFormDetail-719118b6.mjs +350 -0
- package/{OnlineFormUrlAdd-905bf251.mjs → OnlineFormUrlAdd-5b675f48.mjs} +14 -12
- package/{OnlineFormUrlDetail-a9dd2bfa.mjs → OnlineFormUrlDetail-91156bf2.mjs} +22 -19
- package/{OnlineFormUrlEdit-b8941f05.mjs → OnlineFormUrlEdit-fb810de6.mjs} +14 -12
- package/{OnlineFormUrlSuccess-ecaf6a21.mjs → OnlineFormUrlSuccess-302ecb21.mjs} +1 -1
- package/{OnlineQueryForm-ca6186a3.mjs → OnlineQueryForm-5eeceb51.mjs} +120 -120
- package/{OnlineSearchFormItem-5c503a51.mjs → OnlineSearchFormItem-5536a1a6.mjs} +2 -2
- package/{OnlineSelectCascade-a3e686b3.mjs → OnlineSelectCascade-180e8c9a.mjs} +61 -55
- package/{OnlineSubFormDetail-be1ad3b9.mjs → OnlineSubFormDetail-4d64e7be.mjs} +48 -44
- package/{OnlineTabAutoModal-fb59b573.mjs → OnlineTabAutoModal-c127ed50.mjs} +10 -9
- package/{OnlineTabDetailModal-4b9c4838.mjs → OnlineTabDetailModal-e4e9f7e3.mjs} +39 -37
- package/{OnlineTabForm-89389384.mjs → OnlineTabForm-827e7089.mjs} +26 -25
- package/OnlineTabFormDetail-0f96377e.mjs +329 -0
- package/{PageAttributeTable-345b97fe.mjs → PageAttributeTable-5703e2f1.mjs} +6 -6
- package/{PhoneLoginForm-8ca7e2d4.mjs → PhoneLoginForm-15dc68ed.mjs} +52 -52
- package/ProcessOnlineForm-1fcbe0af.mjs +219 -0
- package/{QueryTable-f0a88d78.mjs → QueryTable-26c9ee22.mjs} +2 -2
- package/{SetSwitchOptions-cdcb22a1.mjs → SetSwitchOptions-a3428177.mjs} +1 -1
- package/{ShareAddView-f713c0a5.mjs → ShareAddView-0512e884.mjs} +25 -22
- package/{ShareEditView-691764ad.mjs → ShareEditView-b89dfbd3.mjs} +25 -22
- package/{ShareView-df344a8d.mjs → ShareView-faf1a0ab.mjs} +23 -20
- package/{ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs → ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs} +2 -2
- package/{SingleView-ad0287d6.mjs → SingleView-21d3a558.mjs} +18 -15
- package/{SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs → SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs} +4 -4
- package/{SuperQuery-2b293e3b.mjs → SuperQuery-c95f86ee.mjs} +69 -67
- package/TaskOpinionList-73ecb3c8.mjs +101 -0
- package/aiModal-b44fa135.mjs +175 -0
- package/{auth.data-626c5083.mjs → auth.data-e44c7975.mjs} +10 -9
- package/button.data-fe45d43b.mjs +12 -0
- package/dayjs.min-eea532a3.mjs +301 -0
- package/{index-d6f9ada7.mjs → index-02f6dc7d.mjs} +2 -2
- package/{index-bef7fe2d.mjs → index-22a99f2e.mjs} +1 -1
- package/{index-181f8344.mjs → index-26940246.mjs} +3 -3
- package/{index-3c7392a4.mjs → index-30da2fc0.mjs} +136 -128
- package/index-391aec04.mjs +268 -0
- package/index-94b6319e.mjs +57 -0
- package/{index-93341e02.mjs → index-abbfd327.mjs} +2 -2
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-aaa30c8c.mjs +410 -0
- package/{useCustomHook-acb00837.mjs → useCustomHook-3a17a690.mjs} +11 -9
- package/useExtendComponent-ad499dff.mjs +4164 -0
- package/useListButton-308458cd.mjs +765 -0
- package/{useSchemas-f1819e54.mjs → useSchemas-b074f3a1.mjs} +72 -72
- package/{useTableSync-075826a1.mjs → useTableSync-dbfba20e.mjs} +31 -31
- package/CgformAddressModal-1b9cbe19.mjs +0 -260
- package/CgformCopyList-580bba0f.mjs +0 -252
- package/CodeFileViewModal-eb803769.mjs +0 -253
- package/CodeGeneratorModal-2fe1e920.mjs +0 -281
- package/OnlCgformErpList-8fd15fc1.mjs +0 -488
- package/OnlineAutoList-36ec0957.mjs +0 -513
- package/OnlineAutoTreeList-1cd718be.mjs +0 -523
- package/OnlineCustomModal-661ee850.mjs +0 -232
- package/OnlineForm-c1fb38eb.mjs +0 -1012
- package/OnlineFormDetail-50186870.mjs +0 -342
- package/OnlineTabFormDetail-72173ae4.mjs +0 -327
- package/ProcessOnlineForm-485b5679.mjs +0 -188
- package/README.md +0 -26
- package/index-3ccda826.mjs +0 -239
- package/index-f3683351.mjs +0 -57
- package/useCgformList-13c8aab7.mjs +0 -378
- package/useExtendComponent-3f5734ca.mjs +0 -4459
- package/useListButton-ee23874a.mjs +0 -719
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
|
@@ -1,59 +1,60 @@
|
|
|
1
1
|
var T = (E, v, l) => new Promise((m, B) => {
|
|
2
|
-
var h = (
|
|
2
|
+
var h = (p) => {
|
|
3
3
|
try {
|
|
4
|
-
k(l.next(
|
|
4
|
+
k(l.next(p));
|
|
5
5
|
} catch (I) {
|
|
6
6
|
B(I);
|
|
7
7
|
}
|
|
8
|
-
}, d = (
|
|
8
|
+
}, d = (p) => {
|
|
9
9
|
try {
|
|
10
|
-
k(l.throw(
|
|
10
|
+
k(l.throw(p));
|
|
11
11
|
} catch (I) {
|
|
12
12
|
B(I);
|
|
13
13
|
}
|
|
14
|
-
}, k = (
|
|
14
|
+
}, k = (p) => p.done ? m(p.value) : Promise.resolve(p.value).then(h, d);
|
|
15
15
|
k((l = l.apply(E, v)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as
|
|
18
|
-
import { BasicTable as
|
|
19
|
-
import { useMessage as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import Q from "./OnlineTabDetailModal-
|
|
23
|
-
import
|
|
24
|
-
import { u as
|
|
25
|
-
import { u as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { u as
|
|
29
|
-
import { T as
|
|
17
|
+
import { defineComponent as Ne, ref as Qe, watch as Je, resolveComponent as x, openBlock as t, createElementBlock as f, unref as e, createBlock as a, createCommentVNode as u, withDirectives as q, createVNode as c, vShow as A, normalizeClass as ze, withCtx as i, createElementVNode as b, toDisplayString as y, Fragment as N, renderList as $e, createTextVNode as D, mergeProps as Ve, toHandlers as je, resolveDynamicComponent as Ke, normalizeProps as Ue, guardReactiveProps as We } from "vue";
|
|
18
|
+
import { BasicTable as Ge, TableAction as Xe } from "/@/components/Table";
|
|
19
|
+
import { useMessage as Ye } from "/@/hooks/web/useMessage";
|
|
20
|
+
import Ze from "./OnlineCustomModal-b5f8c799.mjs";
|
|
21
|
+
import eo from "./OnlineTabAutoModal-c127ed50.mjs";
|
|
22
|
+
import Q from "./OnlineTabDetailModal-e4e9f7e3.mjs";
|
|
23
|
+
import oo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as to, a as no } from "./useListButton-308458cd.mjs";
|
|
25
|
+
import { u as ro, a as io, O as lo, g as ao } from "./useExtendComponent-ad499dff.mjs";
|
|
26
|
+
import so from "./OnlineQueryForm-5eeceb51.mjs";
|
|
27
|
+
import co from "./SuperQuery-c95f86ee.mjs";
|
|
28
|
+
import { u as po } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import { T as uo } from "./constant-fa63bd66.mjs";
|
|
30
|
+
import { Loading as mo } from "/@/components/Loading";
|
|
30
31
|
import "/@/components/Modal";
|
|
31
32
|
import "/@/utils/http/axios";
|
|
32
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-20604e4f.mjs";
|
|
33
34
|
import "/@/components/Form/index";
|
|
34
35
|
import "lodash-es";
|
|
35
36
|
import "/@/utils";
|
|
36
|
-
import "/@/components/Loading";
|
|
37
37
|
import "/@/components/jeecg/JVxeTable/types";
|
|
38
38
|
import "/@/utils/auth";
|
|
39
39
|
import "@ant-design/icons-vue";
|
|
40
40
|
import "/@/hooks/core/useContext";
|
|
41
41
|
import "/@/utils/mitt";
|
|
42
|
-
import "./useCustomHook-
|
|
42
|
+
import "./useCustomHook-3a17a690.mjs";
|
|
43
43
|
import "/@/utils/cache";
|
|
44
44
|
import "/@/utils/common/compUtils";
|
|
45
45
|
import "/@/store/modules/user";
|
|
46
46
|
import "/@/hooks/web/useAppInject";
|
|
47
47
|
import "/@/utils/is";
|
|
48
|
+
import "./dayjs.min-eea532a3.mjs";
|
|
48
49
|
import "/@/store/modules/permission";
|
|
49
|
-
import "./OnlineForm.
|
|
50
|
-
import "./index-
|
|
50
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
51
|
+
import "./index-94b6319e.mjs";
|
|
51
52
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
52
53
|
import "vue-router";
|
|
53
|
-
import "./OnlineTabForm-
|
|
54
|
+
import "./OnlineTabForm-827e7089.mjs";
|
|
54
55
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
55
|
-
import "./OnlineTabFormDetail-
|
|
56
|
-
import "./DetailForm-
|
|
56
|
+
import "./OnlineTabFormDetail-0f96377e.mjs";
|
|
57
|
+
import "./DetailForm-a2bf8c33.mjs";
|
|
57
58
|
import "/@/utils/propTypes";
|
|
58
59
|
import "/@/utils/dict";
|
|
59
60
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -62,13 +63,15 @@ import "/@/api/common/api";
|
|
|
62
63
|
import "/@/components/Form/src/utils/Area";
|
|
63
64
|
import "/@/components/Preview/index";
|
|
64
65
|
import "/@/components/Markdown";
|
|
65
|
-
import "./OnlineSubFormDetail-
|
|
66
|
+
import "./OnlineSubFormDetail-4d64e7be.mjs";
|
|
67
|
+
import "/@/utils/uuid";
|
|
66
68
|
import "/@/router";
|
|
67
69
|
import "/@/hooks/core/onMountedOrActivated";
|
|
68
70
|
import "/@/store/modules/multipleTab";
|
|
69
71
|
import "./cgformState-d9f8ec42.mjs";
|
|
70
72
|
import "pinia";
|
|
71
73
|
import "/@/store";
|
|
74
|
+
import "/@/router/menus";
|
|
72
75
|
import "ant-design-vue";
|
|
73
76
|
import "/@/hooks/system/useMethods";
|
|
74
77
|
import "/@/components/Form/src/componentMap";
|
|
@@ -76,32 +79,32 @@ import "/@/components/Form/src/jeecg/components/JUpload";
|
|
|
76
79
|
import "/@/views/system/user/user.api";
|
|
77
80
|
import "/@/utils/desform/customExpression";
|
|
78
81
|
import "/@/hooks/system/useListPage";
|
|
79
|
-
import "./LinkTableListPiece-
|
|
82
|
+
import "./LinkTableListPiece-47f4286c.mjs";
|
|
80
83
|
import "/@/assets/images/placeholderImage.png";
|
|
81
|
-
import "./OnlineSelectCascade-
|
|
82
|
-
import "./JModalTip-
|
|
84
|
+
import "./OnlineSelectCascade-180e8c9a.mjs";
|
|
85
|
+
import "./JModalTip-5401f43d.mjs";
|
|
83
86
|
import "@vueuse/core";
|
|
84
87
|
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
85
88
|
import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
86
89
|
import "/@/utils/index";
|
|
87
90
|
import "/@/hooks/web/useDesign";
|
|
88
|
-
const
|
|
91
|
+
const go = { class: "p-2" }, fo = {
|
|
89
92
|
key: 0,
|
|
90
93
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
91
|
-
},
|
|
94
|
+
}, yo = {
|
|
92
95
|
key: 0,
|
|
93
96
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
94
|
-
},
|
|
97
|
+
}, Co = ["src", "onClick"], _o = ["innerHTML", "onClick"], bo = ["innerHTML"], ho = ["title"], zt = /* @__PURE__ */ Ne({
|
|
95
98
|
__name: "OnlCgformTabList",
|
|
96
99
|
setup(E) {
|
|
97
|
-
const { createMessage: v } =
|
|
100
|
+
const { createMessage: v } = Ye(), {
|
|
98
101
|
ID: l,
|
|
99
102
|
onlineTableContext: m,
|
|
100
103
|
onlineQueryFormOuter: B,
|
|
101
104
|
loading: h,
|
|
102
105
|
reload: d,
|
|
103
106
|
dataSource: k,
|
|
104
|
-
pagination:
|
|
107
|
+
pagination: p,
|
|
105
108
|
handleSpecialConfig: I,
|
|
106
109
|
getColumnList: J,
|
|
107
110
|
handleChangeInTable: z,
|
|
@@ -112,66 +115,67 @@ const uo = { class: "p-2" }, mo = {
|
|
|
112
115
|
onlineExtConfigJson: F,
|
|
113
116
|
handleFormConfig: K,
|
|
114
117
|
registerCustomModal: U,
|
|
115
|
-
tableReloading: M
|
|
116
|
-
|
|
118
|
+
tableReloading: M,
|
|
119
|
+
pageLoading: W
|
|
120
|
+
} = to();
|
|
117
121
|
if (!l.value)
|
|
118
122
|
throw v.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
119
|
-
let { initCgEnhanceJs:
|
|
123
|
+
let { initCgEnhanceJs: G } = ro(m);
|
|
120
124
|
const {
|
|
121
125
|
buttonSwitch: _,
|
|
122
126
|
cgBIBtnMap: r,
|
|
123
|
-
getQueryButtonCfg:
|
|
124
|
-
getResetButtonCfg:
|
|
125
|
-
getFormConfirmButtonCfg:
|
|
126
|
-
cgTopButtonList:
|
|
127
|
-
importUrl:
|
|
128
|
-
registerModal:
|
|
129
|
-
handleAdd:
|
|
130
|
-
handleBatchDelete:
|
|
131
|
-
registerImportModal:
|
|
132
|
-
onImportExcel:
|
|
133
|
-
onExportExcel:
|
|
134
|
-
cgButtonJsHandler:
|
|
135
|
-
cgButtonActionHandler:
|
|
136
|
-
getDropDownActions:
|
|
137
|
-
getActions:
|
|
138
|
-
initButtonList:
|
|
139
|
-
initButtonSwitch:
|
|
140
|
-
registerDetailModal:
|
|
141
|
-
registerBpmModal:
|
|
142
|
-
} =
|
|
143
|
-
function
|
|
127
|
+
getQueryButtonCfg: X,
|
|
128
|
+
getResetButtonCfg: Y,
|
|
129
|
+
getFormConfirmButtonCfg: Z,
|
|
130
|
+
cgTopButtonList: L,
|
|
131
|
+
importUrl: ee,
|
|
132
|
+
registerModal: oe,
|
|
133
|
+
handleAdd: te,
|
|
134
|
+
handleBatchDelete: ne,
|
|
135
|
+
registerImportModal: re,
|
|
136
|
+
onImportExcel: ie,
|
|
137
|
+
onExportExcel: le,
|
|
138
|
+
cgButtonJsHandler: ae,
|
|
139
|
+
cgButtonActionHandler: se,
|
|
140
|
+
getDropDownActions: ce,
|
|
141
|
+
getActions: pe,
|
|
142
|
+
initButtonList: ue,
|
|
143
|
+
initButtonSwitch: me,
|
|
144
|
+
registerDetailModal: de,
|
|
145
|
+
registerBpmModal: ko
|
|
146
|
+
} = no(m, F), O = Qe(!1);
|
|
147
|
+
function ge() {
|
|
144
148
|
return T(this, null, function* () {
|
|
145
149
|
try {
|
|
146
|
-
|
|
150
|
+
O.value = !0, yield le();
|
|
147
151
|
} finally {
|
|
148
|
-
setTimeout(() =>
|
|
152
|
+
setTimeout(() => O.value = !1, 1500);
|
|
149
153
|
}
|
|
150
154
|
});
|
|
151
155
|
}
|
|
152
156
|
const {
|
|
153
|
-
columns:
|
|
154
|
-
actionColumn:
|
|
155
|
-
selectedKeys:
|
|
156
|
-
rowSelection:
|
|
157
|
-
enableScrollBar:
|
|
158
|
-
tableScroll:
|
|
159
|
-
downloadRowFile:
|
|
160
|
-
getImgView:
|
|
157
|
+
columns: fe,
|
|
158
|
+
actionColumn: ye,
|
|
159
|
+
selectedKeys: Ce,
|
|
160
|
+
rowSelection: _e,
|
|
161
|
+
enableScrollBar: be,
|
|
162
|
+
tableScroll: he,
|
|
163
|
+
downloadRowFile: ke,
|
|
164
|
+
getImgView: Ie,
|
|
161
165
|
getPcaText: P,
|
|
162
|
-
getFormatDate:
|
|
163
|
-
handleColumnResult:
|
|
166
|
+
getFormatDate: Se,
|
|
167
|
+
handleColumnResult: Be,
|
|
164
168
|
hrefComponent: w,
|
|
165
|
-
viewOnlineCellImage:
|
|
166
|
-
hrefMainTableId:
|
|
167
|
-
registerOnlineHrefModal:
|
|
168
|
-
registerPopModal:
|
|
169
|
-
openPopModal:
|
|
170
|
-
onlinePopModalRef:
|
|
169
|
+
viewOnlineCellImage: we,
|
|
170
|
+
hrefMainTableId: Te,
|
|
171
|
+
registerOnlineHrefModal: ve,
|
|
172
|
+
registerPopModal: Re,
|
|
173
|
+
openPopModal: Me,
|
|
174
|
+
onlinePopModalRef: Le,
|
|
171
175
|
popTableId: H,
|
|
172
176
|
handleClickFieldHref: Oe
|
|
173
|
-
} =
|
|
174
|
-
|
|
177
|
+
} = io(m, F);
|
|
178
|
+
Je(
|
|
175
179
|
l,
|
|
176
180
|
() => {
|
|
177
181
|
xe();
|
|
@@ -181,48 +185,48 @@ const uo = { class: "p-2" }, mo = {
|
|
|
181
185
|
function xe() {
|
|
182
186
|
return T(this, null, function* () {
|
|
183
187
|
h.value = !0;
|
|
184
|
-
let n = yield J(
|
|
185
|
-
|
|
188
|
+
let n = yield J(uo);
|
|
189
|
+
De(n), yield $(), h.value = !1, m.execButtonEnhance("setup");
|
|
186
190
|
});
|
|
187
191
|
}
|
|
188
|
-
function Le(n) {
|
|
189
|
-
let g = W(n.enhanceJs);
|
|
190
|
-
m.EnhanceJS = g, pe(n.cgButtonList), ue(n.hideColumns), Se(n), I(n);
|
|
191
|
-
}
|
|
192
192
|
function De(n) {
|
|
193
|
-
|
|
193
|
+
let g = G(n.enhanceJs);
|
|
194
|
+
m.EnhanceJS = g, ue(n.cgButtonList), me(n.hideColumns), Be(n), I(n);
|
|
194
195
|
}
|
|
195
196
|
function Ee(n) {
|
|
197
|
+
m.queryParam = n, d({ mode: "search" });
|
|
198
|
+
}
|
|
199
|
+
function Fe(n) {
|
|
196
200
|
return T(this, null, function* () {
|
|
197
|
-
yield
|
|
201
|
+
yield ao(R), R.value.init(n);
|
|
198
202
|
});
|
|
199
203
|
}
|
|
200
|
-
function
|
|
204
|
+
function Pe(n) {
|
|
201
205
|
H.value = n.id;
|
|
202
206
|
let g = {
|
|
203
207
|
title: n.describe
|
|
204
208
|
};
|
|
205
|
-
n.record && n.record.id && (g.record = n.record, g.isUpdate = !0),
|
|
209
|
+
n.record && n.record.id && (g.record = n.record, g.isUpdate = !0), Me(!0, g);
|
|
206
210
|
}
|
|
207
|
-
return
|
|
208
|
-
const
|
|
209
|
-
return t(), f("div",
|
|
210
|
-
e(M) ? (t(), a(
|
|
211
|
+
return po(Pe), (n, g) => {
|
|
212
|
+
const He = x("a-skeleton"), C = x("a-button"), qe = x("a-modal");
|
|
213
|
+
return t(), f("div", go, [
|
|
214
|
+
e(M) ? (t(), a(He, {
|
|
211
215
|
key: 0,
|
|
212
216
|
active: ""
|
|
213
|
-
})) :
|
|
214
|
-
q(
|
|
217
|
+
})) : u("", !0),
|
|
218
|
+
q(c(so, {
|
|
215
219
|
ref_key: "onlineQueryFormOuter",
|
|
216
220
|
ref: B,
|
|
217
221
|
id: e(l),
|
|
218
|
-
queryBtnCfg: e(
|
|
219
|
-
resetBtnCfg: e(
|
|
220
|
-
onSearch:
|
|
221
|
-
onLoaded:
|
|
222
|
+
queryBtnCfg: e(X),
|
|
223
|
+
resetBtnCfg: e(Y),
|
|
224
|
+
onSearch: Ee,
|
|
225
|
+
onLoaded: Fe
|
|
222
226
|
}, null, 8, ["id", "queryBtnCfg", "resetBtnCfg"]), [
|
|
223
227
|
[A, !e(M)]
|
|
224
228
|
]),
|
|
225
|
-
e(M) ?
|
|
229
|
+
e(M) ? u("", !0) : (t(), a(e(Ge), {
|
|
226
230
|
key: 1,
|
|
227
231
|
ref: "onlineTable",
|
|
228
232
|
rowKey: "jeecg_row_key",
|
|
@@ -230,16 +234,16 @@ const uo = { class: "p-2" }, mo = {
|
|
|
230
234
|
bordered: !0,
|
|
231
235
|
showIndexColumn: !1,
|
|
232
236
|
loading: e(h),
|
|
233
|
-
columns: e(
|
|
237
|
+
columns: e(fe),
|
|
234
238
|
dataSource: e(k),
|
|
235
|
-
pagination: e(
|
|
236
|
-
rowSelection: e(
|
|
237
|
-
actionColumn: e(
|
|
239
|
+
pagination: e(p),
|
|
240
|
+
rowSelection: e(_e),
|
|
241
|
+
actionColumn: e(ye),
|
|
238
242
|
showTableSetting: !0,
|
|
239
243
|
clickToRowSelect: !1,
|
|
240
|
-
scroll: e(
|
|
244
|
+
scroll: e(he),
|
|
241
245
|
onTableRedo: e(d),
|
|
242
|
-
class:
|
|
246
|
+
class: ze({ "j-table-force-nowrap": e(be) }),
|
|
243
247
|
onChange: e(z)
|
|
244
248
|
}, {
|
|
245
249
|
tableTitle: i(() => [
|
|
@@ -247,40 +251,40 @@ const uo = { class: "p-2" }, mo = {
|
|
|
247
251
|
key: 0,
|
|
248
252
|
type: "primary",
|
|
249
253
|
preIcon: e(r).add.buttonIcon,
|
|
250
|
-
onClick: e(
|
|
254
|
+
onClick: e(te)
|
|
251
255
|
}, {
|
|
252
256
|
default: i(() => [
|
|
253
257
|
b("span", null, y(e(r).add.buttonName), 1)
|
|
254
258
|
]),
|
|
255
259
|
_: 1
|
|
256
|
-
}, 8, ["preIcon", "onClick"])) :
|
|
260
|
+
}, 8, ["preIcon", "onClick"])) : u("", !0),
|
|
257
261
|
e(_).import && e(r).import.enabled ? (t(), a(C, {
|
|
258
262
|
key: 1,
|
|
259
263
|
type: "primary",
|
|
260
264
|
preIcon: e(r).import.buttonIcon,
|
|
261
|
-
onClick: e(
|
|
265
|
+
onClick: e(ie)
|
|
262
266
|
}, {
|
|
263
267
|
default: i(() => [
|
|
264
268
|
b("span", null, y(e(r).import.buttonName), 1)
|
|
265
269
|
]),
|
|
266
270
|
_: 1
|
|
267
|
-
}, 8, ["preIcon", "onClick"])) :
|
|
271
|
+
}, 8, ["preIcon", "onClick"])) : u("", !0),
|
|
268
272
|
e(_).export && e(r).export.enabled ? (t(), a(C, {
|
|
269
273
|
key: 2,
|
|
270
274
|
type: "primary",
|
|
271
275
|
preIcon: e(r).export.buttonIcon,
|
|
272
|
-
loading:
|
|
273
|
-
onClick:
|
|
276
|
+
loading: O.value,
|
|
277
|
+
onClick: ge
|
|
274
278
|
}, {
|
|
275
279
|
default: i(() => [
|
|
276
280
|
b("span", null, y(e(r).export.buttonName), 1)
|
|
277
281
|
]),
|
|
278
282
|
_: 1
|
|
279
|
-
}, 8, ["preIcon", "loading"])) :
|
|
280
|
-
e(
|
|
283
|
+
}, 8, ["preIcon", "loading"])) : u("", !0),
|
|
284
|
+
e(L) && e(L).length > 0 ? (t(!0), f(N, { key: 3 }, $e(e(L), (o, s) => (t(), f(N, null, [
|
|
281
285
|
o.optType == "js" ? (t(), a(C, {
|
|
282
286
|
key: "cgbtn" + s,
|
|
283
|
-
onClick: (S) => e(
|
|
287
|
+
onClick: (S) => e(ae)(o.buttonCode),
|
|
284
288
|
type: "primary",
|
|
285
289
|
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
286
290
|
}, {
|
|
@@ -290,7 +294,7 @@ const uo = { class: "p-2" }, mo = {
|
|
|
290
294
|
_: 2
|
|
291
295
|
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (t(), a(C, {
|
|
292
296
|
key: "cgbtn" + s,
|
|
293
|
-
onClick: (S) => e(
|
|
297
|
+
onClick: (S) => e(se)(o.buttonCode),
|
|
294
298
|
type: "primary",
|
|
295
299
|
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
296
300
|
}, {
|
|
@@ -298,21 +302,21 @@ const uo = { class: "p-2" }, mo = {
|
|
|
298
302
|
D(y(o.buttonName), 1)
|
|
299
303
|
]),
|
|
300
304
|
_: 2
|
|
301
|
-
}, 1032, ["onClick", "preIcon"])) :
|
|
302
|
-
], 64))), 256)) :
|
|
305
|
+
}, 1032, ["onClick", "preIcon"])) : u("", !0)
|
|
306
|
+
], 64))), 256)) : u("", !0),
|
|
303
307
|
e(_).batch_delete && e(r).batch_delete.enabled ? q((t(), a(C, {
|
|
304
308
|
key: 4,
|
|
305
309
|
preIcon: e(r).batch_delete.buttonIcon,
|
|
306
|
-
onClick: e(
|
|
310
|
+
onClick: e(ne)
|
|
307
311
|
}, {
|
|
308
312
|
default: i(() => [
|
|
309
313
|
b("span", null, y(e(r).batch_delete.buttonName), 1)
|
|
310
314
|
]),
|
|
311
315
|
_: 1
|
|
312
316
|
}, 8, ["preIcon", "onClick"])), [
|
|
313
|
-
[A, e(
|
|
314
|
-
]) :
|
|
315
|
-
e(_).super_query && e(r).super_query.enabled ? (t(), a(
|
|
317
|
+
[A, e(Ce).length > 0]
|
|
318
|
+
]) : u("", !0),
|
|
319
|
+
e(_).super_query && e(r).super_query.enabled ? (t(), a(co, {
|
|
316
320
|
key: 5,
|
|
317
321
|
ref_key: "superQueryButtonRef",
|
|
318
322
|
ref: R,
|
|
@@ -320,7 +324,7 @@ const uo = { class: "p-2" }, mo = {
|
|
|
320
324
|
status: e(V),
|
|
321
325
|
queryBtnCfg: e(r).super_query,
|
|
322
326
|
onSearch: e(j)
|
|
323
|
-
}, null, 8, ["status", "queryBtnCfg", "onSearch"])) :
|
|
327
|
+
}, null, 8, ["status", "queryBtnCfg", "onSearch"])) : u("", !0)
|
|
324
328
|
]),
|
|
325
329
|
fileSlot: i(({ text: o, record: s, column: S }) => [
|
|
326
330
|
o ? (t(), a(C, {
|
|
@@ -329,96 +333,100 @@ const uo = { class: "p-2" }, mo = {
|
|
|
329
333
|
type: "primary",
|
|
330
334
|
preIcon: "ant-design:download",
|
|
331
335
|
size: "small",
|
|
332
|
-
onClick: (
|
|
336
|
+
onClick: (Ae) => e(ke)(o, s, S, e(l))
|
|
333
337
|
}, {
|
|
334
338
|
default: i(() => g[0] || (g[0] = [
|
|
335
339
|
D(" 下载 ")
|
|
336
340
|
])),
|
|
337
341
|
_: 2
|
|
338
|
-
}, 1032, ["onClick"])) : (t(), f("span",
|
|
342
|
+
}, 1032, ["onClick"])) : (t(), f("span", fo, "无文件"))
|
|
339
343
|
]),
|
|
340
344
|
imgSlot: i(({ text: o }) => [
|
|
341
345
|
o ? (t(), f("img", {
|
|
342
346
|
key: 1,
|
|
343
|
-
src: e(
|
|
347
|
+
src: e(Ie)(o),
|
|
344
348
|
alt: "图片不存在",
|
|
345
349
|
class: "online-cell-image",
|
|
346
|
-
onClick: (s) => e(
|
|
347
|
-
}, null, 8,
|
|
350
|
+
onClick: (s) => e(we)(o)
|
|
351
|
+
}, null, 8, Co)) : (t(), f("span", yo, "无图片"))
|
|
348
352
|
]),
|
|
349
353
|
htmlSlot: i(({ text: o, column: s, record: S }) => [
|
|
350
354
|
s.fieldHref ? (t(), f("a", {
|
|
351
355
|
key: 0,
|
|
352
356
|
innerHTML: o,
|
|
353
|
-
onClick: (
|
|
354
|
-
}, null, 8,
|
|
357
|
+
onClick: (Ae) => e(Oe)(s.fieldHref, S)
|
|
358
|
+
}, null, 8, _o)) : (t(), f("div", {
|
|
355
359
|
key: 1,
|
|
356
360
|
innerHTML: o
|
|
357
|
-
}, null, 8,
|
|
361
|
+
}, null, 8, bo))
|
|
358
362
|
]),
|
|
359
363
|
pcaSlot: i(({ text: o }) => [
|
|
360
364
|
b("div", {
|
|
361
365
|
title: e(P)(o)
|
|
362
|
-
}, y(e(P)(o)), 9,
|
|
366
|
+
}, y(e(P)(o)), 9, ho)
|
|
363
367
|
]),
|
|
364
368
|
dateSlot: i(({ text: o, column: s }) => [
|
|
365
|
-
b("span", null, y(e(
|
|
369
|
+
b("span", null, y(e(Se)(o, s)), 1)
|
|
366
370
|
]),
|
|
367
371
|
action: i(({ record: o }) => [
|
|
368
|
-
|
|
369
|
-
actions: e(
|
|
370
|
-
dropDownActions: e(
|
|
372
|
+
c(e(Xe), {
|
|
373
|
+
actions: e(pe)(o),
|
|
374
|
+
dropDownActions: e(ce)(o)
|
|
371
375
|
}, null, 8, ["actions", "dropDownActions"])
|
|
372
376
|
]),
|
|
373
377
|
_: 1
|
|
374
378
|
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
|
|
375
|
-
|
|
376
|
-
onRegister: e(
|
|
379
|
+
c(eo, {
|
|
380
|
+
onRegister: e(oe),
|
|
377
381
|
id: e(l),
|
|
378
382
|
cgBIBtnMap: e(r),
|
|
379
383
|
buttonSwitch: e(_),
|
|
380
|
-
confirmBtnCfg: e(
|
|
384
|
+
confirmBtnCfg: e(Z),
|
|
381
385
|
onSuccess: e(d),
|
|
382
386
|
onFormConfig: e(K)
|
|
383
387
|
}, null, 8, ["onRegister", "id", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg", "onSuccess", "onFormConfig"]),
|
|
384
|
-
|
|
388
|
+
c(Q, {
|
|
385
389
|
id: e(l),
|
|
386
|
-
onRegister: e(
|
|
390
|
+
onRegister: e(de)
|
|
387
391
|
}, null, 8, ["id", "onRegister"]),
|
|
388
|
-
|
|
389
|
-
onRegister: e(
|
|
390
|
-
url: e(
|
|
392
|
+
c(oo, {
|
|
393
|
+
onRegister: e(re),
|
|
394
|
+
url: e(ee)(),
|
|
391
395
|
onOk: e(d),
|
|
392
396
|
online: ""
|
|
393
397
|
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
394
|
-
|
|
398
|
+
c(qe, Ve(e(w).model, je(e(w).on)), {
|
|
395
399
|
default: i(() => [
|
|
396
|
-
(t(), a(
|
|
400
|
+
(t(), a(Ke(e(w).is), Ue(We(e(w).params)), null, 16))
|
|
397
401
|
]),
|
|
398
402
|
_: 1
|
|
399
403
|
}, 16),
|
|
400
|
-
|
|
404
|
+
c(Ze, {
|
|
401
405
|
onRegister: e(U),
|
|
402
406
|
onSuccess: e(d)
|
|
403
407
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
404
|
-
|
|
405
|
-
id: e(
|
|
406
|
-
onRegister: e(
|
|
408
|
+
c(Q, {
|
|
409
|
+
id: e(Te),
|
|
410
|
+
onRegister: e(ve),
|
|
407
411
|
defaultFullscreen: !1
|
|
408
412
|
}, null, 8, ["id", "onRegister"]),
|
|
409
|
-
|
|
413
|
+
c(lo, {
|
|
410
414
|
ref_key: "onlinePopModalRef",
|
|
411
|
-
ref:
|
|
415
|
+
ref: Le,
|
|
412
416
|
id: e(H),
|
|
413
|
-
onRegister: e(
|
|
417
|
+
onRegister: e(Re),
|
|
414
418
|
onSuccess: e(d),
|
|
415
419
|
request: "",
|
|
416
420
|
topTip: ""
|
|
417
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
421
|
+
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
422
|
+
c(e(mo), {
|
|
423
|
+
loading: e(W),
|
|
424
|
+
absolute: !0
|
|
425
|
+
}, null, 8, ["loading"])
|
|
418
426
|
]);
|
|
419
427
|
};
|
|
420
428
|
}
|
|
421
429
|
});
|
|
422
430
|
export {
|
|
423
|
-
|
|
431
|
+
zt as default
|
|
424
432
|
};
|