jmash-core 0.0.11 → 0.0.13
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 +101 -0
- package/dist/404-BaS1xZmV.mjs +37 -0
- package/dist/{BarChart-CbBhpMpZ.mjs → BarChart-ClnlJEhi.mjs} +41 -41
- package/dist/{FileSaver.min-CivbhzMe.mjs → FileSaver.min-C7ddeQoo.mjs} +1 -1
- package/dist/{FunnelChart-Czy2TVI1.mjs → FunnelChart-CcCVox9E.mjs} +16 -15
- package/dist/{PieChart-B8Tay-HH.mjs → PieChart-BHM8amLk.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs → PieChart.vue_vue_type_script_setup_true_lang-BaJNQr7Z.mjs} +25 -24
- package/dist/{RadarChart-BzUQwTnX.mjs → RadarChart-ChaevZtZ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DF4axEB-.mjs} +27 -26
- package/dist/{edit-DaxU7bBz.mjs → edit-5MpAgj0J.mjs} +1 -1
- package/dist/{edit-C0aHXOi3.mjs → edit-Bz0L-kJZ.mjs} +1 -1
- package/dist/{edit-B95ajyfH.mjs → edit-ClmR7gql.mjs} +1 -1
- package/dist/{edit-BJAAEDVd.mjs → edit-D2udSsbu.mjs} +1 -1
- package/dist/edit-DXSp7oE2.mjs +4 -0
- package/dist/{edit-CR7ZiKuo.mjs → edit-FahW6Usp.mjs} +51 -51
- package/dist/{edit-5ZpeysVY.mjs → edit-oUUjQ6s5.mjs} +47 -47
- package/dist/edit-zLDTi0zt.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs → edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs} +24 -24
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs → edit.vue_vue_type_script_setup_true_lang-BRk4mulZ.mjs} +22 -22
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs → edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs} +14 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs → edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs} +30 -30
- package/dist/edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs +588 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs → edit.vue_vue_type_script_setup_true_lang-yaBZyiFi.mjs} +25 -25
- package/dist/{el-card-acRFAeYD.mjs → el-card-CjFpAXC4.mjs} +1 -1
- package/dist/{el-col-BFrxkvh3.mjs → el-col-D9kCVYAq.mjs} +17 -17
- package/dist/{el-date-picker-CjE5H0IY.mjs → el-date-picker-_cuHa2hi.mjs} +474 -474
- package/dist/el-divider-8Ov9f55F.mjs +45 -0
- package/dist/{el-dropdown-item-SBcx6_kX.mjs → el-dropdown-item-CSpUSfWV.mjs} +95 -95
- package/dist/{el-tree-select-RwYP-GEn.mjs → el-tree-select-BUK1QB3u.mjs} +75 -75
- package/dist/{index-CQlxUoOf.mjs → index-BYYYSOkP.mjs} +1 -1
- package/dist/{index-Bqg1CGw2.mjs → index-BeFhB4ZJ.mjs} +1 -1
- package/dist/{index-B7zhho5d.mjs → index-BkPB5eHC.mjs} +92 -92
- package/dist/{index-CcXjdXcD.mjs → index-C34zVC-7.mjs} +67 -67
- package/dist/{index-BcstP65E.mjs → index-C68JBxAE.mjs} +100 -100
- package/dist/{index-ChzNa2kp.mjs → index-CPqNZOs9.mjs} +21463 -21235
- package/dist/{index-u66O7nvc.mjs → index-CXJ-WW3h.mjs} +112 -111
- package/dist/{index-DvrFzTq2.mjs → index-CYAfQz-w.mjs} +1 -1
- package/dist/index-Cuk7sDz9.mjs +277 -0
- package/dist/{index-Dyn0k8Ib.mjs → index-D8zb68MK.mjs} +64 -64
- package/dist/{index-DBmv4w5y.mjs → index-D9itg8P7.mjs} +1 -1
- package/dist/{index-DAIdsjwj.mjs → index-DHQQEEWW.mjs} +53 -53
- package/dist/{index-DQtth-qu.mjs → index-DW1L3U1A.mjs} +53 -53
- package/dist/{index-B-lo0ywJ.mjs → index-Dav45Y13.mjs} +72 -72
- package/dist/index-DhjUimfd.mjs +272 -0
- package/dist/{index-DQbHbpgW.mjs → index-GPbjfqQg.mjs} +4 -4
- package/dist/{index-hr-nwn6C.mjs → index-W4pvCYhJ.mjs} +1 -1
- package/dist/{index-SUlMvdOg.mjs → index-gaeN4E1_.mjs} +88 -88
- package/dist/index-hZzxBNan.mjs +3447 -0
- package/dist/{index-4UdK9Nb9.mjs → index-l9Oeu9G-.mjs} +49 -49
- package/dist/index.mjs +27 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs +54 -0
- package/dist/picture-DRU19T9b.mjs +587 -0
- package/dist/position-Ba7wRAlR.mjs +23 -0
- package/dist/{profile-BfDHQ_n5.mjs → profile-3Wsx53aV.mjs} +25 -25
- package/dist/runAs-CE2R49GJ.mjs +4 -0
- package/dist/runAs.vue_vue_type_script_setup_true_lang-i0DdmfK1.mjs +113 -0
- package/dist/style.css +1 -1
- package/dist/{types-D2vHMNqn.mjs → types-D3sIBzF1.mjs} +13 -13
- package/dist/{updatePwd-Dc31cBOV.mjs → updatePwd-2Dc9-bnF.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-3mhiAxD4.mjs} +9 -9
- package/dts/src/components/AppLink/index.vue.d.ts +19 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
- package/dts/src/components/Dictionary/index.vue.d.ts +1 -1
- package/dts/src/components/IconSelect/requireIcons.d.ts +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +3 -3
- package/dts/src/enums/DeviceEnum.d.ts +13 -0
- package/dts/src/enums/LayoutEnum.d.ts +17 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +4 -1
- package/dts/src/enums/SidebarStatusEnum.d.ts +13 -0
- package/dts/src/enums/ThemeEnum.d.ts +17 -0
- package/dts/src/index.d.ts +10 -3
- package/dts/src/lang/index.d.ts +90 -0
- package/dts/src/lang/package/en.d.ts +42 -0
- package/dts/src/lang/package/zh-cn.d.ts +48 -0
- package/dts/src/layout/components/AppMain/index.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/components/NavbarLeft.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/components/NavbarRight.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/components/LayoutSelect.vue.d.ts +10 -0
- package/dts/src/layout/components/Settings/components/ThemeColorPicker.vue.d.ts +10 -0
- package/dts/src/layout/components/Sidebar/components/SidebarLogo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenu.vue.d.ts +50 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue.d.ts +2 -0
- package/dts/src/stores/index.d.ts +5 -0
- package/dts/src/utils/color.d.ts +69 -0
- package/dts/src/utils/index.d.ts +9 -0
- package/dts/src/utils/nprogress.d.ts +4 -0
- package/dts/src/views/my/runAs.vue.d.ts +6 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/401-BjFOoJaQ.mjs +0 -101
- package/dist/404-CT8Yk873.mjs +0 -37
- package/dist/anquanrizhi-BMAtNRi-.mjs +0 -4
- package/dist/api-DA2t0sYn.mjs +0 -4
- package/dist/bumenguanli-_DtFk-Tc.mjs +0 -4
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +0 -4
- package/dist/captcha-G9RskXh1.mjs +0 -4
- package/dist/caret-bottom-Lhe9M7aA.mjs +0 -59
- package/dist/cascader-CysbB3DR.mjs +0 -4
- package/dist/client-CmoE5d0v.mjs +0 -4
- package/dist/close-DwiHyvYJ.mjs +0 -4
- package/dist/close_all-ri0Fg4Yg.mjs +0 -4
- package/dist/close_left-DLmFYlJS.mjs +0 -4
- package/dist/close_other-B705ZMV6.mjs +0 -4
- package/dist/close_right-BUdNHbs5.mjs +0 -4
- package/dist/dict-C2cGjFov.mjs +0 -4
- package/dist/document-Bf2gTChB.mjs +0 -4
- package/dist/download-cG3k-vnb.mjs +0 -4
- package/dist/drag-CwjZNuUJ.mjs +0 -4
- package/dist/edit-CIq1RPVx.mjs +0 -4
- package/dist/edit-Di-ksvTh.mjs +0 -4
- package/dist/edit-II1vFfNu.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-VlMd6HAa.mjs +0 -575
- package/dist/email-B2AUCEGq.mjs +0 -4
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +0 -4
- package/dist/eye-DeDz_5CQ.mjs +0 -4
- package/dist/eye-open-Cm0N1Rcz.mjs +0 -4
- package/dist/fullscreen-BFXljl9l.mjs +0 -4
- package/dist/gangweiguanli-bkwyhEXB.mjs +0 -4
- package/dist/github-CL2t8fd5.mjs +0 -4
- package/dist/homepage-IeZtzO8Q.mjs +0 -4
- package/dist/icon-DwZ6Hkfk.mjs +0 -4
- package/dist/index-CF6p3ONN.mjs +0 -319
- package/dist/index-CJvo28Bb.mjs +0 -275
- package/dist/index-CS-ceXqM.mjs +0 -2580
- package/dist/ip-DOLbS1rT.mjs +0 -4
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +0 -4
- package/dist/language-C1tgLxuP.mjs +0 -4
- package/dist/link-Cjm7RVX7.mjs +0 -4
- package/dist/log-ZFSIG9ZQ.mjs +0 -4
- package/dist/menu-B7SOjMUJ.mjs +0 -4
- package/dist/message-Bws5C_1u.mjs +0 -4
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +0 -4
- package/dist/money-DM0ZKWD3.mjs +0 -4
- package/dist/monitor-CxsUJkcx.mjs +0 -4
- package/dist/order-DZ28J7CD.mjs +0 -4
- package/dist/password-BbtiGVLy.mjs +0 -4
- package/dist/peoples-3fyh79uv.mjs +0 -4
- package/dist/phone-CdpLww4_.mjs +0 -4
- package/dist/picture-877nN1qH.mjs +0 -598
- package/dist/project-DgVsw9u_.mjs +0 -4
- package/dist/publish-BCri5HbT.mjs +0 -4
- package/dist/quanxianguanli-Cpcc8C4D.mjs +0 -4
- package/dist/redis-fjUUmFu3.mjs +0 -4
- package/dist/refresh-BWNjEt3t.mjs +0 -4
- package/dist/role-BYKzPG5H.mjs +0 -4
- package/dist/security-BsMRfWoG.mjs +0 -4
- package/dist/shoujihao-BFt1tDJn.mjs +0 -4
- package/dist/shrink-kEdKK3G7.mjs +0 -4
- package/dist/size-jLonAeyJ.mjs +0 -4
- package/dist/system-BlPhikZo.mjs +0 -4
- package/dist/table-CCqA2qBP.mjs +0 -4
- package/dist/todolist-Ul73X2IJ.mjs +0 -4
- package/dist/tree-DrEt7UUZ.mjs +0 -4
- package/dist/user-B9bSWq2E.mjs +0 -4
- package/dist/visit-w_hKTLb6.mjs +0 -4
- package/dist/xingming-DHM4olm-.mjs +0 -4
- package/dist/yonghuguanli-B3vRkdqw.mjs +0 -4
- package/dist/youxiang-D68Zx-02.mjs +0 -4
- package/dist//345/210/227/350/241/250-nphA7BPW.mjs +0 -4
- package/dist//345/233/272/345/256/232_/345/233/276/351/222/211-CXYo1gbQ.mjs +0 -4
- package/dist//346/250/241/345/235/227-D528qA63.mjs +0 -4
- package/dist//347/234/274/347/235/233-BaPHKGgj.mjs +0 -4
- package/dist//351/227/255/347/234/274/347/235/233-D6BjbTd5.mjs +0 -4
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as bt, a as yt } from "./el-col-
|
|
3
|
-
import { E as ht, a as _t, b as gt } from "./el-dropdown-item-
|
|
4
|
-
import { E as vt } from "./el-tree-select-
|
|
1
|
+
import { aj as We, a0 as U, aX as Ye, aY as Ge, bk as He, bj as Je, a5 as F, aT as Xe, aU as xe, Y as k, ao as et, ap as tt, aq as at, s as ot, aO as lt, t as st, ai as nt, E as rt, aZ as dt, an as it, Z as ut, ad as mt, aV as pt, bd as ct, au as ft, a_ as wt } from "./index-CPqNZOs9.mjs";
|
|
2
|
+
import { E as bt, a as yt } from "./el-col-D9kCVYAq.mjs";
|
|
3
|
+
import { E as ht, a as _t, b as gt } from "./el-dropdown-item-CSpUSfWV.mjs";
|
|
4
|
+
import { E as vt } from "./el-tree-select-BUK1QB3u.mjs";
|
|
5
5
|
import "./el-form-item-l0sNRNKZ.mjs";
|
|
6
|
-
import { defineComponent as Ut, ref as
|
|
7
|
-
import { F as
|
|
8
|
-
import { g as
|
|
9
|
-
import { t as
|
|
10
|
-
const
|
|
6
|
+
import { defineComponent as Ut, ref as P, reactive as V, onBeforeMount as kt, resolveComponent as j, resolveDirective as Ct, openBlock as r, createElementBlock as c, createVNode as l, withCtx as o, Fragment as $t, renderList as Et, createBlock as p, withKeys as It, unref as u, createTextVNode as d, toDisplayString as n, withDirectives as f, createElementVNode as D, createCommentVNode as b, vShow as se, isRef as ne } from "vue";
|
|
7
|
+
import { F as M } from "./FileSaver.min-C7ddeQoo.mjs";
|
|
8
|
+
import { g as Vt, d as Pt, b as Dt, a as Rt, u as St, c as Tt, e as Nt, r as qt, f as At, h as Bt, i as Ft, j as zt, k as Lt, t as jt, l as Mt } from "./edit-oUUjQ6s5.mjs";
|
|
9
|
+
import { t as Zt } from "./index-D9itg8P7.mjs";
|
|
10
|
+
const Kt = { class: "app-container" }, Ot = /* @__PURE__ */ D("div", { class: "clear" }, null, -1), Qt = { key: 0 }, Wt = { key: 1 }, Yt = { key: 2 }, Gt = {
|
|
11
11
|
key: 3,
|
|
12
12
|
class: "distance-left"
|
|
13
|
-
},
|
|
13
|
+
}, Ht = { key: 0 }, Jt = { key: 1 }, Xt = ["onClick"], xt = ["onClick"], ea = { class: "el-dropdown-link" }, ta = { class: "dialog-footer" }, fa = /* @__PURE__ */ Ut({
|
|
14
14
|
__name: "index",
|
|
15
15
|
setup(aa) {
|
|
16
|
-
const { t: s } =
|
|
16
|
+
const { t: s } = We(), Z = P(), K = P([]), O = P(), m = V({
|
|
17
17
|
tenant: U().user.tenant,
|
|
18
18
|
curPage: 1,
|
|
19
19
|
pageSize: 10,
|
|
20
20
|
showDeleted: !1
|
|
21
21
|
});
|
|
22
|
-
let $ =
|
|
22
|
+
let $ = P(!1), N = V({
|
|
23
23
|
loginName: "",
|
|
24
24
|
roleIds: []
|
|
25
|
-
}),
|
|
25
|
+
}), q = V([
|
|
26
26
|
{
|
|
27
27
|
label: s("sysUser.directory"),
|
|
28
28
|
prop: "directoryId",
|
|
@@ -112,38 +112,38 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
112
112
|
isColumn: !0
|
|
113
113
|
}
|
|
114
114
|
]);
|
|
115
|
-
const E =
|
|
115
|
+
const E = V({
|
|
116
116
|
title: "",
|
|
117
117
|
visible: !1
|
|
118
|
-
}), R =
|
|
119
|
-
list:
|
|
120
|
-
del:
|
|
121
|
-
dels:
|
|
118
|
+
}), R = P(!1), re = V({
|
|
119
|
+
list: Vt,
|
|
120
|
+
del: Pt,
|
|
121
|
+
dels: Dt
|
|
122
122
|
}), {
|
|
123
123
|
tableData: de,
|
|
124
|
-
total:
|
|
124
|
+
total: A,
|
|
125
125
|
listLoading: ie,
|
|
126
126
|
selectionRows: S,
|
|
127
|
-
multipleTableRef:
|
|
128
|
-
queryFormRef:
|
|
129
|
-
getList:
|
|
127
|
+
multipleTableRef: Q,
|
|
128
|
+
queryFormRef: W,
|
|
129
|
+
getList: Y,
|
|
130
130
|
handleQuery: g,
|
|
131
131
|
deleteRecord: ue,
|
|
132
132
|
deleteRecords: me
|
|
133
|
-
} =
|
|
133
|
+
} = Ye(s, re, m), {
|
|
134
134
|
parIndex: pe,
|
|
135
135
|
tableArray: ce,
|
|
136
136
|
getLocalStorageContent: fe,
|
|
137
137
|
fixedChange: we,
|
|
138
138
|
isShowChange: be
|
|
139
|
-
} =
|
|
140
|
-
let C =
|
|
139
|
+
} = Ge(q, "/system/user"), z = P();
|
|
140
|
+
let C = V({
|
|
141
141
|
tenant: U().user.tenant,
|
|
142
142
|
userId: "",
|
|
143
143
|
pwd: "",
|
|
144
144
|
repeatPwd: ""
|
|
145
145
|
});
|
|
146
|
-
const ye =
|
|
146
|
+
const ye = V({
|
|
147
147
|
pwd: [{ required: !0, validator: (e, a, i) => {
|
|
148
148
|
a === "" ? i(new Error(s("password.newPwdRequired"))) : /^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%?^&*,\._\+(){}])[0-9a-zA-Z!@#$%?^&*,\\._\+(){}]{8,20}$/.test(a) ? i() : i(new Error(s("password.pwdRules")));
|
|
149
149
|
}, trigger: "blur" }],
|
|
@@ -154,7 +154,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
154
154
|
]
|
|
155
155
|
});
|
|
156
156
|
function he() {
|
|
157
|
-
|
|
157
|
+
W.value.resetFields(), m.hasUserStatus = !1, g();
|
|
158
158
|
}
|
|
159
159
|
function _e(e) {
|
|
160
160
|
F.confirm("确认切换该用户?", "提示", {
|
|
@@ -162,7 +162,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
162
162
|
confirmButtonText: s("common.confirm"),
|
|
163
163
|
type: "warning"
|
|
164
164
|
}).then(() => {
|
|
165
|
-
|
|
165
|
+
Xe(e.userId).then(async (a) => {
|
|
166
166
|
if (a.status === 200) {
|
|
167
167
|
U().user.roleCodes = [], U().user.permCodes = [];
|
|
168
168
|
const { roleCodes: i } = await U().getRoleInfo(), v = await U().getUserInfo();
|
|
@@ -175,7 +175,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
175
175
|
}).catch(() => {
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function G(e) {
|
|
179
179
|
e.mobileEncrypt = !e.mobileEncrypt;
|
|
180
180
|
}
|
|
181
181
|
function ge() {
|
|
@@ -213,7 +213,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
213
213
|
var e;
|
|
214
214
|
await ((e = z.value) == null ? void 0 : e.validate((a) => {
|
|
215
215
|
if (a)
|
|
216
|
-
|
|
216
|
+
qt(C).then((i) => {
|
|
217
217
|
i.status === 200 && (k({
|
|
218
218
|
message: s("password.successResetPwd"),
|
|
219
219
|
type: "success"
|
|
@@ -223,11 +223,11 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
223
223
|
return !1;
|
|
224
224
|
}));
|
|
225
225
|
};
|
|
226
|
-
function
|
|
226
|
+
function H() {
|
|
227
227
|
var e;
|
|
228
228
|
(e = z.value) == null || e.resetFields(), $.value = !1;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ve(e) {
|
|
231
231
|
if (e === "false") {
|
|
232
232
|
if (S.value.length === 0) {
|
|
233
233
|
k({
|
|
@@ -241,7 +241,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
241
241
|
confirmButtonText: s("common.confirm"),
|
|
242
242
|
type: "warning"
|
|
243
243
|
}).then(() => {
|
|
244
|
-
|
|
244
|
+
J(
|
|
245
245
|
e,
|
|
246
246
|
S.value.map((a) => a.userId)
|
|
247
247
|
);
|
|
@@ -260,7 +260,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
260
260
|
confirmButtonText: s("common.confirm"),
|
|
261
261
|
type: "warning"
|
|
262
262
|
}).then(() => {
|
|
263
|
-
console.log(e),
|
|
263
|
+
console.log(e), J(
|
|
264
264
|
e,
|
|
265
265
|
S.value.map((a) => a.userId)
|
|
266
266
|
);
|
|
@@ -268,13 +268,13 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function J(e, a) {
|
|
272
272
|
const i = {
|
|
273
273
|
tenant: U().user.tenant,
|
|
274
274
|
enabled: JSON.parse(e),
|
|
275
275
|
userId: a
|
|
276
276
|
};
|
|
277
|
-
|
|
277
|
+
At(i).then((v) => {
|
|
278
278
|
var y;
|
|
279
279
|
v.status === 200 && (e === "true" ? k({
|
|
280
280
|
message: s("common.successEnable") + v.data + s("common.stripData"),
|
|
@@ -282,10 +282,10 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
282
282
|
}) : k({
|
|
283
283
|
message: s("common.successDisable") + v.data + s("common.stripData"),
|
|
284
284
|
type: "success"
|
|
285
|
-
}), g(), (y =
|
|
285
|
+
}), g(), (y = Q.value) == null || y.tableSelection());
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Pe(e) {
|
|
289
289
|
F.confirm("确认解锁该用户?", "提示", {
|
|
290
290
|
cancelButtonText: s("common.cancel"),
|
|
291
291
|
confirmButtonText: s("common.confirm"),
|
|
@@ -305,7 +305,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
305
305
|
}).catch(() => {
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function De() {
|
|
309
309
|
m.hasUserStatus = m.userStatus !== void 0;
|
|
310
310
|
}
|
|
311
311
|
function Re(e) {
|
|
@@ -321,7 +321,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
321
321
|
const i = new Blob([a.data], {
|
|
322
322
|
type: "application/octet-stream"
|
|
323
323
|
});
|
|
324
|
-
|
|
324
|
+
M.saveAs(i, s("route.sysUser") + ".xlsx");
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
327
|
function Te() {
|
|
@@ -333,19 +333,19 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
333
333
|
const i = new Blob([a.data], {
|
|
334
334
|
type: a.headers["content-type"]
|
|
335
335
|
});
|
|
336
|
-
|
|
336
|
+
M.saveAs(i, s("route.sysUser") + ".pdf");
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
function Ne() {
|
|
340
|
-
|
|
340
|
+
jt().then((e) => {
|
|
341
341
|
console.log(e);
|
|
342
342
|
const a = new Blob([e.data], {
|
|
343
343
|
type: "application/octet-stream"
|
|
344
344
|
});
|
|
345
|
-
|
|
345
|
+
M.saveAs(a, s("sysUser.userTemplate") + ".xlsx");
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function qe(e) {
|
|
349
349
|
if (!e.fileNames) {
|
|
350
350
|
k({
|
|
351
351
|
message: "请上传文件",
|
|
@@ -353,30 +353,30 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
353
353
|
});
|
|
354
354
|
return;
|
|
355
355
|
}
|
|
356
|
-
e.updateMask = "loginName,nickName,realName,gender,birthDate,mobilePhone,email,status",
|
|
356
|
+
e.updateMask = "loginName,nickName,realName,gender,birthDate,mobilePhone,email,status", Mt(e).then((a) => {
|
|
357
357
|
a.status === 200 && (k({
|
|
358
358
|
message: a.data,
|
|
359
359
|
type: "success"
|
|
360
360
|
}), R.value = !1, g());
|
|
361
361
|
});
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function Ae() {
|
|
364
364
|
R.value = !1;
|
|
365
365
|
}
|
|
366
|
-
return fe(),
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}),
|
|
370
|
-
|
|
366
|
+
return fe(), q = ce.value, Y(), kt(() => {
|
|
367
|
+
Zt().then(({ data: e }) => {
|
|
368
|
+
Z.value = e.results;
|
|
369
|
+
}), He("jmash.protobuf.Gender").then(({ data: e }) => {
|
|
370
|
+
K.value = e.values;
|
|
371
371
|
}), Rt().then(({ data: e }) => {
|
|
372
|
-
console.log(e),
|
|
372
|
+
console.log(e), O.value = e.directoryId;
|
|
373
373
|
});
|
|
374
374
|
}), (e, a) => {
|
|
375
|
-
const i = et, v = tt, y = at, L = ot, Be = vt, Fe = lt, _ = st,
|
|
376
|
-
return r(), c("div",
|
|
377
|
-
l(
|
|
375
|
+
const i = et, v = tt, y = at, L = ot, Be = vt, Fe = lt, _ = st, X = nt, x = j("arrow-down"), B = rt, ze = j("Unlock"), T = ht, Le = j("Lock"), ee = _t, te = gt, ae = bt, je = dt, Me = yt, I = it, oe = ut, le = mt, Ze = pt, Ke = ct, Oe = ft, Qe = wt, h = Ct("hasPerm");
|
|
376
|
+
return r(), c("div", Kt, [
|
|
377
|
+
l(X, {
|
|
378
378
|
ref_key: "queryFormRef",
|
|
379
|
-
ref:
|
|
379
|
+
ref: W,
|
|
380
380
|
model: m,
|
|
381
381
|
inline: !0
|
|
382
382
|
}, {
|
|
@@ -392,7 +392,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
392
392
|
placeholder: e.$t("sysUser.directoryRequired")
|
|
393
393
|
}, {
|
|
394
394
|
default: o(() => [
|
|
395
|
-
(r(!0), c($t, null, Et(
|
|
395
|
+
(r(!0), c($t, null, Et(O.value, (t) => (r(), p(i, {
|
|
396
396
|
key: t,
|
|
397
397
|
label: t,
|
|
398
398
|
value: t
|
|
@@ -425,7 +425,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
425
425
|
l(Be, {
|
|
426
426
|
modelValue: m.deptId,
|
|
427
427
|
"onUpdate:modelValue": a[2] || (a[2] = (t) => m.deptId = t),
|
|
428
|
-
data:
|
|
428
|
+
data: Z.value,
|
|
429
429
|
"render-after-expand": !1,
|
|
430
430
|
filterable: "",
|
|
431
431
|
"check-strictly": "",
|
|
@@ -446,7 +446,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
446
446
|
placeholder: e.$t("sysUser.stateRequired"),
|
|
447
447
|
"dict-type": "jmash.rbac.protobuf.UserStatus",
|
|
448
448
|
clearable: "",
|
|
449
|
-
onChange:
|
|
449
|
+
onChange: De
|
|
450
450
|
}, null, 8, ["modelValue", "placeholder"])
|
|
451
451
|
]),
|
|
452
452
|
_: 1
|
|
@@ -499,8 +499,8 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
499
499
|
]),
|
|
500
500
|
_: 1
|
|
501
501
|
}, 8, ["model"]),
|
|
502
|
-
|
|
503
|
-
l(
|
|
502
|
+
Ot,
|
|
503
|
+
l(Me, { justify: "space-between" }, {
|
|
504
504
|
default: o(() => [
|
|
505
505
|
l(ae, { span: 17 }, {
|
|
506
506
|
default: o(() => [
|
|
@@ -528,7 +528,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
528
528
|
]),
|
|
529
529
|
f((r(), p(te, {
|
|
530
530
|
class: "dropdown-left",
|
|
531
|
-
onCommand:
|
|
531
|
+
onCommand: Ve
|
|
532
532
|
}, {
|
|
533
533
|
dropdown: o(() => [
|
|
534
534
|
l(ee, null, {
|
|
@@ -623,8 +623,8 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
623
623
|
})), [
|
|
624
624
|
[h, ["rbac:user:print"]]
|
|
625
625
|
]),
|
|
626
|
-
l(
|
|
627
|
-
"table-label": u(
|
|
626
|
+
l(je, {
|
|
627
|
+
"table-label": u(q),
|
|
628
628
|
"par-index": u(pe),
|
|
629
629
|
onFixedChange: u(we),
|
|
630
630
|
onIsShowChange: u(be)
|
|
@@ -635,18 +635,18 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
635
635
|
]),
|
|
636
636
|
_: 1
|
|
637
637
|
}),
|
|
638
|
-
l(
|
|
638
|
+
l(Ze, {
|
|
639
639
|
class: "table-top",
|
|
640
640
|
ref_key: "multipleTableRef",
|
|
641
|
-
ref:
|
|
641
|
+
ref: Q,
|
|
642
642
|
"row-keys": "userId",
|
|
643
643
|
"list-loading": u(ie),
|
|
644
644
|
"table-data": u(de),
|
|
645
|
-
"table-label": u(
|
|
645
|
+
"table-label": u(q),
|
|
646
646
|
onTableSelected: Ue
|
|
647
647
|
}, {
|
|
648
648
|
userName: o((t) => [
|
|
649
|
-
|
|
649
|
+
D("span", null, [
|
|
650
650
|
d(n(t.data.row.loginName) + " ", 1),
|
|
651
651
|
t.data.row.approved === !0 ? (r(), p(I, {
|
|
652
652
|
key: 0,
|
|
@@ -671,11 +671,11 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
671
671
|
])
|
|
672
672
|
]),
|
|
673
673
|
sexType: o((t) => [
|
|
674
|
-
|
|
674
|
+
D("span", null, n(u(Je)(K.value, t.data.row.gender)), 1)
|
|
675
675
|
]),
|
|
676
676
|
mobileIns: o((t) => [
|
|
677
|
-
t.data.row.mobileEncrypt ? (r(), c("span",
|
|
678
|
-
t.data.row.mobilePhoneIns ? (r(), c("span",
|
|
677
|
+
t.data.row.mobileEncrypt ? (r(), c("span", Wt, n(t.data.row.mobilePhone), 1)) : (r(), c("span", Qt, n(t.data.row.mobilePhoneIns), 1)),
|
|
678
|
+
t.data.row.mobilePhoneIns ? (r(), c("span", Yt, [
|
|
679
679
|
t.data.row.phoneApproved === !0 ? (r(), p(I, {
|
|
680
680
|
key: 0,
|
|
681
681
|
size: "small",
|
|
@@ -697,24 +697,24 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
697
697
|
_: 1
|
|
698
698
|
})) : b("", !0)
|
|
699
699
|
])) : b("", !0),
|
|
700
|
-
t.data.row.mobilePhoneIns ? (r(), c("span",
|
|
700
|
+
t.data.row.mobilePhoneIns ? (r(), c("span", Gt, [
|
|
701
701
|
f(l(oe, {
|
|
702
702
|
"icon-class": "闭眼睛",
|
|
703
|
-
onClick: (w) =>
|
|
703
|
+
onClick: (w) => G(t.data.row)
|
|
704
704
|
}, null, 8, ["onClick"]), [
|
|
705
705
|
[se, !t.data.row.mobileEncrypt]
|
|
706
706
|
]),
|
|
707
707
|
f(l(oe, {
|
|
708
708
|
"icon-class": "眼睛",
|
|
709
|
-
onClick: (w) =>
|
|
709
|
+
onClick: (w) => G(t.data.row)
|
|
710
710
|
}, null, 8, ["onClick"]), [
|
|
711
711
|
[se, t.data.row.mobileEncrypt]
|
|
712
712
|
])
|
|
713
713
|
])) : b("", !0)
|
|
714
714
|
]),
|
|
715
715
|
email: o((t) => [
|
|
716
|
-
|
|
717
|
-
t.data.row.email ? (r(), c("span",
|
|
716
|
+
D("span", null, n(t.data.row.email), 1),
|
|
717
|
+
t.data.row.email ? (r(), c("span", Ht, [
|
|
718
718
|
t.data.row.emailApproved === !0 ? (r(), p(I, {
|
|
719
719
|
key: 0,
|
|
720
720
|
type: "success",
|
|
@@ -753,7 +753,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
753
753
|
d(n(e.$t("common.lock")), 1)
|
|
754
754
|
]),
|
|
755
755
|
_: 1
|
|
756
|
-
})) : (r(), c("span",
|
|
756
|
+
})) : (r(), c("span", Jt, [
|
|
757
757
|
l(le, {
|
|
758
758
|
modelValue: t.data.row.status,
|
|
759
759
|
"onUpdate:modelValue": (w) => t.data.row.status = w,
|
|
@@ -769,7 +769,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
769
769
|
onClick: (w) => ve(t.data.row)
|
|
770
770
|
}, [
|
|
771
771
|
d(n(e.$t("common.edit")), 1)
|
|
772
|
-
], 8,
|
|
772
|
+
], 8, Xt)), [
|
|
773
773
|
[h, ["rbac:user:update"]]
|
|
774
774
|
]),
|
|
775
775
|
f((r(), c("span", {
|
|
@@ -810,7 +810,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
810
810
|
]),
|
|
811
811
|
f((r(), c("div", null, [
|
|
812
812
|
l(T, {
|
|
813
|
-
onClick: (w) =>
|
|
813
|
+
onClick: (w) => Pe(t.data.row)
|
|
814
814
|
}, {
|
|
815
815
|
default: o(() => [
|
|
816
816
|
d(n(e.$t("sysUser.unlock")), 1)
|
|
@@ -825,7 +825,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
825
825
|
}, 1024)
|
|
826
826
|
]),
|
|
827
827
|
default: o(() => [
|
|
828
|
-
|
|
828
|
+
D("span", ea, [
|
|
829
829
|
d(n(e.$t("common.more")) + " ", 1),
|
|
830
830
|
l(B, { class: "el-icon--right" }, {
|
|
831
831
|
default: o(() => [
|
|
@@ -840,15 +840,15 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
840
840
|
]),
|
|
841
841
|
_: 1
|
|
842
842
|
}, 8, ["list-loading", "table-data", "table-label"]),
|
|
843
|
-
u(
|
|
843
|
+
u(A) > 0 ? (r(), p(Ke, {
|
|
844
844
|
key: 0,
|
|
845
|
-
total: u(
|
|
846
|
-
"onUpdate:total": a[7] || (a[7] = (t) => ne(
|
|
845
|
+
total: u(A),
|
|
846
|
+
"onUpdate:total": a[7] || (a[7] = (t) => ne(A) ? A.value = t : null),
|
|
847
847
|
page: m.curPage,
|
|
848
848
|
"onUpdate:page": a[8] || (a[8] = (t) => m.curPage = t),
|
|
849
849
|
limit: m.pageSize,
|
|
850
850
|
"onUpdate:limit": a[9] || (a[9] = (t) => m.pageSize = t),
|
|
851
|
-
onPagination: u(
|
|
851
|
+
onPagination: u(Y)
|
|
852
852
|
}, null, 8, ["total", "page", "limit", "onPagination"])) : b("", !0),
|
|
853
853
|
E.visible ? (r(), p(St, {
|
|
854
854
|
key: 1,
|
|
@@ -857,16 +857,16 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
857
857
|
onDialogEvent: $e,
|
|
858
858
|
onRefresh: Ee
|
|
859
859
|
}, null, 8, ["dialog", "form-data"])) : b("", !0),
|
|
860
|
-
l(
|
|
860
|
+
l(Oe, {
|
|
861
861
|
title: e.$t("common.resetPwd"),
|
|
862
862
|
modelValue: u($),
|
|
863
863
|
"onUpdate:modelValue": a[12] || (a[12] = (t) => ne($) ? $.value = t : $ = t),
|
|
864
864
|
width: "550px",
|
|
865
|
-
onClose:
|
|
865
|
+
onClose: H
|
|
866
866
|
}, {
|
|
867
867
|
footer: o(() => [
|
|
868
|
-
|
|
869
|
-
l(_, { onClick:
|
|
868
|
+
D("div", ta, [
|
|
869
|
+
l(_, { onClick: H }, {
|
|
870
870
|
default: o(() => [
|
|
871
871
|
d(n(e.$t("common.cancel")), 1)
|
|
872
872
|
]),
|
|
@@ -884,7 +884,7 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
884
884
|
])
|
|
885
885
|
]),
|
|
886
886
|
default: o(() => [
|
|
887
|
-
l(
|
|
887
|
+
l(X, {
|
|
888
888
|
ref_key: "passwordFormRef",
|
|
889
889
|
ref: z,
|
|
890
890
|
model: u(C),
|
|
@@ -930,13 +930,13 @@ const Qt = { class: "app-container" }, Wt = /* @__PURE__ */ P("div", { class: "c
|
|
|
930
930
|
]),
|
|
931
931
|
_: 1
|
|
932
932
|
}, 8, ["title", "modelValue"]),
|
|
933
|
-
R.value ? (r(), p(
|
|
933
|
+
R.value ? (r(), p(Qe, {
|
|
934
934
|
key: 2,
|
|
935
935
|
"upload-visible": R.value,
|
|
936
936
|
"template-title": e.$t("sysUser.templateDownload"),
|
|
937
937
|
onTemplateDown: Ne,
|
|
938
|
-
onImportEvents:
|
|
939
|
-
onUploadClosed:
|
|
938
|
+
onImportEvents: qe,
|
|
939
|
+
onUploadClosed: Ae
|
|
940
940
|
}, null, 8, ["upload-visible", "template-title"])) : b("", !0)
|
|
941
941
|
]);
|
|
942
942
|
};
|