@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,226 +0,0 @@
|
|
|
1
|
-
var F = (e, t, a) => new Promise((s, i) => {
|
|
2
|
-
var b = (o) => {
|
|
3
|
-
try {
|
|
4
|
-
r(a.next(o));
|
|
5
|
-
} catch (n) {
|
|
6
|
-
i(n);
|
|
7
|
-
}
|
|
8
|
-
}, p = (o) => {
|
|
9
|
-
try {
|
|
10
|
-
r(a.throw(o));
|
|
11
|
-
} catch (n) {
|
|
12
|
-
i(n);
|
|
13
|
-
}
|
|
14
|
-
}, r = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(b, p);
|
|
15
|
-
r((a = a.apply(e, t)).next());
|
|
16
|
-
});
|
|
17
|
-
import { defineComponent as z, ref as v, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as f, createElementBlock as K, Fragment as Q, renderList as X, createTextVNode as S } from "vue";
|
|
18
|
-
import { BasicModal as Y } from "/@/components/Modal";
|
|
19
|
-
import Z from "./OnlineTabFormDetail-2a28febf.mjs";
|
|
20
|
-
import { b as ee } from "./useExtendComponent-95ce0719.mjs";
|
|
21
|
-
import te from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { T as oe } from "./constant-fa63bd66.mjs";
|
|
23
|
-
import { _ as ae } 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 "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
41
|
-
import "/@/components/Form/index";
|
|
42
|
-
import "/@/hooks/web/useAppInject";
|
|
43
|
-
import "/@/utils/uuid";
|
|
44
|
-
import "/@/components/Form/src/componentMap";
|
|
45
|
-
import "lodash-es";
|
|
46
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
47
|
-
import "/@/utils/is";
|
|
48
|
-
import "/@/views/system/user/user.api";
|
|
49
|
-
import "/@/store/modules/user";
|
|
50
|
-
import "/@/utils/desform/customExpression";
|
|
51
|
-
import "/@/store/modules/permission";
|
|
52
|
-
import "/@/components/Table";
|
|
53
|
-
import "/@/hooks/system/useListPage";
|
|
54
|
-
import "vue-router";
|
|
55
|
-
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
56
|
-
import "/@/assets/images/placeholderImage.png";
|
|
57
|
-
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
58
|
-
import "./JModalTip-c3e6726c.mjs";
|
|
59
|
-
import "ant-design-vue";
|
|
60
|
-
import "@vueuse/core";
|
|
61
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
62
|
-
const re = z({
|
|
63
|
-
name: "OnlineTabDetailModal",
|
|
64
|
-
props: {
|
|
65
|
-
id: {
|
|
66
|
-
type: String,
|
|
67
|
-
required: !1,
|
|
68
|
-
default: ""
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
components: {
|
|
72
|
-
BasicModal: Y,
|
|
73
|
-
OnlineFormDetail: Z,
|
|
74
|
-
CommentPanel: te
|
|
75
|
-
},
|
|
76
|
-
emits: ["success", "register", "formConfig"],
|
|
77
|
-
setup(e, { emit: t }) {
|
|
78
|
-
const a = v(), s = v([]), i = v("-1");
|
|
79
|
-
function b() {
|
|
80
|
-
a.value && a.value.reload();
|
|
81
|
-
}
|
|
82
|
-
const {
|
|
83
|
-
title: p,
|
|
84
|
-
modalWidth: r,
|
|
85
|
-
registerModal: o,
|
|
86
|
-
cgButtonList: n,
|
|
87
|
-
handleCgButtonClick: c,
|
|
88
|
-
disableSubmit: h,
|
|
89
|
-
handleSubmit: l,
|
|
90
|
-
submitLoading: g,
|
|
91
|
-
handleCancel: k,
|
|
92
|
-
handleFormConfig: D,
|
|
93
|
-
onlineFormCompRef: y,
|
|
94
|
-
formTemplate: V,
|
|
95
|
-
isTreeForm: O,
|
|
96
|
-
pidFieldName: $,
|
|
97
|
-
renderSuccess: E,
|
|
98
|
-
formRendered: P,
|
|
99
|
-
showSub: A,
|
|
100
|
-
tableName: L,
|
|
101
|
-
formDataId: j,
|
|
102
|
-
enableComment: W,
|
|
103
|
-
themeTemplate: q
|
|
104
|
-
} = ee(!1, { emit: t }, b);
|
|
105
|
-
G(() => e.id, H, { immediate: !0 });
|
|
106
|
-
function H() {
|
|
107
|
-
return F(this, null, function* () {
|
|
108
|
-
P.value = !1, e.id && (yield D(e.id, {}, (T) => {
|
|
109
|
-
const w = [], _ = [], { head: B, schema: U } = T, { properties: x } = U;
|
|
110
|
-
w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(x).forEach(([C, u]) => {
|
|
111
|
-
u.view == "tab" && _.push({ tableName: C, tableTxt: u.describe, order: u.order });
|
|
112
|
-
}), _.sort((C, u) => C.order - u.order), s.value = [...w, ..._];
|
|
113
|
-
}));
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
return {
|
|
117
|
-
title: p,
|
|
118
|
-
onlineFormCompRef: y,
|
|
119
|
-
renderSuccess: E,
|
|
120
|
-
registerModal: o,
|
|
121
|
-
handleSubmit: l,
|
|
122
|
-
handleCancel: k,
|
|
123
|
-
modalWidth: r,
|
|
124
|
-
formTemplate: V,
|
|
125
|
-
disableSubmit: h,
|
|
126
|
-
cgButtonList: n,
|
|
127
|
-
handleCgButtonClick: c,
|
|
128
|
-
isTreeForm: O,
|
|
129
|
-
pidFieldName: $,
|
|
130
|
-
submitLoading: g,
|
|
131
|
-
showSub: A,
|
|
132
|
-
tableName: L,
|
|
133
|
-
formDataId: j,
|
|
134
|
-
enableComment: W,
|
|
135
|
-
commentPanelRef: a,
|
|
136
|
-
themeTemplate: q,
|
|
137
|
-
tabNav: s,
|
|
138
|
-
tabValue: (T) => String(T - 1),
|
|
139
|
-
tabIndex: i,
|
|
140
|
-
TAB: oe,
|
|
141
|
-
restTabIndex: () => {
|
|
142
|
-
setTimeout(() => {
|
|
143
|
-
i.value = "-1";
|
|
144
|
-
}, 500);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
const ne = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
|
|
150
|
-
function le(e, t, a, s, i, b) {
|
|
151
|
-
const p = d("a-radio-button"), r = d("a-radio-group"), o = d("a-button"), n = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
|
|
152
|
-
return I(), M(h, J({
|
|
153
|
-
title: e.title,
|
|
154
|
-
onCancel: t[2] || (t[2] = () => {
|
|
155
|
-
e.restTabIndex();
|
|
156
|
-
}),
|
|
157
|
-
width: e.modalWidth,
|
|
158
|
-
maxHeight: 600,
|
|
159
|
-
enableComment: e.enableComment,
|
|
160
|
-
defaultFullscreen: !1
|
|
161
|
-
}, e.$attrs, {
|
|
162
|
-
onRegister: e.registerModal,
|
|
163
|
-
wrapClassName: "jeecg-online-detail-modal"
|
|
164
|
-
}), {
|
|
165
|
-
title: m(() => [
|
|
166
|
-
N("div", ne, [
|
|
167
|
-
N("div", me, R(e.title), 1),
|
|
168
|
-
N("div", ie, [
|
|
169
|
-
f(r, {
|
|
170
|
-
value: e.tabIndex,
|
|
171
|
-
"onUpdate:value": t[0] || (t[0] = (l) => e.tabIndex = l)
|
|
172
|
-
}, {
|
|
173
|
-
default: m(() => [
|
|
174
|
-
(I(!0), K(Q, null, X(e.tabNav, (l, g) => (I(), M(p, {
|
|
175
|
-
value: e.tabValue(g),
|
|
176
|
-
key: l.tableName
|
|
177
|
-
}, {
|
|
178
|
-
default: m(() => [
|
|
179
|
-
S(R(l.tableTxt), 1)
|
|
180
|
-
]),
|
|
181
|
-
_: 2
|
|
182
|
-
}, 1032, ["value"]))), 128))
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
}, 8, ["value"])
|
|
186
|
-
])
|
|
187
|
-
])
|
|
188
|
-
]),
|
|
189
|
-
footer: m(() => [
|
|
190
|
-
f(o, {
|
|
191
|
-
key: "back",
|
|
192
|
-
onClick: t[1] || (t[1] = () => {
|
|
193
|
-
e.handleCancel(), e.restTabIndex();
|
|
194
|
-
})
|
|
195
|
-
}, {
|
|
196
|
-
default: m(() => t[3] || (t[3] = [
|
|
197
|
-
S("关闭")
|
|
198
|
-
])),
|
|
199
|
-
_: 1
|
|
200
|
-
})
|
|
201
|
-
]),
|
|
202
|
-
comment: m(() => [
|
|
203
|
-
f(c, {
|
|
204
|
-
ref: "commentPanelRef",
|
|
205
|
-
tableName: e.tableName,
|
|
206
|
-
dataId: e.formDataId
|
|
207
|
-
}, null, 8, ["tableName", "dataId"])
|
|
208
|
-
]),
|
|
209
|
-
default: m(() => [
|
|
210
|
-
f(n, {
|
|
211
|
-
ref: "onlineFormCompRef",
|
|
212
|
-
id: e.id,
|
|
213
|
-
"form-template": e.formTemplate,
|
|
214
|
-
"show-sub": e.showSub,
|
|
215
|
-
themeTemplate: e.themeTemplate,
|
|
216
|
-
tabIndex: e.tabIndex,
|
|
217
|
-
onRendered: e.renderSuccess
|
|
218
|
-
}, null, 8, ["id", "form-template", "show-sub", "themeTemplate", "tabIndex", "onRendered"])
|
|
219
|
-
]),
|
|
220
|
-
_: 1
|
|
221
|
-
}, 16, ["title", "width", "enableComment", "onRegister"]);
|
|
222
|
-
}
|
|
223
|
-
const rt = /* @__PURE__ */ ae(re, [["render", le], ["__scopeId", "data-v-1d94bf71"]]);
|
|
224
|
-
export {
|
|
225
|
-
rt as default
|
|
226
|
-
};
|
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
var Z = Object.defineProperty;
|
|
2
|
-
var I = Object.getOwnPropertySymbols;
|
|
3
|
-
var $ = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var J = (l, i, r) => i in l ? Z(l, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : l[i] = r, N = (l, i) => {
|
|
5
|
-
for (var r in i || (i = {}))
|
|
6
|
-
$.call(i, r) && J(l, r, i[r]);
|
|
7
|
-
if (I)
|
|
8
|
-
for (var r of I(i))
|
|
9
|
-
ee.call(i, r) && J(l, r, i[r]);
|
|
10
|
-
return l;
|
|
11
|
-
};
|
|
12
|
-
var T = (l, i, r) => new Promise((o, b) => {
|
|
13
|
-
var y = (m) => {
|
|
14
|
-
try {
|
|
15
|
-
c(r.next(m));
|
|
16
|
-
} catch (f) {
|
|
17
|
-
b(f);
|
|
18
|
-
}
|
|
19
|
-
}, g = (m) => {
|
|
20
|
-
try {
|
|
21
|
-
c(r.throw(m));
|
|
22
|
-
} catch (f) {
|
|
23
|
-
b(f);
|
|
24
|
-
}
|
|
25
|
-
}, c = (m) => m.done ? o(m.value) : Promise.resolve(m.value).then(y, g);
|
|
26
|
-
c((r = r.apply(l, i)).next());
|
|
27
|
-
});
|
|
28
|
-
import { useMessage as te } from "/@/hooks/web/useMessage";
|
|
29
|
-
import { ref as s, watch as oe, reactive as ne, resolveComponent as p, openBlock as u, createElementBlock as h, createVNode as _, createCommentVNode as V, withCtx as K, createBlock as v, Fragment as re, renderList as ie, normalizeStyle as ae, renderSlot as le } from "vue";
|
|
30
|
-
import { Loading as me } from "/@/components/Loading";
|
|
31
|
-
import { getToken as se } from "/@/utils/auth";
|
|
32
|
-
import { goJmReportViewPage as ue } from "/@/utils";
|
|
33
|
-
import { PrinterOutlined as pe } from "@ant-design/icons-vue";
|
|
34
|
-
import ce from "./DetailForm-7d4f630e.mjs";
|
|
35
|
-
import fe from "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
36
|
-
import { m as de } from "./useExtendComponent-95ce0719.mjs";
|
|
37
|
-
import { defHttp as be } from "/@/utils/http/axios";
|
|
38
|
-
import { E as ge, T as he } from "./constant-fa63bd66.mjs";
|
|
39
|
-
import { useAppInject as _e } from "/@/hooks/web/useAppInject";
|
|
40
|
-
import { buildShortUUID as ye } from "/@/utils/uuid";
|
|
41
|
-
import { _ as Se } from "./index-740b2c4a.mjs";
|
|
42
|
-
import "/@/utils/propTypes";
|
|
43
|
-
import "/@/utils/dict";
|
|
44
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
45
|
-
import "/@/utils/dict/index";
|
|
46
|
-
import "/@/api/common/api";
|
|
47
|
-
import "/@/components/Form/src/utils/Area";
|
|
48
|
-
import "/@/utils/common/compUtils";
|
|
49
|
-
import "/@/components/Preview/index";
|
|
50
|
-
import "/@/components/Markdown";
|
|
51
|
-
import "/@/components/Form/src/componentMap";
|
|
52
|
-
import "/@/components/Modal";
|
|
53
|
-
import "/@/components/Form/index";
|
|
54
|
-
import "lodash-es";
|
|
55
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
56
|
-
import "/@/utils/is";
|
|
57
|
-
import "/@/views/system/user/user.api";
|
|
58
|
-
import "/@/store/modules/user";
|
|
59
|
-
import "/@/utils/desform/customExpression";
|
|
60
|
-
import "/@/store/modules/permission";
|
|
61
|
-
import "/@/components/Table";
|
|
62
|
-
import "/@/hooks/system/useListPage";
|
|
63
|
-
import "vue-router";
|
|
64
|
-
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
65
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
66
|
-
import "/@/assets/images/placeholderImage.png";
|
|
67
|
-
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
68
|
-
import "./JModalTip-c3e6726c.mjs";
|
|
69
|
-
import "ant-design-vue";
|
|
70
|
-
import "@vueuse/core";
|
|
71
|
-
const Te = {
|
|
72
|
-
name: "OnlineTabFormDetail",
|
|
73
|
-
components: {
|
|
74
|
-
DetailForm: ce,
|
|
75
|
-
Loading: me,
|
|
76
|
-
PrinterOutlined: pe,
|
|
77
|
-
OnlineSubFormDetail: fe
|
|
78
|
-
},
|
|
79
|
-
props: {
|
|
80
|
-
id: {
|
|
81
|
-
type: String,
|
|
82
|
-
default: ""
|
|
83
|
-
},
|
|
84
|
-
formTemplate: {
|
|
85
|
-
type: Number,
|
|
86
|
-
default: 1
|
|
87
|
-
},
|
|
88
|
-
disabled: {
|
|
89
|
-
type: Boolean,
|
|
90
|
-
default: !1
|
|
91
|
-
},
|
|
92
|
-
isTree: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: !1
|
|
95
|
-
},
|
|
96
|
-
pidField: {
|
|
97
|
-
type: String,
|
|
98
|
-
default: ""
|
|
99
|
-
},
|
|
100
|
-
submitTip: {
|
|
101
|
-
type: Boolean,
|
|
102
|
-
default: !0
|
|
103
|
-
},
|
|
104
|
-
showSub: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
default: !0
|
|
107
|
-
},
|
|
108
|
-
themeTemplate: {
|
|
109
|
-
type: String,
|
|
110
|
-
default: ""
|
|
111
|
-
},
|
|
112
|
-
tabIndex: {
|
|
113
|
-
type: String,
|
|
114
|
-
default: ""
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
emits: ["success", "rendered"],
|
|
118
|
-
setup(l, { emit: i }) {
|
|
119
|
-
const { createMessage: r } = te(), { getIsMobile: o } = _e(), b = s(""), y = s(!0), g = s(!1), c = s(1), m = s({}), f = s("auto"), w = s(340), S = s("0"), k = s(!o.value), x = s(ye());
|
|
120
|
-
oe(
|
|
121
|
-
() => l.tabIndex,
|
|
122
|
-
(e, t) => {
|
|
123
|
-
S.value = e, t && B();
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
immediate: !0
|
|
127
|
-
}
|
|
128
|
-
);
|
|
129
|
-
const a = ne({
|
|
130
|
-
reportPrintShow: 0,
|
|
131
|
-
reportPrintUrl: "",
|
|
132
|
-
joinQuery: 0,
|
|
133
|
-
modelFullscreen: 0,
|
|
134
|
-
modalMinWidth: ""
|
|
135
|
-
}), { detailFormSchemas: P, hasSubTable: A, subTabInfo: E, refMap: M, showStatus: F, subDataSource: C, createFormSchemas: R, formSpan: U } = de(l);
|
|
136
|
-
function j(e) {
|
|
137
|
-
let t = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 1, modalMinWidth: "" };
|
|
138
|
-
e && (t = JSON.parse(e)), Object.keys(t).map((n) => {
|
|
139
|
-
a[n] = t[n];
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
function H(e) {
|
|
143
|
-
return T(this, null, function* () {
|
|
144
|
-
c.value = e.head.tableType, b.value = e.head.tableName, y.value = e.head.tableType == 1, j(e.head.extConfigJson), R(e.schema.properties), i("rendered", a);
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function L(e, t) {
|
|
148
|
-
return T(this, null, function* () {
|
|
149
|
-
yield Q(t), D(!0);
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
function z(e) {
|
|
153
|
-
let t = `/online/cgform/api/detail/${l.id}/${e}`;
|
|
154
|
-
return new Promise((n, d) => {
|
|
155
|
-
be.get({ url: t }, { isTransformResponse: !1 }).then((O) => {
|
|
156
|
-
O.success ? n(O.result) : (d(), r.warning(O.message));
|
|
157
|
-
}).catch(() => {
|
|
158
|
-
d();
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
function D(e) {
|
|
163
|
-
Object.keys(F).map((t) => {
|
|
164
|
-
F[t] = e;
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
function B() {
|
|
168
|
-
D(!1), setTimeout(() => {
|
|
169
|
-
D(!0);
|
|
170
|
-
}, 300);
|
|
171
|
-
}
|
|
172
|
-
function Q(e) {
|
|
173
|
-
return T(this, null, function* () {
|
|
174
|
-
let t = yield z(e.id);
|
|
175
|
-
m.value = N({}, t), W(t);
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
function W(e) {
|
|
179
|
-
e || (e = {});
|
|
180
|
-
let t = Object.keys(C.value);
|
|
181
|
-
if (t && t.length > 0) {
|
|
182
|
-
let n = {};
|
|
183
|
-
for (let d of t)
|
|
184
|
-
n[d] = e[d] || [];
|
|
185
|
-
C.value = n;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
function q(e) {
|
|
189
|
-
return "online_" + e + ":";
|
|
190
|
-
}
|
|
191
|
-
function G() {
|
|
192
|
-
let e = a.reportPrintUrl, t = m.value;
|
|
193
|
-
if (t) {
|
|
194
|
-
let n = t.id, d = se();
|
|
195
|
-
ue(e, n, d);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
function X(e) {
|
|
199
|
-
let t = m.value, n = Y(t, e);
|
|
200
|
-
return n && (n = n + "__" + x.value), n;
|
|
201
|
-
}
|
|
202
|
-
function Y(e, t) {
|
|
203
|
-
if (e) {
|
|
204
|
-
let n = e[t];
|
|
205
|
-
return !n && n !== 0 && (n = e[t.toLowerCase()], !n && n !== 0 && (n = e[t.toUpperCase()])), n;
|
|
206
|
-
}
|
|
207
|
-
return "";
|
|
208
|
-
}
|
|
209
|
-
return {
|
|
210
|
-
detailFormSchemas: P,
|
|
211
|
-
formData: m,
|
|
212
|
-
formSpan: U,
|
|
213
|
-
//主表
|
|
214
|
-
tableName: b,
|
|
215
|
-
loading: g,
|
|
216
|
-
//子表
|
|
217
|
-
hasSubTable: A,
|
|
218
|
-
subTabInfo: E,
|
|
219
|
-
subFormHeight: f,
|
|
220
|
-
subTableHeight: w,
|
|
221
|
-
refMap: M,
|
|
222
|
-
onTabChange: B,
|
|
223
|
-
//一对多子表
|
|
224
|
-
subDataSource: C,
|
|
225
|
-
getSubTableAuthPre: q,
|
|
226
|
-
//父组件调用
|
|
227
|
-
show: L,
|
|
228
|
-
createRootProperties: H,
|
|
229
|
-
// 扩展配置
|
|
230
|
-
onOpenReportPrint: G,
|
|
231
|
-
onlineExtConfigJson: a,
|
|
232
|
-
getSubTableForeignKeyValue: X,
|
|
233
|
-
showStatus: F,
|
|
234
|
-
ERP: ge,
|
|
235
|
-
TAB: he,
|
|
236
|
-
subActiveKey: S,
|
|
237
|
-
rowNumber: k
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
const ve = ["id"], we = {
|
|
242
|
-
key: 0,
|
|
243
|
-
style: { "text-align": "right", position: "absolute", top: "15px", right: "20px", "z-index": "999" }
|
|
244
|
-
}, ke = { key: 1 };
|
|
245
|
-
function xe(l, i, r, o, b, y) {
|
|
246
|
-
const g = p("PrinterOutlined"), c = p("detail-form"), m = p("a-tab-pane"), f = p("online-sub-form-detail"), w = p("JVxeTable"), S = p("a-spin"), k = p("a-tabs"), x = p("Loading");
|
|
247
|
-
return u(), h("div", {
|
|
248
|
-
id: o.tableName + "_form"
|
|
249
|
-
}, [
|
|
250
|
-
o.formData.id && o.onlineExtConfigJson.reportPrintShow ? (u(), h("div", we, [
|
|
251
|
-
_(g, {
|
|
252
|
-
title: "打印",
|
|
253
|
-
onClick: o.onOpenReportPrint,
|
|
254
|
-
style: { "font-size": "16px" }
|
|
255
|
-
}, null, 8, ["onClick"])
|
|
256
|
-
])) : V("", !0),
|
|
257
|
-
_(k, {
|
|
258
|
-
class: "tabTheme",
|
|
259
|
-
onChange: o.onTabChange,
|
|
260
|
-
activeKey: o.subActiveKey,
|
|
261
|
-
"onUpdate:activeKey": i[0] || (i[0] = (a) => o.subActiveKey = a)
|
|
262
|
-
}, {
|
|
263
|
-
default: K(() => [
|
|
264
|
-
(u(), v(m, {
|
|
265
|
-
tab: "主表",
|
|
266
|
-
key: "-1"
|
|
267
|
-
}, {
|
|
268
|
-
default: K(() => [
|
|
269
|
-
_(c, {
|
|
270
|
-
schemas: o.detailFormSchemas,
|
|
271
|
-
data: o.formData,
|
|
272
|
-
span: o.formSpan
|
|
273
|
-
}, null, 8, ["schemas", "data", "span"])
|
|
274
|
-
]),
|
|
275
|
-
_: 1
|
|
276
|
-
})),
|
|
277
|
-
o.hasSubTable && r.showSub ? (u(!0), h(re, { key: 0 }, ie(o.subTabInfo, (a, P) => (u(), v(m, {
|
|
278
|
-
tab: a.describe,
|
|
279
|
-
key: P + "",
|
|
280
|
-
forceRender: !0
|
|
281
|
-
}, {
|
|
282
|
-
default: K(() => [
|
|
283
|
-
a.relationType == 1 ? (u(), h("div", {
|
|
284
|
-
key: 0,
|
|
285
|
-
style: ae({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": o.subFormHeight + "px" })
|
|
286
|
-
}, [
|
|
287
|
-
_(f, {
|
|
288
|
-
table: a.key,
|
|
289
|
-
"form-template": r.formTemplate,
|
|
290
|
-
"main-id": o.getSubTableForeignKeyValue(a.foreignKey),
|
|
291
|
-
properties: a.properties
|
|
292
|
-
}, null, 8, ["table", "form-template", "main-id", "properties"])
|
|
293
|
-
], 4)) : (u(), h("div", ke, [
|
|
294
|
-
o.showStatus[a.key] ? (u(), v(w, {
|
|
295
|
-
key: 0,
|
|
296
|
-
ref_for: !0,
|
|
297
|
-
ref: o.refMap[a.key],
|
|
298
|
-
toolbar: "",
|
|
299
|
-
"keep-source": "",
|
|
300
|
-
"row-number": o.rowNumber,
|
|
301
|
-
"row-selection": "",
|
|
302
|
-
height: o.subTableHeight,
|
|
303
|
-
disabled: !0,
|
|
304
|
-
columns: a.columns,
|
|
305
|
-
dataSource: o.subDataSource[a.key],
|
|
306
|
-
authPre: o.getSubTableAuthPre(a.key)
|
|
307
|
-
}, null, 8, ["row-number", "height", "columns", "dataSource", "authPre"])) : (u(), v(S, {
|
|
308
|
-
key: 1,
|
|
309
|
-
spinning: !0
|
|
310
|
-
}))
|
|
311
|
-
]))
|
|
312
|
-
]),
|
|
313
|
-
_: 2
|
|
314
|
-
}, 1032, ["tab"]))), 128)) : V("", !0)
|
|
315
|
-
]),
|
|
316
|
-
_: 1
|
|
317
|
-
}, 8, ["onChange", "activeKey"]),
|
|
318
|
-
_(x, {
|
|
319
|
-
loading: o.loading,
|
|
320
|
-
absolute: !1
|
|
321
|
-
}, null, 8, ["loading"]),
|
|
322
|
-
le(l.$slots, "bottom", {}, void 0, !0)
|
|
323
|
-
], 8, ve);
|
|
324
|
-
}
|
|
325
|
-
const gt = /* @__PURE__ */ Se(Te, [["render", xe], ["__scopeId", "data-v-f0b22224"]]);
|
|
326
|
-
export {
|
|
327
|
-
gt as default
|
|
328
|
-
};
|