@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
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { defineComponent as S, computed as v, ref as b, reactive as N, resolveComponent as i,
|
|
1
|
+
import { defineComponent as S, computed as v, ref as b, reactive as N, resolveComponent as i, createElementBlock as V, openBlock as O, Fragment as K, createVNode as l, unref as L, withCtx as a, createElementVNode as r, createBlock as j, createCommentVNode as q, createTextVNode as g, mergeProps as D } from "vue";
|
|
2
2
|
import { useModalInner as F, BasicModal as U } from "/@/components/Modal";
|
|
3
|
-
import { p as P } from "./utils-
|
|
3
|
+
import { p as P } from "./utils-DcQ65Qmw.mjs";
|
|
4
4
|
import { copyTextToClipboard as R } from "/@/hooks/web/useCopyToClipboard";
|
|
5
5
|
import { getToken as H } from "/@/utils/auth";
|
|
6
6
|
import { useMessage as J } from "/@/hooks/web/useMessage";
|
|
7
7
|
import { buildUUID as z } from "/@/utils/uuid";
|
|
8
|
-
import { _ as Q } from "./index-
|
|
9
|
-
import "./cgform.data-0ca62d09.mjs";
|
|
10
|
-
import "/@/utils/dict";
|
|
11
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
12
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
13
|
-
import "vue-router";
|
|
8
|
+
import { _ as Q } from "./index-0kQBIHx0.mjs";
|
|
14
9
|
const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /* @__PURE__ */ S({
|
|
15
10
|
__name: "CgformAddressModal",
|
|
16
11
|
emits: ["register"],
|
|
17
12
|
setup(ee, { emit: te }) {
|
|
18
|
-
const { createMessage: y } = J(), k = v(() => H()),
|
|
13
|
+
const { createMessage: y } = J(), k = v(() => H()), f = b(["def"]), p = b(!1), d = b("normal"), x = b(!1), u = N({
|
|
19
14
|
title: "",
|
|
20
15
|
content: "",
|
|
21
16
|
copyText: "",
|
|
@@ -26,10 +21,10 @@ const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /*
|
|
|
26
21
|
formId: t.record.id
|
|
27
22
|
});
|
|
28
23
|
const e = P(t.record);
|
|
29
|
-
|
|
24
|
+
p.value = e.enableExternalLink === 1, d.value = t.record.themeTemplate, x.value = t.record.isTree === "Y", p.value ? f.value = ["def", "external"] : f.value = ["def"];
|
|
30
25
|
}), n = v(() => {
|
|
31
26
|
const t = {};
|
|
32
|
-
if (
|
|
27
|
+
if (p.value) {
|
|
33
28
|
const e = `/online/cgform/share/${u.formId}`;
|
|
34
29
|
t.add = `${e}/add`, t.edit = `${e}/u/{dataId}`, t.detail = `${e}/d/{dataId}`;
|
|
35
30
|
}
|
|
@@ -38,45 +33,45 @@ const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /*
|
|
|
38
33
|
extLink: t
|
|
39
34
|
};
|
|
40
35
|
});
|
|
41
|
-
function
|
|
36
|
+
function $() {
|
|
42
37
|
let t = "OnlineAutoList";
|
|
43
38
|
d.value === "normal" ? t = "OnlineAutoList" : d.value === "erp" ? t = "CgformErpList" : d.value === "innerTable" ? t = "OnlCgformInnerTableList" : d.value === "tab" && (t = "OnlCgformTabList"), x.value && (t = "DefaultOnlineList");
|
|
44
39
|
const e = `-- 插入菜单
|
|
45
40
|
INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
|
|
46
41
|
VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)
|
|
47
42
|
`;
|
|
48
|
-
|
|
43
|
+
A(e);
|
|
49
44
|
}
|
|
50
|
-
function
|
|
45
|
+
function A(t) {
|
|
51
46
|
const e = R(t);
|
|
52
47
|
return e ? y.success("复制成功!") : y.error("复制失败!"), e;
|
|
53
48
|
}
|
|
54
|
-
const
|
|
49
|
+
const o = N({
|
|
55
50
|
base: "",
|
|
56
51
|
value: "",
|
|
57
52
|
visible: !1
|
|
58
|
-
}), B = v(() =>
|
|
53
|
+
}), B = v(() => o.value ? o.base.replace(/{dataId}/, o.value) + "?token=" + k.value : void 0), w = v(() => ({
|
|
59
54
|
title: "请输入dataId",
|
|
60
55
|
minHeight: 120,
|
|
61
56
|
centered: !0,
|
|
62
57
|
canFullscreen: !1,
|
|
63
|
-
onOk: () =>
|
|
64
|
-
onCancel: () =>
|
|
58
|
+
onOk: () => o.visible = !1,
|
|
59
|
+
onCancel: () => o.visible = !1
|
|
65
60
|
}));
|
|
66
|
-
function
|
|
67
|
-
|
|
61
|
+
function I(t) {
|
|
62
|
+
o.base = t, o.value = "", o.visible = !0;
|
|
68
63
|
}
|
|
69
|
-
function
|
|
70
|
-
if (!
|
|
64
|
+
function E() {
|
|
65
|
+
if (!o.value) {
|
|
71
66
|
y.warn("请输入dataId");
|
|
72
67
|
return;
|
|
73
68
|
}
|
|
74
|
-
|
|
69
|
+
o.visible = !1;
|
|
75
70
|
}
|
|
76
71
|
return (t, e) => {
|
|
77
|
-
const c = i("a-input"), m = i("a-col"), _ = i("a-row"),
|
|
72
|
+
const c = i("a-input"), m = i("a-col"), _ = i("a-row"), T = i("a-button"), C = i("a-collapse-panel"), M = i("a-collapse");
|
|
78
73
|
return O(), V(K, null, [
|
|
79
|
-
|
|
74
|
+
l(L(U), {
|
|
80
75
|
onRegister: L(h),
|
|
81
76
|
title: "配置地址",
|
|
82
77
|
width: 750,
|
|
@@ -86,25 +81,25 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
86
81
|
}, {
|
|
87
82
|
default: a(() => [
|
|
88
83
|
r("div", Y, [
|
|
89
|
-
|
|
90
|
-
activeKey:
|
|
91
|
-
"onUpdate:activeKey": e[2] || (e[2] = (s) =>
|
|
84
|
+
l(M, {
|
|
85
|
+
activeKey: f.value,
|
|
86
|
+
"onUpdate:activeKey": e[2] || (e[2] = (s) => f.value = s),
|
|
92
87
|
class: "j-collapse",
|
|
93
88
|
bordered: !1,
|
|
94
89
|
ghost: ""
|
|
95
90
|
}, {
|
|
96
91
|
default: a(() => [
|
|
97
|
-
|
|
92
|
+
l(C, {
|
|
98
93
|
key: "def",
|
|
99
94
|
header: "配置地址",
|
|
100
95
|
class: "j-collapse-panel no-header"
|
|
101
96
|
}, {
|
|
102
97
|
default: a(() => [
|
|
103
|
-
|
|
98
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
104
99
|
default: a(() => [
|
|
105
|
-
|
|
100
|
+
l(m, { span: 24 }, {
|
|
106
101
|
default: a(() => [
|
|
107
|
-
|
|
102
|
+
l(c, {
|
|
108
103
|
readOnly: !0,
|
|
109
104
|
addonBefore: "数据列表地址",
|
|
110
105
|
value: n.value.list
|
|
@@ -123,30 +118,30 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
123
118
|
]),
|
|
124
119
|
_: 1
|
|
125
120
|
}),
|
|
126
|
-
|
|
121
|
+
l(T, {
|
|
127
122
|
class: "copy-sql",
|
|
128
123
|
type: "primary",
|
|
129
124
|
size: "small",
|
|
130
|
-
onClick:
|
|
125
|
+
onClick: $
|
|
131
126
|
}, {
|
|
132
|
-
default: a(() => e[5] || (e[5] = [
|
|
133
|
-
g("复制菜单SQL")
|
|
134
|
-
])),
|
|
127
|
+
default: a(() => [...e[5] || (e[5] = [
|
|
128
|
+
g("复制菜单SQL", -1)
|
|
129
|
+
])]),
|
|
135
130
|
_: 1
|
|
136
131
|
})
|
|
137
132
|
]),
|
|
138
133
|
_: 1
|
|
139
134
|
}),
|
|
140
|
-
|
|
135
|
+
p.value ? (O(), j(C, {
|
|
141
136
|
key: "external",
|
|
142
137
|
header: "外部链接"
|
|
143
138
|
}, {
|
|
144
139
|
default: a(() => [
|
|
145
|
-
|
|
140
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
146
141
|
default: a(() => [
|
|
147
|
-
|
|
142
|
+
l(m, { span: 24 }, {
|
|
148
143
|
default: a(() => [
|
|
149
|
-
|
|
144
|
+
l(c, {
|
|
150
145
|
readOnly: !0,
|
|
151
146
|
addonBefore: "外部新增地址",
|
|
152
147
|
value: n.value.extLink.add
|
|
@@ -165,18 +160,18 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
165
160
|
]),
|
|
166
161
|
_: 1
|
|
167
162
|
}),
|
|
168
|
-
|
|
163
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
169
164
|
default: a(() => [
|
|
170
|
-
|
|
165
|
+
l(m, { span: 24 }, {
|
|
171
166
|
default: a(() => [
|
|
172
|
-
|
|
167
|
+
l(c, {
|
|
173
168
|
readOnly: !0,
|
|
174
169
|
addonBefore: "外部修改地址",
|
|
175
170
|
value: n.value.extLink.edit
|
|
176
171
|
}, {
|
|
177
172
|
addonAfter: a(() => [
|
|
178
173
|
r("a", {
|
|
179
|
-
onClick: e[0] || (e[0] = (s) =>
|
|
174
|
+
onClick: e[0] || (e[0] = (s) => I(n.value.extLink.edit))
|
|
180
175
|
}, "打开")
|
|
181
176
|
]),
|
|
182
177
|
_: 1
|
|
@@ -187,18 +182,18 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
187
182
|
]),
|
|
188
183
|
_: 1
|
|
189
184
|
}),
|
|
190
|
-
|
|
185
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
191
186
|
default: a(() => [
|
|
192
|
-
|
|
187
|
+
l(m, { span: 24 }, {
|
|
193
188
|
default: a(() => [
|
|
194
|
-
|
|
189
|
+
l(c, {
|
|
195
190
|
readOnly: !0,
|
|
196
191
|
addonBefore: "外部详情地址",
|
|
197
192
|
value: n.value.extLink.detail
|
|
198
193
|
}, {
|
|
199
194
|
addonAfter: a(() => [
|
|
200
195
|
r("a", {
|
|
201
|
-
onClick: e[1] || (e[1] = (s) =>
|
|
196
|
+
onClick: e[1] || (e[1] = (s) => I(n.value.extLink.detail))
|
|
202
197
|
}, "打开")
|
|
203
198
|
]),
|
|
204
199
|
_: 1
|
|
@@ -224,31 +219,31 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
224
219
|
]),
|
|
225
220
|
_: 1
|
|
226
221
|
}, 8, ["onRegister"]),
|
|
227
|
-
|
|
228
|
-
visible:
|
|
229
|
-
"onUpdate:visible": e[4] || (e[4] = (s) =>
|
|
222
|
+
l(L(U), D({
|
|
223
|
+
visible: o.visible,
|
|
224
|
+
"onUpdate:visible": e[4] || (e[4] = (s) => o.visible = s)
|
|
230
225
|
}, w.value), {
|
|
231
226
|
footer: a(() => [
|
|
232
227
|
r("a", {
|
|
233
228
|
href: B.value,
|
|
234
229
|
target: "_blank"
|
|
235
230
|
}, [
|
|
236
|
-
|
|
231
|
+
l(T, {
|
|
237
232
|
type: "primary",
|
|
238
|
-
onClick:
|
|
233
|
+
onClick: E
|
|
239
234
|
}, {
|
|
240
|
-
default: a(() => e[7] || (e[7] = [
|
|
241
|
-
g("确定")
|
|
242
|
-
])),
|
|
235
|
+
default: a(() => [...e[7] || (e[7] = [
|
|
236
|
+
g("确定", -1)
|
|
237
|
+
])]),
|
|
243
238
|
_: 1
|
|
244
239
|
})
|
|
245
240
|
], 8, X)
|
|
246
241
|
]),
|
|
247
242
|
default: a(() => [
|
|
248
|
-
|
|
243
|
+
l(c, {
|
|
249
244
|
placeholder: "请输入dataId",
|
|
250
|
-
value:
|
|
251
|
-
"onUpdate:value": e[3] || (e[3] = (s) =>
|
|
245
|
+
value: o.value,
|
|
246
|
+
"onUpdate:value": e[3] || (e[3] = (s) => o.value = s)
|
|
252
247
|
}, null, 8, ["value"])
|
|
253
248
|
]),
|
|
254
249
|
_: 1
|
|
@@ -256,8 +251,7 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
256
251
|
], 64);
|
|
257
252
|
};
|
|
258
253
|
}
|
|
259
|
-
});
|
|
260
|
-
const _e = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
|
|
254
|
+
}), ue = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
|
|
261
255
|
export {
|
|
262
|
-
|
|
256
|
+
ue as default
|
|
263
257
|
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { defineComponent as k, provide as B, watch as v, resolveComponent as n, createElementBlock as S, openBlock as b, Fragment as I, createElementVNode as q, createVNode as o, normalizeClass as L, withCtx as a, createCommentVNode as y, createTextVNode as l } from "vue";
|
|
2
|
+
import { TableAction as N, BasicTable as V } from "/@/components/Table";
|
|
3
|
+
import { C as O } from "./CgformModal-RH-Tr08S.mjs";
|
|
4
|
+
import $ from "./DbToOnlineModal-CDVqmEJH.mjs";
|
|
5
|
+
import P from "./CustomButtonList-7wjonhtu.mjs";
|
|
6
|
+
import z from "./EnhanceJsModal-Djb5ItH4.mjs";
|
|
7
|
+
import F from "./EnhanceJavaModal-W8_oGY-U.mjs";
|
|
8
|
+
import Q from "./EnhanceSqlModal-DxPdRcQc.mjs";
|
|
9
|
+
import Y from "./AuthManagerDrawer-DUb6QylS.mjs";
|
|
10
|
+
import j from "./AuthSetterModal-BBFdNv1M.mjs";
|
|
11
|
+
import G from "./CgformAddressModal-BVoww1fk.mjs";
|
|
12
|
+
import { C as H, u as K } from "./useCgformList-_o9GP7ca.mjs";
|
|
13
|
+
import { _ as U } from "./index-0kQBIHx0.mjs";
|
|
14
|
+
const W = k({
|
|
15
|
+
name: "CgformCopyList",
|
|
16
|
+
components: {
|
|
17
|
+
BasicTable: V,
|
|
18
|
+
TableAction: N,
|
|
19
|
+
CgformModal: O,
|
|
20
|
+
DbToOnlineModal: $,
|
|
21
|
+
CustomButtonList: P,
|
|
22
|
+
EnhanceJsModal: z,
|
|
23
|
+
EnhanceJavaModal: F,
|
|
24
|
+
EnhanceSqlModal: Q,
|
|
25
|
+
AuthManagerDrawer: Y,
|
|
26
|
+
AuthSetterModal: j,
|
|
27
|
+
CgformAddressModal: G
|
|
28
|
+
},
|
|
29
|
+
setup() {
|
|
30
|
+
const e = H.copy;
|
|
31
|
+
B("cgformPageType", e);
|
|
32
|
+
const {
|
|
33
|
+
router: t,
|
|
34
|
+
pageContext: A,
|
|
35
|
+
getTableAction: w,
|
|
36
|
+
getDropDownAction: E,
|
|
37
|
+
onShowCustomButton: R,
|
|
38
|
+
onShowEnhanceJs: s,
|
|
39
|
+
onShowEnhanceSql: i,
|
|
40
|
+
onShowEnhanceJava: c,
|
|
41
|
+
registerCustomButtonModal: d,
|
|
42
|
+
registerEnhanceJsModal: m,
|
|
43
|
+
registerEnhanceSqlModal: g,
|
|
44
|
+
registerEnhanceJavaModal: p,
|
|
45
|
+
registerAuthManagerDrawer: u,
|
|
46
|
+
registerAuthSetterModal: f,
|
|
47
|
+
registerCgformModal: h,
|
|
48
|
+
registerDbToOnlineModal: M,
|
|
49
|
+
registerAddressModal: C
|
|
50
|
+
} = K({
|
|
51
|
+
pageType: e,
|
|
52
|
+
designScope: "online-cgform-list",
|
|
53
|
+
columns: [
|
|
54
|
+
{ title: "视图表名", dataIndex: "tableName" },
|
|
55
|
+
{ title: "视图表描述", dataIndex: "tableTxt" },
|
|
56
|
+
{ title: "原表版本", dataIndex: "copyVersion" },
|
|
57
|
+
{ title: "视图版本", dataIndex: "tableVersion" }
|
|
58
|
+
],
|
|
59
|
+
formSchemas: [{ label: "表名", field: "tableName", component: "JInput" }]
|
|
60
|
+
}), { prefixCls: r, tableContext: J } = A, [D, { reload: T }, { rowSelection: _ }] = J;
|
|
61
|
+
return v(t.currentRoute, () => T()), {
|
|
62
|
+
prefixCls: r,
|
|
63
|
+
reload: T,
|
|
64
|
+
rowSelection: _,
|
|
65
|
+
getTableAction: w,
|
|
66
|
+
getDropDownAction: E,
|
|
67
|
+
onShowCustomButton: R,
|
|
68
|
+
onShowEnhanceJs: s,
|
|
69
|
+
onShowEnhanceSql: i,
|
|
70
|
+
onShowEnhanceJava: c,
|
|
71
|
+
registerCustomButtonModal: d,
|
|
72
|
+
registerEnhanceJsModal: m,
|
|
73
|
+
registerEnhanceSqlModal: g,
|
|
74
|
+
registerEnhanceJavaModal: p,
|
|
75
|
+
registerAuthManagerDrawer: u,
|
|
76
|
+
registerAuthSetterModal: f,
|
|
77
|
+
registerTable: D,
|
|
78
|
+
registerCgformModal: h,
|
|
79
|
+
registerDbToOnlineModal: M,
|
|
80
|
+
registerAddressModal: C
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}), X = {
|
|
84
|
+
key: 0,
|
|
85
|
+
style: { color: "limegreen" }
|
|
86
|
+
}, Z = {
|
|
87
|
+
key: 1,
|
|
88
|
+
style: { color: "red" }
|
|
89
|
+
};
|
|
90
|
+
function x(e, t, A, w, E, R) {
|
|
91
|
+
const s = n("a-button"), i = n("TableAction"), c = n("BasicTable"), d = n("CgformModal"), m = n("EnhanceJsModal"), g = n("EnhanceJavaModal"), p = n("EnhanceSqlModal"), u = n("DbToOnlineModal"), f = n("CustomButtonList"), h = n("AuthManagerDrawer"), M = n("AuthSetterModal"), C = n("CgformAddressModal");
|
|
92
|
+
return b(), S(I, null, [
|
|
93
|
+
q("div", {
|
|
94
|
+
class: L(e.prefixCls)
|
|
95
|
+
}, [
|
|
96
|
+
o(c, {
|
|
97
|
+
onRegister: e.registerTable,
|
|
98
|
+
rowSelection: e.rowSelection
|
|
99
|
+
}, {
|
|
100
|
+
tableTitle: a(() => [
|
|
101
|
+
o(s, {
|
|
102
|
+
onClick: e.onShowCustomButton,
|
|
103
|
+
type: "primary",
|
|
104
|
+
preIcon: "ant-design:highlight"
|
|
105
|
+
}, {
|
|
106
|
+
default: a(() => [...t[0] || (t[0] = [
|
|
107
|
+
l("自定义按钮", -1)
|
|
108
|
+
])]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["onClick"]),
|
|
111
|
+
o(s, {
|
|
112
|
+
onClick: e.onShowEnhanceJs,
|
|
113
|
+
type: "primary",
|
|
114
|
+
preIcon: "ant-design:strikethrough"
|
|
115
|
+
}, {
|
|
116
|
+
default: a(() => [...t[1] || (t[1] = [
|
|
117
|
+
l("JS增强", -1)
|
|
118
|
+
])]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["onClick"]),
|
|
121
|
+
o(s, {
|
|
122
|
+
onClick: e.onShowEnhanceSql,
|
|
123
|
+
type: "primary",
|
|
124
|
+
preIcon: "ant-design:filter"
|
|
125
|
+
}, {
|
|
126
|
+
default: a(() => [...t[2] || (t[2] = [
|
|
127
|
+
l("SQL增强", -1)
|
|
128
|
+
])]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["onClick"]),
|
|
131
|
+
o(s, {
|
|
132
|
+
onClick: e.onShowEnhanceJava,
|
|
133
|
+
type: "primary",
|
|
134
|
+
preIcon: "ant-design:tool"
|
|
135
|
+
}, {
|
|
136
|
+
default: a(() => [...t[3] || (t[3] = [
|
|
137
|
+
l("Java增强", -1)
|
|
138
|
+
])]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["onClick"])
|
|
141
|
+
]),
|
|
142
|
+
dbSync: a(({ text: r }) => [
|
|
143
|
+
r === "Y" ? (b(), S("span", X, "已同步")) : y("", !0),
|
|
144
|
+
r === "N" ? (b(), S("span", Z, "未同步")) : y("", !0)
|
|
145
|
+
]),
|
|
146
|
+
action: a(({ record: r }) => [
|
|
147
|
+
o(i, {
|
|
148
|
+
actions: e.getTableAction(r),
|
|
149
|
+
dropDownActions: e.getDropDownAction(r)
|
|
150
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["onRegister", "rowSelection"])
|
|
154
|
+
], 2),
|
|
155
|
+
o(d, {
|
|
156
|
+
onRegister: e.registerCgformModal,
|
|
157
|
+
actionButton: !1,
|
|
158
|
+
onSuccess: e.reload
|
|
159
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
160
|
+
o(m, { onRegister: e.registerEnhanceJsModal }, null, 8, ["onRegister"]),
|
|
161
|
+
o(g, { onRegister: e.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
|
|
162
|
+
o(p, { onRegister: e.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
|
|
163
|
+
o(u, {
|
|
164
|
+
onRegister: e.registerDbToOnlineModal,
|
|
165
|
+
onSuccess: e.reload
|
|
166
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
167
|
+
o(f, { onRegister: e.registerCustomButtonModal }, null, 8, ["onRegister"]),
|
|
168
|
+
o(h, { onRegister: e.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
|
|
169
|
+
o(M, { onRegister: e.registerAuthSetterModal }, null, 8, ["onRegister"]),
|
|
170
|
+
o(C, { onRegister: e.registerAddressModal }, null, 8, ["onRegister"])
|
|
171
|
+
], 64);
|
|
172
|
+
}
|
|
173
|
+
const pe = /* @__PURE__ */ U(W, [["render", x]]);
|
|
174
|
+
export {
|
|
175
|
+
pe as default
|
|
176
|
+
};
|