jmash-core 0.0.13 → 0.0.15
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-LzXAVxnC.mjs → 401-BkJPlIzp.mjs} +2 -2
- package/dist/{404-BaS1xZmV.mjs → 404-BBmYfUdE.mjs} +1 -1
- package/dist/{BarChart-ClnlJEhi.mjs → BarChart-B6A8iUXj.mjs} +2 -2
- package/dist/{FileSaver.min-C7ddeQoo.mjs → FileSaver.min-CgOjN3Qg.mjs} +1 -1
- package/dist/{PieChart-BHM8amLk.mjs → PieChart-DX64TYZz.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BaJNQr7Z.mjs → PieChart.vue_vue_type_script_setup_true_lang-DtGRvxtk.mjs} +2 -2
- package/dist/{RadarChart-ChaevZtZ.mjs → RadarChart-bUPojoRx.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DF4axEB-.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BmDtds_e.mjs} +2 -2
- package/dist/{edit-D2udSsbu.mjs → edit-BSOs3vN5.mjs} +1 -1
- package/dist/{edit-ClmR7gql.mjs → edit-B_7Qd0xx.mjs} +1 -1
- package/dist/{edit-FahW6Usp.mjs → edit-Cm32AuKE.mjs} +24 -24
- package/dist/{edit-5MpAgj0J.mjs → edit-DI9xVL3f.mjs} +1 -1
- package/dist/{edit-Bz0L-kJZ.mjs → edit-HfjGZfbA.mjs} +1 -1
- package/dist/edit-K-SeNsHi.mjs +4 -0
- package/dist/{edit-oUUjQ6s5.mjs → edit-SaGTHCRi.mjs} +41 -40
- package/dist/edit-syovGHsx.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs → edit.vue_vue_type_script_setup_true_lang-BY6U7HyH.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs → edit.vue_vue_type_script_setup_true_lang-BZIGUF15.mjs} +38 -38
- package/dist/{edit.vue_vue_type_script_setup_true_lang-yaBZyiFi.mjs → edit.vue_vue_type_script_setup_true_lang-CXKNjagX.mjs} +32 -32
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs → edit.vue_vue_type_script_setup_true_lang-CvQyDvvs.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BRk4mulZ.mjs → edit.vue_vue_type_script_setup_true_lang-DOBRRSJo.mjs} +4 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs → edit.vue_vue_type_script_setup_true_lang-DdpRY-Il.mjs} +1 -1
- package/dist/{el-card-CjFpAXC4.mjs → el-card-DO00Wvz9.mjs} +1 -1
- package/dist/{el-col-D9kCVYAq.mjs → el-col-DFdwiQq6.mjs} +1 -1
- package/dist/{el-date-picker-_cuHa2hi.mjs → el-date-picker-BiAhUGOG.mjs} +1 -1
- package/dist/{el-divider-8Ov9f55F.mjs → el-divider-c2CLca4o.mjs} +1 -1
- package/dist/{el-dropdown-item-CSpUSfWV.mjs → el-dropdown-item-9E9GqcUL.mjs} +1 -1
- package/dist/{el-tree-select-BUK1QB3u.mjs → el-tree-select-CC0XwXVL.mjs} +2 -2
- package/dist/{index-DhjUimfd.mjs → index-B2TvQOt9.mjs} +4 -4
- package/dist/{index-hZzxBNan.mjs → index-BBMnmuNy.mjs} +8 -8
- package/dist/{index-CXJ-WW3h.mjs → index-BLIll5te.mjs} +6 -6
- package/dist/{index-Dav45Y13.mjs → index-Bozt9oGT.mjs} +64 -62
- package/dist/{index-BeFhB4ZJ.mjs → index-ByZF--LW.mjs} +1 -1
- package/dist/{index-C68JBxAE.mjs → index-CMrLCILj.mjs} +108 -107
- package/dist/{index-l9Oeu9G-.mjs → index-CRuu1sq3.mjs} +63 -60
- package/dist/{index-CYAfQz-w.mjs → index-CgTJTyzP.mjs} +1 -1
- package/dist/{index-DHQQEEWW.mjs → index-CiTJNDrg.mjs} +68 -65
- package/dist/{index-gaeN4E1_.mjs → index-CovctCXh.mjs} +64 -55
- package/dist/{index-D8zb68MK.mjs → index-DDZExl-h.mjs} +63 -59
- package/dist/{index-Cuk7sDz9.mjs → index-DQe98_8-.mjs} +65 -62
- package/dist/{index-GPbjfqQg.mjs → index-DSMgAe9r.mjs} +1 -1
- package/dist/{index-BYYYSOkP.mjs → index-DfG2Ushb.mjs} +1 -1
- package/dist/{index-CPqNZOs9.mjs → index-Dy5Mc1xa.mjs} +6055 -6154
- package/dist/{index-C34zVC-7.mjs → index-Dzz_DJ2A.mjs} +17 -16
- package/dist/{index-W4pvCYhJ.mjs → index-QGbAm-j4.mjs} +1 -1
- package/dist/{index-D9itg8P7.mjs → index-UYeY7Byx.mjs} +1 -1
- package/dist/{index-BkPB5eHC.mjs → index-WXrB1MMY.mjs} +76 -74
- package/dist/{index-DW1L3U1A.mjs → index-qw7NC8eE.mjs} +60 -58
- package/dist/index.mjs +10 -10
- package/dist/{index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs → index.vue_vue_type_script_setup_true_lang-DNUiKzAB.mjs} +2 -2
- package/dist/index.vue_vue_type_script_setup_true_lang-KEqvSfud.mjs +280 -0
- package/dist/{picture-DRU19T9b.mjs → picture-B-Z93WvM.mjs} +2 -2
- package/dist/{position-Ba7wRAlR.mjs → position-vpBZqxst.mjs} +1 -1
- package/dist/{profile-3Wsx53aV.mjs → profile-yHqe9ckz.mjs} +6 -6
- package/dist/{runAs-CE2R49GJ.mjs → runAs-30DZ0fw7.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-i0DdmfK1.mjs → runAs.vue_vue_type_script_setup_true_lang-Df5JuFXX.mjs} +13 -12
- package/dist/style.css +1 -1
- package/dist/{types-D3sIBzF1.mjs → types-B-kpFO60.mjs} +2 -2
- package/dist/{updatePwd-2Dc9-bnF.mjs → updatePwd-B0jx4S2G.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-3mhiAxD4.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DqPa62Sx.mjs} +3 -3
- package/dts/src/components/JmashColumnSelect/index.vue.d.ts +16 -0
- package/dts/src/components/JmashTable/index.vue.d.ts +31 -0
- package/dts/src/components/Table/index.vue.d.ts +2 -2
- package/dts/src/components/TableSet/index.vue.d.ts +5 -5
- package/dts/src/hooks/useList.d.ts +1 -0
- package/dts/src/index.d.ts +1 -0
- package/dts/src/lang/index.d.ts +1 -1
- package/dts/src/stores/modules/app.d.ts +2 -0
- package/dts/src/stores/modules/permission.d.ts +2 -0
- package/dts/src/stores/modules/settings.d.ts +1 -0
- package/dts/src/stores/modules/user.d.ts +2 -0
- package/dts/src/utils/common.d.ts +1 -1
- package/dts/src/views/system/dept/edit.vue.d.ts +3 -3
- package/dts/src/views/system/job/edit.vue.d.ts +3 -3
- package/dts/src/views/system/menu/edit.vue.d.ts +3 -3
- package/dts/src/views/system/module/edit.vue.d.ts +3 -3
- package/dts/src/views/system/operation/edit.vue.d.ts +3 -3
- package/dts/src/views/system/permission/edit.vue.d.ts +3 -3
- package/dts/src/views/system/role/edit.vue.d.ts +3 -3
- package/dts/src/views/system/user/edit.vue.d.ts +3 -3
- package/package.json +3 -4
- package/dist/edit-DXSp7oE2.mjs +0 -4
- package/dist/edit-zLDTi0zt.mjs +0 -4
- package/dts/tsconfig.tsbuildinfo +0 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { aj as le, a0 as ie,
|
|
2
|
-
import {
|
|
1
|
+
import { aj as le, a0 as ie, aW as re, aX as se, s as pe, aq as de, t as me, ai as ce, aY as ue, E as _e, bc as fe } from "./index-Dy5Mc1xa.mjs";
|
|
2
|
+
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-KEqvSfud.mjs";
|
|
3
|
+
import { E as ge, a as Ce } from "./el-col-DFdwiQq6.mjs";
|
|
3
4
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import { g as we, d as $e, b as Ee, m as Oe, a as Ie, _ as
|
|
6
|
-
const
|
|
5
|
+
import { defineComponent as ye, reactive as d, resolveComponent as R, resolveDirective as ve, openBlock as p, createElementBlock as $, createVNode as t, withCtx as n, withKeys as T, unref as o, createTextVNode as m, toDisplayString as c, withDirectives as C, createBlock as y, isRef as he, createCommentVNode as S, createElementVNode as ke } from "vue";
|
|
6
|
+
import { g as we, d as $e, b as Ee, m as Oe, a as Ie, _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-DdpRY-Il.mjs";
|
|
7
|
+
const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], De = ["onClick"], Ke = /* @__PURE__ */ ye({
|
|
7
8
|
__name: "index",
|
|
8
|
-
setup(
|
|
9
|
-
const { t: r } = le(), i =
|
|
9
|
+
setup(Ve) {
|
|
10
|
+
const { t: r } = le(), i = d({
|
|
10
11
|
tenant: ie().user.tenant,
|
|
11
12
|
curPage: 1,
|
|
12
13
|
pageSize: 10
|
|
13
14
|
});
|
|
14
|
-
let
|
|
15
|
+
let v = d({
|
|
15
16
|
operationCode: "",
|
|
16
17
|
operationName: ""
|
|
17
|
-
}),
|
|
18
|
+
}), u = d([
|
|
18
19
|
{
|
|
19
20
|
label: r("sysOperation.code"),
|
|
20
21
|
prop: "operationCode",
|
|
@@ -41,50 +42,51 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
41
42
|
isColumn: !0
|
|
42
43
|
}
|
|
43
44
|
]);
|
|
44
|
-
const s =
|
|
45
|
+
const s = d({
|
|
45
46
|
visible: !1,
|
|
46
47
|
title: ""
|
|
47
|
-
}),
|
|
48
|
+
}), D = d({
|
|
48
49
|
list: we,
|
|
49
50
|
del: $e,
|
|
50
51
|
dels: Ee,
|
|
51
52
|
up: Oe,
|
|
52
53
|
down: Ie
|
|
53
54
|
}), {
|
|
54
|
-
tableData:
|
|
55
|
-
total:
|
|
55
|
+
tableData: V,
|
|
56
|
+
total: _,
|
|
56
57
|
listLoading: P,
|
|
57
58
|
selectionRows: F,
|
|
58
59
|
multipleTableRef: q,
|
|
59
60
|
queryFormRef: E,
|
|
60
61
|
getList: h,
|
|
61
|
-
handleQuery:
|
|
62
|
+
handleQuery: f,
|
|
62
63
|
deleteRecord: B,
|
|
63
64
|
deleteRecords: U,
|
|
64
65
|
handleMoveTop: z,
|
|
65
66
|
// 上移
|
|
66
67
|
handleMoveDown: K
|
|
67
68
|
// 下移
|
|
68
|
-
} = re(r,
|
|
69
|
+
} = re(r, D, i), {
|
|
69
70
|
parIndex: L,
|
|
70
71
|
tableArray: j,
|
|
71
72
|
getLocalStorageContent: x,
|
|
72
73
|
fixedChange: A,
|
|
73
74
|
isShowChange: M
|
|
74
|
-
} = se(
|
|
75
|
+
} = se(u, "/system/operation");
|
|
75
76
|
function Q(e) {
|
|
76
77
|
F.value = e;
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
-
E.value.resetFields(),
|
|
79
|
+
function W() {
|
|
80
|
+
E.value.resetFields(), f();
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
function X() {
|
|
83
|
+
v = d({
|
|
84
|
+
operationCode: "",
|
|
85
|
+
operationName: ""
|
|
86
|
+
}), s.title = r("common.add"), s.visible = !0;
|
|
85
87
|
}
|
|
86
|
-
function
|
|
87
|
-
s.title = r("common.edit"), s.visible = !0,
|
|
88
|
+
function Y(e) {
|
|
89
|
+
s.title = r("common.edit"), s.visible = !0, v = { ...e };
|
|
88
90
|
}
|
|
89
91
|
function G(e) {
|
|
90
92
|
s.visible = e;
|
|
@@ -92,9 +94,9 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
92
94
|
function H(e) {
|
|
93
95
|
e && h();
|
|
94
96
|
}
|
|
95
|
-
return x(),
|
|
96
|
-
const O =
|
|
97
|
-
return
|
|
97
|
+
return x(), u = j.value, h(), (e, l) => {
|
|
98
|
+
const O = pe, k = de, b = me, J = ce, I = ge, Z = ue, ee = Ce, oe = R("Bottom"), N = _e, te = R("Top"), ae = be, ne = fe, g = ve("hasPerm");
|
|
99
|
+
return p(), $("div", Re, [
|
|
98
100
|
t(J, {
|
|
99
101
|
ref_key: "queryFormRef",
|
|
100
102
|
ref: E,
|
|
@@ -111,7 +113,7 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
111
113
|
modelValue: i.operationCode,
|
|
112
114
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => i.operationCode = a),
|
|
113
115
|
placeholder: e.$t("sysOperation.codeRequired"),
|
|
114
|
-
onKeyup:
|
|
116
|
+
onKeyup: T(o(f), ["enter"])
|
|
115
117
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
116
118
|
]),
|
|
117
119
|
_: 1
|
|
@@ -126,25 +128,25 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
126
128
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => i.likeOperationName = a),
|
|
127
129
|
placeholder: e.$t("sysOperation.nameRequired"),
|
|
128
130
|
clearable: "",
|
|
129
|
-
onKeyup:
|
|
131
|
+
onKeyup: T(o(f), ["enter"])
|
|
130
132
|
}, null, 8, ["modelValue", "placeholder", "onKeyup"])
|
|
131
133
|
]),
|
|
132
134
|
_: 1
|
|
133
135
|
}, 8, ["label"]),
|
|
134
136
|
t(k, { class: "search-container" }, {
|
|
135
137
|
default: n(() => [
|
|
136
|
-
t(
|
|
138
|
+
t(b, {
|
|
137
139
|
type: "primary",
|
|
138
|
-
onClick: o(
|
|
140
|
+
onClick: o(f)
|
|
139
141
|
}, {
|
|
140
142
|
default: n(() => [
|
|
141
|
-
|
|
143
|
+
m(c(e.$t("common.search")), 1)
|
|
142
144
|
]),
|
|
143
145
|
_: 1
|
|
144
146
|
}, 8, ["onClick"]),
|
|
145
|
-
t(
|
|
147
|
+
t(b, { onClick: W }, {
|
|
146
148
|
default: n(() => [
|
|
147
|
-
|
|
149
|
+
m(c(e.$t("common.reset")), 1)
|
|
148
150
|
]),
|
|
149
151
|
_: 1
|
|
150
152
|
})
|
|
@@ -154,32 +156,32 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
154
156
|
]),
|
|
155
157
|
_: 1
|
|
156
158
|
}, 8, ["model"]),
|
|
157
|
-
|
|
159
|
+
Te,
|
|
158
160
|
t(ee, { justify: "space-between" }, {
|
|
159
161
|
default: n(() => [
|
|
160
162
|
t(I, { span: 19 }, {
|
|
161
163
|
default: n(() => [
|
|
162
|
-
C((
|
|
164
|
+
C((p(), y(b, {
|
|
163
165
|
type: "primary",
|
|
164
|
-
onClick:
|
|
166
|
+
onClick: X
|
|
165
167
|
}, {
|
|
166
168
|
default: n(() => [
|
|
167
|
-
|
|
169
|
+
m(c(e.$t("common.add")), 1)
|
|
168
170
|
]),
|
|
169
171
|
_: 1
|
|
170
172
|
})), [
|
|
171
|
-
[
|
|
173
|
+
[g, ["rbac:operation:add"]]
|
|
172
174
|
]),
|
|
173
|
-
C((
|
|
175
|
+
C((p(), y(b, {
|
|
174
176
|
type: "primary",
|
|
175
177
|
onClick: l[2] || (l[2] = (a) => o(U)("operationId"))
|
|
176
178
|
}, {
|
|
177
179
|
default: n(() => [
|
|
178
|
-
|
|
180
|
+
m(c(e.$t("common.batchDelete")), 1)
|
|
179
181
|
]),
|
|
180
182
|
_: 1
|
|
181
183
|
})), [
|
|
182
|
-
[
|
|
184
|
+
[g, ["rbac:operation:delete"]]
|
|
183
185
|
])
|
|
184
186
|
]),
|
|
185
187
|
_: 1
|
|
@@ -189,8 +191,8 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
189
191
|
class: "container-float"
|
|
190
192
|
}, {
|
|
191
193
|
default: n(() => [
|
|
192
|
-
t(
|
|
193
|
-
"table-label": o(
|
|
194
|
+
t(Z, {
|
|
195
|
+
"table-label": o(u),
|
|
194
196
|
"par-index": o(L),
|
|
195
197
|
onFixedChange: o(A),
|
|
196
198
|
onIsShowChange: o(M)
|
|
@@ -206,13 +208,13 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
206
208
|
ref_key: "multipleTableRef",
|
|
207
209
|
ref: q,
|
|
208
210
|
"row-keys": "operationId",
|
|
209
|
-
"table-data": o(
|
|
211
|
+
"table-data": o(V),
|
|
210
212
|
"list-loading": o(P),
|
|
211
|
-
"table-label": o(
|
|
213
|
+
"table-label": o(u),
|
|
212
214
|
onTableSelected: Q
|
|
213
215
|
}, {
|
|
214
216
|
sort: n((a) => [
|
|
215
|
-
t(
|
|
217
|
+
t(N, {
|
|
216
218
|
size: "16",
|
|
217
219
|
onClick: (w) => o(K)(a.data.row.operationId)
|
|
218
220
|
}, {
|
|
@@ -221,7 +223,7 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
221
223
|
]),
|
|
222
224
|
_: 2
|
|
223
225
|
}, 1032, ["onClick"]),
|
|
224
|
-
t(
|
|
226
|
+
t(N, {
|
|
225
227
|
size: "16",
|
|
226
228
|
onClick: (w) => o(z)(a.data.row.operationId)
|
|
227
229
|
}, {
|
|
@@ -232,39 +234,39 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
232
234
|
}, 1032, ["onClick"])
|
|
233
235
|
]),
|
|
234
236
|
operation: n((a) => [
|
|
235
|
-
C((
|
|
237
|
+
C((p(), $("span", {
|
|
236
238
|
class: "el-button-color",
|
|
237
|
-
onClick: (w) =>
|
|
239
|
+
onClick: (w) => Y(a.data.row)
|
|
238
240
|
}, [
|
|
239
|
-
|
|
241
|
+
m(c(e.$t("common.edit")), 1)
|
|
240
242
|
], 8, Se)), [
|
|
241
|
-
[
|
|
243
|
+
[g, ["rbac:operation:update"]]
|
|
242
244
|
]),
|
|
243
|
-
C((
|
|
245
|
+
C((p(), $("span", {
|
|
244
246
|
class: "el-button-color dropdown-left",
|
|
245
247
|
onClick: (w) => o(B)(a.data.row.operationId)
|
|
246
248
|
}, [
|
|
247
|
-
|
|
248
|
-
], 8,
|
|
249
|
-
[
|
|
249
|
+
m(c(e.$t("common.delete")), 1)
|
|
250
|
+
], 8, De)), [
|
|
251
|
+
[g, ["rbac:operation:delete"]]
|
|
250
252
|
])
|
|
251
253
|
]),
|
|
252
254
|
_: 1
|
|
253
255
|
}, 8, ["table-data", "list-loading", "table-label"]),
|
|
254
|
-
o(
|
|
256
|
+
o(_) > 0 ? (p(), y(ne, {
|
|
255
257
|
key: 0,
|
|
256
|
-
total: o(
|
|
257
|
-
"onUpdate:total": l[3] || (l[3] = (a) => he(
|
|
258
|
+
total: o(_),
|
|
259
|
+
"onUpdate:total": l[3] || (l[3] = (a) => he(_) ? _.value = a : null),
|
|
258
260
|
page: i.curPage,
|
|
259
261
|
"onUpdate:page": l[4] || (l[4] = (a) => i.curPage = a),
|
|
260
262
|
limit: i.pageSize,
|
|
261
263
|
"onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
|
|
262
264
|
onPagination: o(h)
|
|
263
265
|
}, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
|
|
264
|
-
s.visible ? (
|
|
266
|
+
s.visible ? (p(), y(Ne, {
|
|
265
267
|
key: 1,
|
|
266
268
|
dialog: s,
|
|
267
|
-
"form-data": o(
|
|
269
|
+
"form-data": o(v),
|
|
268
270
|
onDialogEvent: G,
|
|
269
271
|
onRefresh: H
|
|
270
272
|
}, null, 8, ["dialog", "form-data"])) : S("", !0)
|
|
@@ -273,5 +275,5 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
|
|
|
273
275
|
}
|
|
274
276
|
});
|
|
275
277
|
export {
|
|
276
|
-
|
|
278
|
+
Ke as default
|
|
277
279
|
};
|