@jeecg/online 3.9.0-beta2 → 3.9.1-RC
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{AccountLoginForm-634a76b1.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
- package/{AiModal-204a2146.mjs → AiModal-BgVzn074.mjs} +18 -20
- package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
- package/AppLogin-BMBmx2oq.mjs +272 -0
- package/AppLoginHeader-BtKXOMRR.mjs +23 -0
- package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
- package/{AppRegister-043efc45.mjs → AppRegister-C5iH-245.mjs} +33 -37
- package/{AppTenant-c7bb8700.mjs → AppTenant-etPXeUcW.mjs} +49 -55
- package/AppThirdForm-NMob-JaS.mjs +185 -0
- package/AuthButtonConfig-zUioaGwn.mjs +155 -0
- package/AuthButtonTree-DYZwphe6.mjs +159 -0
- package/{AuthDataConfig-3cd10ca2.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
- package/AuthDataTree-Cr28_YKx.mjs +134 -0
- package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
- package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
- package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
- package/{AuthSetterModal-f176c221.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
- package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
- package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
- package/{CgformAddressModal-a3903b24.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
- package/CgformCopyList-7e96RMbJ.mjs +176 -0
- package/{CgformModal-115710a6.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
- package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
- package/{CgreportModal-0cc48587.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
- package/{CheckDictTable-65157c48.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
- package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
- package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
- package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
- package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
- package/{DBAttributeTable-56701599.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
- package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
- package/DetailForm-CnfJBMys.mjs +472 -0
- package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
- package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
- package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
- package/{EnhanceJsModal-b0527cbf.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
- package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
- package/ErrorTip-BDS1uxkW.mjs +4 -0
- package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
- package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
- package/{FieldExtendJsonModal-536e6d5b.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
- package/{FileSelectModal-eb026170.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
- package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
- package/{IndexTable-4d350e4e.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
- package/JModalTip-DHrn6ksJ.mjs +46 -0
- package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
- package/{LeftDepart-a727aab7.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
- package/{LeftRole-b533dcf6.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
- package/{LeftUser-aaac52cb.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
- package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
- package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
- package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
- package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
- package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -199
- package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
- package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
- package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
- package/OnlCgformTabList-DCy3oudh.mjs +371 -0
- package/OnlineAutoList-C4pkORGb.mjs +500 -0
- package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
- package/{OnlineAutoTreeList-624106c1.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -181
- package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
- package/OnlineDetailModal-So0YEah1.mjs +160 -0
- package/{OnlineForm-86b5966d.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -73
- package/OnlineFormDetail-KaD6cV31.mjs +321 -0
- package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
- package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
- package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
- package/{OnlineFormUrlSuccess-0c2431a4.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
- package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -167
- package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
- package/{OnlineSelectCascade-fab4426d.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
- package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
- package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
- package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
- package/{OnlineTabForm-5c04cbc5.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -253
- package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
- package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
- package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
- package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
- package/{QueryTable-342fd89a.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
- package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
- package/ShareAddView-CxZuNTQB.mjs +11 -0
- package/ShareEditView-Dqdzjmpc.mjs +17 -0
- package/ShareView-B9TiMmkR.mjs +4 -0
- package/{ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
- package/SingleView-BDXeMLV-.mjs +4 -0
- package/{SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
- package/{SuperQuery-270b0968.mjs → SuperQuery-CgkajEWI.mjs} +342 -370
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-C8rcU6ee.mjs +10 -0
- package/{aiModal-e7362c3f.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
- package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
- package/index-0kQBIHx0.mjs +58 -0
- package/{index-b811abb9.mjs → index-B1H394jP.mjs} +35 -38
- package/index-CXD6__bJ.mjs +195 -0
- package/{index-6d1a78e2.mjs → index-DIjQbz6A.mjs} +37 -41
- package/{index-e2c3e6f3.mjs → index-Dbr1qL3H.mjs} +474 -608
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/{index-d95bb7c2.mjs → index-pGbTziKP.mjs} +32 -44
- package/{index-b5fe9bd4.mjs → index-siZ6JDIW.mjs} +17 -20
- package/main.index.js +8 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-6d5547ff.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
- package/useExtendComponent-P9wrWQwT.mjs +4479 -0
- package/{useListButton-73071548.mjs → useListButton-DyOAscwT.mjs} +7 -9
- package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
- package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
- package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
- package/AppLogin-bf783eab.mjs +0 -287
- package/AppLoginHeader-55594326.mjs +0 -27
- package/AppThirdForm-5e7e1144.mjs +0 -189
- package/AuthButtonConfig-4887be0d.mjs +0 -160
- package/AuthButtonTree-7e47b44b.mjs +0 -165
- package/AuthDataTree-714c259c.mjs +0 -139
- package/AuthManagerDrawer-dee39b07.mjs +0 -119
- package/BuiltInButtonList-bb6cf95c.mjs +0 -10
- package/CgformCopyList-4be1000f.mjs +0 -259
- package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
- package/DetailForm-7d4f630e.mjs +0 -497
- package/EnhanceJavaModal-469e645e.mjs +0 -264
- package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
- package/ErrorTip-bb616e32.mjs +0 -7
- package/ExtendConfigModal-7b00b49a.mjs +0 -117
- package/JModalTip-c3e6726c.mjs +0 -49
- package/LinkTableListPiece-0f4ca559.mjs +0 -34
- package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
- package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
- package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
- package/OnlCgformTabList-882a0e0c.mjs +0 -431
- package/OnlineAutoList-caedb54a.mjs +0 -558
- package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
- package/OnlineCustomModal-f4e17bed.mjs +0 -246
- package/OnlineDetailModal-35394778.mjs +0 -198
- package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
- package/OnlineFormDetail-4b3ad130.mjs +0 -349
- package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
- package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
- package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
- package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
- package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
- package/OnlineTabDetailModal-401a26ad.mjs +0 -226
- package/OnlineTabFormDetail-2a28febf.mjs +0 -328
- package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
- package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
- package/ShareAddView-a5154da3.mjs +0 -88
- package/ShareEditView-cf761cf3.mjs +0 -94
- package/ShareView-3b2f5457.mjs +0 -82
- package/SingleView-3cab20a9.mjs +0 -70
- package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
- package/TaskOpinionList-60cf4080.mjs +0 -13
- package/index-740b2c4a.mjs +0 -57
- package/index-8fd12d0f.mjs +0 -219
- package/style.css +0 -1
- package/useExtendComponent-95ce0719.mjs +0 -4460
- /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
- /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
- /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
- /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
- /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
- /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
- /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
- /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
- /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
- /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
- /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
- /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
- /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
- /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
|
@@ -2,37 +2,29 @@ var C = (e, t, h) => new Promise((x, f) => {
|
|
|
2
2
|
var l = (a) => {
|
|
3
3
|
try {
|
|
4
4
|
c(h.next(a));
|
|
5
|
-
} catch (
|
|
6
|
-
f(
|
|
5
|
+
} catch (d) {
|
|
6
|
+
f(d);
|
|
7
7
|
}
|
|
8
8
|
}, r = (a) => {
|
|
9
9
|
try {
|
|
10
10
|
c(h.throw(a));
|
|
11
|
-
} catch (
|
|
12
|
-
f(
|
|
11
|
+
} catch (d) {
|
|
12
|
+
f(d);
|
|
13
13
|
}
|
|
14
14
|
}, c = (a) => a.done ? x(a.value) : Promise.resolve(a.value).then(l, r);
|
|
15
15
|
c((h = h.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as
|
|
18
|
-
import { BasicModal as
|
|
17
|
+
import { defineComponent as W, ref as g, reactive as j, resolveComponent as m, createBlock as w, openBlock as k, withCtx as o, createVNode as n, createCommentVNode as S, createElementVNode as v, createTextVNode as F } from "vue";
|
|
18
|
+
import { BasicModal as _, useModalInner as Q, useModal as z } from "/@/components/Modal";
|
|
19
19
|
import { JCodeEditor as L } from "/@/components/Form";
|
|
20
|
-
import { u as X } from "./useOnlineTest-
|
|
21
|
-
import { E as Y, u as Z } from "./EnhanceJsHistory-
|
|
22
|
-
import { g as ee, s as te } from "./enhance.api-
|
|
20
|
+
import { u as X } from "./useOnlineTest-_onDRxjY.mjs";
|
|
21
|
+
import { E as Y, u as Z } from "./EnhanceJsHistory-ZzXedCNI.mjs";
|
|
22
|
+
import { g as ee, s as te } from "./enhance.api-BqHb-YGL.mjs";
|
|
23
23
|
import { useMessage as se } from "/@/hooks/web/useMessage";
|
|
24
24
|
import { QuestionCircleOutlined as oe } from "@ant-design/icons-vue";
|
|
25
25
|
import { Tooltip as le } from "ant-design-vue";
|
|
26
|
-
import { _ as ae } from "./index-
|
|
27
|
-
|
|
28
|
-
import "/@/store";
|
|
29
|
-
import "pinia";
|
|
30
|
-
import "/@/utils/cache";
|
|
31
|
-
import "/@/utils/http/axios";
|
|
32
|
-
import "/@/utils/is";
|
|
33
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
34
|
-
import "vue-router";
|
|
35
|
-
const k = {
|
|
26
|
+
import { _ as ae } from "./index-0kQBIHx0.mjs";
|
|
27
|
+
const E = {
|
|
36
28
|
list: [
|
|
37
29
|
//------ 列表api -------
|
|
38
30
|
// 属性
|
|
@@ -299,45 +291,45 @@ const k = {
|
|
|
299
291
|
desc: "打开一个弹窗-参考 Js增强打开自定义弹窗"
|
|
300
292
|
}
|
|
301
293
|
]
|
|
302
|
-
}, ie =
|
|
294
|
+
}, ie = W({
|
|
303
295
|
name: "EnhanceJs",
|
|
304
|
-
components: { BasicModal:
|
|
296
|
+
components: { BasicModal: _, JCodeEditor: L, EnhanceJsHistory: Y, QuestionCircleOutlined: oe, Tooltip: le },
|
|
305
297
|
emits: ["register"],
|
|
306
298
|
setup() {
|
|
307
|
-
const { createMessage: e } = se(), t = Z(), h = g(), x = g(), f =
|
|
308
|
-
|
|
309
|
-
})), [
|
|
310
|
-
function
|
|
311
|
-
r.value = s.id, a.value = !1,
|
|
299
|
+
const { createMessage: e } = se(), t = Z(), h = g(), x = g(), f = j({ form: {}, list: {} }), l = g("list"), r = g(""), c = g(!1), a = g(!1), d = g(""), y = j({ form: "", list: "" }), p = { form: !1, list: !1 }, T = g(!1), J = [...E.list, ...E.common], N = [...E.form, ...E.common], u = g("240px"), [O, { closeModal: A }] = Q((s) => C(null, null, function* () {
|
|
300
|
+
K(s.row);
|
|
301
|
+
})), [D, P] = z(), { aiTestMode: $, genEnhanceJsData: R } = X();
|
|
302
|
+
function K(s) {
|
|
303
|
+
r.value = s.id, a.value = !1, d.value = s.tableName;
|
|
312
304
|
let i = t.getEnhanceJs(r.value);
|
|
313
|
-
(i == null ? void 0 : i.length) > 0 ? (l.value = i[i.length - 1].type, c.value = !0) : c.value = !1, p.form = !1, p.list = !1, l.value ?
|
|
305
|
+
(i == null ? void 0 : i.length) > 0 ? (l.value = i[i.length - 1].type, c.value = !0) : c.value = !1, p.form = !1, p.list = !1, l.value ? V(l.value) : V("form"), T.value = !0, setTimeout(() => T.value = !1, 150);
|
|
314
306
|
}
|
|
315
|
-
function
|
|
307
|
+
function B() {
|
|
316
308
|
return C(this, null, function* () {
|
|
317
|
-
yield Promise.all([
|
|
309
|
+
yield Promise.all([H("form"), H("list")]), A(), e.success("保存成功");
|
|
318
310
|
});
|
|
319
311
|
}
|
|
320
|
-
function
|
|
312
|
+
function H(s) {
|
|
321
313
|
return C(this, null, function* () {
|
|
322
|
-
let i = f[s],
|
|
314
|
+
let i = f[s], b = {
|
|
323
315
|
cgJs: y[s],
|
|
324
316
|
cgJsType: s
|
|
325
317
|
};
|
|
326
|
-
if (!p[s] || i.cgJs ===
|
|
318
|
+
if (!p[s] || i.cgJs === b.cgJs)
|
|
327
319
|
return;
|
|
328
|
-
let
|
|
329
|
-
|
|
320
|
+
let M = !!i.id;
|
|
321
|
+
M && (b = Object.assign({}, i, b)), yield te(r.value, b, M), t.addEnhanceJs({
|
|
330
322
|
code: r.value,
|
|
331
|
-
str:
|
|
332
|
-
type:
|
|
323
|
+
str: b.cgJs,
|
|
324
|
+
type: b.cgJsType,
|
|
333
325
|
date: (/* @__PURE__ */ new Date()).getTime()
|
|
334
326
|
});
|
|
335
327
|
});
|
|
336
328
|
}
|
|
337
|
-
function
|
|
338
|
-
|
|
329
|
+
function U() {
|
|
330
|
+
A();
|
|
339
331
|
}
|
|
340
|
-
function
|
|
332
|
+
function V(s) {
|
|
341
333
|
return C(this, null, function* () {
|
|
342
334
|
l.value = s;
|
|
343
335
|
try {
|
|
@@ -352,17 +344,17 @@ const k = {
|
|
|
352
344
|
}, 150);
|
|
353
345
|
});
|
|
354
346
|
}
|
|
355
|
-
function
|
|
356
|
-
|
|
347
|
+
function I() {
|
|
348
|
+
P.openModal(!0, {
|
|
357
349
|
code: r.value,
|
|
358
350
|
type: l.value
|
|
359
351
|
});
|
|
360
352
|
}
|
|
361
|
-
function
|
|
353
|
+
function G(s) {
|
|
362
354
|
y[l.value] != s && (a.value = !0, y[l.value] = s);
|
|
363
355
|
}
|
|
364
|
-
function
|
|
365
|
-
l.value === "form" ?
|
|
356
|
+
function q() {
|
|
357
|
+
l.value === "form" ? R(d.value, l.value, h.value) : R(d.value, l.value, x.value);
|
|
366
358
|
}
|
|
367
359
|
return {
|
|
368
360
|
formEditorRef: h,
|
|
@@ -371,33 +363,32 @@ const k = {
|
|
|
371
363
|
enhanceValues: y,
|
|
372
364
|
enhanceType: l,
|
|
373
365
|
showHistory: c,
|
|
374
|
-
aiTestMode:
|
|
375
|
-
tableName:
|
|
376
|
-
genEnhanceJsData:
|
|
377
|
-
onGenTestData:
|
|
378
|
-
onChangeType:
|
|
379
|
-
onCodeChange:
|
|
380
|
-
onShowHistory:
|
|
381
|
-
onSubmit:
|
|
382
|
-
onCancel:
|
|
383
|
-
registerModal:
|
|
384
|
-
registerEnhanceJsHistory:
|
|
385
|
-
listKeyWords:
|
|
386
|
-
formKeyWords:
|
|
366
|
+
aiTestMode: $,
|
|
367
|
+
tableName: d,
|
|
368
|
+
genEnhanceJsData: R,
|
|
369
|
+
onGenTestData: q,
|
|
370
|
+
onChangeType: V,
|
|
371
|
+
onCodeChange: G,
|
|
372
|
+
onShowHistory: I,
|
|
373
|
+
onSubmit: B,
|
|
374
|
+
onCancel: U,
|
|
375
|
+
registerModal: O,
|
|
376
|
+
registerEnhanceJsHistory: D,
|
|
377
|
+
listKeyWords: J,
|
|
378
|
+
formKeyWords: N,
|
|
387
379
|
handleGo: (s) => {
|
|
388
380
|
window.open(`https://help.jeecg.com/java/online/enhanceJs/${s}`);
|
|
389
381
|
},
|
|
390
|
-
codeEditorHeight:
|
|
382
|
+
codeEditorHeight: u,
|
|
391
383
|
handleFullScreenChange: (s) => {
|
|
392
|
-
s ?
|
|
384
|
+
s ? u.value = `${document.documentElement.clientHeight - 250}px` : u.value = "240px";
|
|
393
385
|
}
|
|
394
386
|
};
|
|
395
387
|
}
|
|
396
|
-
});
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
return w(), E(J, {
|
|
388
|
+
}), ne = { class: "titleBox" }, re = { class: "titleBox" };
|
|
389
|
+
function de(e, t, h, x, f, l) {
|
|
390
|
+
const r = m("QuestionCircleOutlined"), c = m("Tooltip"), a = m("JCodeEditor"), d = m("a-tab-pane"), y = m("a-tabs"), p = m("a-button"), T = m("a-space"), J = m("EnhanceJsHistory"), N = m("BasicModal");
|
|
391
|
+
return k(), w(N, {
|
|
401
392
|
onRegister: e.registerModal,
|
|
402
393
|
title: "JS增强",
|
|
403
394
|
width: 800,
|
|
@@ -407,18 +398,18 @@ function ue(e, t, h, x, f, l) {
|
|
|
407
398
|
n(T, null, {
|
|
408
399
|
default: o(() => [
|
|
409
400
|
n(p, { onClick: e.onCancel }, {
|
|
410
|
-
default: o(() => t[9] || (t[9] = [
|
|
411
|
-
F("关闭")
|
|
412
|
-
])),
|
|
401
|
+
default: o(() => [...t[9] || (t[9] = [
|
|
402
|
+
F("关闭", -1)
|
|
403
|
+
])]),
|
|
413
404
|
_: 1
|
|
414
405
|
}, 8, ["onClick"]),
|
|
415
406
|
n(p, {
|
|
416
407
|
type: "primary",
|
|
417
408
|
onClick: e.onSubmit
|
|
418
409
|
}, {
|
|
419
|
-
default: o(() => t[10] || (t[10] = [
|
|
420
|
-
F("确定")
|
|
421
|
-
])),
|
|
410
|
+
default: o(() => [...t[10] || (t[10] = [
|
|
411
|
+
F("确定", -1)
|
|
412
|
+
])]),
|
|
422
413
|
_: 1
|
|
423
414
|
}, 8, ["onClick"])
|
|
424
415
|
]),
|
|
@@ -426,24 +417,24 @@ function ue(e, t, h, x, f, l) {
|
|
|
426
417
|
}),
|
|
427
418
|
n(T, { style: { float: "left" } }, {
|
|
428
419
|
default: o(() => [
|
|
429
|
-
e.showHistory ? (
|
|
420
|
+
e.showHistory ? (k(), w(p, {
|
|
430
421
|
key: 0,
|
|
431
422
|
onClick: e.onShowHistory
|
|
432
423
|
}, {
|
|
433
|
-
default: o(() => t[11] || (t[11] = [
|
|
434
|
-
F("查看历史版本")
|
|
435
|
-
])),
|
|
424
|
+
default: o(() => [...t[11] || (t[11] = [
|
|
425
|
+
F("查看历史版本", -1)
|
|
426
|
+
])]),
|
|
436
427
|
_: 1
|
|
437
|
-
}, 8, ["onClick"])) :
|
|
438
|
-
e.aiTestMode ? (
|
|
428
|
+
}, 8, ["onClick"])) : S("", !0),
|
|
429
|
+
e.aiTestMode ? (k(), w(p, {
|
|
439
430
|
key: 1,
|
|
440
431
|
onClick: e.onGenTestData
|
|
441
432
|
}, {
|
|
442
|
-
default: o(() => t[12] || (t[12] = [
|
|
443
|
-
F("生成测试数据")
|
|
444
|
-
])),
|
|
433
|
+
default: o(() => [...t[12] || (t[12] = [
|
|
434
|
+
F("生成测试数据", -1)
|
|
435
|
+
])]),
|
|
445
436
|
_: 1
|
|
446
|
-
}, 8, ["onClick"])) :
|
|
437
|
+
}, 8, ["onClick"])) : S("", !0)
|
|
447
438
|
]),
|
|
448
439
|
_: 1
|
|
449
440
|
})
|
|
@@ -451,24 +442,24 @@ function ue(e, t, h, x, f, l) {
|
|
|
451
442
|
default: o(() => [
|
|
452
443
|
n(y, {
|
|
453
444
|
activeKey: e.enhanceType,
|
|
454
|
-
"onUpdate:activeKey": t[4] || (t[4] = (
|
|
445
|
+
"onUpdate:activeKey": t[4] || (t[4] = (u) => e.enhanceType = u),
|
|
455
446
|
onChange: e.onChangeType
|
|
456
447
|
}, {
|
|
457
448
|
default: o(() => [
|
|
458
|
-
n(
|
|
449
|
+
n(d, {
|
|
459
450
|
key: "form",
|
|
460
451
|
forceRender: ""
|
|
461
452
|
}, {
|
|
462
453
|
tab: o(() => [
|
|
463
|
-
|
|
464
|
-
t[6] || (t[6] =
|
|
454
|
+
v("div", ne, [
|
|
455
|
+
t[6] || (t[6] = v("span", { class: "title" }, "form", -1)),
|
|
465
456
|
n(c, null, {
|
|
466
|
-
title: o(() => t[5] || (t[5] = [
|
|
467
|
-
|
|
468
|
-
])),
|
|
457
|
+
title: o(() => [...t[5] || (t[5] = [
|
|
458
|
+
v("span", null, "表单js增强文档", -1)
|
|
459
|
+
])]),
|
|
469
460
|
default: o(() => [
|
|
470
461
|
n(r, {
|
|
471
|
-
onClick: t[0] || (t[0] = (
|
|
462
|
+
onClick: t[0] || (t[0] = (u) => e.handleGo("form"))
|
|
472
463
|
})
|
|
473
464
|
]),
|
|
474
465
|
_: 1
|
|
@@ -476,11 +467,11 @@ function ue(e, t, h, x, f, l) {
|
|
|
476
467
|
])
|
|
477
468
|
]),
|
|
478
469
|
default: o(() => [
|
|
479
|
-
!e.reloading && e.enhanceType === "form" ? (
|
|
470
|
+
!e.reloading && e.enhanceType === "form" ? (k(), w(a, {
|
|
480
471
|
key: 0,
|
|
481
472
|
ref: "formEditorRef",
|
|
482
473
|
value: e.enhanceValues.form,
|
|
483
|
-
"onUpdate:value": t[1] || (t[1] = (
|
|
474
|
+
"onUpdate:value": t[1] || (t[1] = (u) => e.enhanceValues.form = u),
|
|
484
475
|
language: "javascript",
|
|
485
476
|
fullScreen: !0,
|
|
486
477
|
lineNumbers: !1,
|
|
@@ -491,24 +482,24 @@ function ue(e, t, h, x, f, l) {
|
|
|
491
482
|
placeholder: `代码提示技巧:
|
|
492
483
|
全局对象: this.调用属性或方法
|
|
493
484
|
事件方法:beforeSubmit、loaded、onlChange、getAction、postAction、putAction、deleteAction、deleteAction、openCustomModal等`
|
|
494
|
-
}, null, 8, ["value", "height", "onChange", "keywords"])) :
|
|
485
|
+
}, null, 8, ["value", "height", "onChange", "keywords"])) : S("", !0)
|
|
495
486
|
]),
|
|
496
487
|
_: 1
|
|
497
488
|
}),
|
|
498
|
-
n(
|
|
489
|
+
n(d, {
|
|
499
490
|
key: "list",
|
|
500
491
|
forceRender: ""
|
|
501
492
|
}, {
|
|
502
493
|
tab: o(() => [
|
|
503
|
-
|
|
504
|
-
t[8] || (t[8] =
|
|
494
|
+
v("div", re, [
|
|
495
|
+
t[8] || (t[8] = v("span", { class: "title" }, "list", -1)),
|
|
505
496
|
n(c, null, {
|
|
506
|
-
title: o(() => t[7] || (t[7] = [
|
|
507
|
-
|
|
508
|
-
])),
|
|
497
|
+
title: o(() => [...t[7] || (t[7] = [
|
|
498
|
+
v("span", null, "列表js增强文档", -1)
|
|
499
|
+
])]),
|
|
509
500
|
default: o(() => [
|
|
510
501
|
n(r, {
|
|
511
|
-
onClick: t[2] || (t[2] = (
|
|
502
|
+
onClick: t[2] || (t[2] = (u) => e.handleGo("list"))
|
|
512
503
|
})
|
|
513
504
|
]),
|
|
514
505
|
_: 1
|
|
@@ -516,11 +507,11 @@ function ue(e, t, h, x, f, l) {
|
|
|
516
507
|
])
|
|
517
508
|
]),
|
|
518
509
|
default: o(() => [
|
|
519
|
-
!e.reloading && e.enhanceType === "list" ? (
|
|
510
|
+
!e.reloading && e.enhanceType === "list" ? (k(), w(a, {
|
|
520
511
|
key: 0,
|
|
521
512
|
ref: "listEditorRef",
|
|
522
513
|
value: e.enhanceValues.list,
|
|
523
|
-
"onUpdate:value": t[3] || (t[3] = (
|
|
514
|
+
"onUpdate:value": t[3] || (t[3] = (u) => e.enhanceValues.list = u),
|
|
524
515
|
language: "javascript",
|
|
525
516
|
fullScreen: !0,
|
|
526
517
|
lineNumbers: !1,
|
|
@@ -531,19 +522,19 @@ function ue(e, t, h, x, f, l) {
|
|
|
531
522
|
placeholder: `代码提示技巧:
|
|
532
523
|
全局对象: this.调用属性或方法
|
|
533
524
|
事件方法:beforeDelete、beforeEdit、getAction、postAction、putAction、deleteAction、deleteAction、openCustomModal等`
|
|
534
|
-
}, null, 8, ["value", "height", "onChange", "keywords"])) :
|
|
525
|
+
}, null, 8, ["value", "height", "onChange", "keywords"])) : S("", !0)
|
|
535
526
|
]),
|
|
536
527
|
_: 1
|
|
537
528
|
})
|
|
538
529
|
]),
|
|
539
530
|
_: 1
|
|
540
531
|
}, 8, ["activeKey", "onChange"]),
|
|
541
|
-
n(
|
|
532
|
+
n(J, { onRegister: e.registerEnhanceJsHistory }, null, 8, ["onRegister"])
|
|
542
533
|
]),
|
|
543
534
|
_: 1
|
|
544
535
|
}, 8, ["onRegister", "onFullScreen"]);
|
|
545
536
|
}
|
|
546
|
-
const
|
|
537
|
+
const we = /* @__PURE__ */ ae(ie, [["render", de], ["__scopeId", "data-v-2d051fd7"]]);
|
|
547
538
|
export {
|
|
548
|
-
|
|
539
|
+
we as default
|
|
549
540
|
};
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
var X = Object.defineProperty;
|
|
2
|
+
var D = Object.getOwnPropertySymbols;
|
|
3
|
+
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var A = (e, o, n) => o in e ? X(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, q = (e, o) => {
|
|
5
|
+
for (var n in o || (o = {}))
|
|
6
|
+
Y.call(o, n) && A(e, n, o[n]);
|
|
7
|
+
if (D)
|
|
8
|
+
for (var n of D(o))
|
|
9
|
+
Z.call(o, n) && A(e, n, o[n]);
|
|
10
|
+
return e;
|
|
11
|
+
};
|
|
12
|
+
var m = (e, o, n) => new Promise((b, p) => {
|
|
13
|
+
var w = (s) => {
|
|
14
|
+
try {
|
|
15
|
+
c(n.next(s));
|
|
16
|
+
} catch (d) {
|
|
17
|
+
p(d);
|
|
18
|
+
}
|
|
19
|
+
}, i = (s) => {
|
|
20
|
+
try {
|
|
21
|
+
c(n.throw(s));
|
|
22
|
+
} catch (d) {
|
|
23
|
+
p(d);
|
|
24
|
+
}
|
|
25
|
+
}, c = (s) => s.done ? b(s.value) : Promise.resolve(s.value).then(w, i);
|
|
26
|
+
c((n = n.apply(e, o)).next());
|
|
27
|
+
});
|
|
28
|
+
import { defineComponent as x, ref as M, reactive as ee, computed as oe, nextTick as ne, resolveComponent as r, createBlock as E, openBlock as F, withCtx as a, createVNode as l, createCommentVNode as L, createTextVNode as g, normalizeProps as te, guardReactiveProps as ae, createElementBlock as le } from "vue";
|
|
29
|
+
import { BasicModal as se, useModalInner as re, useModal as ie } from "/@/components/Modal";
|
|
30
|
+
import { BasicForm as ce, useForm as de } from "/@/components/Form";
|
|
31
|
+
import { TableAction as ue, BasicTable as me } from "/@/components/Table";
|
|
32
|
+
import { useListPage as pe } from "/@/hooks/system/useListPage";
|
|
33
|
+
import { u as fe } from "./useOnlineTest-_onDRxjY.mjs";
|
|
34
|
+
import { b as ge, c as be } from "./enhance.data-DRCzy5Bx.mjs";
|
|
35
|
+
import { c as we, e as _e, f as P } from "./enhance.api-BqHb-YGL.mjs";
|
|
36
|
+
import { _ as Ce } from "./index-0kQBIHx0.mjs";
|
|
37
|
+
const ye = x({
|
|
38
|
+
name: "EnhanceSqlModal",
|
|
39
|
+
components: { BasicModal: se, BasicTable: me, BasicForm: ce, TableAction: ue },
|
|
40
|
+
emits: ["register"],
|
|
41
|
+
setup() {
|
|
42
|
+
const e = M(""), o = M(""), n = M([]), { columns: b } = ge(n), { doRequest: p, doDeleteRecord: w, tableContext: i } = pe({
|
|
43
|
+
tableProps: {
|
|
44
|
+
api: (t) => m(null, null, function* () {
|
|
45
|
+
let { dataSource: y, btnList: J } = yield we(e.value, t);
|
|
46
|
+
return n.value = J, y;
|
|
47
|
+
}),
|
|
48
|
+
columns: b,
|
|
49
|
+
canResize: !1,
|
|
50
|
+
useSearchForm: !1,
|
|
51
|
+
beforeFetch(t) {
|
|
52
|
+
return Object.assign(t, { column: "orderNum", order: "asc" });
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}), [c, { reload: s }, { rowSelection: d, selectedRowKeys: _ }] = i, [S, { closeModal: v }] = re((t) => m(null, null, function* () {
|
|
56
|
+
e.value = t.row.id, o.value = t.row.tableName, s();
|
|
57
|
+
})), { aiTestMode: h, genEnhanceSqlData: k } = fe(), [C, u] = ie(), f = M(!1), B = ee({
|
|
58
|
+
onRegister: C,
|
|
59
|
+
title: oe(() => f != null && f.value ? "修改" : "新增"),
|
|
60
|
+
width: 800,
|
|
61
|
+
confirmLoading: !1,
|
|
62
|
+
onOk: H,
|
|
63
|
+
onCancel: u.closeModal
|
|
64
|
+
});
|
|
65
|
+
let T = {};
|
|
66
|
+
const { formSchemas: N } = be(n), [$, { resetFields: O, setFieldsValue: V, validate: G }] = de({
|
|
67
|
+
schemas: N,
|
|
68
|
+
showActionButtonGroup: !1,
|
|
69
|
+
// update-begin--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
|
|
70
|
+
labelWidth: 80,
|
|
71
|
+
labelCol: null,
|
|
72
|
+
wrapperCol: null
|
|
73
|
+
// update-end--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
|
|
74
|
+
});
|
|
75
|
+
function I() {
|
|
76
|
+
v();
|
|
77
|
+
}
|
|
78
|
+
function R(t) {
|
|
79
|
+
return m(this, null, function* () {
|
|
80
|
+
var y;
|
|
81
|
+
f.value = t.isUpdate, T = q({}, (y = t.record) != null ? y : {}), u.openModal(), yield ne(), yield O(), V(T);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function j() {
|
|
85
|
+
R({ isUpdate: !1 });
|
|
86
|
+
}
|
|
87
|
+
function z(t) {
|
|
88
|
+
R({ isUpdate: !0, record: t });
|
|
89
|
+
}
|
|
90
|
+
function K() {
|
|
91
|
+
k(e.value, o.value);
|
|
92
|
+
}
|
|
93
|
+
function U() {
|
|
94
|
+
return m(this, null, function* () {
|
|
95
|
+
p(() => P(_.value));
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function H() {
|
|
99
|
+
return m(this, null, function* () {
|
|
100
|
+
try {
|
|
101
|
+
B.confirmLoading = !0;
|
|
102
|
+
let t = yield G();
|
|
103
|
+
t = Object.assign({}, T, t), yield _e(e.value, t, f.value), s(), u.closeModal();
|
|
104
|
+
} finally {
|
|
105
|
+
B.confirmLoading = !1;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
function Q(t) {
|
|
110
|
+
return [
|
|
111
|
+
{
|
|
112
|
+
label: "编辑",
|
|
113
|
+
onClick: () => z(t)
|
|
114
|
+
}
|
|
115
|
+
];
|
|
116
|
+
}
|
|
117
|
+
function W(t) {
|
|
118
|
+
return [
|
|
119
|
+
{
|
|
120
|
+
label: "删除",
|
|
121
|
+
popConfirm: {
|
|
122
|
+
title: "确定删除吗?",
|
|
123
|
+
placement: "left",
|
|
124
|
+
confirm: () => w(() => P([t.id]))
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
];
|
|
128
|
+
}
|
|
129
|
+
return {
|
|
130
|
+
rowSelection: d,
|
|
131
|
+
selectedRowKeys: _,
|
|
132
|
+
aiTestMode: h,
|
|
133
|
+
onCancel: I,
|
|
134
|
+
onAdd: j,
|
|
135
|
+
onGenEnhanceSqlData: K,
|
|
136
|
+
onBatchDelete: U,
|
|
137
|
+
getTableAction: Q,
|
|
138
|
+
getDropDownAction: W,
|
|
139
|
+
formModalProps: B,
|
|
140
|
+
registerModal: S,
|
|
141
|
+
registerTable: c,
|
|
142
|
+
registerForm: $
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
computed: {
|
|
146
|
+
tableScroll() {
|
|
147
|
+
return {
|
|
148
|
+
y: window.innerHeight - 320
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}), Me = {
|
|
153
|
+
key: 0,
|
|
154
|
+
style: { float: "left" }
|
|
155
|
+
};
|
|
156
|
+
function Se(e, o, n, b, p, w) {
|
|
157
|
+
const i = r("a-button"), c = r("a-icon"), s = r("a-menu-item"), d = r("a-menu"), _ = r("a-dropdown"), S = r("TableAction"), v = r("BasicTable"), h = r("BasicForm"), k = r("a-spin"), C = r("BasicModal");
|
|
158
|
+
return F(), E(C, {
|
|
159
|
+
onRegister: e.registerModal,
|
|
160
|
+
title: "SQL增强",
|
|
161
|
+
width: 1200,
|
|
162
|
+
defaultFullscreen: "",
|
|
163
|
+
onCancel: e.onCancel
|
|
164
|
+
}, {
|
|
165
|
+
footer: a(() => [
|
|
166
|
+
l(i, { onClick: e.onCancel }, {
|
|
167
|
+
default: a(() => [...o[3] || (o[3] = [
|
|
168
|
+
g("关闭", -1)
|
|
169
|
+
])]),
|
|
170
|
+
_: 1
|
|
171
|
+
}, 8, ["onClick"]),
|
|
172
|
+
e.aiTestMode ? (F(), le("div", Me, [
|
|
173
|
+
l(i, { onClick: e.onGenEnhanceSqlData }, {
|
|
174
|
+
default: a(() => [...o[4] || (o[4] = [
|
|
175
|
+
g("生成测试数据", -1)
|
|
176
|
+
])]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 8, ["onClick"])
|
|
179
|
+
])) : L("", !0)
|
|
180
|
+
]),
|
|
181
|
+
default: a(() => [
|
|
182
|
+
l(v, {
|
|
183
|
+
onRegister: e.registerTable,
|
|
184
|
+
rowSelection: e.rowSelection
|
|
185
|
+
}, {
|
|
186
|
+
tableTitle: a(() => [
|
|
187
|
+
l(i, {
|
|
188
|
+
onClick: e.onAdd,
|
|
189
|
+
type: "primary",
|
|
190
|
+
preIcon: "ant-design:plus"
|
|
191
|
+
}, {
|
|
192
|
+
default: a(() => [...o[0] || (o[0] = [
|
|
193
|
+
g("新增", -1)
|
|
194
|
+
])]),
|
|
195
|
+
_: 1
|
|
196
|
+
}, 8, ["onClick"]),
|
|
197
|
+
e.selectedRowKeys.length > 0 ? (F(), E(_, { key: 0 }, {
|
|
198
|
+
overlay: a(() => [
|
|
199
|
+
l(d, null, {
|
|
200
|
+
default: a(() => [
|
|
201
|
+
l(s, {
|
|
202
|
+
key: "1",
|
|
203
|
+
onClick: e.onBatchDelete
|
|
204
|
+
}, {
|
|
205
|
+
default: a(() => [
|
|
206
|
+
l(c, { type: "delete" }),
|
|
207
|
+
o[1] || (o[1] = g(" 删除 ", -1))
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["onClick"])
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
})
|
|
214
|
+
]),
|
|
215
|
+
default: a(() => [
|
|
216
|
+
l(i, { style: { "margin-left": "8px" } }, {
|
|
217
|
+
default: a(() => [
|
|
218
|
+
o[2] || (o[2] = g(" 批量操作 ", -1)),
|
|
219
|
+
l(c, { type: "down" })
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
})
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
})) : L("", !0)
|
|
226
|
+
]),
|
|
227
|
+
action: a(({ record: u }) => [
|
|
228
|
+
l(S, {
|
|
229
|
+
actions: e.getTableAction(u),
|
|
230
|
+
dropDownActions: e.getDropDownAction(u)
|
|
231
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["onRegister", "rowSelection"]),
|
|
235
|
+
l(C, te(ae(e.formModalProps)), {
|
|
236
|
+
default: a(() => [
|
|
237
|
+
l(k, {
|
|
238
|
+
spinning: e.formModalProps.confirmLoading
|
|
239
|
+
}, {
|
|
240
|
+
default: a(() => [
|
|
241
|
+
l(h, {
|
|
242
|
+
class: "popupForm",
|
|
243
|
+
onRegister: e.registerForm
|
|
244
|
+
}, null, 8, ["onRegister"])
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["spinning"])
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
}, 16)
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
}, 8, ["onRegister", "onCancel"]);
|
|
254
|
+
}
|
|
255
|
+
const Ee = /* @__PURE__ */ Ce(ye, [["render", Se], ["__scopeId", "data-v-0a46f791"]]);
|
|
256
|
+
export {
|
|
257
|
+
Ee as default
|
|
258
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, resolveComponent as l,
|
|
1
|
+
import { defineComponent as p, resolveComponent as l, createBlock as f, openBlock as c, withCtx as o, createVNode as n, createTextVNode as r } from "vue";
|
|
2
2
|
import { router as d } from "/@/router";
|
|
3
3
|
import { PageEnum as _ } from "/@/enums/pageEnum";
|
|
4
4
|
const x = /* @__PURE__ */ p({
|
|
@@ -22,7 +22,7 @@ const x = /* @__PURE__ */ p({
|
|
|
22
22
|
}
|
|
23
23
|
return (T, t) => {
|
|
24
24
|
const e = l("a-button"), m = l("a-result");
|
|
25
|
-
return
|
|
25
|
+
return c(), f(m, {
|
|
26
26
|
status: "error",
|
|
27
27
|
title: i.title,
|
|
28
28
|
subTitle: i.subTitle
|
|
@@ -32,21 +32,21 @@ const x = /* @__PURE__ */ p({
|
|
|
32
32
|
type: "primary",
|
|
33
33
|
onClick: u
|
|
34
34
|
}, {
|
|
35
|
-
default: o(() => t[0] || (t[0] = [
|
|
36
|
-
r("返回首页")
|
|
37
|
-
])),
|
|
35
|
+
default: o(() => [...t[0] || (t[0] = [
|
|
36
|
+
r("返回首页", -1)
|
|
37
|
+
])]),
|
|
38
38
|
_: 1
|
|
39
39
|
}),
|
|
40
40
|
n(e, { onClick: s }, {
|
|
41
|
-
default: o(() => t[1] || (t[1] = [
|
|
42
|
-
r("刷新页面")
|
|
43
|
-
])),
|
|
41
|
+
default: o(() => [...t[1] || (t[1] = [
|
|
42
|
+
r("刷新页面", -1)
|
|
43
|
+
])]),
|
|
44
44
|
_: 1
|
|
45
45
|
}),
|
|
46
46
|
n(e, { onClick: a }, {
|
|
47
|
-
default: o(() => t[2] || (t[2] = [
|
|
48
|
-
r("关闭")
|
|
49
|
-
])),
|
|
47
|
+
default: o(() => [...t[2] || (t[2] = [
|
|
48
|
+
r("关闭", -1)
|
|
49
|
+
])]),
|
|
50
50
|
_: 1
|
|
51
51
|
})
|
|
52
52
|
]),
|