jmash-core 0.0.11 → 0.0.13
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-LzXAVxnC.mjs +101 -0
- package/dist/404-BaS1xZmV.mjs +37 -0
- package/dist/{BarChart-CbBhpMpZ.mjs → BarChart-ClnlJEhi.mjs} +41 -41
- package/dist/{FileSaver.min-CivbhzMe.mjs → FileSaver.min-C7ddeQoo.mjs} +1 -1
- package/dist/{FunnelChart-Czy2TVI1.mjs → FunnelChart-CcCVox9E.mjs} +16 -15
- package/dist/{PieChart-B8Tay-HH.mjs → PieChart-BHM8amLk.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs → PieChart.vue_vue_type_script_setup_true_lang-BaJNQr7Z.mjs} +25 -24
- package/dist/{RadarChart-BzUQwTnX.mjs → RadarChart-ChaevZtZ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DF4axEB-.mjs} +27 -26
- package/dist/{edit-DaxU7bBz.mjs → edit-5MpAgj0J.mjs} +1 -1
- package/dist/{edit-C0aHXOi3.mjs → edit-Bz0L-kJZ.mjs} +1 -1
- package/dist/{edit-B95ajyfH.mjs → edit-ClmR7gql.mjs} +1 -1
- package/dist/{edit-BJAAEDVd.mjs → edit-D2udSsbu.mjs} +1 -1
- package/dist/edit-DXSp7oE2.mjs +4 -0
- package/dist/{edit-CR7ZiKuo.mjs → edit-FahW6Usp.mjs} +51 -51
- package/dist/{edit-5ZpeysVY.mjs → edit-oUUjQ6s5.mjs} +47 -47
- package/dist/edit-zLDTi0zt.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs → edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs} +24 -24
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs → edit.vue_vue_type_script_setup_true_lang-BRk4mulZ.mjs} +22 -22
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs → edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs} +14 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs → edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs} +30 -30
- package/dist/edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs +588 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs → edit.vue_vue_type_script_setup_true_lang-yaBZyiFi.mjs} +25 -25
- package/dist/{el-card-acRFAeYD.mjs → el-card-CjFpAXC4.mjs} +1 -1
- package/dist/{el-col-BFrxkvh3.mjs → el-col-D9kCVYAq.mjs} +17 -17
- package/dist/{el-date-picker-CjE5H0IY.mjs → el-date-picker-_cuHa2hi.mjs} +474 -474
- package/dist/el-divider-8Ov9f55F.mjs +45 -0
- package/dist/{el-dropdown-item-SBcx6_kX.mjs → el-dropdown-item-CSpUSfWV.mjs} +95 -95
- package/dist/{el-tree-select-RwYP-GEn.mjs → el-tree-select-BUK1QB3u.mjs} +75 -75
- package/dist/{index-CQlxUoOf.mjs → index-BYYYSOkP.mjs} +1 -1
- package/dist/{index-Bqg1CGw2.mjs → index-BeFhB4ZJ.mjs} +1 -1
- package/dist/{index-B7zhho5d.mjs → index-BkPB5eHC.mjs} +92 -92
- package/dist/{index-CcXjdXcD.mjs → index-C34zVC-7.mjs} +67 -67
- package/dist/{index-BcstP65E.mjs → index-C68JBxAE.mjs} +100 -100
- package/dist/{index-ChzNa2kp.mjs → index-CPqNZOs9.mjs} +21463 -21235
- package/dist/{index-u66O7nvc.mjs → index-CXJ-WW3h.mjs} +112 -111
- package/dist/{index-DvrFzTq2.mjs → index-CYAfQz-w.mjs} +1 -1
- package/dist/index-Cuk7sDz9.mjs +277 -0
- package/dist/{index-Dyn0k8Ib.mjs → index-D8zb68MK.mjs} +64 -64
- package/dist/{index-DBmv4w5y.mjs → index-D9itg8P7.mjs} +1 -1
- package/dist/{index-DAIdsjwj.mjs → index-DHQQEEWW.mjs} +53 -53
- package/dist/{index-DQtth-qu.mjs → index-DW1L3U1A.mjs} +53 -53
- package/dist/{index-B-lo0ywJ.mjs → index-Dav45Y13.mjs} +72 -72
- package/dist/index-DhjUimfd.mjs +272 -0
- package/dist/{index-DQbHbpgW.mjs → index-GPbjfqQg.mjs} +4 -4
- package/dist/{index-hr-nwn6C.mjs → index-W4pvCYhJ.mjs} +1 -1
- package/dist/{index-SUlMvdOg.mjs → index-gaeN4E1_.mjs} +88 -88
- package/dist/index-hZzxBNan.mjs +3447 -0
- package/dist/{index-4UdK9Nb9.mjs → index-l9Oeu9G-.mjs} +49 -49
- package/dist/index.mjs +27 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs +54 -0
- package/dist/picture-DRU19T9b.mjs +587 -0
- package/dist/position-Ba7wRAlR.mjs +23 -0
- package/dist/{profile-BfDHQ_n5.mjs → profile-3Wsx53aV.mjs} +25 -25
- package/dist/runAs-CE2R49GJ.mjs +4 -0
- package/dist/runAs.vue_vue_type_script_setup_true_lang-i0DdmfK1.mjs +113 -0
- package/dist/style.css +1 -1
- package/dist/{types-D2vHMNqn.mjs → types-D3sIBzF1.mjs} +13 -13
- package/dist/{updatePwd-Dc31cBOV.mjs → updatePwd-2Dc9-bnF.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-3mhiAxD4.mjs} +9 -9
- package/dts/src/components/AppLink/index.vue.d.ts +19 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
- package/dts/src/components/Dictionary/index.vue.d.ts +1 -1
- package/dts/src/components/IconSelect/requireIcons.d.ts +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +3 -3
- package/dts/src/enums/DeviceEnum.d.ts +13 -0
- package/dts/src/enums/LayoutEnum.d.ts +17 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +4 -1
- package/dts/src/enums/SidebarStatusEnum.d.ts +13 -0
- package/dts/src/enums/ThemeEnum.d.ts +17 -0
- package/dts/src/index.d.ts +10 -3
- package/dts/src/lang/index.d.ts +90 -0
- package/dts/src/lang/package/en.d.ts +42 -0
- package/dts/src/lang/package/zh-cn.d.ts +48 -0
- package/dts/src/layout/components/AppMain/index.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/components/NavbarLeft.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/components/NavbarRight.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/components/LayoutSelect.vue.d.ts +10 -0
- package/dts/src/layout/components/Settings/components/ThemeColorPicker.vue.d.ts +10 -0
- package/dts/src/layout/components/Sidebar/components/SidebarLogo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenu.vue.d.ts +50 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue.d.ts +2 -0
- package/dts/src/stores/index.d.ts +5 -0
- package/dts/src/utils/color.d.ts +69 -0
- package/dts/src/utils/index.d.ts +9 -0
- package/dts/src/utils/nprogress.d.ts +4 -0
- package/dts/src/views/my/runAs.vue.d.ts +6 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/401-BjFOoJaQ.mjs +0 -101
- package/dist/404-CT8Yk873.mjs +0 -37
- package/dist/anquanrizhi-BMAtNRi-.mjs +0 -4
- package/dist/api-DA2t0sYn.mjs +0 -4
- package/dist/bumenguanli-_DtFk-Tc.mjs +0 -4
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +0 -4
- package/dist/captcha-G9RskXh1.mjs +0 -4
- package/dist/caret-bottom-Lhe9M7aA.mjs +0 -59
- package/dist/cascader-CysbB3DR.mjs +0 -4
- package/dist/client-CmoE5d0v.mjs +0 -4
- package/dist/close-DwiHyvYJ.mjs +0 -4
- package/dist/close_all-ri0Fg4Yg.mjs +0 -4
- package/dist/close_left-DLmFYlJS.mjs +0 -4
- package/dist/close_other-B705ZMV6.mjs +0 -4
- package/dist/close_right-BUdNHbs5.mjs +0 -4
- package/dist/dict-C2cGjFov.mjs +0 -4
- package/dist/document-Bf2gTChB.mjs +0 -4
- package/dist/download-cG3k-vnb.mjs +0 -4
- package/dist/drag-CwjZNuUJ.mjs +0 -4
- package/dist/edit-CIq1RPVx.mjs +0 -4
- package/dist/edit-Di-ksvTh.mjs +0 -4
- package/dist/edit-II1vFfNu.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-VlMd6HAa.mjs +0 -575
- package/dist/email-B2AUCEGq.mjs +0 -4
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +0 -4
- package/dist/eye-DeDz_5CQ.mjs +0 -4
- package/dist/eye-open-Cm0N1Rcz.mjs +0 -4
- package/dist/fullscreen-BFXljl9l.mjs +0 -4
- package/dist/gangweiguanli-bkwyhEXB.mjs +0 -4
- package/dist/github-CL2t8fd5.mjs +0 -4
- package/dist/homepage-IeZtzO8Q.mjs +0 -4
- package/dist/icon-DwZ6Hkfk.mjs +0 -4
- package/dist/index-CF6p3ONN.mjs +0 -319
- package/dist/index-CJvo28Bb.mjs +0 -275
- package/dist/index-CS-ceXqM.mjs +0 -2580
- package/dist/ip-DOLbS1rT.mjs +0 -4
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +0 -4
- package/dist/language-C1tgLxuP.mjs +0 -4
- package/dist/link-Cjm7RVX7.mjs +0 -4
- package/dist/log-ZFSIG9ZQ.mjs +0 -4
- package/dist/menu-B7SOjMUJ.mjs +0 -4
- package/dist/message-Bws5C_1u.mjs +0 -4
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +0 -4
- package/dist/money-DM0ZKWD3.mjs +0 -4
- package/dist/monitor-CxsUJkcx.mjs +0 -4
- package/dist/order-DZ28J7CD.mjs +0 -4
- package/dist/password-BbtiGVLy.mjs +0 -4
- package/dist/peoples-3fyh79uv.mjs +0 -4
- package/dist/phone-CdpLww4_.mjs +0 -4
- package/dist/picture-877nN1qH.mjs +0 -598
- package/dist/project-DgVsw9u_.mjs +0 -4
- package/dist/publish-BCri5HbT.mjs +0 -4
- package/dist/quanxianguanli-Cpcc8C4D.mjs +0 -4
- package/dist/redis-fjUUmFu3.mjs +0 -4
- package/dist/refresh-BWNjEt3t.mjs +0 -4
- package/dist/role-BYKzPG5H.mjs +0 -4
- package/dist/security-BsMRfWoG.mjs +0 -4
- package/dist/shoujihao-BFt1tDJn.mjs +0 -4
- package/dist/shrink-kEdKK3G7.mjs +0 -4
- package/dist/size-jLonAeyJ.mjs +0 -4
- package/dist/system-BlPhikZo.mjs +0 -4
- package/dist/table-CCqA2qBP.mjs +0 -4
- package/dist/todolist-Ul73X2IJ.mjs +0 -4
- package/dist/tree-DrEt7UUZ.mjs +0 -4
- package/dist/user-B9bSWq2E.mjs +0 -4
- package/dist/visit-w_hKTLb6.mjs +0 -4
- package/dist/xingming-DHM4olm-.mjs +0 -4
- package/dist/yonghuguanli-B3vRkdqw.mjs +0 -4
- package/dist/youxiang-D68Zx-02.mjs +0 -4
- package/dist//345/210/227/350/241/250-nphA7BPW.mjs +0 -4
- package/dist//345/233/272/345/256/232_/345/233/276/351/222/211-CXYo1gbQ.mjs +0 -4
- package/dist//346/250/241/345/235/227-D528qA63.mjs +0 -4
- package/dist//347/234/274/347/235/233-BaPHKGgj.mjs +0 -4
- package/dist//351/227/255/347/234/274/347/235/233-D6BjbTd5.mjs +0 -4
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { aj as le, a0 as te, bx as ae, by as ne, bz as se, b1 as re, b2 as ie, aX as de, aY as ce, b3 as me, s as ue, aq as pe, t as _e, ai as be, aZ as fe, E as ye, aV as Ce } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as he, a as ve } from "./el-col-D9kCVYAq.mjs";
|
|
3
|
+
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
|
+
import { defineComponent as Re, reactive as p, resolveComponent as I, resolveDirective as ke, openBlock as c, createElementBlock as R, createElementVNode as D, createVNode as l, unref as e, withCtx as t, withKeys as T, createTextVNode as m, toDisplayString as u, withDirectives as C, createBlock as k, createCommentVNode as we } from "vue";
|
|
5
|
+
import ge from "./edit-FahW6Usp.mjs";
|
|
6
|
+
const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie = /* @__PURE__ */ D("div", { class: "clear" }, null, -1), Te = ["onClick"], De = ["onClick"], Ke = /* @__PURE__ */ Re({
|
|
7
|
+
__name: "index",
|
|
8
|
+
setup(Ne) {
|
|
9
|
+
const { t: n } = le(), i = p({
|
|
10
|
+
tenant: te().user.tenant,
|
|
11
|
+
roleType: "role"
|
|
12
|
+
});
|
|
13
|
+
let _ = p([
|
|
14
|
+
{
|
|
15
|
+
label: n("sysRole.code"),
|
|
16
|
+
width: "140",
|
|
17
|
+
prop: "roleCode",
|
|
18
|
+
isColumn: !0
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: n("sysRole.name"),
|
|
22
|
+
width: "140",
|
|
23
|
+
prop: "roleName",
|
|
24
|
+
isColumn: !0
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: n("sysRole.description"),
|
|
28
|
+
prop: "description",
|
|
29
|
+
isColumn: !0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: n("sysRole.sort"),
|
|
33
|
+
width: "100",
|
|
34
|
+
columnType: "slot",
|
|
35
|
+
slotName: "sort",
|
|
36
|
+
isColumn: !0
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: n("common.operate"),
|
|
40
|
+
width: "200",
|
|
41
|
+
slotName: "operation",
|
|
42
|
+
columnType: "slot",
|
|
43
|
+
fixed: "right",
|
|
44
|
+
isColumn: !0
|
|
45
|
+
}
|
|
46
|
+
]);
|
|
47
|
+
const r = p({
|
|
48
|
+
visible: !1,
|
|
49
|
+
title: ""
|
|
50
|
+
});
|
|
51
|
+
let b = p({
|
|
52
|
+
roleCode: "",
|
|
53
|
+
roleName: "",
|
|
54
|
+
roleDuty: []
|
|
55
|
+
});
|
|
56
|
+
const N = p({
|
|
57
|
+
list: ae,
|
|
58
|
+
del: ne,
|
|
59
|
+
dels: se,
|
|
60
|
+
up: re,
|
|
61
|
+
down: ie
|
|
62
|
+
}), {
|
|
63
|
+
tableData: V,
|
|
64
|
+
listLoading: S,
|
|
65
|
+
selectionRows: F,
|
|
66
|
+
multipleTableRef: q,
|
|
67
|
+
queryFormRef: w,
|
|
68
|
+
handleQuery: d,
|
|
69
|
+
deleteRecord: B,
|
|
70
|
+
deleteRecords: K,
|
|
71
|
+
handleMoveTop: L,
|
|
72
|
+
// 上移
|
|
73
|
+
handleMoveDown: P
|
|
74
|
+
// 下移
|
|
75
|
+
} = de(n, N, i), {
|
|
76
|
+
parIndex: x,
|
|
77
|
+
tableArray: z,
|
|
78
|
+
getLocalStorageContent: U,
|
|
79
|
+
fixedChange: j,
|
|
80
|
+
isShowChange: A
|
|
81
|
+
} = ce(_, "/system/role");
|
|
82
|
+
function M() {
|
|
83
|
+
w.value.resetFields(), d();
|
|
84
|
+
}
|
|
85
|
+
function Q() {
|
|
86
|
+
for (const o in b)
|
|
87
|
+
b[o] = "";
|
|
88
|
+
r.visible = !0, r.title = n("common.add");
|
|
89
|
+
}
|
|
90
|
+
function X(o) {
|
|
91
|
+
r.title = n("common.edit"), me(o.roleId).then(({ data: s }) => {
|
|
92
|
+
b = { ...s }, r.visible = !0;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function Y(o) {
|
|
96
|
+
r.visible = o;
|
|
97
|
+
}
|
|
98
|
+
function Z(o) {
|
|
99
|
+
o && d();
|
|
100
|
+
}
|
|
101
|
+
function G(o) {
|
|
102
|
+
F.value = o;
|
|
103
|
+
}
|
|
104
|
+
return U(), _ = z.value, d(), (o, s) => {
|
|
105
|
+
const g = ue, h = pe, f = _e, H = be, $ = he, J = fe, O = ve, W = I("Bottom"), E = ye, ee = I("Top"), oe = Ce, y = ke("hasPerm");
|
|
106
|
+
return c(), R("div", $e, [
|
|
107
|
+
D("div", Ee, [
|
|
108
|
+
l(H, {
|
|
109
|
+
ref_key: "queryFormRef",
|
|
110
|
+
ref: w,
|
|
111
|
+
inline: !0,
|
|
112
|
+
model: e(i)
|
|
113
|
+
}, {
|
|
114
|
+
default: t(() => [
|
|
115
|
+
l(h, {
|
|
116
|
+
label: o.$t("sysRole.code"),
|
|
117
|
+
prop: "roleCode"
|
|
118
|
+
}, {
|
|
119
|
+
default: t(() => [
|
|
120
|
+
l(g, {
|
|
121
|
+
modelValue: e(i).roleCode,
|
|
122
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => e(i).roleCode = a),
|
|
123
|
+
placeholder: o.$t("sysRole.codeRequired"),
|
|
124
|
+
onKeyup: T(e(d), ["enter"])
|
|
125
|
+
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}, 8, ["label"]),
|
|
129
|
+
l(h, {
|
|
130
|
+
label: o.$t("sysRole.name"),
|
|
131
|
+
prop: "likeRoleName"
|
|
132
|
+
}, {
|
|
133
|
+
default: t(() => [
|
|
134
|
+
l(g, {
|
|
135
|
+
modelValue: e(i).likeRoleName,
|
|
136
|
+
"onUpdate:modelValue": s[1] || (s[1] = (a) => e(i).likeRoleName = a),
|
|
137
|
+
placeholder: o.$t("sysRole.nameRequired"),
|
|
138
|
+
onKeyup: T(e(d), ["enter"])
|
|
139
|
+
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
}, 8, ["label"]),
|
|
143
|
+
l(h, null, {
|
|
144
|
+
default: t(() => [
|
|
145
|
+
l(f, {
|
|
146
|
+
type: "primary",
|
|
147
|
+
onClick: e(d)
|
|
148
|
+
}, {
|
|
149
|
+
default: t(() => [
|
|
150
|
+
m(u(o.$t("common.search")), 1)
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["onClick"]),
|
|
154
|
+
l(f, { onClick: M }, {
|
|
155
|
+
default: t(() => [
|
|
156
|
+
m(u(o.$t("common.reset")), 1)
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
})
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
})
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["model"])
|
|
166
|
+
]),
|
|
167
|
+
Ie,
|
|
168
|
+
l(O, { justify: "space-between" }, {
|
|
169
|
+
default: t(() => [
|
|
170
|
+
l($, { span: 19 }, {
|
|
171
|
+
default: t(() => [
|
|
172
|
+
C((c(), k(f, {
|
|
173
|
+
type: "primary",
|
|
174
|
+
onClick: Q
|
|
175
|
+
}, {
|
|
176
|
+
default: t(() => [
|
|
177
|
+
m(u(o.$t("common.add")), 1)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
})), [
|
|
181
|
+
[y, ["rbac:role:add"]]
|
|
182
|
+
]),
|
|
183
|
+
C((c(), k(f, {
|
|
184
|
+
type: "primary",
|
|
185
|
+
onClick: s[2] || (s[2] = (a) => e(K)("roleId"))
|
|
186
|
+
}, {
|
|
187
|
+
default: t(() => [
|
|
188
|
+
m(u(o.$t("common.batchDelete")), 1)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
})), [
|
|
192
|
+
[y, ["rbac:role:delete"]]
|
|
193
|
+
])
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
}),
|
|
197
|
+
l($, {
|
|
198
|
+
span: 5,
|
|
199
|
+
class: "container-float"
|
|
200
|
+
}, {
|
|
201
|
+
default: t(() => [
|
|
202
|
+
l(J, {
|
|
203
|
+
"table-label": e(_),
|
|
204
|
+
"par-index": e(x),
|
|
205
|
+
onFixedChange: e(j),
|
|
206
|
+
onIsShowChange: e(A)
|
|
207
|
+
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
})
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}),
|
|
214
|
+
l(oe, {
|
|
215
|
+
class: "table-top",
|
|
216
|
+
ref_key: "multipleTableRef",
|
|
217
|
+
ref: q,
|
|
218
|
+
"row-keys": "roleId",
|
|
219
|
+
"list-loading": e(S),
|
|
220
|
+
"table-data": e(V),
|
|
221
|
+
"table-label": e(_),
|
|
222
|
+
onTableSelected: G
|
|
223
|
+
}, {
|
|
224
|
+
sort: t((a) => [
|
|
225
|
+
l(E, {
|
|
226
|
+
size: "16",
|
|
227
|
+
onClick: (v) => e(P)(a.data.row.roleId)
|
|
228
|
+
}, {
|
|
229
|
+
default: t(() => [
|
|
230
|
+
l(W)
|
|
231
|
+
]),
|
|
232
|
+
_: 2
|
|
233
|
+
}, 1032, ["onClick"]),
|
|
234
|
+
l(E, {
|
|
235
|
+
size: "16",
|
|
236
|
+
onClick: (v) => e(L)(a.data.row.roleId)
|
|
237
|
+
}, {
|
|
238
|
+
default: t(() => [
|
|
239
|
+
l(ee)
|
|
240
|
+
]),
|
|
241
|
+
_: 2
|
|
242
|
+
}, 1032, ["onClick"])
|
|
243
|
+
]),
|
|
244
|
+
operation: t((a) => [
|
|
245
|
+
C((c(), R("span", {
|
|
246
|
+
class: "el-button-color",
|
|
247
|
+
onClick: (v) => X(a.data.row)
|
|
248
|
+
}, [
|
|
249
|
+
m(u(o.$t("common.edit")), 1)
|
|
250
|
+
], 8, Te)), [
|
|
251
|
+
[y, ["rbac:role:update"]]
|
|
252
|
+
]),
|
|
253
|
+
C((c(), R("span", {
|
|
254
|
+
class: "el-button-color dropdown-left",
|
|
255
|
+
onClick: (v) => e(B)(a.data.row.roleId)
|
|
256
|
+
}, [
|
|
257
|
+
m(u(o.$t("common.delete")), 1)
|
|
258
|
+
], 8, De)), [
|
|
259
|
+
[y, ["rbac:role:delete"]]
|
|
260
|
+
])
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}, 8, ["list-loading", "table-data", "table-label"]),
|
|
264
|
+
e(r).visible ? (c(), k(ge, {
|
|
265
|
+
key: 0,
|
|
266
|
+
dialog: e(r),
|
|
267
|
+
"form-data": e(b),
|
|
268
|
+
onDialogEvent: Y,
|
|
269
|
+
onRefresh: Z
|
|
270
|
+
}, null, 8, ["dialog", "form-data"])) : we("", !0)
|
|
271
|
+
]);
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
export {
|
|
276
|
+
Ke as default
|
|
277
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
1
|
+
import { aj as ne, a0 as de, aX as se, aY as ie, s as re, aq as me, t as ue, ai as ce, aZ as pe, E as _e, aV as fe, bd as be } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as ge, a as ye } from "./el-col-D9kCVYAq.mjs";
|
|
3
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import { g as we, d as $e, b as Me, a as Ee, c as Ie } from "./index-
|
|
6
|
-
import { _ as
|
|
7
|
-
const
|
|
4
|
+
import { defineComponent as Ce, reactive as c, resolveComponent as R, resolveDirective as ve, openBlock as r, createElementBlock as $, createVNode as l, withCtx as a, withKeys as T, unref as o, createTextVNode as m, toDisplayString as u, withDirectives as C, createBlock as v, isRef as he, createCommentVNode as S, createElementVNode as ke } from "vue";
|
|
5
|
+
import { g as we, d as $e, b as Me, a as Ee, c as Ie } from "./index-BYYYSOkP.mjs";
|
|
6
|
+
import { _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs";
|
|
7
|
+
const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], Ke = /* @__PURE__ */ Ce({
|
|
8
8
|
__name: "index",
|
|
9
|
-
setup(
|
|
9
|
+
setup(De) {
|
|
10
10
|
const { t: s } = ne(), d = c({
|
|
11
11
|
tenant: de().user.tenant,
|
|
12
12
|
curPage: 1,
|
|
@@ -55,58 +55,58 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
55
55
|
const i = c({
|
|
56
56
|
visible: !1,
|
|
57
57
|
title: ""
|
|
58
|
-
}),
|
|
58
|
+
}), V = c({
|
|
59
59
|
list: we,
|
|
60
60
|
del: $e,
|
|
61
61
|
dels: Me,
|
|
62
62
|
up: Ee,
|
|
63
63
|
down: Ie
|
|
64
64
|
}), {
|
|
65
|
-
tableData:
|
|
65
|
+
tableData: D,
|
|
66
66
|
total: f,
|
|
67
67
|
listLoading: P,
|
|
68
|
-
selectionRows:
|
|
69
|
-
multipleTableRef:
|
|
68
|
+
selectionRows: F,
|
|
69
|
+
multipleTableRef: q,
|
|
70
70
|
queryFormRef: M,
|
|
71
71
|
getList: h,
|
|
72
72
|
handleQuery: b,
|
|
73
|
-
deleteRecord:
|
|
73
|
+
deleteRecord: B,
|
|
74
74
|
deleteRecords: U,
|
|
75
|
-
handleMoveTop:
|
|
75
|
+
handleMoveTop: z,
|
|
76
76
|
// 上移
|
|
77
|
-
handleMoveDown:
|
|
77
|
+
handleMoveDown: K
|
|
78
78
|
// 下移
|
|
79
|
-
} = se(s,
|
|
79
|
+
} = se(s, V, d), {
|
|
80
80
|
parIndex: L,
|
|
81
|
-
tableArray:
|
|
82
|
-
getLocalStorageContent:
|
|
83
|
-
fixedChange:
|
|
84
|
-
isShowChange:
|
|
81
|
+
tableArray: j,
|
|
82
|
+
getLocalStorageContent: x,
|
|
83
|
+
fixedChange: A,
|
|
84
|
+
isShowChange: Q
|
|
85
85
|
} = ie(_, "/system/module");
|
|
86
|
-
function
|
|
87
|
-
|
|
86
|
+
function X(e) {
|
|
87
|
+
F.value = e;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Y() {
|
|
90
90
|
M.value.resetFields(), b();
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Z() {
|
|
93
93
|
for (const e in p)
|
|
94
94
|
p[e] = "";
|
|
95
95
|
i.title = s("common.add"), i.visible = !0;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function G(e) {
|
|
98
98
|
i.title = s("common.edit"), i.visible = !0, p = { ...e };
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function H(e) {
|
|
101
101
|
i.visible = e;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function J(e) {
|
|
104
104
|
e && h();
|
|
105
105
|
}
|
|
106
|
-
return
|
|
107
|
-
const E = re, k = me,
|
|
108
|
-
return r(), $("div",
|
|
109
|
-
l(
|
|
106
|
+
return x(), _ = j.value, h(), (e, n) => {
|
|
107
|
+
const E = re, k = me, g = ue, O = ce, I = ge, W = pe, ee = ye, oe = R("Bottom"), N = _e, le = R("Top"), te = fe, ae = be, y = ve("hasPerm");
|
|
108
|
+
return r(), $("div", Re, [
|
|
109
|
+
l(O, {
|
|
110
110
|
ref_key: "queryFormRef",
|
|
111
111
|
ref: M,
|
|
112
112
|
model: d,
|
|
@@ -122,7 +122,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
122
122
|
modelValue: d.moduleCode,
|
|
123
123
|
"onUpdate:modelValue": n[0] || (n[0] = (t) => d.moduleCode = t),
|
|
124
124
|
placeholder: e.$t("sysModule.codeRequired"),
|
|
125
|
-
onKeyup:
|
|
125
|
+
onKeyup: T(o(b), ["enter"])
|
|
126
126
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
@@ -136,14 +136,14 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
136
136
|
modelValue: d.likeModuleName,
|
|
137
137
|
"onUpdate:modelValue": n[1] || (n[1] = (t) => d.likeModuleName = t),
|
|
138
138
|
placeholder: e.$t("sysModule.nameRequired"),
|
|
139
|
-
onKeyup:
|
|
139
|
+
onKeyup: T(o(b), ["enter"])
|
|
140
140
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
141
141
|
]),
|
|
142
142
|
_: 1
|
|
143
143
|
}, 8, ["label"]),
|
|
144
144
|
l(k, { class: "search-container" }, {
|
|
145
145
|
default: a(() => [
|
|
146
|
-
l(
|
|
146
|
+
l(g, {
|
|
147
147
|
type: "primary",
|
|
148
148
|
onClick: o(b)
|
|
149
149
|
}, {
|
|
@@ -152,7 +152,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
152
152
|
]),
|
|
153
153
|
_: 1
|
|
154
154
|
}, 8, ["onClick"]),
|
|
155
|
-
l(
|
|
155
|
+
l(g, { onClick: Y }, {
|
|
156
156
|
default: a(() => [
|
|
157
157
|
m(u(e.$t("common.reset")), 1)
|
|
158
158
|
]),
|
|
@@ -164,23 +164,23 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
164
164
|
]),
|
|
165
165
|
_: 1
|
|
166
166
|
}, 8, ["model"]),
|
|
167
|
-
|
|
167
|
+
Te,
|
|
168
168
|
l(ee, { justify: "space-between" }, {
|
|
169
169
|
default: a(() => [
|
|
170
170
|
l(I, { span: 19 }, {
|
|
171
171
|
default: a(() => [
|
|
172
|
-
|
|
172
|
+
C((r(), v(g, {
|
|
173
173
|
type: "primary",
|
|
174
|
-
onClick:
|
|
174
|
+
onClick: Z
|
|
175
175
|
}, {
|
|
176
176
|
default: a(() => [
|
|
177
177
|
m(u(e.$t("common.add")), 1)
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
180
|
})), [
|
|
181
|
-
[
|
|
181
|
+
[y, ["rbac:module:add"]]
|
|
182
182
|
]),
|
|
183
|
-
|
|
183
|
+
C((r(), v(g, {
|
|
184
184
|
type: "primary",
|
|
185
185
|
onClick: n[2] || (n[2] = (t) => o(U)("moduleId"))
|
|
186
186
|
}, {
|
|
@@ -189,7 +189,7 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
189
189
|
]),
|
|
190
190
|
_: 1
|
|
191
191
|
})), [
|
|
192
|
-
[
|
|
192
|
+
[y, ["rbac:module:delete"]]
|
|
193
193
|
])
|
|
194
194
|
]),
|
|
195
195
|
_: 1
|
|
@@ -199,11 +199,11 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
199
199
|
class: "container-float"
|
|
200
200
|
}, {
|
|
201
201
|
default: a(() => [
|
|
202
|
-
l(
|
|
202
|
+
l(W, {
|
|
203
203
|
"table-label": o(_),
|
|
204
204
|
"par-index": o(L),
|
|
205
|
-
onFixedChange: o(
|
|
206
|
-
onIsShowChange: o(
|
|
205
|
+
onFixedChange: o(A),
|
|
206
|
+
onIsShowChange: o(Q)
|
|
207
207
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
208
208
|
]),
|
|
209
209
|
_: 1
|
|
@@ -214,26 +214,26 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
214
214
|
l(te, {
|
|
215
215
|
class: "table-top",
|
|
216
216
|
ref_key: "multipleTableRef",
|
|
217
|
-
ref:
|
|
217
|
+
ref: q,
|
|
218
218
|
"row-keys": "moduleId",
|
|
219
|
-
"table-data": o(
|
|
219
|
+
"table-data": o(D),
|
|
220
220
|
"list-loading": o(P),
|
|
221
221
|
"table-label": o(_),
|
|
222
|
-
onTableSelected:
|
|
222
|
+
onTableSelected: X
|
|
223
223
|
}, {
|
|
224
224
|
sort: a((t) => [
|
|
225
|
-
l(
|
|
225
|
+
l(N, {
|
|
226
226
|
size: "16",
|
|
227
|
-
onClick: (w) => o(
|
|
227
|
+
onClick: (w) => o(K)(t.data.row.moduleId)
|
|
228
228
|
}, {
|
|
229
229
|
default: a(() => [
|
|
230
230
|
l(oe)
|
|
231
231
|
]),
|
|
232
232
|
_: 2
|
|
233
233
|
}, 1032, ["onClick"]),
|
|
234
|
-
l(
|
|
234
|
+
l(N, {
|
|
235
235
|
size: "16",
|
|
236
|
-
onClick: (w) => o(
|
|
236
|
+
onClick: (w) => o(z)(t.data.row.moduleId)
|
|
237
237
|
}, {
|
|
238
238
|
default: a(() => [
|
|
239
239
|
l(le)
|
|
@@ -242,21 +242,21 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
242
242
|
}, 1032, ["onClick"])
|
|
243
243
|
]),
|
|
244
244
|
operation: a((t) => [
|
|
245
|
-
|
|
245
|
+
C((r(), $("span", {
|
|
246
246
|
class: "el-button-color",
|
|
247
|
-
onClick: (w) =>
|
|
247
|
+
onClick: (w) => G(t.data.row)
|
|
248
248
|
}, [
|
|
249
249
|
m(u(e.$t("common.edit")), 1)
|
|
250
|
-
], 8,
|
|
251
|
-
[
|
|
250
|
+
], 8, Se)), [
|
|
251
|
+
[y, ["rbac:module:update"]]
|
|
252
252
|
]),
|
|
253
|
-
|
|
253
|
+
C((r(), $("span", {
|
|
254
254
|
class: "el-button-color dropdown-left",
|
|
255
|
-
onClick: (w) => o(
|
|
255
|
+
onClick: (w) => o(B)(t.data.row.moduleId)
|
|
256
256
|
}, [
|
|
257
257
|
m(u(e.$t("common.delete")), 1)
|
|
258
|
-
], 8,
|
|
259
|
-
[
|
|
258
|
+
], 8, Ve)), [
|
|
259
|
+
[y, ["rbac:module:delete"]]
|
|
260
260
|
])
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
@@ -270,18 +270,18 @@ const De = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
270
270
|
limit: d.pageSize,
|
|
271
271
|
"onUpdate:limit": n[5] || (n[5] = (t) => d.pageSize = t),
|
|
272
272
|
onPagination: o(h)
|
|
273
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) :
|
|
274
|
-
i.visible ? (r(), v(
|
|
273
|
+
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
274
|
+
i.visible ? (r(), v(Ne, {
|
|
275
275
|
key: 1,
|
|
276
276
|
dialog: i,
|
|
277
277
|
"form-data": o(p),
|
|
278
|
-
onDialogEvent:
|
|
279
|
-
onRefresh:
|
|
280
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
278
|
+
onDialogEvent: H,
|
|
279
|
+
onRefresh: J
|
|
280
|
+
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
281
281
|
]);
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
export {
|
|
286
|
-
|
|
286
|
+
Ke as default
|
|
287
287
|
};
|