@jeecg/online 3.5.3-beta3 → 3.6.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/AuthButtonConfig-b6a674fa.mjs +125 -0
- package/AuthButtonTree-09e57bc4.mjs +156 -0
- package/AuthDataConfig-6e7e61ec.mjs +212 -0
- package/AuthDataTree-e83286c5.mjs +139 -0
- package/AuthFieldConfig-f1ec2708.mjs +139 -0
- package/AuthFieldTree-bb72e21f.mjs +232 -0
- package/AuthManagerDrawer-28a2d108.mjs +114 -0
- package/AuthSetterModal-2990d553.mjs +261 -0
- package/CgformCopyList-36a4cbf0.mjs +246 -0
- package/CgformModal-7399a5ac.mjs +611 -0
- package/CgreportModal-2eb9c9e1.mjs +13 -0
- package/CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs +566 -0
- package/CheckDictTable-3a8a54b3.mjs +211 -0
- package/CodeFileListModal-72f0d3bb.mjs +158 -0
- package/CodeFileViewModal-9eb88c47.mjs +244 -0
- package/CodeGeneratorModal-a89958f5.mjs +233 -0
- package/CustomButtonList-c44aec5a.mjs +363 -0
- package/DBAttributeTable-7d285e8d.mjs +473 -0
- package/DbToOnlineModal-d23cbeb1.mjs +160 -0
- package/DetailForm-2901d215.mjs +461 -0
- package/EnhanceJavaModal-153899a9.mjs +264 -0
- package/EnhanceJsHistory-7f5db3b1.mjs +184 -0
- package/EnhanceJsModal-c2fb75b8.mjs +311 -0
- package/EnhanceSqlModal-965e9b0a.mjs +268 -0
- package/ExtendConfigModal-8f08466f.mjs +111 -0
- package/FieldExtendJsonModal-adfcf5a7.mjs +219 -0
- package/FileSelectModal-432d4521.mjs +103 -0
- package/ForeignKeyTable-faab7ccf.mjs +69 -0
- package/IndexTable-0a2d3718.mjs +89 -0
- package/JModalTip-e1938b49.mjs +46 -0
- package/JOnlineSearchSelect-7e908492.mjs +95 -0
- package/LeftDepart-54f245b3.mjs +82 -0
- package/LeftRole-c138f892.mjs +86 -0
- package/LeftUser-9c812f8a.mjs +105 -0
- package/LinkTableConfigModal-c2c5c7e6.mjs +230 -0
- package/LinkTableFieldConfigModal-a3553b1f.mjs +176 -0
- package/LinkTableListPiece-7f793b08.mjs +34 -0
- package/ModalFormDemo-65685b0e.mjs +78 -0
- package/OnlCgformErpList-52c87ed3.mjs +449 -0
- package/OnlCgformErpSubTable-6e7fb17b.mjs +398 -0
- package/OnlCgformInnerSubTable-f0727b8f.mjs +248 -0
- package/OnlCgformInnerTableList-9f89c173.mjs +430 -0
- package/OnlCgformTabList-15516315.mjs +390 -0
- package/OnlineAutoList-63a0224f.mjs +474 -0
- package/OnlineAutoModal-ffe19c3f.mjs +206 -0
- package/OnlineAutoTreeList-317c7105.mjs +495 -0
- package/OnlineCustomModal-3939ce78.mjs +227 -0
- package/OnlineDetailModal-bfb1375f.mjs +177 -0
- package/OnlineForm-069f6092.mjs +749 -0
- package/OnlineFormDetail-ad5735fb.mjs +296 -0
- package/OnlineQueryForm-0771c80f.mjs +385 -0
- package/OnlineSearchFormItem-0db5834f.mjs +348 -0
- package/OnlineSelectCascade-a05c30f4.mjs +159 -0
- package/OnlineSubFormDetail-583d01eb.mjs +142 -0
- package/OnlineTabAutoModal-747e071d.mjs +253 -0
- package/OnlineTabDetailModal-887f0174.mjs +222 -0
- package/OnlineTabForm-b1dcd4b4.mjs +765 -0
- package/OnlineTabFormDetail-8e494a96.mjs +323 -0
- package/PageAttributeTable-5966b201.mjs +404 -0
- package/ProcessOnlineForm-4382bea7.mjs +177 -0
- package/QueryTable-6e8053ad.mjs +115 -0
- package/README.md +2 -1
- package/SuperQuery-78db6998.mjs +841 -0
- package/SuperQueryValComponent-471110b5.mjs +8 -0
- package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
- package/auth.api-d3a6c4b3.mjs +39 -0
- package/auth.data-8be5c9e3.mjs +141 -0
- package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
- package/constant-754f1a9d.mjs +9 -0
- package/enhance.api-138e6826.mjs +104 -0
- package/enhance.data-efc7e155.mjs +175 -0
- package/index-0a93652b.mjs +237 -0
- package/index-7e9a23f2.mjs +1494 -0
- package/index-b70302f2.mjs +56 -0
- package/main.index.js +7 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-0c603af1.mjs +424 -0
- package/useCustomHook-acb00837.mjs +53 -0
- package/useExtendComponent-aa1cdfc8.mjs +3917 -0
- package/useListButton-0f18bf6a.mjs +671 -0
- package/useOnlinePopEvent-687070b7.mjs +19 -0
- package/useOnlineTest-e4bd8be3.mjs +42 -0
- package/useSchemas-43429d80.mjs +685 -0
- package/useTableSync-774c3774.mjs +87 -0
- package/AuthButtonConfig.js +0 -147
- package/AuthButtonTree.js +0 -183
- package/AuthDataConfig.js +0 -246
- package/AuthDataTree.js +0 -160
- package/AuthFieldConfig.js +0 -170
- package/AuthFieldTree.js +0 -281
- package/AuthManagerDrawer.js +0 -125
- package/AuthSetterModal.js +0 -316
- package/CgformCopyList.js +0 -266
- package/CgformModal.js +0 -780
- package/CgreportModal.js +0 -667
- package/CheckDictTable.js +0 -242
- package/CodeFileListModal.js +0 -175
- package/CodeFileViewModal.js +0 -325
- package/CodeGeneratorModal.js +0 -297
- package/CustomButtonList.js +0 -410
- package/DBAttributeTable.js +0 -526
- package/DbToOnlineModal.js +0 -192
- package/DetailForm.js +0 -608
- package/EnhanceJavaModal.js +0 -298
- package/EnhanceJsHistory.js +0 -229
- package/EnhanceJsModal.js +0 -293
- package/EnhanceSqlModal.js +0 -299
- package/ExtendConfigModal.js +0 -151
- package/FieldExtendJsonModal.js +0 -283
- package/FileSelectModal.js +0 -102
- package/ForeignKeyTable.js +0 -79
- package/IndexTable.js +0 -97
- package/JModalTip.js +0 -54
- package/JOnlineSearchSelect.js +0 -115
- package/LICENSE +0 -9
- package/LeftDepart.js +0 -96
- package/LeftRole.js +0 -98
- package/LeftUser.js +0 -117
- package/LinkTableConfigModal.js +0 -289
- package/LinkTableFieldConfigModal.js +0 -218
- package/LinkTableListPiece.js +0 -36
- package/ModalFormDemo.js +0 -85
- package/OnlineAutoList.js +0 -523
- package/OnlineAutoModal.js +0 -226
- package/OnlineAutoTreeList.js +0 -552
- package/OnlineCustomModal.js +0 -286
- package/OnlineDetailModal.js +0 -190
- package/OnlineForm.js +0 -1016
- package/OnlineFormDetail.js +0 -347
- package/OnlineQueryForm.js +0 -484
- package/OnlineSearchFormItem.js +0 -436
- package/OnlineSelectCascade.js +0 -228
- package/OnlineSubFormDetail.js +0 -166
- package/PageAttributeTable.js +0 -486
- package/ProcessOnlineForm.js +0 -208
- package/QueryTable.js +0 -129
- package/SuperQuery.js +0 -1020
- package/SuperQueryValComponent.js +0 -8
- package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -168
- package/_arrayPush.js +0 -278
- package/_baseClone.js +0 -471
- package/_baseSlice.js +0 -18
- package/_commonjsHelpers.js +0 -5
- package/_flatRest.js +0 -174
- package/auth.api.js +0 -43
- package/auth.data.js +0 -142
- package/clipboard.js +0 -565
- package/enhance.api.js +0 -129
- package/enhance.data.js +0 -196
- package/index.js +0 -87
- package/index2.js +0 -340
- package/index3.js +0 -264
- package/isArray.js +0 -47
- package/omit.js +0 -60
- package/pick.js +0 -68
- package/toString.js +0 -31
- package/useCgformList.js +0 -470
- package/useExtendComponent.js +0 -5205
- package/useListButton.js +0 -923
- package/useOnlineTest.js +0 -44
- package/useSchemas.js +0 -653
- package/useTableSync.js +0 -117
|
@@ -0,0 +1,749 @@
|
|
|
1
|
+
var yt = Object.defineProperty;
|
|
2
|
+
var be = Object.getOwnPropertySymbols;
|
|
3
|
+
var vt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var ye = (r, f, i) => f in r ? yt(r, f, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[f] = i, x = (r, f) => {
|
|
5
|
+
for (var i in f || (f = {}))
|
|
6
|
+
vt.call(f, i) && ye(r, i, f[i]);
|
|
7
|
+
if (be)
|
|
8
|
+
for (var i of be(f))
|
|
9
|
+
Ft.call(f, i) && ye(r, i, f[i]);
|
|
10
|
+
return r;
|
|
11
|
+
};
|
|
12
|
+
var S = (r, f, i) => new Promise((a, R) => {
|
|
13
|
+
var w = (g) => {
|
|
14
|
+
try {
|
|
15
|
+
F(i.next(g));
|
|
16
|
+
} catch (d) {
|
|
17
|
+
R(d);
|
|
18
|
+
}
|
|
19
|
+
}, P = (g) => {
|
|
20
|
+
try {
|
|
21
|
+
F(i.throw(g));
|
|
22
|
+
} catch (d) {
|
|
23
|
+
R(d);
|
|
24
|
+
}
|
|
25
|
+
}, F = (g) => g.done ? a(g.value) : Promise.resolve(g.value).then(w, P);
|
|
26
|
+
F((i = i.apply(r, f)).next());
|
|
27
|
+
});
|
|
28
|
+
import { useMessage as _t } from "/@/hooks/web/useMessage";
|
|
29
|
+
import { ref as p, inject as St, reactive as Tt, computed as wt, resolveComponent as y, openBlock as T, createElementBlock as I, createVNode as C, createCommentVNode as K, createBlock as H, withCtx as N, Fragment as kt, renderList as Ct, normalizeStyle as Pt, renderSlot as Ot, unref as ve, nextTick as Fe, toRaw as D } from "vue";
|
|
30
|
+
import { BasicForm as xt, useForm as Rt } from "/@/components/Form/index";
|
|
31
|
+
import { c as Vt, O as At, d as Dt, e as Et, u as Mt, l as W, g as jt, V as J, S as Bt, f as It, h as _e } from "./useExtendComponent-aa1cdfc8.mjs";
|
|
32
|
+
import { defHttp as te } from "/@/utils/http/axios";
|
|
33
|
+
import { pick as Nt, omit as Se } from "lodash-es";
|
|
34
|
+
import { sleep as Jt, goJmReportViewPage as Lt } from "/@/utils";
|
|
35
|
+
import { Loading as Ut } from "/@/components/Loading";
|
|
36
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
37
|
+
import { getToken as qt } from "/@/utils/auth";
|
|
38
|
+
import { PrinterOutlined as Kt, DiffOutlined as Ht, FormOutlined as Wt } from "@ant-design/icons-vue";
|
|
39
|
+
import "/@/hooks/core/useContext";
|
|
40
|
+
import "/@/utils/mitt";
|
|
41
|
+
import { useModal as Gt } from "/@/components/Modal";
|
|
42
|
+
import { u as zt, G as Qt } from "./useCustomHook-acb00837.mjs";
|
|
43
|
+
import { E as G } from "./constant-754f1a9d.mjs";
|
|
44
|
+
import { _ as Yt } from "./index-b70302f2.mjs";
|
|
45
|
+
import "/@/components/Form/src/componentMap";
|
|
46
|
+
import "/@/utils/propTypes";
|
|
47
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
48
|
+
import "/@/views/system/user/user.api";
|
|
49
|
+
import "/@/store/modules/user";
|
|
50
|
+
import "/@/utils/desform/customExpression";
|
|
51
|
+
import "/@/store/modules/permission";
|
|
52
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
53
|
+
import "/@/utils/common/compUtils";
|
|
54
|
+
import "/@/components/Table";
|
|
55
|
+
import "/@/hooks/system/useListPage";
|
|
56
|
+
import "vue-router";
|
|
57
|
+
import "/@/components/Form/src/utils/Area";
|
|
58
|
+
import "/@/components/Preview/index";
|
|
59
|
+
import "./LinkTableListPiece-7f793b08.mjs";
|
|
60
|
+
import "./OnlineSelectCascade-a05c30f4.mjs";
|
|
61
|
+
import "./JModalTip-e1938b49.mjs";
|
|
62
|
+
import "ant-design-vue";
|
|
63
|
+
import "@vueuse/core";
|
|
64
|
+
import "/@/utils/cache";
|
|
65
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
66
|
+
const le = {
|
|
67
|
+
optPre: "/online/cgform/api/form/",
|
|
68
|
+
urlButtonAction: "/online/cgform/api/doButton"
|
|
69
|
+
}, Xt = {
|
|
70
|
+
name: "OnlineForm",
|
|
71
|
+
components: {
|
|
72
|
+
BasicForm: xt,
|
|
73
|
+
Loading: Ut,
|
|
74
|
+
OnlineSubForm: Vt,
|
|
75
|
+
PrinterOutlined: Kt,
|
|
76
|
+
DiffOutlined: Ht,
|
|
77
|
+
FormOutlined: Wt,
|
|
78
|
+
OnlinePopModal: At
|
|
79
|
+
},
|
|
80
|
+
props: {
|
|
81
|
+
id: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: ""
|
|
84
|
+
},
|
|
85
|
+
formTemplate: {
|
|
86
|
+
type: Number,
|
|
87
|
+
default: 1
|
|
88
|
+
},
|
|
89
|
+
disabled: {
|
|
90
|
+
type: Boolean,
|
|
91
|
+
default: !1
|
|
92
|
+
},
|
|
93
|
+
isTree: {
|
|
94
|
+
type: Boolean,
|
|
95
|
+
default: !1
|
|
96
|
+
},
|
|
97
|
+
pidField: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: ""
|
|
100
|
+
},
|
|
101
|
+
submitTip: {
|
|
102
|
+
type: Boolean,
|
|
103
|
+
default: !0
|
|
104
|
+
},
|
|
105
|
+
modalClass: {
|
|
106
|
+
type: String,
|
|
107
|
+
default: ""
|
|
108
|
+
},
|
|
109
|
+
themeTemplate: {
|
|
110
|
+
type: String,
|
|
111
|
+
default: ""
|
|
112
|
+
},
|
|
113
|
+
// update-begin--author:liaozhiyang---date:20231128---for:【QQYUN-7260】erp主表编辑时保存子表记录
|
|
114
|
+
// erp风格会传来所有子表数据
|
|
115
|
+
subTableSource: {
|
|
116
|
+
default: () => ({})
|
|
117
|
+
}
|
|
118
|
+
// update-end-author:liaozhiyang---date:20231128---for:【QQYUN-7260】erp主表编辑时保存子表记录
|
|
119
|
+
},
|
|
120
|
+
emits: ["success", "rendered"],
|
|
121
|
+
setup(r, { emit: f }) {
|
|
122
|
+
const { createMessage: i } = _t(), a = p(null), R = p(!0), w = p(!1), P = p(1), F = p(""), g = p(!1), d = p(!1), O = St("foreignkey", { value: {} }), V = Tt({
|
|
123
|
+
reportPrintShow: 0,
|
|
124
|
+
reportPrintUrl: "",
|
|
125
|
+
joinQuery: 0,
|
|
126
|
+
modelFullscreen: 0,
|
|
127
|
+
modalMinWidth: "",
|
|
128
|
+
commentStatus: 0
|
|
129
|
+
}), { onlineFormContext: c, resetContext: z } = Dt(), {
|
|
130
|
+
formSchemas: E,
|
|
131
|
+
defaultValueFields: A,
|
|
132
|
+
changeDataIfArray2String: L,
|
|
133
|
+
tableName: s,
|
|
134
|
+
dbData: v,
|
|
135
|
+
checkOnlyFieldValue: h,
|
|
136
|
+
hasSubTable: Te,
|
|
137
|
+
subTabInfo: M,
|
|
138
|
+
refMap: Q,
|
|
139
|
+
subDataSource: U,
|
|
140
|
+
baseColProps: we,
|
|
141
|
+
createFormSchemas: ke,
|
|
142
|
+
linkDownList: ll,
|
|
143
|
+
fieldDisplayStatus: j
|
|
144
|
+
} = Et(r, a);
|
|
145
|
+
let { EnhanceJS: u, initCgEnhanceJs: Ce } = Mt(c, !1);
|
|
146
|
+
const { executeJsEnhanced: Pe } = zt({}, c), [Oe, { setProps: xe, validate: oe, resetFields: ne, setFieldsValue: k, updateSchema: Y, getFieldsValue: X, scrollToField: Re }] = Rt({
|
|
147
|
+
schemas: E,
|
|
148
|
+
showActionButtonGroup: !1,
|
|
149
|
+
baseColProps: we
|
|
150
|
+
}), ae = p(!1);
|
|
151
|
+
function Ve() {
|
|
152
|
+
let e = r.disabled;
|
|
153
|
+
ae.value = e, xe({ disabled: e });
|
|
154
|
+
}
|
|
155
|
+
function Ae(e, t, l) {
|
|
156
|
+
return S(this, null, function* () {
|
|
157
|
+
yield De(), F.value = "", yield ne(), v.value = "";
|
|
158
|
+
let o = ve(e);
|
|
159
|
+
d.value = o, o ? yield re(t) : se(), Fe(() => {
|
|
160
|
+
!o && l && k(l), Ee(), Z("js", "loaded"), Ve();
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
function De() {
|
|
165
|
+
return S(this, null, function* () {
|
|
166
|
+
if (r.isTree === !0) {
|
|
167
|
+
let e = r.pidField, t = E.value;
|
|
168
|
+
t && t.length > 0 && t.filter((o) => o.field === e).length > 0 && (yield Y({
|
|
169
|
+
field: e,
|
|
170
|
+
componentProps: {
|
|
171
|
+
reload: (/* @__PURE__ */ new Date()).getTime()
|
|
172
|
+
}
|
|
173
|
+
}));
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function Ee() {
|
|
178
|
+
if (ve(d) === !1) {
|
|
179
|
+
let e = D(A[s.value]);
|
|
180
|
+
W(e, (t) => {
|
|
181
|
+
k(t);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
function ie(e, t) {
|
|
186
|
+
let l = D(A[e.key]);
|
|
187
|
+
W(l, (o) => {
|
|
188
|
+
const { row: n, target: m } = t;
|
|
189
|
+
let _ = [{ rowKey: n.id, values: x({}, o) }];
|
|
190
|
+
m.setValues(_);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
function re(e) {
|
|
194
|
+
return S(this, null, function* () {
|
|
195
|
+
let t = yield je(e.id);
|
|
196
|
+
v.value = Object.assign({}, e, t);
|
|
197
|
+
let l = Me.value, o = Nt(t, ...l);
|
|
198
|
+
r.disabled && Object.keys(o).map((n) => {
|
|
199
|
+
!o[n] && o[n] !== 0 && o[n] !== "0" && delete o[n];
|
|
200
|
+
}), yield k(o), se(t);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
function se(e) {
|
|
204
|
+
e || (e = {});
|
|
205
|
+
let t = Object.keys(U.value);
|
|
206
|
+
if (t && t.length > 0) {
|
|
207
|
+
let l = {};
|
|
208
|
+
for (let o of t)
|
|
209
|
+
l[o] = e[o] || [];
|
|
210
|
+
U.value = l;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
let Me = wt(() => {
|
|
214
|
+
let e = E.value, t = [];
|
|
215
|
+
for (let l of e)
|
|
216
|
+
t.push(l.field);
|
|
217
|
+
return t;
|
|
218
|
+
});
|
|
219
|
+
function je(e) {
|
|
220
|
+
let t = `${le.optPre}${r.id}/${e}`;
|
|
221
|
+
return new Promise((l, o) => {
|
|
222
|
+
te.get({ url: t }, { isTransformResponse: !1 }).then((n) => {
|
|
223
|
+
n.success ? l(n.result) : (o(), i.warning(n.message));
|
|
224
|
+
}).catch(() => {
|
|
225
|
+
o();
|
|
226
|
+
});
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function Be(e) {
|
|
230
|
+
return S(this, null, function* () {
|
|
231
|
+
P.value = e.head.tableType, s.value = e.head.tableName, R.value = e.head.tableType == 1, Je(e.head.extConfigJson), ke(e.schema.properties, e.schema.required, h), u = Ce(e.enhanceJs), f("rendered", V);
|
|
232
|
+
let t = yield jt(a);
|
|
233
|
+
t.$formValueChange = (l, o, n) => {
|
|
234
|
+
lt(l, o), n && k(n), Ie(l, o, n);
|
|
235
|
+
}, u && u.setup && de(u.setup);
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
function Ie(e, t, l) {
|
|
239
|
+
c.changEvent(e, t, l);
|
|
240
|
+
}
|
|
241
|
+
function Ne(e) {
|
|
242
|
+
c.addObject2Context("changEvent", e);
|
|
243
|
+
}
|
|
244
|
+
function Je(e) {
|
|
245
|
+
let t = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 0, modalMinWidth: "", commentStatus: 0 };
|
|
246
|
+
e && (t = JSON.parse(e)), Object.keys(t).map((l) => {
|
|
247
|
+
V[l] = t[l];
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
function Le() {
|
|
251
|
+
R.value === !0 ? We() : Ue();
|
|
252
|
+
}
|
|
253
|
+
function Ue() {
|
|
254
|
+
qe().then((e) => {
|
|
255
|
+
ue(e);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
function qe() {
|
|
259
|
+
let e = {};
|
|
260
|
+
return new Promise((t, l) => {
|
|
261
|
+
oe().then(
|
|
262
|
+
(o) => t(o),
|
|
263
|
+
({ errorFields: o }) => {
|
|
264
|
+
o && o.length > 0 && Re(o[0][0]), l(J);
|
|
265
|
+
}
|
|
266
|
+
);
|
|
267
|
+
}).then((t) => (Object.assign(e, L(t)), r.themeTemplate === G ? Promise.resolve({}) : He())).then((t) => (Object.assign(e, t), Promise.resolve(e))).catch((t) => ((t === J || (t == null ? void 0 : t.code) === J) && (i.warning("校验未通过"), t.key && Ke(t.key)), Promise.reject(null)));
|
|
268
|
+
}
|
|
269
|
+
function Ke(e) {
|
|
270
|
+
let t = M.value;
|
|
271
|
+
for (let l = 0; l < t.length; l++)
|
|
272
|
+
if (e == t[l].key) {
|
|
273
|
+
let o = l + "";
|
|
274
|
+
if (q.value === o)
|
|
275
|
+
break;
|
|
276
|
+
if (q.value = o, t[l].relationType === 0) {
|
|
277
|
+
let n = b(e);
|
|
278
|
+
Jt(300, () => n == null ? void 0 : n.validateTable());
|
|
279
|
+
}
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
function He() {
|
|
284
|
+
return new Promise((e, t) => S(this, null, function* () {
|
|
285
|
+
let l = {};
|
|
286
|
+
try {
|
|
287
|
+
let o = M.value;
|
|
288
|
+
for (let n = 0; n < o.length; n++) {
|
|
289
|
+
let m = o[n].key, _ = b(m);
|
|
290
|
+
if (o[n].relationType == 1)
|
|
291
|
+
try {
|
|
292
|
+
let B = yield _.getAll();
|
|
293
|
+
l[m] = [], l[m].push(B);
|
|
294
|
+
} catch (B) {
|
|
295
|
+
throw { code: J, key: m };
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
if (yield _.fullValidateTable())
|
|
299
|
+
throw { code: J, key: m };
|
|
300
|
+
l[m] = _.getTableData();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
} catch (o) {
|
|
304
|
+
t(o);
|
|
305
|
+
}
|
|
306
|
+
e(l);
|
|
307
|
+
}));
|
|
308
|
+
}
|
|
309
|
+
function We() {
|
|
310
|
+
return S(this, null, function* () {
|
|
311
|
+
try {
|
|
312
|
+
let e = yield oe();
|
|
313
|
+
e = Object.assign({}, v.value, e), e = L(e), w.value = !0, ue(e);
|
|
314
|
+
} finally {
|
|
315
|
+
w.value = !1;
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
function ue(e) {
|
|
320
|
+
r.themeTemplate === G && d.value && Object.keys(r.subTableSource).length && (e = x(x({}, e), r.subTableSource)), at(he, e).then(() => {
|
|
321
|
+
Ge(e);
|
|
322
|
+
}).catch((t) => {
|
|
323
|
+
i.warning(t);
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
function Ge(e) {
|
|
327
|
+
Object.keys(e).map((n) => {
|
|
328
|
+
Array.isArray(e[n]) && e[n].length == 0 && (e[n] = "");
|
|
329
|
+
});
|
|
330
|
+
let t = F.value, l = `${le.optPre}${r.id}?tabletype=${P.value}`;
|
|
331
|
+
t && (l = `${t}?tabletype=${P.value}`), g.value === !0 && (e[Bt] = 1), O.value.field && O.value.value && (e[O.value.field] = O.value.value);
|
|
332
|
+
let o = d.value === !0 ? "put" : "post";
|
|
333
|
+
te.request({ url: l, method: o, params: e }, { isTransformResponse: !1 }).then((n) => {
|
|
334
|
+
n.success ? (n.result && (e[It] = n.result), f("success", e), r.submitTip === !0 && i.success(n.message)) : i.warning(n.message);
|
|
335
|
+
}).finally(() => {
|
|
336
|
+
w.value = !1;
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
function ze(e, t, l) {
|
|
340
|
+
t && l ? l.vxeProps ? l.setValues([
|
|
341
|
+
{
|
|
342
|
+
rowKey: t,
|
|
343
|
+
values: e
|
|
344
|
+
}
|
|
345
|
+
]) : l.setValues(e) : k(e);
|
|
346
|
+
}
|
|
347
|
+
function Qe(e, t) {
|
|
348
|
+
let l = {};
|
|
349
|
+
l[e] = t, k(l);
|
|
350
|
+
}
|
|
351
|
+
const q = p("0"), fe = p(300), ce = p(340);
|
|
352
|
+
function Ye(e) {
|
|
353
|
+
if (d.value === !0) {
|
|
354
|
+
let t = v.value;
|
|
355
|
+
return Xe(t, e);
|
|
356
|
+
}
|
|
357
|
+
return "";
|
|
358
|
+
}
|
|
359
|
+
function Xe(e, t) {
|
|
360
|
+
if (e) {
|
|
361
|
+
let l = e[t];
|
|
362
|
+
return !l && l !== 0 && (l = e[t.toLowerCase()], !l && l !== 0 && (l = e[t.toUpperCase()])), l;
|
|
363
|
+
}
|
|
364
|
+
return "";
|
|
365
|
+
}
|
|
366
|
+
function Ze(e, t) {
|
|
367
|
+
if (u && u[t + "_onlChange"]) {
|
|
368
|
+
let l = u[t + "_onlChange"](), o = Object.keys(e)[0];
|
|
369
|
+
if (l[o]) {
|
|
370
|
+
let m = b(t).getFormEvent(), _ = x({
|
|
371
|
+
column: { key: o },
|
|
372
|
+
value: e[o]
|
|
373
|
+
}, m);
|
|
374
|
+
l[o].call(c, c, _);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
function $e(e, t) {
|
|
379
|
+
if (u && u[t + "_onlChange"]) {
|
|
380
|
+
let l = u[t + "_onlChange"](c);
|
|
381
|
+
if (e.column === "all") {
|
|
382
|
+
let o = Object.keys(l);
|
|
383
|
+
if (o.length > 0)
|
|
384
|
+
for (let n of o)
|
|
385
|
+
l[n].call(c, c, e);
|
|
386
|
+
} else {
|
|
387
|
+
let o = e.column.key || e.col.key;
|
|
388
|
+
l[o] && e.row && e.row.id && l[o].call(c, c, e);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
function et(e, t) {
|
|
393
|
+
t.isModalData || ie(e, t);
|
|
394
|
+
}
|
|
395
|
+
function tt(e) {
|
|
396
|
+
return "online_" + e + ":";
|
|
397
|
+
}
|
|
398
|
+
function lt(e, t) {
|
|
399
|
+
return S(this, null, function* () {
|
|
400
|
+
if (!u || !u.onlChange || !e)
|
|
401
|
+
return !1;
|
|
402
|
+
let l = u.onlChange();
|
|
403
|
+
if (l[e]) {
|
|
404
|
+
let n = {
|
|
405
|
+
row: yield X(),
|
|
406
|
+
column: { key: e },
|
|
407
|
+
value: t
|
|
408
|
+
};
|
|
409
|
+
l[e].call(c, c, n);
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
function de(e) {
|
|
414
|
+
let l = e.toLocaleString().match(Qt);
|
|
415
|
+
if (l.length > 1) {
|
|
416
|
+
let o = l[1];
|
|
417
|
+
Pe(o);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
function Z(e, t) {
|
|
421
|
+
if (e == "js") {
|
|
422
|
+
let l = t + "_hook";
|
|
423
|
+
u && u[t] ? u[t].call(c, c) : u && u[l] && de(u[l]);
|
|
424
|
+
} else if (e == "action") {
|
|
425
|
+
let l = v.value, o = {
|
|
426
|
+
formId: r.id,
|
|
427
|
+
buttonCode: t,
|
|
428
|
+
dataId: l.id,
|
|
429
|
+
uiFormData: Object.assign({}, l)
|
|
430
|
+
};
|
|
431
|
+
te.post(
|
|
432
|
+
{
|
|
433
|
+
url: `${le.urlButtonAction}`,
|
|
434
|
+
params: o
|
|
435
|
+
},
|
|
436
|
+
{ isTransformResponse: !1 }
|
|
437
|
+
).then((n) => {
|
|
438
|
+
n.success ? i.success("处理完成!") : i.warning("处理失败!");
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
function me(e) {
|
|
443
|
+
let t = b(e), l = [...t.getNewDataWithId(), ...U.value[e]];
|
|
444
|
+
if (!l || l.length == 0)
|
|
445
|
+
return !1;
|
|
446
|
+
let o = [];
|
|
447
|
+
for (let n of l)
|
|
448
|
+
o.push(n.id);
|
|
449
|
+
t.removeRowsById(o);
|
|
450
|
+
}
|
|
451
|
+
function pe(e, t) {
|
|
452
|
+
if (!t)
|
|
453
|
+
return !1;
|
|
454
|
+
let l = b(e);
|
|
455
|
+
typeof t == "object" ? l.addRows(t, !0) : this.$message.error("添加子表数据,参数不识别!");
|
|
456
|
+
}
|
|
457
|
+
function ot(e, t) {
|
|
458
|
+
me(e), pe(e, t);
|
|
459
|
+
}
|
|
460
|
+
function nt(e, t) {
|
|
461
|
+
!t && t.length <= 0 && (t = []), t.map((l) => {
|
|
462
|
+
l.hasOwnProperty("label") || (l.label = l.text);
|
|
463
|
+
}), Y({
|
|
464
|
+
field: e,
|
|
465
|
+
componentProps: {
|
|
466
|
+
options: t
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
function at(e, t) {
|
|
471
|
+
return u && u.beforeSubmit ? u.beforeSubmit(e, t) : Promise.resolve();
|
|
472
|
+
}
|
|
473
|
+
function it(e, t) {
|
|
474
|
+
let l = D(j);
|
|
475
|
+
e && e.length > 0 ? Object.keys(l).map((o) => {
|
|
476
|
+
!o.endsWith("_load") && e.indexOf(o) < 0 && (j[o] = !1);
|
|
477
|
+
}) : t && t.length > 0 && Object.keys(l).map((o) => {
|
|
478
|
+
t.indexOf(o) >= 0 && (j[o] = !1);
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
function rt(e, t) {
|
|
482
|
+
return S(this, null, function* () {
|
|
483
|
+
F.value = t, yield ne(), v.value = "", d.value = !0, yield re(e), yield Fe(() => {
|
|
484
|
+
Z("js", "loaded");
|
|
485
|
+
});
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
function b(e) {
|
|
489
|
+
let t = Q[e].value;
|
|
490
|
+
if (t instanceof Array && (t = t[0]), !t) {
|
|
491
|
+
i.warning("子表ref找不到:" + e);
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
494
|
+
return t;
|
|
495
|
+
}
|
|
496
|
+
function st() {
|
|
497
|
+
let e = V.reportPrintUrl, t = v.value.id, l = qt();
|
|
498
|
+
Lt(e, t, l);
|
|
499
|
+
}
|
|
500
|
+
const [ut, { openModal: ge }] = Gt(), $ = p(""), ee = p(!0);
|
|
501
|
+
function ft(e) {
|
|
502
|
+
$.value = e.id, ee.value = !1, ge(!0, { isUpdate: !1, tableType: "3" });
|
|
503
|
+
}
|
|
504
|
+
function ct(e) {
|
|
505
|
+
let l = b(e.key).getSelectedData();
|
|
506
|
+
if (l.length != 1) {
|
|
507
|
+
i.warning("请选择一条数据");
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
$.value = e.id, ee.value = !1, ge(!0, { isUpdate: !0, record: l[0] });
|
|
511
|
+
}
|
|
512
|
+
function dt(e) {
|
|
513
|
+
const t = e[_e];
|
|
514
|
+
let l = Se(e, [_e]);
|
|
515
|
+
if (l.id) {
|
|
516
|
+
let o = Se(x({}, l), "id"), n = [{ rowKey: l.id, values: o }];
|
|
517
|
+
b(t).setValues(n);
|
|
518
|
+
} else
|
|
519
|
+
b(t).addRows(l, { isOnlineJS: !1, setActive: !1, emitChange: !0, isModalData: !0 });
|
|
520
|
+
}
|
|
521
|
+
function mt() {
|
|
522
|
+
if (r.themeTemplate === G)
|
|
523
|
+
return;
|
|
524
|
+
let e = M.value;
|
|
525
|
+
if (e && e.length > 0) {
|
|
526
|
+
for (let t of e)
|
|
527
|
+
if (t.relationType != 1) {
|
|
528
|
+
let l = b(t.key);
|
|
529
|
+
l && l.clearSelection();
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
function pt() {
|
|
534
|
+
let e = X(), t = D(A[s.value]);
|
|
535
|
+
W(t, (l) => {
|
|
536
|
+
k(l);
|
|
537
|
+
}, e);
|
|
538
|
+
}
|
|
539
|
+
function gt(e, t) {
|
|
540
|
+
let l = M.value;
|
|
541
|
+
if (l && l.length > 0) {
|
|
542
|
+
let o = l.filter((n) => n.key === e);
|
|
543
|
+
if (o.length == 0)
|
|
544
|
+
return;
|
|
545
|
+
if (o[0].relationType == 1)
|
|
546
|
+
b(e).executeFillRule();
|
|
547
|
+
else {
|
|
548
|
+
let n = D(A[e]), m = D(t.row);
|
|
549
|
+
W(n, (_) => {
|
|
550
|
+
const { row: B, target: ht } = t;
|
|
551
|
+
let bt = [{ rowKey: B.id, values: x({}, _) }];
|
|
552
|
+
ht.setValues(bt);
|
|
553
|
+
}, m);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
let he = {
|
|
558
|
+
tableName: s,
|
|
559
|
+
loading: w,
|
|
560
|
+
subActiveKey: q,
|
|
561
|
+
onlineFormRef: a,
|
|
562
|
+
getFieldsValue: X,
|
|
563
|
+
setFieldsValue: k,
|
|
564
|
+
submitFlowFlag: g,
|
|
565
|
+
subFormHeight: fe,
|
|
566
|
+
subTableHeight: ce,
|
|
567
|
+
refMap: Q,
|
|
568
|
+
triggleChangeValues: ze,
|
|
569
|
+
triggleChangeValue: Qe,
|
|
570
|
+
sh: j,
|
|
571
|
+
clearSubRows: me,
|
|
572
|
+
addSubRows: pe,
|
|
573
|
+
clearThenAddRows: ot,
|
|
574
|
+
changeOptions: nt,
|
|
575
|
+
isUpdate: d,
|
|
576
|
+
getSubTableInstance: b,
|
|
577
|
+
updateSchema: Y,
|
|
578
|
+
executeMainFillRule: pt,
|
|
579
|
+
executeSubFillRule: gt,
|
|
580
|
+
changEvent: () => {
|
|
581
|
+
},
|
|
582
|
+
onlineFormValueChange: Ne
|
|
583
|
+
};
|
|
584
|
+
return z(he), {
|
|
585
|
+
//主表
|
|
586
|
+
tableName: s,
|
|
587
|
+
onlineFormRef: a,
|
|
588
|
+
registerForm: Oe,
|
|
589
|
+
loading: w,
|
|
590
|
+
//子表
|
|
591
|
+
subActiveKey: q,
|
|
592
|
+
hasSubTable: Te,
|
|
593
|
+
subTabInfo: M,
|
|
594
|
+
refMap: Q,
|
|
595
|
+
//一对一子表
|
|
596
|
+
subFormHeight: fe,
|
|
597
|
+
getSubTableForeignKeyValue: Ye,
|
|
598
|
+
isUpdate: d,
|
|
599
|
+
handleSubFormChange: Ze,
|
|
600
|
+
//一对多子表
|
|
601
|
+
subTableHeight: ce,
|
|
602
|
+
onlineFormDisabled: ae,
|
|
603
|
+
subDataSource: U,
|
|
604
|
+
getSubTableAuthPre: tt,
|
|
605
|
+
handleAdded: et,
|
|
606
|
+
handleSubTableDefaultValue: ie,
|
|
607
|
+
handleValueChange: $e,
|
|
608
|
+
openSubFormModalForAdd: ft,
|
|
609
|
+
openSubFormModalForEdit: ct,
|
|
610
|
+
//父组件调用
|
|
611
|
+
show: Ae,
|
|
612
|
+
createRootProperties: Be,
|
|
613
|
+
handleSubmit: Le,
|
|
614
|
+
sh: j,
|
|
615
|
+
handleCgButtonClick: Z,
|
|
616
|
+
handleCustomFormSh: it,
|
|
617
|
+
handleCustomFormEdit: rt,
|
|
618
|
+
//跳转
|
|
619
|
+
dbData: v,
|
|
620
|
+
onOpenReportPrint: st,
|
|
621
|
+
onlineExtConfigJson: V,
|
|
622
|
+
//一对多子表弹窗操作数据
|
|
623
|
+
registerPopModal: ut,
|
|
624
|
+
popTableName: $,
|
|
625
|
+
getPopFormData: dt,
|
|
626
|
+
popModalRequest: ee,
|
|
627
|
+
onCloseModal: mt,
|
|
628
|
+
ERP: G
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
}, Zt = ["id"], $t = {
|
|
632
|
+
key: 0,
|
|
633
|
+
style: { "text-align": "right", position: "absolute", top: "6px", right: "20px", "z-index": "999" }
|
|
634
|
+
}, el = { key: 1 };
|
|
635
|
+
function tl(r, f, i, a, R, w) {
|
|
636
|
+
const P = y("PrinterOutlined"), F = y("BasicForm"), g = y("online-sub-form"), d = y("diff-outlined"), O = y("a-button"), V = y("form-outlined"), c = y("JVxeTable"), z = y("a-tab-pane"), E = y("a-tabs"), A = y("Loading"), L = y("online-pop-modal");
|
|
637
|
+
return T(), I("div", {
|
|
638
|
+
id: a.tableName + "_form"
|
|
639
|
+
}, [
|
|
640
|
+
a.dbData.id && a.onlineExtConfigJson.reportPrintShow ? (T(), I("div", $t, [
|
|
641
|
+
C(P, {
|
|
642
|
+
title: "打印",
|
|
643
|
+
onClick: a.onOpenReportPrint,
|
|
644
|
+
style: { "font-size": "16px" }
|
|
645
|
+
}, null, 8, ["onClick"])
|
|
646
|
+
])) : K("", !0),
|
|
647
|
+
C(F, {
|
|
648
|
+
ref: "onlineFormRef",
|
|
649
|
+
onRegister: a.registerForm
|
|
650
|
+
}, null, 8, ["onRegister"]),
|
|
651
|
+
i.themeTemplate !== a.ERP && a.hasSubTable ? (T(), H(E, {
|
|
652
|
+
key: 1,
|
|
653
|
+
activeKey: a.subActiveKey,
|
|
654
|
+
"onUpdate:activeKey": f[0] || (f[0] = (s) => a.subActiveKey = s)
|
|
655
|
+
}, {
|
|
656
|
+
default: N(() => [
|
|
657
|
+
(T(!0), I(kt, null, Ct(a.subTabInfo, (s, v) => (T(), H(z, {
|
|
658
|
+
tab: s.describe,
|
|
659
|
+
key: v + "",
|
|
660
|
+
forceRender: !0
|
|
661
|
+
}, {
|
|
662
|
+
default: N(() => [
|
|
663
|
+
s.relationType == 1 ? (T(), I("div", {
|
|
664
|
+
key: 0,
|
|
665
|
+
style: Pt({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": a.subFormHeight + "px" })
|
|
666
|
+
}, [
|
|
667
|
+
C(g, {
|
|
668
|
+
ref_for: !0,
|
|
669
|
+
ref: a.refMap[s.key],
|
|
670
|
+
table: s.key,
|
|
671
|
+
disabled: a.onlineFormDisabled,
|
|
672
|
+
"form-template": i.formTemplate,
|
|
673
|
+
"main-id": a.getSubTableForeignKeyValue(s.foreignKey),
|
|
674
|
+
properties: s.properties,
|
|
675
|
+
"required-fields": s.requiredFields,
|
|
676
|
+
"is-update": a.isUpdate,
|
|
677
|
+
onFormChange: (h) => a.handleSubFormChange(h, s.key)
|
|
678
|
+
}, null, 8, ["table", "disabled", "form-template", "main-id", "properties", "required-fields", "is-update", "onFormChange"])
|
|
679
|
+
], 4)) : (T(), I("div", el, [
|
|
680
|
+
C(c, {
|
|
681
|
+
ref_for: !0,
|
|
682
|
+
ref: a.refMap[s.key],
|
|
683
|
+
toolbar: "",
|
|
684
|
+
"keep-source": "",
|
|
685
|
+
"row-number": "",
|
|
686
|
+
"row-selection": "",
|
|
687
|
+
height: (
|
|
688
|
+
// 【VUEN-803】一对多子表固定340高度,修复自定义列组件被遮挡的问题
|
|
689
|
+
a.subTableHeight
|
|
690
|
+
),
|
|
691
|
+
disabled: a.onlineFormDisabled,
|
|
692
|
+
columns: s.columns,
|
|
693
|
+
dataSource: a.subDataSource[s.key],
|
|
694
|
+
onValueChange: (h) => a.handleValueChange(h, s.key),
|
|
695
|
+
authPre: a.getSubTableAuthPre(s.key),
|
|
696
|
+
onAdded: (h) => a.handleAdded(s, h),
|
|
697
|
+
onExecuteFillRule: (h) => a.handleSubTableDefaultValue(s, h)
|
|
698
|
+
}, {
|
|
699
|
+
toolbarSuffix: N(() => [
|
|
700
|
+
a.onlineFormDisabled ? K("", !0) : (T(), H(O, {
|
|
701
|
+
key: 0,
|
|
702
|
+
type: "primary",
|
|
703
|
+
onClick: (h) => a.openSubFormModalForAdd(s)
|
|
704
|
+
}, {
|
|
705
|
+
default: N(() => [
|
|
706
|
+
C(d)
|
|
707
|
+
]),
|
|
708
|
+
_: 2
|
|
709
|
+
}, 1032, ["onClick"])),
|
|
710
|
+
a.onlineFormDisabled ? K("", !0) : (T(), H(O, {
|
|
711
|
+
key: 1,
|
|
712
|
+
type: "primary",
|
|
713
|
+
onClick: (h) => a.openSubFormModalForEdit(s)
|
|
714
|
+
}, {
|
|
715
|
+
default: N(() => [
|
|
716
|
+
C(V)
|
|
717
|
+
]),
|
|
718
|
+
_: 2
|
|
719
|
+
}, 1032, ["onClick"]))
|
|
720
|
+
]),
|
|
721
|
+
_: 2
|
|
722
|
+
}, 1032, ["height", "disabled", "columns", "dataSource", "onValueChange", "authPre", "onAdded", "onExecuteFillRule"])
|
|
723
|
+
]))
|
|
724
|
+
]),
|
|
725
|
+
_: 2
|
|
726
|
+
}, 1032, ["tab"]))), 128))
|
|
727
|
+
]),
|
|
728
|
+
_: 1
|
|
729
|
+
}, 8, ["activeKey"])) : K("", !0),
|
|
730
|
+
C(A, {
|
|
731
|
+
loading: a.loading,
|
|
732
|
+
absolute: !1
|
|
733
|
+
}, null, 8, ["loading"]),
|
|
734
|
+
Ot(r.$slots, "bottom"),
|
|
735
|
+
C(L, {
|
|
736
|
+
formTableType: "3",
|
|
737
|
+
request: a.popModalRequest,
|
|
738
|
+
id: a.popTableName,
|
|
739
|
+
onRegister: a.registerPopModal,
|
|
740
|
+
onSuccess: a.getPopFormData,
|
|
741
|
+
topTip: "",
|
|
742
|
+
isVxeTableData: ""
|
|
743
|
+
}, null, 8, ["request", "id", "onRegister", "onSuccess"])
|
|
744
|
+
], 8, Zt);
|
|
745
|
+
}
|
|
746
|
+
const Ul = /* @__PURE__ */ Yt(Xt, [["render", tl]]);
|
|
747
|
+
export {
|
|
748
|
+
Ul as default
|
|
749
|
+
};
|