jmash-core 0.1.17 → 0.1.19
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-B-xPz9LF.mjs → 401-CQMri0nX.mjs} +9 -9
- package/dist/{404-D6qLFrds.mjs → 404-CDfv-CCs.mjs} +4 -4
- package/dist/{BarChart-DUGSmZyQ.mjs → BarChart-CACxjw71.mjs} +6 -6
- package/dist/{index-CIsDsOWA.mjs → index-BD4Gujon.mjs} +9593 -9219
- package/dist/index-BLIB9EUa.mjs +2163 -0
- package/dist/{index-AwPbizZV.mjs → index-Dl15NUoZ.mjs} +21 -21
- package/dist/index-VxSky12H.mjs +257 -0
- package/dist/{index-DCziYkYK.mjs → index-dkuM7C9F.mjs} +14 -14
- package/dist/{index-CZJ3UhUM.mjs → index-gUMOTzZ1.mjs} +7 -7
- package/dist/index.mjs +61 -59
- package/dist/{profile-GQvC9C8o.mjs → profile-CeMFTyxu.mjs} +29 -29
- package/dist/{runAs-Dwg7Iuqd.mjs → runAs-CKJ26HTt.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-BtQpSMZg.mjs → runAs.vue_vue_type_script_setup_true_lang-CIsxY_vn.mjs} +138 -138
- package/dist/style.css +1 -1
- package/dist/{types-BuuQJDxb.mjs → types-D9Z0uPWX.mjs} +10 -10
- package/dist/{updatePwd-5svDyP7G.mjs → updatePwd-D4kZMk8p.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-C8rArYsn.mjs → updatePwd.vue_vue_type_script_setup_true_lang-C8mlen_N.mjs} +10 -10
- package/dts/src/api/auth/index.d.ts +2 -1
- package/dts/src/api/auth/types.d.ts +12 -0
- package/dts/src/api/change/index.d.ts +5 -0
- package/dts/src/api/change/types.d.ts +11 -5
- package/dts/src/components/ForgetPwd/index.vue.d.ts +6 -0
- package/dts/src/components/ForgotPwd/index.vue.d.ts +6 -0
- package/dts/src/components/GraphicValidate/index.vue.d.ts +8 -0
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +1 -1
- package/dts/src/components/NameValidate/index.vue.d.ts +63 -0
- package/dts/src/index.d.ts +4 -3
- package/dts/src/lang/package/zh-cn.d.ts +36 -1
- package/dts/src/layout/components/NavBar/components/ChangeWechatBind.vue.d.ts +6 -2
- package/dts/src/layout/components/NavBar/components/QrCode.vue.d.ts +18 -0
- package/package.json +1 -1
- package/dist/index-CNS2LvqZ.mjs +0 -244
- package/dist/index-Cb2jBye0.mjs +0 -1817
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var y = (m, p, i) =>
|
|
4
|
-
import {
|
|
5
|
-
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, createElementBlock as k, openBlock as c, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as
|
|
1
|
+
var B = Object.defineProperty;
|
|
2
|
+
var z = (m, p, i) => p in m ? B(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
|
|
3
|
+
var y = (m, p, i) => z(m, typeof p != "symbol" ? p + "" : p, i);
|
|
4
|
+
import { I as F, a as K, J as T, K as H, L as Q, M as W, N as X, f as Z } from "./index-BD4Gujon.mjs";
|
|
5
|
+
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, createElementBlock as k, openBlock as c, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as N, renderList as $, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
|
|
6
6
|
import { ElMessage as ae } from "element-plus";
|
|
7
7
|
class U {
|
|
8
8
|
}
|
|
@@ -11,7 +11,7 @@ y(U, "MODULE_ORGAN", "rbac"), // 性别
|
|
|
11
11
|
y(U, "GENDER", "jmash.protobuf.Gender");
|
|
12
12
|
class D {
|
|
13
13
|
}
|
|
14
|
-
y(D, "genderEnum", new
|
|
14
|
+
y(D, "genderEnum", new F(U.MODULE_ORGAN, U.GENDER));
|
|
15
15
|
const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @__PURE__ */ x({
|
|
16
16
|
name: "ProfilePage",
|
|
17
17
|
inheritAttrs: !1,
|
|
@@ -20,7 +20,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
20
20
|
const p = V(), i = V(), v = V();
|
|
21
21
|
let l = ee({
|
|
22
22
|
user: {
|
|
23
|
-
tenant:
|
|
23
|
+
tenant: K().user.tenant,
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
25
|
updateMask: "nickName,gender,birthDate,realName,avatar",
|
|
26
26
|
userJobs: [
|
|
@@ -32,7 +32,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
function R() {
|
|
35
|
-
|
|
35
|
+
H().then(({ data: e }) => {
|
|
36
36
|
var o;
|
|
37
37
|
l.user = Object.assign(l.user, { ...e }), ((o = l.user.userJobs) == null ? void 0 : o.length) === 0 && (l.user.userJobs = [
|
|
38
38
|
{
|
|
@@ -53,14 +53,14 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
53
53
|
jobId: ""
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function M(e) {
|
|
57
57
|
var o;
|
|
58
58
|
(o = l.user.userJobs) == null || o.splice(e, 1);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function j(e) {
|
|
61
61
|
l.user.avatar = e;
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const w = () => {
|
|
64
64
|
X(l.user).then((e) => {
|
|
65
65
|
l.user.requestId = Math.random() * 10 + "", e.status === 200 && ae({
|
|
66
66
|
message: "个人信息修改成功",
|
|
@@ -69,9 +69,9 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
return R(), (e, o) => {
|
|
72
|
-
const
|
|
72
|
+
const C = T, u = n("el-form-item"), f = n("el-input"), g = n("el-tree-select"), b = n("el-col"), q = n("CirclePlus"), I = n("el-icon"), Y = n("Remove"), A = n("el-row"), P = n("el-option"), G = n("el-select"), O = n("el-date-picker"), S = n("el-button"), L = n("el-form");
|
|
73
73
|
return c(), k("div", oe, [
|
|
74
|
-
t(
|
|
74
|
+
t(L, {
|
|
75
75
|
ref_key: "userInfoRef",
|
|
76
76
|
ref: p,
|
|
77
77
|
mode: s(l).user,
|
|
@@ -82,9 +82,9 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
82
82
|
label: e.$t("sysUser.avatar")
|
|
83
83
|
}, {
|
|
84
84
|
default: a(() => [
|
|
85
|
-
t(
|
|
85
|
+
t(C, {
|
|
86
86
|
"picture-url": s(l).user.avatar,
|
|
87
|
-
onImageSrc:
|
|
87
|
+
onImageSrc: j
|
|
88
88
|
}, null, 8, ["picture-url"])
|
|
89
89
|
]),
|
|
90
90
|
_: 1
|
|
@@ -93,7 +93,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
93
93
|
label: e.$t("sysUser.phoneNumber")
|
|
94
94
|
}, {
|
|
95
95
|
default: a(() => [
|
|
96
|
-
t(
|
|
96
|
+
t(f, {
|
|
97
97
|
modelValue: s(l).user.mobilePhone,
|
|
98
98
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => s(l).user.mobilePhone = r),
|
|
99
99
|
readonly: ""
|
|
@@ -105,7 +105,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
105
105
|
label: e.$t("sysUser.email")
|
|
106
106
|
}, {
|
|
107
107
|
default: a(() => [
|
|
108
|
-
t(
|
|
108
|
+
t(f, {
|
|
109
109
|
modelValue: s(l).user.email,
|
|
110
110
|
"onUpdate:modelValue": o[1] || (o[1] = (r) => s(l).user.email = r),
|
|
111
111
|
readonly: ""
|
|
@@ -114,12 +114,12 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
114
114
|
_: 1
|
|
115
115
|
}, 8, ["label"]),
|
|
116
116
|
le("div", re, [
|
|
117
|
-
(c(!0), k(
|
|
117
|
+
(c(!0), k(N, null, $(s(l).user.userJobs, (r, d) => (c(), h(A, {
|
|
118
118
|
key: d,
|
|
119
119
|
style: { width: "100%" }
|
|
120
120
|
}, {
|
|
121
121
|
default: a(() => [
|
|
122
|
-
t(
|
|
122
|
+
t(b, { span: 12 }, {
|
|
123
123
|
default: a(() => [
|
|
124
124
|
t(u, {
|
|
125
125
|
label: e.$t("sysUser.department"),
|
|
@@ -142,7 +142,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
142
142
|
]),
|
|
143
143
|
_: 2
|
|
144
144
|
}, 1024),
|
|
145
|
-
t(
|
|
145
|
+
t(b, { span: 11 }, {
|
|
146
146
|
default: a(() => [
|
|
147
147
|
t(u, {
|
|
148
148
|
label: e.$t("sysUser.position"),
|
|
@@ -165,7 +165,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
165
165
|
]),
|
|
166
166
|
_: 2
|
|
167
167
|
}, 1024),
|
|
168
|
-
d == 0 ? (c(), h(
|
|
168
|
+
d == 0 ? (c(), h(b, {
|
|
169
169
|
key: 0,
|
|
170
170
|
span: 1,
|
|
171
171
|
class: "position-center"
|
|
@@ -183,7 +183,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
183
183
|
]),
|
|
184
184
|
_: 1
|
|
185
185
|
})) : J("", !0),
|
|
186
|
-
d !== 0 ? (c(), h(
|
|
186
|
+
d !== 0 ? (c(), h(b, {
|
|
187
187
|
key: 1,
|
|
188
188
|
span: 1,
|
|
189
189
|
class: "position-center"
|
|
@@ -191,10 +191,10 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
191
191
|
default: a(() => [
|
|
192
192
|
t(I, {
|
|
193
193
|
size: "16",
|
|
194
|
-
onClick: (_) =>
|
|
194
|
+
onClick: (_) => M(d)
|
|
195
195
|
}, {
|
|
196
196
|
default: a(() => [
|
|
197
|
-
t(
|
|
197
|
+
t(Y)
|
|
198
198
|
]),
|
|
199
199
|
_: 2
|
|
200
200
|
}, 1032, ["onClick"])
|
|
@@ -210,7 +210,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
210
210
|
prop: "nickName"
|
|
211
211
|
}, {
|
|
212
212
|
default: a(() => [
|
|
213
|
-
t(
|
|
213
|
+
t(f, {
|
|
214
214
|
modelValue: s(l).user.nickName,
|
|
215
215
|
"onUpdate:modelValue": o[2] || (o[2] = (r) => s(l).user.nickName = r),
|
|
216
216
|
clearable: "",
|
|
@@ -224,7 +224,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
224
224
|
prop: "realName"
|
|
225
225
|
}, {
|
|
226
226
|
default: a(() => [
|
|
227
|
-
t(
|
|
227
|
+
t(f, {
|
|
228
228
|
modelValue: s(l).user.realName,
|
|
229
229
|
"onUpdate:modelValue": o[3] || (o[3] = (r) => s(l).user.realName = r),
|
|
230
230
|
clearable: "",
|
|
@@ -238,14 +238,14 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
238
238
|
prop: "gender"
|
|
239
239
|
}, {
|
|
240
240
|
default: a(() => [
|
|
241
|
-
t(
|
|
241
|
+
t(G, {
|
|
242
242
|
modelValue: s(l).user.gender,
|
|
243
243
|
"onUpdate:modelValue": o[4] || (o[4] = (r) => s(l).user.gender = r),
|
|
244
244
|
placeholder: e.$t("sysUser.genderRequired"),
|
|
245
245
|
clearable: ""
|
|
246
246
|
}, {
|
|
247
247
|
default: a(() => [
|
|
248
|
-
(c(!0), k(
|
|
248
|
+
(c(!0), k(N, null, $(s(D).genderEnum.values, (r) => (c(), h(P, {
|
|
249
249
|
key: r.key,
|
|
250
250
|
label: r.value,
|
|
251
251
|
value: r.key
|
|
@@ -277,7 +277,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
277
277
|
default: a(() => [
|
|
278
278
|
t(S, {
|
|
279
279
|
type: "primary",
|
|
280
|
-
onClick:
|
|
280
|
+
onClick: w
|
|
281
281
|
}, {
|
|
282
282
|
default: a(() => [
|
|
283
283
|
te(se(e.$t("common.save")), 1)
|