@jeecg/online 3.6.2-GA → 3.7.0-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/AiModal-fe3988fb.mjs +84 -0
- package/AuthButtonConfig-d50a0a65.mjs +134 -0
- package/{AuthButtonTree-c2602a7c.mjs → AuthButtonTree-589395ed.mjs} +2 -2
- package/AuthDataConfig-7bb0cd85.mjs +237 -0
- package/{AuthDataTree-9dc58b20.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
- package/AuthFieldConfig-490fc0ab.mjs +139 -0
- package/{AuthFieldTree-d836be59.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
- package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
- package/AuthSetterModal-6f74449c.mjs +273 -0
- package/{CgformCopyList-86157923.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
- package/{CgformModal-5cf02d51.mjs → CgformModal-36faf29a.mjs} +256 -246
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal-5a23d089.mjs} +140 -117
- package/CheckDictTable-b5cb0e2b.mjs +226 -0
- package/{CodeFileListModal-f747daae.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
- package/{CodeFileViewModal-a9fb2900.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
- package/CodeGeneratorModal-b722d976.mjs +238 -0
- package/{CustomButtonList-b9b27a93.mjs → CustomButtonList-37639061.mjs} +118 -100
- package/{DBAttributeTable-6bdcb1e8.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
- package/{DbToOnlineModal-3705e91a.mjs → DbToOnlineModal-f49b9530.mjs} +56 -50
- package/DetailForm-4aa2570b.mjs +485 -0
- package/{EnhanceJavaModal-c13de6e0.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
- package/{EnhanceJsHistory-154101f0.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
- package/EnhanceJsModal-247f640d.mjs +532 -0
- package/{EnhanceSqlModal-221c22dc.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
- package/ExtendConfigModal-00f2fb55.mjs +117 -0
- package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
- package/{FileSelectModal-de40a706.mjs → FileSelectModal-38660e3c.mjs} +1 -1
- package/{ForeignKeyTable-22989042.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
- package/{IndexTable-833d34ff.mjs → IndexTable-1b496559.mjs} +10 -10
- package/{JModalTip-0413ad6a.mjs → JModalTip-4a83aaed.mjs} +1 -1
- package/{JOnlineSearchSelect-9ea89e13.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
- package/{LeftDepart-b0a535c0.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
- package/{LeftRole-22c90d6b.mjs → LeftRole-7d8c5acc.mjs} +1 -1
- package/{LeftUser-a44d63dd.mjs → LeftUser-b4d1372a.mjs} +3 -3
- package/LinkTableConfigModal-a138c85e.mjs +240 -0
- package/{LinkTableFieldConfigModal-06693eaa.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
- package/{LinkTableListPiece-46e8af51.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
- package/{ModalFormDemo-d107fa87.mjs → ModalFormDemo-0544737d.mjs} +1 -1
- package/OnlCgformErpList-30e416c8.mjs +470 -0
- package/OnlCgformErpSubTable-9a876058.mjs +427 -0
- package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
- package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
- package/OnlCgformTabList-7a2f2c03.mjs +408 -0
- package/OnlineAutoList-46c6c8b9.mjs +493 -0
- package/OnlineAutoModal-971bef13.mjs +236 -0
- package/{OnlineAutoTreeList-ec27d271.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
- package/{OnlineCustomModal-3e6792d3.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
- package/{OnlineDetailModal-f40e37e1.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
- package/OnlineForm-018981b2.mjs +924 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-e036cd11.mjs +342 -0
- package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
- package/OnlineFormUrlDetail-b2292137.mjs +119 -0
- package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
- package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
- package/OnlineQueryForm-998c12a4.mjs +444 -0
- package/{OnlineSearchFormItem-fe308194.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
- package/{OnlineSelectCascade-abc345f9.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
- package/{OnlineSubFormDetail-02326a8c.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
- package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
- package/{OnlineTabDetailModal-d23bd4c9.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
- package/OnlineTabForm-9ad7d29a.mjs +805 -0
- package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
- package/PageAttributeTable-6c23547b.mjs +446 -0
- package/{ProcessOnlineForm-84f4d02d.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
- package/QueryTable-96b3dbd0.mjs +144 -0
- package/SetSwitchOptions-a452fa0f.mjs +62 -0
- package/SuperQuery-cbfba908.mjs +975 -0
- package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
- package/index-173949bb.mjs +57 -0
- package/{index-0a93652b.mjs → index-581bef24.mjs} +29 -27
- package/{index-e1bda35b.mjs → index-d2abb8a0.mjs} +394 -361
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-8755a94e.mjs +426 -0
- package/useExtendComponent-bb7cca20.mjs +4295 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-7ddb9a46.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
- package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
- package/AuthButtonConfig-f142147a.mjs +0 -125
- package/AuthDataConfig-8e5c7b0c.mjs +0 -212
- package/AuthFieldConfig-e9a45f94.mjs +0 -139
- package/AuthManagerDrawer-5b558c23.mjs +0 -114
- package/AuthSetterModal-0cc557cf.mjs +0 -267
- package/CgreportModal-2eb9c9e1.mjs +0 -13
- package/CheckDictTable-27102064.mjs +0 -211
- package/CodeGeneratorModal-3a0e9f0e.mjs +0 -233
- package/DetailForm-cdeb54e3.mjs +0 -462
- package/EnhanceJsModal-6158804c.mjs +0 -311
- package/ExtendConfigModal-0564ef83.mjs +0 -111
- package/FieldExtendJsonModal-40d961c1.mjs +0 -219
- package/LinkTableConfigModal-5edaa08d.mjs +0 -230
- package/OnlCgformErpList-4c51cdb3.mjs +0 -454
- package/OnlCgformErpSubTable-d7081b9f.mjs +0 -403
- package/OnlCgformInnerSubTable-4c3925bb.mjs +0 -253
- package/OnlCgformInnerTableList-1e5014fa.mjs +0 -444
- package/OnlCgformTabList-c59c7cc7.mjs +0 -395
- package/OnlineAutoList-a7a9de5d.mjs +0 -479
- package/OnlineAutoModal-a33f1a63.mjs +0 -207
- package/OnlineForm-fb3a2379.mjs +0 -750
- package/OnlineFormDetail-52b1c303.mjs +0 -297
- package/OnlineQueryForm-7c70734e.mjs +0 -386
- package/OnlineTabAutoModal-6d9da8b0.mjs +0 -254
- package/OnlineTabForm-29ca07f7.mjs +0 -766
- package/OnlineTabFormDetail-aa7e1144.mjs +0 -324
- package/PageAttributeTable-d82946c5.mjs +0 -404
- package/QueryTable-d4599fca.mjs +0 -115
- package/SuperQuery-07162778.mjs +0 -843
- package/constant-754f1a9d.mjs +0 -9
- package/index-73993b18.mjs +0 -56
- package/useCgformList-b135794d.mjs +0 -400
- package/useExtendComponent-f4e29152.mjs +0 -3926
- package/useListButton-4dd33e7a.mjs +0 -676
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
var Y = Object.defineProperty;
|
|
2
|
+
var K = Object.getOwnPropertySymbols;
|
|
3
|
+
var Z = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var N = (i, r, n) => r in i ? Y(i, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[r] = n, V = (i, r) => {
|
|
5
|
+
for (var n in r || (r = {}))
|
|
6
|
+
Z.call(r, n) && N(i, n, r[n]);
|
|
7
|
+
if (K)
|
|
8
|
+
for (var n of K(r))
|
|
9
|
+
$.call(r, n) && N(i, n, r[n]);
|
|
10
|
+
return i;
|
|
11
|
+
};
|
|
12
|
+
var v = (i, r, n) => new Promise((o, b) => {
|
|
13
|
+
var S = (l) => {
|
|
14
|
+
try {
|
|
15
|
+
c(n.next(l));
|
|
16
|
+
} catch (f) {
|
|
17
|
+
b(f);
|
|
18
|
+
}
|
|
19
|
+
}, h = (l) => {
|
|
20
|
+
try {
|
|
21
|
+
c(n.throw(l));
|
|
22
|
+
} catch (f) {
|
|
23
|
+
b(f);
|
|
24
|
+
}
|
|
25
|
+
}, c = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(S, h);
|
|
26
|
+
c((n = n.apply(i, r)).next());
|
|
27
|
+
});
|
|
28
|
+
import { useMessage as ee } from "/@/hooks/web/useMessage";
|
|
29
|
+
import { ref as s, watch as te, reactive as oe, resolveComponent as u, openBlock as p, createElementBlock as _, createVNode as y, createCommentVNode as I, withCtx as B, createBlock as k, Fragment as ne, renderList as re, normalizeStyle as ae, renderSlot as ie } from "vue";
|
|
30
|
+
import { Loading as le } from "/@/components/Loading";
|
|
31
|
+
import { getToken as me } from "/@/utils/auth";
|
|
32
|
+
import { goJmReportViewPage as se } from "/@/utils";
|
|
33
|
+
import { PrinterOutlined as pe } from "@ant-design/icons-vue";
|
|
34
|
+
import ue from "./DetailForm-4aa2570b.mjs";
|
|
35
|
+
import ce from "./OnlineSubFormDetail-03f8ee5c.mjs";
|
|
36
|
+
import { k as fe } from "./useExtendComponent-bb7cca20.mjs";
|
|
37
|
+
import { defHttp as de } from "/@/utils/http/axios";
|
|
38
|
+
import { E as be, T as ge } from "./constant-fa63bd66.mjs";
|
|
39
|
+
import { useAppInject as he } from "/@/hooks/web/useAppInject";
|
|
40
|
+
import { _ as _e } from "./index-173949bb.mjs";
|
|
41
|
+
import "/@/utils/propTypes";
|
|
42
|
+
import "/@/utils/dict";
|
|
43
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
44
|
+
import "/@/utils/dict/index";
|
|
45
|
+
import "/@/api/common/api";
|
|
46
|
+
import "/@/components/Form/src/utils/Area";
|
|
47
|
+
import "/@/utils/common/compUtils";
|
|
48
|
+
import "/@/components/Preview/index";
|
|
49
|
+
import "/@/components/Markdown";
|
|
50
|
+
import "/@/components/Form/src/componentMap";
|
|
51
|
+
import "/@/components/Modal";
|
|
52
|
+
import "/@/components/Form/index";
|
|
53
|
+
import "lodash-es";
|
|
54
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
55
|
+
import "/@/utils/is";
|
|
56
|
+
import "/@/views/system/user/user.api";
|
|
57
|
+
import "/@/store/modules/user";
|
|
58
|
+
import "/@/utils/desform/customExpression";
|
|
59
|
+
import "/@/store/modules/permission";
|
|
60
|
+
import "/@/components/Table";
|
|
61
|
+
import "/@/hooks/system/useListPage";
|
|
62
|
+
import "vue-router";
|
|
63
|
+
import "./LinkTableListPiece-2660d709.mjs";
|
|
64
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
65
|
+
import "/@/assets/images/placeholderImage.png";
|
|
66
|
+
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
67
|
+
import "./JModalTip-4a83aaed.mjs";
|
|
68
|
+
import "ant-design-vue";
|
|
69
|
+
import "@vueuse/core";
|
|
70
|
+
const ye = {
|
|
71
|
+
name: "OnlineTabFormDetail",
|
|
72
|
+
components: {
|
|
73
|
+
DetailForm: ue,
|
|
74
|
+
Loading: le,
|
|
75
|
+
PrinterOutlined: pe,
|
|
76
|
+
OnlineSubFormDetail: ce
|
|
77
|
+
},
|
|
78
|
+
props: {
|
|
79
|
+
id: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: ""
|
|
82
|
+
},
|
|
83
|
+
formTemplate: {
|
|
84
|
+
type: Number,
|
|
85
|
+
default: 1
|
|
86
|
+
},
|
|
87
|
+
disabled: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
default: !1
|
|
90
|
+
},
|
|
91
|
+
isTree: {
|
|
92
|
+
type: Boolean,
|
|
93
|
+
default: !1
|
|
94
|
+
},
|
|
95
|
+
pidField: {
|
|
96
|
+
type: String,
|
|
97
|
+
default: ""
|
|
98
|
+
},
|
|
99
|
+
submitTip: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: !0
|
|
102
|
+
},
|
|
103
|
+
showSub: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: !0
|
|
106
|
+
},
|
|
107
|
+
themeTemplate: {
|
|
108
|
+
type: String,
|
|
109
|
+
default: ""
|
|
110
|
+
},
|
|
111
|
+
tabIndex: {
|
|
112
|
+
type: String,
|
|
113
|
+
default: ""
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
emits: ["success", "rendered"],
|
|
117
|
+
setup(i, { emit: r }) {
|
|
118
|
+
const { createMessage: n } = ee(), { getIsMobile: o } = he(), b = s(""), S = s(!0), h = s(!1), c = s(1), l = s({}), f = s("auto"), w = s(340), T = s("0"), x = s(!o.value);
|
|
119
|
+
te(
|
|
120
|
+
() => i.tabIndex,
|
|
121
|
+
(e, t) => {
|
|
122
|
+
T.value = e, t && J();
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
immediate: !0
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
const g = oe({
|
|
129
|
+
reportPrintShow: 0,
|
|
130
|
+
reportPrintUrl: "",
|
|
131
|
+
joinQuery: 0,
|
|
132
|
+
modelFullscreen: 0,
|
|
133
|
+
modalMinWidth: ""
|
|
134
|
+
}), { detailFormSchemas: m, hasSubTable: P, subTabInfo: A, refMap: E, showStatus: F, subDataSource: C, createFormSchemas: M, formSpan: R } = fe(i);
|
|
135
|
+
function j(e) {
|
|
136
|
+
let t = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 1, modalMinWidth: "" };
|
|
137
|
+
e && (t = JSON.parse(e)), Object.keys(t).map((a) => {
|
|
138
|
+
g[a] = t[a];
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
function H(e) {
|
|
142
|
+
return v(this, null, function* () {
|
|
143
|
+
c.value = e.head.tableType, b.value = e.head.tableName, S.value = e.head.tableType == 1, j(e.head.extConfigJson), M(e.schema.properties), r("rendered", g);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
function L(e, t) {
|
|
147
|
+
return v(this, null, function* () {
|
|
148
|
+
yield z(t), D(!0);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
function U(e) {
|
|
152
|
+
let t = `/online/cgform/api/detail/${i.id}/${e}`;
|
|
153
|
+
return new Promise((a, d) => {
|
|
154
|
+
de.get({ url: t }, { isTransformResponse: !1 }).then((O) => {
|
|
155
|
+
O.success ? a(O.result) : (d(), n.warning(O.message));
|
|
156
|
+
}).catch(() => {
|
|
157
|
+
d();
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
function D(e) {
|
|
162
|
+
Object.keys(F).map((t) => {
|
|
163
|
+
F[t] = e;
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function J() {
|
|
167
|
+
D(!1), setTimeout(() => {
|
|
168
|
+
D(!0);
|
|
169
|
+
}, 300);
|
|
170
|
+
}
|
|
171
|
+
function z(e) {
|
|
172
|
+
return v(this, null, function* () {
|
|
173
|
+
let t = yield U(e.id);
|
|
174
|
+
l.value = V({}, t), Q(t);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function Q(e) {
|
|
178
|
+
e || (e = {});
|
|
179
|
+
let t = Object.keys(C.value);
|
|
180
|
+
if (t && t.length > 0) {
|
|
181
|
+
let a = {};
|
|
182
|
+
for (let d of t)
|
|
183
|
+
a[d] = e[d] || [];
|
|
184
|
+
C.value = a;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
function W(e) {
|
|
188
|
+
return "online_" + e + ":";
|
|
189
|
+
}
|
|
190
|
+
function q() {
|
|
191
|
+
let e = g.reportPrintUrl, t = l.value;
|
|
192
|
+
if (t) {
|
|
193
|
+
let a = t.id, d = me();
|
|
194
|
+
se(e, a, d);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
function G(e) {
|
|
198
|
+
let t = l.value;
|
|
199
|
+
return X(t, e);
|
|
200
|
+
}
|
|
201
|
+
function X(e, t) {
|
|
202
|
+
if (e) {
|
|
203
|
+
let a = e[t];
|
|
204
|
+
return !a && a !== 0 && (a = e[t.toLowerCase()], !a && a !== 0 && (a = e[t.toUpperCase()])), a;
|
|
205
|
+
}
|
|
206
|
+
return "";
|
|
207
|
+
}
|
|
208
|
+
return {
|
|
209
|
+
detailFormSchemas: m,
|
|
210
|
+
formData: l,
|
|
211
|
+
formSpan: R,
|
|
212
|
+
//主表
|
|
213
|
+
tableName: b,
|
|
214
|
+
loading: h,
|
|
215
|
+
//子表
|
|
216
|
+
hasSubTable: P,
|
|
217
|
+
subTabInfo: A,
|
|
218
|
+
subFormHeight: f,
|
|
219
|
+
subTableHeight: w,
|
|
220
|
+
refMap: E,
|
|
221
|
+
onTabChange: J,
|
|
222
|
+
//一对多子表
|
|
223
|
+
subDataSource: C,
|
|
224
|
+
getSubTableAuthPre: W,
|
|
225
|
+
//父组件调用
|
|
226
|
+
show: L,
|
|
227
|
+
createRootProperties: H,
|
|
228
|
+
// 扩展配置
|
|
229
|
+
onOpenReportPrint: q,
|
|
230
|
+
onlineExtConfigJson: g,
|
|
231
|
+
getSubTableForeignKeyValue: G,
|
|
232
|
+
showStatus: F,
|
|
233
|
+
ERP: be,
|
|
234
|
+
TAB: ge,
|
|
235
|
+
subActiveKey: T,
|
|
236
|
+
rowNumber: x
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
const Se = ["id"], Te = {
|
|
241
|
+
key: 0,
|
|
242
|
+
style: { "text-align": "right", position: "absolute", top: "15px", right: "20px", "z-index": "999" }
|
|
243
|
+
}, ve = { key: 1 };
|
|
244
|
+
function ke(i, r, n, o, b, S) {
|
|
245
|
+
const h = u("PrinterOutlined"), c = u("detail-form"), l = u("a-tab-pane"), f = u("online-sub-form-detail"), w = u("JVxeTable"), T = u("a-spin"), x = u("a-tabs"), g = u("Loading");
|
|
246
|
+
return p(), _("div", {
|
|
247
|
+
id: o.tableName + "_form"
|
|
248
|
+
}, [
|
|
249
|
+
o.formData.id && o.onlineExtConfigJson.reportPrintShow ? (p(), _("div", Te, [
|
|
250
|
+
y(h, {
|
|
251
|
+
title: "打印",
|
|
252
|
+
onClick: o.onOpenReportPrint,
|
|
253
|
+
style: { "font-size": "16px" }
|
|
254
|
+
}, null, 8, ["onClick"])
|
|
255
|
+
])) : I("", !0),
|
|
256
|
+
y(x, {
|
|
257
|
+
class: "tabTheme",
|
|
258
|
+
onChange: o.onTabChange,
|
|
259
|
+
activeKey: o.subActiveKey,
|
|
260
|
+
"onUpdate:activeKey": r[0] || (r[0] = (m) => o.subActiveKey = m)
|
|
261
|
+
}, {
|
|
262
|
+
default: B(() => [
|
|
263
|
+
(p(), k(l, {
|
|
264
|
+
tab: "主表",
|
|
265
|
+
key: "-1"
|
|
266
|
+
}, {
|
|
267
|
+
default: B(() => [
|
|
268
|
+
y(c, {
|
|
269
|
+
schemas: o.detailFormSchemas,
|
|
270
|
+
data: o.formData,
|
|
271
|
+
span: o.formSpan
|
|
272
|
+
}, null, 8, ["schemas", "data", "span"])
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
})),
|
|
276
|
+
o.hasSubTable && n.showSub ? (p(!0), _(ne, { key: 0 }, re(o.subTabInfo, (m, P) => (p(), k(l, {
|
|
277
|
+
tab: m.describe,
|
|
278
|
+
key: P + "",
|
|
279
|
+
forceRender: !0
|
|
280
|
+
}, {
|
|
281
|
+
default: B(() => [
|
|
282
|
+
m.relationType == 1 ? (p(), _("div", {
|
|
283
|
+
key: 0,
|
|
284
|
+
style: ae({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": o.subFormHeight + "px" })
|
|
285
|
+
}, [
|
|
286
|
+
y(f, {
|
|
287
|
+
table: m.key,
|
|
288
|
+
"form-template": n.formTemplate,
|
|
289
|
+
"main-id": o.getSubTableForeignKeyValue(m.foreignKey),
|
|
290
|
+
properties: m.properties
|
|
291
|
+
}, null, 8, ["table", "form-template", "main-id", "properties"])
|
|
292
|
+
], 4)) : (p(), _("div", ve, [
|
|
293
|
+
o.showStatus[m.key] ? (p(), k(w, {
|
|
294
|
+
key: 0,
|
|
295
|
+
ref_for: !0,
|
|
296
|
+
ref: o.refMap[m.key],
|
|
297
|
+
toolbar: "",
|
|
298
|
+
"keep-source": "",
|
|
299
|
+
"row-number": o.rowNumber,
|
|
300
|
+
"row-selection": "",
|
|
301
|
+
height: o.subTableHeight,
|
|
302
|
+
disabled: !0,
|
|
303
|
+
columns: m.columns,
|
|
304
|
+
dataSource: o.subDataSource[m.key],
|
|
305
|
+
authPre: o.getSubTableAuthPre(m.key)
|
|
306
|
+
}, null, 8, ["row-number", "height", "columns", "dataSource", "authPre"])) : (p(), k(T, {
|
|
307
|
+
key: 1,
|
|
308
|
+
spinning: !0
|
|
309
|
+
}))
|
|
310
|
+
]))
|
|
311
|
+
]),
|
|
312
|
+
_: 2
|
|
313
|
+
}, 1032, ["tab"]))), 128)) : I("", !0)
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
}, 8, ["onChange", "activeKey"]),
|
|
317
|
+
y(g, {
|
|
318
|
+
loading: o.loading,
|
|
319
|
+
absolute: !1
|
|
320
|
+
}, null, 8, ["loading"]),
|
|
321
|
+
ie(i.$slots, "bottom", {}, void 0, !0)
|
|
322
|
+
], 8, Se);
|
|
323
|
+
}
|
|
324
|
+
const ft = /* @__PURE__ */ _e(ye, [["render", ke], ["__scopeId", "data-v-60a1e2da"]]);
|
|
325
|
+
export {
|
|
326
|
+
ft as default
|
|
327
|
+
};
|