@jeecg/online 3.6.2-beta → 3.7.1-RC
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-6de335e3.mjs +84 -0
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/AuthDataConfig-5c3a8e6b.mjs +238 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/AuthManagerDrawer-76f15e8d.mjs +119 -0
- package/AuthSetterModal-f5d2e87f.mjs +274 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
- package/CheckDictTable-1bc8322d.mjs +229 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/CodeFileViewModal-2fe911f4.mjs +253 -0
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/CustomButtonList-f07bc695.mjs +397 -0
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/DetailForm-deecbf3d.mjs +486 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
- package/EnhanceJsModal-175357a1.mjs +548 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
- package/ExtendConfigModal-a89ae052.mjs +117 -0
- package/FieldExtendJsonModal-32135634.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
- package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
- package/LinkTableConfigModal-9242d750.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/OnlCgformErpList-58acdfa0.mjs +470 -0
- package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
- package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
- package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
- package/OnlCgformTabList-019ad753.mjs +408 -0
- package/OnlineAutoList-48589d09.mjs +493 -0
- package/OnlineAutoModal-c2928847.mjs +239 -0
- package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
- package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-022ca117.mjs +342 -0
- package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
- package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
- package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
- package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
- package/OnlineTabForm-27655c83.mjs +817 -0
- package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
- package/PageAttributeTable-25e3b7da.mjs +466 -0
- package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
- package/QueryTable-f7bfca7f.mjs +147 -0
- package/SetSwitchOptions-b2af757f.mjs +62 -0
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/auth.data-511e5197.mjs +217 -0
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
- package/index-1d1a6e56.mjs +57 -0
- package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
- package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-f41d4dc1.mjs +426 -0
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-bfac4ecf.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-244ec09f.mjs +0 -125
- package/AuthDataConfig-83891eea.mjs +0 -212
- package/AuthFieldConfig-6b21915c.mjs +0 -139
- package/AuthManagerDrawer-300dd4e4.mjs +0 -114
- package/AuthSetterModal-a414fb35.mjs +0 -267
- package/CgformModal-eccfc38e.mjs +0 -611
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeFileViewModal-373e8058.mjs +0 -244
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/CustomButtonList-02e3d897.mjs +0 -363
- package/DbToOnlineModal-9f13956f.mjs +0 -160
- package/DetailForm-424638eb.mjs +0 -462
- package/EnhanceJsModal-05c73a59.mjs +0 -311
- package/ExtendConfigModal-1dde390a.mjs +0 -111
- package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
- package/JOnlineSearchSelect-c287af12.mjs +0 -95
- package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
- package/OnlCgformErpList-db45e22b.mjs +0 -454
- package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
- package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
- package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
- package/OnlCgformTabList-a9e1e36a.mjs +0 -395
- package/OnlineAutoList-0583a910.mjs +0 -479
- package/OnlineAutoModal-510991eb.mjs +0 -207
- package/OnlineForm-1fa2d893.mjs +0 -750
- package/OnlineFormDetail-0e7294ca.mjs +0 -297
- package/OnlineQueryForm-1bfc8320.mjs +0 -386
- package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
- package/OnlineTabForm-512d3951.mjs +0 -766
- package/OnlineTabFormDetail-5a70219d.mjs +0 -324
- package/PageAttributeTable-965dc58e.mjs +0 -404
- package/QueryTable-eb9a5b21.mjs +0 -115
- package/SuperQuery-5d1ca957.mjs +0 -843
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/auth.data-8be5c9e3.mjs +0 -141
- package/constant-754f1a9d.mjs +0 -9
- package/index-0e3ab3af.mjs +0 -56
- package/useCgformList-423282b7.mjs +0 -400
- package/useExtendComponent-325fe3f1.mjs +0 -3926
- package/useListButton-cdbab702.mjs +0 -676
- package/useTableSync-774c3774.mjs +0 -87
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
var G = Object.defineProperty;
|
|
2
|
-
var K = Object.getOwnPropertySymbols;
|
|
3
|
-
var X = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var V = (a, r, n) => r in a ? G(a, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[r] = n, E = (a, r) => {
|
|
5
|
-
for (var n in r || (r = {}))
|
|
6
|
-
X.call(r, n) && V(a, n, r[n]);
|
|
7
|
-
if (K)
|
|
8
|
-
for (var n of K(r))
|
|
9
|
-
Y.call(r, n) && V(a, n, r[n]);
|
|
10
|
-
return a;
|
|
11
|
-
};
|
|
12
|
-
var v = (a, r, n) => new Promise((o, g) => {
|
|
13
|
-
var S = (m) => {
|
|
14
|
-
try {
|
|
15
|
-
s(n.next(m));
|
|
16
|
-
} catch (f) {
|
|
17
|
-
g(f);
|
|
18
|
-
}
|
|
19
|
-
}, h = (m) => {
|
|
20
|
-
try {
|
|
21
|
-
s(n.throw(m));
|
|
22
|
-
} catch (f) {
|
|
23
|
-
g(f);
|
|
24
|
-
}
|
|
25
|
-
}, s = (m) => m.done ? o(m.value) : Promise.resolve(m.value).then(S, h);
|
|
26
|
-
s((n = n.apply(a, r)).next());
|
|
27
|
-
});
|
|
28
|
-
import { useMessage as Z } from "/@/hooks/web/useMessage";
|
|
29
|
-
import { ref as u, watch as $, reactive as ee, resolveComponent as c, openBlock as p, createElementBlock as _, createVNode as y, createCommentVNode as N, withCtx as B, createBlock as k, Fragment as te, renderList as oe, normalizeStyle as ne, renderSlot as re } from "vue";
|
|
30
|
-
import { Loading as ie } from "/@/components/Loading";
|
|
31
|
-
import { getToken as ae } from "/@/utils/auth";
|
|
32
|
-
import { goJmReportViewPage as le } from "/@/utils";
|
|
33
|
-
import { PrinterOutlined as me } from "@ant-design/icons-vue";
|
|
34
|
-
import se from "./DetailForm-424638eb.mjs";
|
|
35
|
-
import pe from "./OnlineSubFormDetail-f0d2c016.mjs";
|
|
36
|
-
import { i as ue } from "./useExtendComponent-325fe3f1.mjs";
|
|
37
|
-
import { defHttp as ce } from "/@/utils/http/axios";
|
|
38
|
-
import { E as fe, T as de } from "./constant-754f1a9d.mjs";
|
|
39
|
-
import { _ as be } from "./index-0e3ab3af.mjs";
|
|
40
|
-
import "/@/utils/propTypes";
|
|
41
|
-
import "/@/utils/dict";
|
|
42
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
43
|
-
import "/@/utils/dict/index";
|
|
44
|
-
import "/@/api/common/api";
|
|
45
|
-
import "/@/components/Form/src/utils/Area";
|
|
46
|
-
import "/@/utils/common/compUtils";
|
|
47
|
-
import "/@/components/Preview/index";
|
|
48
|
-
import "/@/components/Markdown";
|
|
49
|
-
import "/@/components/Form/index";
|
|
50
|
-
import "/@/components/Form/src/componentMap";
|
|
51
|
-
import "/@/components/Modal";
|
|
52
|
-
import "lodash-es";
|
|
53
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
54
|
-
import "/@/views/system/user/user.api";
|
|
55
|
-
import "/@/store/modules/user";
|
|
56
|
-
import "/@/utils/desform/customExpression";
|
|
57
|
-
import "/@/store/modules/permission";
|
|
58
|
-
import "/@/components/Table";
|
|
59
|
-
import "/@/hooks/system/useListPage";
|
|
60
|
-
import "vue-router";
|
|
61
|
-
import "./LinkTableListPiece-8499a318.mjs";
|
|
62
|
-
import "./OnlineSelectCascade-4265c95d.mjs";
|
|
63
|
-
import "./JModalTip-33c7dc44.mjs";
|
|
64
|
-
import "/@/hooks/web/useAppInject";
|
|
65
|
-
import "ant-design-vue";
|
|
66
|
-
import "@vueuse/core";
|
|
67
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
68
|
-
const ge = {
|
|
69
|
-
name: "OnlineTabFormDetail",
|
|
70
|
-
components: {
|
|
71
|
-
DetailForm: se,
|
|
72
|
-
Loading: ie,
|
|
73
|
-
PrinterOutlined: me,
|
|
74
|
-
OnlineSubFormDetail: pe
|
|
75
|
-
},
|
|
76
|
-
props: {
|
|
77
|
-
id: {
|
|
78
|
-
type: String,
|
|
79
|
-
default: ""
|
|
80
|
-
},
|
|
81
|
-
formTemplate: {
|
|
82
|
-
type: Number,
|
|
83
|
-
default: 1
|
|
84
|
-
},
|
|
85
|
-
disabled: {
|
|
86
|
-
type: Boolean,
|
|
87
|
-
default: !1
|
|
88
|
-
},
|
|
89
|
-
isTree: {
|
|
90
|
-
type: Boolean,
|
|
91
|
-
default: !1
|
|
92
|
-
},
|
|
93
|
-
pidField: {
|
|
94
|
-
type: String,
|
|
95
|
-
default: ""
|
|
96
|
-
},
|
|
97
|
-
submitTip: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
default: !0
|
|
100
|
-
},
|
|
101
|
-
showSub: {
|
|
102
|
-
type: Boolean,
|
|
103
|
-
default: !0
|
|
104
|
-
},
|
|
105
|
-
themeTemplate: {
|
|
106
|
-
type: String,
|
|
107
|
-
default: ""
|
|
108
|
-
},
|
|
109
|
-
tabIndex: {
|
|
110
|
-
type: String,
|
|
111
|
-
default: ""
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
emits: ["success", "rendered"],
|
|
115
|
-
setup(a, { emit: r }) {
|
|
116
|
-
const { createMessage: n } = Z(), o = u(""), g = u(!0), S = u(!1), h = u(1), s = u({}), m = u(300), f = u(340), T = u("0");
|
|
117
|
-
$(
|
|
118
|
-
() => a.tabIndex,
|
|
119
|
-
(e, t) => {
|
|
120
|
-
T.value = e, t && J();
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
immediate: !0
|
|
124
|
-
}
|
|
125
|
-
);
|
|
126
|
-
const b = ee({
|
|
127
|
-
reportPrintShow: 0,
|
|
128
|
-
reportPrintUrl: "",
|
|
129
|
-
joinQuery: 0,
|
|
130
|
-
modelFullscreen: 0,
|
|
131
|
-
modalMinWidth: ""
|
|
132
|
-
}), { detailFormSchemas: x, hasSubTable: w, subTabInfo: l, refMap: P, showStatus: F, subDataSource: C, createFormSchemas: R, formSpan: A } = ue(a);
|
|
133
|
-
function I(e) {
|
|
134
|
-
let t = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 1, modalMinWidth: "" };
|
|
135
|
-
e && (t = JSON.parse(e)), Object.keys(t).map((i) => {
|
|
136
|
-
b[i] = t[i];
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function M(e) {
|
|
140
|
-
return v(this, null, function* () {
|
|
141
|
-
h.value = e.head.tableType, o.value = e.head.tableName, g.value = e.head.tableType == 1, I(e.head.extConfigJson), R(e.schema.properties), r("rendered", b);
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
function H(e, t) {
|
|
145
|
-
return v(this, null, function* () {
|
|
146
|
-
yield U(t), D(!0);
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
function L(e) {
|
|
150
|
-
let t = `/online/cgform/api/detail/${a.id}/${e}`;
|
|
151
|
-
return new Promise((i, d) => {
|
|
152
|
-
ce.get({ url: t }, { isTransformResponse: !1 }).then((O) => {
|
|
153
|
-
O.success ? i(O.result) : (d(), n.warning(O.message));
|
|
154
|
-
}).catch(() => {
|
|
155
|
-
d();
|
|
156
|
-
});
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
function D(e) {
|
|
160
|
-
Object.keys(F).map((t) => {
|
|
161
|
-
F[t] = e;
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
function J() {
|
|
165
|
-
D(!1), setTimeout(() => {
|
|
166
|
-
D(!0);
|
|
167
|
-
}, 300);
|
|
168
|
-
}
|
|
169
|
-
function U(e) {
|
|
170
|
-
return v(this, null, function* () {
|
|
171
|
-
let t = yield L(e.id);
|
|
172
|
-
s.value = E({}, t), j(t);
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
function j(e) {
|
|
176
|
-
e || (e = {});
|
|
177
|
-
let t = Object.keys(C.value);
|
|
178
|
-
if (t && t.length > 0) {
|
|
179
|
-
let i = {};
|
|
180
|
-
for (let d of t)
|
|
181
|
-
i[d] = e[d] || [];
|
|
182
|
-
C.value = i;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
function z(e) {
|
|
186
|
-
return "online_" + e + ":";
|
|
187
|
-
}
|
|
188
|
-
function Q() {
|
|
189
|
-
let e = b.reportPrintUrl, t = s.value;
|
|
190
|
-
if (t) {
|
|
191
|
-
let i = t.id, d = ae();
|
|
192
|
-
le(e, i, d);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
function W(e) {
|
|
196
|
-
let t = s.value;
|
|
197
|
-
return q(t, e);
|
|
198
|
-
}
|
|
199
|
-
function q(e, t) {
|
|
200
|
-
if (e) {
|
|
201
|
-
let i = e[t];
|
|
202
|
-
return !i && i !== 0 && (i = e[t.toLowerCase()], !i && i !== 0 && (i = e[t.toUpperCase()])), i;
|
|
203
|
-
}
|
|
204
|
-
return "";
|
|
205
|
-
}
|
|
206
|
-
return {
|
|
207
|
-
detailFormSchemas: x,
|
|
208
|
-
formData: s,
|
|
209
|
-
formSpan: A,
|
|
210
|
-
//主表
|
|
211
|
-
tableName: o,
|
|
212
|
-
loading: S,
|
|
213
|
-
//子表
|
|
214
|
-
hasSubTable: w,
|
|
215
|
-
subTabInfo: l,
|
|
216
|
-
subFormHeight: m,
|
|
217
|
-
subTableHeight: f,
|
|
218
|
-
refMap: P,
|
|
219
|
-
onTabChange: J,
|
|
220
|
-
//一对多子表
|
|
221
|
-
subDataSource: C,
|
|
222
|
-
getSubTableAuthPre: z,
|
|
223
|
-
//父组件调用
|
|
224
|
-
show: H,
|
|
225
|
-
createRootProperties: M,
|
|
226
|
-
// 扩展配置
|
|
227
|
-
onOpenReportPrint: Q,
|
|
228
|
-
onlineExtConfigJson: b,
|
|
229
|
-
getSubTableForeignKeyValue: W,
|
|
230
|
-
showStatus: F,
|
|
231
|
-
ERP: fe,
|
|
232
|
-
TAB: de,
|
|
233
|
-
subActiveKey: T
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
const he = ["id"], _e = {
|
|
238
|
-
key: 0,
|
|
239
|
-
style: { "text-align": "right", position: "absolute", top: "15px", right: "20px", "z-index": "999" }
|
|
240
|
-
}, ye = { key: 1 };
|
|
241
|
-
function Se(a, r, n, o, g, S) {
|
|
242
|
-
const h = c("PrinterOutlined"), s = c("detail-form"), m = c("a-tab-pane"), f = c("online-sub-form-detail"), T = c("JVxeTable"), b = c("a-spin"), x = c("a-tabs"), w = c("Loading");
|
|
243
|
-
return p(), _("div", {
|
|
244
|
-
id: o.tableName + "_form"
|
|
245
|
-
}, [
|
|
246
|
-
o.formData.id && o.onlineExtConfigJson.reportPrintShow ? (p(), _("div", _e, [
|
|
247
|
-
y(h, {
|
|
248
|
-
title: "打印",
|
|
249
|
-
onClick: o.onOpenReportPrint,
|
|
250
|
-
style: { "font-size": "16px" }
|
|
251
|
-
}, null, 8, ["onClick"])
|
|
252
|
-
])) : N("", !0),
|
|
253
|
-
y(x, {
|
|
254
|
-
class: "tabTheme",
|
|
255
|
-
onChange: o.onTabChange,
|
|
256
|
-
activeKey: o.subActiveKey,
|
|
257
|
-
"onUpdate:activeKey": r[0] || (r[0] = (l) => o.subActiveKey = l)
|
|
258
|
-
}, {
|
|
259
|
-
default: B(() => [
|
|
260
|
-
(p(), k(m, {
|
|
261
|
-
tab: "主表",
|
|
262
|
-
key: "-1"
|
|
263
|
-
}, {
|
|
264
|
-
default: B(() => [
|
|
265
|
-
y(s, {
|
|
266
|
-
schemas: o.detailFormSchemas,
|
|
267
|
-
data: o.formData,
|
|
268
|
-
span: o.formSpan
|
|
269
|
-
}, null, 8, ["schemas", "data", "span"])
|
|
270
|
-
]),
|
|
271
|
-
_: 1
|
|
272
|
-
})),
|
|
273
|
-
o.hasSubTable && n.showSub ? (p(!0), _(te, { key: 0 }, oe(o.subTabInfo, (l, P) => (p(), k(m, {
|
|
274
|
-
tab: l.describe,
|
|
275
|
-
key: P + "",
|
|
276
|
-
forceRender: !0
|
|
277
|
-
}, {
|
|
278
|
-
default: B(() => [
|
|
279
|
-
l.relationType == 1 ? (p(), _("div", {
|
|
280
|
-
key: 0,
|
|
281
|
-
style: ne({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": o.subFormHeight + "px" })
|
|
282
|
-
}, [
|
|
283
|
-
y(f, {
|
|
284
|
-
table: l.key,
|
|
285
|
-
"form-template": n.formTemplate,
|
|
286
|
-
"main-id": o.getSubTableForeignKeyValue(l.foreignKey),
|
|
287
|
-
properties: l.properties
|
|
288
|
-
}, null, 8, ["table", "form-template", "main-id", "properties"])
|
|
289
|
-
], 4)) : (p(), _("div", ye, [
|
|
290
|
-
o.showStatus[l.key] ? (p(), k(T, {
|
|
291
|
-
key: 0,
|
|
292
|
-
ref_for: !0,
|
|
293
|
-
ref: o.refMap[l.key],
|
|
294
|
-
toolbar: "",
|
|
295
|
-
"keep-source": "",
|
|
296
|
-
"row-number": "",
|
|
297
|
-
"row-selection": "",
|
|
298
|
-
height: o.subTableHeight,
|
|
299
|
-
disabled: !0,
|
|
300
|
-
columns: l.columns,
|
|
301
|
-
dataSource: o.subDataSource[l.key],
|
|
302
|
-
authPre: o.getSubTableAuthPre(l.key)
|
|
303
|
-
}, null, 8, ["height", "columns", "dataSource", "authPre"])) : (p(), k(b, {
|
|
304
|
-
key: 1,
|
|
305
|
-
spinning: !0
|
|
306
|
-
}))
|
|
307
|
-
]))
|
|
308
|
-
]),
|
|
309
|
-
_: 2
|
|
310
|
-
}, 1032, ["tab"]))), 128)) : N("", !0)
|
|
311
|
-
]),
|
|
312
|
-
_: 1
|
|
313
|
-
}, 8, ["onChange", "activeKey"]),
|
|
314
|
-
y(w, {
|
|
315
|
-
loading: o.loading,
|
|
316
|
-
absolute: !1
|
|
317
|
-
}, null, 8, ["loading"]),
|
|
318
|
-
re(a.$slots, "bottom", {}, void 0, !0)
|
|
319
|
-
], 8, he);
|
|
320
|
-
}
|
|
321
|
-
const mt = /* @__PURE__ */ be(ge, [["render", Se], ["__scopeId", "data-v-e0b07b2d"]]);
|
|
322
|
-
export {
|
|
323
|
-
mt as default
|
|
324
|
-
};
|