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,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as
|
|
3
|
-
import "./el-form-item
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { $ as ne, aS as de, aT as se, s as ie, t as re, aV as me, E as ue, aQ as pe, b9 as ce } from "./index-Kn7Q3GUp.mjs";
|
|
2
|
+
import { E as fe, a as _e } from "./el-col-CpkHzVh2.mjs";
|
|
3
|
+
import { E as be, a as Ce } from "./el-form-item--x5GHc7n.mjs";
|
|
4
|
+
import { defineComponent as ge, reactive as m, resolveComponent as T, resolveDirective as ye, openBlock as r, createElementBlock as $, createVNode as l, withCtx as a, withKeys as R, unref as o, createTextVNode as u, toDisplayString as p, withDirectives as g, createBlock as y, isRef as ve, createCommentVNode as S, createElementVNode as he } from "vue";
|
|
5
|
+
import "element-plus";
|
|
6
|
+
import { useI18n as ke } from "vue-i18n";
|
|
7
|
+
import { g as we, d as $e, b as Me, a as Ee, c as Ie } from "./index-BpV4WDjm.mjs";
|
|
8
|
+
import { _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-O9kmmp-o.mjs";
|
|
9
|
+
const Te = { class: "app-container" }, Re = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], Qe = /* @__PURE__ */ ge({
|
|
8
10
|
__name: "index",
|
|
9
11
|
setup(De) {
|
|
10
|
-
const { t: s } =
|
|
11
|
-
tenant:
|
|
12
|
+
const { t: s } = ke(), d = m({
|
|
13
|
+
tenant: ne().user.tenant,
|
|
12
14
|
curPage: 1,
|
|
13
15
|
pageSize: 10
|
|
14
16
|
});
|
|
@@ -17,7 +19,7 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
17
19
|
moduleCode: "",
|
|
18
20
|
moduleName: "",
|
|
19
21
|
description: ""
|
|
20
|
-
}),
|
|
22
|
+
}), c = m([
|
|
21
23
|
{
|
|
22
24
|
label: s("sysModule.code"),
|
|
23
25
|
width: "200",
|
|
@@ -63,33 +65,33 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
63
65
|
down: Ie
|
|
64
66
|
}), {
|
|
65
67
|
tableData: D,
|
|
66
|
-
total:
|
|
68
|
+
total: f,
|
|
67
69
|
listLoading: P,
|
|
68
70
|
selectionRows: F,
|
|
69
|
-
multipleTableRef:
|
|
71
|
+
multipleTableRef: B,
|
|
70
72
|
queryFormRef: M,
|
|
71
73
|
getList: h,
|
|
72
|
-
handleQuery:
|
|
73
|
-
deleteRecord:
|
|
74
|
-
deleteRecords:
|
|
74
|
+
handleQuery: _,
|
|
75
|
+
deleteRecord: U,
|
|
76
|
+
deleteRecords: q,
|
|
75
77
|
handleMoveTop: z,
|
|
76
78
|
// 上移
|
|
77
79
|
handleMoveDown: K
|
|
78
80
|
// 下移
|
|
79
|
-
} =
|
|
81
|
+
} = de(s, V, d), {
|
|
80
82
|
parIndex: L,
|
|
81
|
-
tableArray:
|
|
83
|
+
tableArray: Q,
|
|
82
84
|
getLocalStorageContent: x,
|
|
83
85
|
fixedChange: A,
|
|
84
|
-
isShowChange:
|
|
85
|
-
} =
|
|
86
|
-
function
|
|
86
|
+
isShowChange: j
|
|
87
|
+
} = se(c, "/system/module");
|
|
88
|
+
function G(e) {
|
|
87
89
|
F.value = e;
|
|
88
90
|
}
|
|
89
|
-
function
|
|
90
|
-
M.value.resetFields(),
|
|
91
|
+
function H() {
|
|
92
|
+
M.value.resetFields(), _();
|
|
91
93
|
}
|
|
92
|
-
function
|
|
94
|
+
function J() {
|
|
93
95
|
v = m({
|
|
94
96
|
moduleId: "",
|
|
95
97
|
moduleCode: "",
|
|
@@ -97,19 +99,19 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
97
99
|
description: ""
|
|
98
100
|
}), i.title = s("common.add"), i.visible = !0;
|
|
99
101
|
}
|
|
100
|
-
function
|
|
102
|
+
function O(e) {
|
|
101
103
|
i.title = s("common.edit"), i.visible = !0, v = { ...e };
|
|
102
104
|
}
|
|
103
|
-
function
|
|
105
|
+
function W(e) {
|
|
104
106
|
i.visible = e;
|
|
105
107
|
}
|
|
106
|
-
function
|
|
108
|
+
function X(e) {
|
|
107
109
|
e && h();
|
|
108
110
|
}
|
|
109
|
-
return x(),
|
|
110
|
-
const E =
|
|
111
|
-
return r(), $("div",
|
|
112
|
-
l(
|
|
111
|
+
return x(), c = Q.value, h(), (e, n) => {
|
|
112
|
+
const E = ie, k = be, b = re, Y = Ce, I = fe, Z = me, ee = _e, oe = T("Bottom"), N = ue, le = T("Top"), te = pe, ae = ce, C = ye("hasPerm");
|
|
113
|
+
return r(), $("div", Te, [
|
|
114
|
+
l(Y, {
|
|
113
115
|
ref_key: "queryFormRef",
|
|
114
116
|
ref: M,
|
|
115
117
|
model: d,
|
|
@@ -125,7 +127,7 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
125
127
|
modelValue: d.moduleCode,
|
|
126
128
|
"onUpdate:modelValue": n[0] || (n[0] = (t) => d.moduleCode = t),
|
|
127
129
|
placeholder: e.$t("sysModule.codeRequired"),
|
|
128
|
-
onKeyup:
|
|
130
|
+
onKeyup: R(o(_), ["enter"])
|
|
129
131
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
130
132
|
]),
|
|
131
133
|
_: 1
|
|
@@ -139,7 +141,7 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
139
141
|
modelValue: d.likeModuleName,
|
|
140
142
|
"onUpdate:modelValue": n[1] || (n[1] = (t) => d.likeModuleName = t),
|
|
141
143
|
placeholder: e.$t("sysModule.nameRequired"),
|
|
142
|
-
onKeyup:
|
|
144
|
+
onKeyup: R(o(_), ["enter"])
|
|
143
145
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
144
146
|
]),
|
|
145
147
|
_: 1
|
|
@@ -148,16 +150,16 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
148
150
|
default: a(() => [
|
|
149
151
|
l(b, {
|
|
150
152
|
type: "primary",
|
|
151
|
-
onClick: o(
|
|
153
|
+
onClick: o(_)
|
|
152
154
|
}, {
|
|
153
155
|
default: a(() => [
|
|
154
|
-
u(
|
|
156
|
+
u(p(e.$t("common.search")), 1)
|
|
155
157
|
]),
|
|
156
158
|
_: 1
|
|
157
159
|
}, 8, ["onClick"]),
|
|
158
|
-
l(b, { onClick:
|
|
160
|
+
l(b, { onClick: H }, {
|
|
159
161
|
default: a(() => [
|
|
160
|
-
u(
|
|
162
|
+
u(p(e.$t("common.reset")), 1)
|
|
161
163
|
]),
|
|
162
164
|
_: 1
|
|
163
165
|
})
|
|
@@ -167,17 +169,17 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
167
169
|
]),
|
|
168
170
|
_: 1
|
|
169
171
|
}, 8, ["model"]),
|
|
170
|
-
|
|
172
|
+
Re,
|
|
171
173
|
l(ee, { justify: "space-between" }, {
|
|
172
174
|
default: a(() => [
|
|
173
175
|
l(I, { span: 19 }, {
|
|
174
176
|
default: a(() => [
|
|
175
177
|
g((r(), y(b, {
|
|
176
178
|
type: "primary",
|
|
177
|
-
onClick:
|
|
179
|
+
onClick: J
|
|
178
180
|
}, {
|
|
179
181
|
default: a(() => [
|
|
180
|
-
u(
|
|
182
|
+
u(p(e.$t("common.add")), 1)
|
|
181
183
|
]),
|
|
182
184
|
_: 1
|
|
183
185
|
})), [
|
|
@@ -185,10 +187,10 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
185
187
|
]),
|
|
186
188
|
g((r(), y(b, {
|
|
187
189
|
type: "primary",
|
|
188
|
-
onClick: n[2] || (n[2] = (t) => o(
|
|
190
|
+
onClick: n[2] || (n[2] = (t) => o(q)("moduleId"))
|
|
189
191
|
}, {
|
|
190
192
|
default: a(() => [
|
|
191
|
-
u(
|
|
193
|
+
u(p(e.$t("common.batchDelete")), 1)
|
|
192
194
|
]),
|
|
193
195
|
_: 1
|
|
194
196
|
})), [
|
|
@@ -203,10 +205,10 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
203
205
|
}, {
|
|
204
206
|
default: a(() => [
|
|
205
207
|
l(Z, {
|
|
206
|
-
"table-label": o(
|
|
208
|
+
"table-label": o(c),
|
|
207
209
|
"par-index": o(L),
|
|
208
210
|
onFixedChange: o(A),
|
|
209
|
-
onIsShowChange: o(
|
|
211
|
+
onIsShowChange: o(j)
|
|
210
212
|
}, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
|
|
211
213
|
]),
|
|
212
214
|
_: 1
|
|
@@ -217,12 +219,12 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
217
219
|
l(te, {
|
|
218
220
|
class: "table-top",
|
|
219
221
|
ref_key: "multipleTableRef",
|
|
220
|
-
ref:
|
|
222
|
+
ref: B,
|
|
221
223
|
"row-keys": "moduleId",
|
|
222
224
|
"table-data": o(D),
|
|
223
225
|
"list-loading": o(P),
|
|
224
|
-
"table-label": o(
|
|
225
|
-
onTableSelected:
|
|
226
|
+
"table-label": o(c),
|
|
227
|
+
onTableSelected: G
|
|
226
228
|
}, {
|
|
227
229
|
sort: a((t) => [
|
|
228
230
|
l(N, {
|
|
@@ -247,27 +249,27 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
247
249
|
operation: a((t) => [
|
|
248
250
|
g((r(), $("span", {
|
|
249
251
|
class: "el-button-color",
|
|
250
|
-
onClick: (w) =>
|
|
252
|
+
onClick: (w) => O(t.data.row)
|
|
251
253
|
}, [
|
|
252
|
-
u(
|
|
254
|
+
u(p(e.$t("common.edit")), 1)
|
|
253
255
|
], 8, Se)), [
|
|
254
256
|
[C, ["rbac:module:update"]]
|
|
255
257
|
]),
|
|
256
258
|
g((r(), $("span", {
|
|
257
259
|
class: "el-button-color dropdown-left",
|
|
258
|
-
onClick: (w) => o(
|
|
260
|
+
onClick: (w) => o(U)(t.data.row.moduleId)
|
|
259
261
|
}, [
|
|
260
|
-
u(
|
|
262
|
+
u(p(e.$t("common.delete")), 1)
|
|
261
263
|
], 8, Ve)), [
|
|
262
264
|
[C, ["rbac:module:delete"]]
|
|
263
265
|
])
|
|
264
266
|
]),
|
|
265
267
|
_: 1
|
|
266
268
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
267
|
-
o(
|
|
269
|
+
o(f) > 0 ? (r(), y(ae, {
|
|
268
270
|
key: 0,
|
|
269
|
-
total: o(
|
|
270
|
-
"onUpdate:total": n[3] || (n[3] = (t) =>
|
|
271
|
+
total: o(f),
|
|
272
|
+
"onUpdate:total": n[3] || (n[3] = (t) => ve(f) ? f.value = t : null),
|
|
271
273
|
page: d.curPage,
|
|
272
274
|
"onUpdate:page": n[4] || (n[4] = (t) => d.curPage = t),
|
|
273
275
|
limit: d.pageSize,
|
|
@@ -278,13 +280,13 @@ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "
|
|
|
278
280
|
key: 1,
|
|
279
281
|
dialog: i,
|
|
280
282
|
"form-data": o(v),
|
|
281
|
-
onDialogEvent:
|
|
282
|
-
onRefresh:
|
|
283
|
+
onDialogEvent: W,
|
|
284
|
+
onRefresh: X
|
|
283
285
|
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
284
286
|
]);
|
|
285
287
|
};
|
|
286
288
|
}
|
|
287
289
|
});
|
|
288
290
|
export {
|
|
289
|
-
|
|
291
|
+
Qe as default
|
|
290
292
|
};
|