jmash-core 0.0.27 → 0.0.29
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-BpFL6Wou.mjs} +2 -2
- package/dist/{404-Dj6c1lv8.mjs → 404-B2fGmCHd.mjs} +1 -1
- package/dist/{BarChart-BRzr-1Pg.mjs → BarChart-W-SAFGgJ.mjs} +2 -2
- package/dist/{PieChart-Bwf_dDor.mjs → PieChart-DfFb4yVO.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DZdDTVjb.mjs → PieChart.vue_vue_type_script_setup_true_lang-BKQzeEvm.mjs} +2 -2
- package/dist/{RadarChart-CqhtPDg5.mjs → RadarChart-CUZ1RLG5.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-9-54WMZq.mjs → RadarChart.vue_vue_type_script_setup_true_lang-SrVhFOp2.mjs} +2 -2
- package/dist/a_fixed-CXYo1gbQ.mjs +4 -0
- package/dist/a_list-nphA7BPW.mjs +4 -0
- package/dist/anquanrizhi-BMAtNRi-.mjs +4 -0
- package/dist/api-CqqDM6lC.mjs +4 -0
- package/dist/bumenguanli-_DtFk-Tc.mjs +4 -0
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +4 -0
- package/dist/captcha-Ca2DxFnb.mjs +4 -0
- package/dist/cascader-CVLDcfYS.mjs +4 -0
- package/dist/client-BuhkltCt.mjs +4 -0
- package/dist/close-B7UHw1tp.mjs +4 -0
- package/dist/close_all-Dp3gNriY.mjs +4 -0
- package/dist/close_left-B31SalrN.mjs +4 -0
- package/dist/close_other-BX1LJARr.mjs +4 -0
- package/dist/close_right-CJZGXRxS.mjs +4 -0
- package/dist/dict-CstSmJGm.mjs +4 -0
- package/dist/document-CbJQ3IQT.mjs +4 -0
- package/dist/download-d1CYmFFp.mjs +4 -0
- package/dist/drag-CwjZNuUJ.mjs +4 -0
- package/dist/{edit-BvvDET5t.mjs → edit-7NPn7Jk7.mjs} +1 -1
- package/dist/{edit-B9Lq-t_r.mjs → edit-BI8AxqQP.mjs} +1 -1
- package/dist/{edit-CmZKTMpm.mjs → edit-Bnw7U7eL.mjs} +90 -88
- package/dist/{edit-CaxsTptv.mjs → edit-BoLxB5EY.mjs} +52 -50
- package/dist/edit-C6TX6ZTZ.mjs +4 -0
- package/dist/{edit-BRxQkFDt.mjs → edit-CMbTKYFF.mjs} +1 -1
- package/dist/{edit-C7GD0nSe.mjs → edit-DGRBrUhW.mjs} +1 -1
- package/dist/edit-Eg28bv4t.mjs +4 -0
- package/dist/edit-c7dEyma4.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHfZOjnV.mjs → edit.vue_vue_type_script_setup_true_lang-53GSkLf9.mjs} +35 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CLen66ub.mjs → edit.vue_vue_type_script_setup_true_lang-BE--oN5N.mjs} +46 -44
- package/dist/edit.vue_vue_type_script_setup_true_lang-CBHG6wpS.mjs +590 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2EOXI-4.mjs → edit.vue_vue_type_script_setup_true_lang-CY9b03JY.mjs} +35 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BJra8IL2.mjs → edit.vue_vue_type_script_setup_true_lang-DEq5JlSy.mjs} +32 -31
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CD9L7JV6.mjs → edit.vue_vue_type_script_setup_true_lang-DmBWrt0o.mjs} +39 -38
- package/dist/{el-card-DSL4P5gG.mjs → el-card-DDJhkx_r.mjs} +1 -1
- package/dist/{el-col-1uWbtffl.mjs → el-col-1pNAzCzM.mjs} +7 -7
- package/dist/{el-date-picker-5Ichw8rC.mjs → el-date-picker-BB5hiA2A.mjs} +424 -424
- package/dist/{el-divider-DU-ox9JK.mjs → el-divider-2aKfjla4.mjs} +1 -1
- package/dist/{el-dropdown-item-Bt9Aai9P.mjs → el-dropdown-item-D43lTQQn.mjs} +47 -46
- package/dist/el-form-item-CfB3NJcN.mjs +1124 -0
- package/dist/{el-tree-select-CSA9Hezj.mjs → el-tree-select-DuBB1RZs.mjs} +31 -31
- package/dist/email-B2AUCEGq.mjs +4 -0
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +4 -0
- package/dist/eye-DeDz_5CQ.mjs +4 -0
- package/dist/eye-open-DqtT7Ue1.mjs +4 -0
- package/dist/fullscreen-CgUsFPmH.mjs +4 -0
- package/dist/fullscreen-exit-CdKPxnPS.mjs +4 -0
- package/dist/gangweiguanli-bkwyhEXB.mjs +4 -0
- package/dist/github-D8t79enS.mjs +4 -0
- package/dist/homepage-Dvoa-z90.mjs +4 -0
- package/dist/icon-DwZ6Hkfk.mjs +4 -0
- package/dist/indent-decrease-BtTedpts.mjs +4 -0
- package/dist/{index-BC43E5Ar.mjs → index-7wqOITFC.mjs} +43 -40
- package/dist/{index-CZy6Ahnx.mjs → index-Aiekem6C.mjs} +1 -1
- package/dist/index-B0bb18sC.mjs +23679 -0
- package/dist/{index-CkO9KLDz.mjs → index-Bale7LTK.mjs} +154 -152
- package/dist/{index-WvQkk6zz.mjs → index-C3XVNEvL.mjs} +101 -99
- package/dist/{index-PuOF-77f.mjs → index-CH5rOF9a.mjs} +47 -47
- package/dist/{index-BbW9mmA_.mjs → index-CQ8u4unc.mjs} +5 -5
- package/dist/{index-43qW6Kzo.mjs → index-Cp3JTbHz.mjs} +65 -64
- package/dist/{index-CMoyhn2V.mjs → index-Cui5OwdH.mjs} +92 -90
- package/dist/{index-L7Wb4QU_.mjs → index-DJbKPe8f.mjs} +1 -1
- package/dist/{index-HxChxr7a.mjs → index-DMOlZhJL.mjs} +82 -80
- package/dist/{index-BE1CpPx5.mjs → index-DO4anNVQ.mjs} +1 -1
- package/dist/{index-BVi8jMer.mjs → index-DR5htlqC.mjs} +1 -1
- package/dist/{index-DwCnuhwT.mjs → index-DfPT7Aqv.mjs} +46 -44
- package/dist/index-DpHQyin2.mjs +502 -0
- package/dist/{index-Dhot8quq.mjs → index-Dt3nhXwm.mjs} +49 -48
- package/dist/{index-BEysoYwl.mjs → index-DviGF8QS.mjs} +89 -87
- package/dist/{index-BG-VGQjG.mjs → index-P3GLSfAw.mjs} +58 -56
- package/dist/{index-Dh3QVFbj.mjs → index-Xx0qfX45.mjs} +87 -85
- package/dist/{index-DXr_IDAv.mjs → index-eBJ62Jwu.mjs} +179 -178
- 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-DwPGA2-c.mjs} +13 -12
- package/dist/ip-KttQdgnz.mjs +4 -0
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +4 -0
- package/dist/language-8_mM10m-.mjs +4 -0
- package/dist/link-C12BB_4T.mjs +4 -0
- package/dist/lock-x1nlaZbe.mjs +4 -0
- package/dist/log-ZFSIG9ZQ.mjs +4 -0
- package/dist/menu-R0l6-TrU.mjs +4 -0
- package/dist/message-DdP0o8rx.mjs +4 -0
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +4 -0
- package/dist/money-DOHVYo9H.mjs +4 -0
- package/dist/monitor-DA1U9GXQ.mjs +4 -0
- package/dist/moon-BH2YPGjD.mjs +4 -0
- package/dist/order-9UanBwm1.mjs +4 -0
- package/dist/password-BbtiGVLy.mjs +4 -0
- package/dist/peoples-CY6pAt8k.mjs +4 -0
- package/dist/phone-CdpLww4_.mjs +4 -0
- package/dist/{picture-DQoPRn9H.mjs → picture-CqVemSw7.mjs} +80 -80
- package/dist/{position-C8xJ-itb.mjs → position-DLRb7_xf.mjs} +1 -1
- package/dist/{profile-CXazX36t.mjs → profile-CEYaxa6H.mjs} +30 -29
- package/dist/project-CcbJeg5G.mjs +4 -0
- package/dist/publish-BPlkrj9K.mjs +4 -0
- package/dist/quanxianguanli-Cpcc8C4D.mjs +4 -0
- package/dist/redis-fjUUmFu3.mjs +4 -0
- package/dist/refresh-FEjK-h-7.mjs +4 -0
- package/dist/role-DiO02CEe.mjs +4 -0
- package/dist/{runAs-Wg71lsRu.mjs → runAs-XwZrGd7W.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-Tv0kn1GL.mjs → runAs.vue_vue_type_script_setup_true_lang-Da7v3sT2.mjs} +21 -20
- package/dist/security-pFtu_-jl.mjs +4 -0
- package/dist/setting-4Nly5aI_.mjs +4 -0
- package/dist/shoujihao-BFt1tDJn.mjs +4 -0
- package/dist/shrink-kEdKK3G7.mjs +4 -0
- package/dist/size-Dp8pcL7e.mjs +4 -0
- package/dist/sunny-bOd_iT1-.mjs +4 -0
- package/dist/system-19q1vLmi.mjs +4 -0
- package/dist/table-CvNtd0_I.mjs +4 -0
- package/dist/team-COy-X023.mjs +4 -0
- package/dist/todolist-BjVDWiLT.mjs +4 -0
- package/dist/tree-COLikYEs.mjs +4 -0
- package/dist/{types-bGS-6yqy.mjs → types-CdTdIYnQ.mjs} +33 -33
- package/dist/{updatePwd-B353QzsI.mjs → updatePwd-CDdBkLQQ.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CwJDtUpJ.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CRvPjIyR.mjs} +15 -14
- package/dist/user-CIuEpak9.mjs +4 -0
- package/dist/visit-xGOaaP3T.mjs +4 -0
- package/dist/xingming-DHM4olm-.mjs +4 -0
- package/dist/yonghuguanli-B3vRkdqw.mjs +4 -0
- package/dist/youxiang-D68Zx-02.mjs +4 -0
- package/dts/src/components/IconSelect/requireIcons.d.ts +8 -0
- package/dts/src/components/Pagination/index.vue.d.ts +1 -1
- package/dts/src/main.d.ts +0 -4
- package/package.json +8 -8
- package/dist/edit-CBSQovw7.mjs +0 -4
- package/dist/edit-D0lWUImW.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-DgGcCBMj.mjs +0 -588
- 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
- package/dts/src/views/system/log/index.vue.d.ts +0 -2
|
@@ -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-B0bb18sC.mjs";
|
|
2
|
+
import { E as ie, a as se } from "./el-col-1pNAzCzM.mjs";
|
|
3
|
+
import { E as me, a as de } from "./el-form-item-CfB3NJcN.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-DmBWrt0o.mjs";
|
|
7
|
+
import { g as ge, d as ye, b as Ce } from "./index-DO4anNVQ.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
|
};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import "./el-form-item-
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { $ as oe, aZ as te, a_ as le, aS as ae, aT as ne, a$ as se, s as re, t as ie, aV as de, E as me, aQ as ce } from "./index-B0bb18sC.mjs";
|
|
2
|
+
import { E as pe, a as ue } from "./el-col-1pNAzCzM.mjs";
|
|
3
|
+
import { E as be, a as _e } from "./el-form-item-CfB3NJcN.mjs";
|
|
4
|
+
import { defineComponent as fe, reactive as m, resolveComponent as I, resolveDirective as Ce, openBlock as c, createElementBlock as w, createVNode as o, withCtx as t, withKeys as T, unref as l, createTextVNode as p, toDisplayString as u, withDirectives as C, createBlock as g, createCommentVNode as ye, createElementVNode as he } from "vue";
|
|
5
|
+
import "element-plus";
|
|
6
|
+
import { useI18n as ve } from "vue-i18n";
|
|
7
|
+
import { g as we, d as ge, b as ke } from "./index-Aiekem6C.mjs";
|
|
8
|
+
import { _ as $e } from "./edit.vue_vue_type_script_setup_true_lang-DEq5JlSy.mjs";
|
|
9
|
+
const Re = { class: "app-container" }, Ee = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Ie = ["onClick"], Te = ["onClick"], qe = /* @__PURE__ */ fe({
|
|
8
10
|
__name: "index",
|
|
9
11
|
setup(Ne) {
|
|
10
|
-
const { t: n } =
|
|
11
|
-
tenant:
|
|
12
|
+
const { t: n } = ve(), i = m({
|
|
13
|
+
tenant: oe().user.tenant,
|
|
12
14
|
roleType: "job"
|
|
13
15
|
});
|
|
14
|
-
let b =
|
|
16
|
+
let b = m([
|
|
15
17
|
{
|
|
16
18
|
label: n("sysJob.code"),
|
|
17
19
|
prop: "roleCode",
|
|
@@ -45,85 +47,85 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
45
47
|
isColumn: !0
|
|
46
48
|
}
|
|
47
49
|
]);
|
|
48
|
-
const r =
|
|
50
|
+
const r = m({
|
|
49
51
|
visible: !1,
|
|
50
52
|
title: ""
|
|
51
53
|
});
|
|
52
|
-
let y =
|
|
54
|
+
let y = m({
|
|
53
55
|
roleCode: "",
|
|
54
56
|
roleName: "",
|
|
55
57
|
description: ""
|
|
56
58
|
});
|
|
57
|
-
const N =
|
|
59
|
+
const N = m({
|
|
58
60
|
list: we,
|
|
59
61
|
del: ge,
|
|
60
62
|
dels: ke,
|
|
61
63
|
up: te,
|
|
62
|
-
down:
|
|
64
|
+
down: le
|
|
63
65
|
}), {
|
|
64
66
|
tableData: V,
|
|
65
67
|
listLoading: D,
|
|
66
68
|
selectionRows: J,
|
|
67
|
-
multipleTableRef:
|
|
69
|
+
multipleTableRef: S,
|
|
68
70
|
queryFormRef: k,
|
|
69
71
|
handleQuery: d,
|
|
70
|
-
deleteRecord:
|
|
72
|
+
deleteRecord: j,
|
|
71
73
|
deleteRecords: F,
|
|
72
|
-
handleMoveTop:
|
|
74
|
+
handleMoveTop: B,
|
|
73
75
|
// 上移
|
|
74
|
-
handleMoveDown:
|
|
76
|
+
handleMoveDown: K
|
|
75
77
|
// 下移
|
|
76
|
-
} =
|
|
77
|
-
parIndex:
|
|
78
|
+
} = ae(n, N, i), {
|
|
79
|
+
parIndex: q,
|
|
78
80
|
tableArray: L,
|
|
79
81
|
getLocalStorageContent: P,
|
|
80
|
-
fixedChange:
|
|
81
|
-
isShowChange:
|
|
82
|
-
} =
|
|
83
|
-
function
|
|
82
|
+
fixedChange: Q,
|
|
83
|
+
isShowChange: U
|
|
84
|
+
} = ne(b, "/system/job");
|
|
85
|
+
function x(e) {
|
|
84
86
|
J.value = e;
|
|
85
87
|
}
|
|
86
|
-
function
|
|
88
|
+
function z() {
|
|
87
89
|
k.value.resetFields(), d();
|
|
88
90
|
}
|
|
89
|
-
function
|
|
90
|
-
y =
|
|
91
|
+
function A() {
|
|
92
|
+
y = m({
|
|
91
93
|
roleCode: "",
|
|
92
94
|
roleName: "",
|
|
93
95
|
description: ""
|
|
94
96
|
}), r.visible = !0, r.title = n("common.add");
|
|
95
97
|
}
|
|
96
|
-
function
|
|
97
|
-
r.title = n("common.edit"),
|
|
98
|
+
function M(e) {
|
|
99
|
+
r.title = n("common.edit"), se(e.roleId).then(({ data: s }) => {
|
|
98
100
|
y = { ...s }, r.visible = !0;
|
|
99
101
|
});
|
|
100
102
|
}
|
|
101
|
-
function
|
|
103
|
+
function Z(e) {
|
|
102
104
|
r.visible = e;
|
|
103
105
|
}
|
|
104
|
-
function
|
|
106
|
+
function G(e) {
|
|
105
107
|
e && d();
|
|
106
108
|
}
|
|
107
109
|
return P(), b = L.value, d(), (e, s) => {
|
|
108
|
-
const $ =
|
|
109
|
-
return
|
|
110
|
-
o(
|
|
110
|
+
const $ = re, h = be, _ = ie, H = _e, R = pe, O = de, W = ue, X = I("Bottom"), E = me, Y = I("Top"), ee = ce, f = Ce("hasPerm");
|
|
111
|
+
return c(), w("div", Re, [
|
|
112
|
+
o(H, {
|
|
111
113
|
ref_key: "queryFormRef",
|
|
112
114
|
ref: k,
|
|
113
115
|
model: i,
|
|
114
116
|
inline: !0
|
|
115
117
|
}, {
|
|
116
|
-
default:
|
|
118
|
+
default: t(() => [
|
|
117
119
|
o(h, {
|
|
118
120
|
label: e.$t("sysJob.code"),
|
|
119
121
|
prop: "roleCode"
|
|
120
122
|
}, {
|
|
121
|
-
default:
|
|
123
|
+
default: t(() => [
|
|
122
124
|
o($, {
|
|
123
125
|
modelValue: i.roleCode,
|
|
124
126
|
"onUpdate:modelValue": s[0] || (s[0] = (a) => i.roleCode = a),
|
|
125
127
|
placeholder: e.$t("sysJob.codeRequired"),
|
|
126
|
-
onKeyup: T(
|
|
128
|
+
onKeyup: T(l(d), ["enter"])
|
|
127
129
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
128
130
|
]),
|
|
129
131
|
_: 1
|
|
@@ -132,30 +134,30 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
132
134
|
label: e.$t("sysJob.name"),
|
|
133
135
|
prop: "likeRoleName"
|
|
134
136
|
}, {
|
|
135
|
-
default:
|
|
137
|
+
default: t(() => [
|
|
136
138
|
o($, {
|
|
137
139
|
modelValue: i.likeRoleName,
|
|
138
140
|
"onUpdate:modelValue": s[1] || (s[1] = (a) => i.likeRoleName = a),
|
|
139
141
|
placeholder: e.$t("sysJob.nameRequired"),
|
|
140
|
-
onKeyup: T(
|
|
142
|
+
onKeyup: T(l(d), ["enter"])
|
|
141
143
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
142
144
|
]),
|
|
143
145
|
_: 1
|
|
144
146
|
}, 8, ["label"]),
|
|
145
147
|
o(h, { class: "search-container" }, {
|
|
146
|
-
default:
|
|
148
|
+
default: t(() => [
|
|
147
149
|
o(_, {
|
|
148
150
|
type: "primary",
|
|
149
|
-
onClick:
|
|
151
|
+
onClick: l(d)
|
|
150
152
|
}, {
|
|
151
|
-
default:
|
|
152
|
-
u(
|
|
153
|
+
default: t(() => [
|
|
154
|
+
p(u(e.$t("common.search")), 1)
|
|
153
155
|
]),
|
|
154
156
|
_: 1
|
|
155
157
|
}, 8, ["onClick"]),
|
|
156
|
-
o(_, { onClick:
|
|
157
|
-
default:
|
|
158
|
-
u(
|
|
158
|
+
o(_, { onClick: z }, {
|
|
159
|
+
default: t(() => [
|
|
160
|
+
p(u(e.$t("common.reset")), 1)
|
|
159
161
|
]),
|
|
160
162
|
_: 1
|
|
161
163
|
})
|
|
@@ -166,27 +168,27 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
166
168
|
_: 1
|
|
167
169
|
}, 8, ["model"]),
|
|
168
170
|
Ee,
|
|
169
|
-
o(
|
|
170
|
-
default:
|
|
171
|
+
o(W, { justify: "space-between" }, {
|
|
172
|
+
default: t(() => [
|
|
171
173
|
o(R, { span: 19 }, {
|
|
172
|
-
default:
|
|
173
|
-
C((
|
|
174
|
+
default: t(() => [
|
|
175
|
+
C((c(), g(_, {
|
|
174
176
|
type: "primary",
|
|
175
|
-
onClick:
|
|
177
|
+
onClick: A
|
|
176
178
|
}, {
|
|
177
|
-
default:
|
|
178
|
-
u(
|
|
179
|
+
default: t(() => [
|
|
180
|
+
p(u(e.$t("common.add")), 1)
|
|
179
181
|
]),
|
|
180
182
|
_: 1
|
|
181
183
|
})), [
|
|
182
184
|
[f, ["rbac:job:add"]]
|
|
183
185
|
]),
|
|
184
|
-
C((
|
|
186
|
+
C((c(), g(_, {
|
|
185
187
|
type: "primary",
|
|
186
|
-
onClick: s[2] || (s[2] = (a) =>
|
|
188
|
+
onClick: s[2] || (s[2] = (a) => l(F)("roleId"))
|
|
187
189
|
}, {
|
|
188
|
-
default:
|
|
189
|
-
u(
|
|
190
|
+
default: t(() => [
|
|
191
|
+
p(u(e.$t("common.batchDelete")), 1)
|
|
190
192
|
]),
|
|
191
193
|
_: 1
|
|
192
194
|
})), [
|
|
@@ -199,12 +201,12 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
199
201
|
span: 5,
|
|
200
202
|
class: "container-float"
|
|
201
203
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
o(
|
|
204
|
-
"table-label":
|
|
205
|
-
"par-index":
|
|
206
|
-
onFixedChange:
|
|
207
|
-
onIsShowChange:
|
|
204
|
+
default: t(() => [
|
|
205
|
+
o(O, {
|
|
206
|
+
"table-label": l(b),
|
|
207
|
+
"par-index": l(q),
|
|
208
|
+
onFixedChange: l(Q),
|
|
209
|
+
onIsShowChange: l(U)
|
|
208
210
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
209
211
|
]),
|
|
210
212
|
_: 1
|
|
@@ -215,60 +217,60 @@ const Re = { class: "app-container" }, Ee = /* @__PURE__ */ ve("div", { class: "
|
|
|
215
217
|
o(ee, {
|
|
216
218
|
class: "table-top",
|
|
217
219
|
ref_key: "multipleTableRef",
|
|
218
|
-
ref:
|
|
220
|
+
ref: S,
|
|
219
221
|
rowKeys: "roleId",
|
|
220
|
-
"table-data":
|
|
221
|
-
"table-label":
|
|
222
|
-
"list-loading":
|
|
223
|
-
onTableSelected:
|
|
222
|
+
"table-data": l(V),
|
|
223
|
+
"table-label": l(b),
|
|
224
|
+
"list-loading": l(D),
|
|
225
|
+
onTableSelected: x
|
|
224
226
|
}, {
|
|
225
|
-
sort:
|
|
227
|
+
sort: t((a) => [
|
|
226
228
|
o(E, {
|
|
227
229
|
size: "16",
|
|
228
|
-
onClick: (v) =>
|
|
230
|
+
onClick: (v) => l(K)(a.data.row.roleId)
|
|
229
231
|
}, {
|
|
230
|
-
default:
|
|
231
|
-
o(
|
|
232
|
+
default: t(() => [
|
|
233
|
+
o(X)
|
|
232
234
|
]),
|
|
233
235
|
_: 2
|
|
234
236
|
}, 1032, ["onClick"]),
|
|
235
237
|
o(E, {
|
|
236
238
|
size: "16",
|
|
237
|
-
onClick: (v) =>
|
|
239
|
+
onClick: (v) => l(B)(a.data.row.roleId)
|
|
238
240
|
}, {
|
|
239
|
-
default:
|
|
240
|
-
o(
|
|
241
|
+
default: t(() => [
|
|
242
|
+
o(Y)
|
|
241
243
|
]),
|
|
242
244
|
_: 2
|
|
243
245
|
}, 1032, ["onClick"])
|
|
244
246
|
]),
|
|
245
|
-
operation:
|
|
246
|
-
C((
|
|
247
|
+
operation: t((a) => [
|
|
248
|
+
C((c(), w("span", {
|
|
247
249
|
class: "el-button-color",
|
|
248
|
-
onClick: (v) =>
|
|
250
|
+
onClick: (v) => M(a.data.row)
|
|
249
251
|
}, [
|
|
250
|
-
u(
|
|
252
|
+
p(u(e.$t("common.edit")), 1)
|
|
251
253
|
], 8, Ie)), [
|
|
252
254
|
[f, ["rbac:job:update"]]
|
|
253
255
|
]),
|
|
254
|
-
C((
|
|
256
|
+
C((c(), w("span", {
|
|
255
257
|
class: "el-button-color dropdown-left",
|
|
256
|
-
onClick: (v) =>
|
|
258
|
+
onClick: (v) => l(j)(a.data.row.roleId)
|
|
257
259
|
}, [
|
|
258
|
-
u(
|
|
260
|
+
p(u(e.$t("common.delete")), 1)
|
|
259
261
|
], 8, Te)), [
|
|
260
262
|
[f, ["rbac:job:delete"]]
|
|
261
263
|
])
|
|
262
264
|
]),
|
|
263
265
|
_: 1
|
|
264
266
|
}, 8, ["table-data", "table-label", "list-loading"]),
|
|
265
|
-
r.visible ? (
|
|
267
|
+
r.visible ? (c(), g($e, {
|
|
266
268
|
key: 0,
|
|
267
269
|
dialog: r,
|
|
268
|
-
"form-data":
|
|
269
|
-
onDialogEvent:
|
|
270
|
-
onRefresh:
|
|
271
|
-
}, null, 8, ["dialog", "form-data"])) :
|
|
270
|
+
"form-data": l(y),
|
|
271
|
+
onDialogEvent: Z,
|
|
272
|
+
onRefresh: G
|
|
273
|
+
}, null, 8, ["dialog", "form-data"])) : ye("", !0)
|
|
272
274
|
]);
|
|
273
275
|
};
|
|
274
276
|
}
|