jmash-core 0.0.9 → 0.0.11
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-C_jDuubo.mjs → 401-BjFOoJaQ.mjs} +13 -15
- package/dist/{404-D1KiG-19.mjs → 404-CT8Yk873.mjs} +1 -1
- package/dist/{BarChart-BiYcyOIt.mjs → BarChart-CbBhpMpZ.mjs} +27 -30
- package/dist/{FileSaver.min-CpTDBPJB.mjs → FileSaver.min-CivbhzMe.mjs} +8 -8
- package/dist/{PieChart-DvQrr19I.mjs → PieChart-B8Tay-HH.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DcF0vyqZ.mjs → PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs} +2 -2
- package/dist/{RadarChart-DadH3Bsc.mjs → RadarChart-BzUQwTnX.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-mZYAljbA.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs} +2 -2
- package/dist/{caret-bottom-ByzDT72p.mjs → caret-bottom-Lhe9M7aA.mjs} +1 -1
- package/dist/{edit-BZ3xqmLv.mjs → edit-5ZpeysVY.mjs} +154 -164
- package/dist/{edit-Cbvy2Sfv.mjs → edit-B95ajyfH.mjs} +1 -1
- package/dist/{edit-Cb6DydNq.mjs → edit-BJAAEDVd.mjs} +1 -1
- package/dist/{edit-CTPp57mz.mjs → edit-C0aHXOi3.mjs} +1 -1
- package/dist/{edit-BEZbUD7x.mjs → edit-CR7ZiKuo.mjs} +47 -58
- package/dist/{edit-BNIu335Q.mjs → edit-DaxU7bBz.mjs} +1 -1
- package/dist/edit-Di-ksvTh.mjs +4 -0
- package/dist/edit-II1vFfNu.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D8zavJFz.mjs → edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs} +28 -29
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CZoUg9gj.mjs → edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs} +22 -23
- package/dist/{edit.vue_vue_type_script_setup_true_lang-p1_8U_WZ.mjs → edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs} +19 -20
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Dzw7eFuh.mjs → edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs} +52 -59
- package/dist/{edit.vue_vue_type_script_setup_true_lang-mbsAcwCr.mjs → edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs} +63 -71
- package/dist/{edit.vue_vue_type_script_setup_true_lang-B87Ti-_7.mjs → edit.vue_vue_type_script_setup_true_lang-VlMd6HAa.mjs} +249 -300
- package/dist/{el-card-CNibUy3q.mjs → el-card-acRFAeYD.mjs} +1 -1
- package/dist/{el-col-faEvjKbh.mjs → el-col-BFrxkvh3.mjs} +16 -16
- package/dist/{el-date-picker-CmipR6MW.mjs → el-date-picker-CjE5H0IY.mjs} +588 -592
- package/dist/{el-dropdown-item-BDZy-ttj.mjs → el-dropdown-item-SBcx6_kX.mjs} +145 -149
- package/dist/{el-tree-select-Czi47mIj.mjs → el-tree-select-RwYP-GEn.mjs} +108 -111
- package/dist/{index-VAf5EsQ5.mjs → index-4UdK9Nb9.mjs} +65 -68
- package/dist/{index-xo5uwQYL.mjs → index-B-lo0ywJ.mjs} +66 -70
- package/dist/{index-CzGRc0hK.mjs → index-B7zhho5d.mjs} +224 -239
- package/dist/{index-LhUQe1Xu.mjs → index-BcstP65E.mjs} +148 -159
- package/dist/{index-5-dP9leL.mjs → index-Bqg1CGw2.mjs} +1 -1
- package/dist/index-CF6p3ONN.mjs +319 -0
- package/dist/{index-CC1cqzhH.mjs → index-CJvo28Bb.mjs} +56 -59
- package/dist/{index-BbdkfW1u.mjs → index-CQlxUoOf.mjs} +1 -1
- package/dist/{index-CugZa1Ys.mjs → index-CS-ceXqM.mjs} +98 -107
- package/dist/{index-BAy-MZyA.mjs → index-CcXjdXcD.mjs} +73 -84
- package/dist/index-ChzNa2kp.mjs +29726 -0
- package/dist/{index-KWJbe1VG.mjs → index-DAIdsjwj.mjs} +98 -107
- package/dist/{index-DqGCMao5.mjs → index-DBmv4w5y.mjs} +5 -5
- package/dist/{index-DJ08yxAP.mjs → index-DQbHbpgW.mjs} +1 -1
- package/dist/{index-ChvYPMES.mjs → index-DQtth-qu.mjs} +55 -58
- package/dist/{index-TIICDILF.mjs → index-DvrFzTq2.mjs} +1 -1
- package/dist/{index-X9SBRcLU.mjs → index-Dyn0k8Ib.mjs} +102 -106
- package/dist/{index-DrDJJbqj.mjs → index-SUlMvdOg.mjs} +72 -82
- package/dist/{index-D4nHCHVJ.mjs → index-hr-nwn6C.mjs} +1 -1
- package/dist/{index-uMGobxHH.mjs → index-u66O7nvc.mjs} +35 -39
- package/dist/index.mjs +25 -25
- package/dist/{picture-BT7yeXEj.mjs → picture-877nN1qH.mjs} +26 -27
- package/dist/profile-BfDHQ_n5.mjs +261 -0
- package/dist/style.css +1 -1
- package/dist/{types-fCJt2Tua.mjs → types-D2vHMNqn.mjs} +45 -46
- package/dist/{updatePwd-DgqhTWUV.mjs → updatePwd-Dc31cBOV.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-B6YhGyCY.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs} +24 -25
- package/package.json +1 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +0 -9
- package/dist/debounce-D-IJxfPF.mjs +0 -81
- package/dist/dropdown2-Cnd0SGXe.mjs +0 -160
- package/dist/edit-D9vdHRed.mjs +0 -4
- package/dist/edit-NenpQsL5.mjs +0 -4
- package/dist/el-checkbox-Bb05WXyt.mjs +0 -547
- package/dist/el-dialog-ttaEYSPa.mjs +0 -378
- package/dist/el-icon-l0sNRNKZ.mjs +0 -1
- package/dist/el-popover-CRZimqDD.mjs +0 -159
- package/dist/el-popper-D2LHTqDy.mjs +0 -1656
- package/dist/el-progress-COmCqT1a.mjs +0 -897
- package/dist/el-radio-BKt8lW7J.mjs +0 -251
- package/dist/el-scrollbar-CcOhSvuU.mjs +0 -606
- package/dist/el-select-BLskFr20.mjs +0 -1040
- package/dist/el-switch-BL2KLnPo.mjs +0 -254
- package/dist/el-table-AWydVCJY.mjs +0 -3167
- package/dist/el-tag-l0sNRNKZ.mjs +0 -1
- package/dist/el-tooltip-l0sNRNKZ.mjs +0 -1
- package/dist/importUpload.vue_vue_type_script_setup_true_lang-uF63aa0G.mjs +0 -116
- package/dist/index-BEjEqYND.mjs +0 -107
- package/dist/index-Dd6PCsAJ.mjs +0 -328
- package/dist/index-DjkMA-Wh.mjs +0 -40
- package/dist/index-HyB-t-wB.mjs +0 -633
- package/dist/index-PuLggzCy.mjs +0 -19287
- package/dist/index.vue_vue_type_script_setup_true_lang-BCQXNjtA.mjs +0 -57
- package/dist/index.vue_vue_type_script_setup_true_lang-BIbfa3W2.mjs +0 -286
- package/dist/index.vue_vue_type_style_index_0_scope_true_lang-AvcZIlmm.mjs +0 -119
- package/dist/isUndefined-CUQZk6oB.mjs +0 -6
- package/dist/profile-fw7e0wjU.mjs +0 -319
- package/dist/refs-B_ySplLd.mjs +0 -9
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./el-icon-l0sNRNKZ.mjs";
|
|
4
|
-
import { E as be, a as _e } from "./el-col-faEvjKbh.mjs";
|
|
5
|
-
import { _ as fe } from "./index.vue_vue_type_style_index_0_scope_true_lang-AvcZIlmm.mjs";
|
|
1
|
+
import { W as oe, D as te, aH as le, aI as ae, aB as ne, aC as se, aJ as re, a4 as ie, a3 as de, a5 as ce, X as me, aD as ue, E as pe, K as be } from "./index-ChzNa2kp.mjs";
|
|
2
|
+
import { E as _e, a as fe } from "./el-col-BFrxkvh3.mjs";
|
|
6
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
7
|
-
import { defineComponent as
|
|
8
|
-
import { g as ke, d as we, b as ge } from "./index-
|
|
9
|
-
import { _ as $e } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
const Re = { class: "app-container" },
|
|
4
|
+
import { defineComponent as Ce, reactive as p, resolveComponent as E, resolveDirective as ye, openBlock as c, createElementBlock as k, createVNode as o, withCtx as t, withKeys as T, unref as l, createTextVNode as m, toDisplayString as u, withDirectives as y, createBlock as w, createCommentVNode as he, createElementVNode as ve } from "vue";
|
|
5
|
+
import { g as ke, d as we, b as ge } from "./index-Bqg1CGw2.mjs";
|
|
6
|
+
import { _ as $e } from "./edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs";
|
|
7
|
+
const Re = { class: "app-container" }, Ie = /* @__PURE__ */ ve("div", { class: "clear" }, null, -1), Ee = ["onClick"], Te = ["onClick"], Fe = /* @__PURE__ */ Ce({
|
|
11
8
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const { t: n } =
|
|
14
|
-
tenant:
|
|
9
|
+
setup(De) {
|
|
10
|
+
const { t: n } = oe(), i = p({
|
|
11
|
+
tenant: te().user.tenant,
|
|
15
12
|
roleType: "job"
|
|
16
13
|
});
|
|
17
|
-
let b =
|
|
14
|
+
let b = p([
|
|
18
15
|
{
|
|
19
16
|
label: n("sysJob.code"),
|
|
20
17
|
prop: "roleCode",
|
|
@@ -48,43 +45,43 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
48
45
|
isColumn: !0
|
|
49
46
|
}
|
|
50
47
|
]);
|
|
51
|
-
const r =
|
|
48
|
+
const r = p({
|
|
52
49
|
visible: !1,
|
|
53
50
|
title: ""
|
|
54
51
|
});
|
|
55
|
-
let _ =
|
|
52
|
+
let _ = p({
|
|
56
53
|
roleCode: "",
|
|
57
54
|
roleName: "",
|
|
58
55
|
description: ""
|
|
59
56
|
});
|
|
60
|
-
const
|
|
57
|
+
const D = p({
|
|
61
58
|
list: ke,
|
|
62
59
|
del: we,
|
|
63
60
|
dels: ge,
|
|
64
|
-
up:
|
|
65
|
-
down:
|
|
61
|
+
up: le,
|
|
62
|
+
down: ae
|
|
66
63
|
}), {
|
|
67
|
-
tableData:
|
|
68
|
-
listLoading:
|
|
69
|
-
selectionRows:
|
|
64
|
+
tableData: J,
|
|
65
|
+
listLoading: N,
|
|
66
|
+
selectionRows: V,
|
|
70
67
|
multipleTableRef: S,
|
|
71
68
|
queryFormRef: g,
|
|
72
69
|
handleQuery: d,
|
|
73
70
|
deleteRecord: j,
|
|
74
|
-
deleteRecords:
|
|
75
|
-
handleMoveTop:
|
|
71
|
+
deleteRecords: B,
|
|
72
|
+
handleMoveTop: F,
|
|
76
73
|
// 上移
|
|
77
|
-
handleMoveDown:
|
|
74
|
+
handleMoveDown: K
|
|
78
75
|
// 下移
|
|
79
|
-
} =
|
|
80
|
-
parIndex:
|
|
76
|
+
} = ne(n, D, i), {
|
|
77
|
+
parIndex: q,
|
|
81
78
|
tableArray: L,
|
|
82
79
|
getLocalStorageContent: P,
|
|
83
80
|
fixedChange: U,
|
|
84
|
-
isShowChange:
|
|
85
|
-
} =
|
|
86
|
-
function
|
|
87
|
-
|
|
81
|
+
isShowChange: x
|
|
82
|
+
} = se(b, "/system/job");
|
|
83
|
+
function z(e) {
|
|
84
|
+
V.value = e;
|
|
88
85
|
}
|
|
89
86
|
function A() {
|
|
90
87
|
g.value.resetFields(), d();
|
|
@@ -95,20 +92,20 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
95
92
|
r.visible = !0, r.title = n("common.add");
|
|
96
93
|
}
|
|
97
94
|
function Q(e) {
|
|
98
|
-
r.title = n("common.edit"),
|
|
95
|
+
r.title = n("common.edit"), re(e.roleId).then(({ data: s }) => {
|
|
99
96
|
_ = { ...s }, r.visible = !0;
|
|
100
97
|
});
|
|
101
98
|
}
|
|
102
|
-
function
|
|
99
|
+
function H(e) {
|
|
103
100
|
r.visible = e;
|
|
104
101
|
}
|
|
105
|
-
function
|
|
102
|
+
function W(e) {
|
|
106
103
|
e && d();
|
|
107
104
|
}
|
|
108
105
|
return P(), b = L.value, d(), (e, s) => {
|
|
109
|
-
const $ =
|
|
110
|
-
return
|
|
111
|
-
o(
|
|
106
|
+
const $ = ie, h = de, f = ce, X = me, R = _e, G = ue, O = fe, Y = E("Bottom"), I = pe, Z = E("Top"), ee = be, C = ye("hasPerm");
|
|
107
|
+
return c(), k("div", Re, [
|
|
108
|
+
o(X, {
|
|
112
109
|
ref_key: "queryFormRef",
|
|
113
110
|
ref: g,
|
|
114
111
|
model: i,
|
|
@@ -150,13 +147,13 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
150
147
|
onClick: l(d)
|
|
151
148
|
}, {
|
|
152
149
|
default: t(() => [
|
|
153
|
-
|
|
150
|
+
m(u(e.$t("common.search")), 1)
|
|
154
151
|
]),
|
|
155
152
|
_: 1
|
|
156
153
|
}, 8, ["onClick"]),
|
|
157
154
|
o(f, { onClick: A }, {
|
|
158
155
|
default: t(() => [
|
|
159
|
-
|
|
156
|
+
m(u(e.$t("common.reset")), 1)
|
|
160
157
|
]),
|
|
161
158
|
_: 1
|
|
162
159
|
})
|
|
@@ -166,32 +163,32 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
166
163
|
]),
|
|
167
164
|
_: 1
|
|
168
165
|
}, 8, ["model"]),
|
|
169
|
-
|
|
170
|
-
o(
|
|
166
|
+
Ie,
|
|
167
|
+
o(O, { justify: "space-between" }, {
|
|
171
168
|
default: t(() => [
|
|
172
169
|
o(R, { span: 19 }, {
|
|
173
170
|
default: t(() => [
|
|
174
|
-
|
|
171
|
+
y((c(), w(f, {
|
|
175
172
|
type: "primary",
|
|
176
173
|
onClick: M
|
|
177
174
|
}, {
|
|
178
175
|
default: t(() => [
|
|
179
|
-
|
|
176
|
+
m(u(e.$t("common.add")), 1)
|
|
180
177
|
]),
|
|
181
178
|
_: 1
|
|
182
179
|
})), [
|
|
183
|
-
[
|
|
180
|
+
[C, ["rbac:job:add"]]
|
|
184
181
|
]),
|
|
185
|
-
|
|
182
|
+
y((c(), w(f, {
|
|
186
183
|
type: "primary",
|
|
187
|
-
onClick: s[2] || (s[2] = (a) => l(
|
|
184
|
+
onClick: s[2] || (s[2] = (a) => l(B)("roleId"))
|
|
188
185
|
}, {
|
|
189
186
|
default: t(() => [
|
|
190
|
-
|
|
187
|
+
m(u(e.$t("common.batchDelete")), 1)
|
|
191
188
|
]),
|
|
192
189
|
_: 1
|
|
193
190
|
})), [
|
|
194
|
-
[
|
|
191
|
+
[C, ["rbac:job:delete"]]
|
|
195
192
|
])
|
|
196
193
|
]),
|
|
197
194
|
_: 1
|
|
@@ -201,11 +198,11 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
201
198
|
class: "container-float"
|
|
202
199
|
}, {
|
|
203
200
|
default: t(() => [
|
|
204
|
-
o(
|
|
201
|
+
o(G, {
|
|
205
202
|
"table-label": l(b),
|
|
206
|
-
"par-index": l(
|
|
203
|
+
"par-index": l(q),
|
|
207
204
|
onFixedChange: l(U),
|
|
208
|
-
onIsShowChange: l(
|
|
205
|
+
onIsShowChange: l(x)
|
|
209
206
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
210
207
|
]),
|
|
211
208
|
_: 1
|
|
@@ -218,24 +215,24 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
218
215
|
ref_key: "multipleTableRef",
|
|
219
216
|
ref: S,
|
|
220
217
|
rowKeys: "roleId",
|
|
221
|
-
"table-data": l(
|
|
218
|
+
"table-data": l(J),
|
|
222
219
|
"table-label": l(b),
|
|
223
|
-
"list-loading": l(
|
|
224
|
-
onTableSelected:
|
|
220
|
+
"list-loading": l(N),
|
|
221
|
+
onTableSelected: z
|
|
225
222
|
}, {
|
|
226
223
|
sort: t((a) => [
|
|
227
|
-
o(
|
|
224
|
+
o(I, {
|
|
228
225
|
size: "16",
|
|
229
|
-
onClick: (v) => l(
|
|
226
|
+
onClick: (v) => l(K)(a.data.row.roleId)
|
|
230
227
|
}, {
|
|
231
228
|
default: t(() => [
|
|
232
229
|
o(Y)
|
|
233
230
|
]),
|
|
234
231
|
_: 2
|
|
235
232
|
}, 1032, ["onClick"]),
|
|
236
|
-
o(
|
|
233
|
+
o(I, {
|
|
237
234
|
size: "16",
|
|
238
|
-
onClick: (v) => l(
|
|
235
|
+
onClick: (v) => l(F)(a.data.row.roleId)
|
|
239
236
|
}, {
|
|
240
237
|
default: t(() => [
|
|
241
238
|
o(Z)
|
|
@@ -244,36 +241,36 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
244
241
|
}, 1032, ["onClick"])
|
|
245
242
|
]),
|
|
246
243
|
operation: t((a) => [
|
|
247
|
-
|
|
244
|
+
y((c(), k("span", {
|
|
248
245
|
class: "el-button-color",
|
|
249
246
|
onClick: (v) => Q(a.data.row)
|
|
250
247
|
}, [
|
|
251
|
-
|
|
252
|
-
], 8,
|
|
253
|
-
[
|
|
248
|
+
m(u(e.$t("common.edit")), 1)
|
|
249
|
+
], 8, Ee)), [
|
|
250
|
+
[C, ["rbac:job:update"]]
|
|
254
251
|
]),
|
|
255
|
-
|
|
252
|
+
y((c(), k("span", {
|
|
256
253
|
class: "el-button-color dropdown-left",
|
|
257
254
|
onClick: (v) => l(j)(a.data.row.roleId)
|
|
258
255
|
}, [
|
|
259
|
-
|
|
256
|
+
m(u(e.$t("common.delete")), 1)
|
|
260
257
|
], 8, Te)), [
|
|
261
|
-
[
|
|
258
|
+
[C, ["rbac:job:delete"]]
|
|
262
259
|
])
|
|
263
260
|
]),
|
|
264
261
|
_: 1
|
|
265
262
|
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
266
|
-
r.visible ? (
|
|
263
|
+
r.visible ? (c(), w($e, {
|
|
267
264
|
key: 0,
|
|
268
265
|
dialog: r,
|
|
269
266
|
"form-data": l(_),
|
|
270
|
-
onDialogEvent:
|
|
271
|
-
onRefresh:
|
|
267
|
+
onDialogEvent: H,
|
|
268
|
+
onRefresh: W
|
|
272
269
|
}, null, 8, ["dialog", "form-data"])) : he("", !0)
|
|
273
270
|
]);
|
|
274
271
|
};
|
|
275
272
|
}
|
|
276
273
|
});
|
|
277
274
|
export {
|
|
278
|
-
|
|
275
|
+
Fe as default
|
|
279
276
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { N as re, z as se, ap as pe, aq as de, U as me, S as ce, V as ue, O as _e, E as fe } from "./index-PuLggzCy.mjs";
|
|
4
|
-
import "./el-icon-l0sNRNKZ.mjs";
|
|
5
|
-
import { E as be, a as ge } from "./el-col-faEvjKbh.mjs";
|
|
6
|
-
import { _ as ye } from "./index.vue_vue_type_style_index_0_scope_true_lang-AvcZIlmm.mjs";
|
|
1
|
+
import { W as le, D as ie, aB as re, aC as se, a4 as pe, a3 as de, a5 as me, X as ce, aD as ue, E as _e, K as fe, aT as be } from "./index-ChzNa2kp.mjs";
|
|
2
|
+
import { E as ge, a as Ce } from "./el-col-BFrxkvh3.mjs";
|
|
7
3
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { g as we, d as $e, b as
|
|
10
|
-
const
|
|
4
|
+
import { defineComponent as ye, reactive as c, resolveComponent as I, resolveDirective as ve, openBlock as p, createElementBlock as $, createVNode as t, withCtx as n, withKeys as R, unref as o, createTextVNode as d, toDisplayString as m, withDirectives as y, createBlock as v, isRef as he, createCommentVNode as N, createElementVNode as ke } from "vue";
|
|
5
|
+
import { g as we, d as $e, b as Ee, m as Oe, a as Te, _ as De } from "./edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs";
|
|
6
|
+
const Ie = { class: "app-container" }, Re = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Ne = ["onClick"], Se = ["onClick"], qe = /* @__PURE__ */ ye({
|
|
11
7
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const { t: r } =
|
|
14
|
-
tenant:
|
|
8
|
+
setup(Ve) {
|
|
9
|
+
const { t: r } = le(), i = c({
|
|
10
|
+
tenant: ie().user.tenant,
|
|
15
11
|
curPage: 1,
|
|
16
12
|
pageSize: 10
|
|
17
13
|
});
|
|
@@ -48,60 +44,60 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
48
44
|
const s = c({
|
|
49
45
|
visible: !1,
|
|
50
46
|
title: ""
|
|
51
|
-
}),
|
|
47
|
+
}), S = c({
|
|
52
48
|
list: we,
|
|
53
49
|
del: $e,
|
|
54
|
-
dels:
|
|
55
|
-
up:
|
|
56
|
-
down:
|
|
50
|
+
dels: Ee,
|
|
51
|
+
up: Oe,
|
|
52
|
+
down: Te
|
|
57
53
|
}), {
|
|
58
|
-
tableData:
|
|
54
|
+
tableData: V,
|
|
59
55
|
total: f,
|
|
60
56
|
listLoading: P,
|
|
61
|
-
selectionRows:
|
|
62
|
-
multipleTableRef:
|
|
63
|
-
queryFormRef:
|
|
57
|
+
selectionRows: B,
|
|
58
|
+
multipleTableRef: F,
|
|
59
|
+
queryFormRef: E,
|
|
64
60
|
getList: h,
|
|
65
61
|
handleQuery: b,
|
|
66
|
-
deleteRecord:
|
|
67
|
-
deleteRecords:
|
|
68
|
-
handleMoveTop:
|
|
62
|
+
deleteRecord: K,
|
|
63
|
+
deleteRecords: U,
|
|
64
|
+
handleMoveTop: q,
|
|
69
65
|
// 上移
|
|
70
|
-
handleMoveDown:
|
|
66
|
+
handleMoveDown: z
|
|
71
67
|
// 下移
|
|
72
|
-
} =
|
|
68
|
+
} = re(r, S, i), {
|
|
73
69
|
parIndex: L,
|
|
74
70
|
tableArray: x,
|
|
75
71
|
getLocalStorageContent: A,
|
|
76
72
|
fixedChange: M,
|
|
77
73
|
isShowChange: Q
|
|
78
|
-
} =
|
|
74
|
+
} = se(_, "/system/operation");
|
|
79
75
|
function j(e) {
|
|
80
|
-
|
|
76
|
+
B.value = e;
|
|
81
77
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
78
|
+
function W() {
|
|
79
|
+
E.value.resetFields(), b();
|
|
84
80
|
}
|
|
85
|
-
function
|
|
81
|
+
function X() {
|
|
86
82
|
for (const e in u)
|
|
87
83
|
u[e] = "";
|
|
88
84
|
s.title = r("common.add"), s.visible = !0;
|
|
89
85
|
}
|
|
90
|
-
function
|
|
86
|
+
function G(e) {
|
|
91
87
|
s.title = r("common.edit"), s.visible = !0, u = { ...e };
|
|
92
88
|
}
|
|
93
|
-
function
|
|
89
|
+
function H(e) {
|
|
94
90
|
s.visible = e;
|
|
95
91
|
}
|
|
96
|
-
function
|
|
92
|
+
function J(e) {
|
|
97
93
|
e && h();
|
|
98
94
|
}
|
|
99
95
|
return A(), _ = x.value, h(), (e, l) => {
|
|
100
|
-
const
|
|
101
|
-
return p(), $("div",
|
|
96
|
+
const O = pe, k = de, g = me, Y = ce, T = ge, Z = ue, ee = Ce, oe = I("Bottom"), D = _e, te = I("Top"), ae = fe, ne = be, C = ve("hasPerm");
|
|
97
|
+
return p(), $("div", Ie, [
|
|
102
98
|
t(Y, {
|
|
103
99
|
ref_key: "queryFormRef",
|
|
104
|
-
ref:
|
|
100
|
+
ref: E,
|
|
105
101
|
model: i,
|
|
106
102
|
inline: !0
|
|
107
103
|
}, {
|
|
@@ -111,11 +107,11 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
111
107
|
prop: "operationCode"
|
|
112
108
|
}, {
|
|
113
109
|
default: n(() => [
|
|
114
|
-
t(
|
|
110
|
+
t(O, {
|
|
115
111
|
modelValue: i.operationCode,
|
|
116
112
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => i.operationCode = a),
|
|
117
113
|
placeholder: e.$t("sysOperation.codeRequired"),
|
|
118
|
-
onKeyup:
|
|
114
|
+
onKeyup: R(o(b), ["enter"])
|
|
119
115
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
120
116
|
]),
|
|
121
117
|
_: 1
|
|
@@ -125,12 +121,12 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
125
121
|
prop: "likeOperationName"
|
|
126
122
|
}, {
|
|
127
123
|
default: n(() => [
|
|
128
|
-
t(
|
|
124
|
+
t(O, {
|
|
129
125
|
modelValue: i.likeOperationName,
|
|
130
126
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => i.likeOperationName = a),
|
|
131
127
|
placeholder: e.$t("sysOperation.nameRequired"),
|
|
132
128
|
clearable: "",
|
|
133
|
-
onKeyup:
|
|
129
|
+
onKeyup: R(o(b), ["enter"])
|
|
134
130
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
135
131
|
]),
|
|
136
132
|
_: 1
|
|
@@ -146,7 +142,7 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
146
142
|
]),
|
|
147
143
|
_: 1
|
|
148
144
|
}, 8, ["onClick"]),
|
|
149
|
-
t(g, { onClick:
|
|
145
|
+
t(g, { onClick: W }, {
|
|
150
146
|
default: n(() => [
|
|
151
147
|
d(m(e.$t("common.reset")), 1)
|
|
152
148
|
]),
|
|
@@ -158,37 +154,37 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
158
154
|
]),
|
|
159
155
|
_: 1
|
|
160
156
|
}, 8, ["model"]),
|
|
161
|
-
|
|
157
|
+
Re,
|
|
162
158
|
t(ee, { justify: "space-between" }, {
|
|
163
159
|
default: n(() => [
|
|
164
|
-
t(
|
|
160
|
+
t(T, { span: 19 }, {
|
|
165
161
|
default: n(() => [
|
|
166
|
-
|
|
162
|
+
y((p(), v(g, {
|
|
167
163
|
type: "primary",
|
|
168
|
-
onClick:
|
|
164
|
+
onClick: X
|
|
169
165
|
}, {
|
|
170
166
|
default: n(() => [
|
|
171
167
|
d(m(e.$t("common.add")), 1)
|
|
172
168
|
]),
|
|
173
169
|
_: 1
|
|
174
170
|
})), [
|
|
175
|
-
[
|
|
171
|
+
[C, ["rbac:operation:add"]]
|
|
176
172
|
]),
|
|
177
|
-
|
|
173
|
+
y((p(), v(g, {
|
|
178
174
|
type: "primary",
|
|
179
|
-
onClick: l[2] || (l[2] = (a) => o(
|
|
175
|
+
onClick: l[2] || (l[2] = (a) => o(U)("operationId"))
|
|
180
176
|
}, {
|
|
181
177
|
default: n(() => [
|
|
182
178
|
d(m(e.$t("common.batchDelete")), 1)
|
|
183
179
|
]),
|
|
184
180
|
_: 1
|
|
185
181
|
})), [
|
|
186
|
-
[
|
|
182
|
+
[C, ["rbac:operation:delete"]]
|
|
187
183
|
])
|
|
188
184
|
]),
|
|
189
185
|
_: 1
|
|
190
186
|
}),
|
|
191
|
-
t(
|
|
187
|
+
t(T, {
|
|
192
188
|
span: 5,
|
|
193
189
|
class: "container-float"
|
|
194
190
|
}, {
|
|
@@ -208,26 +204,26 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
208
204
|
t(ae, {
|
|
209
205
|
class: "table-top",
|
|
210
206
|
ref_key: "multipleTableRef",
|
|
211
|
-
ref:
|
|
207
|
+
ref: F,
|
|
212
208
|
"row-keys": "operationId",
|
|
213
|
-
"table-data": o(
|
|
209
|
+
"table-data": o(V),
|
|
214
210
|
"list-loading": o(P),
|
|
215
211
|
"table-label": o(_),
|
|
216
212
|
onTableSelected: j
|
|
217
213
|
}, {
|
|
218
214
|
sort: n((a) => [
|
|
219
|
-
t(
|
|
215
|
+
t(D, {
|
|
220
216
|
size: "16",
|
|
221
|
-
onClick: (w) => o(
|
|
217
|
+
onClick: (w) => o(z)(a.data.row.operationId)
|
|
222
218
|
}, {
|
|
223
219
|
default: n(() => [
|
|
224
220
|
t(oe)
|
|
225
221
|
]),
|
|
226
222
|
_: 2
|
|
227
223
|
}, 1032, ["onClick"]),
|
|
228
|
-
t(
|
|
224
|
+
t(D, {
|
|
229
225
|
size: "16",
|
|
230
|
-
onClick: (w) => o(
|
|
226
|
+
onClick: (w) => o(q)(a.data.row.operationId)
|
|
231
227
|
}, {
|
|
232
228
|
default: n(() => [
|
|
233
229
|
t(te)
|
|
@@ -236,21 +232,21 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
236
232
|
}, 1032, ["onClick"])
|
|
237
233
|
]),
|
|
238
234
|
operation: n((a) => [
|
|
239
|
-
|
|
235
|
+
y((p(), $("span", {
|
|
240
236
|
class: "el-button-color",
|
|
241
|
-
onClick: (w) =>
|
|
237
|
+
onClick: (w) => G(a.data.row)
|
|
242
238
|
}, [
|
|
243
239
|
d(m(e.$t("common.edit")), 1)
|
|
244
|
-
], 8,
|
|
245
|
-
[
|
|
240
|
+
], 8, Ne)), [
|
|
241
|
+
[C, ["rbac:operation:update"]]
|
|
246
242
|
]),
|
|
247
|
-
|
|
243
|
+
y((p(), $("span", {
|
|
248
244
|
class: "el-button-color dropdown-left",
|
|
249
|
-
onClick: (w) => o(
|
|
245
|
+
onClick: (w) => o(K)(a.data.row.operationId)
|
|
250
246
|
}, [
|
|
251
247
|
d(m(e.$t("common.delete")), 1)
|
|
252
|
-
], 8,
|
|
253
|
-
[
|
|
248
|
+
], 8, Se)), [
|
|
249
|
+
[C, ["rbac:operation:delete"]]
|
|
254
250
|
])
|
|
255
251
|
]),
|
|
256
252
|
_: 1
|
|
@@ -264,18 +260,18 @@ const Re = { class: "app-container" }, Se = /* @__PURE__ */ ke("div", { class: "
|
|
|
264
260
|
limit: i.pageSize,
|
|
265
261
|
"onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
|
|
266
262
|
onPagination: o(h)
|
|
267
|
-
}, null, 8, ["total", "page", "limit", "onPagination"])) :
|
|
268
|
-
s.visible ? (p(), v(
|
|
263
|
+
}, null, 8, ["total", "page", "limit", "onPagination"])) : N("", !0),
|
|
264
|
+
s.visible ? (p(), v(De, {
|
|
269
265
|
key: 1,
|
|
270
266
|
dialog: s,
|
|
271
267
|
"form-data": o(u),
|
|
272
|
-
onDialogEvent:
|
|
273
|
-
onRefresh:
|
|
274
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
268
|
+
onDialogEvent: H,
|
|
269
|
+
onRefresh: J
|
|
270
|
+
}, null, 8, ["dialog", "form-data"])) : N("", !0)
|
|
275
271
|
]);
|
|
276
272
|
};
|
|
277
273
|
}
|
|
278
274
|
});
|
|
279
275
|
export {
|
|
280
|
-
|
|
276
|
+
qe as default
|
|
281
277
|
};
|