jmash-core 0.0.27 → 0.0.28
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-DHF-V-Zy.mjs} +2 -2
- package/dist/{404-Dj6c1lv8.mjs → 404-BYdOQuni.mjs} +1 -1
- package/dist/{BarChart-BRzr-1Pg.mjs → BarChart-RqUPCdJI.mjs} +2 -2
- package/dist/{PieChart-Bwf_dDor.mjs → PieChart-1jIJVala.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DZdDTVjb.mjs → PieChart.vue_vue_type_script_setup_true_lang-DVIUkdCZ.mjs} +2 -2
- package/dist/{RadarChart-CqhtPDg5.mjs → RadarChart-Bc8S0ALP.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-9-54WMZq.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CZH2B93g.mjs} +2 -2
- package/dist/{edit-BvvDET5t.mjs → edit-ChkuuXol.mjs} +1 -1
- package/dist/{edit-CaxsTptv.mjs → edit-D9SACDyC.mjs} +52 -50
- package/dist/{edit-B9Lq-t_r.mjs → edit-DPjM8Jlu.mjs} +1 -1
- package/dist/{edit-BRxQkFDt.mjs → edit-Dfa1EM3Q.mjs} +1 -1
- package/dist/{edit-C7GD0nSe.mjs → edit-Dt4fjw1S.mjs} +1 -1
- package/dist/edit-QqWLBTAl.mjs +4 -0
- package/dist/{edit-CmZKTMpm.mjs → edit-mxla5Dwo.mjs} +90 -88
- package/dist/edit-xL7t35XF.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BJra8IL2.mjs → edit.vue_vue_type_script_setup_true_lang-2gWgg28j.mjs} +32 -31
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DgGcCBMj.mjs → edit.vue_vue_type_script_setup_true_lang-BYh6kXhd.mjs} +106 -104
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CLen66ub.mjs → edit.vue_vue_type_script_setup_true_lang-CEJcRABj.mjs} +46 -44
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CD9L7JV6.mjs → edit.vue_vue_type_script_setup_true_lang-D6LyCzD-.mjs} +39 -38
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHfZOjnV.mjs → edit.vue_vue_type_script_setup_true_lang-DRoxMTE3.mjs} +35 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2EOXI-4.mjs → edit.vue_vue_type_script_setup_true_lang-O9kmmp-o.mjs} +35 -33
- package/dist/{el-card-DSL4P5gG.mjs → el-card-DwHvO2Ya.mjs} +1 -1
- package/dist/{el-col-1uWbtffl.mjs → el-col-CpkHzVh2.mjs} +7 -7
- package/dist/{el-date-picker-5Ichw8rC.mjs → el-date-picker-B6dLs8du.mjs} +424 -424
- package/dist/{el-divider-DU-ox9JK.mjs → el-divider-N6be-jn8.mjs} +1 -1
- package/dist/{el-dropdown-item-Bt9Aai9P.mjs → el-dropdown-item-B-4lE04J.mjs} +47 -46
- package/dist/el-form-item--x5GHc7n.mjs +1124 -0
- package/dist/{el-tree-select-CSA9Hezj.mjs → el-tree-select-DpKRTcZJ.mjs} +31 -31
- package/dist/{index-DwCnuhwT.mjs → index-0Jc1dpgF.mjs} +46 -44
- package/dist/{index-43qW6Kzo.mjs → index-B3-6N5dQ.mjs} +65 -64
- package/dist/{index-Dhot8quq.mjs → index-B4ruvSZ3.mjs} +49 -48
- package/dist/{index-CZy6Ahnx.mjs → index-B8Bjod4Z.mjs} +1 -1
- package/dist/{index-Dh3QVFbj.mjs → index-BGrn7xfJ.mjs} +87 -85
- package/dist/{index-HxChxr7a.mjs → index-BRV4P_kX.mjs} +82 -80
- package/dist/{index-BbW9mmA_.mjs → index-BpV4WDjm.mjs} +5 -5
- package/dist/{index-BEysoYwl.mjs → index-C6rajwwk.mjs} +89 -87
- package/dist/{index-BC43E5Ar.mjs → index-CPlBZyYT.mjs} +43 -40
- package/dist/{index-CkO9KLDz.mjs → index-CZbK2Kio.mjs} +154 -152
- package/dist/{index-DXr_IDAv.mjs → index-Cn9_c0n1.mjs} +179 -178
- package/dist/{index-BE1CpPx5.mjs → index-CyTjYwGV.mjs} +1 -1
- package/dist/{index-BVi8jMer.mjs → index-CzQLCV1q.mjs} +1 -1
- package/dist/{index-BG-VGQjG.mjs → index-D6WFVmZz.mjs} +58 -56
- package/dist/{index-CMoyhn2V.mjs → index-Dwg0azQy.mjs} +92 -90
- package/dist/{index-PuOF-77f.mjs → index-FcnP7111.mjs} +47 -47
- package/dist/index-Kn7Q3GUp.mjs +23679 -0
- package/dist/index-iYRVwor-.mjs +502 -0
- package/dist/{index-WvQkk6zz.mjs → index-pAD6CUAf.mjs} +101 -99
- package/dist/{index-L7Wb4QU_.mjs → index-pBVS-dCg.mjs} +1 -1
- 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-DfsB8ZEs.mjs} +13 -12
- package/dist/{picture-DQoPRn9H.mjs → picture-D34s_Oi0.mjs} +80 -80
- package/dist/{position-C8xJ-itb.mjs → position-MRKj9hcz.mjs} +1 -1
- package/dist/{profile-CXazX36t.mjs → profile-Bk-lwQKm.mjs} +30 -29
- package/dist/{runAs-Wg71lsRu.mjs → runAs-D7rwJWn8.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-Tv0kn1GL.mjs → runAs.vue_vue_type_script_setup_true_lang-Dt6k5rlD.mjs} +21 -20
- package/dist/{types-bGS-6yqy.mjs → types-CRwHW1_s.mjs} +33 -33
- package/dist/{updatePwd-B353QzsI.mjs → updatePwd-DEDAJW3q.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CwJDtUpJ.mjs → updatePwd.vue_vue_type_script_setup_true_lang-foekKrMF.mjs} +15 -14
- package/dts/src/components/Pagination/index.vue.d.ts +1 -1
- package/package.json +8 -8
- package/dist/edit-CBSQovw7.mjs +0 -4
- package/dist/edit-D0lWUImW.mjs +0 -4
- 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
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import "./el-form-item
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { $ as le, bC as te, bD as ae, bE as ne, aZ as re, a_ as se, aS as ie, aT as de, a$ as me, s as ce, t as ue, aV as pe, E as _e, aQ as fe } from "./index-Kn7Q3GUp.mjs";
|
|
2
|
+
import { E as be, a as Ce } from "./el-col-CpkHzVh2.mjs";
|
|
3
|
+
import { E as ye, a as he } from "./el-form-item--x5GHc7n.mjs";
|
|
4
|
+
import { defineComponent as ve, reactive as m, resolveComponent as I, resolveDirective as Re, openBlock as c, createElementBlock as R, createElementVNode as D, createVNode as l, unref as e, withCtx as t, withKeys as T, createTextVNode as u, toDisplayString as p, withDirectives as C, createBlock as k, createCommentVNode as ke } from "vue";
|
|
5
|
+
import { useI18n as we } from "vue-i18n";
|
|
6
|
+
import ge from "./edit-D9SACDyC.mjs";
|
|
7
|
+
const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie = /* @__PURE__ */ D("div", { class: "clear" }, null, -1), Te = ["onClick"], De = ["onClick"], Le = /* @__PURE__ */ ve({
|
|
7
8
|
__name: "index",
|
|
8
9
|
setup(Ne) {
|
|
9
|
-
const { t: n } =
|
|
10
|
-
tenant:
|
|
10
|
+
const { t: n } = we(), i = m({
|
|
11
|
+
tenant: le().user.tenant,
|
|
11
12
|
roleType: "role"
|
|
12
13
|
});
|
|
13
|
-
let _ =
|
|
14
|
+
let _ = m([
|
|
14
15
|
{
|
|
15
16
|
label: n("sysRole.code"),
|
|
16
17
|
width: "140",
|
|
@@ -44,70 +45,70 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
44
45
|
isColumn: !0
|
|
45
46
|
}
|
|
46
47
|
]);
|
|
47
|
-
const s =
|
|
48
|
+
const s = m({
|
|
48
49
|
visible: !1,
|
|
49
50
|
title: ""
|
|
50
51
|
});
|
|
51
|
-
let
|
|
52
|
+
let y = m({
|
|
52
53
|
roleCode: "",
|
|
53
54
|
roleName: "",
|
|
54
55
|
roleDuty: []
|
|
55
56
|
});
|
|
56
|
-
const N =
|
|
57
|
-
list:
|
|
58
|
-
del:
|
|
59
|
-
dels:
|
|
60
|
-
up:
|
|
61
|
-
down:
|
|
57
|
+
const N = m({
|
|
58
|
+
list: te,
|
|
59
|
+
del: ae,
|
|
60
|
+
dels: ne,
|
|
61
|
+
up: re,
|
|
62
|
+
down: se
|
|
62
63
|
}), {
|
|
63
64
|
tableData: V,
|
|
64
65
|
listLoading: S,
|
|
65
66
|
selectionRows: F,
|
|
66
|
-
multipleTableRef:
|
|
67
|
+
multipleTableRef: B,
|
|
67
68
|
queryFormRef: w,
|
|
68
69
|
handleQuery: d,
|
|
69
|
-
deleteRecord:
|
|
70
|
+
deleteRecord: q,
|
|
70
71
|
deleteRecords: K,
|
|
71
72
|
handleMoveTop: L,
|
|
72
73
|
// 上移
|
|
73
74
|
handleMoveDown: P
|
|
74
75
|
// 下移
|
|
75
|
-
} =
|
|
76
|
-
parIndex:
|
|
77
|
-
tableArray:
|
|
78
|
-
getLocalStorageContent:
|
|
79
|
-
fixedChange:
|
|
80
|
-
isShowChange:
|
|
81
|
-
} =
|
|
76
|
+
} = ie(n, N, i), {
|
|
77
|
+
parIndex: Q,
|
|
78
|
+
tableArray: U,
|
|
79
|
+
getLocalStorageContent: x,
|
|
80
|
+
fixedChange: z,
|
|
81
|
+
isShowChange: A
|
|
82
|
+
} = de(_, "/system/role");
|
|
82
83
|
function M() {
|
|
83
84
|
w.value.resetFields(), d();
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
86
|
+
function j() {
|
|
87
|
+
y = m({
|
|
87
88
|
roleCode: "",
|
|
88
89
|
roleName: "",
|
|
89
90
|
roleDuty: []
|
|
90
91
|
}), s.visible = !0, s.title = n("common.add");
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
+
function Z(o) {
|
|
93
94
|
s.title = n("common.edit"), me(o.roleId).then(({ data: r }) => {
|
|
94
|
-
|
|
95
|
+
y = { ...r }, s.visible = !0;
|
|
95
96
|
});
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
+
function G(o) {
|
|
98
99
|
s.visible = o;
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
+
function H(o) {
|
|
101
102
|
o && d();
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function J(o) {
|
|
104
105
|
F.value = o;
|
|
105
106
|
}
|
|
106
|
-
return
|
|
107
|
-
const g =
|
|
108
|
-
return
|
|
107
|
+
return x(), _ = U.value, d(), (o, r) => {
|
|
108
|
+
const g = ce, h = ye, f = ue, O = he, $ = be, W = pe, X = Ce, Y = I("Bottom"), E = _e, ee = I("Top"), oe = fe, b = Re("hasPerm");
|
|
109
|
+
return c(), R("div", $e, [
|
|
109
110
|
D("div", Ee, [
|
|
110
|
-
l(
|
|
111
|
+
l(O, {
|
|
111
112
|
ref_key: "queryFormRef",
|
|
112
113
|
ref: w,
|
|
113
114
|
inline: !0,
|
|
@@ -144,7 +145,7 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
144
145
|
}, 8, ["label"]),
|
|
145
146
|
l(h, null, {
|
|
146
147
|
default: t(() => [
|
|
147
|
-
l(
|
|
148
|
+
l(f, {
|
|
148
149
|
type: "primary",
|
|
149
150
|
onClick: e(d)
|
|
150
151
|
}, {
|
|
@@ -153,7 +154,7 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
153
154
|
]),
|
|
154
155
|
_: 1
|
|
155
156
|
}, 8, ["onClick"]),
|
|
156
|
-
l(
|
|
157
|
+
l(f, { onClick: M }, {
|
|
157
158
|
default: t(() => [
|
|
158
159
|
u(p(o.$t("common.reset")), 1)
|
|
159
160
|
]),
|
|
@@ -167,22 +168,22 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
167
168
|
}, 8, ["model"])
|
|
168
169
|
]),
|
|
169
170
|
Ie,
|
|
170
|
-
l(
|
|
171
|
+
l(X, { justify: "space-between" }, {
|
|
171
172
|
default: t(() => [
|
|
172
173
|
l($, { span: 19 }, {
|
|
173
174
|
default: t(() => [
|
|
174
|
-
|
|
175
|
+
C((c(), k(f, {
|
|
175
176
|
type: "primary",
|
|
176
|
-
onClick:
|
|
177
|
+
onClick: j
|
|
177
178
|
}, {
|
|
178
179
|
default: t(() => [
|
|
179
180
|
u(p(o.$t("common.add")), 1)
|
|
180
181
|
]),
|
|
181
182
|
_: 1
|
|
182
183
|
})), [
|
|
183
|
-
[
|
|
184
|
+
[b, ["rbac:role:add"]]
|
|
184
185
|
]),
|
|
185
|
-
|
|
186
|
+
C((c(), k(f, {
|
|
186
187
|
type: "primary",
|
|
187
188
|
onClick: r[2] || (r[2] = (a) => e(K)("roleId"))
|
|
188
189
|
}, {
|
|
@@ -191,7 +192,7 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
191
192
|
]),
|
|
192
193
|
_: 1
|
|
193
194
|
})), [
|
|
194
|
-
[
|
|
195
|
+
[b, ["rbac:role:delete"]]
|
|
195
196
|
])
|
|
196
197
|
]),
|
|
197
198
|
_: 1
|
|
@@ -201,11 +202,11 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
201
202
|
class: "container-float"
|
|
202
203
|
}, {
|
|
203
204
|
default: t(() => [
|
|
204
|
-
l(
|
|
205
|
+
l(W, {
|
|
205
206
|
"table-label": e(_),
|
|
206
|
-
"par-index": e(
|
|
207
|
-
onFixedChange: e(
|
|
208
|
-
onIsShowChange: e(
|
|
207
|
+
"par-index": e(Q),
|
|
208
|
+
onFixedChange: e(z),
|
|
209
|
+
onIsShowChange: e(A)
|
|
209
210
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
210
211
|
]),
|
|
211
212
|
_: 1
|
|
@@ -216,12 +217,12 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
216
217
|
l(oe, {
|
|
217
218
|
class: "table-top",
|
|
218
219
|
ref_key: "multipleTableRef",
|
|
219
|
-
ref:
|
|
220
|
+
ref: B,
|
|
220
221
|
"row-keys": "roleId",
|
|
221
222
|
"list-loading": e(S),
|
|
222
223
|
"table-data": e(V),
|
|
223
224
|
"table-label": e(_),
|
|
224
|
-
onTableSelected:
|
|
225
|
+
onTableSelected: J
|
|
225
226
|
}, {
|
|
226
227
|
sort: t((a) => [
|
|
227
228
|
l(E, {
|
|
@@ -229,7 +230,7 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
229
230
|
onClick: (v) => e(P)(a.data.row.roleId)
|
|
230
231
|
}, {
|
|
231
232
|
default: t(() => [
|
|
232
|
-
l(
|
|
233
|
+
l(Y)
|
|
233
234
|
]),
|
|
234
235
|
_: 2
|
|
235
236
|
}, 1032, ["onClick"]),
|
|
@@ -244,36 +245,36 @@ const $e = { class: "app-container" }, Ee = { class: "search-container" }, Ie =
|
|
|
244
245
|
}, 1032, ["onClick"])
|
|
245
246
|
]),
|
|
246
247
|
operation: t((a) => [
|
|
247
|
-
|
|
248
|
+
C((c(), R("span", {
|
|
248
249
|
class: "el-button-color",
|
|
249
|
-
onClick: (v) =>
|
|
250
|
+
onClick: (v) => Z(a.data.row)
|
|
250
251
|
}, [
|
|
251
252
|
u(p(o.$t("common.edit")), 1)
|
|
252
253
|
], 8, Te)), [
|
|
253
|
-
[
|
|
254
|
+
[b, ["rbac:role:update"]]
|
|
254
255
|
]),
|
|
255
|
-
|
|
256
|
+
C((c(), R("span", {
|
|
256
257
|
class: "el-button-color dropdown-left",
|
|
257
|
-
onClick: (v) => e(
|
|
258
|
+
onClick: (v) => e(q)(a.data.row.roleId)
|
|
258
259
|
}, [
|
|
259
260
|
u(p(o.$t("common.delete")), 1)
|
|
260
261
|
], 8, De)), [
|
|
261
|
-
[
|
|
262
|
+
[b, ["rbac:role:delete"]]
|
|
262
263
|
])
|
|
263
264
|
]),
|
|
264
265
|
_: 1
|
|
265
266
|
}, 8, ["list-loading", "table-data", "table-label"]),
|
|
266
|
-
e(s).visible ? (
|
|
267
|
+
e(s).visible ? (c(), k(ge, {
|
|
267
268
|
key: 0,
|
|
268
269
|
dialog: e(s),
|
|
269
|
-
"form-data": e(
|
|
270
|
-
onDialogEvent:
|
|
271
|
-
onRefresh:
|
|
272
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
270
|
+
"form-data": e(y),
|
|
271
|
+
onDialogEvent: G,
|
|
272
|
+
onRefresh: H
|
|
273
|
+
}, null, 8, ["dialog", "form-data"])) : ke("", !0)
|
|
273
274
|
]);
|
|
274
275
|
};
|
|
275
276
|
}
|
|
276
277
|
});
|
|
277
278
|
export {
|
|
278
|
-
|
|
279
|
+
Le as default
|
|
279
280
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import "./el-form-item
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { $ as Z, aS as ee, aT as te, s as oe, t as le, aV as ae, aQ as ne, b9 as re } from "./index-Kn7Q3GUp.mjs";
|
|
2
|
+
import { E as ie, a as se } from "./el-col-CpkHzVh2.mjs";
|
|
3
|
+
import { E as me, a as de } from "./el-form-item--x5GHc7n.mjs";
|
|
4
|
+
import { defineComponent as pe, reactive as d, resolveDirective as ue, openBlock as s, createElementBlock as v, createVNode as l, withCtx as n, withKeys as R, unref as t, createTextVNode as p, toDisplayString as u, withDirectives as y, createBlock as C, isRef as ce, createCommentVNode as S, createElementVNode as fe } from "vue";
|
|
5
|
+
import { useI18n as _e } from "vue-i18n";
|
|
6
|
+
import { _ as be } from "./edit.vue_vue_type_script_setup_true_lang-D6LyCzD-.mjs";
|
|
7
|
+
import { g as ge, d as ye, b as Ce } from "./index-CyTjYwGV.mjs";
|
|
8
|
+
const ke = { class: "app-container" }, Pe = /* @__PURE__ */ fe("div", { class: "clear" }, null, -1), he = ["onClick"], ve = ["onClick"], Ie = /* @__PURE__ */ pe({
|
|
8
9
|
__name: "index",
|
|
9
10
|
setup($e) {
|
|
10
|
-
const { t: m } =
|
|
11
|
-
tenant:
|
|
11
|
+
const { t: m } = _e(), r = d({
|
|
12
|
+
tenant: Z().user.tenant,
|
|
12
13
|
curPage: 1,
|
|
13
14
|
pageSize: 10
|
|
14
15
|
});
|
|
@@ -38,7 +39,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
38
39
|
const i = d({
|
|
39
40
|
visible: !1,
|
|
40
41
|
title: ""
|
|
41
|
-
}),
|
|
42
|
+
}), N = d({
|
|
42
43
|
list: ge,
|
|
43
44
|
del: ye,
|
|
44
45
|
dels: Ce
|
|
@@ -52,15 +53,15 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
52
53
|
getList: P,
|
|
53
54
|
handleQuery: _,
|
|
54
55
|
deleteRecord: F,
|
|
55
|
-
deleteRecords:
|
|
56
|
-
} =
|
|
57
|
-
parIndex:
|
|
56
|
+
deleteRecords: U
|
|
57
|
+
} = ee(m, N, r), {
|
|
58
|
+
parIndex: q,
|
|
58
59
|
tableArray: K,
|
|
59
60
|
getLocalStorageContent: L,
|
|
60
61
|
fixedChange: B,
|
|
61
62
|
isShowChange: z
|
|
62
|
-
} =
|
|
63
|
-
function
|
|
63
|
+
} = te(c, "/system/permission");
|
|
64
|
+
function Q() {
|
|
64
65
|
$.value.resetFields(), _();
|
|
65
66
|
}
|
|
66
67
|
function x() {
|
|
@@ -72,56 +73,56 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
72
73
|
function A(e) {
|
|
73
74
|
I.value = e;
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function j(e) {
|
|
76
77
|
i.title = m("common.edit"), i.visible = !0, k = { ...e };
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function G(e) {
|
|
79
80
|
i.visible = e;
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function H(e) {
|
|
82
83
|
e && P();
|
|
83
84
|
}
|
|
84
|
-
return L(), c = K.value, P(), (e,
|
|
85
|
-
const w =
|
|
85
|
+
return L(), c = K.value, P(), (e, a) => {
|
|
86
|
+
const w = oe, h = me, b = le, J = de, E = ie, M = ae, O = se, W = ne, X = re, g = ue("hasPerm");
|
|
86
87
|
return s(), v("div", ke, [
|
|
87
|
-
|
|
88
|
+
l(J, {
|
|
88
89
|
ref_key: "queryFormRef",
|
|
89
90
|
ref: $,
|
|
90
91
|
model: r,
|
|
91
92
|
inline: !0
|
|
92
93
|
}, {
|
|
93
94
|
default: n(() => [
|
|
94
|
-
|
|
95
|
+
l(h, {
|
|
95
96
|
label: e.$t("sysPerm.code"),
|
|
96
97
|
prop: "likePermCode"
|
|
97
98
|
}, {
|
|
98
99
|
default: n(() => [
|
|
99
|
-
|
|
100
|
+
l(w, {
|
|
100
101
|
modelValue: r.likePermCode,
|
|
101
|
-
"onUpdate:modelValue":
|
|
102
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => r.likePermCode = o),
|
|
102
103
|
placeholder: e.$t("sysPerm.codeRequired"),
|
|
103
104
|
onKeyup: R(t(_), ["enter"])
|
|
104
105
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
105
106
|
]),
|
|
106
107
|
_: 1
|
|
107
108
|
}, 8, ["label"]),
|
|
108
|
-
|
|
109
|
+
l(h, {
|
|
109
110
|
label: e.$t("sysPerm.name"),
|
|
110
111
|
prop: "likePermName"
|
|
111
112
|
}, {
|
|
112
113
|
default: n(() => [
|
|
113
|
-
|
|
114
|
+
l(w, {
|
|
114
115
|
modelValue: r.likePermName,
|
|
115
|
-
"onUpdate:modelValue":
|
|
116
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => r.likePermName = o),
|
|
116
117
|
placeholder: e.$t("sysPerm.nameRequired"),
|
|
117
118
|
onKeyup: R(t(_), ["enter"])
|
|
118
119
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
119
120
|
]),
|
|
120
121
|
_: 1
|
|
121
122
|
}, 8, ["label"]),
|
|
122
|
-
|
|
123
|
+
l(h, { class: "search-container" }, {
|
|
123
124
|
default: n(() => [
|
|
124
|
-
|
|
125
|
+
l(b, {
|
|
125
126
|
type: "primary",
|
|
126
127
|
onClick: t(_)
|
|
127
128
|
}, {
|
|
@@ -130,7 +131,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
130
131
|
]),
|
|
131
132
|
_: 1
|
|
132
133
|
}, 8, ["onClick"]),
|
|
133
|
-
|
|
134
|
+
l(b, { onClick: Q }, {
|
|
134
135
|
default: n(() => [
|
|
135
136
|
p(u(e.$t("common.reset")), 1)
|
|
136
137
|
]),
|
|
@@ -143,9 +144,9 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
143
144
|
_: 1
|
|
144
145
|
}, 8, ["model"]),
|
|
145
146
|
Pe,
|
|
146
|
-
|
|
147
|
+
l(O, { justify: "space-between" }, {
|
|
147
148
|
default: n(() => [
|
|
148
|
-
|
|
149
|
+
l(E, { span: 19 }, {
|
|
149
150
|
default: n(() => [
|
|
150
151
|
y((s(), C(b, {
|
|
151
152
|
type: "primary",
|
|
@@ -160,7 +161,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
160
161
|
]),
|
|
161
162
|
y((s(), C(b, {
|
|
162
163
|
type: "primary",
|
|
163
|
-
onClick:
|
|
164
|
+
onClick: a[2] || (a[2] = (o) => t(U)("permId"))
|
|
164
165
|
}, {
|
|
165
166
|
default: n(() => [
|
|
166
167
|
p(u(e.$t("common.batchDelete")), 1)
|
|
@@ -172,14 +173,14 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
172
173
|
]),
|
|
173
174
|
_: 1
|
|
174
175
|
}),
|
|
175
|
-
|
|
176
|
+
l(E, {
|
|
176
177
|
span: 5,
|
|
177
178
|
class: "container-float"
|
|
178
179
|
}, {
|
|
179
180
|
default: n(() => [
|
|
180
|
-
|
|
181
|
+
l(M, {
|
|
181
182
|
"table-label": t(c),
|
|
182
|
-
"par-index": t(
|
|
183
|
+
"par-index": t(q),
|
|
183
184
|
onFixedChange: t(B),
|
|
184
185
|
onIsShowChange: t(z)
|
|
185
186
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
@@ -189,7 +190,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
189
190
|
]),
|
|
190
191
|
_: 1
|
|
191
192
|
}),
|
|
192
|
-
|
|
193
|
+
l(W, {
|
|
193
194
|
class: "table-top",
|
|
194
195
|
ref_key: "multipleTableRef",
|
|
195
196
|
ref: T,
|
|
@@ -202,7 +203,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
202
203
|
operation: n((o) => [
|
|
203
204
|
y((s(), v("span", {
|
|
204
205
|
class: "el-button-color",
|
|
205
|
-
onClick: (
|
|
206
|
+
onClick: (Y) => j(o.data.row)
|
|
206
207
|
}, [
|
|
207
208
|
p(u(e.$t("common.edit")), 1)
|
|
208
209
|
], 8, he)), [
|
|
@@ -210,7 +211,7 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
210
211
|
]),
|
|
211
212
|
y((s(), v("span", {
|
|
212
213
|
class: "el-button-color dropdown-left",
|
|
213
|
-
onClick: (
|
|
214
|
+
onClick: (Y) => t(F)(o.data.row.permId)
|
|
214
215
|
}, [
|
|
215
216
|
p(u(e.$t("common.delete")), 1)
|
|
216
217
|
], 8, ve)), [
|
|
@@ -219,27 +220,27 @@ const ke = { class: "app-container" }, Pe = /* @__PURE__ */ _e("div", { class: "
|
|
|
219
220
|
]),
|
|
220
221
|
_: 1
|
|
221
222
|
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
222
|
-
t(f) > 0 ? (s(), C(
|
|
223
|
+
t(f) > 0 ? (s(), C(X, {
|
|
223
224
|
key: 0,
|
|
224
225
|
total: t(f),
|
|
225
|
-
"onUpdate:total":
|
|
226
|
+
"onUpdate:total": a[3] || (a[3] = (o) => ce(f) ? f.value = o : null),
|
|
226
227
|
page: r.curPage,
|
|
227
|
-
"onUpdate:page":
|
|
228
|
+
"onUpdate:page": a[4] || (a[4] = (o) => r.curPage = o),
|
|
228
229
|
limit: r.pageSize,
|
|
229
|
-
"onUpdate:limit":
|
|
230
|
+
"onUpdate:limit": a[5] || (a[5] = (o) => r.pageSize = o),
|
|
230
231
|
onPagination: t(P)
|
|
231
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) :
|
|
232
|
+
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
232
233
|
i.visible ? (s(), C(be, {
|
|
233
234
|
key: 1,
|
|
234
235
|
dialog: i,
|
|
235
236
|
"form-data": t(k),
|
|
236
|
-
onDialogEvent:
|
|
237
|
-
onRefresh:
|
|
238
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
237
|
+
onDialogEvent: G,
|
|
238
|
+
onRefresh: H
|
|
239
|
+
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
239
240
|
]);
|
|
240
241
|
};
|
|
241
242
|
}
|
|
242
243
|
});
|
|
243
244
|
export {
|
|
244
|
-
|
|
245
|
+
Ie as default
|
|
245
246
|
};
|