@jeecg/online 3.7.0-beta → 3.7.4-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/AccountLoginForm-84cbd344.mjs +254 -0
- package/AiModal-26903538.mjs +84 -0
- package/AppForgetPassword-52443f23.mjs +310 -0
- package/AppLogin-ecf798fa.mjs +287 -0
- package/AppLoginHeader-4432c584.mjs +27 -0
- package/AppNameEmail-3303a037.mjs +180 -0
- package/AppRegister-79a62c59.mjs +303 -0
- package/AppTenant-f0bef7ca.mjs +373 -0
- package/AppThirdForm-fd8b4604.mjs +189 -0
- package/AuthButtonConfig-d5bffca0.mjs +156 -0
- package/AuthButtonTree-b0bd6c40.mjs +165 -0
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
- package/AuthFieldConfig-f1e224cc.mjs +245 -0
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1131274c.mjs +260 -0
- package/CgformCopyList-5fba0810.mjs +252 -0
- package/CgformModal-c4a4e0c2.mjs +667 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/CodeFileViewModal-405e2b58.mjs +253 -0
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
- package/DbToOnlineModal-f28ff0a3.mjs +168 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
- package/JModalTip-a927f85d.mjs +49 -0
- package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
- package/OnlCgformInnerTableList-b283a525.mjs +474 -0
- package/OnlCgformTabList-91e3dd78.mjs +424 -0
- package/OnlineAutoList-84475f1b.mjs +513 -0
- package/OnlineAutoModal-95f46901.mjs +260 -0
- package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
- package/OnlineCustomModal-c8b1e780.mjs +232 -0
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
- package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
- package/SetSwitchOptions-f914bc17.mjs +62 -0
- package/ShareAddView-657f0f8b.mjs +86 -0
- package/ShareEditView-1b945fd3.mjs +92 -0
- package/ShareView-222ed3d8.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
- package/SingleView-23b0cb4e.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
- package/SuperQuery-46032e66.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/auth.api-53df4c33.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
- package/index-c5a79b0b.mjs +219 -0
- package/index-cce225be.mjs +110 -0
- package/index-f2c2d1cf.mjs +74 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-f3cb9156.mjs +378 -0
- package/useExtendComponent-bb98e568.mjs +4460 -0
- package/useListButton-98908683.mjs +719 -0
- package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
- package/useTableSync-075826a1.mjs +89 -0
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-fe3988fb.mjs +0 -84
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthButtonTree-589395ed.mjs +0 -156
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/AuthFieldTree-b7cd091e.mjs +0 -232
- package/CgformCopyList-8077ccc6.mjs +0 -250
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeFileListModal-0e26b7e0.mjs +0 -158
- package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/CustomButtonList-37639061.mjs +0 -381
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JModalTip-4a83aaed.mjs +0 -49
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/LeftRole-7d8c5acc.mjs +0 -86
- package/OnlCgformErpList-30e416c8.mjs +0 -470
- package/OnlCgformErpSubTable-9a876058.mjs +0 -427
- package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
- package/OnlCgformTabList-7a2f2c03.mjs +0 -408
- package/OnlineAutoList-46c6c8b9.mjs +0 -493
- package/OnlineAutoModal-971bef13.mjs +0 -236
- package/OnlineAutoTreeList-3b92454c.mjs +0 -502
- package/OnlineCustomModal-594244f3.mjs +0 -232
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/OnlineTabForm-9ad7d29a.mjs +0 -805
- package/SetSwitchOptions-a452fa0f.mjs +0 -62
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useCgformList-8755a94e.mjs +0 -426
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useListButton-7ddb9a46.mjs +0 -697
- package/useTableSync-f6089e8a.mjs +0 -87
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
package/auth.api-d3a6c4b3.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { defHttp as o } from "/@/utils/http/axios";
|
|
2
|
-
const l = (t, a) => o.get({ url: `/online/cgform/api/authColumn/${t}`, params: a }), r = (t) => o.put({ url: "/online/cgform/api/authColumn", params: t }), s = (t) => o.post({ url: "/online/cgform/api/authColumn", params: t }), i = (t, a) => o.get({ url: `/online/cgform/api/authButton/${t}`, params: a }), c = (t) => o.post({ url: "/online/cgform/api/authButton", params: t }), h = (t, a) => o.put({ url: `/online/cgform/api/authButton/${t}`, params: a }), p = (t, a) => o.get({ url: `/online/cgform/api/authData/${t}`, params: a }), g = (t) => o.put({ url: "/online/cgform/api/authData", params: t }), $ = (t, a) => a ? o.put({ url: "/online/cgform/api/authData", params: t }) : o.post({ url: "/online/cgform/api/authData", params: t }), m = (t, a) => o.delete({ url: `/online/cgform/api/authData/${t}`, params: a }), f = (t, a, e) => {
|
|
3
|
-
let u = `/online/cgform/api/authPage/${t}/${a}`;
|
|
4
|
-
return o.get({ url: u, params: e });
|
|
5
|
-
}, d = (t, a) => {
|
|
6
|
-
let e = `/online/cgform/api/validAuthData/${t}`;
|
|
7
|
-
return o.get({ url: e, params: a });
|
|
8
|
-
}, D = (t, a, e) => {
|
|
9
|
-
let u = `/online/cgform/api/authPage/${t}/${a}`;
|
|
10
|
-
return o.get({ url: u, params: e });
|
|
11
|
-
}, A = (t) => o.get({ url: "/online/cgform/api/roleAuth", params: t }), B = (t, a, e) => {
|
|
12
|
-
let u = `/online/cgform/api/roleColumnAuth/${t}/${a}`;
|
|
13
|
-
return o.post({ url: u, params: e });
|
|
14
|
-
}, C = (t, a, e) => {
|
|
15
|
-
let u = `/online/cgform/api/roleDataAuth/${t}/${a}`;
|
|
16
|
-
return o.post({ url: u, params: e });
|
|
17
|
-
}, L = (t, a, e) => {
|
|
18
|
-
let u = `/online/cgform/api/roleButtonAuth/${t}/${a}`;
|
|
19
|
-
return o.post({ url: u, params: e });
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
l as a,
|
|
23
|
-
r as b,
|
|
24
|
-
s as c,
|
|
25
|
-
i as d,
|
|
26
|
-
c as e,
|
|
27
|
-
h as f,
|
|
28
|
-
p as g,
|
|
29
|
-
$ as h,
|
|
30
|
-
g as i,
|
|
31
|
-
m as j,
|
|
32
|
-
f as k,
|
|
33
|
-
A as l,
|
|
34
|
-
D as m,
|
|
35
|
-
L as n,
|
|
36
|
-
d as o,
|
|
37
|
-
C as p,
|
|
38
|
-
B as s
|
|
39
|
-
};
|
package/index-173949bb.mjs
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import p from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
2
|
-
import { defineComponent as m, resolveComponent as l, openBlock as a, createElementBlock as v, createVNode as f, defineAsyncComponent as s } from "vue";
|
|
3
|
-
import { useMessage as g } from "/@/hooks/web/useMessage";
|
|
4
|
-
import { useRoute as d } from "vue-router";
|
|
5
|
-
const w = m({
|
|
6
|
-
name: "OnlCgReportList",
|
|
7
|
-
components: {
|
|
8
|
-
JPopupOnlReport: p
|
|
9
|
-
},
|
|
10
|
-
setup(e, { emit: r, refs: o }) {
|
|
11
|
-
g();
|
|
12
|
-
const t = d().path;
|
|
13
|
-
return {
|
|
14
|
-
id: t.substr(t.lastIndexOf("/") + 1)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}), b = (e, r) => {
|
|
18
|
-
const o = e.__vccOpts || e;
|
|
19
|
-
for (const [n, t] of r)
|
|
20
|
-
o[n] = t;
|
|
21
|
-
return o;
|
|
22
|
-
}, h = { class: "p-2" };
|
|
23
|
-
function O(e, r, o, n, t, c) {
|
|
24
|
-
const u = l("JPopupOnlReport");
|
|
25
|
-
return a(), v("div", h, [
|
|
26
|
-
f(u, {
|
|
27
|
-
id: e.id,
|
|
28
|
-
multi: !0,
|
|
29
|
-
clickToRowSelect: !1
|
|
30
|
-
}, null, 8, ["id"])
|
|
31
|
-
]);
|
|
32
|
-
}
|
|
33
|
-
const i = /* @__PURE__ */ b(w, [["render", O]]), T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
|
-
__proto__: null,
|
|
35
|
-
default: i
|
|
36
|
-
}, Symbol.toStringTag, { value: "Module" })), F = {
|
|
37
|
-
/**
|
|
38
|
-
* 注册组件
|
|
39
|
-
*/
|
|
40
|
-
install(e, r) {
|
|
41
|
-
e.provide("baseImport", r.baseImport), e.component("OnlCgReportList", i);
|
|
42
|
-
const o = s(() => import("./JOnlineSearchSelect-34a37ec9.mjs"));
|
|
43
|
-
e.component("JOnlineSearchSelect", o);
|
|
44
|
-
const n = s(() => import("./SuperQuery-cbfba908.mjs"));
|
|
45
|
-
e.component("SuperQuery", n);
|
|
46
|
-
},
|
|
47
|
-
getViews() {
|
|
48
|
-
return /* @__PURE__ */ Object.assign({ "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList-8077ccc6.mjs"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect-34a37ec9.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm-018981b2.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail-e036cd11.mjs"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.t), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.x), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.v), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm-998c12a4.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem-6feacae6.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade-471fcc76.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.s), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail-03f8ee5c.mjs"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm-b42198f5.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery-cbfba908.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent-7ad86d4b.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList-46c6c8b9.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal-971bef13.mjs"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal-594244f3.mjs"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal-2a271e0b.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlAdd.vue": () => import("./OnlineFormUrlAdd-7fb3dcca.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlDetail.vue": () => import("./OnlineFormUrlDetail-b2292137.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlEdit.vue": () => import("./OnlineFormUrlEdit-44080fb3.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlSuccess.vue": () => import("./OnlineFormUrlSuccess-af285b02.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpList.vue": () => import("./OnlCgformErpList-30e416c8.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpSubTable.vue": () => import("./OnlCgformErpSubTable-9a876058.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerSubTable.vue": () => import("./OnlCgformInnerSubTable-290ace5d.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerTableList.vue": () => import("./OnlCgformInnerTableList-f89b6687.mjs"), "./src/views/super/online/cgform/auto/tab/OnlCgformTabList.vue": () => import("./OnlCgformTabList-7a2f2c03.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabAutoModal.vue": () => import("./OnlineTabAutoModal-7b9bcd0b.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabDetailModal.vue": () => import("./OnlineTabDetailModal-88143301.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabForm.vue": () => import("./OnlineTabForm-9ad7d29a.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabFormDetail.vue": () => import("./OnlineTabFormDetail-bbf23caa.mjs"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList-3b92454c.mjs"), "./src/views/super/online/cgform/components/AiModal.vue": () => import("./AiModal-fe3988fb.mjs"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal-36faf29a.mjs").then((e) => e.h), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal-0e26b7e0.mjs"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal-9d4a5b5f.mjs"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal-b722d976.mjs"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal-f49b9530.mjs"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal-00f2fb55.mjs"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal-38660e3c.mjs"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer-5e2ed5ce.mjs"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal-6f74449c.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig-d50a0a65.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig-7bb0cd85.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig-490fc0ab.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree-589395ed.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree-6e3bb86f.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree-b7cd091e.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart-8ade4bf7.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole-7d8c5acc.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser-b4d1372a.mjs"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList-37639061.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal-98934198.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory-9c4acdaf.mjs").then((e) => e.a), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal-247f640d.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal-65b74b0f.mjs"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable-b5cb0e2b.mjs"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable-95dc66c1.mjs"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable-a78cb5ad.mjs"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable-1b496559.mjs"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable-6c23547b.mjs"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable-96b3dbd0.mjs"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal-cc7fce26.mjs"), "./src/views/super/online/cgform/extend/SetSwitchOptions.vue": () => import("./SetSwitchOptions-a452fa0f.mjs"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm-4aa2570b.mjs"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip-4a83aaed.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.y), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal-a138c85e.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal-17b413b0.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece-2660d709.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.w), "./src/views/super/online/cgform/index.vue": () => import("./index-d2abb8a0.mjs"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(() => T), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal-5a23d089.mjs").then((e) => e.a), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo-0544737d.mjs"), "./src/views/super/online/cgreport/index.vue": () => import("./index-581bef24.mjs") });
|
|
49
|
-
}
|
|
50
|
-
}, x = s(() => import("./OnlineSelectCascade-471fcc76.mjs")), k = s(() => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.y)), _ = s(() => import("./useExtendComponent-bb7cca20.mjs").then((e) => e.w));
|
|
51
|
-
export {
|
|
52
|
-
k as L,
|
|
53
|
-
x as O,
|
|
54
|
-
b as _,
|
|
55
|
-
_ as a,
|
|
56
|
-
F as i
|
|
57
|
-
};
|
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
var ke = Object.defineProperty, Le = Object.defineProperties;
|
|
2
|
-
var ve = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var D = Object.getOwnPropertySymbols;
|
|
4
|
-
var xe = Object.prototype.hasOwnProperty, _e = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var U = (t, o, a) => o in t ? ke(t, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[o] = a, w = (t, o) => {
|
|
6
|
-
for (var a in o || (o = {}))
|
|
7
|
-
xe.call(o, a) && U(t, a, o[a]);
|
|
8
|
-
if (D)
|
|
9
|
-
for (var a of D(o))
|
|
10
|
-
_e.call(o, a) && U(t, a, o[a]);
|
|
11
|
-
return t;
|
|
12
|
-
}, M = (t, o) => Le(t, ve(o));
|
|
13
|
-
var g = (t, o, a) => new Promise((d, f) => {
|
|
14
|
-
var m = (l) => {
|
|
15
|
-
try {
|
|
16
|
-
u(a.next(l));
|
|
17
|
-
} catch (s) {
|
|
18
|
-
f(s);
|
|
19
|
-
}
|
|
20
|
-
}, i = (l) => {
|
|
21
|
-
try {
|
|
22
|
-
u(a.throw(l));
|
|
23
|
-
} catch (s) {
|
|
24
|
-
f(s);
|
|
25
|
-
}
|
|
26
|
-
}, u = (l) => l.done ? d(l.value) : Promise.resolve(l.value).then(m, i);
|
|
27
|
-
u((a = a.apply(t, o)).next());
|
|
28
|
-
});
|
|
29
|
-
import { unref as De, isRef as Ue, watch as Oe, createVNode as O, ref as k, h as y } from "vue";
|
|
30
|
-
import { useRouter as Be } from "vue-router";
|
|
31
|
-
import { Modal as B, RadioGroup as Ne, Radio as N, Input as $e } from "ant-design-vue";
|
|
32
|
-
import { ExclamationCircleOutlined as $ } from "@ant-design/icons-vue";
|
|
33
|
-
import { useModal as p } from "/@/components/Modal";
|
|
34
|
-
import { useDrawer as Pe } from "/@/components/Drawer";
|
|
35
|
-
import { useListPage as Re } from "/@/hooks/system/useListPage";
|
|
36
|
-
import { l as Ee, d as Ae, a as Ie, b as Ye, c as qe, e as Je, f as Ge, g as je } from "./CgformModal-36faf29a.mjs";
|
|
37
|
-
import P from "clipboard";
|
|
38
|
-
import { useMessage as Ve } from "/@/hooks/web/useMessage";
|
|
39
|
-
import { buildUUID as Fe } from "/@/utils/uuid";
|
|
40
|
-
import { isArray as Qe } from "/@/utils/is";
|
|
41
|
-
import { u as Ke } from "./cgformState-d9f8ec42.mjs";
|
|
42
|
-
var E = /* @__PURE__ */ ((t) => (t[t.normal = 0] = "normal", t[t.copy = 1] = "copy", t))(E || {});
|
|
43
|
-
const L = "copy-this-text", R = "data-clipboard-text";
|
|
44
|
-
function Xe() {
|
|
45
|
-
return { createCopyModal: He };
|
|
46
|
-
}
|
|
47
|
-
const { createMessage: C, createConfirm: ze } = Ve();
|
|
48
|
-
function He(t) {
|
|
49
|
-
var f, m, i, u, l;
|
|
50
|
-
const o = De(t.copyText), a = `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)
|
|
51
|
-
VALUES ('${Fe()}', NULL, '${t.copyTitle}', '${o}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)`;
|
|
52
|
-
let d = ze(M(w({}, t), {
|
|
53
|
-
iconType: (f = t.iconType) != null ? f : "info",
|
|
54
|
-
width: (m = t.width) != null ? m : 500,
|
|
55
|
-
title: (i = t.title) != null ? i : "复制",
|
|
56
|
-
closable: !0,
|
|
57
|
-
maskClosable: (u = t.maskClosable) != null ? u : !0,
|
|
58
|
-
cancelText: "复制SQL",
|
|
59
|
-
okText: (l = t.okText) != null ? l : "复制URL",
|
|
60
|
-
cancelButtonProps: {
|
|
61
|
-
class: "copy-this-sql",
|
|
62
|
-
"data-clipboard-text": a
|
|
63
|
-
},
|
|
64
|
-
okButtonProps: M(w({}, t.okButtonProps), {
|
|
65
|
-
class: L,
|
|
66
|
-
[R]: o
|
|
67
|
-
}),
|
|
68
|
-
onOk() {
|
|
69
|
-
return new Promise((s) => {
|
|
70
|
-
const r = new P("." + L);
|
|
71
|
-
r.on("success", () => {
|
|
72
|
-
r.destroy(), C.success("复制URL成功"), s();
|
|
73
|
-
}), r.on("error", () => {
|
|
74
|
-
C.error("该浏览器不支持自动复制"), r.destroy(), s();
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
},
|
|
78
|
-
onCancel() {
|
|
79
|
-
return new Promise((s) => {
|
|
80
|
-
const r = new P(".copy-this-sql");
|
|
81
|
-
r.on("success", () => {
|
|
82
|
-
r.destroy(), C.success("复制插入菜单SQL成功"), s();
|
|
83
|
-
}), r.on("error", () => {
|
|
84
|
-
C.error("该浏览器不支持自动复制"), r.destroy(), s();
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
}));
|
|
89
|
-
return Ue(t.copyText) && Oe(t.copyText, (s) => {
|
|
90
|
-
d.update({
|
|
91
|
-
okButtonProps: M(w({}, t.okButtonProps), {
|
|
92
|
-
class: L,
|
|
93
|
-
[R]: s
|
|
94
|
-
})
|
|
95
|
-
});
|
|
96
|
-
}), d;
|
|
97
|
-
}
|
|
98
|
-
function ft(t) {
|
|
99
|
-
const o = t.pageType === E.normal, a = Be(), d = Ke(), f = Re({
|
|
100
|
-
designScope: t.designScope,
|
|
101
|
-
tableProps: {
|
|
102
|
-
api: Ee,
|
|
103
|
-
columns: t.columns,
|
|
104
|
-
formConfig: {
|
|
105
|
-
//labelWidth: 200,
|
|
106
|
-
schemas: t.formSchemas
|
|
107
|
-
},
|
|
108
|
-
beforeFetch: (e) => {
|
|
109
|
-
let n = o ? 0 : 1, c = o ? void 0 : a.currentRoute.value.params.code;
|
|
110
|
-
return Qe(e.tableType_MultiString) && (e.tableType_MultiString = e.tableType_MultiString.join(",")), Object.assign(e, { copyType: n, physicId: c });
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}), { tableContext: m, createMessage: i, createConfirm: u } = f, [, { reload: l, setLoading: s }, { selectedRowKeys: r, selectedRows: b }] = m, [A, v] = p(), [I, Y] = p(), [q, J] = p(), [G, j] = p(), [V, F] = p(), [Q, K] = p(), [X, z] = p(), [H, W] = p(), [Z, ee] = Pe(), [te, ne] = p();
|
|
114
|
-
function oe() {
|
|
115
|
-
v.openModal(!0, { isUpdate: !1 });
|
|
116
|
-
}
|
|
117
|
-
function ae() {
|
|
118
|
-
J.openModal(!0);
|
|
119
|
-
}
|
|
120
|
-
function le() {
|
|
121
|
-
l();
|
|
122
|
-
}
|
|
123
|
-
let h = null;
|
|
124
|
-
function ie(e) {
|
|
125
|
-
h = e, v.openModal(!0, { isUpdate: !0, record: e });
|
|
126
|
-
}
|
|
127
|
-
function se() {
|
|
128
|
-
h != null && h.id && (d.addChangedTable(h.id), h = null), l();
|
|
129
|
-
}
|
|
130
|
-
function re(e) {
|
|
131
|
-
return g(this, null, function* () {
|
|
132
|
-
yield Ie(e), l();
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
function ce(e) {
|
|
136
|
-
return g(this, null, function* () {
|
|
137
|
-
yield Ye(e), l();
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
function ue() {
|
|
141
|
-
let e = r.value;
|
|
142
|
-
if (e.length <= 0) {
|
|
143
|
-
i.warning("请先选择一条记录!");
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
u({
|
|
147
|
-
title: "删除",
|
|
148
|
-
content: "<p>移除只会删除表单配置;<br>删除则会删除对应的数据库表以及子表且不能恢复。<br>请确认您的操作…</p>",
|
|
149
|
-
iconType: "warning",
|
|
150
|
-
closable: !0,
|
|
151
|
-
okText: "移除",
|
|
152
|
-
cancelText: "删除",
|
|
153
|
-
cancelButtonProps: { danger: !0 },
|
|
154
|
-
onOk: () => g(this, null, function* () {
|
|
155
|
-
return x(qe, e, !0);
|
|
156
|
-
}),
|
|
157
|
-
onCancel(n) {
|
|
158
|
-
if (n.name)
|
|
159
|
-
return n != null && n.triggerCancel ? Promise.resolve() : x(Je, e, !0);
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
function x(e, n, c = !1) {
|
|
164
|
-
return g(this, null, function* () {
|
|
165
|
-
try {
|
|
166
|
-
s(!0);
|
|
167
|
-
const S = yield e(n);
|
|
168
|
-
return l(), c && (r.value = []), S;
|
|
169
|
-
} finally {
|
|
170
|
-
s(!1);
|
|
171
|
-
}
|
|
172
|
-
return Promise.reject();
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
function pe() {
|
|
176
|
-
T(([e]) => F.openModal(!0, { row: e }));
|
|
177
|
-
}
|
|
178
|
-
function fe() {
|
|
179
|
-
T(([e]) => K.openModal(!0, { row: e }));
|
|
180
|
-
}
|
|
181
|
-
function de() {
|
|
182
|
-
T(([e]) => z.openModal(!0, { row: e }));
|
|
183
|
-
}
|
|
184
|
-
function me() {
|
|
185
|
-
T(([e]) => W.openModal(!0, { row: e }));
|
|
186
|
-
}
|
|
187
|
-
function be() {
|
|
188
|
-
Y.openModal(!0, {});
|
|
189
|
-
}
|
|
190
|
-
function T(e, n = 1, c = 1) {
|
|
191
|
-
b.value.length < n ? i.warning(`请先至少选中 ${n} 条记录`) : b.value.length > c ? i.warning(`最多只能选中 ${n} 条记录`) : e(b.value);
|
|
192
|
-
}
|
|
193
|
-
function he() {
|
|
194
|
-
if (b.value.length === 0)
|
|
195
|
-
i.warning("请先选中一条记录");
|
|
196
|
-
else if (b.value.length > 1)
|
|
197
|
-
i.warning("代码生成只能选中一条记录");
|
|
198
|
-
else {
|
|
199
|
-
let e = b.value[0];
|
|
200
|
-
e ? e.isDbSynch != "Y" ? i.warning("请先同步数据库!") : e.tableType == 3 ? i.warning("请选中该表对应的主表") : j.openModal(!0, { code: e.id }) : i.warning("请选中当前页的数据!");
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
function ge(e) {
|
|
204
|
-
if (e.isTree == "Y")
|
|
205
|
-
a.push({ path: "/online/cgformTreeList/" + e.id });
|
|
206
|
-
else
|
|
207
|
-
switch (e.themeTemplate) {
|
|
208
|
-
case "erp":
|
|
209
|
-
a.push({ path: "/online/cgformErpList/" + e.id });
|
|
210
|
-
break;
|
|
211
|
-
case "tab":
|
|
212
|
-
a.push({ path: "/online/cgformTabList/" + e.id });
|
|
213
|
-
break;
|
|
214
|
-
case "innerTable":
|
|
215
|
-
a.push({ path: "/online/cgformInnerTableList/" + e.id });
|
|
216
|
-
break;
|
|
217
|
-
default:
|
|
218
|
-
a.push({ path: "/online/cgformList/" + e.id });
|
|
219
|
-
break;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
function ye(e) {
|
|
223
|
-
const n = k("normal"), c = k(!1), S = u({
|
|
224
|
-
iconType: "info",
|
|
225
|
-
title: "同步数据库",
|
|
226
|
-
content: () => y(
|
|
227
|
-
"div",
|
|
228
|
-
{
|
|
229
|
-
style: "margin: 20px 0;"
|
|
230
|
-
},
|
|
231
|
-
y(
|
|
232
|
-
Ne,
|
|
233
|
-
{
|
|
234
|
-
value: n.value,
|
|
235
|
-
disabled: c.value,
|
|
236
|
-
"onUpdate:value": (_) => n.value = _
|
|
237
|
-
},
|
|
238
|
-
() => [y(N, { value: "normal" }, () => "普通同步(保留表数据)"), y(N, { value: "force" }, () => "强制同步(删除表,重新生成)")]
|
|
239
|
-
)
|
|
240
|
-
),
|
|
241
|
-
maskClosable: !0,
|
|
242
|
-
okText: "开始同步",
|
|
243
|
-
onOk() {
|
|
244
|
-
return g(this, null, function* () {
|
|
245
|
-
c.value = !0, S.update({
|
|
246
|
-
maskClosable: !1,
|
|
247
|
-
keyboard: !1,
|
|
248
|
-
okText: "同步中…",
|
|
249
|
-
okButtonProps: { loading: c.value },
|
|
250
|
-
cancelButtonProps: { disabled: c.value }
|
|
251
|
-
});
|
|
252
|
-
try {
|
|
253
|
-
yield Ge(e.id, n.value);
|
|
254
|
-
} catch (_) {
|
|
255
|
-
} finally {
|
|
256
|
-
l();
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
}
|
|
262
|
-
const { createCopyModal: Te } = Xe();
|
|
263
|
-
function we(e) {
|
|
264
|
-
let n;
|
|
265
|
-
e.themeTemplate === "erp" ? n = `/online/cgformErpList/${e.id}` : e.themeTemplate === "innerTable" ? n = `/online/cgformInnerTableList/${e.id}` : e.themeTemplate === "tab" ? n = `/online/cgformTabList/${e.id}` : e.isTree == "Y" ? n = `/online/cgformTreeList/${e.id}` : n = `/online/cgformList/${e.id}`, Te({
|
|
266
|
-
title: `菜单链接【${e.tableTxt}】`,
|
|
267
|
-
content: n,
|
|
268
|
-
copyText: n,
|
|
269
|
-
copyTitle: `${e.tableTxt}`
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
function Me(e) {
|
|
273
|
-
const n = k(e.tableName + "_copy");
|
|
274
|
-
u({
|
|
275
|
-
title: "复制表",
|
|
276
|
-
content: () => y(
|
|
277
|
-
"div",
|
|
278
|
-
{
|
|
279
|
-
style: "margin: 20px 0;"
|
|
280
|
-
},
|
|
281
|
-
[
|
|
282
|
-
"请输入新表名:",
|
|
283
|
-
y($e, {
|
|
284
|
-
value: n.value,
|
|
285
|
-
"onUpdate:value": (c) => n.value = c
|
|
286
|
-
})
|
|
287
|
-
]
|
|
288
|
-
),
|
|
289
|
-
iconType: "info",
|
|
290
|
-
closable: !0,
|
|
291
|
-
okText: "复制",
|
|
292
|
-
onOk() {
|
|
293
|
-
n.value ? n.value === e.tableName ? i.warning("新表名和旧表名不能一致") : je(e.id, n.value).then(l) : i.warning("请输入新表名");
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
function Ce(e) {
|
|
298
|
-
return [
|
|
299
|
-
{
|
|
300
|
-
label: "编辑",
|
|
301
|
-
onClick: () => ie(e)
|
|
302
|
-
}
|
|
303
|
-
];
|
|
304
|
-
}
|
|
305
|
-
function Se(e) {
|
|
306
|
-
return [
|
|
307
|
-
{
|
|
308
|
-
label: "同步数据库",
|
|
309
|
-
onClick: () => ye(e),
|
|
310
|
-
ifShow: () => o && e.isDbSynch != "Y"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
// TODO 功能测试
|
|
314
|
-
label: "功能测试",
|
|
315
|
-
class: ["low-app-hide"],
|
|
316
|
-
onClick: () => ge(e),
|
|
317
|
-
ifShow: () => o ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
label: "配置地址",
|
|
321
|
-
class: ["low-app-hide"],
|
|
322
|
-
onClick: () => we(e),
|
|
323
|
-
ifShow: () => o ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
label: "权限控制",
|
|
327
|
-
onClick: () => ee.openDrawer(!0, { cgformId: e.id, tableType: e.tableType })
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
label: "角色授权",
|
|
331
|
-
onClick: () => ne.openModal(!0, { cgformId: e.id })
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
label: "视图管理",
|
|
335
|
-
class: ["low-app-hide"],
|
|
336
|
-
onClick: () => a.push(`/online/copyform/${e.id}`),
|
|
337
|
-
ifShow: () => o && e.hascopy == 1
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
label: "生成视图",
|
|
341
|
-
class: ["low-app-hide"],
|
|
342
|
-
popConfirm: {
|
|
343
|
-
title: "确定生成视图吗?",
|
|
344
|
-
placement: "left",
|
|
345
|
-
confirm: () => {
|
|
346
|
-
s(!0), Ae(e.id).then(() => {
|
|
347
|
-
i.success("已成功生成视图");
|
|
348
|
-
}).finally(() => {
|
|
349
|
-
s(!1), l();
|
|
350
|
-
});
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
ifShow: () => o
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
label: "复制表",
|
|
357
|
-
onClick: () => Me(e),
|
|
358
|
-
ifShow: () => o
|
|
359
|
-
},
|
|
360
|
-
// update-begin--author:liaozhiyang---date:20240313---for:【QQYUN-8485】online删除提示优化
|
|
361
|
-
{
|
|
362
|
-
label: "移除",
|
|
363
|
-
onClick: () => {
|
|
364
|
-
B.confirm({
|
|
365
|
-
title: "确认移除该表吗?",
|
|
366
|
-
icon: O($),
|
|
367
|
-
content: "只删除online配置表,数据库物理表保留",
|
|
368
|
-
onOk() {
|
|
369
|
-
return ce(e.id);
|
|
370
|
-
},
|
|
371
|
-
okText: "移除",
|
|
372
|
-
cancelText: "取消"
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
label: "删除",
|
|
378
|
-
onClick: () => {
|
|
379
|
-
B.confirm({
|
|
380
|
-
title: "确认彻底删除该表吗?",
|
|
381
|
-
icon: O($),
|
|
382
|
-
content: "删除online配置表的同时会删除数据库物理表",
|
|
383
|
-
onOk() {
|
|
384
|
-
return re(e.id);
|
|
385
|
-
},
|
|
386
|
-
okText: "删除",
|
|
387
|
-
cancelText: "取消"
|
|
388
|
-
});
|
|
389
|
-
},
|
|
390
|
-
ifShow: () => o
|
|
391
|
-
}
|
|
392
|
-
// update-end--author:liaozhiyang---date:20240313---for:【QQYUN-8485】online删除提示优化
|
|
393
|
-
];
|
|
394
|
-
}
|
|
395
|
-
return {
|
|
396
|
-
router: a,
|
|
397
|
-
pageContext: f,
|
|
398
|
-
onAdd: oe,
|
|
399
|
-
onAiCreateTable: ae,
|
|
400
|
-
onSuccess: se,
|
|
401
|
-
onDeleteBatch: ue,
|
|
402
|
-
onImportDbTable: be,
|
|
403
|
-
onGenerateCode: he,
|
|
404
|
-
onShowCustomButton: pe,
|
|
405
|
-
onShowEnhanceJs: fe,
|
|
406
|
-
onShowEnhanceSql: de,
|
|
407
|
-
onShowEnhanceJava: me,
|
|
408
|
-
onCreateAiTable: le,
|
|
409
|
-
getTableAction: Ce,
|
|
410
|
-
getDropDownAction: Se,
|
|
411
|
-
registerCustomButtonModal: V,
|
|
412
|
-
registerEnhanceJsModal: Q,
|
|
413
|
-
registerEnhanceSqlModal: X,
|
|
414
|
-
registerEnhanceJavaModal: H,
|
|
415
|
-
registerAuthManagerDrawer: Z,
|
|
416
|
-
registerAuthSetterModal: te,
|
|
417
|
-
registerCgformModal: A,
|
|
418
|
-
registerDbToOnlineModal: I,
|
|
419
|
-
registerCodeGeneratorModal: G,
|
|
420
|
-
registerAiToOnlineModal: q
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
export {
|
|
424
|
-
E as C,
|
|
425
|
-
ft as u
|
|
426
|
-
};
|