@jeecg/online 3.8.2-beta → 3.9.0-beta2
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-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
- package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
- package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
- package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
- package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
- package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
- package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
- package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
- package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
- package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
- package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
- package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
- package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
- package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
- package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
- package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
- package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
- package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
- package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
- package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
- package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
- package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
- package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
- package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
- package/CodeFileViewModal-320d7acf.mjs +269 -0
- package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
- package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
- package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
- package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
- package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
- package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
- package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
- package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
- package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
- package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
- package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
- package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
- package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
- package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
- package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
- package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
- package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
- package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
- package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
- package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
- package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
- package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
- package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
- package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
- package/OnlCgformErpList-b0605798.mjs +527 -0
- package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
- package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
- package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
- package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
- package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
- package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
- package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
- package/OnlineCustomModal-f4e17bed.mjs +246 -0
- package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
- package/OnlineForm-86b5966d.mjs +1079 -0
- package/OnlineFormDetail-4b3ad130.mjs +349 -0
- package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
- package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
- package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
- package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
- package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
- package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
- package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
- package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
- package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
- package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
- package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
- package/OnlineTabFormDetail-2a28febf.mjs +328 -0
- package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
- package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
- package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
- package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
- package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
- package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
- package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
- package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
- package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
- package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
- package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
- package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
- package/TaskOpinionList-60cf4080.mjs +13 -0
- package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
- package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
- package/index-740b2c4a.mjs +57 -0
- package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
- package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
- package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
- package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
- package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-6d5547ff.mjs +410 -0
- package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
- package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
- package/CodeFileViewModal-12299ab5.mjs +0 -253
- package/CodeGeneratorModal-791b1695.mjs +0 -281
- package/OnlCgformErpList-63089149.mjs +0 -498
- package/OnlineCustomModal-7e31297e.mjs +0 -232
- package/OnlineForm-0438f4bf.mjs +0 -1012
- package/OnlineFormDetail-76d243ed.mjs +0 -348
- package/OnlineTabFormDetail-b8650175.mjs +0 -327
- package/ProcessOnlineForm-d6113dec.mjs +0 -188
- package/README.md +0 -26
- package/index-30c0a14f.mjs +0 -57
- package/useCgformList-52631580.mjs +0 -395
- /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
|
@@ -17,20 +17,20 @@ var x = (Q, m, c) => new Promise((M, R) => {
|
|
|
17
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
18
|
import { BasicTable as io, TableAction as lo } from "/@/components/Table";
|
|
19
19
|
import { useMessage as so } from "/@/hooks/web/useMessage";
|
|
20
|
-
import co from "./OnlineAutoModal-
|
|
21
|
-
import uo from "./OnlineCustomModal-
|
|
22
|
-
import j from "./OnlineDetailModal-
|
|
20
|
+
import co from "./OnlineAutoModal-a0d1a6b8.mjs";
|
|
21
|
+
import uo from "./OnlineCustomModal-f4e17bed.mjs";
|
|
22
|
+
import j from "./OnlineDetailModal-35394778.mjs";
|
|
23
23
|
import po from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as mo, a as go } from "./useListButton-
|
|
25
|
-
import { u as fo, a as bo, O as yo, g as _o } from "./useExtendComponent-
|
|
26
|
-
import Co from "./OnlineQueryForm-
|
|
27
|
-
import ho from "./SuperQuery-
|
|
24
|
+
import { u as mo, a as go } from "./useListButton-73071548.mjs";
|
|
25
|
+
import { u as fo, a as bo, O as yo, g as _o } from "./useExtendComponent-95ce0719.mjs";
|
|
26
|
+
import Co from "./OnlineQueryForm-3017a4ca.mjs";
|
|
27
|
+
import ho from "./SuperQuery-270b0968.mjs";
|
|
28
28
|
import { u as Io } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
-
import ko from "./OnlCgformInnerSubTable-
|
|
29
|
+
import ko from "./OnlCgformInnerSubTable-f2722f77.mjs";
|
|
30
30
|
import { I as So } from "./constant-fa63bd66.mjs";
|
|
31
31
|
import { Loading as vo } from "/@/components/Loading";
|
|
32
32
|
import "/@/components/Modal";
|
|
33
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-86b5966d.mjs";
|
|
34
34
|
import "/@/components/Form/index";
|
|
35
35
|
import "/@/utils/http/axios";
|
|
36
36
|
import "lodash-es";
|
|
@@ -47,13 +47,13 @@ import "/@/store/modules/user";
|
|
|
47
47
|
import "/@/hooks/web/useAppInject";
|
|
48
48
|
import "/@/utils/is";
|
|
49
49
|
import "/@/store/modules/permission";
|
|
50
|
-
import "./OnlineForm.
|
|
51
|
-
import "./index-
|
|
50
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
51
|
+
import "./index-740b2c4a.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-4b3ad130.mjs";
|
|
56
|
+
import "./DetailForm-7d4f630e.mjs";
|
|
57
57
|
import "/@/utils/propTypes";
|
|
58
58
|
import "/@/utils/dict";
|
|
59
59
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -62,7 +62,8 @@ 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-bbc48c3e.mjs";
|
|
66
|
+
import "/@/utils/uuid";
|
|
66
67
|
import "/@/router";
|
|
67
68
|
import "/@/hooks/core/onMountedOrActivated";
|
|
68
69
|
import "/@/store/modules/multipleTab";
|
|
@@ -77,10 +78,10 @@ import "/@/components/Form/src/jeecg/components/JUpload";
|
|
|
77
78
|
import "/@/views/system/user/user.api";
|
|
78
79
|
import "/@/utils/desform/customExpression";
|
|
79
80
|
import "/@/hooks/system/useListPage";
|
|
80
|
-
import "./LinkTableListPiece-
|
|
81
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
81
82
|
import "/@/assets/images/placeholderImage.png";
|
|
82
|
-
import "./OnlineSelectCascade-
|
|
83
|
-
import "./JModalTip-
|
|
83
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
84
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
84
85
|
import "@vueuse/core";
|
|
85
86
|
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
86
87
|
import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
@@ -93,7 +94,7 @@ const To = { class: "p-2" }, wo = {
|
|
|
93
94
|
}, Ro = {
|
|
94
95
|
key: 0,
|
|
95
96
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
96
|
-
}, Bo = ["src", "onClick"], xo = ["innerHTML", "onClick"], Mo = ["innerHTML"], Lo = ["title"],
|
|
97
|
+
}, Bo = ["src", "onClick"], xo = ["innerHTML", "onClick"], Mo = ["innerHTML"], Lo = ["title"], en = {
|
|
97
98
|
__name: "OnlCgformInnerTableList",
|
|
98
99
|
setup(Q) {
|
|
99
100
|
const m = Xe({
|
|
@@ -476,5 +477,5 @@ const To = { class: "p-2" }, wo = {
|
|
|
476
477
|
}
|
|
477
478
|
};
|
|
478
479
|
export {
|
|
479
|
-
|
|
480
|
+
en as default
|
|
480
481
|
};
|
|
@@ -17,20 +17,20 @@ var T = (E, v, l) => new Promise((m, B) => {
|
|
|
17
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
18
|
import { BasicTable as Ge, TableAction as Xe } from "/@/components/Table";
|
|
19
19
|
import { useMessage as Ye } from "/@/hooks/web/useMessage";
|
|
20
|
-
import Ze from "./OnlineCustomModal-
|
|
21
|
-
import eo from "./OnlineTabAutoModal-
|
|
22
|
-
import Q from "./OnlineTabDetailModal-
|
|
20
|
+
import Ze from "./OnlineCustomModal-f4e17bed.mjs";
|
|
21
|
+
import eo from "./OnlineTabAutoModal-b0f9fce8.mjs";
|
|
22
|
+
import Q from "./OnlineTabDetailModal-401a26ad.mjs";
|
|
23
23
|
import oo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as to, a as no } from "./useListButton-
|
|
25
|
-
import { u as ro, a as io, O as lo, g as ao } from "./useExtendComponent-
|
|
26
|
-
import so from "./OnlineQueryForm-
|
|
27
|
-
import co from "./SuperQuery-
|
|
24
|
+
import { u as to, a as no } from "./useListButton-73071548.mjs";
|
|
25
|
+
import { u as ro, a as io, O as lo, g as ao } from "./useExtendComponent-95ce0719.mjs";
|
|
26
|
+
import so from "./OnlineQueryForm-3017a4ca.mjs";
|
|
27
|
+
import co from "./SuperQuery-270b0968.mjs";
|
|
28
28
|
import { u as po } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
29
|
import { T as uo } from "./constant-fa63bd66.mjs";
|
|
30
30
|
import { Loading as mo } from "/@/components/Loading";
|
|
31
31
|
import "/@/components/Modal";
|
|
32
32
|
import "/@/utils/http/axios";
|
|
33
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-86b5966d.mjs";
|
|
34
34
|
import "/@/components/Form/index";
|
|
35
35
|
import "lodash-es";
|
|
36
36
|
import "/@/utils";
|
|
@@ -46,14 +46,14 @@ import "/@/store/modules/user";
|
|
|
46
46
|
import "/@/hooks/web/useAppInject";
|
|
47
47
|
import "/@/utils/is";
|
|
48
48
|
import "/@/store/modules/permission";
|
|
49
|
-
import "./OnlineForm.
|
|
50
|
-
import "./index-
|
|
49
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
50
|
+
import "./index-740b2c4a.mjs";
|
|
51
51
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
52
52
|
import "vue-router";
|
|
53
|
-
import "./OnlineTabForm-
|
|
53
|
+
import "./OnlineTabForm-5c04cbc5.mjs";
|
|
54
54
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
55
|
-
import "./OnlineTabFormDetail-
|
|
56
|
-
import "./DetailForm-
|
|
55
|
+
import "./OnlineTabFormDetail-2a28febf.mjs";
|
|
56
|
+
import "./DetailForm-7d4f630e.mjs";
|
|
57
57
|
import "/@/utils/propTypes";
|
|
58
58
|
import "/@/utils/dict";
|
|
59
59
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -62,7 +62,8 @@ 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-bbc48c3e.mjs";
|
|
66
|
+
import "/@/utils/uuid";
|
|
66
67
|
import "/@/router";
|
|
67
68
|
import "/@/hooks/core/onMountedOrActivated";
|
|
68
69
|
import "/@/store/modules/multipleTab";
|
|
@@ -77,10 +78,10 @@ import "/@/components/Form/src/jeecg/components/JUpload";
|
|
|
77
78
|
import "/@/views/system/user/user.api";
|
|
78
79
|
import "/@/utils/desform/customExpression";
|
|
79
80
|
import "/@/hooks/system/useListPage";
|
|
80
|
-
import "./LinkTableListPiece-
|
|
81
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
81
82
|
import "/@/assets/images/placeholderImage.png";
|
|
82
|
-
import "./OnlineSelectCascade-
|
|
83
|
-
import "./JModalTip-
|
|
83
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
84
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
84
85
|
import "@vueuse/core";
|
|
85
86
|
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
86
87
|
import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
@@ -92,7 +93,7 @@ const go = { class: "p-2" }, fo = {
|
|
|
92
93
|
}, yo = {
|
|
93
94
|
key: 0,
|
|
94
95
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
95
|
-
}, Co = ["src", "onClick"], _o = ["innerHTML", "onClick"], bo = ["innerHTML"], ho = ["title"],
|
|
96
|
+
}, Co = ["src", "onClick"], _o = ["innerHTML", "onClick"], bo = ["innerHTML"], ho = ["title"], Jt = /* @__PURE__ */ Ne({
|
|
96
97
|
__name: "OnlCgformTabList",
|
|
97
98
|
setup(E) {
|
|
98
99
|
const { createMessage: v } = Ye(), {
|
|
@@ -426,5 +427,5 @@ const go = { class: "p-2" }, fo = {
|
|
|
426
427
|
}
|
|
427
428
|
});
|
|
428
429
|
export {
|
|
429
|
-
|
|
430
|
+
Jt as default
|
|
430
431
|
};
|
|
@@ -17,20 +17,20 @@ var L = (e, p, g) => new Promise((I, d) => {
|
|
|
17
17
|
import { ref as q, watch as Ve, resolveComponent as l, openBlock as t, createElementBlock as b, normalizeClass as J, createBlock as u, createCommentVNode as m, withDirectives as z, createVNode as s, vShow as V, withCtx as r, createElementVNode as h, toDisplayString as c, createTextVNode as R, Fragment as j, renderList as je, mergeProps as Ke, toHandlers as Ue, resolveDynamicComponent as We, normalizeProps as Ge, guardReactiveProps as Xe } from "vue";
|
|
18
18
|
import { BasicTable as Ye, TableAction as Ze } from "/@/components/Table";
|
|
19
19
|
import { useMessage as _e } from "/@/hooks/web/useMessage";
|
|
20
|
-
import xe from "./OnlineAutoModal-
|
|
21
|
-
import eo from "./OnlineCustomModal-
|
|
22
|
-
import oo from "./OnlineDetailModal-
|
|
20
|
+
import xe from "./OnlineAutoModal-a0d1a6b8.mjs";
|
|
21
|
+
import eo from "./OnlineCustomModal-f4e17bed.mjs";
|
|
22
|
+
import oo from "./OnlineDetailModal-35394778.mjs";
|
|
23
23
|
import no from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as to, a as io } from "./useListButton-
|
|
25
|
-
import { O as ao, u as ro, a as lo, g as uo } from "./useExtendComponent-
|
|
26
|
-
import po from "./OnlineQueryForm-
|
|
27
|
-
import so from "./SuperQuery-
|
|
24
|
+
import { u as to, a as io } from "./useListButton-73071548.mjs";
|
|
25
|
+
import { O as ao, u as ro, a as lo, g as uo } from "./useExtendComponent-95ce0719.mjs";
|
|
26
|
+
import po from "./OnlineQueryForm-3017a4ca.mjs";
|
|
27
|
+
import so from "./SuperQuery-270b0968.mjs";
|
|
28
28
|
import { u as mo } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
29
|
import { N as co } from "./constant-fa63bd66.mjs";
|
|
30
30
|
import { Loading as go } from "/@/components/Loading";
|
|
31
|
-
import { _ as fo } from "./index-
|
|
31
|
+
import { _ as fo } from "./index-740b2c4a.mjs";
|
|
32
32
|
import "/@/components/Modal";
|
|
33
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-86b5966d.mjs";
|
|
34
34
|
import "/@/components/Form/index";
|
|
35
35
|
import "/@/utils/http/axios";
|
|
36
36
|
import "lodash-es";
|
|
@@ -47,7 +47,7 @@ import "/@/store/modules/user";
|
|
|
47
47
|
import "/@/hooks/web/useAppInject";
|
|
48
48
|
import "/@/utils/is";
|
|
49
49
|
import "/@/store/modules/permission";
|
|
50
|
-
import "./OnlineForm.
|
|
50
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
51
51
|
import "/@/components/Form/src/componentMap";
|
|
52
52
|
import "/@/utils/propTypes";
|
|
53
53
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
@@ -58,21 +58,22 @@ import "/@/hooks/system/useListPage";
|
|
|
58
58
|
import "vue-router";
|
|
59
59
|
import "/@/components/Form/src/utils/Area";
|
|
60
60
|
import "/@/components/Preview/index";
|
|
61
|
-
import "./LinkTableListPiece-
|
|
61
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
62
62
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
63
63
|
import "/@/api/common/api";
|
|
64
64
|
import "/@/assets/images/placeholderImage.png";
|
|
65
|
-
import "./OnlineSelectCascade-
|
|
66
|
-
import "./JModalTip-
|
|
65
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
66
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
67
67
|
import "ant-design-vue";
|
|
68
68
|
import "@vueuse/core";
|
|
69
69
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
70
|
-
import "./OnlineFormDetail-
|
|
71
|
-
import "./DetailForm-
|
|
70
|
+
import "./OnlineFormDetail-4b3ad130.mjs";
|
|
71
|
+
import "./DetailForm-7d4f630e.mjs";
|
|
72
72
|
import "/@/utils/dict";
|
|
73
73
|
import "/@/utils/dict/index";
|
|
74
74
|
import "/@/components/Markdown";
|
|
75
|
-
import "./OnlineSubFormDetail-
|
|
75
|
+
import "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
76
|
+
import "/@/utils/uuid";
|
|
76
77
|
import "/@/router";
|
|
77
78
|
import "/@/hooks/core/onMountedOrActivated";
|
|
78
79
|
import "/@/store/modules/multipleTab";
|
|
@@ -551,7 +552,7 @@ function So(e, p, g, I, d, T) {
|
|
|
551
552
|
}, null, 8, ["loading"])
|
|
552
553
|
], 2);
|
|
553
554
|
}
|
|
554
|
-
const
|
|
555
|
+
const Kn = /* @__PURE__ */ fo(Bo, [["render", So]]);
|
|
555
556
|
export {
|
|
556
|
-
|
|
557
|
+
Kn as default
|
|
557
558
|
};
|
|
@@ -16,11 +16,11 @@ var k = (e, p, o) => new Promise((d, s) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { defineComponent as q, ref as N, watch as z, resolveComponent as l, openBlock as u, createBlock as b, mergeProps as y, withCtx as m, createVNode as C, createElementBlock as G, Fragment as J, renderList as K, createTextVNode as Q, toDisplayString as B, createElementVNode as O, createCommentVNode as M } from "vue";
|
|
18
18
|
import { BasicModal as X } from "/@/components/Modal";
|
|
19
|
-
import Y from "./OnlineForm-
|
|
20
|
-
import { b as Z } from "./useExtendComponent-
|
|
19
|
+
import Y from "./OnlineForm-86b5966d.mjs";
|
|
20
|
+
import { b as Z } from "./useExtendComponent-95ce0719.mjs";
|
|
21
21
|
import _ from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
22
|
import { a as x } from "./constant-fa63bd66.mjs";
|
|
23
|
-
import { _ as ee } from "./index-
|
|
23
|
+
import { _ as ee } from "./index-740b2c4a.mjs";
|
|
24
24
|
import "/@/hooks/web/useMessage";
|
|
25
25
|
import "/@/components/Form/index";
|
|
26
26
|
import "/@/utils/http/axios";
|
|
@@ -39,7 +39,7 @@ import "/@/store/modules/user";
|
|
|
39
39
|
import "/@/hooks/web/useAppInject";
|
|
40
40
|
import "/@/utils/is";
|
|
41
41
|
import "/@/store/modules/permission";
|
|
42
|
-
import "./OnlineForm.
|
|
42
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
43
43
|
import "/@/components/Form/src/componentMap";
|
|
44
44
|
import "/@/utils/propTypes";
|
|
45
45
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
@@ -51,12 +51,12 @@ import "/@/hooks/system/useListPage";
|
|
|
51
51
|
import "vue-router";
|
|
52
52
|
import "/@/components/Form/src/utils/Area";
|
|
53
53
|
import "/@/components/Preview/index";
|
|
54
|
-
import "./LinkTableListPiece-
|
|
54
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
55
55
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
56
56
|
import "/@/api/common/api";
|
|
57
57
|
import "/@/assets/images/placeholderImage.png";
|
|
58
|
-
import "./OnlineSelectCascade-
|
|
59
|
-
import "./JModalTip-
|
|
58
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
59
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
60
60
|
import "ant-design-vue";
|
|
61
61
|
import "@vueuse/core";
|
|
62
62
|
const te = q({
|
|
@@ -16,21 +16,21 @@ var v = (e, h, p) => new Promise((i, S) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { BasicTable as _e, TableAction as Ue } from "/@/components/Table";
|
|
18
18
|
import { useMessage as We } from "/@/hooks/web/useMessage";
|
|
19
|
-
import Ge from "./OnlineAutoModal-
|
|
20
|
-
import Xe from "./OnlineDetailModal-
|
|
21
|
-
import Ye from "./OnlineCustomModal-
|
|
19
|
+
import Ge from "./OnlineAutoModal-a0d1a6b8.mjs";
|
|
20
|
+
import Xe from "./OnlineDetailModal-35394778.mjs";
|
|
21
|
+
import Ye from "./OnlineCustomModal-f4e17bed.mjs";
|
|
22
22
|
import { ref as P, watch as Ze, resolveComponent as u, openBlock as l, createElementBlock as c, createBlock as d, createCommentVNode as g, withDirectives as V, createVNode as f, vShow as z, normalizeClass as xe, withCtx as r, createElementVNode as R, toDisplayString as b, Fragment as j, renderList as en, createTextVNode as $, mergeProps as nn, toHandlers as on, resolveDynamicComponent as tn, normalizeProps as ln, guardReactiveProps as an } from "vue";
|
|
23
23
|
import rn from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as sn, a as un } from "./useListButton-
|
|
25
|
-
import { u as dn, a as pn, g as mn } from "./useExtendComponent-
|
|
24
|
+
import { u as sn, a as un } from "./useListButton-73071548.mjs";
|
|
25
|
+
import { u as dn, a as pn, g as mn } from "./useExtendComponent-95ce0719.mjs";
|
|
26
26
|
import { defHttp as cn } from "/@/utils/http/axios";
|
|
27
|
-
import gn from "./OnlineQueryForm-
|
|
28
|
-
import fn from "./SuperQuery-
|
|
27
|
+
import gn from "./OnlineQueryForm-3017a4ca.mjs";
|
|
28
|
+
import fn from "./SuperQuery-270b0968.mjs";
|
|
29
29
|
import { b as _ } from "./constant-fa63bd66.mjs";
|
|
30
30
|
import { Loading as hn } from "/@/components/Loading";
|
|
31
|
-
import { _ as Cn } from "./index-
|
|
31
|
+
import { _ as Cn } from "./index-740b2c4a.mjs";
|
|
32
32
|
import "/@/components/Modal";
|
|
33
|
-
import "./OnlineForm-
|
|
33
|
+
import "./OnlineForm-86b5966d.mjs";
|
|
34
34
|
import "/@/components/Form/index";
|
|
35
35
|
import "lodash-es";
|
|
36
36
|
import "/@/utils";
|
|
@@ -46,7 +46,7 @@ import "/@/store/modules/user";
|
|
|
46
46
|
import "/@/hooks/web/useAppInject";
|
|
47
47
|
import "/@/utils/is";
|
|
48
48
|
import "/@/store/modules/permission";
|
|
49
|
-
import "./OnlineForm.
|
|
49
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
50
50
|
import "/@/components/Form/src/componentMap";
|
|
51
51
|
import "/@/utils/propTypes";
|
|
52
52
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
@@ -57,21 +57,22 @@ import "/@/hooks/system/useListPage";
|
|
|
57
57
|
import "vue-router";
|
|
58
58
|
import "/@/components/Form/src/utils/Area";
|
|
59
59
|
import "/@/components/Preview/index";
|
|
60
|
-
import "./LinkTableListPiece-
|
|
60
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
61
61
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
62
62
|
import "/@/api/common/api";
|
|
63
63
|
import "/@/assets/images/placeholderImage.png";
|
|
64
|
-
import "./OnlineSelectCascade-
|
|
65
|
-
import "./JModalTip-
|
|
64
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
65
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
66
66
|
import "ant-design-vue";
|
|
67
67
|
import "@vueuse/core";
|
|
68
68
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
69
|
-
import "./OnlineFormDetail-
|
|
70
|
-
import "./DetailForm-
|
|
69
|
+
import "./OnlineFormDetail-4b3ad130.mjs";
|
|
70
|
+
import "./DetailForm-7d4f630e.mjs";
|
|
71
71
|
import "/@/utils/dict";
|
|
72
72
|
import "/@/utils/dict/index";
|
|
73
73
|
import "/@/components/Markdown";
|
|
74
|
-
import "./OnlineSubFormDetail-
|
|
74
|
+
import "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
75
|
+
import "/@/utils/uuid";
|
|
75
76
|
import "/@/router";
|
|
76
77
|
import "/@/hooks/core/onMountedOrActivated";
|
|
77
78
|
import "/@/store/modules/multipleTab";
|
|
@@ -525,7 +526,7 @@ function Rn(e, h, p, i, S, w) {
|
|
|
525
526
|
}, null, 8, ["loading"])
|
|
526
527
|
]);
|
|
527
528
|
}
|
|
528
|
-
const
|
|
529
|
+
const Uo = /* @__PURE__ */ Cn(yn, [["render", Rn]]);
|
|
529
530
|
export {
|
|
530
|
-
|
|
531
|
+
Uo as default
|
|
531
532
|
};
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
var X = Object.defineProperty;
|
|
2
|
+
var _ = Object.getOwnPropertySymbols;
|
|
3
|
+
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var I = (o, n, e) => n in o ? X(o, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[n] = e, k = (o, n) => {
|
|
5
|
+
for (var e in n || (n = {}))
|
|
6
|
+
Y.call(n, e) && I(o, e, n[e]);
|
|
7
|
+
if (_)
|
|
8
|
+
for (var e of _(n))
|
|
9
|
+
Z.call(n, e) && I(o, e, n[e]);
|
|
10
|
+
return o;
|
|
11
|
+
};
|
|
12
|
+
var f = (o, n, e) => new Promise((a, d) => {
|
|
13
|
+
var i = (r) => {
|
|
14
|
+
try {
|
|
15
|
+
p(e.next(r));
|
|
16
|
+
} catch (l) {
|
|
17
|
+
d(l);
|
|
18
|
+
}
|
|
19
|
+
}, u = (r) => {
|
|
20
|
+
try {
|
|
21
|
+
p(e.throw(r));
|
|
22
|
+
} catch (l) {
|
|
23
|
+
d(l);
|
|
24
|
+
}
|
|
25
|
+
}, p = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(i, u);
|
|
26
|
+
p((e = e.apply(o, n)).next());
|
|
27
|
+
});
|
|
28
|
+
import { defineComponent as x, ref as s, nextTick as B, watch as oo, reactive as eo, markRaw as to, defineAsyncComponent as no, resolveComponent as w, openBlock as R, createBlock as b, mergeProps as ro, withCtx as C, createVNode as P, createTextVNode as E, toDisplayString as D, resolveDynamicComponent as mo } from "vue";
|
|
29
|
+
import { BasicModal as io, useModalInner as lo } from "/@/components/Modal";
|
|
30
|
+
import { g as N } from "./useExtendComponent-95ce0719.mjs";
|
|
31
|
+
import { defHttp as so } from "/@/utils/http/axios";
|
|
32
|
+
import ao from "./OnlineForm-86b5966d.mjs";
|
|
33
|
+
import { importViewsFile as po } from "/@/utils";
|
|
34
|
+
import { omit as uo } from "lodash-es";
|
|
35
|
+
import { _ as co } from "./index-740b2c4a.mjs";
|
|
36
|
+
import "/@/components/Form/src/componentMap";
|
|
37
|
+
import "/@/utils/propTypes";
|
|
38
|
+
import "@ant-design/icons-vue";
|
|
39
|
+
import "/@/hooks/web/useMessage";
|
|
40
|
+
import "/@/components/Form/index";
|
|
41
|
+
import "./constant-fa63bd66.mjs";
|
|
42
|
+
import "/@/utils/common/compUtils";
|
|
43
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
44
|
+
import "/@/utils/is";
|
|
45
|
+
import "/@/views/system/user/user.api";
|
|
46
|
+
import "/@/store/modules/user";
|
|
47
|
+
import "/@/utils/desform/customExpression";
|
|
48
|
+
import "/@/store/modules/permission";
|
|
49
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
50
|
+
import "/@/components/Table";
|
|
51
|
+
import "/@/hooks/system/useListPage";
|
|
52
|
+
import "vue-router";
|
|
53
|
+
import "/@/components/Form/src/utils/Area";
|
|
54
|
+
import "/@/components/Preview/index";
|
|
55
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
56
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
57
|
+
import "/@/utils/auth";
|
|
58
|
+
import "/@/api/common/api";
|
|
59
|
+
import "/@/hooks/web/useAppInject";
|
|
60
|
+
import "/@/assets/images/placeholderImage.png";
|
|
61
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
62
|
+
import "/@/components/Loading";
|
|
63
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
64
|
+
import "ant-design-vue";
|
|
65
|
+
import "@vueuse/core";
|
|
66
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
67
|
+
import "/@/hooks/core/useContext";
|
|
68
|
+
import "/@/utils/mitt";
|
|
69
|
+
import "./useCustomHook-3a17a690.mjs";
|
|
70
|
+
import "/@/utils/cache";
|
|
71
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
72
|
+
const fo = {
|
|
73
|
+
code: "",
|
|
74
|
+
row: {},
|
|
75
|
+
hide: [],
|
|
76
|
+
show: [],
|
|
77
|
+
requestUrl: "",
|
|
78
|
+
tableType: "",
|
|
79
|
+
foreignKeys: "",
|
|
80
|
+
formComponent: ""
|
|
81
|
+
}, Co = x({
|
|
82
|
+
name: "OnlineCustomModal",
|
|
83
|
+
components: {
|
|
84
|
+
OnlineForm: ao,
|
|
85
|
+
BasicModal: io
|
|
86
|
+
},
|
|
87
|
+
setup(o, { emit: n, attrs: e }) {
|
|
88
|
+
const a = s(), d = s({}), i = s("");
|
|
89
|
+
let u = [], p = [], r = "", l = {};
|
|
90
|
+
const c = {
|
|
91
|
+
loadFormItems: "/online/cgform/api/getFormItem/",
|
|
92
|
+
optPre: "/online/cgform/api/form/"
|
|
93
|
+
}, $ = { position: "relative" }, L = s(!1), g = s(!1);
|
|
94
|
+
function U() {
|
|
95
|
+
g.value = !0;
|
|
96
|
+
}
|
|
97
|
+
const F = s(!0), [V, { setModalProps: j, closeModal: O }] = lo((t) => f(this, null, function* () {
|
|
98
|
+
j({ confirmLoading: !1 }), q(t), yield B(() => f(this, null, function* () {
|
|
99
|
+
t.formComponent ? W(t.formComponent) : yield z();
|
|
100
|
+
}));
|
|
101
|
+
}));
|
|
102
|
+
function q(t) {
|
|
103
|
+
let m = Object.assign({}, fo, t);
|
|
104
|
+
i.value = m.code, d.value = k(k({
|
|
105
|
+
title: "自定义弹框",
|
|
106
|
+
width: 600
|
|
107
|
+
}, e), uo(t, ["row", "formComponent", "hide", "show", "requestUrl"])), u = m.hide || [], p = m.show || [], r = A(m.requestUrl), l = m.row;
|
|
108
|
+
}
|
|
109
|
+
function A(t) {
|
|
110
|
+
return t || c.optPre + i.value;
|
|
111
|
+
}
|
|
112
|
+
const y = s(!1);
|
|
113
|
+
function H() {
|
|
114
|
+
y.value = !0, F.value === !0 ? a.value.handleSubmit() : M.value.handleSubmit(), setTimeout(() => {
|
|
115
|
+
y.value = !0;
|
|
116
|
+
}, 3500);
|
|
117
|
+
}
|
|
118
|
+
function G() {
|
|
119
|
+
O();
|
|
120
|
+
}
|
|
121
|
+
function K(t) {
|
|
122
|
+
n("success", t), O();
|
|
123
|
+
}
|
|
124
|
+
function z() {
|
|
125
|
+
return f(this, null, function* () {
|
|
126
|
+
F.value = !0, yield N(g), a.value.handleCustomFormSh(p, u), a.value.handleCustomFormEdit(l, r);
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
const T = s(1);
|
|
130
|
+
oo(i, J, { immediate: !0 });
|
|
131
|
+
function J() {
|
|
132
|
+
return f(this, null, function* () {
|
|
133
|
+
if (g.value = !1, !i.value)
|
|
134
|
+
return;
|
|
135
|
+
let t = yield Q(), m = t.head.formTemplate;
|
|
136
|
+
T.value = m ? Number(m) : 1, B(() => f(this, null, function* () {
|
|
137
|
+
(yield N(a)).createRootProperties(t);
|
|
138
|
+
}));
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
function Q() {
|
|
142
|
+
let t = `/online/cgform/api/getFormItem/${i.value}`;
|
|
143
|
+
return new Promise((m, v) => {
|
|
144
|
+
so.get({ url: t }, { isTransformResponse: !1 }).then((S) => {
|
|
145
|
+
S.success ? m(S.result) : v(S.message);
|
|
146
|
+
}).catch(() => {
|
|
147
|
+
v();
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
const M = s(), h = eo({
|
|
152
|
+
url: "",
|
|
153
|
+
is: "",
|
|
154
|
+
row: {}
|
|
155
|
+
});
|
|
156
|
+
function W(t) {
|
|
157
|
+
F.value = !1, h.url = r, h.row = l, h.is = to(no(() => po(t)));
|
|
158
|
+
}
|
|
159
|
+
return {
|
|
160
|
+
//modal
|
|
161
|
+
registerModal: V,
|
|
162
|
+
modalProps: d,
|
|
163
|
+
modalStyle: $,
|
|
164
|
+
handleSubmit: H,
|
|
165
|
+
handleCancel: G,
|
|
166
|
+
// online表单
|
|
167
|
+
id: i,
|
|
168
|
+
onlineFormCompRef: a,
|
|
169
|
+
formTemplate: T,
|
|
170
|
+
renderSuccess: U,
|
|
171
|
+
//自定义表单
|
|
172
|
+
customFormRef: M,
|
|
173
|
+
customFormComponent: h,
|
|
174
|
+
//通用
|
|
175
|
+
open,
|
|
176
|
+
isOnlineForm: F,
|
|
177
|
+
confirmLoading: L,
|
|
178
|
+
submitLoading: y,
|
|
179
|
+
handleSuccess: K
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
function Fo(o, n, e, a, d, i) {
|
|
184
|
+
const u = w("a-button"), p = w("online-form"), r = w("a-spin"), l = w("BasicModal");
|
|
185
|
+
return R(), b(l, ro(o.modalProps, {
|
|
186
|
+
style: o.modalStyle,
|
|
187
|
+
onRegister: o.registerModal,
|
|
188
|
+
wrapClassName: "jeecg-online-modal2",
|
|
189
|
+
onOk: o.handleSubmit
|
|
190
|
+
}), {
|
|
191
|
+
footer: C(() => [
|
|
192
|
+
P(u, {
|
|
193
|
+
key: "submit",
|
|
194
|
+
type: "primary",
|
|
195
|
+
onClick: o.handleSubmit
|
|
196
|
+
}, {
|
|
197
|
+
default: C(() => {
|
|
198
|
+
var c;
|
|
199
|
+
return [
|
|
200
|
+
E(D((c = o.modalProps.okText) != null ? c : "确定"), 1)
|
|
201
|
+
];
|
|
202
|
+
}),
|
|
203
|
+
_: 1
|
|
204
|
+
}, 8, ["onClick"]),
|
|
205
|
+
P(u, {
|
|
206
|
+
key: "back",
|
|
207
|
+
onClick: o.handleCancel
|
|
208
|
+
}, {
|
|
209
|
+
default: C(() => {
|
|
210
|
+
var c;
|
|
211
|
+
return [
|
|
212
|
+
E(D((c = o.modalProps.cancelText) != null ? c : "关闭"), 1)
|
|
213
|
+
];
|
|
214
|
+
}),
|
|
215
|
+
_: 1
|
|
216
|
+
}, 8, ["onClick"])
|
|
217
|
+
]),
|
|
218
|
+
default: C(() => [
|
|
219
|
+
P(r, { spinning: o.confirmLoading }, {
|
|
220
|
+
default: C(() => [
|
|
221
|
+
o.isOnlineForm ? (R(), b(p, {
|
|
222
|
+
key: 0,
|
|
223
|
+
ref: "onlineFormCompRef",
|
|
224
|
+
id: o.id,
|
|
225
|
+
"form-template": o.formTemplate,
|
|
226
|
+
onRendered: o.renderSuccess,
|
|
227
|
+
onSuccess: o.handleSuccess,
|
|
228
|
+
modalClass: "jeecg-online-modal2"
|
|
229
|
+
}, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (R(), b(mo(o.customFormComponent.is), {
|
|
230
|
+
key: 1,
|
|
231
|
+
ref: "customFormRef",
|
|
232
|
+
url: o.customFormComponent.url,
|
|
233
|
+
row: o.customFormComponent.row,
|
|
234
|
+
onClose: o.handleSuccess
|
|
235
|
+
}, null, 40, ["url", "row", "onClose"]))
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["spinning"])
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
}, 16, ["style", "onRegister", "onOk"]);
|
|
242
|
+
}
|
|
243
|
+
const se = /* @__PURE__ */ co(Co, [["render", Fo]]);
|
|
244
|
+
export {
|
|
245
|
+
se as default
|
|
246
|
+
};
|