jmash-core 0.0.27 → 0.0.29
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/dist/{401-M7cRiNeA.mjs → 401-BpFL6Wou.mjs} +2 -2
- package/dist/{404-Dj6c1lv8.mjs → 404-B2fGmCHd.mjs} +1 -1
- package/dist/{BarChart-BRzr-1Pg.mjs → BarChart-W-SAFGgJ.mjs} +2 -2
- package/dist/{PieChart-Bwf_dDor.mjs → PieChart-DfFb4yVO.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DZdDTVjb.mjs → PieChart.vue_vue_type_script_setup_true_lang-BKQzeEvm.mjs} +2 -2
- package/dist/{RadarChart-CqhtPDg5.mjs → RadarChart-CUZ1RLG5.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-9-54WMZq.mjs → RadarChart.vue_vue_type_script_setup_true_lang-SrVhFOp2.mjs} +2 -2
- package/dist/a_fixed-CXYo1gbQ.mjs +4 -0
- package/dist/a_list-nphA7BPW.mjs +4 -0
- package/dist/anquanrizhi-BMAtNRi-.mjs +4 -0
- package/dist/api-CqqDM6lC.mjs +4 -0
- package/dist/bumenguanli-_DtFk-Tc.mjs +4 -0
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +4 -0
- package/dist/captcha-Ca2DxFnb.mjs +4 -0
- package/dist/cascader-CVLDcfYS.mjs +4 -0
- package/dist/client-BuhkltCt.mjs +4 -0
- package/dist/close-B7UHw1tp.mjs +4 -0
- package/dist/close_all-Dp3gNriY.mjs +4 -0
- package/dist/close_left-B31SalrN.mjs +4 -0
- package/dist/close_other-BX1LJARr.mjs +4 -0
- package/dist/close_right-CJZGXRxS.mjs +4 -0
- package/dist/dict-CstSmJGm.mjs +4 -0
- package/dist/document-CbJQ3IQT.mjs +4 -0
- package/dist/download-d1CYmFFp.mjs +4 -0
- package/dist/drag-CwjZNuUJ.mjs +4 -0
- package/dist/{edit-BvvDET5t.mjs → edit-7NPn7Jk7.mjs} +1 -1
- package/dist/{edit-B9Lq-t_r.mjs → edit-BI8AxqQP.mjs} +1 -1
- package/dist/{edit-CmZKTMpm.mjs → edit-Bnw7U7eL.mjs} +90 -88
- package/dist/{edit-CaxsTptv.mjs → edit-BoLxB5EY.mjs} +52 -50
- package/dist/edit-C6TX6ZTZ.mjs +4 -0
- package/dist/{edit-BRxQkFDt.mjs → edit-CMbTKYFF.mjs} +1 -1
- package/dist/{edit-C7GD0nSe.mjs → edit-DGRBrUhW.mjs} +1 -1
- package/dist/edit-Eg28bv4t.mjs +4 -0
- package/dist/edit-c7dEyma4.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHfZOjnV.mjs → edit.vue_vue_type_script_setup_true_lang-53GSkLf9.mjs} +35 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CLen66ub.mjs → edit.vue_vue_type_script_setup_true_lang-BE--oN5N.mjs} +46 -44
- package/dist/edit.vue_vue_type_script_setup_true_lang-CBHG6wpS.mjs +590 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2EOXI-4.mjs → edit.vue_vue_type_script_setup_true_lang-CY9b03JY.mjs} +35 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BJra8IL2.mjs → edit.vue_vue_type_script_setup_true_lang-DEq5JlSy.mjs} +32 -31
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CD9L7JV6.mjs → edit.vue_vue_type_script_setup_true_lang-DmBWrt0o.mjs} +39 -38
- package/dist/{el-card-DSL4P5gG.mjs → el-card-DDJhkx_r.mjs} +1 -1
- package/dist/{el-col-1uWbtffl.mjs → el-col-1pNAzCzM.mjs} +7 -7
- package/dist/{el-date-picker-5Ichw8rC.mjs → el-date-picker-BB5hiA2A.mjs} +424 -424
- package/dist/{el-divider-DU-ox9JK.mjs → el-divider-2aKfjla4.mjs} +1 -1
- package/dist/{el-dropdown-item-Bt9Aai9P.mjs → el-dropdown-item-D43lTQQn.mjs} +47 -46
- package/dist/el-form-item-CfB3NJcN.mjs +1124 -0
- package/dist/{el-tree-select-CSA9Hezj.mjs → el-tree-select-DuBB1RZs.mjs} +31 -31
- package/dist/email-B2AUCEGq.mjs +4 -0
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +4 -0
- package/dist/eye-DeDz_5CQ.mjs +4 -0
- package/dist/eye-open-DqtT7Ue1.mjs +4 -0
- package/dist/fullscreen-CgUsFPmH.mjs +4 -0
- package/dist/fullscreen-exit-CdKPxnPS.mjs +4 -0
- package/dist/gangweiguanli-bkwyhEXB.mjs +4 -0
- package/dist/github-D8t79enS.mjs +4 -0
- package/dist/homepage-Dvoa-z90.mjs +4 -0
- package/dist/icon-DwZ6Hkfk.mjs +4 -0
- package/dist/indent-decrease-BtTedpts.mjs +4 -0
- package/dist/{index-BC43E5Ar.mjs → index-7wqOITFC.mjs} +43 -40
- package/dist/{index-CZy6Ahnx.mjs → index-Aiekem6C.mjs} +1 -1
- package/dist/index-B0bb18sC.mjs +23679 -0
- package/dist/{index-CkO9KLDz.mjs → index-Bale7LTK.mjs} +154 -152
- package/dist/{index-WvQkk6zz.mjs → index-C3XVNEvL.mjs} +101 -99
- package/dist/{index-PuOF-77f.mjs → index-CH5rOF9a.mjs} +47 -47
- package/dist/{index-BbW9mmA_.mjs → index-CQ8u4unc.mjs} +5 -5
- package/dist/{index-43qW6Kzo.mjs → index-Cp3JTbHz.mjs} +65 -64
- package/dist/{index-CMoyhn2V.mjs → index-Cui5OwdH.mjs} +92 -90
- package/dist/{index-L7Wb4QU_.mjs → index-DJbKPe8f.mjs} +1 -1
- package/dist/{index-HxChxr7a.mjs → index-DMOlZhJL.mjs} +82 -80
- package/dist/{index-BE1CpPx5.mjs → index-DO4anNVQ.mjs} +1 -1
- package/dist/{index-BVi8jMer.mjs → index-DR5htlqC.mjs} +1 -1
- package/dist/{index-DwCnuhwT.mjs → index-DfPT7Aqv.mjs} +46 -44
- package/dist/index-DpHQyin2.mjs +502 -0
- package/dist/{index-Dhot8quq.mjs → index-Dt3nhXwm.mjs} +49 -48
- package/dist/{index-BEysoYwl.mjs → index-DviGF8QS.mjs} +89 -87
- package/dist/{index-BG-VGQjG.mjs → index-P3GLSfAw.mjs} +58 -56
- package/dist/{index-Dh3QVFbj.mjs → index-Xx0qfX45.mjs} +87 -85
- package/dist/{index-DXr_IDAv.mjs → index-eBJ62Jwu.mjs} +179 -178
- package/dist/index.mjs +25 -25
- package/dist/{index.vue_vue_type_script_setup_true_lang-c5OyPyj2.mjs → index.vue_vue_type_script_setup_true_lang-DwPGA2-c.mjs} +13 -12
- package/dist/ip-KttQdgnz.mjs +4 -0
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +4 -0
- package/dist/language-8_mM10m-.mjs +4 -0
- package/dist/link-C12BB_4T.mjs +4 -0
- package/dist/lock-x1nlaZbe.mjs +4 -0
- package/dist/log-ZFSIG9ZQ.mjs +4 -0
- package/dist/menu-R0l6-TrU.mjs +4 -0
- package/dist/message-DdP0o8rx.mjs +4 -0
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +4 -0
- package/dist/money-DOHVYo9H.mjs +4 -0
- package/dist/monitor-DA1U9GXQ.mjs +4 -0
- package/dist/moon-BH2YPGjD.mjs +4 -0
- package/dist/order-9UanBwm1.mjs +4 -0
- package/dist/password-BbtiGVLy.mjs +4 -0
- package/dist/peoples-CY6pAt8k.mjs +4 -0
- package/dist/phone-CdpLww4_.mjs +4 -0
- package/dist/{picture-DQoPRn9H.mjs → picture-CqVemSw7.mjs} +80 -80
- package/dist/{position-C8xJ-itb.mjs → position-DLRb7_xf.mjs} +1 -1
- package/dist/{profile-CXazX36t.mjs → profile-CEYaxa6H.mjs} +30 -29
- package/dist/project-CcbJeg5G.mjs +4 -0
- package/dist/publish-BPlkrj9K.mjs +4 -0
- package/dist/quanxianguanli-Cpcc8C4D.mjs +4 -0
- package/dist/redis-fjUUmFu3.mjs +4 -0
- package/dist/refresh-FEjK-h-7.mjs +4 -0
- package/dist/role-DiO02CEe.mjs +4 -0
- package/dist/{runAs-Wg71lsRu.mjs → runAs-XwZrGd7W.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-Tv0kn1GL.mjs → runAs.vue_vue_type_script_setup_true_lang-Da7v3sT2.mjs} +21 -20
- package/dist/security-pFtu_-jl.mjs +4 -0
- package/dist/setting-4Nly5aI_.mjs +4 -0
- package/dist/shoujihao-BFt1tDJn.mjs +4 -0
- package/dist/shrink-kEdKK3G7.mjs +4 -0
- package/dist/size-Dp8pcL7e.mjs +4 -0
- package/dist/sunny-bOd_iT1-.mjs +4 -0
- package/dist/system-19q1vLmi.mjs +4 -0
- package/dist/table-CvNtd0_I.mjs +4 -0
- package/dist/team-COy-X023.mjs +4 -0
- package/dist/todolist-BjVDWiLT.mjs +4 -0
- package/dist/tree-COLikYEs.mjs +4 -0
- package/dist/{types-bGS-6yqy.mjs → types-CdTdIYnQ.mjs} +33 -33
- package/dist/{updatePwd-B353QzsI.mjs → updatePwd-CDdBkLQQ.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CwJDtUpJ.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CRvPjIyR.mjs} +15 -14
- package/dist/user-CIuEpak9.mjs +4 -0
- package/dist/visit-xGOaaP3T.mjs +4 -0
- package/dist/xingming-DHM4olm-.mjs +4 -0
- package/dist/yonghuguanli-B3vRkdqw.mjs +4 -0
- package/dist/youxiang-D68Zx-02.mjs +4 -0
- package/dts/src/components/IconSelect/requireIcons.d.ts +8 -0
- package/dts/src/components/Pagination/index.vue.d.ts +1 -1
- package/dts/src/main.d.ts +0 -4
- package/package.json +8 -8
- package/dist/edit-CBSQovw7.mjs +0 -4
- package/dist/edit-D0lWUImW.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-DgGcCBMj.mjs +0 -588
- package/dist/el-form-item-l0sNRNKZ.mjs +0 -1
- package/dist/index-CBYpOGzw.mjs +0 -30536
- package/dist/index-fooXb-UD.mjs +0 -11
- package/dts/src/assets/icons/index.d.ts +0 -0
- package/dts/src/components/WangEditor/index.vue.d.ts +0 -18
- package/dts/src/layout/components/AppMain.vue.d.ts +0 -2
- package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +0 -2
- package/dts/src/layout/components/Sidebar/Item.vue.d.ts +0 -23
- package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +0 -24
- package/dts/src/layout/components/Sidebar/Link.vue.d.ts +0 -19
- package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +0 -12
- package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +0 -42
- package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +0 -2
- package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +0 -16
- package/dts/src/layout/components/index.d.ts +0 -4
- package/dts/src/layout/main.vue.d.ts +0 -2
- package/dts/src/utils/resize.d.ts +0 -1
- package/dts/src/views/system/log/index.vue.d.ts +0 -2
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import "./el-form-item-
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { $ as ne, aS as de, aT as se, s as ie, t as re, aV as me, E as ue, aQ as pe, b9 as ce } from "./index-B0bb18sC.mjs";
|
|
2
|
+
import { E as fe, a as _e } from "./el-col-1pNAzCzM.mjs";
|
|
3
|
+
import { E as be, a as Ce } from "./el-form-item-CfB3NJcN.mjs";
|
|
4
|
+
import { defineComponent as ge, reactive as m, resolveComponent as T, resolveDirective as ye, openBlock as r, createElementBlock as $, createVNode as l, withCtx as a, withKeys as R, unref as o, createTextVNode as u, toDisplayString as p, withDirectives as g, createBlock as y, isRef as ve, createCommentVNode as S, createElementVNode as he } from "vue";
|
|
5
|
+
import "element-plus";
|
|
6
|
+
import { useI18n as ke } from "vue-i18n";
|
|
7
|
+
import { g as we, d as $e, b as Me, a as Ee, c as Ie } from "./index-CQ8u4unc.mjs";
|
|
8
|
+
import { _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-CY9b03JY.mjs";
|
|
9
|
+
const Te = { class: "app-container" }, Re = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], Qe = /* @__PURE__ */ ge({
|
|
8
10
|
__name: "index",
|
|
9
11
|
setup(De) {
|
|
10
|
-
const { t: s } =
|
|
11
|
-
tenant:
|
|
12
|
+
const { t: s } = ke(), d = m({
|
|
13
|
+
tenant: ne().user.tenant,
|
|
12
14
|
curPage: 1,
|
|
13
15
|
pageSize: 10
|
|
14
16
|
});
|
|
@@ -17,7 +19,7 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
17
19
|
moduleCode: "",
|
|
18
20
|
moduleName: "",
|
|
19
21
|
description: ""
|
|
20
|
-
}),
|
|
22
|
+
}), c = m([
|
|
21
23
|
{
|
|
22
24
|
label: s("sysModule.code"),
|
|
23
25
|
width: "200",
|
|
@@ -63,33 +65,33 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
63
65
|
down: Ie
|
|
64
66
|
}), {
|
|
65
67
|
tableData: D,
|
|
66
|
-
total:
|
|
68
|
+
total: f,
|
|
67
69
|
listLoading: P,
|
|
68
70
|
selectionRows: F,
|
|
69
|
-
multipleTableRef:
|
|
71
|
+
multipleTableRef: B,
|
|
70
72
|
queryFormRef: M,
|
|
71
73
|
getList: h,
|
|
72
|
-
handleQuery:
|
|
73
|
-
deleteRecord:
|
|
74
|
-
deleteRecords:
|
|
74
|
+
handleQuery: _,
|
|
75
|
+
deleteRecord: U,
|
|
76
|
+
deleteRecords: q,
|
|
75
77
|
handleMoveTop: z,
|
|
76
78
|
// 上移
|
|
77
79
|
handleMoveDown: K
|
|
78
80
|
// 下移
|
|
79
|
-
} =
|
|
81
|
+
} = de(s, V, d), {
|
|
80
82
|
parIndex: L,
|
|
81
|
-
tableArray:
|
|
83
|
+
tableArray: Q,
|
|
82
84
|
getLocalStorageContent: x,
|
|
83
85
|
fixedChange: A,
|
|
84
|
-
isShowChange:
|
|
85
|
-
} =
|
|
86
|
-
function
|
|
86
|
+
isShowChange: j
|
|
87
|
+
} = se(c, "/system/module");
|
|
88
|
+
function G(e) {
|
|
87
89
|
F.value = e;
|
|
88
90
|
}
|
|
89
|
-
function
|
|
90
|
-
M.value.resetFields(),
|
|
91
|
+
function H() {
|
|
92
|
+
M.value.resetFields(), _();
|
|
91
93
|
}
|
|
92
|
-
function
|
|
94
|
+
function J() {
|
|
93
95
|
v = m({
|
|
94
96
|
moduleId: "",
|
|
95
97
|
moduleCode: "",
|
|
@@ -97,19 +99,19 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
97
99
|
description: ""
|
|
98
100
|
}), i.title = s("common.add"), i.visible = !0;
|
|
99
101
|
}
|
|
100
|
-
function
|
|
102
|
+
function O(e) {
|
|
101
103
|
i.title = s("common.edit"), i.visible = !0, v = { ...e };
|
|
102
104
|
}
|
|
103
|
-
function
|
|
105
|
+
function W(e) {
|
|
104
106
|
i.visible = e;
|
|
105
107
|
}
|
|
106
|
-
function
|
|
108
|
+
function X(e) {
|
|
107
109
|
e && h();
|
|
108
110
|
}
|
|
109
|
-
return x(),
|
|
110
|
-
const E =
|
|
111
|
-
return r(), $("div",
|
|
112
|
-
l(
|
|
111
|
+
return x(), c = Q.value, h(), (e, n) => {
|
|
112
|
+
const E = ie, k = be, b = re, Y = Ce, I = fe, Z = me, ee = _e, oe = T("Bottom"), N = ue, le = T("Top"), te = pe, ae = ce, C = ye("hasPerm");
|
|
113
|
+
return r(), $("div", Te, [
|
|
114
|
+
l(Y, {
|
|
113
115
|
ref_key: "queryFormRef",
|
|
114
116
|
ref: M,
|
|
115
117
|
model: d,
|
|
@@ -125,7 +127,7 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
125
127
|
modelValue: d.moduleCode,
|
|
126
128
|
"onUpdate:modelValue": n[0] || (n[0] = (t) => d.moduleCode = t),
|
|
127
129
|
placeholder: e.$t("sysModule.codeRequired"),
|
|
128
|
-
onKeyup:
|
|
130
|
+
onKeyup: R(o(_), ["enter"])
|
|
129
131
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
130
132
|
]),
|
|
131
133
|
_: 1
|
|
@@ -139,7 +141,7 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
139
141
|
modelValue: d.likeModuleName,
|
|
140
142
|
"onUpdate:modelValue": n[1] || (n[1] = (t) => d.likeModuleName = t),
|
|
141
143
|
placeholder: e.$t("sysModule.nameRequired"),
|
|
142
|
-
onKeyup:
|
|
144
|
+
onKeyup: R(o(_), ["enter"])
|
|
143
145
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
144
146
|
]),
|
|
145
147
|
_: 1
|
|
@@ -148,16 +150,16 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
148
150
|
default: a(() => [
|
|
149
151
|
l(b, {
|
|
150
152
|
type: "primary",
|
|
151
|
-
onClick: o(
|
|
153
|
+
onClick: o(_)
|
|
152
154
|
}, {
|
|
153
155
|
default: a(() => [
|
|
154
|
-
u(
|
|
156
|
+
u(p(e.$t("common.search")), 1)
|
|
155
157
|
]),
|
|
156
158
|
_: 1
|
|
157
159
|
}, 8, ["onClick"]),
|
|
158
|
-
l(b, { onClick:
|
|
160
|
+
l(b, { onClick: H }, {
|
|
159
161
|
default: a(() => [
|
|
160
|
-
u(
|
|
162
|
+
u(p(e.$t("common.reset")), 1)
|
|
161
163
|
]),
|
|
162
164
|
_: 1
|
|
163
165
|
})
|
|
@@ -167,17 +169,17 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
167
169
|
]),
|
|
168
170
|
_: 1
|
|
169
171
|
}, 8, ["model"]),
|
|
170
|
-
|
|
172
|
+
Re,
|
|
171
173
|
l(ee, { justify: "space-between" }, {
|
|
172
174
|
default: a(() => [
|
|
173
175
|
l(I, { span: 19 }, {
|
|
174
176
|
default: a(() => [
|
|
175
177
|
g((r(), y(b, {
|
|
176
178
|
type: "primary",
|
|
177
|
-
onClick:
|
|
179
|
+
onClick: J
|
|
178
180
|
}, {
|
|
179
181
|
default: a(() => [
|
|
180
|
-
u(
|
|
182
|
+
u(p(e.$t("common.add")), 1)
|
|
181
183
|
]),
|
|
182
184
|
_: 1
|
|
183
185
|
})), [
|
|
@@ -185,10 +187,10 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
185
187
|
]),
|
|
186
188
|
g((r(), y(b, {
|
|
187
189
|
type: "primary",
|
|
188
|
-
onClick: n[2] || (n[2] = (t) => o(
|
|
190
|
+
onClick: n[2] || (n[2] = (t) => o(q)("moduleId"))
|
|
189
191
|
}, {
|
|
190
192
|
default: a(() => [
|
|
191
|
-
u(
|
|
193
|
+
u(p(e.$t("common.batchDelete")), 1)
|
|
192
194
|
]),
|
|
193
195
|
_: 1
|
|
194
196
|
})), [
|
|
@@ -203,10 +205,10 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
203
205
|
}, {
|
|
204
206
|
default: a(() => [
|
|
205
207
|
l(Z, {
|
|
206
|
-
"table-label": o(
|
|
208
|
+
"table-label": o(c),
|
|
207
209
|
"par-index": o(L),
|
|
208
210
|
onFixedChange: o(A),
|
|
209
|
-
onIsShowChange: o(
|
|
211
|
+
onIsShowChange: o(j)
|
|
210
212
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
211
213
|
]),
|
|
212
214
|
_: 1
|
|
@@ -217,12 +219,12 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
217
219
|
l(te, {
|
|
218
220
|
class: "table-top",
|
|
219
221
|
ref_key: "multipleTableRef",
|
|
220
|
-
ref:
|
|
222
|
+
ref: B,
|
|
221
223
|
"row-keys": "moduleId",
|
|
222
224
|
"table-data": o(D),
|
|
223
225
|
"list-loading": o(P),
|
|
224
|
-
"table-label": o(
|
|
225
|
-
onTableSelected:
|
|
226
|
+
"table-label": o(c),
|
|
227
|
+
onTableSelected: G
|
|
226
228
|
}, {
|
|
227
229
|
sort: a((t) => [
|
|
228
230
|
l(N, {
|
|
@@ -247,27 +249,27 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
247
249
|
operation: a((t) => [
|
|
248
250
|
g((r(), $("span", {
|
|
249
251
|
class: "el-button-color",
|
|
250
|
-
onClick: (w) =>
|
|
252
|
+
onClick: (w) => O(t.data.row)
|
|
251
253
|
}, [
|
|
252
|
-
u(
|
|
254
|
+
u(p(e.$t("common.edit")), 1)
|
|
253
255
|
], 8, Se)), [
|
|
254
256
|
[C, ["rbac:module:update"]]
|
|
255
257
|
]),
|
|
256
258
|
g((r(), $("span", {
|
|
257
259
|
class: "el-button-color dropdown-left",
|
|
258
|
-
onClick: (w) => o(
|
|
260
|
+
onClick: (w) => o(U)(t.data.row.moduleId)
|
|
259
261
|
}, [
|
|
260
|
-
u(
|
|
262
|
+
u(p(e.$t("common.delete")), 1)
|
|
261
263
|
], 8, Ve)), [
|
|
262
264
|
[C, ["rbac:module:delete"]]
|
|
263
265
|
])
|
|
264
266
|
]),
|
|
265
267
|
_: 1
|
|
266
268
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
267
|
-
o(
|
|
269
|
+
o(f) > 0 ? (r(), y(ae, {
|
|
268
270
|
key: 0,
|
|
269
|
-
total: o(
|
|
270
|
-
"onUpdate:total": n[3] || (n[3] = (t) =>
|
|
271
|
+
total: o(f),
|
|
272
|
+
"onUpdate:total": n[3] || (n[3] = (t) => ve(f) ? f.value = t : null),
|
|
271
273
|
page: d.curPage,
|
|
272
274
|
"onUpdate:page": n[4] || (n[4] = (t) => d.curPage = t),
|
|
273
275
|
limit: d.pageSize,
|
|
@@ -278,13 +280,13 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
278
280
|
key: 1,
|
|
279
281
|
dialog: i,
|
|
280
282
|
"form-data": o(v),
|
|
281
|
-
onDialogEvent:
|
|
282
|
-
onRefresh:
|
|
283
|
+
onDialogEvent: W,
|
|
284
|
+
onRefresh: X
|
|
283
285
|
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
284
286
|
]);
|
|
285
287
|
};
|
|
286
288
|
}
|
|
287
289
|
});
|
|
288
290
|
export {
|
|
289
|
-
|
|
291
|
+
Qe as default
|
|
290
292
|
};
|
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import { _ as
|
|
4
|
-
import "./el-form-item-
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { a0 as x, W as T, af as ee, $ as oe, Y as m, ag as te, ah as se, ai as le, a6 as ne, ab as ae, aj as re, ak as ce, al as ie, s as de, r as pe, t as ue, a4 as me } from "./index-B0bb18sC.mjs";
|
|
2
|
+
import { E as _e } from "./el-card-DDJhkx_r.mjs";
|
|
3
|
+
import { _ as ge, E as fe } from "./picture-CqVemSw7.mjs";
|
|
4
|
+
import { E as he } from "./el-form-item-CfB3NJcN.mjs";
|
|
5
|
+
import { defineComponent as ve, ref as c, watchEffect as we, computed as ke, onMounted as ye, resolveComponent as Ce, openBlock as v, createElementBlock as q, createElementVNode as n, createVNode as s, unref as t, isRef as be, withCtx as a, toDisplayString as $, createTextVNode as I, createBlock as U, Fragment as Ee, renderList as Ve, createCommentVNode as Se, withKeys as A, withModifiers as xe, withDirectives as $e, vShow as Ie, pushScopeId as Re, popScopeId as De } from "vue";
|
|
6
|
+
import { useI18n as Le } from "vue-i18n";
|
|
7
|
+
import { ElForm as B } from "element-plus";
|
|
8
|
+
import { useRoute as Te } from "vue-router";
|
|
9
|
+
import { _ as qe } from "./index.vue_vue_type_script_setup_true_lang-DwPGA2-c.mjs";
|
|
10
|
+
const F = (_) => (Re("data-v-8adbbfc2"), _ = _(), De(), _), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, je = { class: "captcha" }, ze = { class: "image-slot" }, Oe = { class: "forgot-pwd" }, We = { class: "absolute bottom-1 text-[10px] text-center" }, Me = /* @__PURE__ */ F(() => /* @__PURE__ */ n("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ n("p", null, "备案号: XXXX .", -1)), He = [
|
|
11
|
+
Me,
|
|
12
|
+
Pe
|
|
13
|
+
], Qe = 992, Ye = /* @__PURE__ */ ve({
|
|
12
14
|
__name: "index",
|
|
13
15
|
setup(_) {
|
|
14
|
-
const w = x(), { title: N, version:
|
|
15
|
-
|
|
16
|
+
const w = x(), { title: N, version: K } = w, k = c(w.theme === "dark"), X = (e) => {
|
|
17
|
+
te(e), w.changeSetting({
|
|
16
18
|
key: "theme",
|
|
17
19
|
value: e ? "dark" : "light"
|
|
18
20
|
});
|
|
19
|
-
}, y =
|
|
20
|
-
|
|
21
|
-
j.value <
|
|
21
|
+
}, y = T(), { width: j } = ee();
|
|
22
|
+
we(() => {
|
|
23
|
+
j.value < Qe ? y.toggleDevice("mobile") : y.toggleDevice("desktop");
|
|
22
24
|
});
|
|
23
|
-
const C = c(!1), R = c(!1), g = c(!1), D = c(),
|
|
25
|
+
const C = c(!1), R = c(!1), g = c(!1), D = c(), L = c(B), b = c([]), r = c({
|
|
24
26
|
scope: "",
|
|
25
27
|
username: "",
|
|
26
28
|
password: ""
|
|
27
|
-
}), { t:
|
|
29
|
+
}), { t: E } = Le(), z = ke(() => {
|
|
28
30
|
const e = y.language === "en" ? "Please enter " : "请输入";
|
|
29
31
|
return {
|
|
30
32
|
username: [
|
|
31
33
|
{
|
|
32
34
|
required: !0,
|
|
33
35
|
trigger: "blur",
|
|
34
|
-
message: `${e}${
|
|
36
|
+
message: `${e}${E("login.username")}`
|
|
35
37
|
}
|
|
36
38
|
],
|
|
37
39
|
password: [
|
|
@@ -41,14 +43,14 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
41
43
|
validator: (o, p, i) => {
|
|
42
44
|
p.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
|
|
43
45
|
},
|
|
44
|
-
message: `${e}${
|
|
46
|
+
message: `${e}${E("login.password")}`
|
|
45
47
|
}
|
|
46
48
|
],
|
|
47
49
|
captchaCode: [
|
|
48
50
|
{
|
|
49
51
|
required: !0,
|
|
50
52
|
trigger: "blur",
|
|
51
|
-
message: `${e}${
|
|
53
|
+
message: `${e}${E("login.captchaCode")}`
|
|
52
54
|
}
|
|
53
55
|
]
|
|
54
56
|
};
|
|
@@ -57,21 +59,21 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
57
59
|
const { key: o } = e;
|
|
58
60
|
R.value = o && o.length === 1 && o >= "A" && o <= "Z";
|
|
59
61
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
62
|
+
function f() {
|
|
63
|
+
se().then(({ data: e }) => {
|
|
62
64
|
r.value.captchaKey = e.captchaId, D.value = e.base64Image;
|
|
63
65
|
});
|
|
64
66
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
67
|
+
function W() {
|
|
68
|
+
le().then(({ data: e }) => {
|
|
67
69
|
console.log(e), b.value = e.roleList;
|
|
68
70
|
});
|
|
69
71
|
}
|
|
70
|
-
const
|
|
71
|
-
function
|
|
72
|
-
|
|
73
|
-
e && (C.value = !0,
|
|
74
|
-
const o =
|
|
72
|
+
const M = Te(), P = oe();
|
|
73
|
+
function V() {
|
|
74
|
+
L.value.validate((e) => {
|
|
75
|
+
e && (C.value = !0, P.login(r.value).then(() => {
|
|
76
|
+
const o = M.query;
|
|
75
77
|
console.log(o);
|
|
76
78
|
const p = o.redirect ?? "/";
|
|
77
79
|
console.log(p);
|
|
@@ -79,58 +81,58 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
79
81
|
(u, d) => (console.log(u[d], o[d]), d !== "redirect" && (u[d] = o[d]), u),
|
|
80
82
|
{}
|
|
81
83
|
);
|
|
82
|
-
console.log(i), ne.push({ path: p, query: i }),
|
|
84
|
+
console.log(i), ne.push({ path: p, query: i }), f();
|
|
83
85
|
}).catch(() => {
|
|
84
|
-
|
|
86
|
+
f();
|
|
85
87
|
}).finally(() => {
|
|
86
88
|
C.value = !1;
|
|
87
89
|
}));
|
|
88
90
|
});
|
|
89
91
|
}
|
|
90
|
-
return
|
|
91
|
-
|
|
92
|
+
return ye(() => {
|
|
93
|
+
f(), W();
|
|
92
94
|
const e = x().theme;
|
|
93
95
|
x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
94
96
|
}), (e, o) => {
|
|
95
|
-
const p =
|
|
96
|
-
return v(),
|
|
97
|
-
|
|
97
|
+
const p = ae, i = re, u = ce, d = ie, h = he, S = de, H = pe, Q = ge, Y = fe, Z = Ce("router-link"), G = ue, J = _e;
|
|
98
|
+
return v(), q("div", Ue, [
|
|
99
|
+
n("div", Ae, [
|
|
98
100
|
s(p, {
|
|
99
101
|
modelValue: t(k),
|
|
100
|
-
"onUpdate:modelValue": o[0] || (o[0] = (l) =>
|
|
102
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => be(k) ? k.value = l : null),
|
|
101
103
|
"inline-prompt": "",
|
|
102
104
|
"active-color": "var(--el-fill-color-dark)",
|
|
103
105
|
"inactive-color": "var(--el-color-primary)",
|
|
104
|
-
onChange:
|
|
106
|
+
onChange: X
|
|
105
107
|
}, null, 8, ["modelValue"]),
|
|
106
|
-
s(
|
|
108
|
+
s(qe, { class: "ml-2 cursor-pointer" })
|
|
107
109
|
]),
|
|
108
|
-
s(
|
|
109
|
-
default:
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
s(J, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
|
|
111
|
+
default: a(() => [
|
|
112
|
+
n("div", Be, [
|
|
113
|
+
n("h2", null, $(t(N)), 1),
|
|
112
114
|
s(i, { class: "ml-2 absolute top-0 right-0" }, {
|
|
113
|
-
default:
|
|
114
|
-
I($(t(
|
|
115
|
+
default: a(() => [
|
|
116
|
+
I($(t(K)), 1)
|
|
115
117
|
]),
|
|
116
118
|
_: 1
|
|
117
119
|
})
|
|
118
120
|
]),
|
|
119
|
-
s(t(
|
|
121
|
+
s(t(B), {
|
|
120
122
|
ref_key: "loginFormRef",
|
|
121
|
-
ref:
|
|
123
|
+
ref: L,
|
|
122
124
|
model: t(r),
|
|
123
125
|
rules: t(z),
|
|
124
126
|
size: "large",
|
|
125
127
|
class: "login-form"
|
|
126
128
|
}, {
|
|
127
|
-
default:
|
|
128
|
-
t(b).length > 0 ? (v(),
|
|
129
|
+
default: a(() => [
|
|
130
|
+
t(b).length > 0 ? (v(), U(h, {
|
|
129
131
|
key: 0,
|
|
130
132
|
prop: "scope"
|
|
131
133
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
+
default: a(() => [
|
|
135
|
+
n("div", Fe, [
|
|
134
136
|
s(m, { "icon-class": "user" })
|
|
135
137
|
]),
|
|
136
138
|
s(d, {
|
|
@@ -139,8 +141,8 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
139
141
|
placeholder: "Select",
|
|
140
142
|
class: "flex-1"
|
|
141
143
|
}, {
|
|
142
|
-
default:
|
|
143
|
-
(v(!0),
|
|
144
|
+
default: a(() => [
|
|
145
|
+
(v(!0), q(Ee, null, Ve(t(b), (l) => (v(), U(u, {
|
|
144
146
|
key: l.roleCode,
|
|
145
147
|
label: l.roleName,
|
|
146
148
|
value: l.roleCode
|
|
@@ -150,10 +152,10 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
150
152
|
}, 8, ["modelValue"])
|
|
151
153
|
]),
|
|
152
154
|
_: 1
|
|
153
|
-
})) :
|
|
154
|
-
s(
|
|
155
|
-
default:
|
|
156
|
-
|
|
155
|
+
})) : Se("", !0),
|
|
156
|
+
s(h, { prop: "username" }, {
|
|
157
|
+
default: a(() => [
|
|
158
|
+
n("div", Ne, [
|
|
157
159
|
s(m, { "icon-class": "user" })
|
|
158
160
|
]),
|
|
159
161
|
s(S, {
|
|
@@ -167,15 +169,15 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
167
169
|
]),
|
|
168
170
|
_: 1
|
|
169
171
|
}),
|
|
170
|
-
s(
|
|
172
|
+
s(H, {
|
|
171
173
|
disabled: t(R) === !1,
|
|
172
174
|
content: "Caps lock is On",
|
|
173
175
|
placement: "right"
|
|
174
176
|
}, {
|
|
175
|
-
default:
|
|
176
|
-
s(
|
|
177
|
-
default:
|
|
178
|
-
|
|
177
|
+
default: a(() => [
|
|
178
|
+
s(h, { prop: "password" }, {
|
|
179
|
+
default: a(() => [
|
|
180
|
+
n("span", Ke, [
|
|
179
181
|
s(m, { "icon-class": "password" })
|
|
180
182
|
]),
|
|
181
183
|
s(S, {
|
|
@@ -187,10 +189,10 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
187
189
|
name: "password",
|
|
188
190
|
onKeyup: [
|
|
189
191
|
O,
|
|
190
|
-
|
|
192
|
+
A(V, ["enter"])
|
|
191
193
|
]
|
|
192
194
|
}, null, 8, ["modelValue", "placeholder", "type"]),
|
|
193
|
-
|
|
195
|
+
n("span", {
|
|
194
196
|
class: "mr-2",
|
|
195
197
|
onClick: o[4] || (o[4] = (l) => g.value = !t(g))
|
|
196
198
|
}, [
|
|
@@ -205,9 +207,9 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
205
207
|
]),
|
|
206
208
|
_: 1
|
|
207
209
|
}, 8, ["disabled"]),
|
|
208
|
-
s(
|
|
209
|
-
default:
|
|
210
|
-
|
|
210
|
+
s(h, { prop: "captchaCode" }, {
|
|
211
|
+
default: a(() => [
|
|
212
|
+
n("span", Xe, [
|
|
211
213
|
s(m, { "icon-class": "captcha" })
|
|
212
214
|
]),
|
|
213
215
|
s(S, {
|
|
@@ -216,17 +218,17 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
216
218
|
"auto-complete": "off",
|
|
217
219
|
placeholder: e.$t("login.captchaCode"),
|
|
218
220
|
class: "w-[60%]",
|
|
219
|
-
onKeyup:
|
|
221
|
+
onKeyup: A(V, ["enter"])
|
|
220
222
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
221
|
-
|
|
222
|
-
s(
|
|
223
|
+
n("div", je, [
|
|
224
|
+
s(Y, {
|
|
223
225
|
src: t(D),
|
|
224
|
-
onClick:
|
|
226
|
+
onClick: f,
|
|
225
227
|
class: "w-[130px] h-[50px] cursor-pointer"
|
|
226
228
|
}, {
|
|
227
|
-
error:
|
|
228
|
-
|
|
229
|
-
s(
|
|
229
|
+
error: a(() => [
|
|
230
|
+
n("div", ze, [
|
|
231
|
+
s(Q)
|
|
230
232
|
])
|
|
231
233
|
]),
|
|
232
234
|
_: 1
|
|
@@ -235,21 +237,21 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
235
237
|
]),
|
|
236
238
|
_: 1
|
|
237
239
|
}),
|
|
238
|
-
|
|
239
|
-
s(
|
|
240
|
-
default:
|
|
240
|
+
n("div", Oe, [
|
|
241
|
+
s(Z, { to: "/secondLogin" }, {
|
|
242
|
+
default: a(() => [
|
|
241
243
|
I("手机号/邮箱登录")
|
|
242
244
|
]),
|
|
243
245
|
_: 1
|
|
244
246
|
})
|
|
245
247
|
]),
|
|
246
|
-
s(
|
|
248
|
+
s(G, {
|
|
247
249
|
loading: t(C),
|
|
248
250
|
type: "primary",
|
|
249
251
|
class: "w-full",
|
|
250
|
-
onClick:
|
|
252
|
+
onClick: xe(V, ["prevent"])
|
|
251
253
|
}, {
|
|
252
|
-
default:
|
|
254
|
+
default: a(() => [
|
|
253
255
|
I($(e.$t("login.login")), 1)
|
|
254
256
|
]),
|
|
255
257
|
_: 1
|
|
@@ -260,13 +262,13 @@ const F = (_) => (De("data-v-8adbbfc2"), _ = _(), qe(), _), Ue = { class: "login
|
|
|
260
262
|
]),
|
|
261
263
|
_: 1
|
|
262
264
|
}),
|
|
263
|
-
|
|
264
|
-
[
|
|
265
|
+
$e(n("div", We, He, 512), [
|
|
266
|
+
[Ie, t(T)().device == "desktop"]
|
|
265
267
|
])
|
|
266
268
|
]);
|
|
267
269
|
};
|
|
268
270
|
}
|
|
269
|
-
}),
|
|
271
|
+
}), ao = /* @__PURE__ */ me(Ye, [["__scopeId", "data-v-8adbbfc2"]]);
|
|
270
272
|
export {
|
|
271
|
-
|
|
273
|
+
ao as default
|
|
272
274
|
};
|