@jeecg/online 3.7.1-RC → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccountLoginForm-d2fed52f.mjs +254 -0
- package/AiModal-fbe4b68a.mjs +84 -0
- package/AppForgetPassword-3b3bec82.mjs +310 -0
- package/AppLogin-cd2e2a87.mjs +287 -0
- package/AppLoginHeader-9b5be678.mjs +27 -0
- package/AppNameEmail-b4e32ae8.mjs +180 -0
- package/AppRegister-7117b66a.mjs +303 -0
- package/AppTenant-5817729b.mjs +373 -0
- package/AppThirdForm-d14fb5e5.mjs +189 -0
- package/AuthButtonConfig-5e3b6d72.mjs +156 -0
- package/AuthButtonTree-7b4ec967.mjs +165 -0
- package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
- package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
- package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
- package/AuthFieldTree-2d458c0c.mjs +232 -0
- package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
- package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1b9cbe19.mjs +260 -0
- package/CgformCopyList-580bba0f.mjs +252 -0
- package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
- package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
- package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
- package/CodeFileListModal-71752603.mjs +159 -0
- package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
- package/CodeGeneratorModal-2fe1e920.mjs +281 -0
- package/CustomButtonList-22b5cdb3.mjs +274 -0
- package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
- package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
- package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
- package/DropMenuItem-b1a8f47d.mjs +44 -0
- package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
- package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
- package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
- package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
- package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
- package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
- package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
- package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
- package/JModalTip-192fafa1.mjs +49 -0
- package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
- package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
- package/LeftRole-9d88976d.mjs +86 -0
- package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
- package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
- package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
- package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
- package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
- package/OnlCgformErpList-8fd15fc1.mjs +488 -0
- package/OnlCgformErpSubTable-3515150b.mjs +441 -0
- package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
- package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
- package/OnlCgformTabList-583ac15f.mjs +424 -0
- package/OnlineAutoList-36ec0957.mjs +513 -0
- package/OnlineAutoModal-c0743caf.mjs +260 -0
- package/OnlineAutoTreeList-1cd718be.mjs +523 -0
- package/OnlineCustomModal-661ee850.mjs +232 -0
- package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
- package/OnlineForm-c1fb38eb.mjs +1012 -0
- package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
- package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
- package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
- package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
- package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
- package/OnlineQueryForm-ca6186a3.mjs +484 -0
- package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
- package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
- package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
- package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
- package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
- package/OnlineTabForm-89389384.mjs +814 -0
- package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
- package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
- package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
- package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
- package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
- package/SetSwitchOptions-cdcb22a1.mjs +62 -0
- package/ShareAddView-f713c0a5.mjs +86 -0
- package/ShareEditView-691764ad.mjs +92 -0
- package/ShareView-df344a8d.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
- package/SingleView-ad0287d6.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
- package/SuperQuery-2b293e3b.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
- package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
- package/index-181f8344.mjs +219 -0
- package/index-19eaef11.mjs +11 -0
- package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
- package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-93341e02.mjs +110 -0
- package/index-bef7fe2d.mjs +74 -0
- package/index-d6f9ada7.mjs +135 -0
- package/index-f3683351.mjs +57 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-13c8aab7.mjs +378 -0
- package/useExtendComponent-3f5734ca.mjs +4459 -0
- package/useListButton-ee23874a.mjs +719 -0
- package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
- package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-6de335e3.mjs +0 -84
- package/AuthButtonConfig-89763932.mjs +0 -154
- package/AuthButtonTree-2d87d0b3.mjs +0 -157
- package/AuthFieldTree-e326fc38.mjs +0 -232
- package/CgformCopyList-365b3e8f.mjs +0 -251
- package/CodeFileListModal-24601898.mjs +0 -159
- package/CodeGeneratorModal-f09fe903.mjs +0 -282
- package/CustomButtonList-f07bc695.mjs +0 -397
- package/JModalTip-b055ab60.mjs +0 -49
- package/LeftRole-2ed8a2bf.mjs +0 -86
- package/OnlCgformErpList-58acdfa0.mjs +0 -470
- package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
- package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
- package/OnlCgformTabList-019ad753.mjs +0 -408
- package/OnlineAutoList-48589d09.mjs +0 -493
- package/OnlineAutoModal-c2928847.mjs +0 -239
- package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
- package/OnlineCustomModal-9e17b6ce.mjs +0 -232
- package/OnlineForm-9f1153ba.mjs +0 -985
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
- package/OnlineQueryForm-eedb9a60.mjs +0 -466
- package/OnlineTabForm-27655c83.mjs +0 -817
- package/SetSwitchOptions-b2af757f.mjs +0 -62
- package/SuperQuery-a8592995.mjs +0 -967
- package/index-1d1a6e56.mjs +0 -57
- package/useCgformList-f41d4dc1.mjs +0 -426
- package/useExtendComponent-dcae5c78.mjs +0 -4399
- package/useListButton-bfac4ecf.mjs +0 -697
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var L = (e, n, i) => new Promise((c, d) => {
|
|
2
|
+
var C = (a) => {
|
|
3
3
|
try {
|
|
4
4
|
s(i.next(a));
|
|
5
5
|
} catch (p) {
|
|
6
6
|
d(p);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, h = (a) => {
|
|
9
9
|
try {
|
|
10
10
|
s(i.throw(a));
|
|
11
11
|
} catch (p) {
|
|
12
12
|
d(p);
|
|
13
13
|
}
|
|
14
|
-
}, s = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(
|
|
14
|
+
}, s = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(C, h);
|
|
15
15
|
s((i = i.apply(e, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as
|
|
17
|
+
import { defineComponent as oe, ref as B, watch as ne, computed as ae, resolveComponent as r, openBlock as m, createBlock as u, mergeProps as re, createSlots as le, withCtx as o, createVNode as f, createElementBlock as A, Fragment as V, renderList as j, createTextVNode as I, toDisplayString as g, createElementVNode as N, createCommentVNode as me } from "vue";
|
|
18
18
|
import { BasicModal as ie } from "/@/components/Modal";
|
|
19
|
-
import de from "./OnlineTabForm-
|
|
20
|
-
import { b as se } from "./useExtendComponent-
|
|
19
|
+
import de from "./OnlineTabForm-89389384.mjs";
|
|
20
|
+
import { b as se } from "./useExtendComponent-3f5734ca.mjs";
|
|
21
21
|
import pe from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
22
|
import { T as ue } from "./constant-fa63bd66.mjs";
|
|
23
23
|
import { useAppInject as ce } from "/@/hooks/web/useAppInject";
|
|
24
|
-
import { _ as be } from "./index-
|
|
24
|
+
import { _ as be } from "./index-f3683351.mjs";
|
|
25
25
|
import "/@/hooks/web/useMessage";
|
|
26
26
|
import "/@/components/Form/index";
|
|
27
27
|
import "/@/utils/http/axios";
|
|
@@ -47,20 +47,30 @@ import "/@/hooks/system/useListPage";
|
|
|
47
47
|
import "vue-router";
|
|
48
48
|
import "/@/components/Form/src/utils/Area";
|
|
49
49
|
import "/@/components/Preview/index";
|
|
50
|
-
import "./LinkTableListPiece-
|
|
50
|
+
import "./LinkTableListPiece-179035c7.mjs";
|
|
51
51
|
import "/@/api/common/api";
|
|
52
52
|
import "/@/assets/images/placeholderImage.png";
|
|
53
|
-
import "./OnlineSelectCascade-
|
|
54
|
-
import "./JModalTip-
|
|
53
|
+
import "./OnlineSelectCascade-a3e686b3.mjs";
|
|
54
|
+
import "./JModalTip-192fafa1.mjs";
|
|
55
55
|
import "ant-design-vue";
|
|
56
56
|
import "@vueuse/core";
|
|
57
57
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
58
|
-
const fe =
|
|
58
|
+
const fe = oe({
|
|
59
59
|
name: "OnlineTabAutoModal",
|
|
60
60
|
props: {
|
|
61
61
|
id: {
|
|
62
62
|
type: String,
|
|
63
63
|
default: ""
|
|
64
|
+
},
|
|
65
|
+
cgBIBtnMap: Object,
|
|
66
|
+
buttonSwitch: Object,
|
|
67
|
+
confirmBtnCfg: {
|
|
68
|
+
type: Object,
|
|
69
|
+
default: () => ({
|
|
70
|
+
enabled: !0,
|
|
71
|
+
buttonName: "确定",
|
|
72
|
+
buttonIcon: ""
|
|
73
|
+
})
|
|
64
74
|
}
|
|
65
75
|
},
|
|
66
76
|
components: {
|
|
@@ -70,23 +80,23 @@ const fe = te({
|
|
|
70
80
|
},
|
|
71
81
|
emits: ["success", "register", "formConfig"],
|
|
72
82
|
setup(e, { emit: n }) {
|
|
73
|
-
const i =
|
|
83
|
+
const i = B(), c = B([]), d = B("-1"), C = B(0), { getIsMobile: h } = ce();
|
|
74
84
|
function s() {
|
|
75
85
|
i.value && i.value.reload();
|
|
76
86
|
}
|
|
77
87
|
const {
|
|
78
88
|
title: a,
|
|
79
89
|
modalWidth: p,
|
|
80
|
-
registerModal:
|
|
90
|
+
registerModal: S,
|
|
81
91
|
closeModal: T,
|
|
82
92
|
cgButtonList: y,
|
|
83
|
-
handleCgButtonClick:
|
|
84
|
-
disableSubmit:
|
|
85
|
-
handleSubmit:
|
|
86
|
-
submitLoading:
|
|
87
|
-
handleCancel:
|
|
93
|
+
handleCgButtonClick: w,
|
|
94
|
+
disableSubmit: M,
|
|
95
|
+
handleSubmit: _,
|
|
96
|
+
submitLoading: O,
|
|
97
|
+
handleCancel: t,
|
|
88
98
|
handleFormConfig: b,
|
|
89
|
-
onlineFormCompRef:
|
|
99
|
+
onlineFormCompRef: P,
|
|
90
100
|
formTemplate: W,
|
|
91
101
|
isTreeForm: H,
|
|
92
102
|
pidFieldName: U,
|
|
@@ -98,41 +108,41 @@ const fe = te({
|
|
|
98
108
|
onCloseEvent: D,
|
|
99
109
|
themeTemplate: Q
|
|
100
110
|
} = se(!1, { emit: n }, s);
|
|
101
|
-
function X(
|
|
102
|
-
n("success",
|
|
111
|
+
function X(l) {
|
|
112
|
+
n("success", l), T(), D(), E();
|
|
103
113
|
}
|
|
104
114
|
ne(() => e.id, Y, { immediate: !0 });
|
|
105
115
|
function Y() {
|
|
106
|
-
return
|
|
107
|
-
z.value = !1, e.id && (yield b(e.id, {}, (
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
v.view == "tab" && F.push({ tableName:
|
|
111
|
-
}), F.sort((
|
|
116
|
+
return L(this, null, function* () {
|
|
117
|
+
z.value = !1, e.id && (yield b(e.id, {}, (l) => {
|
|
118
|
+
const k = [], F = [], { head: $, schema: ee } = l, { properties: te } = ee;
|
|
119
|
+
k.push({ tableName: $.tableName, tableTxt: $.tableTxt }), Object.entries(te).forEach(([R, v]) => {
|
|
120
|
+
v.view == "tab" && F.push({ tableName: R, tableTxt: v.describe, order: v.order });
|
|
121
|
+
}), F.sort((R, v) => R.order - v.order), c.value = [...k, ...F];
|
|
112
122
|
}));
|
|
113
123
|
});
|
|
114
124
|
}
|
|
115
|
-
const Z = (
|
|
125
|
+
const Z = (l) => String(l - 1), E = () => {
|
|
116
126
|
setTimeout(() => {
|
|
117
127
|
d.value = "-1";
|
|
118
128
|
}, 500);
|
|
119
|
-
}, x = ae(() =>
|
|
129
|
+
}, x = ae(() => h.value && c.value.length > 2);
|
|
120
130
|
return {
|
|
121
131
|
title: a,
|
|
122
|
-
onlineFormCompRef:
|
|
132
|
+
onlineFormCompRef: P,
|
|
123
133
|
renderSuccess: q,
|
|
124
|
-
registerModal:
|
|
125
|
-
handleSubmit:
|
|
134
|
+
registerModal: S,
|
|
135
|
+
handleSubmit: _,
|
|
126
136
|
handleSuccess: X,
|
|
127
|
-
handleCancel:
|
|
137
|
+
handleCancel: t,
|
|
128
138
|
modalWidth: p,
|
|
129
139
|
formTemplate: W,
|
|
130
|
-
disableSubmit:
|
|
140
|
+
disableSubmit: M,
|
|
131
141
|
cgButtonList: y,
|
|
132
|
-
handleCgButtonClick:
|
|
142
|
+
handleCgButtonClick: w,
|
|
133
143
|
isTreeForm: H,
|
|
134
144
|
pidFieldName: U,
|
|
135
|
-
submitLoading:
|
|
145
|
+
submitLoading: O,
|
|
136
146
|
tableName: G,
|
|
137
147
|
formDataId: J,
|
|
138
148
|
enableComment: K,
|
|
@@ -143,25 +153,25 @@ const fe = te({
|
|
|
143
153
|
tabValue: Z,
|
|
144
154
|
tabIndex: d,
|
|
145
155
|
TAB: ue,
|
|
146
|
-
restTabIndex:
|
|
147
|
-
handleMenuClick: ({ key:
|
|
148
|
-
d.value =
|
|
156
|
+
restTabIndex: E,
|
|
157
|
+
handleMenuClick: ({ key: l }) => {
|
|
158
|
+
d.value = l;
|
|
149
159
|
},
|
|
150
160
|
showDropdownBtn: x,
|
|
151
|
-
handleToggleTab: (
|
|
152
|
-
d.value =
|
|
161
|
+
handleToggleTab: (l) => {
|
|
162
|
+
d.value = l;
|
|
153
163
|
},
|
|
154
|
-
handleCommentOpen: (
|
|
155
|
-
|
|
164
|
+
handleCommentOpen: (l, k) => {
|
|
165
|
+
C.value = k;
|
|
156
166
|
},
|
|
157
|
-
commentSpan:
|
|
167
|
+
commentSpan: C
|
|
158
168
|
};
|
|
159
169
|
}
|
|
160
170
|
});
|
|
161
|
-
const ge = { class: "titleArea" },
|
|
162
|
-
function Te(e, n, i, c, d,
|
|
163
|
-
const
|
|
164
|
-
return
|
|
171
|
+
const ge = { class: "titleArea" }, Ce = { class: "title" }, he = { class: "right" };
|
|
172
|
+
function Te(e, n, i, c, d, C) {
|
|
173
|
+
const h = r("a-menu-item"), s = r("a-menu"), a = r("a-dropdown-button"), p = r("a-radio-button"), S = r("a-radio-group"), T = r("a-button"), y = r("a-col"), w = r("a-row"), M = r("online-form"), _ = r("comment-panel"), O = r("BasicModal");
|
|
174
|
+
return m(), u(O, re({
|
|
165
175
|
title: e.title,
|
|
166
176
|
onCancel: n[2] || (n[2] = () => {
|
|
167
177
|
e.onCloseEvent(), e.restTabIndex();
|
|
@@ -174,45 +184,46 @@ function Te(e, n, i, c, d, h) {
|
|
|
174
184
|
wrapClassName: "jeecg-online-modal",
|
|
175
185
|
onOk: e.handleSubmit,
|
|
176
186
|
onCommentOpen: e.handleCommentOpen
|
|
177
|
-
}),
|
|
178
|
-
footer:
|
|
179
|
-
f(
|
|
180
|
-
default:
|
|
187
|
+
}), le({
|
|
188
|
+
footer: o(() => [
|
|
189
|
+
f(w, null, {
|
|
190
|
+
default: o(() => [
|
|
181
191
|
f(y, {
|
|
182
192
|
span: 24 - e.commentSpan
|
|
183
193
|
}, {
|
|
184
|
-
default:
|
|
185
|
-
(
|
|
186
|
-
key:
|
|
194
|
+
default: o(() => [
|
|
195
|
+
(m(!0), A(V, null, j(e.cgButtonList, (t) => (m(), u(T, {
|
|
196
|
+
key: t.id,
|
|
187
197
|
type: "primary",
|
|
188
|
-
onClick: (b) => e.handleCgButtonClick(
|
|
189
|
-
preIcon:
|
|
198
|
+
onClick: (b) => e.handleCgButtonClick(t.optType, t.buttonCode),
|
|
199
|
+
preIcon: t.buttonIcon ? "ant-design:" + t.buttonIcon : ""
|
|
190
200
|
}, {
|
|
191
|
-
default:
|
|
192
|
-
g(
|
|
201
|
+
default: o(() => [
|
|
202
|
+
I(g(t.buttonName), 1)
|
|
193
203
|
]),
|
|
194
204
|
_: 2
|
|
195
205
|
}, 1032, ["onClick", "preIcon"]))), 128)),
|
|
196
|
-
e.disableSubmit
|
|
206
|
+
!e.disableSubmit && e.confirmBtnCfg.enabled ? (m(), u(T, {
|
|
197
207
|
key: "submit",
|
|
198
208
|
type: "primary",
|
|
199
|
-
|
|
200
|
-
loading: e.submitLoading
|
|
209
|
+
preIcon: e.confirmBtnCfg.buttonIcon,
|
|
210
|
+
loading: e.submitLoading,
|
|
211
|
+
onClick: e.handleSubmit
|
|
201
212
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
|
|
213
|
+
default: o(() => [
|
|
214
|
+
N("span", null, g(e.confirmBtnCfg.buttonName), 1)
|
|
204
215
|
]),
|
|
205
216
|
_: 1
|
|
206
|
-
}, 8, ["
|
|
217
|
+
}, 8, ["preIcon", "loading", "onClick"])) : me("", !0),
|
|
207
218
|
f(T, {
|
|
208
219
|
key: "back",
|
|
209
220
|
onClick: n[1] || (n[1] = () => {
|
|
210
221
|
e.handleCancel(), e.restTabIndex();
|
|
211
222
|
})
|
|
212
223
|
}, {
|
|
213
|
-
default:
|
|
214
|
-
|
|
215
|
-
]),
|
|
224
|
+
default: o(() => n[3] || (n[3] = [
|
|
225
|
+
I("关闭")
|
|
226
|
+
])),
|
|
216
227
|
_: 1
|
|
217
228
|
})
|
|
218
229
|
]),
|
|
@@ -222,15 +233,15 @@ function Te(e, n, i, c, d, h) {
|
|
|
222
233
|
_: 1
|
|
223
234
|
})
|
|
224
235
|
]),
|
|
225
|
-
comment:
|
|
226
|
-
f(
|
|
236
|
+
comment: o(() => [
|
|
237
|
+
f(_, {
|
|
227
238
|
ref: "commentPanelRef",
|
|
228
239
|
tableName: e.tableName,
|
|
229
240
|
dataId: e.formDataId
|
|
230
241
|
}, null, 8, ["tableName", "dataId"])
|
|
231
242
|
]),
|
|
232
|
-
default:
|
|
233
|
-
f(
|
|
243
|
+
default: o(() => [
|
|
244
|
+
f(M, {
|
|
234
245
|
ref: "onlineFormCompRef",
|
|
235
246
|
id: e.id,
|
|
236
247
|
disabled: e.disableSubmit,
|
|
@@ -239,31 +250,33 @@ function Te(e, n, i, c, d, h) {
|
|
|
239
250
|
pidField: e.pidFieldName,
|
|
240
251
|
themeTemplate: e.themeTemplate,
|
|
241
252
|
tabIndex: e.tabIndex,
|
|
253
|
+
cgBIBtnMap: e.cgBIBtnMap,
|
|
254
|
+
buttonSwitch: e.buttonSwitch,
|
|
242
255
|
onRendered: e.renderSuccess,
|
|
243
256
|
onSuccess: e.handleSuccess,
|
|
244
257
|
onToggleTab: e.handleToggleTab
|
|
245
|
-
}, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "onRendered", "onSuccess", "onToggleTab"])
|
|
258
|
+
}, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "cgBIBtnMap", "buttonSwitch", "onRendered", "onSuccess", "onToggleTab"])
|
|
246
259
|
]),
|
|
247
260
|
_: 2
|
|
248
261
|
}, [
|
|
249
262
|
e.themeTemplate === e.TAB ? {
|
|
250
263
|
name: "title",
|
|
251
|
-
fn:
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
e.showDropdownBtn ? (
|
|
264
|
+
fn: o(() => [
|
|
265
|
+
N("div", ge, [
|
|
266
|
+
N("div", Ce, g(e.title), 1),
|
|
267
|
+
N("div", he, [
|
|
268
|
+
e.showDropdownBtn ? (m(), u(a, {
|
|
256
269
|
key: 0,
|
|
257
270
|
trigger: "click"
|
|
258
271
|
}, {
|
|
259
|
-
overlay:
|
|
272
|
+
overlay: o(() => [
|
|
260
273
|
f(s, { onClick: e.handleMenuClick }, {
|
|
261
|
-
default:
|
|
262
|
-
(
|
|
274
|
+
default: o(() => [
|
|
275
|
+
(m(!0), A(V, null, j(e.tabNav, (t, b) => (m(), u(h, {
|
|
263
276
|
key: e.tabValue(b)
|
|
264
277
|
}, {
|
|
265
|
-
default:
|
|
266
|
-
g(
|
|
278
|
+
default: o(() => [
|
|
279
|
+
I(g(t.tableTxt), 1)
|
|
267
280
|
]),
|
|
268
281
|
_: 2
|
|
269
282
|
}, 1024))), 128))
|
|
@@ -271,22 +284,22 @@ function Te(e, n, i, c, d, h) {
|
|
|
271
284
|
_: 1
|
|
272
285
|
}, 8, ["onClick"])
|
|
273
286
|
]),
|
|
274
|
-
default:
|
|
275
|
-
g(
|
|
287
|
+
default: o(() => [
|
|
288
|
+
I(g(e.tabNav[+e.tabIndex + 1].tableTxt) + " ", 1)
|
|
276
289
|
]),
|
|
277
290
|
_: 1
|
|
278
|
-
})) : (
|
|
291
|
+
})) : (m(), u(S, {
|
|
279
292
|
key: 1,
|
|
280
293
|
value: e.tabIndex,
|
|
281
|
-
"onUpdate:value": n[0] || (n[0] = (
|
|
294
|
+
"onUpdate:value": n[0] || (n[0] = (t) => e.tabIndex = t)
|
|
282
295
|
}, {
|
|
283
|
-
default:
|
|
284
|
-
(
|
|
296
|
+
default: o(() => [
|
|
297
|
+
(m(!0), A(V, null, j(e.tabNav, (t, b) => (m(), u(p, {
|
|
285
298
|
value: e.tabValue(b),
|
|
286
|
-
key:
|
|
299
|
+
key: t.tableName
|
|
287
300
|
}, {
|
|
288
|
-
default:
|
|
289
|
-
g(
|
|
301
|
+
default: o(() => [
|
|
302
|
+
I(g(t.tableTxt), 1)
|
|
290
303
|
]),
|
|
291
304
|
_: 2
|
|
292
305
|
}, 1032, ["value"]))), 128))
|
|
@@ -300,7 +313,7 @@ function Te(e, n, i, c, d, h) {
|
|
|
300
313
|
} : void 0
|
|
301
314
|
]), 1040, ["title", "enableComment", "width", "onRegister", "onOk", "onCommentOpen"]);
|
|
302
315
|
}
|
|
303
|
-
const
|
|
316
|
+
const ut = /* @__PURE__ */ be(fe, [["render", Te], ["__scopeId", "data-v-e1588480"]]);
|
|
304
317
|
export {
|
|
305
|
-
|
|
318
|
+
ut as default
|
|
306
319
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var F = (e,
|
|
2
|
-
var u = (
|
|
1
|
+
var F = (e, t, a) => new Promise((s, i) => {
|
|
2
|
+
var u = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
n(a.next(
|
|
4
|
+
n(a.next(o));
|
|
5
5
|
} catch (r) {
|
|
6
6
|
i(r);
|
|
7
7
|
}
|
|
8
|
-
}, p = (
|
|
8
|
+
}, p = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
n(a.throw(
|
|
10
|
+
n(a.throw(o));
|
|
11
11
|
} catch (r) {
|
|
12
12
|
i(r);
|
|
13
13
|
}
|
|
14
|
-
}, n = (
|
|
15
|
-
n((a = a.apply(e,
|
|
14
|
+
}, n = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(u, p);
|
|
15
|
+
n((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
17
|
import { defineComponent as z, ref as C, 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
18
|
import { BasicModal as Y } from "/@/components/Modal";
|
|
19
|
-
import Z from "./OnlineTabFormDetail-
|
|
20
|
-
import { b as ee } from "./useExtendComponent-
|
|
19
|
+
import Z from "./OnlineTabFormDetail-72173ae4.mjs";
|
|
20
|
+
import { b as ee } from "./useExtendComponent-3f5734ca.mjs";
|
|
21
21
|
import te from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
22
|
import { T as oe } from "./constant-fa63bd66.mjs";
|
|
23
|
-
import { _ as ae } from "./index-
|
|
23
|
+
import { _ as ae } from "./index-f3683351.mjs";
|
|
24
24
|
import "/@/hooks/web/useMessage";
|
|
25
25
|
import "/@/components/Loading";
|
|
26
26
|
import "/@/utils/auth";
|
|
27
27
|
import "/@/utils";
|
|
28
28
|
import "@ant-design/icons-vue";
|
|
29
|
-
import "./DetailForm-
|
|
29
|
+
import "./DetailForm-c127c27f.mjs";
|
|
30
30
|
import "/@/utils/propTypes";
|
|
31
31
|
import "/@/utils/dict";
|
|
32
32
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -37,7 +37,7 @@ import "/@/components/Form/src/utils/Area";
|
|
|
37
37
|
import "/@/utils/common/compUtils";
|
|
38
38
|
import "/@/components/Preview/index";
|
|
39
39
|
import "/@/components/Markdown";
|
|
40
|
-
import "./OnlineSubFormDetail-
|
|
40
|
+
import "./OnlineSubFormDetail-be1ad3b9.mjs";
|
|
41
41
|
import "/@/components/Form/index";
|
|
42
42
|
import "/@/hooks/web/useAppInject";
|
|
43
43
|
import "/@/components/Form/src/componentMap";
|
|
@@ -51,10 +51,10 @@ import "/@/store/modules/permission";
|
|
|
51
51
|
import "/@/components/Table";
|
|
52
52
|
import "/@/hooks/system/useListPage";
|
|
53
53
|
import "vue-router";
|
|
54
|
-
import "./LinkTableListPiece-
|
|
54
|
+
import "./LinkTableListPiece-179035c7.mjs";
|
|
55
55
|
import "/@/assets/images/placeholderImage.png";
|
|
56
|
-
import "./OnlineSelectCascade-
|
|
57
|
-
import "./JModalTip-
|
|
56
|
+
import "./OnlineSelectCascade-a3e686b3.mjs";
|
|
57
|
+
import "./JModalTip-192fafa1.mjs";
|
|
58
58
|
import "ant-design-vue";
|
|
59
59
|
import "@vueuse/core";
|
|
60
60
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
@@ -73,7 +73,7 @@ const ne = z({
|
|
|
73
73
|
CommentPanel: te
|
|
74
74
|
},
|
|
75
75
|
emits: ["success", "register", "formConfig"],
|
|
76
|
-
setup(e, { emit:
|
|
76
|
+
setup(e, { emit: t }) {
|
|
77
77
|
const a = C(), s = C([]), i = C("-1");
|
|
78
78
|
function u() {
|
|
79
79
|
a.value && a.value.reload();
|
|
@@ -81,12 +81,12 @@ const ne = z({
|
|
|
81
81
|
const {
|
|
82
82
|
title: p,
|
|
83
83
|
modalWidth: n,
|
|
84
|
-
registerModal:
|
|
84
|
+
registerModal: o,
|
|
85
85
|
cgButtonList: r,
|
|
86
86
|
handleCgButtonClick: c,
|
|
87
87
|
disableSubmit: h,
|
|
88
88
|
handleSubmit: l,
|
|
89
|
-
submitLoading:
|
|
89
|
+
submitLoading: g,
|
|
90
90
|
handleCancel: k,
|
|
91
91
|
handleFormConfig: D,
|
|
92
92
|
onlineFormCompRef: y,
|
|
@@ -100,15 +100,15 @@ const ne = z({
|
|
|
100
100
|
formDataId: j,
|
|
101
101
|
enableComment: W,
|
|
102
102
|
themeTemplate: q
|
|
103
|
-
} = ee(!1, { emit:
|
|
103
|
+
} = ee(!1, { emit: t }, u);
|
|
104
104
|
G(() => e.id, H, { immediate: !0 });
|
|
105
105
|
function H() {
|
|
106
106
|
return F(this, null, function* () {
|
|
107
|
-
P.value = !1, e.id && (yield D(e.id, {}, (
|
|
108
|
-
const w = [],
|
|
107
|
+
P.value = !1, e.id && (yield D(e.id, {}, (T) => {
|
|
108
|
+
const w = [], _ = [], { head: B, schema: U } = T, { properties: x } = U;
|
|
109
109
|
w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(x).forEach(([v, b]) => {
|
|
110
|
-
b.view == "tab" &&
|
|
111
|
-
}),
|
|
110
|
+
b.view == "tab" && _.push({ tableName: v, tableTxt: b.describe });
|
|
111
|
+
}), _.sort((v, b) => v.order - b.order), s.value = [...w, ..._];
|
|
112
112
|
}));
|
|
113
113
|
});
|
|
114
114
|
}
|
|
@@ -116,7 +116,7 @@ const ne = z({
|
|
|
116
116
|
title: p,
|
|
117
117
|
onlineFormCompRef: y,
|
|
118
118
|
renderSuccess: E,
|
|
119
|
-
registerModal:
|
|
119
|
+
registerModal: o,
|
|
120
120
|
handleSubmit: l,
|
|
121
121
|
handleCancel: k,
|
|
122
122
|
modalWidth: n,
|
|
@@ -126,7 +126,7 @@ const ne = z({
|
|
|
126
126
|
handleCgButtonClick: c,
|
|
127
127
|
isTreeForm: O,
|
|
128
128
|
pidFieldName: $,
|
|
129
|
-
submitLoading:
|
|
129
|
+
submitLoading: g,
|
|
130
130
|
showSub: A,
|
|
131
131
|
tableName: L,
|
|
132
132
|
formDataId: j,
|
|
@@ -134,7 +134,7 @@ const ne = z({
|
|
|
134
134
|
commentPanelRef: a,
|
|
135
135
|
themeTemplate: q,
|
|
136
136
|
tabNav: s,
|
|
137
|
-
tabValue: (
|
|
137
|
+
tabValue: (T) => String(T - 1),
|
|
138
138
|
tabIndex: i,
|
|
139
139
|
TAB: oe,
|
|
140
140
|
restTabIndex: () => {
|
|
@@ -146,11 +146,11 @@ const ne = z({
|
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
148
|
const re = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
|
|
149
|
-
function le(e,
|
|
150
|
-
const p = d("a-radio-button"), n = d("a-radio-group"),
|
|
149
|
+
function le(e, t, a, s, i, u) {
|
|
150
|
+
const p = d("a-radio-button"), n = d("a-radio-group"), o = d("a-button"), r = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
|
|
151
151
|
return I(), M(h, J({
|
|
152
152
|
title: e.title,
|
|
153
|
-
onCancel:
|
|
153
|
+
onCancel: t[2] || (t[2] = () => {
|
|
154
154
|
e.restTabIndex();
|
|
155
155
|
}),
|
|
156
156
|
width: e.modalWidth,
|
|
@@ -167,11 +167,11 @@ function le(e, o, a, s, i, u) {
|
|
|
167
167
|
N("div", ie, [
|
|
168
168
|
f(n, {
|
|
169
169
|
value: e.tabIndex,
|
|
170
|
-
"onUpdate:value":
|
|
170
|
+
"onUpdate:value": t[0] || (t[0] = (l) => e.tabIndex = l)
|
|
171
171
|
}, {
|
|
172
172
|
default: m(() => [
|
|
173
|
-
(I(!0), K(Q, null, X(e.tabNav, (l,
|
|
174
|
-
value: e.tabValue(
|
|
173
|
+
(I(!0), K(Q, null, X(e.tabNav, (l, g) => (I(), M(p, {
|
|
174
|
+
value: e.tabValue(g),
|
|
175
175
|
key: l.tableName
|
|
176
176
|
}, {
|
|
177
177
|
default: m(() => [
|
|
@@ -186,15 +186,15 @@ function le(e, o, a, s, i, u) {
|
|
|
186
186
|
])
|
|
187
187
|
]),
|
|
188
188
|
footer: m(() => [
|
|
189
|
-
f(
|
|
189
|
+
f(o, {
|
|
190
190
|
key: "back",
|
|
191
|
-
onClick:
|
|
191
|
+
onClick: t[1] || (t[1] = () => {
|
|
192
192
|
e.handleCancel(), e.restTabIndex();
|
|
193
193
|
})
|
|
194
194
|
}, {
|
|
195
|
-
default: m(() => [
|
|
195
|
+
default: m(() => t[3] || (t[3] = [
|
|
196
196
|
S("关闭")
|
|
197
|
-
]),
|
|
197
|
+
])),
|
|
198
198
|
_: 1
|
|
199
199
|
})
|
|
200
200
|
]),
|