@jeecg/online 3.9.0-beta2 → 3.9.1-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-634a76b1.mjs → AccountLoginForm-BQNZnal-.mjs} +50 -53
- package/{AiModal-204a2146.mjs → AiModal-Dj6smA0D.mjs} +18 -20
- package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-DETh8QGQ.mjs} +59 -63
- package/AppLogin-Core4rl7.mjs +272 -0
- package/AppLoginHeader-DkMH3nDB.mjs +23 -0
- package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DZeWwYlf.mjs} +20 -24
- package/{AppRegister-043efc45.mjs → AppRegister-DpQVSbzm.mjs} +33 -37
- package/{AppTenant-c7bb8700.mjs → AppTenant-BV1ztSwV.mjs} +49 -55
- package/AppThirdForm-C6uV5Gzd.mjs +185 -0
- package/AuthButtonConfig-CpQ38BcP.mjs +155 -0
- package/AuthButtonTree-CQIeTMAV.mjs +159 -0
- package/{AuthDataConfig-3cd10ca2.mjs → AuthDataConfig-C63dpxCs.mjs} +57 -62
- package/AuthDataTree-CTip8ZtW.mjs +134 -0
- package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-CRGCjoXB.mjs} +95 -101
- package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-Bpj9QUm6.mjs} +94 -99
- package/AuthManagerDrawer-Du8Hr9bQ.mjs +108 -0
- package/{AuthSetterModal-f176c221.mjs → AuthSetterModal-BJzwhsZn.mjs} +89 -100
- package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
- package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
- package/{CgformAddressModal-a3903b24.mjs → CgformAddressModal-DOcieUw2.mjs} +57 -63
- package/CgformCopyList-BanghzBW.mjs +176 -0
- package/{CgformModal-115710a6.mjs → CgformModal-xktwfaX1.mjs} +240 -241
- package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-g925RtBH.mjs} +35 -38
- package/{CgreportModal-0cc48587.mjs → CgreportModal-GXyoH79T.mjs} +49 -50
- package/{CheckDictTable-65157c48.mjs → CheckDictTable-DUdNJrAx.mjs} +44 -52
- package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-CFDK1gP9.mjs} +32 -36
- package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-uGoHy1QM.mjs} +78 -81
- package/CodeGeneratorModal-viKXvb1o.mjs +291 -0
- package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-BBihaOG7.mjs} +82 -85
- package/{DBAttributeTable-56701599.mjs → DBAttributeTable-BqVDPbcC.mjs} +50 -60
- package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-BFIu1ZAg.mjs} +43 -45
- package/DetailForm-Gp8NeqBh.mjs +472 -0
- package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-DVbpiw9y.mjs} +8 -11
- package/EnhanceJavaModal-DhDf7GhT.mjs +255 -0
- package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-De17P14L.mjs} +48 -49
- package/{EnhanceJsModal-b0527cbf.mjs → EnhanceJsModal-BPBW520t.mjs} +95 -104
- package/EnhanceSqlModal-D3bXi6z4.mjs +258 -0
- package/ErrorTip-BDS1uxkW.mjs +4 -0
- package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
- package/ExtendConfigModal-Be-gEamS.mjs +102 -0
- package/{FieldExtendJsonModal-536e6d5b.mjs → FieldExtendJsonModal-C9MvnALf.mjs} +27 -30
- package/{FileSelectModal-eb026170.mjs → FileSelectModal-DynYW6cD.mjs} +27 -31
- package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-CkyhWTGf.mjs} +17 -25
- package/{IndexTable-4d350e4e.mjs → IndexTable-C_17s8Lj.mjs} +9 -17
- package/JModalTip-VeUmOvUx.mjs +46 -0
- package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-Dqht_jA7.mjs} +21 -23
- package/{LeftDepart-a727aab7.mjs → LeftDepart-TEh4ybua.mjs} +8 -11
- package/{LeftRole-b533dcf6.mjs → LeftRole-DhQUYRZN.mjs} +16 -19
- package/{LeftUser-aaac52cb.mjs → LeftUser-CzR0qnp5.mjs} +7 -10
- package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-5WVlPPIx.mjs} +38 -40
- package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-ZG9xTFfN.mjs} +50 -52
- package/LinkTableListPiece-DrNSark7.mjs +31 -0
- package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-7uSpoHXT.mjs} +13 -16
- package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-zAxYY8ts.mjs} +139 -199
- package/OnlCgformErpSubTable-HAaY8yX0.mjs +382 -0
- package/OnlCgformInnerSubTable-DQbA0oPy.mjs +213 -0
- package/OnlCgformInnerTableList-BMA9YKHb.mjs +421 -0
- package/OnlCgformTabList-BSd0KkxQ.mjs +371 -0
- package/OnlineAutoList-CoUnzGtI.mjs +500 -0
- package/OnlineAutoModal-B5XvLBiD.mjs +222 -0
- package/{OnlineAutoTreeList-624106c1.mjs → OnlineAutoTreeList-umZhoErd.mjs} +124 -181
- package/OnlineCustomModal-DDbFQrQY.mjs +209 -0
- package/OnlineDetailModal-DrOui3kM.mjs +160 -0
- package/{OnlineForm-86b5966d.mjs → OnlineForm-XYVwvG5y.mjs} +47 -73
- package/OnlineFormDetail-B_zriMe5.mjs +321 -0
- package/OnlineFormUrlAdd-D_NQnALZ.mjs +86 -0
- package/OnlineFormUrlDetail-Dq0L-5DU.mjs +85 -0
- package/OnlineFormUrlEdit-D5KWDhC9.mjs +84 -0
- package/{OnlineFormUrlSuccess-0c2431a4.mjs → OnlineFormUrlSuccess-S-ko5YNj.mjs} +27 -30
- package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-DEZu3hUq.mjs} +139 -167
- package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-D9rUfuZo.mjs} +112 -118
- package/{OnlineSelectCascade-fab4426d.mjs → OnlineSelectCascade-BWTVAfOS.mjs} +31 -33
- package/OnlineSubFormDetail-BQCmvSrP.mjs +109 -0
- package/OnlineTabAutoModal-Cz0UIpcl.mjs +285 -0
- package/OnlineTabDetailModal-DXtO4NSY.mjs +187 -0
- package/{OnlineTabForm-5c04cbc5.mjs → OnlineTabForm-CtoX9jVn.mjs} +228 -253
- package/OnlineTabFormDetail-BZzXzM64.mjs +299 -0
- package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-8udeqqVG.mjs} +46 -59
- package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-BZXf1qlC.mjs} +40 -43
- package/ProcessOnlineForm-B5PeLMHK.mjs +182 -0
- package/{QueryTable-342fd89a.mjs → QueryTable-ChFnaZj3.mjs} +23 -31
- package/SetSwitchOptions-CVRgZH8g.mjs +58 -0
- package/ShareAddView-Bje0Nb4M.mjs +11 -0
- package/ShareEditView-CLs8Cg0I.mjs +17 -0
- package/ShareView-BazttKrG.mjs +4 -0
- package/{ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs → ShareView.vue_vue_type_script_setup_true_lang-B2o9S6nG.mjs} +21 -21
- package/SingleView-DfwENTBN.mjs +4 -0
- package/{SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-C0TAVO6d.mjs} +27 -27
- package/{SuperQuery-270b0968.mjs → SuperQuery-D-nFsX69.mjs} +342 -370
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-eOcI0in3.mjs +10 -0
- package/{aiModal-e7362c3f.mjs → aiModal-CbxEF4yF.mjs} +33 -36
- package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
- package/{index-e2c3e6f3.mjs → index-BZY_jOoG.mjs} +474 -608
- package/{index-6d1a78e2.mjs → index-BnYLB1_h.mjs} +32 -36
- package/{index-b5fe9bd4.mjs → index-CY2fowrc.mjs} +17 -20
- package/{index-b811abb9.mjs → index-CfxrjmZ5.mjs} +35 -38
- package/{index-d95bb7c2.mjs → index-ClcEPtNS.mjs} +32 -44
- package/index-DyY6izsu.mjs +195 -0
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/index-oWamYvLb.mjs +56 -0
- package/main.index.js +6 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-6d5547ff.mjs → useCgformList-23f3R71E.mjs} +3 -3
- package/useExtendComponent-D3N4jqMD.mjs +4479 -0
- package/{useListButton-73071548.mjs → useListButton-BaTZwDMS.mjs} +7 -9
- package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
- package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
- package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
- package/AppLogin-bf783eab.mjs +0 -287
- package/AppLoginHeader-55594326.mjs +0 -27
- package/AppThirdForm-5e7e1144.mjs +0 -189
- package/AuthButtonConfig-4887be0d.mjs +0 -160
- package/AuthButtonTree-7e47b44b.mjs +0 -165
- package/AuthDataTree-714c259c.mjs +0 -139
- package/AuthManagerDrawer-dee39b07.mjs +0 -119
- package/BuiltInButtonList-bb6cf95c.mjs +0 -10
- package/CgformCopyList-4be1000f.mjs +0 -259
- package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
- package/DetailForm-7d4f630e.mjs +0 -497
- package/EnhanceJavaModal-469e645e.mjs +0 -264
- package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
- package/ErrorTip-bb616e32.mjs +0 -7
- package/ExtendConfigModal-7b00b49a.mjs +0 -117
- package/JModalTip-c3e6726c.mjs +0 -49
- package/LinkTableListPiece-0f4ca559.mjs +0 -34
- package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
- package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
- package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
- package/OnlCgformTabList-882a0e0c.mjs +0 -431
- package/OnlineAutoList-caedb54a.mjs +0 -558
- package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
- package/OnlineCustomModal-f4e17bed.mjs +0 -246
- package/OnlineDetailModal-35394778.mjs +0 -198
- package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
- package/OnlineFormDetail-4b3ad130.mjs +0 -349
- package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
- package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
- package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
- package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
- package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
- package/OnlineTabDetailModal-401a26ad.mjs +0 -226
- package/OnlineTabFormDetail-2a28febf.mjs +0 -328
- package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
- package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
- package/ShareAddView-a5154da3.mjs +0 -88
- package/ShareEditView-cf761cf3.mjs +0 -94
- package/ShareView-3b2f5457.mjs +0 -82
- package/SingleView-3cab20a9.mjs +0 -70
- package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
- package/TaskOpinionList-60cf4080.mjs +0 -13
- package/index-740b2c4a.mjs +0 -57
- package/index-8fd12d0f.mjs +0 -219
- package/style.css +0 -1
- package/useExtendComponent-95ce0719.mjs +0 -4460
- /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
- /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
- /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
- /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
- /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
- /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
- /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
- /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
- /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
- /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
- /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
- /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
- /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
- /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
var k = (e, p, o) => new Promise((d, s) => {
|
|
2
|
-
var f = (t) => {
|
|
3
|
-
try {
|
|
4
|
-
r(o.next(t));
|
|
5
|
-
} catch (i) {
|
|
6
|
-
s(i);
|
|
7
|
-
}
|
|
8
|
-
}, a = (t) => {
|
|
9
|
-
try {
|
|
10
|
-
r(o.throw(t));
|
|
11
|
-
} catch (i) {
|
|
12
|
-
s(i);
|
|
13
|
-
}
|
|
14
|
-
}, r = (t) => t.done ? d(t.value) : Promise.resolve(t.value).then(f, a);
|
|
15
|
-
r((o = o.apply(e, p)).next());
|
|
16
|
-
});
|
|
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
|
-
import { BasicModal as X } from "/@/components/Modal";
|
|
19
|
-
import Y from "./OnlineForm-86b5966d.mjs";
|
|
20
|
-
import { b as Z } from "./useExtendComponent-95ce0719.mjs";
|
|
21
|
-
import _ from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { a as x } from "./constant-fa63bd66.mjs";
|
|
23
|
-
import { _ as ee } from "./index-740b2c4a.mjs";
|
|
24
|
-
import "/@/hooks/web/useMessage";
|
|
25
|
-
import "/@/components/Form/index";
|
|
26
|
-
import "/@/utils/http/axios";
|
|
27
|
-
import "lodash-es";
|
|
28
|
-
import "/@/utils";
|
|
29
|
-
import "/@/components/Loading";
|
|
30
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
31
|
-
import "/@/utils/auth";
|
|
32
|
-
import "@ant-design/icons-vue";
|
|
33
|
-
import "/@/hooks/core/useContext";
|
|
34
|
-
import "/@/utils/mitt";
|
|
35
|
-
import "./useCustomHook-3a17a690.mjs";
|
|
36
|
-
import "/@/utils/cache";
|
|
37
|
-
import "/@/utils/common/compUtils";
|
|
38
|
-
import "/@/store/modules/user";
|
|
39
|
-
import "/@/hooks/web/useAppInject";
|
|
40
|
-
import "/@/utils/is";
|
|
41
|
-
import "/@/store/modules/permission";
|
|
42
|
-
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
43
|
-
import "/@/components/Form/src/componentMap";
|
|
44
|
-
import "/@/utils/propTypes";
|
|
45
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
46
|
-
import "/@/views/system/user/user.api";
|
|
47
|
-
import "/@/utils/desform/customExpression";
|
|
48
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
49
|
-
import "/@/components/Table";
|
|
50
|
-
import "/@/hooks/system/useListPage";
|
|
51
|
-
import "vue-router";
|
|
52
|
-
import "/@/components/Form/src/utils/Area";
|
|
53
|
-
import "/@/components/Preview/index";
|
|
54
|
-
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
55
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
56
|
-
import "/@/api/common/api";
|
|
57
|
-
import "/@/assets/images/placeholderImage.png";
|
|
58
|
-
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
59
|
-
import "./JModalTip-c3e6726c.mjs";
|
|
60
|
-
import "ant-design-vue";
|
|
61
|
-
import "@vueuse/core";
|
|
62
|
-
const te = q({
|
|
63
|
-
name: "OnlineAutoModal",
|
|
64
|
-
props: {
|
|
65
|
-
id: {
|
|
66
|
-
type: String,
|
|
67
|
-
default: ""
|
|
68
|
-
},
|
|
69
|
-
// 为了区分来源,编码时主要是erp子表有特殊处理
|
|
70
|
-
source: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: ""
|
|
73
|
-
},
|
|
74
|
-
buttonSwitch: Object,
|
|
75
|
-
cgBIBtnMap: Object,
|
|
76
|
-
confirmBtnCfg: {
|
|
77
|
-
type: Object,
|
|
78
|
-
default: () => ({
|
|
79
|
-
enabled: !0,
|
|
80
|
-
buttonName: "确定",
|
|
81
|
-
buttonIcon: ""
|
|
82
|
-
})
|
|
83
|
-
},
|
|
84
|
-
cancelBtnCfg: {
|
|
85
|
-
type: Object,
|
|
86
|
-
default: () => ({
|
|
87
|
-
enabled: !0,
|
|
88
|
-
buttonName: "关闭",
|
|
89
|
-
buttonIcon: ""
|
|
90
|
-
})
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
components: {
|
|
94
|
-
BasicModal: X,
|
|
95
|
-
OnlineForm: Y,
|
|
96
|
-
CommentPanel: _
|
|
97
|
-
},
|
|
98
|
-
emits: ["success", "register", "formConfig"],
|
|
99
|
-
setup(e, { emit: p }) {
|
|
100
|
-
const o = N(), d = N(0);
|
|
101
|
-
function s() {
|
|
102
|
-
o.value && o.value.reload();
|
|
103
|
-
}
|
|
104
|
-
const {
|
|
105
|
-
title: f,
|
|
106
|
-
modalWidth: a,
|
|
107
|
-
registerModal: r,
|
|
108
|
-
closeModal: t,
|
|
109
|
-
cgButtonList: i,
|
|
110
|
-
handleCgButtonClick: g,
|
|
111
|
-
disableSubmit: h,
|
|
112
|
-
handleSubmit: n,
|
|
113
|
-
submitLoading: I,
|
|
114
|
-
handleCancel: T,
|
|
115
|
-
handleFormConfig: w,
|
|
116
|
-
onlineFormCompRef: F,
|
|
117
|
-
formTemplate: R,
|
|
118
|
-
isTreeForm: v,
|
|
119
|
-
pidFieldName: $,
|
|
120
|
-
renderSuccess: E,
|
|
121
|
-
formRendered: L,
|
|
122
|
-
tableName: j,
|
|
123
|
-
tableId: P,
|
|
124
|
-
formDataId: A,
|
|
125
|
-
enableComment: V,
|
|
126
|
-
onCloseEvent: S,
|
|
127
|
-
themeTemplate: D
|
|
128
|
-
} = Z(!1, { emit: p }, s);
|
|
129
|
-
function W(c) {
|
|
130
|
-
p("success", c), t(), S();
|
|
131
|
-
}
|
|
132
|
-
z(() => e.id, H, { immediate: !0 });
|
|
133
|
-
function H() {
|
|
134
|
-
return k(this, null, function* () {
|
|
135
|
-
if (L.value = !1, !e.id)
|
|
136
|
-
return;
|
|
137
|
-
const c = {};
|
|
138
|
-
e.source === x && (c.tabletype = 3), yield w(e.id, c);
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
return {
|
|
142
|
-
title: f,
|
|
143
|
-
onlineFormCompRef: F,
|
|
144
|
-
renderSuccess: E,
|
|
145
|
-
registerModal: r,
|
|
146
|
-
handleSubmit: n,
|
|
147
|
-
handleSuccess: W,
|
|
148
|
-
handleCancel: T,
|
|
149
|
-
modalWidth: a,
|
|
150
|
-
formTemplate: R,
|
|
151
|
-
disableSubmit: h,
|
|
152
|
-
cgButtonList: i,
|
|
153
|
-
handleCgButtonClick: g,
|
|
154
|
-
isTreeForm: v,
|
|
155
|
-
pidFieldName: $,
|
|
156
|
-
submitLoading: I,
|
|
157
|
-
tableName: j,
|
|
158
|
-
tableId: P,
|
|
159
|
-
formDataId: A,
|
|
160
|
-
enableComment: V,
|
|
161
|
-
commentPanelRef: o,
|
|
162
|
-
onCloseEvent: S,
|
|
163
|
-
themeTemplate: D,
|
|
164
|
-
handleCommentOpen: (c, U) => {
|
|
165
|
-
d.value = U;
|
|
166
|
-
},
|
|
167
|
-
commentSpan: d
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
function oe(e, p, o, d, s, f) {
|
|
172
|
-
const a = l("a-button"), r = l("a-col"), t = l("a-row"), i = l("online-form"), g = l("comment-panel"), h = l("BasicModal");
|
|
173
|
-
return u(), b(h, y({
|
|
174
|
-
title: e.title,
|
|
175
|
-
onCancel: e.onCloseEvent,
|
|
176
|
-
enableComment: e.enableComment,
|
|
177
|
-
width: e.modalWidth
|
|
178
|
-
}, e.$attrs, {
|
|
179
|
-
maxHeight: 600,
|
|
180
|
-
onRegister: e.registerModal,
|
|
181
|
-
wrapClassName: "jeecg-online-modal",
|
|
182
|
-
onOk: e.handleSubmit,
|
|
183
|
-
onCommentOpen: e.handleCommentOpen
|
|
184
|
-
}), {
|
|
185
|
-
footer: m(() => [
|
|
186
|
-
C(t, null, {
|
|
187
|
-
default: m(() => [
|
|
188
|
-
C(r, {
|
|
189
|
-
span: 24 - e.commentSpan
|
|
190
|
-
}, {
|
|
191
|
-
default: m(() => [
|
|
192
|
-
(u(!0), G(J, null, K(e.cgButtonList, (n) => (u(), b(a, {
|
|
193
|
-
key: n.id,
|
|
194
|
-
type: "primary",
|
|
195
|
-
onClick: (I) => e.handleCgButtonClick(n.optType, n.buttonCode),
|
|
196
|
-
preIcon: n.buttonIcon ? "ant-design:" + n.buttonIcon : ""
|
|
197
|
-
}, {
|
|
198
|
-
default: m(() => [
|
|
199
|
-
Q(B(n.buttonName), 1)
|
|
200
|
-
]),
|
|
201
|
-
_: 2
|
|
202
|
-
}, 1032, ["onClick", "preIcon"]))), 128)),
|
|
203
|
-
!e.disableSubmit && e.confirmBtnCfg.enabled ? (u(), b(a, {
|
|
204
|
-
key: "submit",
|
|
205
|
-
type: "primary",
|
|
206
|
-
preIcon: e.confirmBtnCfg.buttonIcon,
|
|
207
|
-
loading: e.submitLoading,
|
|
208
|
-
onClick: e.handleSubmit
|
|
209
|
-
}, {
|
|
210
|
-
default: m(() => [
|
|
211
|
-
O("span", null, B(e.confirmBtnCfg.buttonName), 1)
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
}, 8, ["preIcon", "loading", "onClick"])) : M("", !0),
|
|
215
|
-
e.cancelBtnCfg.enabled ? (u(), b(a, {
|
|
216
|
-
key: "back",
|
|
217
|
-
onClick: e.handleCancel
|
|
218
|
-
}, {
|
|
219
|
-
default: m(() => [
|
|
220
|
-
O("span", null, B(e.cancelBtnCfg.buttonName), 1)
|
|
221
|
-
]),
|
|
222
|
-
_: 1
|
|
223
|
-
}, 8, ["onClick"])) : M("", !0)
|
|
224
|
-
]),
|
|
225
|
-
_: 1
|
|
226
|
-
}, 8, ["span"])
|
|
227
|
-
]),
|
|
228
|
-
_: 1
|
|
229
|
-
})
|
|
230
|
-
]),
|
|
231
|
-
comment: m(() => [
|
|
232
|
-
C(g, {
|
|
233
|
-
ref: "commentPanelRef",
|
|
234
|
-
tableId: e.tableId,
|
|
235
|
-
tableName: e.tableName,
|
|
236
|
-
dataId: e.formDataId
|
|
237
|
-
}, null, 8, ["tableId", "tableName", "dataId"])
|
|
238
|
-
]),
|
|
239
|
-
default: m(() => [
|
|
240
|
-
C(i, y(e.$attrs, {
|
|
241
|
-
ref: "onlineFormCompRef",
|
|
242
|
-
id: e.id,
|
|
243
|
-
disabled: e.disableSubmit,
|
|
244
|
-
"form-template": e.formTemplate,
|
|
245
|
-
isTree: e.isTreeForm,
|
|
246
|
-
pidField: e.pidFieldName,
|
|
247
|
-
themeTemplate: e.themeTemplate,
|
|
248
|
-
cgBIBtnMap: e.cgBIBtnMap,
|
|
249
|
-
buttonSwitch: e.buttonSwitch,
|
|
250
|
-
onRendered: e.renderSuccess,
|
|
251
|
-
onSuccess: e.handleSuccess
|
|
252
|
-
}), null, 16, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "cgBIBtnMap", "buttonSwitch", "onRendered", "onSuccess"])
|
|
253
|
-
]),
|
|
254
|
-
_: 1
|
|
255
|
-
}, 16, ["title", "onCancel", "enableComment", "width", "onRegister", "onOk", "onCommentOpen"]);
|
|
256
|
-
}
|
|
257
|
-
const Ze = /* @__PURE__ */ ee(te, [["render", oe]]);
|
|
258
|
-
export {
|
|
259
|
-
Ze as default
|
|
260
|
-
};
|
|
@@ -1,246 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
var c = (e, i, o) => new Promise((l, n) => {
|
|
2
|
-
var p = (t) => {
|
|
3
|
-
try {
|
|
4
|
-
m(o.next(t));
|
|
5
|
-
} catch (r) {
|
|
6
|
-
n(r);
|
|
7
|
-
}
|
|
8
|
-
}, a = (t) => {
|
|
9
|
-
try {
|
|
10
|
-
m(o.throw(t));
|
|
11
|
-
} catch (r) {
|
|
12
|
-
n(r);
|
|
13
|
-
}
|
|
14
|
-
}, m = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(p, a);
|
|
15
|
-
m((o = o.apply(e, i)).next());
|
|
16
|
-
});
|
|
17
|
-
import { defineComponent as E, ref as P, watch as v, resolveComponent as d, openBlock as u, createBlock as b, mergeProps as L, withCtx as s, createElementVNode as O, toDisplayString as A, createCommentVNode as V, renderSlot as j, createVNode as C } from "vue";
|
|
18
|
-
import { BasicModal as W } from "/@/components/Modal";
|
|
19
|
-
import q from "./OnlineFormDetail-4b3ad130.mjs";
|
|
20
|
-
import { b as H } from "./useExtendComponent-95ce0719.mjs";
|
|
21
|
-
import U from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { a as z, I as G } from "./constant-fa63bd66.mjs";
|
|
23
|
-
import { _ as J } from "./index-740b2c4a.mjs";
|
|
24
|
-
import "/@/hooks/web/useMessage";
|
|
25
|
-
import "/@/components/Loading";
|
|
26
|
-
import "/@/utils/auth";
|
|
27
|
-
import "/@/utils";
|
|
28
|
-
import "@ant-design/icons-vue";
|
|
29
|
-
import "./DetailForm-7d4f630e.mjs";
|
|
30
|
-
import "/@/utils/propTypes";
|
|
31
|
-
import "/@/utils/dict";
|
|
32
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
33
|
-
import "/@/utils/dict/index";
|
|
34
|
-
import "/@/api/common/api";
|
|
35
|
-
import "/@/utils/http/axios";
|
|
36
|
-
import "/@/components/Form/src/utils/Area";
|
|
37
|
-
import "/@/utils/common/compUtils";
|
|
38
|
-
import "/@/components/Preview/index";
|
|
39
|
-
import "/@/components/Markdown";
|
|
40
|
-
import "/@/components/Form/src/componentMap";
|
|
41
|
-
import "/@/components/Form/index";
|
|
42
|
-
import "lodash-es";
|
|
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 "/@/components/Table";
|
|
50
|
-
import "/@/hooks/system/useListPage";
|
|
51
|
-
import "vue-router";
|
|
52
|
-
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
53
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
54
|
-
import "/@/hooks/web/useAppInject";
|
|
55
|
-
import "/@/assets/images/placeholderImage.png";
|
|
56
|
-
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
57
|
-
import "./JModalTip-c3e6726c.mjs";
|
|
58
|
-
import "ant-design-vue";
|
|
59
|
-
import "@vueuse/core";
|
|
60
|
-
import "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
61
|
-
import "/@/utils/uuid";
|
|
62
|
-
const K = E({
|
|
63
|
-
name: "OnlineDetailModal",
|
|
64
|
-
props: {
|
|
65
|
-
id: {
|
|
66
|
-
type: String,
|
|
67
|
-
required: !1,
|
|
68
|
-
default: ""
|
|
69
|
-
},
|
|
70
|
-
// 为了区分来源,编码时主要是erp子表有特殊处理
|
|
71
|
-
source: {
|
|
72
|
-
type: String,
|
|
73
|
-
default: ""
|
|
74
|
-
},
|
|
75
|
-
cancelBtnCfg: {
|
|
76
|
-
type: Object,
|
|
77
|
-
default: () => ({
|
|
78
|
-
enabled: !0,
|
|
79
|
-
buttonName: "关闭",
|
|
80
|
-
buttonIcon: ""
|
|
81
|
-
})
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
components: {
|
|
85
|
-
BasicModal: W,
|
|
86
|
-
OnlineFormDetail: q,
|
|
87
|
-
CommentPanel: U
|
|
88
|
-
},
|
|
89
|
-
emits: ["success", "register", "formConfig"],
|
|
90
|
-
setup(e, { emit: i }) {
|
|
91
|
-
const o = P();
|
|
92
|
-
function l() {
|
|
93
|
-
o.value && o.value.reload();
|
|
94
|
-
}
|
|
95
|
-
const {
|
|
96
|
-
title: n,
|
|
97
|
-
modalWidth: p,
|
|
98
|
-
registerModal: a,
|
|
99
|
-
cgButtonList: m,
|
|
100
|
-
handleCgButtonClick: t,
|
|
101
|
-
disableSubmit: r,
|
|
102
|
-
handleSubmit: h,
|
|
103
|
-
submitLoading: g,
|
|
104
|
-
handleCancel: B,
|
|
105
|
-
handleFormConfig: N,
|
|
106
|
-
onlineFormCompRef: R,
|
|
107
|
-
formTemplate: S,
|
|
108
|
-
isTreeForm: w,
|
|
109
|
-
pidFieldName: T,
|
|
110
|
-
renderSuccess: F,
|
|
111
|
-
formRendered: I,
|
|
112
|
-
showSub: M,
|
|
113
|
-
tableName: _,
|
|
114
|
-
formDataId: k,
|
|
115
|
-
enableComment: y,
|
|
116
|
-
themeTemplate: D
|
|
117
|
-
} = H(!1, { emit: i }, l);
|
|
118
|
-
v(() => e.id, $, { immediate: !0 });
|
|
119
|
-
function $() {
|
|
120
|
-
return c(this, null, function* () {
|
|
121
|
-
if (I.value = !1, !e.id)
|
|
122
|
-
return;
|
|
123
|
-
let f = {};
|
|
124
|
-
(e.source === z || e.source === G) && (f.tabletype = 3), yield N(e.id, f);
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
return {
|
|
128
|
-
title: n,
|
|
129
|
-
onlineFormCompRef: R,
|
|
130
|
-
renderSuccess: F,
|
|
131
|
-
registerModal: a,
|
|
132
|
-
handleSubmit: h,
|
|
133
|
-
handleCancel: B,
|
|
134
|
-
modalWidth: p,
|
|
135
|
-
formTemplate: S,
|
|
136
|
-
disableSubmit: r,
|
|
137
|
-
cgButtonList: m,
|
|
138
|
-
handleCgButtonClick: t,
|
|
139
|
-
isTreeForm: w,
|
|
140
|
-
pidFieldName: T,
|
|
141
|
-
submitLoading: g,
|
|
142
|
-
showSub: M,
|
|
143
|
-
tableName: _,
|
|
144
|
-
formDataId: k,
|
|
145
|
-
enableComment: y,
|
|
146
|
-
commentPanelRef: o,
|
|
147
|
-
themeTemplate: D
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
function Q(e, i, o, l, n, p) {
|
|
152
|
-
const a = d("a-button"), m = d("online-form-detail"), t = d("comment-panel"), r = d("BasicModal");
|
|
153
|
-
return u(), b(r, L({
|
|
154
|
-
title: e.title,
|
|
155
|
-
width: e.modalWidth,
|
|
156
|
-
maxHeight: 600,
|
|
157
|
-
enableComment: e.enableComment,
|
|
158
|
-
defaultFullscreen: !1
|
|
159
|
-
}, e.$attrs, {
|
|
160
|
-
onRegister: e.registerModal,
|
|
161
|
-
wrapClassName: "jeecg-online-detail-modal"
|
|
162
|
-
}), {
|
|
163
|
-
footer: s(() => [
|
|
164
|
-
e.cancelBtnCfg.enabled ? (u(), b(a, {
|
|
165
|
-
key: "back",
|
|
166
|
-
onClick: e.handleCancel
|
|
167
|
-
}, {
|
|
168
|
-
default: s(() => [
|
|
169
|
-
O("span", null, A(e.cancelBtnCfg.buttonName), 1)
|
|
170
|
-
]),
|
|
171
|
-
_: 1
|
|
172
|
-
}, 8, ["onClick"])) : V("", !0),
|
|
173
|
-
j(e.$slots, "footerBtn")
|
|
174
|
-
]),
|
|
175
|
-
comment: s(() => [
|
|
176
|
-
C(t, {
|
|
177
|
-
ref: "commentPanelRef",
|
|
178
|
-
tableName: e.tableName,
|
|
179
|
-
dataId: e.formDataId
|
|
180
|
-
}, null, 8, ["tableName", "dataId"])
|
|
181
|
-
]),
|
|
182
|
-
default: s(() => [
|
|
183
|
-
C(m, {
|
|
184
|
-
ref: "onlineFormCompRef",
|
|
185
|
-
id: e.id,
|
|
186
|
-
"form-template": e.formTemplate,
|
|
187
|
-
"show-sub": e.showSub,
|
|
188
|
-
themeTemplate: e.themeTemplate,
|
|
189
|
-
onRendered: e.renderSuccess
|
|
190
|
-
}, null, 8, ["id", "form-template", "show-sub", "themeTemplate", "onRendered"])
|
|
191
|
-
]),
|
|
192
|
-
_: 3
|
|
193
|
-
}, 16, ["title", "width", "enableComment", "onRegister"]);
|
|
194
|
-
}
|
|
195
|
-
const He = /* @__PURE__ */ J(K, [["render", Q]]);
|
|
196
|
-
export {
|
|
197
|
-
He as default
|
|
198
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|