@jeecg/online 3.7.4 → 3.8.2-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{AccountLoginForm-d2fed52f.mjs → AccountLoginForm-79fa7b01.mjs} +1 -1
- package/{AiModal-fbe4b68a.mjs → AiModal-942b59ec.mjs} +1 -1
- package/{AppForgetPassword-3b3bec82.mjs → AppForgetPassword-d762e5b3.mjs} +2 -2
- package/{AppLogin-cd2e2a87.mjs → AppLogin-41372985.mjs} +9 -9
- package/{AppLoginHeader-9b5be678.mjs → AppLoginHeader-3b6fa33d.mjs} +1 -1
- package/{AppNameEmail-b4e32ae8.mjs → AppNameEmail-8dfbad62.mjs} +2 -2
- package/{AppRegister-7117b66a.mjs → AppRegister-433c54db.mjs} +3 -3
- package/{AppTenant-5817729b.mjs → AppTenant-e49dfa9b.mjs} +2 -2
- package/{AppThirdForm-d14fb5e5.mjs → AppThirdForm-7b75b4fc.mjs} +1 -1
- package/{AuthButtonConfig-5e3b6d72.mjs → AuthButtonConfig-a0f59cb5.mjs} +50 -46
- package/{AuthButtonTree-7b4ec967.mjs → AuthButtonTree-f0a5cc0b.mjs} +2 -2
- package/{AuthDataConfig-48ee9228.mjs → AuthDataConfig-647c4a27.mjs} +2 -2
- package/{AuthDataTree-02b3ba05.mjs → AuthDataTree-b80a3ea5.mjs} +1 -1
- package/{AuthFieldConfig-562cc6b6.mjs → AuthFieldConfig-d36a1b2d.mjs} +2 -2
- package/{AuthFieldTree-2d458c0c.mjs → AuthFieldTree-dba6af79.mjs} +1 -1
- package/{AuthManagerDrawer-38299230.mjs → AuthManagerDrawer-5acbd451.mjs} +5 -5
- package/{AuthSetterModal-78b06703.mjs → AuthSetterModal-95b5f616.mjs} +8 -8
- package/CgformAddressModal-5d889870.mjs +263 -0
- package/CgformCopyList-cc5f76cd.mjs +259 -0
- package/{CgformModal-12951453.mjs → CgformModal-cebc698b.mjs} +73 -70
- package/CgreportAigcModal-d1e62385.mjs +211 -0
- package/{CgreportModal-bfeb93ed.mjs → CgreportModal-2e4421e6.mjs} +103 -103
- package/{CheckDictTable-3c1e59e0.mjs → CheckDictTable-8fb7299c.mjs} +2 -2
- package/{CodeFileListModal-71752603.mjs → CodeFileListModal-25fad54f.mjs} +2 -2
- package/{CodeFileViewModal-eb803769.mjs → CodeFileViewModal-12299ab5.mjs} +1 -1
- package/{CodeGeneratorModal-2fe1e920.mjs → CodeGeneratorModal-791b1695.mjs} +5 -5
- package/{CustomButtonList-22b5cdb3.mjs → CustomButtonList-26490688.mjs} +1 -1
- package/DBAttributeTable-dea8ab11.mjs +546 -0
- package/{DbToOnlineModal-049b4bbd.mjs → DbToOnlineModal-60317a16.mjs} +1 -1
- package/{DetailForm-c127c27f.mjs → DetailForm-b92a5e9d.mjs} +6 -6
- package/{DropMenuItem-b1a8f47d.mjs → DropMenuItem-82213be6.mjs} +1 -1
- package/{EnhanceJavaModal-1a4d696b.mjs → EnhanceJavaModal-6ebefc8b.mjs} +1 -1
- package/{EnhanceJsHistory-48cf43ad.mjs → EnhanceJsHistory-8d9b86ca.mjs} +2 -2
- package/{EnhanceJsModal-0e1f15f8.mjs → EnhanceJsModal-9439e6f8.mjs} +17 -16
- package/{EnhanceSqlModal-6a1aa471.mjs → EnhanceSqlModal-ea4592bf.mjs} +1 -1
- package/{ExtendConfigModal-37af21a5.mjs → ExtendConfigModal-f509db46.mjs} +2 -2
- package/{FieldExtendJsonModal-9441e08e.mjs → FieldExtendJsonModal-73bab5b5.mjs} +2 -2
- package/{FileSelectModal-04490919.mjs → FileSelectModal-49d6dade.mjs} +1 -1
- package/{ForeignKeyTable-06300a47.mjs → ForeignKeyTable-330963c1.mjs} +2 -2
- package/{IndexTable-79bddd5c.mjs → IndexTable-c0478faa.mjs} +2 -2
- package/{JModalTip-192fafa1.mjs → JModalTip-b1d19eaa.mjs} +1 -1
- package/{JOnlineSearchSelect-9abcf657.mjs → JOnlineSearchSelect-97662e1b.mjs} +1 -1
- package/{LeftDepart-35d78655.mjs → LeftDepart-4b1003f0.mjs} +1 -1
- package/{LeftRole-9d88976d.mjs → LeftRole-8486ba4f.mjs} +1 -1
- package/{LeftUser-04c89aea.mjs → LeftUser-09894a2f.mjs} +1 -1
- package/{LinkTableConfigModal-5f94ef13.mjs → LinkTableConfigModal-cd0980e9.mjs} +1 -1
- package/{LinkTableFieldConfigModal-40753de5.mjs → LinkTableFieldConfigModal-f4106ab7.mjs} +1 -1
- package/{LinkTableListPiece-179035c7.mjs → LinkTableListPiece-4187ad7d.mjs} +1 -1
- package/{ModalFormDemo-3a85920c.mjs → ModalFormDemo-4ec79769.mjs} +1 -1
- package/OnlCgformErpList-63089149.mjs +498 -0
- package/{OnlCgformErpSubTable-3515150b.mjs → OnlCgformErpSubTable-421e2051.mjs} +18 -17
- package/{OnlCgformInnerSubTable-13e888c6.mjs → OnlCgformInnerSubTable-9616ebf2.mjs} +16 -15
- package/{OnlCgformInnerTableList-2e8f853c.mjs → OnlCgformInnerTableList-5ed887e4.mjs} +160 -154
- package/{OnlCgformTabList-583ac15f.mjs → OnlCgformTabList-c03a1d0a.mjs} +160 -154
- package/OnlineAutoList-e5a61211.mjs +557 -0
- package/{OnlineAutoModal-c0743caf.mjs → OnlineAutoModal-38f2d522.mjs} +7 -7
- package/OnlineAutoTreeList-16fa962f.mjs +531 -0
- package/{OnlineCustomModal-661ee850.mjs → OnlineCustomModal-7e31297e.mjs} +7 -7
- package/{OnlineDetailModal-785e848e.mjs → OnlineDetailModal-79085ba8.mjs} +8 -8
- package/{OnlineForm-c1fb38eb.mjs → OnlineForm-0438f4bf.mjs} +6 -6
- package/{OnlineFormDetail-50186870.mjs → OnlineFormDetail-76d243ed.mjs} +89 -83
- package/{OnlineFormUrlAdd-905bf251.mjs → OnlineFormUrlAdd-2e05ba0f.mjs} +12 -11
- package/{OnlineFormUrlDetail-a9dd2bfa.mjs → OnlineFormUrlDetail-06b2d9e6.mjs} +19 -18
- package/{OnlineFormUrlEdit-b8941f05.mjs → OnlineFormUrlEdit-77ac4bba.mjs} +12 -11
- package/{OnlineFormUrlSuccess-ecaf6a21.mjs → OnlineFormUrlSuccess-cb3f7be4.mjs} +1 -1
- package/{OnlineQueryForm-ca6186a3.mjs → OnlineQueryForm-528af6ed.mjs} +5 -5
- package/{OnlineSearchFormItem-5c503a51.mjs → OnlineSearchFormItem-51eefaf4.mjs} +2 -2
- package/{OnlineSelectCascade-a3e686b3.mjs → OnlineSelectCascade-b218691c.mjs} +1 -1
- package/{OnlineSubFormDetail-be1ad3b9.mjs → OnlineSubFormDetail-a1b7f33f.mjs} +6 -6
- package/{OnlineTabAutoModal-fb59b573.mjs → OnlineTabAutoModal-1c7c4ed2.mjs} +7 -7
- package/{OnlineTabDetailModal-4b9c4838.mjs → OnlineTabDetailModal-7c45e727.mjs} +8 -8
- package/{OnlineTabForm-89389384.mjs → OnlineTabForm-9682158f.mjs} +7 -7
- package/{OnlineTabFormDetail-72173ae4.mjs → OnlineTabFormDetail-b8650175.mjs} +7 -7
- package/{PageAttributeTable-345b97fe.mjs → PageAttributeTable-21314341.mjs} +6 -6
- package/{PhoneLoginForm-8ca7e2d4.mjs → PhoneLoginForm-c3c16f16.mjs} +62 -62
- package/{ProcessOnlineForm-485b5679.mjs → ProcessOnlineForm-d6113dec.mjs} +7 -7
- package/{QueryTable-f0a88d78.mjs → QueryTable-413d1366.mjs} +2 -2
- package/{SetSwitchOptions-cdcb22a1.mjs → SetSwitchOptions-82fd6265.mjs} +1 -1
- package/{ShareAddView-f713c0a5.mjs → ShareAddView-a2dba2ef.mjs} +22 -21
- package/{ShareEditView-691764ad.mjs → ShareEditView-ecd590dc.mjs} +22 -21
- package/{ShareView-df344a8d.mjs → ShareView-84f333e7.mjs} +20 -19
- package/{ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs → ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs} +2 -2
- package/{SingleView-ad0287d6.mjs → SingleView-d4f29169.mjs} +15 -14
- package/{SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs → SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs} +4 -4
- package/{SuperQuery-2b293e3b.mjs → SuperQuery-290f5080.mjs} +39 -38
- package/aiModal-6e338c79.mjs +175 -0
- package/{auth.data-626c5083.mjs → auth.data-e44c7975.mjs} +10 -9
- package/button.data-fe45d43b.mjs +12 -0
- package/{index-3c7392a4.mjs → index-254a82b7.mjs} +50 -49
- package/index-30c0a14f.mjs +57 -0
- package/{index-bef7fe2d.mjs → index-7890e2b4.mjs} +1 -1
- package/{index-181f8344.mjs → index-7bab525f.mjs} +3 -3
- package/{index-d6f9ada7.mjs → index-9bebbfe5.mjs} +2 -2
- package/{index-93341e02.mjs → index-bc0d747e.mjs} +2 -2
- package/index-c5737cbb.mjs +268 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{useCgformList-13c8aab7.mjs → useCgformList-52631580.mjs} +105 -88
- package/{useCustomHook-acb00837.mjs → useCustomHook-3a17a690.mjs} +11 -9
- package/{useExtendComponent-3f5734ca.mjs → useExtendComponent-d1db211d.mjs} +252 -251
- package/useListButton-7f9674a0.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/DBAttributeTable-eb25565c.mjs +0 -502
- package/OnlCgformErpList-8fd15fc1.mjs +0 -488
- package/OnlineAutoList-36ec0957.mjs +0 -513
- package/OnlineAutoTreeList-1cd718be.mjs +0 -523
- package/index-3ccda826.mjs +0 -239
- package/index-f3683351.mjs +0 -57
- package/useListButton-ee23874a.mjs +0 -719
|
@@ -14,33 +14,33 @@ var x = (Q, m, c) => new Promise((M, R) => {
|
|
|
14
14
|
}, v = (p) => p.done ? M(p.value) : Promise.resolve(p.value).then(y, _);
|
|
15
15
|
v((c = c.apply(Q, m)).next());
|
|
16
16
|
});
|
|
17
|
-
import { reactive as
|
|
18
|
-
import { BasicTable as
|
|
19
|
-
import { useMessage as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import j from "./OnlineDetailModal-
|
|
23
|
-
import
|
|
24
|
-
import { u as
|
|
25
|
-
import { u as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { u as
|
|
29
|
-
import
|
|
30
|
-
import { I as
|
|
17
|
+
import { reactive as Xe, ref as P, watch as Ye, resolveComponent as w, openBlock as n, createElementBlock as b, unref as e, createBlock as s, createCommentVNode as u, withDirectives as J, createVNode as f, vShow as $, normalizeClass as Ze, withCtx as r, createElementVNode as S, toDisplayString as I, Fragment as F, renderList as z, createTextVNode as H, mergeProps as eo, toHandlers as oo, resolveDynamicComponent as to, normalizeProps as no, guardReactiveProps as ro, nextTick as ao } from "vue";
|
|
18
|
+
import { BasicTable as io, TableAction as lo } from "/@/components/Table";
|
|
19
|
+
import { useMessage as so } from "/@/hooks/web/useMessage";
|
|
20
|
+
import co from "./OnlineAutoModal-38f2d522.mjs";
|
|
21
|
+
import uo from "./OnlineCustomModal-7e31297e.mjs";
|
|
22
|
+
import j from "./OnlineDetailModal-79085ba8.mjs";
|
|
23
|
+
import po from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
+
import { u as mo, a as go } from "./useListButton-7f9674a0.mjs";
|
|
25
|
+
import { u as fo, a as bo, O as yo, g as _o } from "./useExtendComponent-d1db211d.mjs";
|
|
26
|
+
import Co from "./OnlineQueryForm-528af6ed.mjs";
|
|
27
|
+
import ho from "./SuperQuery-290f5080.mjs";
|
|
28
|
+
import { u as Io } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
+
import ko from "./OnlCgformInnerSubTable-9616ebf2.mjs";
|
|
30
|
+
import { I as So } from "./constant-fa63bd66.mjs";
|
|
31
|
+
import { Loading as vo } from "/@/components/Loading";
|
|
31
32
|
import "/@/components/Modal";
|
|
32
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-0438f4bf.mjs";
|
|
33
34
|
import "/@/components/Form/index";
|
|
34
35
|
import "/@/utils/http/axios";
|
|
35
36
|
import "lodash-es";
|
|
36
37
|
import "/@/utils";
|
|
37
|
-
import "/@/components/Loading";
|
|
38
38
|
import "/@/components/jeecg/JVxeTable/types";
|
|
39
39
|
import "/@/utils/auth";
|
|
40
40
|
import "@ant-design/icons-vue";
|
|
41
41
|
import "/@/hooks/core/useContext";
|
|
42
42
|
import "/@/utils/mitt";
|
|
43
|
-
import "./useCustomHook-
|
|
43
|
+
import "./useCustomHook-3a17a690.mjs";
|
|
44
44
|
import "/@/utils/cache";
|
|
45
45
|
import "/@/utils/common/compUtils";
|
|
46
46
|
import "/@/store/modules/user";
|
|
@@ -48,12 +48,12 @@ import "/@/hooks/web/useAppInject";
|
|
|
48
48
|
import "/@/utils/is";
|
|
49
49
|
import "/@/store/modules/permission";
|
|
50
50
|
import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
|
|
51
|
-
import "./index-
|
|
51
|
+
import "./index-30c0a14f.mjs";
|
|
52
52
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
53
53
|
import "vue-router";
|
|
54
54
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
55
|
-
import "./OnlineFormDetail-
|
|
56
|
-
import "./DetailForm-
|
|
55
|
+
import "./OnlineFormDetail-76d243ed.mjs";
|
|
56
|
+
import "./DetailForm-b92a5e9d.mjs";
|
|
57
57
|
import "/@/utils/propTypes";
|
|
58
58
|
import "/@/utils/dict";
|
|
59
59
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -62,13 +62,14 @@ import "/@/api/common/api";
|
|
|
62
62
|
import "/@/components/Form/src/utils/Area";
|
|
63
63
|
import "/@/components/Preview/index";
|
|
64
64
|
import "/@/components/Markdown";
|
|
65
|
-
import "./OnlineSubFormDetail-
|
|
65
|
+
import "./OnlineSubFormDetail-a1b7f33f.mjs";
|
|
66
66
|
import "/@/router";
|
|
67
67
|
import "/@/hooks/core/onMountedOrActivated";
|
|
68
68
|
import "/@/store/modules/multipleTab";
|
|
69
69
|
import "./cgformState-d9f8ec42.mjs";
|
|
70
70
|
import "pinia";
|
|
71
71
|
import "/@/store";
|
|
72
|
+
import "/@/router/menus";
|
|
72
73
|
import "ant-design-vue";
|
|
73
74
|
import "/@/hooks/system/useMethods";
|
|
74
75
|
import "/@/components/Form/src/componentMap";
|
|
@@ -76,29 +77,29 @@ import "/@/components/Form/src/jeecg/components/JUpload";
|
|
|
76
77
|
import "/@/views/system/user/user.api";
|
|
77
78
|
import "/@/utils/desform/customExpression";
|
|
78
79
|
import "/@/hooks/system/useListPage";
|
|
79
|
-
import "./LinkTableListPiece-
|
|
80
|
+
import "./LinkTableListPiece-4187ad7d.mjs";
|
|
80
81
|
import "/@/assets/images/placeholderImage.png";
|
|
81
|
-
import "./OnlineSelectCascade-
|
|
82
|
-
import "./JModalTip-
|
|
82
|
+
import "./OnlineSelectCascade-b218691c.mjs";
|
|
83
|
+
import "./JModalTip-b1d19eaa.mjs";
|
|
83
84
|
import "@vueuse/core";
|
|
84
85
|
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
85
86
|
import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
86
87
|
import "/@/utils/index";
|
|
87
88
|
import "/@/hooks/web/useDesign";
|
|
88
89
|
import "/@/components/Table/src/const";
|
|
89
|
-
const
|
|
90
|
+
const To = { class: "p-2" }, wo = {
|
|
90
91
|
key: 0,
|
|
91
92
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
92
|
-
},
|
|
93
|
+
}, Ro = {
|
|
93
94
|
key: 0,
|
|
94
95
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
95
|
-
},
|
|
96
|
+
}, Bo = ["src", "onClick"], xo = ["innerHTML", "onClick"], Mo = ["innerHTML"], Lo = ["title"], Zt = {
|
|
96
97
|
__name: "OnlCgformInnerTableList",
|
|
97
98
|
setup(Q) {
|
|
98
|
-
const m =
|
|
99
|
+
const m = Xe({
|
|
99
100
|
tabNav: [],
|
|
100
101
|
tabIndex: "0"
|
|
101
|
-
}), c = P([]), M = P(null), { createMessage: R } =
|
|
102
|
+
}), c = P([]), M = P(null), { createMessage: R } = so(), {
|
|
102
103
|
ID: y,
|
|
103
104
|
onlineTableContext: _,
|
|
104
105
|
onlineQueryFormOuter: v,
|
|
@@ -110,142 +111,143 @@ const So = { class: "p-2" }, vo = {
|
|
|
110
111
|
getColumnList: G,
|
|
111
112
|
handleChangeInTable: X,
|
|
112
113
|
loadData: Y,
|
|
113
|
-
superQueryButtonRef:
|
|
114
|
+
superQueryButtonRef: L,
|
|
114
115
|
superQueryStatus: Z,
|
|
115
116
|
handleSuperQuery: ee,
|
|
116
117
|
onlineExtConfigJson: q,
|
|
117
118
|
handleFormConfig: oe,
|
|
118
119
|
registerCustomModal: te,
|
|
119
|
-
tableReloading:
|
|
120
|
-
|
|
120
|
+
tableReloading: O,
|
|
121
|
+
pageLoading: ne
|
|
122
|
+
} = mo();
|
|
121
123
|
if (!y.value)
|
|
122
124
|
throw R.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
123
|
-
let { initCgEnhanceJs:
|
|
125
|
+
let { initCgEnhanceJs: re } = fo(_);
|
|
124
126
|
const {
|
|
125
127
|
buttonSwitch: k,
|
|
126
128
|
cgBIBtnMap: i,
|
|
127
|
-
getQueryButtonCfg:
|
|
128
|
-
getResetButtonCfg:
|
|
129
|
-
getFormConfirmButtonCfg:
|
|
130
|
-
cgTopButtonList:
|
|
131
|
-
importUrl:
|
|
132
|
-
registerModal:
|
|
133
|
-
handleAdd:
|
|
134
|
-
handleBatchDelete:
|
|
135
|
-
registerImportModal:
|
|
136
|
-
onImportExcel:
|
|
137
|
-
onExportExcel:
|
|
138
|
-
cgButtonJsHandler:
|
|
139
|
-
cgButtonActionHandler:
|
|
140
|
-
getDropDownActions:
|
|
141
|
-
getActions:
|
|
142
|
-
initButtonList:
|
|
143
|
-
initButtonSwitch:
|
|
144
|
-
registerDetailModal:
|
|
145
|
-
registerBpmModal:
|
|
146
|
-
} =
|
|
147
|
-
function
|
|
129
|
+
getQueryButtonCfg: ae,
|
|
130
|
+
getResetButtonCfg: ie,
|
|
131
|
+
getFormConfirmButtonCfg: le,
|
|
132
|
+
cgTopButtonList: E,
|
|
133
|
+
importUrl: se,
|
|
134
|
+
registerModal: ce,
|
|
135
|
+
handleAdd: ue,
|
|
136
|
+
handleBatchDelete: pe,
|
|
137
|
+
registerImportModal: de,
|
|
138
|
+
onImportExcel: me,
|
|
139
|
+
onExportExcel: ge,
|
|
140
|
+
cgButtonJsHandler: fe,
|
|
141
|
+
cgButtonActionHandler: be,
|
|
142
|
+
getDropDownActions: ye,
|
|
143
|
+
getActions: _e,
|
|
144
|
+
initButtonList: Ce,
|
|
145
|
+
initButtonSwitch: he,
|
|
146
|
+
registerDetailModal: Ie,
|
|
147
|
+
registerBpmModal: Oo
|
|
148
|
+
} = go(_, q), N = P(!1);
|
|
149
|
+
function ke() {
|
|
148
150
|
return x(this, null, function* () {
|
|
149
151
|
try {
|
|
150
|
-
N.value = !0, yield
|
|
152
|
+
N.value = !0, yield ge();
|
|
151
153
|
} finally {
|
|
152
154
|
setTimeout(() => N.value = !1, 1500);
|
|
153
155
|
}
|
|
154
156
|
});
|
|
155
157
|
}
|
|
156
158
|
const {
|
|
157
|
-
columns:
|
|
158
|
-
actionColumn:
|
|
159
|
-
selectedKeys:
|
|
160
|
-
rowSelection:
|
|
161
|
-
enableScrollBar:
|
|
162
|
-
tableScroll:
|
|
163
|
-
downloadRowFile:
|
|
164
|
-
getImgView:
|
|
159
|
+
columns: Se,
|
|
160
|
+
actionColumn: ve,
|
|
161
|
+
selectedKeys: Te,
|
|
162
|
+
rowSelection: we,
|
|
163
|
+
enableScrollBar: Re,
|
|
164
|
+
tableScroll: Be,
|
|
165
|
+
downloadRowFile: xe,
|
|
166
|
+
getImgView: Me,
|
|
165
167
|
getPcaText: A,
|
|
166
|
-
getFormatDate:
|
|
168
|
+
getFormatDate: Le,
|
|
167
169
|
handleColumnResult: Oe,
|
|
168
170
|
hrefComponent: B,
|
|
169
171
|
viewOnlineCellImage: Ee,
|
|
170
|
-
hrefMainTableId:
|
|
171
|
-
registerOnlineHrefModal:
|
|
172
|
-
registerPopModal:
|
|
173
|
-
openPopModal:
|
|
174
|
-
onlinePopModalRef:
|
|
172
|
+
hrefMainTableId: Ne,
|
|
173
|
+
registerOnlineHrefModal: De,
|
|
174
|
+
registerPopModal: Pe,
|
|
175
|
+
openPopModal: Fe,
|
|
176
|
+
onlinePopModalRef: He,
|
|
175
177
|
popTableId: K,
|
|
176
|
-
handleClickFieldHref:
|
|
177
|
-
} =
|
|
178
|
-
|
|
178
|
+
handleClickFieldHref: Qe
|
|
179
|
+
} = bo(_, q);
|
|
180
|
+
Ye(
|
|
179
181
|
y,
|
|
180
182
|
() => {
|
|
181
|
-
|
|
183
|
+
qe();
|
|
182
184
|
},
|
|
183
185
|
{ immediate: !0 }
|
|
184
186
|
);
|
|
185
|
-
function
|
|
187
|
+
function qe() {
|
|
186
188
|
return x(this, null, function* () {
|
|
187
189
|
p.value = !0;
|
|
188
|
-
let t = yield G(
|
|
189
|
-
|
|
190
|
+
let t = yield G(So);
|
|
191
|
+
Ae(t), yield Y(), p.value = !1, _.execButtonEnhance("setup");
|
|
190
192
|
});
|
|
191
193
|
}
|
|
192
|
-
function qe(t) {
|
|
193
|
-
let l = ne(t.enhanceJs);
|
|
194
|
-
_.EnhanceJS = l, _e(t.cgButtonList), Ce(t.hideColumns), Oe(t), W(t);
|
|
195
|
-
}
|
|
196
194
|
function Ae(t) {
|
|
197
|
-
|
|
195
|
+
let l = re(t.enhanceJs);
|
|
196
|
+
_.EnhanceJS = l, Ce(t.cgButtonList), he(t.hideColumns), Oe(t), W(t);
|
|
198
197
|
}
|
|
199
198
|
function Ke(t) {
|
|
199
|
+
_.queryParam = t, g({ mode: "search" });
|
|
200
|
+
}
|
|
201
|
+
function Je(t) {
|
|
200
202
|
return x(this, null, function* () {
|
|
201
|
-
yield
|
|
203
|
+
yield _o(L), L.value.init(t);
|
|
202
204
|
});
|
|
203
205
|
}
|
|
204
|
-
function
|
|
206
|
+
function $e(t) {
|
|
205
207
|
K.value = t.id;
|
|
206
208
|
let l = {
|
|
207
209
|
title: t.describe
|
|
208
210
|
};
|
|
209
|
-
t.record && t.record.id && (l.record = t.record, l.isUpdate = !0),
|
|
211
|
+
t.record && t.record.id && (l.record = t.record, l.isUpdate = !0), Fe(!0, l);
|
|
210
212
|
}
|
|
211
|
-
|
|
212
|
-
const
|
|
213
|
+
Io($e);
|
|
214
|
+
const ze = (t) => {
|
|
213
215
|
oe(t);
|
|
214
216
|
const { schema: l } = t, { properties: D } = l, d = [];
|
|
215
217
|
Object.entries(D).forEach(([T, C]) => {
|
|
216
218
|
C.view == "tab" && d.push({ tableName: T, tableTxt: C.describe, id: C.id, order: C.order });
|
|
217
219
|
}), d.sort((T, C) => T.order - C.order), m.tabNav = d;
|
|
218
|
-
},
|
|
220
|
+
}, je = (t, l) => {
|
|
219
221
|
c.value = [], t && (c.value = [l.id], M.value = l);
|
|
220
|
-
},
|
|
221
|
-
g(t),
|
|
222
|
-
},
|
|
222
|
+
}, Ve = (t) => {
|
|
223
|
+
g(t), Ue();
|
|
224
|
+
}, Ue = () => {
|
|
223
225
|
if (c.value.length) {
|
|
224
226
|
const t = m.tabIndex;
|
|
225
|
-
m.tabIndex = "-1",
|
|
227
|
+
m.tabIndex = "-1", ao(() => {
|
|
226
228
|
m.tabIndex = t;
|
|
227
229
|
});
|
|
228
230
|
}
|
|
229
231
|
};
|
|
230
232
|
return (t, l) => {
|
|
231
|
-
const D = w("a-skeleton"), d = w("a-button"), T = w("a-tab-pane"), C = w("a-tabs"),
|
|
232
|
-
return n(),
|
|
233
|
-
e(
|
|
233
|
+
const D = w("a-skeleton"), d = w("a-button"), T = w("a-tab-pane"), C = w("a-tabs"), We = w("a-modal");
|
|
234
|
+
return n(), b("div", To, [
|
|
235
|
+
e(O) ? (n(), s(D, {
|
|
234
236
|
key: 0,
|
|
235
237
|
active: ""
|
|
236
238
|
})) : u("", !0),
|
|
237
|
-
J(
|
|
239
|
+
J(f(Co, {
|
|
238
240
|
ref_key: "onlineQueryFormOuter",
|
|
239
241
|
ref: v,
|
|
240
242
|
id: e(y),
|
|
241
|
-
queryBtnCfg: e(
|
|
242
|
-
resetBtnCfg: e(
|
|
243
|
-
onSearch:
|
|
244
|
-
onLoaded:
|
|
243
|
+
queryBtnCfg: e(ae),
|
|
244
|
+
resetBtnCfg: e(ie),
|
|
245
|
+
onSearch: Ke,
|
|
246
|
+
onLoaded: Je
|
|
245
247
|
}, null, 8, ["id", "queryBtnCfg", "resetBtnCfg"]), [
|
|
246
|
-
[$, !e(
|
|
248
|
+
[$, !e(O)]
|
|
247
249
|
]),
|
|
248
|
-
e(
|
|
250
|
+
e(O) ? u("", !0) : (n(), s(e(io), {
|
|
249
251
|
key: 1,
|
|
250
252
|
ref: "onlineTable",
|
|
251
253
|
rowKey: "jeecg_row_key",
|
|
@@ -253,26 +255,26 @@ const So = { class: "p-2" }, vo = {
|
|
|
253
255
|
bordered: !0,
|
|
254
256
|
showIndexColumn: !1,
|
|
255
257
|
loading: e(p),
|
|
256
|
-
columns: e(
|
|
258
|
+
columns: e(Se),
|
|
257
259
|
dataSource: e(V),
|
|
258
260
|
pagination: e(U),
|
|
259
|
-
rowSelection: e(
|
|
260
|
-
actionColumn: e(
|
|
261
|
+
rowSelection: e(we),
|
|
262
|
+
actionColumn: e(ve),
|
|
261
263
|
showTableSetting: !0,
|
|
262
264
|
clickToRowSelect: !1,
|
|
263
|
-
scroll: e(
|
|
265
|
+
scroll: e(Be),
|
|
264
266
|
onTableRedo: e(g),
|
|
265
|
-
class:
|
|
267
|
+
class: Ze({ "j-table-force-nowrap": e(Re) }),
|
|
266
268
|
onChange: e(X),
|
|
267
269
|
expandedRowKeys: c.value,
|
|
268
|
-
onExpand:
|
|
270
|
+
onExpand: je
|
|
269
271
|
}, {
|
|
270
272
|
tableTitle: r(() => [
|
|
271
273
|
e(k).add && e(i).add.enabled ? (n(), s(d, {
|
|
272
274
|
key: 0,
|
|
273
275
|
type: "primary",
|
|
274
276
|
preIcon: e(i).add.buttonIcon,
|
|
275
|
-
onClick: e(
|
|
277
|
+
onClick: e(ue)
|
|
276
278
|
}, {
|
|
277
279
|
default: r(() => [
|
|
278
280
|
S("span", null, I(e(i).add.buttonName), 1)
|
|
@@ -283,7 +285,7 @@ const So = { class: "p-2" }, vo = {
|
|
|
283
285
|
key: 1,
|
|
284
286
|
type: "primary",
|
|
285
287
|
preIcon: e(i).import.buttonIcon,
|
|
286
|
-
onClick: e(
|
|
288
|
+
onClick: e(me)
|
|
287
289
|
}, {
|
|
288
290
|
default: r(() => [
|
|
289
291
|
S("span", null, I(e(i).import.buttonName), 1)
|
|
@@ -295,17 +297,17 @@ const So = { class: "p-2" }, vo = {
|
|
|
295
297
|
type: "primary",
|
|
296
298
|
preIcon: e(i).export.buttonIcon,
|
|
297
299
|
loading: N.value,
|
|
298
|
-
onClick:
|
|
300
|
+
onClick: ke
|
|
299
301
|
}, {
|
|
300
302
|
default: r(() => [
|
|
301
303
|
S("span", null, I(e(i).export.buttonName), 1)
|
|
302
304
|
]),
|
|
303
305
|
_: 1
|
|
304
306
|
}, 8, ["preIcon", "loading"])) : u("", !0),
|
|
305
|
-
e(
|
|
307
|
+
e(E) && e(E).length > 0 ? (n(!0), b(F, { key: 3 }, z(e(E), (o, a) => (n(), b(F, null, [
|
|
306
308
|
o.optType == "js" ? (n(), s(d, {
|
|
307
309
|
key: "cgbtn" + a,
|
|
308
|
-
onClick: (h) => e(
|
|
310
|
+
onClick: (h) => e(fe)(o.buttonCode),
|
|
309
311
|
type: "primary",
|
|
310
312
|
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
311
313
|
}, {
|
|
@@ -315,7 +317,7 @@ const So = { class: "p-2" }, vo = {
|
|
|
315
317
|
_: 2
|
|
316
318
|
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), s(d, {
|
|
317
319
|
key: "cgbtn" + a,
|
|
318
|
-
onClick: (h) => e(
|
|
320
|
+
onClick: (h) => e(be)(o.buttonCode),
|
|
319
321
|
type: "primary",
|
|
320
322
|
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
321
323
|
}, {
|
|
@@ -328,19 +330,19 @@ const So = { class: "p-2" }, vo = {
|
|
|
328
330
|
e(k).batch_delete && e(i).batch_delete.enabled ? J((n(), s(d, {
|
|
329
331
|
key: 4,
|
|
330
332
|
preIcon: e(i).batch_delete.buttonIcon,
|
|
331
|
-
onClick: e(
|
|
333
|
+
onClick: e(pe)
|
|
332
334
|
}, {
|
|
333
335
|
default: r(() => [
|
|
334
336
|
S("span", null, I(e(i).batch_delete.buttonName), 1)
|
|
335
337
|
]),
|
|
336
338
|
_: 1
|
|
337
339
|
}, 8, ["preIcon", "onClick"])), [
|
|
338
|
-
[$, e(
|
|
340
|
+
[$, e(Te).length > 0]
|
|
339
341
|
]) : u("", !0),
|
|
340
|
-
e(k).super_query && e(i).super_query.enabled ? (n(), s(
|
|
342
|
+
e(k).super_query && e(i).super_query.enabled ? (n(), s(ho, {
|
|
341
343
|
key: 5,
|
|
342
344
|
ref_key: "superQueryButtonRef",
|
|
343
|
-
ref:
|
|
345
|
+
ref: L,
|
|
344
346
|
online: "",
|
|
345
347
|
status: e(Z),
|
|
346
348
|
queryBtnCfg: e(i).super_query,
|
|
@@ -354,12 +356,12 @@ const So = { class: "p-2" }, vo = {
|
|
|
354
356
|
"onUpdate:activeKey": l[0] || (l[0] = (a) => m.tabIndex = a)
|
|
355
357
|
}, {
|
|
356
358
|
default: r(() => [
|
|
357
|
-
c.value.length ? (n(!0),
|
|
359
|
+
c.value.length ? (n(!0), b(F, { key: 0 }, z(m.tabNav, (a, h) => (n(), s(T, {
|
|
358
360
|
tab: a.tableTxt,
|
|
359
361
|
key: h + ""
|
|
360
362
|
}, {
|
|
361
363
|
default: r(() => [
|
|
362
|
-
m.tabIndex == h ? (n(), s(
|
|
364
|
+
m.tabIndex == h ? (n(), s(ko, {
|
|
363
365
|
key: 0,
|
|
364
366
|
subTableId: a.id,
|
|
365
367
|
mTableSelectedRcordId: c.value[0],
|
|
@@ -379,96 +381,100 @@ const So = { class: "p-2" }, vo = {
|
|
|
379
381
|
type: "primary",
|
|
380
382
|
preIcon: "ant-design:download",
|
|
381
383
|
size: "small",
|
|
382
|
-
onClick: (
|
|
384
|
+
onClick: (Ge) => e(xe)(o, a, h, e(y))
|
|
383
385
|
}, {
|
|
384
386
|
default: r(() => l[1] || (l[1] = [
|
|
385
387
|
H(" 下载 ")
|
|
386
388
|
])),
|
|
387
389
|
_: 2
|
|
388
|
-
}, 1032, ["onClick"])) : (n(),
|
|
390
|
+
}, 1032, ["onClick"])) : (n(), b("span", wo, "无文件"))
|
|
389
391
|
]),
|
|
390
392
|
imgSlot: r(({ text: o }) => [
|
|
391
|
-
o ? (n(),
|
|
393
|
+
o ? (n(), b("img", {
|
|
392
394
|
key: 1,
|
|
393
|
-
src: e(
|
|
395
|
+
src: e(Me)(o),
|
|
394
396
|
alt: "图片不存在",
|
|
395
397
|
class: "online-cell-image",
|
|
396
398
|
onClick: (a) => e(Ee)(o)
|
|
397
|
-
}, null, 8,
|
|
399
|
+
}, null, 8, Bo)) : (n(), b("span", Ro, "无图片"))
|
|
398
400
|
]),
|
|
399
401
|
htmlSlot: r(({ text: o, column: a, record: h }) => [
|
|
400
|
-
a.fieldHref ? (n(),
|
|
402
|
+
a.fieldHref ? (n(), b("a", {
|
|
401
403
|
key: 0,
|
|
402
404
|
innerHTML: o,
|
|
403
|
-
onClick: (
|
|
404
|
-
}, null, 8,
|
|
405
|
+
onClick: (Ge) => e(Qe)(a.fieldHref, h)
|
|
406
|
+
}, null, 8, xo)) : (n(), b("div", {
|
|
405
407
|
key: 1,
|
|
406
408
|
innerHTML: o
|
|
407
|
-
}, null, 8,
|
|
409
|
+
}, null, 8, Mo))
|
|
408
410
|
]),
|
|
409
411
|
pcaSlot: r(({ text: o }) => [
|
|
410
412
|
S("div", {
|
|
411
413
|
title: e(A)(o)
|
|
412
|
-
}, I(e(A)(o)), 9,
|
|
414
|
+
}, I(e(A)(o)), 9, Lo)
|
|
413
415
|
]),
|
|
414
416
|
dateSlot: r(({ text: o, column: a }) => [
|
|
415
|
-
S("span", null, I(e(
|
|
417
|
+
S("span", null, I(e(Le)(o, a)), 1)
|
|
416
418
|
]),
|
|
417
419
|
action: r(({ record: o }) => [
|
|
418
|
-
|
|
419
|
-
actions: e(
|
|
420
|
-
dropDownActions: e(
|
|
420
|
+
f(e(lo), {
|
|
421
|
+
actions: e(_e)(o),
|
|
422
|
+
dropDownActions: e(ye)(o)
|
|
421
423
|
}, null, 8, ["actions", "dropDownActions"])
|
|
422
424
|
]),
|
|
423
425
|
_: 1
|
|
424
426
|
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange", "expandedRowKeys"])),
|
|
425
|
-
|
|
426
|
-
onRegister: e(
|
|
427
|
+
f(co, {
|
|
428
|
+
onRegister: e(ce),
|
|
427
429
|
id: e(y),
|
|
428
430
|
cgBIBtnMap: e(i),
|
|
429
431
|
buttonSwitch: e(k),
|
|
430
|
-
confirmBtnCfg: e(
|
|
431
|
-
onSuccess:
|
|
432
|
-
onFormConfig:
|
|
432
|
+
confirmBtnCfg: e(le),
|
|
433
|
+
onSuccess: Ve,
|
|
434
|
+
onFormConfig: ze
|
|
433
435
|
}, null, 8, ["onRegister", "id", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg"]),
|
|
434
|
-
|
|
436
|
+
f(j, {
|
|
435
437
|
id: e(y),
|
|
436
|
-
onRegister: e(
|
|
438
|
+
onRegister: e(Ie)
|
|
437
439
|
}, null, 8, ["id", "onRegister"]),
|
|
438
|
-
|
|
439
|
-
onRegister: e(
|
|
440
|
-
url: e(
|
|
440
|
+
f(po, {
|
|
441
|
+
onRegister: e(de),
|
|
442
|
+
url: e(se)(),
|
|
441
443
|
onOk: e(g),
|
|
442
444
|
online: ""
|
|
443
445
|
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
444
|
-
|
|
446
|
+
f(We, eo(e(B).model, oo(e(B).on)), {
|
|
445
447
|
default: r(() => [
|
|
446
|
-
(n(), s(
|
|
448
|
+
(n(), s(to(e(B).is), no(ro(e(B).params)), null, 16))
|
|
447
449
|
]),
|
|
448
450
|
_: 1
|
|
449
451
|
}, 16),
|
|
450
|
-
|
|
452
|
+
f(uo, {
|
|
451
453
|
onRegister: e(te),
|
|
452
454
|
onSuccess: e(g)
|
|
453
455
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
454
|
-
|
|
455
|
-
id: e(
|
|
456
|
-
onRegister: e(
|
|
456
|
+
f(j, {
|
|
457
|
+
id: e(Ne),
|
|
458
|
+
onRegister: e(De),
|
|
457
459
|
defaultFullscreen: !1
|
|
458
460
|
}, null, 8, ["id", "onRegister"]),
|
|
459
|
-
|
|
461
|
+
f(yo, {
|
|
460
462
|
ref_key: "onlinePopModalRef",
|
|
461
|
-
ref:
|
|
463
|
+
ref: He,
|
|
462
464
|
id: e(K),
|
|
463
|
-
onRegister: e(
|
|
465
|
+
onRegister: e(Pe),
|
|
464
466
|
onSuccess: e(g),
|
|
465
467
|
request: "",
|
|
466
468
|
topTip: ""
|
|
467
|
-
}, null, 8, ["id", "onRegister", "onSuccess"])
|
|
469
|
+
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
470
|
+
f(e(vo), {
|
|
471
|
+
loading: e(ne),
|
|
472
|
+
absolute: !0
|
|
473
|
+
}, null, 8, ["loading"])
|
|
468
474
|
]);
|
|
469
475
|
};
|
|
470
476
|
}
|
|
471
477
|
};
|
|
472
478
|
export {
|
|
473
|
-
|
|
479
|
+
Zt as default
|
|
474
480
|
};
|