@jeecg/online 3.6.2-beta → 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-3aa0ed49.mjs → AuthButtonTree-589395ed.mjs} +2 -2
- package/AuthDataConfig-7bb0cd85.mjs +237 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
- package/AuthFieldConfig-490fc0ab.mjs +139 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
- package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
- package/AuthSetterModal-6f74449c.mjs +273 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
- package/{CgformModal-eccfc38e.mjs → CgformModal-36faf29a.mjs} +256 -246
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-5a23d089.mjs} +154 -131
- package/CheckDictTable-b5cb0e2b.mjs +226 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
- package/{CodeFileViewModal-373e8058.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
- package/CodeGeneratorModal-b722d976.mjs +238 -0
- package/{CustomButtonList-02e3d897.mjs → CustomButtonList-37639061.mjs} +118 -100
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
- package/{DbToOnlineModal-9f13956f.mjs → DbToOnlineModal-f49b9530.mjs} +57 -51
- package/DetailForm-4aa2570b.mjs +485 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
- package/EnhanceJsModal-247f640d.mjs +532 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
- package/ExtendConfigModal-00f2fb55.mjs +117 -0
- package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-38660e3c.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-1b496559.mjs} +10 -10
- package/{JModalTip-33c7dc44.mjs → JModalTip-4a83aaed.mjs} +1 -1
- package/{JOnlineSearchSelect-c287af12.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
- package/{LeftDepart-fa85523d.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-7d8c5acc.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-b4d1372a.mjs} +3 -3
- package/LinkTableConfigModal-a138c85e.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.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-89265688.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
- package/{OnlineDetailModal-9675390d.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-0cc85a8a.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
- package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.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-67558898.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-49508cad.mjs → index-581bef24.mjs} +29 -27
- package/{index-b7a05eef.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-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/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- 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/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/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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
var re = Object.defineProperty;
|
|
2
|
+
var j = Object.getOwnPropertySymbols;
|
|
3
|
+
var ie = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var N = (i, a, r) => a in i ? re(i, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[a] = r, V = (i, a) => {
|
|
5
|
+
for (var r in a || (a = {}))
|
|
6
|
+
ie.call(a, r) && N(i, r, a[r]);
|
|
7
|
+
if (j)
|
|
8
|
+
for (var r of j(a))
|
|
9
|
+
ae.call(a, r) && N(i, r, a[r]);
|
|
10
|
+
return i;
|
|
11
|
+
};
|
|
12
|
+
var k = (i, a, r) => new Promise((t, p) => {
|
|
13
|
+
var c = (m) => {
|
|
14
|
+
try {
|
|
15
|
+
b(r.next(m));
|
|
16
|
+
} catch (g) {
|
|
17
|
+
p(g);
|
|
18
|
+
}
|
|
19
|
+
}, s = (m) => {
|
|
20
|
+
try {
|
|
21
|
+
b(r.throw(m));
|
|
22
|
+
} catch (g) {
|
|
23
|
+
p(g);
|
|
24
|
+
}
|
|
25
|
+
}, b = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(c, s);
|
|
26
|
+
b((r = r.apply(i, a)).next());
|
|
27
|
+
});
|
|
28
|
+
import { useMessage as le } from "/@/hooks/web/useMessage";
|
|
29
|
+
import { nextTick as me, ref as d, reactive as R, watch as se, resolveComponent as h, openBlock as f, createElementBlock as x, createVNode as w, createCommentVNode as I, createBlock as F, withCtx as B, Fragment as ce, renderList as ue, normalizeStyle as fe, renderSlot as pe } from "vue";
|
|
30
|
+
import { Loading as de } from "/@/components/Loading";
|
|
31
|
+
import { getToken as he } from "/@/utils/auth";
|
|
32
|
+
import { goJmReportViewPage as be } from "/@/utils";
|
|
33
|
+
import { PrinterOutlined as ge } from "@ant-design/icons-vue";
|
|
34
|
+
import _e from "./DetailForm-4aa2570b.mjs";
|
|
35
|
+
import ye from "./OnlineSubFormDetail-03f8ee5c.mjs";
|
|
36
|
+
import { k as Se, u as Te } from "./useExtendComponent-bb7cca20.mjs";
|
|
37
|
+
import { defHttp as xe } from "/@/utils/http/axios";
|
|
38
|
+
import { E as Ce } from "./constant-fa63bd66.mjs";
|
|
39
|
+
import { useAppInject as ke } from "/@/hooks/web/useAppInject";
|
|
40
|
+
import { _ as we } 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/index";
|
|
51
|
+
import "/@/components/Form/src/componentMap";
|
|
52
|
+
import "/@/components/Modal";
|
|
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
|
+
function Fe() {
|
|
71
|
+
const i = {}, a = {
|
|
72
|
+
setFieldsValue: "<m> 设置表单控件的值",
|
|
73
|
+
getFieldsValue: "<m> 获取表单控件的值",
|
|
74
|
+
sh: "<p> 表单控件的显示隐藏状态"
|
|
75
|
+
}, r = new Proxy(a, {
|
|
76
|
+
get(c, s) {
|
|
77
|
+
return Reflect.get(i, s);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
function t(c, s) {
|
|
81
|
+
i[c] = s;
|
|
82
|
+
}
|
|
83
|
+
function p(c) {
|
|
84
|
+
Object.keys(c).map((s) => {
|
|
85
|
+
i[s] = c[s];
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
return t("$nextTick", me), t("addObject2Context", t), { onlineFormDetailContext: r, addObject2Context: t, resetContext: p };
|
|
89
|
+
}
|
|
90
|
+
const Pe = {
|
|
91
|
+
name: "OnlineFormDetail",
|
|
92
|
+
components: {
|
|
93
|
+
DetailForm: _e,
|
|
94
|
+
Loading: de,
|
|
95
|
+
PrinterOutlined: ge,
|
|
96
|
+
OnlineSubFormDetail: ye
|
|
97
|
+
},
|
|
98
|
+
props: {
|
|
99
|
+
id: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: ""
|
|
102
|
+
},
|
|
103
|
+
formTemplate: {
|
|
104
|
+
type: Number,
|
|
105
|
+
default: 1
|
|
106
|
+
},
|
|
107
|
+
disabled: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
default: !1
|
|
110
|
+
},
|
|
111
|
+
isTree: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: !1
|
|
114
|
+
},
|
|
115
|
+
pidField: {
|
|
116
|
+
type: String,
|
|
117
|
+
default: ""
|
|
118
|
+
},
|
|
119
|
+
submitTip: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
default: !0
|
|
122
|
+
},
|
|
123
|
+
showSub: {
|
|
124
|
+
type: Boolean,
|
|
125
|
+
default: !0
|
|
126
|
+
},
|
|
127
|
+
themeTemplate: {
|
|
128
|
+
type: String,
|
|
129
|
+
default: ""
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
emits: ["success", "rendered"],
|
|
133
|
+
setup(i, { emit: a }) {
|
|
134
|
+
const { createMessage: r } = le(), { getIsMobile: t } = ke(), p = d(""), c = d(!0), s = d(!1), b = d(1), m = d({}), g = d(t.value ? "auto" : 300), P = d(340), O = d(!t.value);
|
|
135
|
+
let _ = {};
|
|
136
|
+
const y = R({}), l = R({
|
|
137
|
+
reportPrintShow: 0,
|
|
138
|
+
reportPrintUrl: "",
|
|
139
|
+
joinQuery: 0,
|
|
140
|
+
modelFullscreen: 0,
|
|
141
|
+
modalMinWidth: ""
|
|
142
|
+
}), { detailFormSchemas: S, hasSubTable: M, subTabInfo: H, refMap: L, showStatus: v, subDataSource: D, createFormSchemas: U, formSpan: z } = Se(i);
|
|
143
|
+
function A(e) {
|
|
144
|
+
let o = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 1, modalMinWidth: "" };
|
|
145
|
+
e && (o = JSON.parse(e)), Object.keys(o).map((n) => {
|
|
146
|
+
l[n] = o[n];
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
const { onlineFormDetailContext: E, resetContext: K } = Fe();
|
|
150
|
+
let { EnhanceJS: C, initCgEnhanceJs: Q } = Te(E, !1);
|
|
151
|
+
function W(e) {
|
|
152
|
+
return k(this, null, function* () {
|
|
153
|
+
b.value = e.head.tableType, p.value = e.head.tableName, c.value = e.head.tableType == 1, A(e.head.extConfigJson), U(e.schema.properties), C = Q(e.enhanceJs), a("rendered", l);
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
function X(e, o) {
|
|
157
|
+
return k(this, null, function* () {
|
|
158
|
+
yield Y(o), J(!0);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
function q(e) {
|
|
162
|
+
let o = `/online/cgform/api/detail/${i.id}/${e}`;
|
|
163
|
+
return new Promise((n, u) => {
|
|
164
|
+
xe.get({ url: o }, { isTransformResponse: !1 }).then((T) => {
|
|
165
|
+
T.success ? n(T.result) : (u(), r.warning(T.message));
|
|
166
|
+
}).catch(() => {
|
|
167
|
+
u();
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
function J(e) {
|
|
172
|
+
Object.keys(v).map((o) => {
|
|
173
|
+
v[o] = e;
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
function G() {
|
|
177
|
+
J(!1), setTimeout(() => {
|
|
178
|
+
J(!0);
|
|
179
|
+
}, 300);
|
|
180
|
+
}
|
|
181
|
+
function Y(e) {
|
|
182
|
+
return k(this, null, function* () {
|
|
183
|
+
_ = yield q(e.id), S.value.filter((n) => n.hidden).forEach((n) => n.hidden = !1), Object.keys(y).forEach(function(n) {
|
|
184
|
+
delete y[n];
|
|
185
|
+
}), ne({ buttonCode: "loaded" }), m.value = V({}, _), Z(_);
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
function Z(e) {
|
|
189
|
+
e || (e = {});
|
|
190
|
+
let o = Object.keys(D.value);
|
|
191
|
+
if (o && o.length > 0) {
|
|
192
|
+
let n = {};
|
|
193
|
+
for (let u of o)
|
|
194
|
+
n[u] = e[u] || [];
|
|
195
|
+
D.value = n;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
function $(e) {
|
|
199
|
+
return "online_" + e + ":";
|
|
200
|
+
}
|
|
201
|
+
function ee() {
|
|
202
|
+
let e = l.reportPrintUrl, o = m.value;
|
|
203
|
+
if (o) {
|
|
204
|
+
let n = o.id, u = he();
|
|
205
|
+
be(e, n, u);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
function te(e) {
|
|
209
|
+
let o = m.value;
|
|
210
|
+
return oe(o, e);
|
|
211
|
+
}
|
|
212
|
+
function oe(e, o) {
|
|
213
|
+
if (e) {
|
|
214
|
+
let n = e[o];
|
|
215
|
+
return !n && n !== 0 && (n = e[o.toLowerCase()], !n && n !== 0 && (n = e[o.toUpperCase()])), n;
|
|
216
|
+
}
|
|
217
|
+
return "";
|
|
218
|
+
}
|
|
219
|
+
function ne({ buttonCode: e }) {
|
|
220
|
+
C && C[e] && C[e].call(E, E);
|
|
221
|
+
}
|
|
222
|
+
return se(y, (e) => {
|
|
223
|
+
Object.entries(e).forEach(([o, n]) => {
|
|
224
|
+
if (n == !1) {
|
|
225
|
+
const u = S.value.find((T) => T.field === o);
|
|
226
|
+
u && (u.hidden = !0);
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}), K({
|
|
230
|
+
setFieldsValue: (e) => {
|
|
231
|
+
Object.entries(e).forEach(([o, n]) => {
|
|
232
|
+
_[o] = n;
|
|
233
|
+
});
|
|
234
|
+
},
|
|
235
|
+
getFieldsValue: () => V({}, _),
|
|
236
|
+
sh: y
|
|
237
|
+
}), {
|
|
238
|
+
detailFormSchemas: S,
|
|
239
|
+
formData: m,
|
|
240
|
+
formSpan: z,
|
|
241
|
+
//主表
|
|
242
|
+
tableName: p,
|
|
243
|
+
loading: s,
|
|
244
|
+
//子表
|
|
245
|
+
hasSubTable: M,
|
|
246
|
+
subTabInfo: H,
|
|
247
|
+
subFormHeight: g,
|
|
248
|
+
subTableHeight: P,
|
|
249
|
+
refMap: L,
|
|
250
|
+
onTabChange: G,
|
|
251
|
+
//一对多子表
|
|
252
|
+
subDataSource: D,
|
|
253
|
+
getSubTableAuthPre: $,
|
|
254
|
+
//父组件调用
|
|
255
|
+
show: X,
|
|
256
|
+
createRootProperties: W,
|
|
257
|
+
// 扩展配置
|
|
258
|
+
onOpenReportPrint: ee,
|
|
259
|
+
onlineExtConfigJson: l,
|
|
260
|
+
getSubTableForeignKeyValue: te,
|
|
261
|
+
showStatus: v,
|
|
262
|
+
ERP: Ce,
|
|
263
|
+
rowNumber: O
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
}, Oe = ["id"], ve = {
|
|
267
|
+
key: 0,
|
|
268
|
+
style: { "text-align": "right", position: "absolute", top: "15px", right: "20px", "z-index": "999" }
|
|
269
|
+
}, De = { key: 1 };
|
|
270
|
+
function Ee(i, a, r, t, p, c) {
|
|
271
|
+
const s = h("PrinterOutlined"), b = h("detail-form"), m = h("online-sub-form-detail"), g = h("JVxeTable"), P = h("a-spin"), O = h("a-tab-pane"), _ = h("a-tabs"), y = h("Loading");
|
|
272
|
+
return f(), x("div", {
|
|
273
|
+
id: t.tableName + "_form"
|
|
274
|
+
}, [
|
|
275
|
+
t.formData.id && t.onlineExtConfigJson.reportPrintShow ? (f(), x("div", ve, [
|
|
276
|
+
w(s, {
|
|
277
|
+
title: "打印",
|
|
278
|
+
onClick: t.onOpenReportPrint,
|
|
279
|
+
style: { "font-size": "16px" }
|
|
280
|
+
}, null, 8, ["onClick"])
|
|
281
|
+
])) : I("", !0),
|
|
282
|
+
w(b, {
|
|
283
|
+
schemas: t.detailFormSchemas,
|
|
284
|
+
data: t.formData,
|
|
285
|
+
span: t.formSpan
|
|
286
|
+
}, null, 8, ["schemas", "data", "span"]),
|
|
287
|
+
r.themeTemplate !== t.ERP && t.hasSubTable && r.showSub ? (f(), F(_, {
|
|
288
|
+
key: 1,
|
|
289
|
+
onChange: t.onTabChange
|
|
290
|
+
}, {
|
|
291
|
+
default: B(() => [
|
|
292
|
+
(f(!0), x(ce, null, ue(t.subTabInfo, (l, S) => (f(), F(O, {
|
|
293
|
+
tab: l.describe,
|
|
294
|
+
key: S + "",
|
|
295
|
+
forceRender: !0
|
|
296
|
+
}, {
|
|
297
|
+
default: B(() => [
|
|
298
|
+
l.relationType == 1 ? (f(), x("div", {
|
|
299
|
+
key: 0,
|
|
300
|
+
style: fe({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": t.subFormHeight + "px" })
|
|
301
|
+
}, [
|
|
302
|
+
w(m, {
|
|
303
|
+
table: l.key,
|
|
304
|
+
"form-template": r.formTemplate,
|
|
305
|
+
"main-id": t.getSubTableForeignKeyValue(l.foreignKey),
|
|
306
|
+
properties: l.properties
|
|
307
|
+
}, null, 8, ["table", "form-template", "main-id", "properties"])
|
|
308
|
+
], 4)) : (f(), x("div", De, [
|
|
309
|
+
t.showStatus[l.key] ? (f(), F(g, {
|
|
310
|
+
key: 0,
|
|
311
|
+
ref_for: !0,
|
|
312
|
+
ref: t.refMap[l.key],
|
|
313
|
+
"keep-source": "",
|
|
314
|
+
"row-number": t.rowNumber,
|
|
315
|
+
"row-selection": "",
|
|
316
|
+
height: t.subTableHeight,
|
|
317
|
+
disabled: !0,
|
|
318
|
+
columns: l.columns,
|
|
319
|
+
dataSource: t.subDataSource[l.key],
|
|
320
|
+
authPre: t.getSubTableAuthPre(l.key)
|
|
321
|
+
}, null, 8, ["row-number", "height", "columns", "dataSource", "authPre"])) : (f(), F(P, {
|
|
322
|
+
key: 1,
|
|
323
|
+
spinning: !0
|
|
324
|
+
}))
|
|
325
|
+
]))
|
|
326
|
+
]),
|
|
327
|
+
_: 2
|
|
328
|
+
}, 1032, ["tab"]))), 128))
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 8, ["onChange"])) : I("", !0),
|
|
332
|
+
w(y, {
|
|
333
|
+
loading: t.loading,
|
|
334
|
+
absolute: !1
|
|
335
|
+
}, null, 8, ["loading"]),
|
|
336
|
+
pe(i.$slots, "bottom")
|
|
337
|
+
], 8, Oe);
|
|
338
|
+
}
|
|
339
|
+
const xt = /* @__PURE__ */ we(Pe, [["render", Ee]]);
|
|
340
|
+
export {
|
|
341
|
+
xt as default
|
|
342
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { defineComponent as x, ref as r, unref as o, watch as F, openBlock as l, createElementBlock as E, normalizeClass as u, createVNode as c, withCtx as d, createElementVNode as y, createCommentVNode as f, createBlock as A } from "vue";
|
|
2
|
+
import { Card as O, Spin as R } from "ant-design-vue";
|
|
3
|
+
import { useMessage as T } from "/@/hooks/web/useMessage";
|
|
4
|
+
import "/@/components/Form/index";
|
|
5
|
+
import "/@/utils/http/axios";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "/@/utils";
|
|
8
|
+
import { u as U } from "./useExtendComponent-bb7cca20.mjs";
|
|
9
|
+
import "/@/components/Loading";
|
|
10
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
11
|
+
import "/@/utils/auth";
|
|
12
|
+
import "@ant-design/icons-vue";
|
|
13
|
+
import "/@/hooks/core/useContext";
|
|
14
|
+
import "/@/utils/mitt";
|
|
15
|
+
import "/@/components/Modal";
|
|
16
|
+
import "/@/utils/cache";
|
|
17
|
+
import "/@/utils/common/compUtils";
|
|
18
|
+
import "/@/store/modules/user";
|
|
19
|
+
import "/@/hooks/web/useAppInject";
|
|
20
|
+
import "/@/utils/is";
|
|
21
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
|
|
22
|
+
import b from "./OnlineAutoModal-971bef13.mjs";
|
|
23
|
+
import { u as B, a as I } from "./useListButton-7ddb9a46.mjs";
|
|
24
|
+
import { useRouter as M } from "vue-router";
|
|
25
|
+
import { u as S } from "./useFormUrl-2ee1a82d.mjs";
|
|
26
|
+
import { _ as D } from "./index-173949bb.mjs";
|
|
27
|
+
import "/@/components/Form/src/componentMap";
|
|
28
|
+
import "/@/utils/propTypes";
|
|
29
|
+
import "./constant-fa63bd66.mjs";
|
|
30
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
31
|
+
import "/@/views/system/user/user.api";
|
|
32
|
+
import "/@/utils/desform/customExpression";
|
|
33
|
+
import "/@/store/modules/permission";
|
|
34
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
35
|
+
import "/@/components/Table";
|
|
36
|
+
import "/@/hooks/system/useListPage";
|
|
37
|
+
import "/@/components/Form/src/utils/Area";
|
|
38
|
+
import "/@/components/Preview/index";
|
|
39
|
+
import "./LinkTableListPiece-2660d709.mjs";
|
|
40
|
+
import "/@/api/common/api";
|
|
41
|
+
import "/@/assets/images/placeholderImage.png";
|
|
42
|
+
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
43
|
+
import "./JModalTip-4a83aaed.mjs";
|
|
44
|
+
import "@vueuse/core";
|
|
45
|
+
import "./OnlineForm-018981b2.mjs";
|
|
46
|
+
import "./useCustomHook-acb00837.mjs";
|
|
47
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
48
|
+
import "/@/router";
|
|
49
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
50
|
+
import "/@/store/modules/multipleTab";
|
|
51
|
+
import "./cgformState-d9f8ec42.mjs";
|
|
52
|
+
import "pinia";
|
|
53
|
+
import "/@/store";
|
|
54
|
+
import "/@/hooks/system/useMethods";
|
|
55
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
56
|
+
const N = /* @__PURE__ */ x({
|
|
57
|
+
__name: "OnlineFormUrlAdd",
|
|
58
|
+
setup(V) {
|
|
59
|
+
const { ID: e, onlineTableContext: i, onlineExtConfigJson: _, handleFormConfig: g } = B(), { createMessage: h } = T(), n = r(null), m = r(400), p = r(!0), C = M(), { token: s } = S();
|
|
60
|
+
if (!o(s))
|
|
61
|
+
throw new Error("token不存在~");
|
|
62
|
+
if (!e.value)
|
|
63
|
+
throw h.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
64
|
+
U(i), F(
|
|
65
|
+
() => n.value,
|
|
66
|
+
(t) => {
|
|
67
|
+
m.value = t.offsetHeight - 60;
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
const { registerModal: v, handleAdd: a } = I(i, _), w = (t) => document.querySelector(`.online-add-${e.value}`), k = () => {
|
|
71
|
+
setTimeout(() => {
|
|
72
|
+
a(!1), setTimeout(() => {
|
|
73
|
+
C.push({ path: "/online/formUrlSuccess" });
|
|
74
|
+
}, 1e3);
|
|
75
|
+
}, 0);
|
|
76
|
+
};
|
|
77
|
+
return setTimeout(() => {
|
|
78
|
+
a(!1), p.value = !1;
|
|
79
|
+
}, 1e3), (t, $) => (l(), E("div", {
|
|
80
|
+
class: u([["p-2"], "online-wrap"])
|
|
81
|
+
}, [
|
|
82
|
+
c(o(O), { bordered: !1 }, {
|
|
83
|
+
default: d(() => [
|
|
84
|
+
c(o(R), { spinning: p.value }, {
|
|
85
|
+
default: d(() => [
|
|
86
|
+
y("div", {
|
|
87
|
+
class: u(["wrap", `online-add-${o(e)}`]),
|
|
88
|
+
ref_key: "wrapRef",
|
|
89
|
+
ref: n
|
|
90
|
+
}, [
|
|
91
|
+
f("", !0),
|
|
92
|
+
o(s) ? (l(), A(b, {
|
|
93
|
+
key: 1,
|
|
94
|
+
id: o(e),
|
|
95
|
+
maskClosable: !1,
|
|
96
|
+
onRegister: o(v),
|
|
97
|
+
getContainer: w,
|
|
98
|
+
onFormConfig: o(g),
|
|
99
|
+
onSuccess: k,
|
|
100
|
+
height: m.value
|
|
101
|
+
}, null, 8, ["id", "onRegister", "onFormConfig", "height"])) : f("", !0)
|
|
102
|
+
], 2)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["spinning"])
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
})
|
|
109
|
+
]));
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
const zo = /* @__PURE__ */ D(N, [["__scopeId", "data-v-4a0277d5"]]);
|
|
113
|
+
export {
|
|
114
|
+
zo as default
|
|
115
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent as C, ref as r, unref as t, watch as D, openBlock as l, createElementBlock as k, normalizeClass as u, createVNode as c, withCtx as d, createElementVNode as x, createCommentVNode as f, createBlock as b } from "vue";
|
|
2
|
+
import { Card as E, Spin as I } from "ant-design-vue";
|
|
3
|
+
import { useMessage as y } from "/@/hooks/web/useMessage";
|
|
4
|
+
import "/@/components/Form/index";
|
|
5
|
+
import "/@/utils/http/axios";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "/@/utils";
|
|
8
|
+
import { u as M } from "./useExtendComponent-bb7cca20.mjs";
|
|
9
|
+
import "/@/components/Loading";
|
|
10
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
11
|
+
import "/@/utils/auth";
|
|
12
|
+
import "@ant-design/icons-vue";
|
|
13
|
+
import "/@/hooks/core/useContext";
|
|
14
|
+
import "/@/utils/mitt";
|
|
15
|
+
import "/@/components/Modal";
|
|
16
|
+
import "/@/utils/cache";
|
|
17
|
+
import "/@/utils/common/compUtils";
|
|
18
|
+
import "/@/store/modules/user";
|
|
19
|
+
import "/@/hooks/web/useAppInject";
|
|
20
|
+
import "/@/utils/is";
|
|
21
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
|
|
22
|
+
import { useRoute as O } from "vue-router";
|
|
23
|
+
import R from "./OnlineDetailModal-2a271e0b.mjs";
|
|
24
|
+
import { u as S, a as U } from "./useListButton-7ddb9a46.mjs";
|
|
25
|
+
import { u as B } from "./useFormUrl-2ee1a82d.mjs";
|
|
26
|
+
import { _ as F } from "./index-173949bb.mjs";
|
|
27
|
+
import "/@/components/Form/src/componentMap";
|
|
28
|
+
import "/@/utils/propTypes";
|
|
29
|
+
import "./constant-fa63bd66.mjs";
|
|
30
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
31
|
+
import "/@/views/system/user/user.api";
|
|
32
|
+
import "/@/utils/desform/customExpression";
|
|
33
|
+
import "/@/store/modules/permission";
|
|
34
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
35
|
+
import "/@/components/Table";
|
|
36
|
+
import "/@/hooks/system/useListPage";
|
|
37
|
+
import "/@/components/Form/src/utils/Area";
|
|
38
|
+
import "/@/components/Preview/index";
|
|
39
|
+
import "./LinkTableListPiece-2660d709.mjs";
|
|
40
|
+
import "/@/api/common/api";
|
|
41
|
+
import "/@/assets/images/placeholderImage.png";
|
|
42
|
+
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
43
|
+
import "./JModalTip-4a83aaed.mjs";
|
|
44
|
+
import "@vueuse/core";
|
|
45
|
+
import "./OnlineFormDetail-e036cd11.mjs";
|
|
46
|
+
import "./DetailForm-4aa2570b.mjs";
|
|
47
|
+
import "/@/utils/dict";
|
|
48
|
+
import "/@/utils/dict/index";
|
|
49
|
+
import "/@/components/Markdown";
|
|
50
|
+
import "./OnlineSubFormDetail-03f8ee5c.mjs";
|
|
51
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
52
|
+
import "/@/router";
|
|
53
|
+
import "./useCustomHook-acb00837.mjs";
|
|
54
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
55
|
+
import "/@/store/modules/multipleTab";
|
|
56
|
+
import "./cgformState-d9f8ec42.mjs";
|
|
57
|
+
import "pinia";
|
|
58
|
+
import "/@/store";
|
|
59
|
+
import "/@/hooks/system/useMethods";
|
|
60
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
61
|
+
const N = /* @__PURE__ */ C({
|
|
62
|
+
__name: "OnlineFormUrlDetail",
|
|
63
|
+
setup(T) {
|
|
64
|
+
const i = O(), { ID: e, onlineTableContext: m, onlineExtConfigJson: _ } = S(), { createMessage: g } = y(), n = r(null), p = r(400), a = r(!0), { token: s } = B();
|
|
65
|
+
if (!t(s))
|
|
66
|
+
throw new Error("token不存在~");
|
|
67
|
+
if (!e.value || !i.params.dataId)
|
|
68
|
+
throw g.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
69
|
+
D(
|
|
70
|
+
() => n.value,
|
|
71
|
+
(o) => {
|
|
72
|
+
p.value = o.offsetHeight;
|
|
73
|
+
}
|
|
74
|
+
), M(m);
|
|
75
|
+
const { registerDetailModal: h, openDetailModal: v } = U(m, _), w = (o) => document.querySelector(`.online-detail-${e.value}`);
|
|
76
|
+
return setTimeout(() => {
|
|
77
|
+
v(!0, {
|
|
78
|
+
isUpdate: !0,
|
|
79
|
+
disableSubmit: !0,
|
|
80
|
+
record: {
|
|
81
|
+
id: i.params.dataId
|
|
82
|
+
}
|
|
83
|
+
}), a.value = !1;
|
|
84
|
+
}, 1e3), (o, V) => (l(), k("div", {
|
|
85
|
+
class: u([["p-2"], "online-wrap"])
|
|
86
|
+
}, [
|
|
87
|
+
c(t(E), { bordered: !1 }, {
|
|
88
|
+
default: d(() => [
|
|
89
|
+
c(t(I), { spinning: a.value }, {
|
|
90
|
+
default: d(() => [
|
|
91
|
+
x("div", {
|
|
92
|
+
class: u(["wrap", `online-detail-${t(e)}`]),
|
|
93
|
+
ref_key: "wrapRef",
|
|
94
|
+
ref: n
|
|
95
|
+
}, [
|
|
96
|
+
f("", !0),
|
|
97
|
+
t(s) ? (l(), b(R, {
|
|
98
|
+
key: 1,
|
|
99
|
+
id: t(e),
|
|
100
|
+
maskClosable: !1,
|
|
101
|
+
onRegister: t(h),
|
|
102
|
+
onSuccess: o.success,
|
|
103
|
+
getContainer: w,
|
|
104
|
+
height: p.value
|
|
105
|
+
}, null, 8, ["id", "onRegister", "onSuccess", "height"])) : f("", !0)
|
|
106
|
+
], 2)
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["spinning"])
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
})
|
|
113
|
+
]));
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
const jt = /* @__PURE__ */ F(N, [["__scopeId", "data-v-cea77271"]]);
|
|
117
|
+
export {
|
|
118
|
+
jt as default
|
|
119
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { defineComponent as x, ref as n, unref as o, watch as F, openBlock as u, createElementBlock as I, normalizeClass as c, createVNode as d, withCtx as f, createElementVNode as b, createCommentVNode as _, createBlock as R } from "vue";
|
|
2
|
+
import { Card as y, Spin as O } from "ant-design-vue";
|
|
3
|
+
import { useMessage as U } from "/@/hooks/web/useMessage";
|
|
4
|
+
import "/@/components/Form/index";
|
|
5
|
+
import "/@/utils/http/axios";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "/@/utils";
|
|
8
|
+
import { u as B } from "./useExtendComponent-bb7cca20.mjs";
|
|
9
|
+
import "/@/components/Loading";
|
|
10
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
11
|
+
import "/@/utils/auth";
|
|
12
|
+
import "@ant-design/icons-vue";
|
|
13
|
+
import "/@/hooks/core/useContext";
|
|
14
|
+
import "/@/utils/mitt";
|
|
15
|
+
import "/@/components/Modal";
|
|
16
|
+
import "/@/utils/cache";
|
|
17
|
+
import "/@/utils/common/compUtils";
|
|
18
|
+
import "/@/store/modules/user";
|
|
19
|
+
import "/@/hooks/web/useAppInject";
|
|
20
|
+
import "/@/utils/is";
|
|
21
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
|
|
22
|
+
import { useRoute as M, useRouter as S } from "vue-router";
|
|
23
|
+
import T from "./OnlineAutoModal-971bef13.mjs";
|
|
24
|
+
import { u as D, a as N } from "./useListButton-7ddb9a46.mjs";
|
|
25
|
+
import { u as V } from "./useFormUrl-2ee1a82d.mjs";
|
|
26
|
+
import { _ as $ } from "./index-173949bb.mjs";
|
|
27
|
+
import "/@/components/Form/src/componentMap";
|
|
28
|
+
import "/@/utils/propTypes";
|
|
29
|
+
import "./constant-fa63bd66.mjs";
|
|
30
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
31
|
+
import "/@/views/system/user/user.api";
|
|
32
|
+
import "/@/utils/desform/customExpression";
|
|
33
|
+
import "/@/store/modules/permission";
|
|
34
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
35
|
+
import "/@/components/Table";
|
|
36
|
+
import "/@/hooks/system/useListPage";
|
|
37
|
+
import "/@/components/Form/src/utils/Area";
|
|
38
|
+
import "/@/components/Preview/index";
|
|
39
|
+
import "./LinkTableListPiece-2660d709.mjs";
|
|
40
|
+
import "/@/api/common/api";
|
|
41
|
+
import "/@/assets/images/placeholderImage.png";
|
|
42
|
+
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
43
|
+
import "./JModalTip-4a83aaed.mjs";
|
|
44
|
+
import "@vueuse/core";
|
|
45
|
+
import "./OnlineForm-018981b2.mjs";
|
|
46
|
+
import "./useCustomHook-acb00837.mjs";
|
|
47
|
+
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
48
|
+
import "/@/router";
|
|
49
|
+
import "/@/hooks/core/onMountedOrActivated";
|
|
50
|
+
import "/@/store/modules/multipleTab";
|
|
51
|
+
import "./cgformState-d9f8ec42.mjs";
|
|
52
|
+
import "pinia";
|
|
53
|
+
import "/@/store";
|
|
54
|
+
import "/@/hooks/system/useMethods";
|
|
55
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
56
|
+
const H = /* @__PURE__ */ x({
|
|
57
|
+
__name: "OnlineFormUrlEdit",
|
|
58
|
+
setup(q) {
|
|
59
|
+
const { ID: t, onlineTableContext: m, onlineExtConfigJson: g, handleFormConfig: h } = D(), { createMessage: C } = U(), e = M(), p = n(null), a = n(400), s = n(!0), v = S(), { token: r } = V();
|
|
60
|
+
if (!o(r))
|
|
61
|
+
throw new Error("token不存在~");
|
|
62
|
+
if (!t.value || !e.params.dataId)
|
|
63
|
+
throw C.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
64
|
+
B(m), F(
|
|
65
|
+
() => p.value,
|
|
66
|
+
(i) => {
|
|
67
|
+
a.value = i.offsetHeight - 60;
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
const { registerModal: w, handleEdit: l } = N(m, g), E = (i) => document.querySelector(`.online-edit-${t.value}`), k = () => {
|
|
71
|
+
setTimeout(() => {
|
|
72
|
+
l({ id: e.params.dataId }), v.push({ path: "/online/formUrlSuccess" });
|
|
73
|
+
}, 0);
|
|
74
|
+
};
|
|
75
|
+
return setTimeout(() => {
|
|
76
|
+
r && l({ id: e.params.dataId }), s.value = !1;
|
|
77
|
+
}, 1e3), (i, z) => (u(), I("div", {
|
|
78
|
+
class: c([["p-2"], "online-wrap"])
|
|
79
|
+
}, [
|
|
80
|
+
d(o(y), { bordered: !1 }, {
|
|
81
|
+
default: f(() => [
|
|
82
|
+
d(o(O), { spinning: s.value }, {
|
|
83
|
+
default: f(() => [
|
|
84
|
+
b("div", {
|
|
85
|
+
class: c(["wrap", `online-edit-${o(t)}`]),
|
|
86
|
+
ref_key: "wrapRef",
|
|
87
|
+
ref: p
|
|
88
|
+
}, [
|
|
89
|
+
_("", !0),
|
|
90
|
+
o(r) ? (u(), R(T, {
|
|
91
|
+
key: 1,
|
|
92
|
+
id: o(t),
|
|
93
|
+
maskClosable: !1,
|
|
94
|
+
onRegister: o(w),
|
|
95
|
+
getContainer: E,
|
|
96
|
+
onFormConfig: o(h),
|
|
97
|
+
onSuccess: k,
|
|
98
|
+
height: a.value
|
|
99
|
+
}, null, 8, ["id", "onRegister", "onFormConfig", "height"])) : _("", !0)
|
|
100
|
+
], 2)
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["spinning"])
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
})
|
|
107
|
+
]));
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
const Lo = /* @__PURE__ */ $(H, [["__scopeId", "data-v-0b4f6a76"]]);
|
|
111
|
+
export {
|
|
112
|
+
Lo as default
|
|
113
|
+
};
|