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,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import { E as
|
|
4
|
-
import "./el-form-item
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { $ as ke, bj as $e, bk as Ie, bl as Ee, bm as Te, bn as Me, aS as Re, aT as De, bo as Ne, bp as Ve, bq as Se, aU as U, br as qe, bs as Fe, bt as Be, ak as Le, al as Ue, s as je, t as Ae, aV as Pe, Y as xe, aj as He, E as Ke, aQ as Qe, aW as ze } from "./index-Kn7Q3GUp.mjs";
|
|
2
|
+
import { E as Oe, a as We, b as Ye } from "./el-dropdown-item-B-4lE04J.mjs";
|
|
3
|
+
import { E as Ge, a as Je } from "./el-col-CpkHzVh2.mjs";
|
|
4
|
+
import { E as Xe, a as Ze } from "./el-form-item--x5GHc7n.mjs";
|
|
5
|
+
import { defineComponent as eo, reactive as y, ref as M, resolveComponent as R, resolveDirective as oo, openBlock as a, createElementBlock as h, createVNode as t, withCtx as o, Fragment as to, renderList as lo, createBlock as m, withKeys as no, unref as s, createTextVNode as u, toDisplayString as r, withDirectives as p, createElementVNode as E, createCommentVNode as j } from "vue";
|
|
6
|
+
import { ElMessage as A } from "element-plus";
|
|
7
|
+
import { useI18n as ao } from "vue-i18n";
|
|
8
|
+
import { m as so } from "./index-BpV4WDjm.mjs";
|
|
9
|
+
import { _ as ro } from "./edit.vue_vue_type_script_setup_true_lang-BYh6kXhd.mjs";
|
|
10
|
+
const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "clear" }, null, -1), mo = { style: { "padding-left": "5px" } }, co = ["onClick"], po = ["onClick"], fo = { class: "el-dropdown-link" }, Io = /* @__PURE__ */ eo({
|
|
9
11
|
__name: "index",
|
|
10
12
|
setup(_o) {
|
|
11
|
-
const { t: i } =
|
|
12
|
-
tenant:
|
|
13
|
+
const { t: i } = ao(), d = y({
|
|
14
|
+
tenant: ke().user.tenant,
|
|
13
15
|
resourceId: ""
|
|
14
16
|
}), D = M([]), N = M([]);
|
|
15
17
|
let v = y({
|
|
@@ -79,35 +81,35 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
79
81
|
visible: !1,
|
|
80
82
|
title: ""
|
|
81
83
|
}), w = M(!1), P = y({
|
|
82
|
-
list:
|
|
83
|
-
del:
|
|
84
|
-
dels:
|
|
85
|
-
up:
|
|
86
|
-
down:
|
|
84
|
+
list: $e,
|
|
85
|
+
del: Ie,
|
|
86
|
+
dels: Ee,
|
|
87
|
+
up: Te,
|
|
88
|
+
down: Me
|
|
87
89
|
}), {
|
|
88
90
|
tableData: x,
|
|
89
91
|
listLoading: H,
|
|
90
92
|
selectionRows: K,
|
|
91
|
-
multipleTableRef:
|
|
93
|
+
multipleTableRef: Q,
|
|
92
94
|
queryFormRef: V,
|
|
93
95
|
handleQuery: _,
|
|
94
|
-
deleteRecord:
|
|
95
|
-
deleteRecords:
|
|
96
|
-
handleMoveTop:
|
|
96
|
+
deleteRecord: z,
|
|
97
|
+
deleteRecords: O,
|
|
98
|
+
handleMoveTop: W,
|
|
97
99
|
// 上移
|
|
98
|
-
handleMoveDown:
|
|
100
|
+
handleMoveDown: Y
|
|
99
101
|
// 下移
|
|
100
|
-
} =
|
|
101
|
-
parIndex:
|
|
102
|
-
tableArray:
|
|
103
|
-
getLocalStorageContent:
|
|
104
|
-
fixedChange:
|
|
102
|
+
} = Re(i, P, d), {
|
|
103
|
+
parIndex: G,
|
|
104
|
+
tableArray: J,
|
|
105
|
+
getLocalStorageContent: X,
|
|
106
|
+
fixedChange: Z,
|
|
105
107
|
isShowChange: ee
|
|
106
|
-
} =
|
|
108
|
+
} = De(k, "/system/menu");
|
|
107
109
|
function oe() {
|
|
108
110
|
so().then(({ data: e }) => {
|
|
109
111
|
D.value = e.results;
|
|
110
|
-
}),
|
|
112
|
+
}), Ve("jmash.rbac.protobuf.ResourceType").then(({ data: e }) => {
|
|
111
113
|
N.value = e.values;
|
|
112
114
|
});
|
|
113
115
|
}
|
|
@@ -117,29 +119,29 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
117
119
|
function le(e) {
|
|
118
120
|
K.value = e;
|
|
119
121
|
}
|
|
120
|
-
function
|
|
122
|
+
function ne() {
|
|
121
123
|
V.value.resetFields(), d.hasHidden = !1, _();
|
|
122
124
|
}
|
|
123
|
-
function
|
|
125
|
+
function ae() {
|
|
124
126
|
Se().then((e) => {
|
|
125
127
|
console.log(e);
|
|
126
|
-
const
|
|
128
|
+
const n = new Blob([e.data], {
|
|
127
129
|
type: "application/octet-stream"
|
|
128
130
|
});
|
|
129
|
-
U.saveAs(
|
|
131
|
+
U.saveAs(n, i("sysMenu.menuTemplate") + ".xlsx");
|
|
130
132
|
});
|
|
131
133
|
}
|
|
132
134
|
function se(e) {
|
|
133
135
|
if (!e.fileNames) {
|
|
134
|
-
|
|
136
|
+
A({
|
|
135
137
|
message: "请上传文件",
|
|
136
138
|
type: "warning"
|
|
137
139
|
});
|
|
138
140
|
return;
|
|
139
141
|
}
|
|
140
|
-
e.updateMask = "moduleId,parentId,resourceName,resourceCode,resourceType,target,url,hidden",
|
|
141
|
-
|
|
142
|
-
message:
|
|
142
|
+
e.updateMask = "moduleId,parentId,resourceName,resourceCode,resourceType,target,url,hidden", qe(e).then((n) => {
|
|
143
|
+
n.status === 200 && (A({
|
|
144
|
+
message: n.data,
|
|
143
145
|
type: "success"
|
|
144
146
|
}), w.value = !1, _());
|
|
145
147
|
});
|
|
@@ -147,7 +149,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
147
149
|
function re() {
|
|
148
150
|
w.value = !1;
|
|
149
151
|
}
|
|
150
|
-
function
|
|
152
|
+
function S(e) {
|
|
151
153
|
v = y({
|
|
152
154
|
moduleId: "",
|
|
153
155
|
parentId: "",
|
|
@@ -161,8 +163,8 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
161
163
|
}), f.title = i("common.add"), e && (v.parentId = e.resourceId, v.moduleId = e.moduleId), f.visible = !0;
|
|
162
164
|
}
|
|
163
165
|
function de(e) {
|
|
164
|
-
f.title = i("common.edit"),
|
|
165
|
-
v = { ...
|
|
166
|
+
f.title = i("common.edit"), Fe(e.resourceId).then(({ data: n }) => {
|
|
167
|
+
v = { ...n }, f.visible = !0;
|
|
166
168
|
});
|
|
167
169
|
}
|
|
168
170
|
function ue(e) {
|
|
@@ -171,23 +173,23 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
171
173
|
function ie(e) {
|
|
172
174
|
e && _();
|
|
173
175
|
}
|
|
174
|
-
function
|
|
176
|
+
function q(e) {
|
|
175
177
|
console.log(e);
|
|
176
|
-
const
|
|
178
|
+
const n = {
|
|
177
179
|
req: {},
|
|
178
180
|
resourceId: e ? d.resourceId = e : d.resourceId = void 0
|
|
179
181
|
};
|
|
180
|
-
|
|
182
|
+
n.req = d, Be(n).then(({ data: C }) => {
|
|
181
183
|
const $ = new Blob([C], {
|
|
182
184
|
type: "application/octet-stream"
|
|
183
185
|
});
|
|
184
186
|
U.saveAs($, i("route.sysMenu") + ".xlsx");
|
|
185
187
|
});
|
|
186
188
|
}
|
|
187
|
-
return
|
|
188
|
-
const C =
|
|
189
|
-
return
|
|
190
|
-
t(
|
|
189
|
+
return X(), k = J.value, oe(), _(), (e, n) => {
|
|
190
|
+
const C = Le, $ = Ue, I = Xe, me = je, b = Ae, ce = Ze, F = Ge, pe = Pe, fe = Je, _e = xe, B = He, be = R("Bottom"), T = Ke, ye = R("Top"), he = R("arrow-down"), L = Oe, ve = We, we = Ye, Ce = Qe, ge = ze, c = oo("hasPerm");
|
|
191
|
+
return a(), h("div", uo, [
|
|
192
|
+
t(ce, {
|
|
191
193
|
ref_key: "queryFormRef",
|
|
192
194
|
ref: V,
|
|
193
195
|
model: d,
|
|
@@ -201,11 +203,11 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
201
203
|
default: o(() => [
|
|
202
204
|
t($, {
|
|
203
205
|
modelValue: d.moduleId,
|
|
204
|
-
"onUpdate:modelValue":
|
|
206
|
+
"onUpdate:modelValue": n[0] || (n[0] = (l) => d.moduleId = l),
|
|
205
207
|
placeholder: e.$t("sysMenu.moduleRequired")
|
|
206
208
|
}, {
|
|
207
209
|
default: o(() => [
|
|
208
|
-
(
|
|
210
|
+
(a(!0), h(to, null, lo(D.value, (l) => (a(), m(C, {
|
|
209
211
|
key: l.moduleId,
|
|
210
212
|
label: l.moduleName,
|
|
211
213
|
value: l.moduleId
|
|
@@ -221,9 +223,9 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
221
223
|
prop: "likeResourceName"
|
|
222
224
|
}, {
|
|
223
225
|
default: o(() => [
|
|
224
|
-
t(
|
|
226
|
+
t(me, {
|
|
225
227
|
modelValue: d.likeResourceName,
|
|
226
|
-
"onUpdate:modelValue":
|
|
228
|
+
"onUpdate:modelValue": n[1] || (n[1] = (l) => d.likeResourceName = l),
|
|
227
229
|
placeholder: e.$t("sysMenu.nameRequired"),
|
|
228
230
|
onKeyup: no(s(_), ["enter"])
|
|
229
231
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
@@ -237,7 +239,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
237
239
|
default: o(() => [
|
|
238
240
|
t($, {
|
|
239
241
|
modelValue: d.hidden,
|
|
240
|
-
"onUpdate:modelValue":
|
|
242
|
+
"onUpdate:modelValue": n[2] || (n[2] = (l) => d.hidden = l),
|
|
241
243
|
placeholder: e.$t("sysMenu.statusRequired"),
|
|
242
244
|
onChange: te
|
|
243
245
|
}, {
|
|
@@ -267,7 +269,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
267
269
|
]),
|
|
268
270
|
_: 1
|
|
269
271
|
}, 8, ["onClick"]),
|
|
270
|
-
t(b, { onClick:
|
|
272
|
+
t(b, { onClick: ne }, {
|
|
271
273
|
default: o(() => [
|
|
272
274
|
u(r(e.$t("common.reset")), 1)
|
|
273
275
|
]),
|
|
@@ -284,27 +286,27 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
284
286
|
default: o(() => [
|
|
285
287
|
t(F, { span: 19 }, {
|
|
286
288
|
default: o(() => [
|
|
287
|
-
p((
|
|
289
|
+
p((a(), m(b, {
|
|
288
290
|
type: "primary",
|
|
289
|
-
onClick:
|
|
291
|
+
onClick: S
|
|
290
292
|
}, {
|
|
291
293
|
default: o(() => [
|
|
292
294
|
u(r(e.$t("common.add")), 1)
|
|
293
295
|
]),
|
|
294
296
|
_: 1
|
|
295
297
|
})), [
|
|
296
|
-
[
|
|
298
|
+
[c, ["rbac:resource:add"]]
|
|
297
299
|
]),
|
|
298
|
-
p((
|
|
300
|
+
p((a(), m(b, {
|
|
299
301
|
type: "primary",
|
|
300
|
-
onClick:
|
|
302
|
+
onClick: n[3] || (n[3] = (l) => s(O)("resourceId"))
|
|
301
303
|
}, {
|
|
302
304
|
default: o(() => [
|
|
303
305
|
u(r(e.$t("common.batchDelete")), 1)
|
|
304
306
|
]),
|
|
305
307
|
_: 1
|
|
306
308
|
})), [
|
|
307
|
-
[
|
|
309
|
+
[c, ["rbac:resource:delete"]]
|
|
308
310
|
])
|
|
309
311
|
]),
|
|
310
312
|
_: 1
|
|
@@ -314,36 +316,36 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
314
316
|
class: "container-float"
|
|
315
317
|
}, {
|
|
316
318
|
default: o(() => [
|
|
317
|
-
p((
|
|
319
|
+
p((a(), m(b, {
|
|
318
320
|
class: "dropdown-left",
|
|
319
321
|
plain: "",
|
|
320
322
|
type: "primary",
|
|
321
|
-
onClick:
|
|
323
|
+
onClick: n[4] || (n[4] = (l) => w.value = !0)
|
|
322
324
|
}, {
|
|
323
325
|
default: o(() => [
|
|
324
326
|
u(r(e.$t("common.import")), 1)
|
|
325
327
|
]),
|
|
326
328
|
_: 1
|
|
327
329
|
})), [
|
|
328
|
-
[
|
|
330
|
+
[c, ["rbac:resource:import"]]
|
|
329
331
|
]),
|
|
330
|
-
p((
|
|
332
|
+
p((a(), m(b, {
|
|
331
333
|
class: "dropdown-left",
|
|
332
334
|
plain: "",
|
|
333
335
|
type: "primary",
|
|
334
|
-
onClick:
|
|
336
|
+
onClick: n[5] || (n[5] = (l) => q(""))
|
|
335
337
|
}, {
|
|
336
338
|
default: o(() => [
|
|
337
339
|
u(r(e.$t("common.export")), 1)
|
|
338
340
|
]),
|
|
339
341
|
_: 1
|
|
340
342
|
})), [
|
|
341
|
-
[
|
|
343
|
+
[c, ["rbac:resource:export"]]
|
|
342
344
|
]),
|
|
343
345
|
t(pe, {
|
|
344
346
|
"table-label": s(k),
|
|
345
|
-
"par-index": s(
|
|
346
|
-
onFixedChange: s(
|
|
347
|
+
"par-index": s(G),
|
|
348
|
+
onFixedChange: s(Z),
|
|
347
349
|
onIsShowChange: s(ee)
|
|
348
350
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
349
351
|
]),
|
|
@@ -355,7 +357,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
355
357
|
t(Ce, {
|
|
356
358
|
class: "table-top",
|
|
357
359
|
ref_key: "multipleTableRef",
|
|
358
|
-
ref:
|
|
360
|
+
ref: Q,
|
|
359
361
|
"row-keys": "resourceId",
|
|
360
362
|
"table-data": s(x),
|
|
361
363
|
"list-loading": s(H),
|
|
@@ -366,13 +368,13 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
366
368
|
t(_e, {
|
|
367
369
|
"icon-class": l.data.row.icon
|
|
368
370
|
}, null, 8, ["icon-class"]),
|
|
369
|
-
E("span",
|
|
371
|
+
E("span", mo, r(l.data.row.resourceName), 1)
|
|
370
372
|
]),
|
|
371
373
|
menuType: o((l) => [
|
|
372
|
-
E("span", null, r(s(
|
|
374
|
+
E("span", null, r(s(Ne)(N.value, l.data.row.resourceType)), 1)
|
|
373
375
|
]),
|
|
374
376
|
status: o((l) => [
|
|
375
|
-
l.data.row.hidden === !1 ? (
|
|
377
|
+
l.data.row.hidden === !1 ? (a(), m(B, {
|
|
376
378
|
key: 0,
|
|
377
379
|
type: "success"
|
|
378
380
|
}, {
|
|
@@ -380,7 +382,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
380
382
|
u(r(e.$t("common.show")), 1)
|
|
381
383
|
]),
|
|
382
384
|
_: 1
|
|
383
|
-
})) : (
|
|
385
|
+
})) : (a(), m(B, {
|
|
384
386
|
key: 1,
|
|
385
387
|
type: "danger"
|
|
386
388
|
}, {
|
|
@@ -393,7 +395,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
393
395
|
sort: o((l) => [
|
|
394
396
|
t(T, {
|
|
395
397
|
size: "16",
|
|
396
|
-
onClick: (g) => s(
|
|
398
|
+
onClick: (g) => s(Y)(l.data.row.resourceId)
|
|
397
399
|
}, {
|
|
398
400
|
default: o(() => [
|
|
399
401
|
t(be)
|
|
@@ -402,7 +404,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
402
404
|
}, 1032, ["onClick"]),
|
|
403
405
|
t(T, {
|
|
404
406
|
size: "16",
|
|
405
|
-
onClick: (g) => s(
|
|
407
|
+
onClick: (g) => s(W)(l.data.row.resourceId)
|
|
406
408
|
}, {
|
|
407
409
|
default: o(() => [
|
|
408
410
|
t(ye)
|
|
@@ -411,29 +413,29 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
411
413
|
}, 1032, ["onClick"])
|
|
412
414
|
]),
|
|
413
415
|
operation: o((l) => [
|
|
414
|
-
p((
|
|
416
|
+
p((a(), h("span", {
|
|
415
417
|
class: "el-button-color",
|
|
416
418
|
onClick: (g) => de(l.data.row)
|
|
417
419
|
}, [
|
|
418
420
|
u(r(e.$t("common.edit")), 1)
|
|
419
|
-
], 8,
|
|
420
|
-
[
|
|
421
|
+
], 8, co)), [
|
|
422
|
+
[c, ["rbac:resource:update"]]
|
|
421
423
|
]),
|
|
422
|
-
p((
|
|
424
|
+
p((a(), h("span", {
|
|
423
425
|
class: "el-button-color dropdown-left",
|
|
424
|
-
onClick: (g) => s(
|
|
426
|
+
onClick: (g) => s(z)(l.data.row.resourceId)
|
|
425
427
|
}, [
|
|
426
428
|
u(r(e.$t("common.delete")), 1)
|
|
427
429
|
], 8, po)), [
|
|
428
|
-
[
|
|
430
|
+
[c, ["rbac:resource:delete"]]
|
|
429
431
|
]),
|
|
430
432
|
t(we, { class: "dropdown-left" }, {
|
|
431
433
|
dropdown: o(() => [
|
|
432
434
|
t(ve, null, {
|
|
433
435
|
default: o(() => [
|
|
434
|
-
p((
|
|
436
|
+
p((a(), h("div", null, [
|
|
435
437
|
t(L, {
|
|
436
|
-
onClick: (g) =>
|
|
438
|
+
onClick: (g) => S(l.data.row)
|
|
437
439
|
}, {
|
|
438
440
|
default: o(() => [
|
|
439
441
|
u(r(e.$t("common.add")), 1)
|
|
@@ -441,11 +443,11 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
441
443
|
_: 2
|
|
442
444
|
}, 1032, ["onClick"])
|
|
443
445
|
])), [
|
|
444
|
-
[
|
|
446
|
+
[c, ["rbac:resource:add"]]
|
|
445
447
|
]),
|
|
446
|
-
p((
|
|
448
|
+
p((a(), h("div", null, [
|
|
447
449
|
t(L, {
|
|
448
|
-
onClick: (g) =>
|
|
450
|
+
onClick: (g) => q(l.data.row.resourceId)
|
|
449
451
|
}, {
|
|
450
452
|
default: o(() => [
|
|
451
453
|
u(r(e.$t("common.export")), 1)
|
|
@@ -453,7 +455,7 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
453
455
|
_: 2
|
|
454
456
|
}, 1032, ["onClick"])
|
|
455
457
|
])), [
|
|
456
|
-
[
|
|
458
|
+
[c, ["rbac:resource:export"]]
|
|
457
459
|
])
|
|
458
460
|
]),
|
|
459
461
|
_: 2
|
|
@@ -475,25 +477,25 @@ const uo = { class: "app-container" }, io = /* @__PURE__ */ E("div", { class: "c
|
|
|
475
477
|
]),
|
|
476
478
|
_: 1
|
|
477
479
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
478
|
-
f.visible ? (
|
|
480
|
+
f.visible ? (a(), m(ro, {
|
|
479
481
|
key: 0,
|
|
480
482
|
dialog: f,
|
|
481
483
|
"form-data": s(v),
|
|
482
484
|
onDialogEvent: ue,
|
|
483
485
|
onRefresh: ie
|
|
484
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
485
|
-
w.value ? (
|
|
486
|
+
}, null, 8, ["dialog", "form-data"])) : j("", !0),
|
|
487
|
+
w.value ? (a(), m(ge, {
|
|
486
488
|
key: 1,
|
|
487
489
|
"upload-visible": w.value,
|
|
488
490
|
"template-title": e.$t("sysMenu.templateDownload"),
|
|
489
|
-
onTemplateDown:
|
|
491
|
+
onTemplateDown: ae,
|
|
490
492
|
onImportEvents: se,
|
|
491
493
|
onUploadClosed: re
|
|
492
|
-
}, null, 8, ["upload-visible", "template-title"])) :
|
|
494
|
+
}, null, 8, ["upload-visible", "template-title"])) : j("", !0)
|
|
493
495
|
]);
|
|
494
496
|
};
|
|
495
497
|
}
|
|
496
498
|
});
|
|
497
499
|
export {
|
|
498
|
-
|
|
500
|
+
Io as default
|
|
499
501
|
};
|