@jeecg/online 3.5.3-vite4 → 3.6.2-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/{AuthButtonConfig-2f71787c.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
- package/{AuthButtonTree-d73bccf5.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
- package/{AuthDataConfig-32cf23d2.mjs → AuthDataConfig-83891eea.mjs} +1 -1
- package/{AuthDataTree-03d62d3f.mjs → AuthDataTree-94e026e3.mjs} +1 -1
- package/{AuthFieldConfig-b1217a0c.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
- package/{AuthFieldTree-888e04a9.mjs → AuthFieldTree-69864163.mjs} +1 -1
- package/{AuthManagerDrawer-f127b8a2.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
- package/{AuthSetterModal-37da78ed.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
- package/{CgformCopyList-3adab58f.mjs → CgformCopyList-14b76108.mjs} +42 -39
- package/CgformModal-eccfc38e.mjs +611 -0
- package/{CgreportModal-77ec8c17.mjs → CgreportModal-2065f5a9.mjs} +2 -1
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +170 -171
- package/{CheckDictTable-414313f2.mjs → CheckDictTable-134cbb83.mjs} +3 -3
- package/{CodeFileListModal-4831ce3d.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
- package/{CodeFileViewModal-5990dac4.mjs → CodeFileViewModal-373e8058.mjs} +2 -2
- package/{CodeGeneratorModal-7df9e25d.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -6
- package/{CustomButtonList-1c9bd859.mjs → CustomButtonList-02e3d897.mjs} +2 -2
- package/{DBAttributeTable-cd1c41e5.mjs → DBAttributeTable-370de07b.mjs} +2 -2
- package/{DbToOnlineModal-dc5d2030.mjs → DbToOnlineModal-9f13956f.mjs} +35 -35
- package/{DetailForm-e4538e7a.mjs → DetailForm-424638eb.mjs} +179 -163
- package/{EnhanceJavaModal-7f53d2ca.mjs → EnhanceJavaModal-f63aa2d3.mjs} +17 -13
- package/{EnhanceJsHistory-c30805ce.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
- package/EnhanceJsModal-05c73a59.mjs +311 -0
- package/{EnhanceSqlModal-33a94c83.mjs → EnhanceSqlModal-5e4ae84f.mjs} +55 -46
- package/{ExtendConfigModal-60f2cf86.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
- package/FieldExtendJsonModal-a70a9ccd.mjs +219 -0
- package/FileSelectModal-9a02560b.mjs +103 -0
- package/{ForeignKeyTable-cb1abd1d.mjs → ForeignKeyTable-6a843c4b.mjs} +2 -2
- package/{IndexTable-4e94cd1f.mjs → IndexTable-f8af9d44.mjs} +2 -2
- package/JModalTip-33c7dc44.mjs +49 -0
- package/{JOnlineSearchSelect-5608a5cf.mjs → JOnlineSearchSelect-c287af12.mjs} +17 -16
- package/{LeftDepart-ca7a7375.mjs → LeftDepart-fa85523d.mjs} +1 -1
- package/{LeftRole-d0fa8398.mjs → LeftRole-8b8dfe21.mjs} +1 -1
- package/{LeftUser-0c88c240.mjs → LeftUser-dc24ef2f.mjs} +1 -1
- package/{LinkTableConfigModal-77d7c0b9.mjs → LinkTableConfigModal-d4fbdef2.mjs} +23 -23
- package/{LinkTableFieldConfigModal-c5689ab0.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +44 -46
- package/LinkTableListPiece-8499a318.mjs +34 -0
- package/{ModalFormDemo-0eeea994.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
- package/OnlCgformErpList-db45e22b.mjs +454 -0
- package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
- package/OnlCgformInnerSubTable-fbca73e0.mjs +253 -0
- package/OnlCgformInnerTableList-782eaf04.mjs +444 -0
- package/OnlCgformTabList-a9e1e36a.mjs +395 -0
- package/OnlineAutoList-0583a910.mjs +479 -0
- package/{OnlineAutoModal-2a146238.mjs → OnlineAutoModal-510991eb.mjs} +59 -58
- package/{OnlineAutoTreeList-f8d0e100.mjs → OnlineAutoTreeList-89265688.mjs} +158 -153
- package/{OnlineCustomModal-456a85a6.mjs → OnlineCustomModal-518ad33c.mjs} +67 -66
- package/{OnlineDetailModal-f967f080.mjs → OnlineDetailModal-9675390d.mjs} +40 -39
- package/OnlineForm-1fa2d893.mjs +750 -0
- package/{OnlineFormDetail-1b216792.mjs → OnlineFormDetail-0e7294ca.mjs} +56 -55
- package/OnlineQueryForm-1bfc8320.mjs +386 -0
- package/{OnlineSearchFormItem-7c2ea9ed.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +83 -87
- package/{OnlineSelectCascade-c7baf52b.mjs → OnlineSelectCascade-4265c95d.mjs} +31 -32
- package/{OnlineSubFormDetail-0aa4966c.mjs → OnlineSubFormDetail-f0d2c016.mjs} +53 -50
- package/OnlineTabAutoModal-6f636ee2.mjs +254 -0
- package/OnlineTabDetailModal-7356d3a8.mjs +223 -0
- package/OnlineTabForm-512d3951.mjs +766 -0
- package/OnlineTabFormDetail-5a70219d.mjs +324 -0
- package/{PageAttributeTable-811185fd.mjs → PageAttributeTable-965dc58e.mjs} +20 -20
- package/{ProcessOnlineForm-27be6f6f.mjs → ProcessOnlineForm-67558898.mjs} +39 -38
- package/{QueryTable-4ba771ef.mjs → QueryTable-eb9a5b21.mjs} +2 -2
- package/README.md +5 -2
- package/{SuperQuery-3821f984.mjs → SuperQuery-5d1ca957.mjs} +171 -173
- package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
- package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
- package/cgformState-d9f8ec42.mjs +28 -0
- package/constant-754f1a9d.mjs +9 -0
- package/index-0e3ab3af.mjs +56 -0
- package/{index-074b92e5.mjs → index-49508cad.mjs} +4 -3
- package/index-b7a05eef.mjs +1496 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-423282b7.mjs +400 -0
- package/useCustomHook-acb00837.mjs +53 -0
- package/useExtendComponent-325fe3f1.mjs +3926 -0
- package/useListButton-cdbab702.mjs +676 -0
- package/useOnlinePopEvent-687070b7.mjs +19 -0
- package/useOnlineTest-e4bd8be3.mjs +42 -0
- package/{useSchemas-fc8d97ce.mjs → useSchemas-0433a403.mjs} +129 -109
- package/{useTableSync-dc333087.mjs → useTableSync-774c3774.mjs} +17 -13
- package/CgformModal-6938d8c2.mjs +0 -613
- package/EnhanceJsModal-0b133341.mjs +0 -233
- package/FieldExtendJsonModal-48f7d67f.mjs +0 -220
- package/FileSelectModal-64aaf623.mjs +0 -91
- package/JModalTip-abe1515a.mjs +0 -46
- package/LinkTableListPiece-34266919.mjs +0 -34
- package/OnlCgformErpList-7a0388d8.mjs +0 -425
- package/OnlCgformErpSubTable-fc6ade76.mjs +0 -388
- package/OnlineAutoList-85e6a30d.mjs +0 -472
- package/OnlineForm-630a22c2.mjs +0 -778
- package/OnlineQueryForm-1c5949a7.mjs +0 -378
- package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
- package/constant-fe20103a.mjs +0 -6
- package/index-6a09a912.mjs +0 -58
- package/index-9d32ae88.mjs +0 -313
- package/useCgformList-2d6a5955.mjs +0 -388
- package/useExtendComponent-48d37d9b.mjs +0 -3919
- package/useListButton-cef1371a.mjs +0 -656
- package/useOnlinePopEvent-e9a042f8.mjs +0 -19
- package/useOnlineTest-0df0ae86.mjs +0 -43
package/OnlineForm-630a22c2.mjs
DELETED
|
@@ -1,778 +0,0 @@
|
|
|
1
|
-
var yt = Object.defineProperty;
|
|
2
|
-
var be = Object.getOwnPropertySymbols;
|
|
3
|
-
var vt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var ye = (r, c, i) => c in r ? yt(r, c, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[c] = i, I = (r, c) => {
|
|
5
|
-
for (var i in c || (c = {}))
|
|
6
|
-
vt.call(c, i) && ye(r, i, c[i]);
|
|
7
|
-
if (be)
|
|
8
|
-
for (var i of be(c))
|
|
9
|
-
Ft.call(c, i) && ye(r, i, c[i]);
|
|
10
|
-
return r;
|
|
11
|
-
};
|
|
12
|
-
var O = (r, c, i) => new Promise((a, w) => {
|
|
13
|
-
var S = (d) => {
|
|
14
|
-
try {
|
|
15
|
-
g(i.next(d));
|
|
16
|
-
} catch (f) {
|
|
17
|
-
w(f);
|
|
18
|
-
}
|
|
19
|
-
}, p = (d) => {
|
|
20
|
-
try {
|
|
21
|
-
g(i.throw(d));
|
|
22
|
-
} catch (f) {
|
|
23
|
-
w(f);
|
|
24
|
-
}
|
|
25
|
-
}, g = (d) => d.done ? a(d.value) : Promise.resolve(d.value).then(S, p);
|
|
26
|
-
g((i = i.apply(r, c)).next());
|
|
27
|
-
});
|
|
28
|
-
import * as _t from "/@/hooks/web/useMessage";
|
|
29
|
-
import { useMessage as St } from "/@/hooks/web/useMessage";
|
|
30
|
-
import * as Tt from "vue";
|
|
31
|
-
import { ref as y, inject as wt, reactive as Ct, computed as Ot, resolveComponent as _, openBlock as k, createElementBlock as B, createVNode as E, createCommentVNode as q, createBlock as H, withCtx as J, Fragment as kt, renderList as Pt, normalizeStyle as xt, renderSlot as Et, unref as ve, nextTick as Fe, toRaw as V } from "vue";
|
|
32
|
-
import { BasicForm as Rt, useForm as Vt } from "/@/components/Form/index";
|
|
33
|
-
import { f as At, O as Mt, i as Dt, j as jt, u as It, k as W, g as Bt, V as U, m as Jt, n as Ut, o as _e } from "./useExtendComponent-48d37d9b.mjs";
|
|
34
|
-
import * as Nt from "/@/utils/http/axios";
|
|
35
|
-
import { defHttp as ee } from "/@/utils/http/axios";
|
|
36
|
-
import { pick as Lt, omit as Se } from "lodash-es";
|
|
37
|
-
import { sleep as Kt, goJmReportViewPage as qt } from "/@/utils";
|
|
38
|
-
import { Loading as Ht } from "/@/components/Loading";
|
|
39
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
40
|
-
import { getToken as Wt } from "/@/utils/auth";
|
|
41
|
-
import { PrinterOutlined as Gt, DiffOutlined as zt, FormOutlined as Qt } from "@ant-design/icons-vue";
|
|
42
|
-
import "/@/hooks/core/useContext";
|
|
43
|
-
import "/@/utils/mitt";
|
|
44
|
-
import { useModal as Yt } from "/@/components/Modal";
|
|
45
|
-
import * as Xt from "/@/utils/cache";
|
|
46
|
-
import { randomString as Zt } from "/@/utils/common/compUtils";
|
|
47
|
-
import * as $t from "/@/store/modules/user";
|
|
48
|
-
import { E as te } from "./constant-fe20103a.mjs";
|
|
49
|
-
import { _ as en } from "./index-6a09a912.mjs";
|
|
50
|
-
const tn = {
|
|
51
|
-
vue: Tt,
|
|
52
|
-
"@": {
|
|
53
|
-
hooks: {
|
|
54
|
-
// 调用示例:@/hooks/useMessage
|
|
55
|
-
useMessage: _t,
|
|
56
|
-
useUserStore: $t
|
|
57
|
-
},
|
|
58
|
-
utils: {
|
|
59
|
-
// 调用示例:@/utils/axios
|
|
60
|
-
axios: Nt,
|
|
61
|
-
cache: Xt
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
function nn(r, c) {
|
|
66
|
-
const i = Object.assign({}, tn, r);
|
|
67
|
-
function a(p) {
|
|
68
|
-
if (p != null && p != "") {
|
|
69
|
-
let g = p.toString().split("/"), d = i[g[0]];
|
|
70
|
-
for (let f = 1; f < g.length; f++)
|
|
71
|
-
d = d[g[f]];
|
|
72
|
-
return d;
|
|
73
|
-
}
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
function w() {
|
|
77
|
-
}
|
|
78
|
-
function S(p, g) {
|
|
79
|
-
let f = "__export_" + Zt(6);
|
|
80
|
-
if (g) {
|
|
81
|
-
const h = `return function (row, customImport, ${f}) {"use strict"; ${p}}`;
|
|
82
|
-
console.group("executeJsEnhanced"), console.log(h), console.groupEnd(), new Function(h)().call(c, g, a, w);
|
|
83
|
-
} else {
|
|
84
|
-
const h = `return function (customImport, ${f}) {"use strict"; ${p}}`;
|
|
85
|
-
console.group("executeJsEnhanced"), console.log(h), console.groupEnd(), new Function(h)().call(c, a, w);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return {
|
|
89
|
-
executeJsEnhanced: S
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
const on = /(?:\/\*[\s\S]*?\*\/|\/\/.*?\r?\n|[^{])+\{([\s\S]*)\}$/, ne = {
|
|
93
|
-
optPre: "/online/cgform/api/form/",
|
|
94
|
-
urlButtonAction: "/online/cgform/api/doButton"
|
|
95
|
-
}, ln = {
|
|
96
|
-
name: "OnlineForm",
|
|
97
|
-
components: {
|
|
98
|
-
BasicForm: Rt,
|
|
99
|
-
Loading: Ht,
|
|
100
|
-
OnlineSubForm: At,
|
|
101
|
-
PrinterOutlined: Gt,
|
|
102
|
-
DiffOutlined: zt,
|
|
103
|
-
FormOutlined: Qt,
|
|
104
|
-
OnlinePopModal: Mt
|
|
105
|
-
},
|
|
106
|
-
props: {
|
|
107
|
-
id: {
|
|
108
|
-
type: String,
|
|
109
|
-
default: ""
|
|
110
|
-
},
|
|
111
|
-
formTemplate: {
|
|
112
|
-
type: Number,
|
|
113
|
-
default: 1
|
|
114
|
-
},
|
|
115
|
-
disabled: {
|
|
116
|
-
type: Boolean,
|
|
117
|
-
default: !1
|
|
118
|
-
},
|
|
119
|
-
isTree: {
|
|
120
|
-
type: Boolean,
|
|
121
|
-
default: !1
|
|
122
|
-
},
|
|
123
|
-
pidField: {
|
|
124
|
-
type: String,
|
|
125
|
-
default: ""
|
|
126
|
-
},
|
|
127
|
-
submitTip: {
|
|
128
|
-
type: Boolean,
|
|
129
|
-
default: !0
|
|
130
|
-
},
|
|
131
|
-
modalClass: {
|
|
132
|
-
type: String,
|
|
133
|
-
default: ""
|
|
134
|
-
},
|
|
135
|
-
themeTemplate: {
|
|
136
|
-
type: String,
|
|
137
|
-
default: ""
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
emits: ["success", "rendered"],
|
|
141
|
-
setup(r, { emit: c }) {
|
|
142
|
-
console.log("onlineForm-setup》》");
|
|
143
|
-
const { createMessage: i } = St(), a = y(null), w = y(!0), S = y(!1), p = y(1), g = y(""), d = y(!1), f = y(!1), h = wt("foreignkey", { value: {} }), P = Ct({
|
|
144
|
-
reportPrintShow: 0,
|
|
145
|
-
reportPrintUrl: "",
|
|
146
|
-
joinQuery: 0,
|
|
147
|
-
modelFullscreen: 0,
|
|
148
|
-
modalMinWidth: "",
|
|
149
|
-
commentStatus: 0
|
|
150
|
-
}), { onlineFormContext: m, resetContext: G } = Dt(), {
|
|
151
|
-
formSchemas: A,
|
|
152
|
-
defaultValueFields: R,
|
|
153
|
-
changeDataIfArray2String: N,
|
|
154
|
-
tableName: s,
|
|
155
|
-
dbData: T,
|
|
156
|
-
checkOnlyFieldValue: v,
|
|
157
|
-
hasSubTable: Te,
|
|
158
|
-
subTabInfo: M,
|
|
159
|
-
refMap: z,
|
|
160
|
-
subDataSource: L,
|
|
161
|
-
baseColProps: we,
|
|
162
|
-
createFormSchemas: Ce,
|
|
163
|
-
linkDownList: fn,
|
|
164
|
-
fieldDisplayStatus: D
|
|
165
|
-
} = jt(r, a);
|
|
166
|
-
let { EnhanceJS: u, initCgEnhanceJs: Oe } = It(m, !1);
|
|
167
|
-
const { executeJsEnhanced: ke } = nn({}, m), [Pe, { setProps: xe, validate: oe, resetFields: le, setFieldsValue: x, updateSchema: Q, getFieldsValue: Y, scrollToField: Ee }] = Vt({
|
|
168
|
-
schemas: A,
|
|
169
|
-
showActionButtonGroup: !1,
|
|
170
|
-
baseColProps: we
|
|
171
|
-
}), ae = y(!1);
|
|
172
|
-
function Re() {
|
|
173
|
-
let e = r.disabled;
|
|
174
|
-
ae.value = e, xe({ disabled: e });
|
|
175
|
-
}
|
|
176
|
-
function Ve(e, t, n) {
|
|
177
|
-
return O(this, null, function* () {
|
|
178
|
-
console.log("新增编辑进入表单》》form", t), yield Ae(), g.value = "", yield le(), T.value = "";
|
|
179
|
-
let o = ve(e);
|
|
180
|
-
f.value = o, o ? yield re(t) : se(), Fe(() => {
|
|
181
|
-
!o && n && x(n), Me(), X("js", "loaded"), Re();
|
|
182
|
-
});
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
function Ae() {
|
|
186
|
-
return O(this, null, function* () {
|
|
187
|
-
if (r.isTree === !0) {
|
|
188
|
-
let e = r.pidField, t = A.value;
|
|
189
|
-
t && t.length > 0 ? t.filter((o) => o.field === e).length > 0 && (yield Q({
|
|
190
|
-
field: e,
|
|
191
|
-
componentProps: {
|
|
192
|
-
reload: (/* @__PURE__ */ new Date()).getTime()
|
|
193
|
-
}
|
|
194
|
-
})) : console.log("没有拿到表单配置信息,可能是第一次打开新增页面");
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
function Me() {
|
|
199
|
-
if (ve(f) === !1) {
|
|
200
|
-
let e = V(R[s.value]);
|
|
201
|
-
W(e, (t) => {
|
|
202
|
-
x(t);
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
function ie(e, t) {
|
|
207
|
-
let n = V(R[e.key]);
|
|
208
|
-
W(n, (o) => {
|
|
209
|
-
const { row: l, target: b } = t;
|
|
210
|
-
let C = [{ rowKey: l.id, values: I({}, o) }];
|
|
211
|
-
b.setValues(C);
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
function re(e) {
|
|
215
|
-
return O(this, null, function* () {
|
|
216
|
-
let t = yield je(e.id);
|
|
217
|
-
T.value = Object.assign({}, e, t);
|
|
218
|
-
let n = De.value, o = Lt(t, ...n);
|
|
219
|
-
r.disabled && Object.keys(o).map((l) => {
|
|
220
|
-
!o[l] && o[l] !== 0 && o[l] !== "0" && delete o[l];
|
|
221
|
-
}), yield x(o), se(t);
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
function se(e) {
|
|
225
|
-
e || (e = {});
|
|
226
|
-
let t = Object.keys(L.value);
|
|
227
|
-
if (t && t.length > 0) {
|
|
228
|
-
let n = {};
|
|
229
|
-
for (let o of t)
|
|
230
|
-
n[o] = e[o] || [];
|
|
231
|
-
L.value = n;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
let De = Ot(() => {
|
|
235
|
-
let e = A.value, t = [];
|
|
236
|
-
for (let n of e)
|
|
237
|
-
t.push(n.field);
|
|
238
|
-
return t;
|
|
239
|
-
});
|
|
240
|
-
function je(e) {
|
|
241
|
-
let t = `${ne.optPre}${r.id}/${e}`;
|
|
242
|
-
return new Promise((n, o) => {
|
|
243
|
-
ee.get({ url: t }, { isTransformResponse: !1 }).then((l) => {
|
|
244
|
-
l.success ? n(l.result) : (o(), i.warning(l.message));
|
|
245
|
-
}).catch(() => {
|
|
246
|
-
o();
|
|
247
|
-
});
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
function Ie(e) {
|
|
251
|
-
return O(this, null, function* () {
|
|
252
|
-
p.value = e.head.tableType, s.value = e.head.tableName, w.value = e.head.tableType == 1, Ue(e.head.extConfigJson), Ce(e.schema.properties, e.schema.required, v), u = Oe(e.enhanceJs), c("rendered", P);
|
|
253
|
-
let t = yield Bt(a);
|
|
254
|
-
t.$formValueChange = (n, o, l) => {
|
|
255
|
-
nt(n, o), l && x(l), Be(n, o, l);
|
|
256
|
-
}, u && u.setup && de(u.setup);
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
function Be(e, t, n) {
|
|
260
|
-
m.changEvent(e, t, n);
|
|
261
|
-
}
|
|
262
|
-
function Je(e) {
|
|
263
|
-
m.addObject2Context("changEvent", e);
|
|
264
|
-
}
|
|
265
|
-
function Ue(e) {
|
|
266
|
-
let t = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 0, modalMinWidth: "", commentStatus: 0 };
|
|
267
|
-
e && (t = JSON.parse(e)), Object.keys(t).map((n) => {
|
|
268
|
-
P[n] = t[n];
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
function Ne() {
|
|
272
|
-
w.value === !0 ? We() : Le();
|
|
273
|
-
}
|
|
274
|
-
function Le() {
|
|
275
|
-
Ke().then((e) => {
|
|
276
|
-
ue(e);
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
function Ke() {
|
|
280
|
-
let e = {};
|
|
281
|
-
return new Promise((t, n) => {
|
|
282
|
-
oe().then(
|
|
283
|
-
(o) => t(o),
|
|
284
|
-
({ errorFields: o }) => {
|
|
285
|
-
o && o.length > 0 && Ee(o[0][0]), n(U);
|
|
286
|
-
}
|
|
287
|
-
);
|
|
288
|
-
}).then((t) => (Object.assign(e, N(t)), r.themeTemplate === te ? Promise.resolve({}) : He())).then((t) => (Object.assign(e, t), Promise.resolve(e))).catch((t) => (t === U || (t == null ? void 0 : t.code) === U ? (i.warning("校验未通过"), t.key && qe(t.key)) : console.error(t), Promise.reject(null)));
|
|
289
|
-
}
|
|
290
|
-
function qe(e) {
|
|
291
|
-
let t = M.value;
|
|
292
|
-
for (let n = 0; n < t.length; n++)
|
|
293
|
-
if (e == t[n].key) {
|
|
294
|
-
let o = n + "";
|
|
295
|
-
if (K.value === o)
|
|
296
|
-
break;
|
|
297
|
-
if (K.value = o, t[n].relationType === 0) {
|
|
298
|
-
let l = F(e);
|
|
299
|
-
Kt(300, () => l == null ? void 0 : l.validateTable());
|
|
300
|
-
}
|
|
301
|
-
break;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
function He() {
|
|
305
|
-
return new Promise((e, t) => O(this, null, function* () {
|
|
306
|
-
let n = {};
|
|
307
|
-
try {
|
|
308
|
-
let o = M.value;
|
|
309
|
-
for (let l = 0; l < o.length; l++) {
|
|
310
|
-
let b = o[l].key, C = F(b);
|
|
311
|
-
if (o[l].relationType == 1)
|
|
312
|
-
try {
|
|
313
|
-
let j = yield C.getAll();
|
|
314
|
-
n[b] = [], n[b].push(j);
|
|
315
|
-
} catch (j) {
|
|
316
|
-
throw { code: U, key: b };
|
|
317
|
-
}
|
|
318
|
-
else {
|
|
319
|
-
if (yield C.fullValidateTable())
|
|
320
|
-
throw { code: U, key: b };
|
|
321
|
-
n[b] = C.getTableData();
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
} catch (o) {
|
|
325
|
-
t(o);
|
|
326
|
-
}
|
|
327
|
-
e(n);
|
|
328
|
-
}));
|
|
329
|
-
}
|
|
330
|
-
function We() {
|
|
331
|
-
return O(this, null, function* () {
|
|
332
|
-
try {
|
|
333
|
-
let e = yield oe();
|
|
334
|
-
e = Object.assign({}, T.value, e), e = N(e), S.value = !0, ue(e);
|
|
335
|
-
} finally {
|
|
336
|
-
S.value = !1;
|
|
337
|
-
}
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
function ue(e) {
|
|
341
|
-
at(he, e).then(() => {
|
|
342
|
-
Ge(e);
|
|
343
|
-
}).catch((t) => {
|
|
344
|
-
i.warning(t);
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
function Ge(e) {
|
|
348
|
-
Object.keys(e).map((l) => {
|
|
349
|
-
Array.isArray(e[l]) && e[l].length == 0 && (e[l] = "");
|
|
350
|
-
}), console.log("提交表单数据》》》form:", e);
|
|
351
|
-
let t = g.value, n = `${ne.optPre}${r.id}?tabletype=${p.value}`;
|
|
352
|
-
t && (n = `${t}?tabletype=${p.value}`), d.value === !0 && (e[Jt] = 1), h.value.field && h.value.value && (e[h.value.field] = h.value.value);
|
|
353
|
-
let o = f.value === !0 ? "put" : "post";
|
|
354
|
-
ee.request({ url: n, method: o, params: e }, { isTransformResponse: !1 }).then((l) => {
|
|
355
|
-
l.success ? (l.result && (e[Ut] = l.result), c("success", e), r.submitTip === !0 && i.success(l.message)) : i.warning(l.message);
|
|
356
|
-
}).finally(() => {
|
|
357
|
-
S.value = !1;
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
function ze(e, t, n) {
|
|
361
|
-
t && n ? n.vxeProps ? n.setValues([
|
|
362
|
-
{
|
|
363
|
-
rowKey: t,
|
|
364
|
-
values: e
|
|
365
|
-
}
|
|
366
|
-
]) : n.setValues(e) : x(e);
|
|
367
|
-
}
|
|
368
|
-
function Qe(e, t) {
|
|
369
|
-
let n = {};
|
|
370
|
-
n[e] = t, x(n);
|
|
371
|
-
}
|
|
372
|
-
const K = y("0"), ce = y(300), fe = y(340);
|
|
373
|
-
function Ye(e) {
|
|
374
|
-
if (f.value === !0) {
|
|
375
|
-
let t = T.value;
|
|
376
|
-
return Xe(t, e);
|
|
377
|
-
}
|
|
378
|
-
return "";
|
|
379
|
-
}
|
|
380
|
-
function Xe(e, t) {
|
|
381
|
-
if (e) {
|
|
382
|
-
let n = e[t];
|
|
383
|
-
return !n && n !== 0 && (n = e[t.toLowerCase()], !n && n !== 0 && (n = e[t.toUpperCase()])), n;
|
|
384
|
-
}
|
|
385
|
-
return "";
|
|
386
|
-
}
|
|
387
|
-
function Ze(e, t) {
|
|
388
|
-
if (u && u[t + "_onlChange"]) {
|
|
389
|
-
let n = u[t + "_onlChange"](), o = Object.keys(e)[0];
|
|
390
|
-
if (n[o]) {
|
|
391
|
-
let b = F(t).getFormEvent(), C = I({
|
|
392
|
-
column: { key: o },
|
|
393
|
-
value: e[o]
|
|
394
|
-
}, b);
|
|
395
|
-
n[o].call(m, m, C);
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
function $e(e, t) {
|
|
400
|
-
if (u && u[t + "_onlChange"]) {
|
|
401
|
-
let n = u[t + "_onlChange"](m);
|
|
402
|
-
if (e.column === "all") {
|
|
403
|
-
let o = Object.keys(n);
|
|
404
|
-
if (o.length > 0)
|
|
405
|
-
for (let l of o)
|
|
406
|
-
n[l].call(m, m, e);
|
|
407
|
-
} else {
|
|
408
|
-
let o = e.column.key || e.col.key;
|
|
409
|
-
n[o] && e.row && e.row.id && n[o].call(m, m, e);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
function et(e, t) {
|
|
414
|
-
console.log("handleAdded", e, t), t.isModalData || ie(e, t);
|
|
415
|
-
}
|
|
416
|
-
function tt(e) {
|
|
417
|
-
return "online_" + e + ":";
|
|
418
|
-
}
|
|
419
|
-
function nt(e, t) {
|
|
420
|
-
return O(this, null, function* () {
|
|
421
|
-
if (!u || !u.onlChange || !e)
|
|
422
|
-
return !1;
|
|
423
|
-
let n = u.onlChange();
|
|
424
|
-
if (n[e]) {
|
|
425
|
-
let l = {
|
|
426
|
-
row: yield Y(),
|
|
427
|
-
column: { key: e },
|
|
428
|
-
value: t
|
|
429
|
-
};
|
|
430
|
-
n[e].call(m, m, l);
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
}
|
|
434
|
-
function de(e) {
|
|
435
|
-
let n = e.toLocaleString().match(on);
|
|
436
|
-
if (n.length > 1) {
|
|
437
|
-
let o = n[1];
|
|
438
|
-
ke(o);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
function X(e, t) {
|
|
442
|
-
if (e == "js") {
|
|
443
|
-
let n = t + "_hook";
|
|
444
|
-
u && u[t] ? u[t].call(m, m) : u && u[n] && de(u[n]);
|
|
445
|
-
} else if (e == "action") {
|
|
446
|
-
let n = T.value, o = {
|
|
447
|
-
formId: r.id,
|
|
448
|
-
buttonCode: t,
|
|
449
|
-
dataId: n.id,
|
|
450
|
-
uiFormData: Object.assign({}, n)
|
|
451
|
-
};
|
|
452
|
-
ee.post(
|
|
453
|
-
{
|
|
454
|
-
url: `${ne.urlButtonAction}`,
|
|
455
|
-
params: o
|
|
456
|
-
},
|
|
457
|
-
{ isTransformResponse: !1 }
|
|
458
|
-
).then((l) => {
|
|
459
|
-
l.success ? i.success("处理完成!") : i.warning("处理失败!");
|
|
460
|
-
});
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
function me(e) {
|
|
464
|
-
let t = F(e), n = [...t.getNewDataWithId(), ...L.value[e]];
|
|
465
|
-
if (!n || n.length == 0)
|
|
466
|
-
return !1;
|
|
467
|
-
let o = [];
|
|
468
|
-
for (let l of n)
|
|
469
|
-
o.push(l.id);
|
|
470
|
-
t.removeRowsById(o);
|
|
471
|
-
}
|
|
472
|
-
function ge(e, t) {
|
|
473
|
-
if (!t)
|
|
474
|
-
return !1;
|
|
475
|
-
let n = F(e);
|
|
476
|
-
typeof t == "object" ? n.addRows(t, !0) : this.$message.error("添加子表数据,参数不识别!");
|
|
477
|
-
}
|
|
478
|
-
function ot(e, t) {
|
|
479
|
-
me(e), ge(e, t);
|
|
480
|
-
}
|
|
481
|
-
function lt(e, t) {
|
|
482
|
-
!t && t.length <= 0 && (t = []), t.map((n) => {
|
|
483
|
-
n.hasOwnProperty("label") || (n.label = n.text);
|
|
484
|
-
}), Q({
|
|
485
|
-
field: e,
|
|
486
|
-
componentProps: {
|
|
487
|
-
options: t
|
|
488
|
-
}
|
|
489
|
-
});
|
|
490
|
-
}
|
|
491
|
-
function at(e, t) {
|
|
492
|
-
return u && u.beforeSubmit ? u.beforeSubmit(e, t) : Promise.resolve();
|
|
493
|
-
}
|
|
494
|
-
function it(e, t) {
|
|
495
|
-
let n = V(D);
|
|
496
|
-
e && e.length > 0 ? Object.keys(n).map((o) => {
|
|
497
|
-
!o.endsWith("_load") && e.indexOf(o) < 0 && (D[o] = !1);
|
|
498
|
-
}) : t && t.length > 0 && Object.keys(n).map((o) => {
|
|
499
|
-
t.indexOf(o) >= 0 && (D[o] = !1);
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
|
-
function rt(e, t) {
|
|
503
|
-
return O(this, null, function* () {
|
|
504
|
-
console.log("自定义弹窗打开online表单2》》form", e), g.value = t, yield le(), T.value = "", f.value = !0, yield re(e), yield Fe(() => {
|
|
505
|
-
X("js", "loaded");
|
|
506
|
-
});
|
|
507
|
-
});
|
|
508
|
-
}
|
|
509
|
-
function F(e) {
|
|
510
|
-
let t = z[e].value;
|
|
511
|
-
if (t instanceof Array && (t = t[0]), !t) {
|
|
512
|
-
i.warning("子表ref找不到:" + e);
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
return t;
|
|
516
|
-
}
|
|
517
|
-
function st() {
|
|
518
|
-
let e = P.reportPrintUrl, t = T.value.id, n = Wt();
|
|
519
|
-
qt(e, t, n);
|
|
520
|
-
}
|
|
521
|
-
const [ut, { openModal: pe }] = Yt(), Z = y(""), $ = y(!0);
|
|
522
|
-
function ct(e) {
|
|
523
|
-
console.log("openSubFormModalForAdd", e), Z.value = e.id, $.value = !1, pe(!0, { isUpdate: !1, tableType: "3" });
|
|
524
|
-
}
|
|
525
|
-
function ft(e) {
|
|
526
|
-
let n = F(e.key).getSelectedData();
|
|
527
|
-
if (n.length != 1) {
|
|
528
|
-
i.warning("请选择一条数据");
|
|
529
|
-
return;
|
|
530
|
-
}
|
|
531
|
-
Z.value = e.id, $.value = !1, pe(!0, { isUpdate: !0, record: n[0] });
|
|
532
|
-
}
|
|
533
|
-
function dt(e) {
|
|
534
|
-
const t = e[_e];
|
|
535
|
-
let n = Se(e, [_e]);
|
|
536
|
-
if (n.id) {
|
|
537
|
-
let o = Se(I({}, n), "id"), l = [{ rowKey: n.id, values: o }];
|
|
538
|
-
F(t).setValues(l);
|
|
539
|
-
} else
|
|
540
|
-
F(t).addRows(n, { isOnlineJS: !1, setActive: !1, emitChange: !0, isModalData: !0 });
|
|
541
|
-
}
|
|
542
|
-
function mt() {
|
|
543
|
-
if (r.themeTemplate === te)
|
|
544
|
-
return;
|
|
545
|
-
let e = M.value;
|
|
546
|
-
if (e && e.length > 0) {
|
|
547
|
-
for (let t of e)
|
|
548
|
-
if (t.relationType != 1) {
|
|
549
|
-
let n = F(t.key);
|
|
550
|
-
n && n.clearSelection();
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
function gt() {
|
|
555
|
-
let e = Y(), t = V(R[s.value]);
|
|
556
|
-
W(t, (n) => {
|
|
557
|
-
x(n);
|
|
558
|
-
}, e);
|
|
559
|
-
}
|
|
560
|
-
function pt(e, t) {
|
|
561
|
-
let n = M.value;
|
|
562
|
-
if (n && n.length > 0) {
|
|
563
|
-
let o = n.filter((l) => l.key === e);
|
|
564
|
-
if (o.length == 0) {
|
|
565
|
-
console.error("没找到与之匹配的子表", e);
|
|
566
|
-
return;
|
|
567
|
-
}
|
|
568
|
-
if (o[0].relationType == 1)
|
|
569
|
-
F(e).executeFillRule();
|
|
570
|
-
else {
|
|
571
|
-
let l = V(R[e]), b = V(t.row);
|
|
572
|
-
W(l, (C) => {
|
|
573
|
-
const { row: j, target: ht } = t;
|
|
574
|
-
let bt = [{ rowKey: j.id, values: I({}, C) }];
|
|
575
|
-
ht.setValues(bt);
|
|
576
|
-
}, b);
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
let he = {
|
|
581
|
-
tableName: s,
|
|
582
|
-
loading: S,
|
|
583
|
-
subActiveKey: K,
|
|
584
|
-
onlineFormRef: a,
|
|
585
|
-
getFieldsValue: Y,
|
|
586
|
-
setFieldsValue: x,
|
|
587
|
-
submitFlowFlag: d,
|
|
588
|
-
subFormHeight: ce,
|
|
589
|
-
subTableHeight: fe,
|
|
590
|
-
refMap: z,
|
|
591
|
-
triggleChangeValues: ze,
|
|
592
|
-
triggleChangeValue: Qe,
|
|
593
|
-
sh: D,
|
|
594
|
-
clearSubRows: me,
|
|
595
|
-
addSubRows: ge,
|
|
596
|
-
clearThenAddRows: ot,
|
|
597
|
-
changeOptions: lt,
|
|
598
|
-
isUpdate: f,
|
|
599
|
-
getSubTableInstance: F,
|
|
600
|
-
updateSchema: Q,
|
|
601
|
-
executeMainFillRule: gt,
|
|
602
|
-
executeSubFillRule: pt,
|
|
603
|
-
changEvent: () => {
|
|
604
|
-
},
|
|
605
|
-
onlineFormValueChange: Je
|
|
606
|
-
};
|
|
607
|
-
return G(he), {
|
|
608
|
-
//主表
|
|
609
|
-
tableName: s,
|
|
610
|
-
onlineFormRef: a,
|
|
611
|
-
registerForm: Pe,
|
|
612
|
-
loading: S,
|
|
613
|
-
//子表
|
|
614
|
-
subActiveKey: K,
|
|
615
|
-
hasSubTable: Te,
|
|
616
|
-
subTabInfo: M,
|
|
617
|
-
refMap: z,
|
|
618
|
-
//一对一子表
|
|
619
|
-
subFormHeight: ce,
|
|
620
|
-
getSubTableForeignKeyValue: Ye,
|
|
621
|
-
isUpdate: f,
|
|
622
|
-
handleSubFormChange: Ze,
|
|
623
|
-
//一对多子表
|
|
624
|
-
subTableHeight: fe,
|
|
625
|
-
onlineFormDisabled: ae,
|
|
626
|
-
subDataSource: L,
|
|
627
|
-
getSubTableAuthPre: tt,
|
|
628
|
-
handleAdded: et,
|
|
629
|
-
handleSubTableDefaultValue: ie,
|
|
630
|
-
handleValueChange: $e,
|
|
631
|
-
openSubFormModalForAdd: ct,
|
|
632
|
-
openSubFormModalForEdit: ft,
|
|
633
|
-
//父组件调用
|
|
634
|
-
show: Ve,
|
|
635
|
-
createRootProperties: Ie,
|
|
636
|
-
handleSubmit: Ne,
|
|
637
|
-
sh: D,
|
|
638
|
-
handleCgButtonClick: X,
|
|
639
|
-
handleCustomFormSh: it,
|
|
640
|
-
handleCustomFormEdit: rt,
|
|
641
|
-
//跳转
|
|
642
|
-
dbData: T,
|
|
643
|
-
onOpenReportPrint: st,
|
|
644
|
-
onlineExtConfigJson: P,
|
|
645
|
-
//一对多子表弹窗操作数据
|
|
646
|
-
registerPopModal: ut,
|
|
647
|
-
popTableName: Z,
|
|
648
|
-
getPopFormData: dt,
|
|
649
|
-
popModalRequest: $,
|
|
650
|
-
onCloseModal: mt,
|
|
651
|
-
ERP: te
|
|
652
|
-
};
|
|
653
|
-
}
|
|
654
|
-
}, an = ["id"], rn = {
|
|
655
|
-
key: 0,
|
|
656
|
-
style: { "text-align": "right", position: "absolute", top: "6px", right: "20px", "z-index": "999" }
|
|
657
|
-
}, sn = { key: 1 };
|
|
658
|
-
function un(r, c, i, a, w, S) {
|
|
659
|
-
const p = _("PrinterOutlined"), g = _("BasicForm"), d = _("online-sub-form"), f = _("diff-outlined"), h = _("a-button"), P = _("form-outlined"), m = _("JVxeTable"), G = _("a-tab-pane"), A = _("a-tabs"), R = _("Loading"), N = _("online-pop-modal");
|
|
660
|
-
return k(), B("div", {
|
|
661
|
-
id: a.tableName + "_form"
|
|
662
|
-
}, [
|
|
663
|
-
a.dbData.id && a.onlineExtConfigJson.reportPrintShow ? (k(), B("div", rn, [
|
|
664
|
-
E(p, {
|
|
665
|
-
title: "打印",
|
|
666
|
-
onClick: a.onOpenReportPrint,
|
|
667
|
-
style: { "font-size": "16px" }
|
|
668
|
-
}, null, 8, ["onClick"])
|
|
669
|
-
])) : q("", !0),
|
|
670
|
-
E(g, {
|
|
671
|
-
ref: "onlineFormRef",
|
|
672
|
-
onRegister: a.registerForm
|
|
673
|
-
}, null, 8, ["onRegister"]),
|
|
674
|
-
i.themeTemplate !== a.ERP && a.hasSubTable ? (k(), H(A, {
|
|
675
|
-
key: 1,
|
|
676
|
-
activeKey: a.subActiveKey,
|
|
677
|
-
"onUpdate:activeKey": c[0] || (c[0] = (s) => a.subActiveKey = s)
|
|
678
|
-
}, {
|
|
679
|
-
default: J(() => [
|
|
680
|
-
(k(!0), B(kt, null, Pt(a.subTabInfo, (s, T) => (k(), H(G, {
|
|
681
|
-
tab: s.describe,
|
|
682
|
-
key: T + "",
|
|
683
|
-
forceRender: !0
|
|
684
|
-
}, {
|
|
685
|
-
default: J(() => [
|
|
686
|
-
s.relationType == 1 ? (k(), B("div", {
|
|
687
|
-
key: 0,
|
|
688
|
-
style: xt({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": a.subFormHeight + "px" })
|
|
689
|
-
}, [
|
|
690
|
-
E(d, {
|
|
691
|
-
ref_for: !0,
|
|
692
|
-
ref: a.refMap[s.key],
|
|
693
|
-
table: s.key,
|
|
694
|
-
disabled: a.onlineFormDisabled,
|
|
695
|
-
"form-template": i.formTemplate,
|
|
696
|
-
"main-id": a.getSubTableForeignKeyValue(s.foreignKey),
|
|
697
|
-
properties: s.properties,
|
|
698
|
-
"required-fields": s.requiredFields,
|
|
699
|
-
"is-update": a.isUpdate,
|
|
700
|
-
onFormChange: (v) => a.handleSubFormChange(v, s.key)
|
|
701
|
-
}, null, 8, ["table", "disabled", "form-template", "main-id", "properties", "required-fields", "is-update", "onFormChange"])
|
|
702
|
-
], 4)) : (k(), B("div", sn, [
|
|
703
|
-
E(m, {
|
|
704
|
-
ref_for: !0,
|
|
705
|
-
ref: a.refMap[s.key],
|
|
706
|
-
toolbar: "",
|
|
707
|
-
"keep-source": "",
|
|
708
|
-
"row-number": "",
|
|
709
|
-
"row-selection": "",
|
|
710
|
-
height: (
|
|
711
|
-
// 【VUEN-803】一对多子表固定340高度,修复自定义列组件被遮挡的问题
|
|
712
|
-
a.subTableHeight
|
|
713
|
-
),
|
|
714
|
-
disabled: a.onlineFormDisabled,
|
|
715
|
-
columns: s.columns,
|
|
716
|
-
dataSource: a.subDataSource[s.key],
|
|
717
|
-
onValueChange: (v) => a.handleValueChange(v, s.key),
|
|
718
|
-
authPre: a.getSubTableAuthPre(s.key),
|
|
719
|
-
onAdded: (v) => a.handleAdded(s, v),
|
|
720
|
-
onExecuteFillRule: (v) => a.handleSubTableDefaultValue(s, v)
|
|
721
|
-
}, {
|
|
722
|
-
toolbarSuffix: J(() => [
|
|
723
|
-
a.onlineFormDisabled ? q("", !0) : (k(), H(h, {
|
|
724
|
-
key: 0,
|
|
725
|
-
type: "primary",
|
|
726
|
-
onClick: (v) => a.openSubFormModalForAdd(s)
|
|
727
|
-
}, {
|
|
728
|
-
default: J(() => [
|
|
729
|
-
E(f)
|
|
730
|
-
]),
|
|
731
|
-
_: 2
|
|
732
|
-
}, 1032, ["onClick"])),
|
|
733
|
-
a.onlineFormDisabled ? q("", !0) : (k(), H(h, {
|
|
734
|
-
key: 1,
|
|
735
|
-
type: "primary",
|
|
736
|
-
onClick: (v) => a.openSubFormModalForEdit(s)
|
|
737
|
-
}, {
|
|
738
|
-
default: J(() => [
|
|
739
|
-
E(P)
|
|
740
|
-
]),
|
|
741
|
-
_: 2
|
|
742
|
-
}, 1032, ["onClick"]))
|
|
743
|
-
]),
|
|
744
|
-
_: 2
|
|
745
|
-
}, 1032, ["height", "disabled", "columns", "dataSource", "onValueChange", "authPre", "onAdded", "onExecuteFillRule"])
|
|
746
|
-
]))
|
|
747
|
-
]),
|
|
748
|
-
_: 2
|
|
749
|
-
}, 1032, ["tab"]))), 128))
|
|
750
|
-
]),
|
|
751
|
-
_: 1
|
|
752
|
-
}, 8, ["activeKey"])) : q("", !0),
|
|
753
|
-
E(R, {
|
|
754
|
-
loading: a.loading,
|
|
755
|
-
absolute: !1
|
|
756
|
-
}, null, 8, ["loading"]),
|
|
757
|
-
Et(r.$slots, "bottom"),
|
|
758
|
-
E(N, {
|
|
759
|
-
formTableType: "3",
|
|
760
|
-
request: a.popModalRequest,
|
|
761
|
-
id: a.popTableName,
|
|
762
|
-
onRegister: a.registerPopModal,
|
|
763
|
-
onSuccess: a.getPopFormData,
|
|
764
|
-
topTip: "",
|
|
765
|
-
isVxeTableData: ""
|
|
766
|
-
}, null, 8, ["request", "id", "onRegister", "onSuccess"])
|
|
767
|
-
], 8, an);
|
|
768
|
-
}
|
|
769
|
-
const cn = /* @__PURE__ */ en(ln, [["render", un]]), En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
770
|
-
__proto__: null,
|
|
771
|
-
default: cn
|
|
772
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
773
|
-
export {
|
|
774
|
-
on as G,
|
|
775
|
-
cn as O,
|
|
776
|
-
En as a,
|
|
777
|
-
nn as u
|
|
778
|
-
};
|