@jeecg/online 3.7.1-RC → 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-5c3a8e6b.mjs → AuthDataConfig-d3b7afa4.mjs} +23 -23
- package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-f14a98d9.mjs} +43 -43
- package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-f1e224cc.mjs} +71 -71
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-32556109.mjs} +6 -6
- package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-364f1f67.mjs} +9 -9
- 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-21c5c387.mjs → CgformModal-c4a4e0c2.mjs} +190 -194
- package/{CgreportModal-edefa8e3.mjs → CgreportModal-8a84aae5.mjs} +181 -168
- package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-8a938e3a.mjs} +3 -3
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-405e2b58.mjs} +66 -66
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-1a45c7b7.mjs} +3 -3
- package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-f28ff0a3.mjs} +53 -54
- package/{DetailForm-deecbf3d.mjs → DetailForm-c592b8d8.mjs} +5 -5
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-dc4f9ade.mjs} +104 -104
- package/{EnhanceSqlModal-7ea1b300.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-a89ae052.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-cdcc2b48.mjs → IndexTable-2ded2014.mjs} +3 -3
- package/JModalTip-a927f85d.mjs +49 -0
- package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-04ec87d0.mjs} +1 -1
- package/{LeftDepart-d5615ed9.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-22baa378.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-711418db.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +38 -38
- 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-d5895734.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +9 -9
- package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-ad912560.mjs} +11 -11
- package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +9 -9
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-8be879b9.mjs} +52 -53
- package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-66e7b485.mjs} +108 -108
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-98ede18d.mjs} +32 -32
- package/{QueryTable-f7bfca7f.mjs → QueryTable-65d3f54f.mjs} +3 -3
- 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-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
- package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-f30613d1.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-30e0e923.mjs → index-a039036e.mjs} +272 -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-a9c75b0f.mjs → useSchemas-b074f3a1.mjs} +33 -0
- package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-6de335e3.mjs +0 -84
- package/AuthButtonConfig-89763932.mjs +0 -154
- package/AuthButtonTree-2d87d0b3.mjs +0 -157
- package/AuthFieldTree-e326fc38.mjs +0 -232
- package/CgformCopyList-365b3e8f.mjs +0 -251
- package/CodeFileListModal-24601898.mjs +0 -159
- package/CodeGeneratorModal-f09fe903.mjs +0 -282
- package/CustomButtonList-f07bc695.mjs +0 -397
- package/JModalTip-b055ab60.mjs +0 -49
- package/LeftRole-2ed8a2bf.mjs +0 -86
- package/OnlCgformErpList-58acdfa0.mjs +0 -470
- package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
- package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
- package/OnlCgformTabList-019ad753.mjs +0 -408
- package/OnlineAutoList-48589d09.mjs +0 -493
- package/OnlineAutoModal-c2928847.mjs +0 -239
- package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
- package/OnlineCustomModal-9e17b6ce.mjs +0 -232
- package/OnlineForm-9f1153ba.mjs +0 -985
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
- package/OnlineQueryForm-eedb9a60.mjs +0 -466
- package/OnlineTabForm-27655c83.mjs +0 -817
- package/SetSwitchOptions-b2af757f.mjs +0 -62
- package/SuperQuery-a8592995.mjs +0 -967
- package/index-1d1a6e56.mjs +0 -57
- package/useCgformList-f41d4dc1.mjs +0 -426
- package/useExtendComponent-dcae5c78.mjs +0 -4399
- package/useListButton-bfac4ecf.mjs +0 -697
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var A = Object.defineProperty, E = Object.defineProperties;
|
|
2
|
+
var N = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var b = (e, o, n) => o in e ?
|
|
4
|
+
var O = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var b = (e, o, n) => o in e ? A(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, u = (e, o) => {
|
|
6
6
|
for (var n in o || (o = {}))
|
|
7
|
-
|
|
7
|
+
O.call(o, n) && b(e, n, o[n]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var n of C(o))
|
|
10
10
|
S.call(o, n) && b(e, n, o[n]);
|
|
11
11
|
return e;
|
|
12
|
-
}, v = (e, o) =>
|
|
12
|
+
}, v = (e, o) => E(e, N(o));
|
|
13
13
|
import { defineComponent as g, computed as M, createVNode as P, unref as f } from "vue";
|
|
14
14
|
import { upperFirst as D } from "lodash-es";
|
|
15
15
|
import { componentMap as I } from "/@/components/Form/src/componentMap";
|
|
16
16
|
import { isFunction as K } from "/@/utils/is";
|
|
17
17
|
const G = /* @__PURE__ */ g({
|
|
18
|
-
name: "
|
|
18
|
+
name: "SuperQueryValComponent",
|
|
19
19
|
inheritAttrs: !1,
|
|
20
20
|
props: {
|
|
21
21
|
schema: {
|
|
@@ -70,8 +70,8 @@ const G = /* @__PURE__ */ g({
|
|
|
70
70
|
[m]: (...a) => {
|
|
71
71
|
const [d] = a;
|
|
72
72
|
c[m] && c[m](...a);
|
|
73
|
-
const i = d ? d.target : null,
|
|
74
|
-
e.setFormModel(r,
|
|
73
|
+
const i = d ? d.target : null, x = i ? p ? i.checked : i.value : d;
|
|
74
|
+
e.setFormModel(r, x);
|
|
75
75
|
}
|
|
76
76
|
}, j = I.get(t), c = u({
|
|
77
77
|
allowClear: !0,
|
|
@@ -80,13 +80,13 @@ const G = /* @__PURE__ */ g({
|
|
|
80
80
|
!c.disabled && t !== "RangePicker" && t && (c.placeholder = ((h = f(n)) == null ? void 0 : h.placeholder) || k(t) + e.schema.label), c.codeField = r, c.formValues = f(F);
|
|
81
81
|
const w = {
|
|
82
82
|
[l || (p ? "checked" : "value")]: e.formModel[r]
|
|
83
|
-
},
|
|
83
|
+
}, _ = v(u(u(u({}, c), V), w), {
|
|
84
84
|
allowClear: !0,
|
|
85
85
|
onPressEnter() {
|
|
86
86
|
o("submit");
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
|
-
return P(j,
|
|
89
|
+
return P(j, _, null);
|
|
90
90
|
}
|
|
91
91
|
return () => P("div", {
|
|
92
92
|
style: "width:100%"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
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) => o.put({ url: "/online/cgform/api/authColumn/batch", params: t }), c = (t) => o.post({ url: "/online/cgform/api/authColumn/batch", params: t }), h = (t, a) => o.get({ url: `/online/cgform/api/authButton/${t}`, params: a }), p = (t) => o.post({ url: "/online/cgform/api/authButton", params: t }), g = (t, a) => o.put({ url: `/online/cgform/api/authButton/${t}`, params: a }), m = (t, a) => o.get({ url: `/online/cgform/api/authData/${t}`, params: a }), $ = (t) => o.put({ url: "/online/cgform/api/authData", params: t }), d = (t, a) => a ? o.put({ url: "/online/cgform/api/authData", params: t }) : o.post({ url: "/online/cgform/api/authData", params: t }), f = (t, a) => o.delete({ url: `/online/cgform/api/authData/${t}`, params: a }), D = (t, a,
|
|
3
|
-
let
|
|
4
|
-
return o.get({ url:
|
|
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) => o.put({ url: "/online/cgform/api/authColumn/batch", params: t }), c = (t) => o.post({ url: "/online/cgform/api/authColumn/batch", params: t }), h = (t, a) => o.get({ url: `/online/cgform/api/authButton/${t}`, params: a }), p = (t) => o.post({ url: "/online/cgform/api/authButton", params: t }), g = (t, a) => o.put({ url: `/online/cgform/api/authButton/${t}`, params: a }), m = (t, a) => o.get({ url: `/online/cgform/api/authData/${t}`, params: a }), $ = (t) => o.put({ url: "/online/cgform/api/authData", params: t }), d = (t, a) => a ? o.put({ url: "/online/cgform/api/authData", params: t }) : o.post({ url: "/online/cgform/api/authData", params: t }), f = (t, a) => o.delete({ url: `/online/cgform/api/authData/${t}`, params: a }), D = (t, a, e) => {
|
|
3
|
+
let u = `/online/cgform/api/authPage/${t}/${a}`;
|
|
4
|
+
return o.get({ url: u, params: e });
|
|
5
5
|
}, A = (t, a) => {
|
|
6
|
-
let
|
|
7
|
-
return o.get({ url:
|
|
8
|
-
}, b = (t, a,
|
|
9
|
-
let
|
|
10
|
-
return o.get({ url:
|
|
11
|
-
}, B = (t) => o.get({ url: "/online/cgform/api/roleAuth", params: t }), C = (t, a,
|
|
12
|
-
let
|
|
13
|
-
return o.post({ url:
|
|
14
|
-
}, F = (t, a,
|
|
15
|
-
let
|
|
16
|
-
return o.post({ url:
|
|
17
|
-
}, L = (t, a,
|
|
18
|
-
let
|
|
19
|
-
return o.post({ url:
|
|
6
|
+
let e = `/online/cgform/api/validAuthData/${t}`;
|
|
7
|
+
return o.get({ url: e, params: a });
|
|
8
|
+
}, b = (t, a, e) => {
|
|
9
|
+
let u = `/online/cgform/api/authPage/${t}/${a}`;
|
|
10
|
+
return o.get({ url: u, params: e });
|
|
11
|
+
}, B = (t) => o.get({ url: "/online/cgform/api/roleAuth", params: t }), C = (t, a, e) => {
|
|
12
|
+
let u = `/online/cgform/api/roleColumnAuth/${t}/${a}`;
|
|
13
|
+
return o.post({ url: u, params: e });
|
|
14
|
+
}, F = (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 }, { successMessageMode: "none", isTransformResponse: !1 });
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
22
|
l as a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as p } from "vue";
|
|
2
2
|
import { useConditionFilter as h } from "/@/utils/index";
|
|
3
|
-
const
|
|
3
|
+
const S = [
|
|
4
4
|
{
|
|
5
5
|
title: "启用",
|
|
6
6
|
dataIndex: "switch",
|
|
@@ -30,7 +30,7 @@ const f = [
|
|
|
30
30
|
width: 180,
|
|
31
31
|
slots: { customRender: "form" }
|
|
32
32
|
}
|
|
33
|
-
],
|
|
33
|
+
], y = [
|
|
34
34
|
{
|
|
35
35
|
title: "启用",
|
|
36
36
|
dataIndex: "switch",
|
|
@@ -51,16 +51,20 @@ const f = [
|
|
|
51
51
|
width: 180,
|
|
52
52
|
slots: { customRender: "control" }
|
|
53
53
|
}
|
|
54
|
-
],
|
|
54
|
+
], C = [
|
|
55
55
|
{ code: "add", title: "新增", status: 0 },
|
|
56
|
-
{ code: "
|
|
56
|
+
{ code: "edit", title: "编辑", status: 0 },
|
|
57
|
+
{ code: "detail", title: "详情", status: 0 },
|
|
57
58
|
{ code: "delete", title: "删除", status: 0 },
|
|
58
59
|
{ code: "batch_delete", title: "批量删除", status: 0 },
|
|
59
60
|
{ code: "export", title: "导出", status: 0 },
|
|
60
61
|
{ code: "import", title: "导入", status: 0 },
|
|
62
|
+
{ code: "query", title: "查询", status: 0 },
|
|
63
|
+
{ code: "reset", title: "重置", status: 0 },
|
|
61
64
|
{ code: "bpm", title: "提交流程", status: 0 },
|
|
62
|
-
{ code: "super_query", title: "高级查询", status: 0 }
|
|
63
|
-
|
|
65
|
+
{ code: "super_query", title: "高级查询", status: 0 },
|
|
66
|
+
{ code: "form_confirm", title: "确定", status: 0 }
|
|
67
|
+
], n = "USE_SQL_RULES", v = [
|
|
64
68
|
{
|
|
65
69
|
title: "启用",
|
|
66
70
|
dataIndex: "switch",
|
|
@@ -80,7 +84,7 @@ const f = [
|
|
|
80
84
|
}
|
|
81
85
|
}
|
|
82
86
|
];
|
|
83
|
-
function
|
|
87
|
+
function w(o, e) {
|
|
84
88
|
return { formSchemas: p(() => [
|
|
85
89
|
{
|
|
86
90
|
label: "规则名称",
|
|
@@ -209,9 +213,9 @@ function y(o, e) {
|
|
|
209
213
|
}
|
|
210
214
|
export {
|
|
211
215
|
n as U,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
216
|
+
S as a,
|
|
217
|
+
y as b,
|
|
218
|
+
C as c,
|
|
219
|
+
v as d,
|
|
220
|
+
w as u
|
|
217
221
|
};
|
|
@@ -79,8 +79,11 @@ const r = "validate-failed", h = [
|
|
|
79
79
|
tableFixedActionType: "right",
|
|
80
80
|
// update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
|
|
81
81
|
formLabelLengthShow: 0,
|
|
82
|
-
formLabelLength: null
|
|
82
|
+
formLabelLength: null,
|
|
83
83
|
// update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
|
|
84
|
+
// 是否启用外部链接
|
|
85
|
+
enableExternalLink: 0,
|
|
86
|
+
externalLinkActions: "add,edit,detail"
|
|
84
87
|
};
|
|
85
88
|
function y() {
|
|
86
89
|
let d = [
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineComponent as e, openBlock as o, createElementBlock as r } from "vue";
|
|
2
|
+
import { useUserStore as t } from "/@/store/modules/user";
|
|
3
|
+
const _ = /* @__PURE__ */ e({
|
|
4
|
+
__name: "index",
|
|
5
|
+
setup(n) {
|
|
6
|
+
return t().getToken, (c, m) => (o(), r("div", null, "这里是你的登录页面"));
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
_ as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
var C = (e, s, r) => new Promise((a, i) => {
|
|
2
|
+
var c = (t) => {
|
|
3
|
+
try {
|
|
4
|
+
n(r.next(t));
|
|
5
|
+
} catch (o) {
|
|
6
|
+
i(o);
|
|
7
|
+
}
|
|
8
|
+
}, l = (t) => {
|
|
9
|
+
try {
|
|
10
|
+
n(r.throw(t));
|
|
11
|
+
} catch (o) {
|
|
12
|
+
i(o);
|
|
13
|
+
}
|
|
14
|
+
}, n = (t) => t.done ? a(t.value) : Promise.resolve(t.value).then(c, l);
|
|
15
|
+
n((r = r.apply(e, s)).next());
|
|
16
|
+
});
|
|
17
|
+
import { Dropdown as D, Menu as g } from "ant-design-vue";
|
|
18
|
+
import { defineComponent as I, computed as _, resolveComponent as f, openBlock as k, createBlock as M, withCtx as d, createVNode as h, createElementVNode as p, normalizeClass as u, toDisplayString as A } from "vue";
|
|
19
|
+
import { useUserStore as $ } from "/@/store/modules/user";
|
|
20
|
+
import { useHeaderSetting as U } from "/@/hooks/setting/useHeaderSetting";
|
|
21
|
+
import { useI18n as x } from "/@/hooks/web/useI18n";
|
|
22
|
+
import { useDesign as L } from "/@/hooks/web/useDesign";
|
|
23
|
+
import { useMessage as N } from "/@/hooks/web/useMessage";
|
|
24
|
+
import y from "/@/assets/images/header.jpg";
|
|
25
|
+
import { propTypes as b } from "/@/utils/propTypes";
|
|
26
|
+
import { createAsyncComponent as O } from "/@/utils/factory/createAsyncComponent";
|
|
27
|
+
import { refreshCache as S, queryAllDictItems as B } from "/@/views/system/dict/dict.api";
|
|
28
|
+
import { DB_DICT_DATA_KEY as v } from "/@/enums/cacheEnum";
|
|
29
|
+
import { removeAuthCache as K, setAuthCache as T } from "/@/utils/auth";
|
|
30
|
+
import { getFileAccessHttpUrl as E } from "/@/utils/common/compUtils";
|
|
31
|
+
import { _ as F } from "./index-9e1e1e53.mjs";
|
|
32
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
33
|
+
import "vue-router";
|
|
34
|
+
const { createMessage: w } = N(), H = I({
|
|
35
|
+
name: "UserDropdown",
|
|
36
|
+
components: {
|
|
37
|
+
Dropdown: D,
|
|
38
|
+
Menu: g,
|
|
39
|
+
MenuItem: O(() => import("./DropMenuItem-1e49abea.mjs")),
|
|
40
|
+
MenuDivider: g.Divider
|
|
41
|
+
},
|
|
42
|
+
props: {
|
|
43
|
+
theme: b.oneOf(["dark", "light"])
|
|
44
|
+
},
|
|
45
|
+
setup() {
|
|
46
|
+
const { prefixCls: e } = L("header-user-dropdown"), { t: s } = x(), { getUseLockPage: r } = U(), a = $(), i = _(() => {
|
|
47
|
+
const { realname: o = "NoLogin", avatar: m } = a.getUserInfo || {};
|
|
48
|
+
return {
|
|
49
|
+
realname: o,
|
|
50
|
+
avatar: m || y
|
|
51
|
+
};
|
|
52
|
+
}), c = _(() => {
|
|
53
|
+
let { avatar: o } = i.value;
|
|
54
|
+
return o == y ? o : E(o);
|
|
55
|
+
});
|
|
56
|
+
function l() {
|
|
57
|
+
a.confirmLoginOut();
|
|
58
|
+
}
|
|
59
|
+
function n() {
|
|
60
|
+
return C(this, null, function* () {
|
|
61
|
+
if ((yield S()).success) {
|
|
62
|
+
const m = yield B();
|
|
63
|
+
K(v), T(v, m.result), w.success(s("layout.header.refreshCacheComplete")), a.setAllDictItems(m.result);
|
|
64
|
+
} else
|
|
65
|
+
w.error(s("layout.header.refreshCacheFailure"));
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function t(o) {
|
|
69
|
+
switch (o.key) {
|
|
70
|
+
case "logout":
|
|
71
|
+
l();
|
|
72
|
+
break;
|
|
73
|
+
case "cache":
|
|
74
|
+
n();
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
prefixCls: e,
|
|
80
|
+
t: s,
|
|
81
|
+
getUserInfo: i,
|
|
82
|
+
getAvatarUrl: c,
|
|
83
|
+
handleMenuClick: t,
|
|
84
|
+
getUseLockPage: r
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
const V = ["src"];
|
|
89
|
+
function q(e, s, r, a, i, c) {
|
|
90
|
+
const l = f("MenuItem"), n = f("Menu"), t = f("Dropdown");
|
|
91
|
+
return k(), M(t, {
|
|
92
|
+
placement: "bottomLeft",
|
|
93
|
+
overlayClassName: `${e.prefixCls}-dropdown-overlay`
|
|
94
|
+
}, {
|
|
95
|
+
overlay: d(() => [
|
|
96
|
+
h(n, { onClick: e.handleMenuClick }, {
|
|
97
|
+
default: d(() => [
|
|
98
|
+
h(l, {
|
|
99
|
+
itemKey: "cache",
|
|
100
|
+
text: e.t("layout.header.dropdownItemRefreshCache"),
|
|
101
|
+
icon: "ion:sync-outline"
|
|
102
|
+
}, null, 8, ["text"]),
|
|
103
|
+
h(l, {
|
|
104
|
+
itemKey: "logout",
|
|
105
|
+
text: e.t("layout.header.dropdownItemLoginOut"),
|
|
106
|
+
icon: "ion:power-outline"
|
|
107
|
+
}, null, 8, ["text"])
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["onClick"])
|
|
111
|
+
]),
|
|
112
|
+
default: d(() => [
|
|
113
|
+
p("span", {
|
|
114
|
+
class: u([[e.prefixCls, `${e.prefixCls}--${e.theme}`], "flex"])
|
|
115
|
+
}, [
|
|
116
|
+
p("img", {
|
|
117
|
+
class: u(`${e.prefixCls}__header`),
|
|
118
|
+
src: e.getAvatarUrl
|
|
119
|
+
}, null, 10, V),
|
|
120
|
+
p("span", {
|
|
121
|
+
class: u(`${e.prefixCls}__info hidden md:block`)
|
|
122
|
+
}, [
|
|
123
|
+
p("span", {
|
|
124
|
+
class: u([`${e.prefixCls}__name `, "truncate"])
|
|
125
|
+
}, A(e.getUserInfo.realname), 3)
|
|
126
|
+
], 2)
|
|
127
|
+
], 2)
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["overlayClassName"]);
|
|
131
|
+
}
|
|
132
|
+
const ie = /* @__PURE__ */ F(H, [["render", q]]);
|
|
133
|
+
export {
|
|
134
|
+
ie as default
|
|
135
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var L = (U,
|
|
1
|
+
var L = (U, g, c) => new Promise((b, u) => {
|
|
2
2
|
var k = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
n(
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
n(c.next(r));
|
|
5
|
+
} catch (m) {
|
|
6
|
+
u(m);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, h = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
n(
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
n(c.throw(r));
|
|
11
|
+
} catch (m) {
|
|
12
|
+
u(m);
|
|
13
13
|
}
|
|
14
|
-
}, n = (r) => r.done ?
|
|
15
|
-
n((
|
|
14
|
+
}, n = (r) => r.done ? b(r.value) : Promise.resolve(r.value).then(k, h);
|
|
15
|
+
n((c = c.apply(U, g)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as O, resolveComponent as
|
|
17
|
+
import { defineComponent as O, resolveComponent as d, openBlock as S, createElementBlock as E, createVNode as a, unref as p, mergeProps as V, withCtx as l, createTextVNode as C, createBlock as q, createCommentVNode as F } from "vue";
|
|
18
18
|
import { BasicTable as K, TableAction as Q } from "/@/components/Table";
|
|
19
19
|
import { useListPage as H } from "/@/hooks/system/useListPage";
|
|
20
|
-
import { l as j, c as z, s as G, C as J, b as W, g as X, d as Y } from "./CgreportModal-
|
|
20
|
+
import { l as j, c as z, s as G, C as J, b as W, g as X, d as Y } from "./CgreportModal-8a84aae5.mjs";
|
|
21
21
|
import { useModal as Z } from "/@/components/Modal";
|
|
22
22
|
import R from "clipboard";
|
|
23
23
|
import { useRouter as ee } from "vue-router";
|
|
@@ -29,15 +29,15 @@ import "/@/views/system/user/user.api";
|
|
|
29
29
|
import "/@/utils/http/axios";
|
|
30
30
|
import "/@/hooks/web/useMessage";
|
|
31
31
|
import "/@/store/modules/permission";
|
|
32
|
-
import "./index-
|
|
32
|
+
import "./index-9e1e1e53.mjs";
|
|
33
33
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
34
34
|
const ye = /* @__PURE__ */ O({
|
|
35
35
|
__name: "index",
|
|
36
|
-
setup(U, { expose:
|
|
37
|
-
let
|
|
38
|
-
const [
|
|
36
|
+
setup(U, { expose: g }) {
|
|
37
|
+
let c = ee();
|
|
38
|
+
const [b, { openModal: u }] = Z(), {
|
|
39
39
|
prefixCls: k,
|
|
40
|
-
tableContext:
|
|
40
|
+
tableContext: h,
|
|
41
41
|
createMessage: n,
|
|
42
42
|
createConfirm: r
|
|
43
43
|
} = H({
|
|
@@ -54,15 +54,15 @@ const ye = /* @__PURE__ */ O({
|
|
|
54
54
|
schemas: G
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
}), [
|
|
57
|
+
}), [m, { reload: w }, { rowSelection: T, selectedRowKeys: y }] = h;
|
|
58
58
|
function x() {
|
|
59
|
-
|
|
59
|
+
u(!0, {
|
|
60
60
|
isUpdate: !1,
|
|
61
61
|
showFooter: !0
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
function P(t) {
|
|
65
|
-
|
|
65
|
+
u(!0, {
|
|
66
66
|
record: t,
|
|
67
67
|
isUpdate: !0,
|
|
68
68
|
showFooter: !0
|
|
@@ -70,18 +70,18 @@ const ye = /* @__PURE__ */ O({
|
|
|
70
70
|
}
|
|
71
71
|
function $(t) {
|
|
72
72
|
return L(this, null, function* () {
|
|
73
|
-
yield Y({ id: t.id },
|
|
73
|
+
yield Y({ id: t.id }, w);
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
function A() {
|
|
77
77
|
return L(this, null, function* () {
|
|
78
|
-
yield W({ ids:
|
|
79
|
-
|
|
78
|
+
yield W({ ids: y.value }, () => {
|
|
79
|
+
w(), y.value = [];
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
function D() {
|
|
84
|
-
|
|
84
|
+
w();
|
|
85
85
|
}
|
|
86
86
|
function B(t) {
|
|
87
87
|
return [
|
|
@@ -113,17 +113,17 @@ const ye = /* @__PURE__ */ O({
|
|
|
113
113
|
];
|
|
114
114
|
}
|
|
115
115
|
function I(t) {
|
|
116
|
-
|
|
116
|
+
c.push({ path: "/online/cgreport/" + t });
|
|
117
117
|
}
|
|
118
118
|
function M(t) {
|
|
119
|
-
let
|
|
120
|
-
VALUES ('${te()}', NULL, '${t.name}', '${
|
|
121
|
-
X(
|
|
119
|
+
let i = t.id, s = `/online/cgreport/${i}`, f = `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)
|
|
120
|
+
VALUES ('${te()}', NULL, '${t.name}', '${s}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)`;
|
|
121
|
+
X(i).then((o) => {
|
|
122
122
|
let e = "";
|
|
123
123
|
if (o && o.length > 0)
|
|
124
124
|
for (let _ of o)
|
|
125
125
|
e += _.paramName + "=${" + _.paramName + "}&";
|
|
126
|
-
e.length > 0 && (e = e.substring(0, e.length - 1),
|
|
126
|
+
e.length > 0 && (e = e.substring(0, e.length - 1), s += "?" + e);
|
|
127
127
|
}).catch(() => {
|
|
128
128
|
n.warning("获取参数失败!");
|
|
129
129
|
}).finally(() => {
|
|
@@ -131,18 +131,18 @@ const ye = /* @__PURE__ */ O({
|
|
|
131
131
|
iconType: "info",
|
|
132
132
|
width: 500,
|
|
133
133
|
title: `菜单链接【${t.name}】`,
|
|
134
|
-
content:
|
|
134
|
+
content: s,
|
|
135
135
|
closable: !0,
|
|
136
136
|
maskClosable: !0,
|
|
137
137
|
cancelText: "复制SQL",
|
|
138
138
|
okText: "复制URL",
|
|
139
139
|
cancelButtonProps: {
|
|
140
140
|
class: "copy-this-sql",
|
|
141
|
-
"data-clipboard-text":
|
|
141
|
+
"data-clipboard-text": f
|
|
142
142
|
},
|
|
143
143
|
okButtonProps: {
|
|
144
144
|
class: "copy-this-text",
|
|
145
|
-
"data-clipboard-text":
|
|
145
|
+
"data-clipboard-text": s
|
|
146
146
|
},
|
|
147
147
|
onOk() {
|
|
148
148
|
return new Promise((o) => {
|
|
@@ -167,38 +167,38 @@ const ye = /* @__PURE__ */ O({
|
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
return
|
|
170
|
+
return g({
|
|
171
171
|
handleAdd: x
|
|
172
|
-
}), (t,
|
|
173
|
-
const
|
|
172
|
+
}), (t, i) => {
|
|
173
|
+
const s = d("a-button"), f = d("Icon"), o = d("a-menu-item"), e = d("a-menu"), _ = d("a-dropdown");
|
|
174
174
|
return S(), E("div", null, [
|
|
175
|
-
|
|
176
|
-
onRegister:
|
|
177
|
-
rowSelection:
|
|
175
|
+
a(p(K), V({
|
|
176
|
+
onRegister: p(m),
|
|
177
|
+
rowSelection: p(T)
|
|
178
178
|
}, t.$attrs), {
|
|
179
|
-
tableTitle:
|
|
180
|
-
|
|
179
|
+
tableTitle: l(() => [
|
|
180
|
+
a(s, {
|
|
181
181
|
preIcon: "ant-design:plus-outlined",
|
|
182
182
|
type: "primary",
|
|
183
183
|
onClick: x,
|
|
184
184
|
style: { "margin-right": "5px" }
|
|
185
185
|
}, {
|
|
186
|
-
default:
|
|
186
|
+
default: l(() => i[0] || (i[0] = [
|
|
187
187
|
C("录入")
|
|
188
|
-
]),
|
|
188
|
+
])),
|
|
189
189
|
_: 1
|
|
190
190
|
}),
|
|
191
|
-
|
|
192
|
-
overlay:
|
|
193
|
-
|
|
194
|
-
default:
|
|
195
|
-
|
|
191
|
+
p(y).length > 0 ? (S(), q(_, { key: 0 }, {
|
|
192
|
+
overlay: l(() => [
|
|
193
|
+
a(e, null, {
|
|
194
|
+
default: l(() => [
|
|
195
|
+
a(o, {
|
|
196
196
|
key: "1",
|
|
197
197
|
onClick: A
|
|
198
198
|
}, {
|
|
199
|
-
default:
|
|
200
|
-
|
|
201
|
-
C(" 删除 ")
|
|
199
|
+
default: l(() => [
|
|
200
|
+
a(f, { icon: "ant-design:delete-outlined" }),
|
|
201
|
+
i[1] || (i[1] = C(" 删除 "))
|
|
202
202
|
]),
|
|
203
203
|
_: 1
|
|
204
204
|
})
|
|
@@ -206,11 +206,11 @@ const ye = /* @__PURE__ */ O({
|
|
|
206
206
|
_: 1
|
|
207
207
|
})
|
|
208
208
|
]),
|
|
209
|
-
default:
|
|
210
|
-
|
|
211
|
-
default:
|
|
212
|
-
C("批量操作 "),
|
|
213
|
-
|
|
209
|
+
default: l(() => [
|
|
210
|
+
a(s, null, {
|
|
211
|
+
default: l(() => [
|
|
212
|
+
i[2] || (i[2] = C("批量操作 ")),
|
|
213
|
+
a(f, { icon: "mdi:chevron-down" })
|
|
214
214
|
]),
|
|
215
215
|
_: 1
|
|
216
216
|
})
|
|
@@ -218,16 +218,16 @@ const ye = /* @__PURE__ */ O({
|
|
|
218
218
|
_: 1
|
|
219
219
|
})) : F("", !0)
|
|
220
220
|
]),
|
|
221
|
-
action:
|
|
222
|
-
|
|
221
|
+
action: l(({ record: N }) => [
|
|
222
|
+
a(p(Q), {
|
|
223
223
|
actions: B(N),
|
|
224
224
|
dropDownActions: v(N)
|
|
225
225
|
}, null, 8, ["actions", "dropDownActions"])
|
|
226
226
|
]),
|
|
227
227
|
_: 1
|
|
228
228
|
}, 16, ["onRegister", "rowSelection"]),
|
|
229
|
-
|
|
230
|
-
onRegister:
|
|
229
|
+
a(J, {
|
|
230
|
+
onRegister: p(b),
|
|
231
231
|
onSuccess: D
|
|
232
232
|
}, null, 8, ["onRegister"])
|
|
233
233
|
]);
|