jmash-core 0.0.11 → 0.0.12
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-Do8xnEsN.mjs +101 -0
- package/dist/404-D1L3bBKj.mjs +37 -0
- package/dist/{BarChart-CbBhpMpZ.mjs → BarChart-CfcVJz3-.mjs} +41 -41
- package/dist/{FileSaver.min-CivbhzMe.mjs → FileSaver.min-C3PXR_ER.mjs} +1 -1
- package/dist/{FunnelChart-Czy2TVI1.mjs → FunnelChart-CcCVox9E.mjs} +16 -15
- package/dist/{PieChart-B8Tay-HH.mjs → PieChart-6YLME4bj.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs → PieChart.vue_vue_type_script_setup_true_lang-CzuULwXY.mjs} +25 -24
- package/dist/{RadarChart-BzUQwTnX.mjs → RadarChart-DkmgXM6y.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs → RadarChart.vue_vue_type_script_setup_true_lang-NTNi_I9_.mjs} +27 -26
- package/dist/{edit-DaxU7bBz.mjs → edit-BUeKYrEZ.mjs} +1 -1
- package/dist/{edit-5ZpeysVY.mjs → edit-CJuMrQ46.mjs} +54 -54
- package/dist/{edit-C0aHXOi3.mjs → edit-CkpeOqrr.mjs} +1 -1
- package/dist/{edit-CR7ZiKuo.mjs → edit-DGe7AWsr.mjs} +53 -53
- package/dist/{edit-B95ajyfH.mjs → edit-DjN392jC.mjs} +1 -1
- package/dist/{edit-BJAAEDVd.mjs → edit-YJP7pN6W.mjs} +1 -1
- package/dist/edit-lwVBGzDE.mjs +4 -0
- package/dist/edit-xlxZjC4R.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs → edit.vue_vue_type_script_setup_true_lang-BWtQvmLi.mjs} +14 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs → edit.vue_vue_type_script_setup_true_lang-BtM452jP.mjs} +46 -46
- package/dist/edit.vue_vue_type_script_setup_true_lang-DEydJiSf.mjs +588 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs → edit.vue_vue_type_script_setup_true_lang-DI-oeRPA.mjs} +22 -22
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs → edit.vue_vue_type_script_setup_true_lang-RBjkUr1y.mjs} +30 -30
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs → edit.vue_vue_type_script_setup_true_lang-djIfNPqQ.mjs} +24 -24
- package/dist/{el-card-acRFAeYD.mjs → el-card-C861yBJo.mjs} +1 -1
- package/dist/{el-col-BFrxkvh3.mjs → el-col-BBiMr5pm.mjs} +17 -17
- package/dist/{el-date-picker-CjE5H0IY.mjs → el-date-picker-N5aiMKSy.mjs} +372 -372
- package/dist/el-divider-QMj1kMtJ.mjs +45 -0
- package/dist/{el-dropdown-item-SBcx6_kX.mjs → el-dropdown-item-4ws609Gw.mjs} +76 -76
- package/dist/{el-tree-select-RwYP-GEn.mjs → el-tree-select-DdZxfrNV.mjs} +75 -75
- package/dist/{index-DBmv4w5y.mjs → index-9TwUBNc5.mjs} +1 -1
- package/dist/{index-CcXjdXcD.mjs → index-AiS44_Xc.mjs} +64 -64
- package/dist/{index-4UdK9Nb9.mjs → index-B7u0TetV.mjs} +48 -48
- package/dist/{index-hr-nwn6C.mjs → index-BX1Jx_xA.mjs} +1 -1
- package/dist/index-BZBpY0uA.mjs +277 -0
- package/dist/{index-DQtth-qu.mjs → index-Be59bIqU.mjs} +51 -51
- package/dist/{index-BcstP65E.mjs → index-BzT4__Is.mjs} +101 -101
- package/dist/index-C__OmU1O.mjs +272 -0
- package/dist/{index-ChzNa2kp.mjs → index-CkXpK-zH.mjs} +21620 -21401
- package/dist/{index-DQbHbpgW.mjs → index-Cmlc_Bb4.mjs} +4 -4
- package/dist/{index-B-lo0ywJ.mjs → index-CrZPfuW6.mjs} +60 -60
- package/dist/{index-SUlMvdOg.mjs → index-DD1K2w1b.mjs} +71 -71
- package/dist/{index-DvrFzTq2.mjs → index-DFVq4R0u.mjs} +1 -1
- package/dist/{index-B7zhho5d.mjs → index-DOPTH9F2.mjs} +65 -65
- package/dist/{index-u66O7nvc.mjs → index-Dn-psVpr.mjs} +112 -111
- package/dist/index-DnSJxj9r.mjs +3438 -0
- package/dist/{index-CQlxUoOf.mjs → index-DtR1eBZg.mjs} +1 -1
- package/dist/{index-Bqg1CGw2.mjs → index-H7-W4HC2.mjs} +1 -1
- package/dist/{index-Dyn0k8Ib.mjs → index-NVKBuLg_.mjs} +59 -59
- package/dist/{index-DAIdsjwj.mjs → index-hMoSvG6q.mjs} +58 -58
- package/dist/index.mjs +26 -27
- package/dist/index.vue_vue_type_script_setup_true_lang-up5cpReQ.mjs +54 -0
- package/dist/picture-o8CKMR0j.mjs +587 -0
- package/dist/position-BUALjtY9.mjs +23 -0
- package/dist/{profile-BfDHQ_n5.mjs → profile-BLq1IvXt.mjs} +25 -25
- package/dist/style.css +1 -1
- package/dist/{types-D2vHMNqn.mjs → types-JT7Xyhpz.mjs} +13 -13
- package/dist/{updatePwd-Dc31cBOV.mjs → updatePwd-DnT8nEtM.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Dks8j8my.mjs} +9 -9
- package/package.json +1 -1
- 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, bu as ae, bv as ne, bw as se, a_ as re, a$ as ie, aT as de, aU as ce, b0 as me, s as ue, aq as pe, t as _e, ai as fe, aV as be, E as ye, aW as Ce } from "./index-CkXpK-zH.mjs";
|
|
2
|
+
import { E as he, a as ve } from "./el-col-BBiMr5pm.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-DGe7AWsr.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 f = 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: U,
|
|
77
|
+
tableArray: j,
|
|
78
|
+
getLocalStorageContent: x,
|
|
79
|
+
fixedChange: z,
|
|
80
|
+
isShowChange: A
|
|
81
|
+
} = ce(_, "/system/role");
|
|
82
|
+
function M() {
|
|
83
|
+
w.value.resetFields(), d();
|
|
84
|
+
}
|
|
85
|
+
function Q() {
|
|
86
|
+
for (const o in f)
|
|
87
|
+
f[o] = "";
|
|
88
|
+
r.visible = !0, r.title = n("common.add");
|
|
89
|
+
}
|
|
90
|
+
function W(o) {
|
|
91
|
+
r.title = n("common.edit"), me(o.roleId).then(({ data: s }) => {
|
|
92
|
+
f = { ...s }, r.visible = !0;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function G(o) {
|
|
96
|
+
r.visible = o;
|
|
97
|
+
}
|
|
98
|
+
function H(o) {
|
|
99
|
+
o && d();
|
|
100
|
+
}
|
|
101
|
+
function J(o) {
|
|
102
|
+
F.value = o;
|
|
103
|
+
}
|
|
104
|
+
return x(), _ = j.value, d(), (o, s) => {
|
|
105
|
+
const g = ue, h = pe, b = _e, O = fe, $ = he, X = be, Y = ve, Z = I("Bottom"), E = ye, ee = I("Top"), oe = Ce, y = ke("hasPerm");
|
|
106
|
+
return c(), R("div", $e, [
|
|
107
|
+
D("div", Ee, [
|
|
108
|
+
l(O, {
|
|
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(b, {
|
|
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(b, { 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(Y, { justify: "space-between" }, {
|
|
169
|
+
default: t(() => [
|
|
170
|
+
l($, { span: 19 }, {
|
|
171
|
+
default: t(() => [
|
|
172
|
+
C((c(), k(b, {
|
|
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(b, {
|
|
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(X, {
|
|
203
|
+
"table-label": e(_),
|
|
204
|
+
"par-index": e(U),
|
|
205
|
+
onFixedChange: e(z),
|
|
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: J
|
|
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(Z)
|
|
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) => W(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(f),
|
|
268
|
+
onDialogEvent: G,
|
|
269
|
+
onRefresh: H
|
|
270
|
+
}, null, 8, ["dialog", "form-data"])) : we("", !0)
|
|
271
|
+
]);
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
export {
|
|
276
|
+
Ke as default
|
|
277
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as de, a as pe } from "./el-col-
|
|
1
|
+
import { aj as Z, a0 as ee, aT as te, aU as oe, s as ae, aq as le, t as ne, ai as re, aV as ie, aW as se, ba as me } from "./index-CkXpK-zH.mjs";
|
|
2
|
+
import { E as de, a as pe } from "./el-col-BBiMr5pm.mjs";
|
|
3
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
|
-
import { defineComponent as ue, reactive as u, resolveDirective as ce, openBlock as s, createElementBlock as v, createVNode as
|
|
5
|
-
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { g as ge, d as ye, b as Ce } from "./index-
|
|
7
|
-
const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "clear" }, null, -1), he = ["onClick"], ve = ["onClick"],
|
|
4
|
+
import { defineComponent as ue, reactive as u, resolveDirective as ce, openBlock as s, createElementBlock as v, createVNode as a, withCtx as n, withKeys as R, unref as t, createTextVNode as d, toDisplayString as p, withDirectives as C, createBlock as k, isRef as fe, createCommentVNode as S, createElementVNode as _e } from "vue";
|
|
5
|
+
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-RBjkUr1y.mjs";
|
|
6
|
+
import { g as ge, d as ye, b as Ce } from "./index-DFVq4R0u.mjs";
|
|
7
|
+
const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "clear" }, null, -1), he = ["onClick"], ve = ["onClick"], De = /* @__PURE__ */ ue({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup($e) {
|
|
10
10
|
const { t: m } = Z(), r = u({
|
|
@@ -38,89 +38,89 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
38
38
|
const i = u({
|
|
39
39
|
visible: !1,
|
|
40
40
|
title: ""
|
|
41
|
-
}),
|
|
41
|
+
}), V = u({
|
|
42
42
|
list: ge,
|
|
43
43
|
del: ye,
|
|
44
44
|
dels: Ce
|
|
45
45
|
}), {
|
|
46
46
|
tableData: N,
|
|
47
47
|
total: _,
|
|
48
|
-
listLoading:
|
|
48
|
+
listLoading: D,
|
|
49
49
|
selectionRows: I,
|
|
50
50
|
multipleTableRef: T,
|
|
51
51
|
queryFormRef: $,
|
|
52
52
|
getList: P,
|
|
53
53
|
handleQuery: b,
|
|
54
54
|
deleteRecord: F,
|
|
55
|
-
deleteRecords:
|
|
56
|
-
} = te(m,
|
|
57
|
-
parIndex:
|
|
58
|
-
tableArray:
|
|
59
|
-
getLocalStorageContent:
|
|
60
|
-
fixedChange:
|
|
55
|
+
deleteRecords: U
|
|
56
|
+
} = te(m, V, r), {
|
|
57
|
+
parIndex: q,
|
|
58
|
+
tableArray: K,
|
|
59
|
+
getLocalStorageContent: L,
|
|
60
|
+
fixedChange: B,
|
|
61
61
|
isShowChange: z
|
|
62
62
|
} = oe(f, "/system/permission");
|
|
63
|
-
function
|
|
63
|
+
function j() {
|
|
64
64
|
$.value.resetFields(), b();
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function x() {
|
|
67
67
|
for (const e in c)
|
|
68
68
|
c[e] = "";
|
|
69
69
|
i.visible = !0, i.title = m("common.add");
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function A(e) {
|
|
72
72
|
I.value = e;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Q(e) {
|
|
75
75
|
i.title = m("common.edit"), i.visible = !0, c = { ...e };
|
|
76
76
|
}
|
|
77
77
|
function W(e) {
|
|
78
78
|
i.visible = e;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function G(e) {
|
|
81
81
|
e && P();
|
|
82
82
|
}
|
|
83
|
-
return
|
|
84
|
-
const w =
|
|
83
|
+
return L(), f = K.value, P(), (e, l) => {
|
|
84
|
+
const w = ae, h = le, g = ne, H = re, E = de, J = ie, M = pe, O = se, X = me, y = ce("hasPerm");
|
|
85
85
|
return s(), v("div", ke, [
|
|
86
|
-
|
|
86
|
+
a(H, {
|
|
87
87
|
ref_key: "queryFormRef",
|
|
88
88
|
ref: $,
|
|
89
89
|
model: r,
|
|
90
90
|
inline: !0
|
|
91
91
|
}, {
|
|
92
92
|
default: n(() => [
|
|
93
|
-
|
|
93
|
+
a(h, {
|
|
94
94
|
label: e.$t("sysPerm.code"),
|
|
95
95
|
prop: "likePermCode"
|
|
96
96
|
}, {
|
|
97
97
|
default: n(() => [
|
|
98
|
-
|
|
98
|
+
a(w, {
|
|
99
99
|
modelValue: r.likePermCode,
|
|
100
|
-
"onUpdate:modelValue":
|
|
100
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => r.likePermCode = o),
|
|
101
101
|
placeholder: e.$t("sysPerm.codeRequired"),
|
|
102
102
|
onKeyup: R(t(b), ["enter"])
|
|
103
103
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
104
104
|
]),
|
|
105
105
|
_: 1
|
|
106
106
|
}, 8, ["label"]),
|
|
107
|
-
|
|
107
|
+
a(h, {
|
|
108
108
|
label: e.$t("sysPerm.name"),
|
|
109
109
|
prop: "likePermName"
|
|
110
110
|
}, {
|
|
111
111
|
default: n(() => [
|
|
112
|
-
|
|
112
|
+
a(w, {
|
|
113
113
|
modelValue: r.likePermName,
|
|
114
|
-
"onUpdate:modelValue":
|
|
114
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => r.likePermName = o),
|
|
115
115
|
placeholder: e.$t("sysPerm.nameRequired"),
|
|
116
116
|
onKeyup: R(t(b), ["enter"])
|
|
117
117
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
120
|
}, 8, ["label"]),
|
|
121
|
-
|
|
121
|
+
a(h, { class: "search-container" }, {
|
|
122
122
|
default: n(() => [
|
|
123
|
-
|
|
123
|
+
a(g, {
|
|
124
124
|
type: "primary",
|
|
125
125
|
onClick: t(b)
|
|
126
126
|
}, {
|
|
@@ -129,7 +129,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
129
129
|
]),
|
|
130
130
|
_: 1
|
|
131
131
|
}, 8, ["onClick"]),
|
|
132
|
-
|
|
132
|
+
a(g, { onClick: j }, {
|
|
133
133
|
default: n(() => [
|
|
134
134
|
d(p(e.$t("common.reset")), 1)
|
|
135
135
|
]),
|
|
@@ -142,13 +142,13 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
142
142
|
_: 1
|
|
143
143
|
}, 8, ["model"]),
|
|
144
144
|
Pe,
|
|
145
|
-
|
|
145
|
+
a(M, { justify: "space-between" }, {
|
|
146
146
|
default: n(() => [
|
|
147
|
-
|
|
147
|
+
a(E, { span: 19 }, {
|
|
148
148
|
default: n(() => [
|
|
149
149
|
C((s(), k(g, {
|
|
150
150
|
type: "primary",
|
|
151
|
-
onClick:
|
|
151
|
+
onClick: x
|
|
152
152
|
}, {
|
|
153
153
|
default: n(() => [
|
|
154
154
|
d(p(e.$t("common.add")), 1)
|
|
@@ -159,7 +159,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
159
159
|
]),
|
|
160
160
|
C((s(), k(g, {
|
|
161
161
|
type: "primary",
|
|
162
|
-
onClick:
|
|
162
|
+
onClick: l[2] || (l[2] = (o) => t(U)("permId"))
|
|
163
163
|
}, {
|
|
164
164
|
default: n(() => [
|
|
165
165
|
d(p(e.$t("common.batchDelete")), 1)
|
|
@@ -171,15 +171,15 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
171
171
|
]),
|
|
172
172
|
_: 1
|
|
173
173
|
}),
|
|
174
|
-
|
|
174
|
+
a(E, {
|
|
175
175
|
span: 5,
|
|
176
176
|
class: "container-float"
|
|
177
177
|
}, {
|
|
178
178
|
default: n(() => [
|
|
179
|
-
|
|
179
|
+
a(J, {
|
|
180
180
|
"table-label": t(f),
|
|
181
|
-
"par-index": t(
|
|
182
|
-
onFixedChange: t(
|
|
181
|
+
"par-index": t(q),
|
|
182
|
+
onFixedChange: t(B),
|
|
183
183
|
onIsShowChange: t(z)
|
|
184
184
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
185
185
|
]),
|
|
@@ -188,20 +188,20 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
188
188
|
]),
|
|
189
189
|
_: 1
|
|
190
190
|
}),
|
|
191
|
-
|
|
191
|
+
a(O, {
|
|
192
192
|
class: "table-top",
|
|
193
193
|
ref_key: "multipleTableRef",
|
|
194
194
|
ref: T,
|
|
195
195
|
"row-key": "permId",
|
|
196
196
|
"table-data": t(N),
|
|
197
197
|
"table-label": t(f),
|
|
198
|
-
"list-loading": t(
|
|
199
|
-
onTableSelected:
|
|
198
|
+
"list-loading": t(D),
|
|
199
|
+
onTableSelected: A
|
|
200
200
|
}, {
|
|
201
201
|
operation: n((o) => [
|
|
202
202
|
C((s(), v("span", {
|
|
203
203
|
class: "el-button-color",
|
|
204
|
-
onClick: (Y) =>
|
|
204
|
+
onClick: (Y) => Q(o.data.row)
|
|
205
205
|
}, [
|
|
206
206
|
d(p(e.$t("common.edit")), 1)
|
|
207
207
|
], 8, he)), [
|
|
@@ -218,27 +218,27 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
218
218
|
]),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
221
|
-
t(_) > 0 ? (s(), k(
|
|
221
|
+
t(_) > 0 ? (s(), k(X, {
|
|
222
222
|
key: 0,
|
|
223
223
|
total: t(_),
|
|
224
|
-
"onUpdate:total":
|
|
224
|
+
"onUpdate:total": l[3] || (l[3] = (o) => fe(_) ? _.value = o : null),
|
|
225
225
|
page: r.curPage,
|
|
226
|
-
"onUpdate:page":
|
|
226
|
+
"onUpdate:page": l[4] || (l[4] = (o) => r.curPage = o),
|
|
227
227
|
limit: r.pageSize,
|
|
228
|
-
"onUpdate:limit":
|
|
228
|
+
"onUpdate:limit": l[5] || (l[5] = (o) => r.pageSize = o),
|
|
229
229
|
onPagination: t(P)
|
|
230
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) :
|
|
230
|
+
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
231
231
|
i.visible ? (s(), k(be, {
|
|
232
232
|
key: 1,
|
|
233
233
|
dialog: i,
|
|
234
234
|
"form-data": t(c),
|
|
235
235
|
onDialogEvent: W,
|
|
236
|
-
onRefresh:
|
|
237
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
236
|
+
onRefresh: G
|
|
237
|
+
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
238
238
|
]);
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
export {
|
|
243
|
-
|
|
243
|
+
De as default
|
|
244
244
|
};
|