jmash-core 0.0.119 → 0.0.121
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/README.md +57 -57
- package/dist/{401-D7PE4TJy.mjs → 401-BVj-DLTH.mjs} +2 -2
- package/dist/{404-Bs8FPMKh.mjs → 404-D0-6YAkN.mjs} +3 -3
- package/dist/{BarChart-B3_HZPlF.mjs → BarChart-jflwwhlt.mjs} +2 -2
- package/dist/{index-Cy7SCoYi.mjs → index-BOe-vAHI.mjs} +16 -16
- package/dist/{index-B7-vU0WO.mjs → index-Ccfs6lWV.mjs} +113 -105
- package/dist/{index-4qgh8mbP.mjs → index-DuBk1WyJ.mjs} +2 -2
- package/dist/{index-DaEbsuDZ.mjs → index-LyQGxVqn.mjs} +4 -4
- package/dist/{index-D_mzVlvI.mjs → index-W3vpG8oR.mjs} +10 -10
- package/dist/index.mjs +1 -1
- package/dist/{profile-CZ-ecBX9.mjs → profile-4dYsVdau.mjs} +89 -87
- package/dist/{runAs-DhY2B3FN.mjs → runAs-DpTpQ-ip.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-XoDTPdXi.mjs → runAs.vue_vue_type_script_setup_true_lang-D8yPVlCt.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{types-Czx0sY-a.mjs → types-BvF_68j6.mjs} +1 -1
- package/dist/{updatePwd-DyJnUmJt.mjs → updatePwd-DoRz-ohG.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-D6PS5B_A.mjs → updatePwd.vue_vue_type_script_setup_true_lang-EaMGi74m.mjs} +1 -1
- package/dts/src/api/file/index.d.ts +5 -0
- package/dts/src/index.d.ts +2 -0
- package/dts/src/lang/package/zh-cn.d.ts +1 -0
- package/package.json +87 -87
- package/dts/src/api/system/dept/index.d.ts +0 -91
- package/dts/src/api/system/dept/types.d.ts +0 -63
- package/dts/src/api/system/index.d.ts +0 -7
- package/dts/src/api/system/job/index.d.ts +0 -42
- package/dts/src/api/system/job/types.d.ts +0 -60
- package/dts/src/api/system/log/index.d.ts +0 -29
- package/dts/src/api/system/log/types.d.ts +0 -42
- package/dts/src/api/system/menu/index.d.ts +0 -103
- package/dts/src/api/system/menu/types.d.ts +0 -96
- package/dts/src/api/system/module/index.d.ts +0 -57
- package/dts/src/api/system/module/types.d.ts +0 -13
- package/dts/src/api/system/operation/index.d.ts +0 -51
- package/dts/src/api/system/operation/types.d.ts +0 -12
- package/dts/src/api/system/permission/index.d.ts +0 -50
- package/dts/src/api/system/permission/types.d.ts +0 -12
- package/dts/src/api/system/role/index.d.ts +0 -77
- package/dts/src/api/system/role/types.d.ts +0 -26
- package/dts/src/api/system/user/index.d.ts +0 -133
- package/dts/src/api/system/user/types.d.ts +0 -53
- package/dts/src/api/system/userLog/index.d.ts +0 -29
- package/dts/src/api/system/userLog/types.d.ts +0 -22
- package/dts/src/assets/components/a-fixed.vue.d.ts +0 -2
- package/dts/src/assets/components/a-list.vue.d.ts +0 -2
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +0 -2
- package/dts/src/assets/components/api.vue.d.ts +0 -2
- package/dts/src/assets/components/bumenguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +0 -2
- package/dts/src/assets/components/captcha.vue.d.ts +0 -2
- package/dts/src/assets/components/cascader.vue.d.ts +0 -2
- package/dts/src/assets/components/client.vue.d.ts +0 -2
- package/dts/src/assets/components/close-all.vue.d.ts +0 -2
- package/dts/src/assets/components/close-left.vue.d.ts +0 -2
- package/dts/src/assets/components/close-other.vue.d.ts +0 -2
- package/dts/src/assets/components/close-right.vue.d.ts +0 -2
- package/dts/src/assets/components/close.vue.d.ts +0 -2
- package/dts/src/assets/components/dict.vue.d.ts +0 -2
- package/dts/src/assets/components/document.vue.d.ts +0 -2
- package/dts/src/assets/components/download.vue.d.ts +0 -2
- package/dts/src/assets/components/drag.vue.d.ts +0 -2
- package/dts/src/assets/components/edit.vue.d.ts +0 -2
- package/dts/src/assets/components/email.vue.d.ts +0 -2
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +0 -2
- package/dts/src/assets/components/eye-open.vue.d.ts +0 -2
- package/dts/src/assets/components/eye.vue.d.ts +0 -2
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +0 -2
- package/dts/src/assets/components/fullscreen.vue.d.ts +0 -2
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/github.vue.d.ts +0 -2
- package/dts/src/assets/components/homepage.vue.d.ts +0 -2
- package/dts/src/assets/components/icon-eye.vue.d.ts +0 -2
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +0 -2
- package/dts/src/assets/components/icon.vue.d.ts +0 -2
- package/dts/src/assets/components/indent-decrease.vue.d.ts +0 -2
- package/dts/src/assets/components/ip.vue.d.ts +0 -2
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +0 -2
- package/dts/src/assets/components/language.vue.d.ts +0 -2
- package/dts/src/assets/components/link.vue.d.ts +0 -2
- package/dts/src/assets/components/lock.vue.d.ts +0 -2
- package/dts/src/assets/components/log.vue.d.ts +0 -2
- package/dts/src/assets/components/menu.vue.d.ts +0 -2
- package/dts/src/assets/components/message.vue.d.ts +0 -2
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/money.vue.d.ts +0 -2
- package/dts/src/assets/components/monitor.vue.d.ts +0 -2
- package/dts/src/assets/components/moon.vue.d.ts +0 -2
- package/dts/src/assets/components/order.vue.d.ts +0 -2
- package/dts/src/assets/components/password.vue.d.ts +0 -2
- package/dts/src/assets/components/peoples.vue.d.ts +0 -2
- package/dts/src/assets/components/phone.vue.d.ts +0 -2
- package/dts/src/assets/components/project.vue.d.ts +0 -2
- package/dts/src/assets/components/publish.vue.d.ts +0 -2
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/redis.vue.d.ts +0 -2
- package/dts/src/assets/components/refresh.vue.d.ts +0 -2
- package/dts/src/assets/components/role.vue.d.ts +0 -2
- package/dts/src/assets/components/security.vue.d.ts +0 -2
- package/dts/src/assets/components/setting.vue.d.ts +0 -2
- package/dts/src/assets/components/shoujihao.vue.d.ts +0 -2
- package/dts/src/assets/components/shrink.vue.d.ts +0 -2
- package/dts/src/assets/components/size.vue.d.ts +0 -2
- package/dts/src/assets/components/sunny.vue.d.ts +0 -2
- package/dts/src/assets/components/system.vue.d.ts +0 -2
- package/dts/src/assets/components/table.vue.d.ts +0 -2
- package/dts/src/assets/components/team.vue.d.ts +0 -2
- package/dts/src/assets/components/todolist.vue.d.ts +0 -2
- package/dts/src/assets/components/tree.vue.d.ts +0 -2
- package/dts/src/assets/components/user.vue.d.ts +0 -2
- package/dts/src/assets/components/visit.vue.d.ts +0 -2
- package/dts/src/assets/components/xingming.vue.d.ts +0 -2
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/youxiang.vue.d.ts +0 -2
- package/dts/src/components/DictRadio/index.vue.d.ts +0 -32
- package/dts/src/components/DictSelect/index.vue.d.ts +0 -50
- package/dts/src/components/Pagination/index.vue.d.ts +0 -88
- package/dts/src/components/Table/index.vue.d.ts +0 -64
- package/dts/src/components/TableSet/index.vue.d.ts +0 -30
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -65
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +0 -18
- package/dts/src/components/Upload/importUpload.vue.d.ts +0 -31
- package/dts/src/components/Upload/index.vue.d.ts +0 -18
- package/dts/src/hooks/useColumnToggleTable.d.ts +0 -7
- package/dts/src/views/system/dept/edit.vue.d.ts +0 -31
- package/dts/src/views/system/dept/index.vue.d.ts +0 -2
- package/dts/src/views/system/job/edit.vue.d.ts +0 -30
- package/dts/src/views/system/job/index.vue.d.ts +0 -2
- package/dts/src/views/system/log/oplog/index.vue.d.ts +0 -2
- package/dts/src/views/system/log/userLog/index.vue.d.ts +0 -2
- package/dts/src/views/system/menu/edit.vue.d.ts +0 -31
- package/dts/src/views/system/menu/index.vue.d.ts +0 -2
- package/dts/src/views/system/module/edit.vue.d.ts +0 -31
- package/dts/src/views/system/module/index.vue.d.ts +0 -2
- package/dts/src/views/system/operation/edit.vue.d.ts +0 -31
- package/dts/src/views/system/operation/index.vue.d.ts +0 -2
- package/dts/src/views/system/permission/edit.vue.d.ts +0 -30
- package/dts/src/views/system/permission/index.vue.d.ts +0 -2
- package/dts/src/views/system/role/edit.vue.d.ts +0 -31
- package/dts/src/views/system/role/index.vue.d.ts +0 -2
- package/dts/src/views/system/user/edit.vue.d.ts +0 -31
- package/dts/src/views/system/user/index.vue.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as i, u as F, b as S, o as D, e as N, z as k, v as T, A as J, h as _, i as $ } from "./index-
|
|
1
|
+
import { x as i, u as F, b as S, o as D, e as N, z as k, v as T, A as J, h as _, i as $ } from "./index-Ccfs6lWV.mjs";
|
|
2
2
|
import { defineComponent as AA, ref as K, computed as rA, watchEffect as VA, resolveComponent as Y, openBlock as eA, createElementBlock as WA, createElementVNode as V, createVNode as e, unref as B, withCtx as C, normalizeStyle as sA, withDirectives as M, vShow as m, withKeys as w, withModifiers as tA, createTextVNode as qA, toDisplayString as R, normalizeClass as CA } from "vue";
|
|
3
3
|
import { useI18n as uA } from "vue-i18n";
|
|
4
4
|
import "element-plus";
|
|
@@ -222,7 +222,7 @@ const vA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4sAAAKdCAYAAACK6/xRAA
|
|
|
222
222
|
]);
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
}), bA = /* @__PURE__ */ $(iA, [["__scopeId", "data-v-
|
|
225
|
+
}), bA = /* @__PURE__ */ $(iA, [["__scopeId", "data-v-6e98de56"]]);
|
|
226
226
|
export {
|
|
227
227
|
bA as default
|
|
228
228
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as U } from "./RadarChart.vue_vue_type_script_setup_true_lang-CPbv9lgv.mjs";
|
|
2
2
|
import { _ as A } from "./PieChart.vue_vue_type_script_setup_true_lang-B4J5buH_.mjs";
|
|
3
|
-
import Z from "./BarChart-
|
|
4
|
-
import { i as B, f as q, b as F, q as f, t as x, _ as G } from "./index-
|
|
3
|
+
import Z from "./BarChart-jflwwhlt.mjs";
|
|
4
|
+
import { i as B, f as q, b as F, q as f, t as x, _ as G } from "./index-Ccfs6lWV.mjs";
|
|
5
5
|
import { openBlock as b, createElementBlock as C, createElementVNode as t, defineComponent as H, computed as k, ref as p, resolveComponent as c, createVNode as s, withCtx as n, unref as l, toDisplayString as r, createTextVNode as u } from "vue";
|
|
6
6
|
const R = {}, J = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
@@ -33,7 +33,7 @@ function Q(I, _) {
|
|
|
33
33
|
])))
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
36
|
-
const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-
|
|
36
|
+
const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-5088dedb"]]), X = { class: "dashboard-container" }, Y = { class: "flex h-full items-center" }, tt = ["src"], et = { class: "flex h-full items-center justify-around" }, st = { class: "flex items-center" }, nt = { class: "flex items-center" }, ot = { class: "flex items-center" }, lt = { class: "flex items-center justify-between" }, at = { class: "flex items-center justify-between mt-5" }, rt = { class: "text-lg text-right" }, it = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, dt = { class: "flex items-center justify-between" }, ct = { class: "flex items-center justify-between mt-5" }, ut = { class: "text-lg text-right" }, _t = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, mt = { class: "flex items-center justify-between" }, ft = { class: "flex items-center justify-between mt-5" }, xt = { class: "text-lg text-right" }, pt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, vt = { class: "flex items-center justify-between" }, ht = { class: "flex items-center justify-between mt-5" }, gt = { class: "text-lg text-right" }, bt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, v = 5e3, Ct = /* @__PURE__ */ H({
|
|
37
37
|
name: "Dashboard",
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "index",
|
|
@@ -361,7 +361,7 @@ const W = /* @__PURE__ */ B(R, [["render", Q], ["__scopeId", "data-v-431733f3"]]
|
|
|
361
361
|
]);
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
|
-
}), zt = /* @__PURE__ */ B(Ct, [["__scopeId", "data-v-
|
|
364
|
+
}), zt = /* @__PURE__ */ B(Ct, [["__scopeId", "data-v-496f50be"]]);
|
|
365
365
|
export {
|
|
366
366
|
zt as default
|
|
367
367
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as v, ref as y, resolveComponent as d, openBlock as c, createElementBlock as i, createElementVNode as s, Fragment as x, renderList as k, unref as _, toDisplayString as C, createVNode as g, withCtx as w } from "vue";
|
|
2
|
-
import { b as p, p as B, f as R, i as
|
|
3
|
-
import { useRoute as
|
|
4
|
-
const
|
|
2
|
+
import { b as p, p as B, f as R, i as b } from "./index-Ccfs6lWV.mjs";
|
|
3
|
+
import { useRoute as q, useRouter as A } from "vue-router";
|
|
4
|
+
const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["onClick"], S = ["src"], U = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(I) {
|
|
7
|
-
const m =
|
|
7
|
+
const m = q(), h = A(), f = p(), l = y([]);
|
|
8
8
|
B().then((t) => {
|
|
9
9
|
t.data.results.length === 1 && u(t.data.results[0]), l.value = t.data.results;
|
|
10
10
|
});
|
|
@@ -17,9 +17,9 @@ const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["on
|
|
|
17
17
|
};
|
|
18
18
|
return (t, n) => {
|
|
19
19
|
const a = d("ArrowRightBold"), o = d("el-icon");
|
|
20
|
-
return c(), i("div",
|
|
20
|
+
return c(), i("div", L, [
|
|
21
21
|
n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
|
|
22
|
-
s("div",
|
|
22
|
+
s("div", N, [
|
|
23
23
|
(c(!0), i(x, null, k(_(l), (e) => (c(), i("div", {
|
|
24
24
|
class: "organ-content_item",
|
|
25
25
|
key: e.organId,
|
|
@@ -28,20 +28,20 @@ const N = { class: "organ-container" }, O = { class: "organ-content" }, S = ["on
|
|
|
28
28
|
s("img", {
|
|
29
29
|
src: _(R).imageUrl(e.logoUrl || "/wxapp/images/user/avatar.png", 60, 60),
|
|
30
30
|
alt: "logo"
|
|
31
|
-
}, null, 8,
|
|
32
|
-
s("div",
|
|
31
|
+
}, null, 8, S),
|
|
32
|
+
s("div", U, C(e.organName), 1),
|
|
33
33
|
g(o, null, {
|
|
34
34
|
default: w(() => [
|
|
35
35
|
g(a)
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
|
38
38
|
})
|
|
39
|
-
], 8,
|
|
39
|
+
], 8, O))), 128))
|
|
40
40
|
])
|
|
41
41
|
]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}), F = /* @__PURE__ */
|
|
44
|
+
}), F = /* @__PURE__ */ b(E, [["__scopeId", "data-v-423bd901"]]);
|
|
45
45
|
export {
|
|
46
46
|
F as default
|
|
47
47
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as t, a6 as r, au as o, a7 as i, as as u, a9 as n, B as g, aq as p, ar as d, am as c, an as l, ao as m, ap as P, at as S, S as E, af as f, Z as k, U as y, V as D, O as M, a1 as b, A as v, a2 as A, Q as R, e as L, P as h, a8 as z, f as B, a3 as C, v as H, a0 as U, a4 as V, j as x, ab as O, R as Q, p as T, z as W, N as j, ak as q, r as w, ac as K, K as F, aa as I, ag as N, W as X, al as Y, $ as Z, X as $, Y as G, u as J, ah as _, ad as aa, k as ea, ai as sa, c as ta, ae as ra, a as oa, b as ia, aj as ua, x as na } from "./index-
|
|
1
|
+
import { a5 as t, a6 as r, au as o, a7 as i, as as u, a9 as n, B as g, aq as p, ar as d, am as c, an as l, ao as m, ap as P, at as S, S as E, af as f, Z as k, U as y, V as D, O as M, a1 as b, A as v, a2 as A, Q as R, e as L, P as h, a8 as z, f as B, a3 as C, v as H, a0 as U, a4 as V, j as x, ab as O, R as Q, p as T, z as W, N as j, ak as q, r as w, ac as K, K as F, aa as I, ag as N, W as X, al as Y, $ as Z, X as $, Y as G, u as J, ah as _, ad as aa, k as ea, ai as sa, c as ta, ae as ra, a as oa, b as ia, aj as ua, x as na } from "./index-Ccfs6lWV.mjs";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
export {
|
|
4
4
|
t as BizDict,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var F = Object.defineProperty;
|
|
2
2
|
var L = (m, p, i) => p in m ? F(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
|
|
3
3
|
var y = (m, p, i) => L(m, typeof p != "symbol" ? p + "" : p, i);
|
|
4
|
-
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-
|
|
5
|
-
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, openBlock as c, createElementBlock as k, createVNode as t, unref as s, withCtx as
|
|
6
|
-
import { ElMessage as
|
|
7
|
-
class
|
|
4
|
+
import { B as z, b as H, C as T, F as K, G as Q, H as W, I as X, i as Z } from "./index-Ccfs6lWV.mjs";
|
|
5
|
+
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, openBlock as c, createElementBlock as k, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as $, renderList as N, createBlock as U, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
|
|
6
|
+
import { ElMessage as ae } from "element-plus";
|
|
7
|
+
class h {
|
|
8
8
|
}
|
|
9
9
|
//模块
|
|
10
|
-
y(
|
|
11
|
-
y(
|
|
10
|
+
y(h, "MODULE_ORGAN", "rbac"), // 性别
|
|
11
|
+
y(h, "GENDER", "jmash.protobuf.Gender");
|
|
12
12
|
class D {
|
|
13
13
|
}
|
|
14
|
-
y(D, "genderEnum", new z(
|
|
15
|
-
const
|
|
14
|
+
y(D, "genderEnum", new z(h.MODULE_ORGAN, h.GENDER));
|
|
15
|
+
const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @__PURE__ */ x({
|
|
16
16
|
__name: "profile",
|
|
17
17
|
setup(m) {
|
|
18
18
|
const p = V(), i = V(), v = V();
|
|
19
|
-
let
|
|
19
|
+
let l = ee({
|
|
20
20
|
user: {
|
|
21
21
|
tenant: H().user.tenant,
|
|
22
22
|
requestId: Math.random() * 10 + "",
|
|
@@ -30,106 +30,108 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
function R() {
|
|
33
|
-
T().then(({ data:
|
|
34
|
-
var
|
|
35
|
-
|
|
33
|
+
T().then(({ data: e }) => {
|
|
34
|
+
var o;
|
|
35
|
+
l.user = Object.assign(l.user, { ...e }), ((o = l.user.userJobs) == null ? void 0 : o.length) === 0 && (l.user.userJobs = [
|
|
36
36
|
{
|
|
37
37
|
deptId: "",
|
|
38
38
|
jobId: ""
|
|
39
39
|
}
|
|
40
40
|
]);
|
|
41
|
-
}), K().then(({ data:
|
|
42
|
-
i.value =
|
|
43
|
-
}), Q().then(({ data:
|
|
44
|
-
v.value =
|
|
41
|
+
}), K().then(({ data: e }) => {
|
|
42
|
+
i.value = e.results;
|
|
43
|
+
}), Q().then(({ data: e }) => {
|
|
44
|
+
v.value = e.results;
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
function E() {
|
|
48
|
-
var
|
|
49
|
-
|
|
48
|
+
var e;
|
|
49
|
+
l.user.userJobs && l.user.userJobs.length < 5 && ((e = l.user.userJobs) == null || e.push({
|
|
50
50
|
deptId: "",
|
|
51
51
|
jobId: ""
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
|
-
function C(
|
|
55
|
-
var
|
|
56
|
-
(
|
|
54
|
+
function C(e) {
|
|
55
|
+
var o;
|
|
56
|
+
(o = l.user.userJobs) == null || o.splice(e, 1);
|
|
57
57
|
}
|
|
58
|
-
function M(
|
|
59
|
-
|
|
58
|
+
function M(e) {
|
|
59
|
+
l.user.avatar = e;
|
|
60
60
|
}
|
|
61
61
|
const j = () => {
|
|
62
|
-
W(
|
|
63
|
-
|
|
62
|
+
W(l.user).then((e) => {
|
|
63
|
+
l.user.requestId = Math.random() * 10 + "", e.status === 200 && ae({
|
|
64
64
|
message: "个人信息修改成功",
|
|
65
65
|
type: "success"
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
};
|
|
69
|
-
return R(), (
|
|
69
|
+
return R(), (e, o) => {
|
|
70
70
|
const w = X, u = n("el-form-item"), b = n("el-input"), g = n("el-tree-select"), f = n("el-col"), q = n("CirclePlus"), I = n("el-icon"), Y = n("Remove"), A = n("el-row"), G = n("el-option"), O = n("el-select"), S = n("el-date-picker"), B = n("el-button"), P = n("el-form");
|
|
71
|
-
return c(), k("div",
|
|
71
|
+
return c(), k("div", oe, [
|
|
72
72
|
t(P, {
|
|
73
73
|
ref_key: "userInfoRef",
|
|
74
74
|
ref: p,
|
|
75
|
-
mode: s(
|
|
75
|
+
mode: s(l).user,
|
|
76
76
|
"label-width": "80px"
|
|
77
77
|
}, {
|
|
78
|
-
default:
|
|
79
|
-
t(u,
|
|
80
|
-
|
|
78
|
+
default: a(() => [
|
|
79
|
+
t(u, {
|
|
80
|
+
label: e.$t("sysUser.avatar")
|
|
81
|
+
}, {
|
|
82
|
+
default: a(() => [
|
|
81
83
|
t(w, {
|
|
82
|
-
"picture-url": s(
|
|
84
|
+
"picture-url": s(l).user.avatar,
|
|
83
85
|
onImageSrc: M
|
|
84
86
|
}, null, 8, ["picture-url"])
|
|
85
87
|
]),
|
|
86
88
|
_: 1
|
|
87
|
-
}),
|
|
89
|
+
}, 8, ["label"]),
|
|
88
90
|
t(u, {
|
|
89
|
-
label:
|
|
91
|
+
label: e.$t("sysUser.phoneNumber")
|
|
90
92
|
}, {
|
|
91
|
-
default:
|
|
93
|
+
default: a(() => [
|
|
92
94
|
t(b, {
|
|
93
|
-
modelValue: s(
|
|
94
|
-
"onUpdate:modelValue":
|
|
95
|
+
modelValue: s(l).user.mobilePhone,
|
|
96
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => s(l).user.mobilePhone = r),
|
|
95
97
|
readonly: ""
|
|
96
98
|
}, null, 8, ["modelValue"])
|
|
97
99
|
]),
|
|
98
100
|
_: 1
|
|
99
101
|
}, 8, ["label"]),
|
|
100
102
|
t(u, {
|
|
101
|
-
label:
|
|
103
|
+
label: e.$t("sysUser.email")
|
|
102
104
|
}, {
|
|
103
|
-
default:
|
|
105
|
+
default: a(() => [
|
|
104
106
|
t(b, {
|
|
105
|
-
modelValue: s(
|
|
106
|
-
"onUpdate:modelValue":
|
|
107
|
+
modelValue: s(l).user.email,
|
|
108
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => s(l).user.email = r),
|
|
107
109
|
readonly: ""
|
|
108
110
|
}, null, 8, ["modelValue"])
|
|
109
111
|
]),
|
|
110
112
|
_: 1
|
|
111
113
|
}, 8, ["label"]),
|
|
112
114
|
le("div", re, [
|
|
113
|
-
(c(!0), k(
|
|
115
|
+
(c(!0), k($, null, N(s(l).user.userJobs, (r, d) => (c(), U(A, {
|
|
114
116
|
key: d,
|
|
115
117
|
style: { width: "100%" }
|
|
116
118
|
}, {
|
|
117
|
-
default:
|
|
119
|
+
default: a(() => [
|
|
118
120
|
t(f, { span: 12 }, {
|
|
119
|
-
default:
|
|
121
|
+
default: a(() => [
|
|
120
122
|
t(u, {
|
|
121
|
-
label:
|
|
123
|
+
label: e.$t("sysUser.department"),
|
|
122
124
|
prop: `userJobs.${d}.deptId`
|
|
123
125
|
}, {
|
|
124
|
-
default:
|
|
126
|
+
default: a(() => [
|
|
125
127
|
t(g, {
|
|
126
|
-
modelValue: s(
|
|
127
|
-
"onUpdate:modelValue": (_) => s(
|
|
128
|
+
modelValue: s(l).user.userJobs[d].deptId,
|
|
129
|
+
"onUpdate:modelValue": (_) => s(l).user.userJobs[d].deptId = _,
|
|
128
130
|
data: i.value,
|
|
129
131
|
"render-after-expand": !1,
|
|
130
132
|
filterable: "",
|
|
131
133
|
"check-strictly": "",
|
|
132
|
-
placeholder:
|
|
134
|
+
placeholder: e.$t("sysUser.departmentRequired"),
|
|
133
135
|
style: { width: "100%" }
|
|
134
136
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "placeholder"])
|
|
135
137
|
]),
|
|
@@ -139,20 +141,20 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
139
141
|
_: 2
|
|
140
142
|
}, 1024),
|
|
141
143
|
t(f, { span: 11 }, {
|
|
142
|
-
default:
|
|
144
|
+
default: a(() => [
|
|
143
145
|
t(u, {
|
|
144
|
-
label:
|
|
146
|
+
label: e.$t("sysUser.position"),
|
|
145
147
|
prop: `userJobs.${d}.jobId`
|
|
146
148
|
}, {
|
|
147
|
-
default:
|
|
149
|
+
default: a(() => [
|
|
148
150
|
t(g, {
|
|
149
|
-
modelValue: s(
|
|
150
|
-
"onUpdate:modelValue": (_) => s(
|
|
151
|
+
modelValue: s(l).user.userJobs[d].jobId,
|
|
152
|
+
"onUpdate:modelValue": (_) => s(l).user.userJobs[d].jobId = _,
|
|
151
153
|
data: v.value,
|
|
152
154
|
"render-after-expand": !1,
|
|
153
155
|
filterable: "",
|
|
154
156
|
"check-strictly": "",
|
|
155
|
-
placeholder:
|
|
157
|
+
placeholder: e.$t("sysUser.positionRequired"),
|
|
156
158
|
style: { width: "100%" }
|
|
157
159
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "placeholder"])
|
|
158
160
|
]),
|
|
@@ -161,17 +163,17 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
161
163
|
]),
|
|
162
164
|
_: 2
|
|
163
165
|
}, 1024),
|
|
164
|
-
d == 0 ? (c(),
|
|
166
|
+
d == 0 ? (c(), U(f, {
|
|
165
167
|
key: 0,
|
|
166
168
|
span: 1,
|
|
167
169
|
class: "position-center"
|
|
168
170
|
}, {
|
|
169
|
-
default:
|
|
171
|
+
default: a(() => [
|
|
170
172
|
t(I, {
|
|
171
173
|
size: "16",
|
|
172
174
|
onClick: E
|
|
173
175
|
}, {
|
|
174
|
-
default:
|
|
176
|
+
default: a(() => [
|
|
175
177
|
t(q)
|
|
176
178
|
]),
|
|
177
179
|
_: 1
|
|
@@ -179,17 +181,17 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
179
181
|
]),
|
|
180
182
|
_: 1
|
|
181
183
|
})) : J("", !0),
|
|
182
|
-
d !== 0 ? (c(),
|
|
184
|
+
d !== 0 ? (c(), U(f, {
|
|
183
185
|
key: 1,
|
|
184
186
|
span: 1,
|
|
185
187
|
class: "position-center"
|
|
186
188
|
}, {
|
|
187
|
-
default:
|
|
189
|
+
default: a(() => [
|
|
188
190
|
t(I, {
|
|
189
191
|
size: "16",
|
|
190
192
|
onClick: (_) => C(d)
|
|
191
193
|
}, {
|
|
192
|
-
default:
|
|
194
|
+
default: a(() => [
|
|
193
195
|
t(Y)
|
|
194
196
|
]),
|
|
195
197
|
_: 2
|
|
@@ -202,46 +204,46 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
202
204
|
}, 1024))), 128))
|
|
203
205
|
]),
|
|
204
206
|
t(u, {
|
|
205
|
-
label:
|
|
207
|
+
label: e.$t("sysUser.nickname"),
|
|
206
208
|
prop: "nickName"
|
|
207
209
|
}, {
|
|
208
|
-
default:
|
|
210
|
+
default: a(() => [
|
|
209
211
|
t(b, {
|
|
210
|
-
modelValue: s(
|
|
211
|
-
"onUpdate:modelValue":
|
|
212
|
+
modelValue: s(l).user.nickName,
|
|
213
|
+
"onUpdate:modelValue": o[2] || (o[2] = (r) => s(l).user.nickName = r),
|
|
212
214
|
clearable: "",
|
|
213
|
-
placeholder:
|
|
215
|
+
placeholder: e.$t("sysUser.nicknameRequired")
|
|
214
216
|
}, null, 8, ["modelValue", "placeholder"])
|
|
215
217
|
]),
|
|
216
218
|
_: 1
|
|
217
219
|
}, 8, ["label"]),
|
|
218
220
|
t(u, {
|
|
219
|
-
label:
|
|
221
|
+
label: e.$t("sysUser.fullName"),
|
|
220
222
|
prop: "realName"
|
|
221
223
|
}, {
|
|
222
|
-
default:
|
|
224
|
+
default: a(() => [
|
|
223
225
|
t(b, {
|
|
224
|
-
modelValue: s(
|
|
225
|
-
"onUpdate:modelValue":
|
|
226
|
+
modelValue: s(l).user.realName,
|
|
227
|
+
"onUpdate:modelValue": o[3] || (o[3] = (r) => s(l).user.realName = r),
|
|
226
228
|
clearable: "",
|
|
227
|
-
placeholder:
|
|
229
|
+
placeholder: e.$t("sysUser.fullNameRequired")
|
|
228
230
|
}, null, 8, ["modelValue", "placeholder"])
|
|
229
231
|
]),
|
|
230
232
|
_: 1
|
|
231
233
|
}, 8, ["label"]),
|
|
232
234
|
t(u, {
|
|
233
|
-
label:
|
|
235
|
+
label: e.$t("sysUser.gender"),
|
|
234
236
|
prop: "gender"
|
|
235
237
|
}, {
|
|
236
|
-
default:
|
|
238
|
+
default: a(() => [
|
|
237
239
|
t(O, {
|
|
238
|
-
modelValue: s(
|
|
239
|
-
"onUpdate:modelValue":
|
|
240
|
-
placeholder:
|
|
240
|
+
modelValue: s(l).user.gender,
|
|
241
|
+
"onUpdate:modelValue": o[4] || (o[4] = (r) => s(l).user.gender = r),
|
|
242
|
+
placeholder: e.$t("sysUser.genderRequired"),
|
|
241
243
|
clearable: ""
|
|
242
244
|
}, {
|
|
243
|
-
default:
|
|
244
|
-
(c(!0), k(
|
|
245
|
+
default: a(() => [
|
|
246
|
+
(c(!0), k($, null, N(s(D).genderEnum.values, (r) => (c(), U(G, {
|
|
245
247
|
key: r.key,
|
|
246
248
|
label: r.value,
|
|
247
249
|
value: r.key
|
|
@@ -253,15 +255,15 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
253
255
|
_: 1
|
|
254
256
|
}, 8, ["label"]),
|
|
255
257
|
t(u, {
|
|
256
|
-
label:
|
|
258
|
+
label: e.$t("sysUser.birthday"),
|
|
257
259
|
prop: "birthDate"
|
|
258
260
|
}, {
|
|
259
|
-
default:
|
|
261
|
+
default: a(() => [
|
|
260
262
|
t(S, {
|
|
261
|
-
modelValue: s(
|
|
262
|
-
"onUpdate:modelValue":
|
|
263
|
+
modelValue: s(l).user.birthDate,
|
|
264
|
+
"onUpdate:modelValue": o[5] || (o[5] = (r) => s(l).user.birthDate = r),
|
|
263
265
|
type: "date",
|
|
264
|
-
placeholder:
|
|
266
|
+
placeholder: e.$t("sysUser.birthdayRequired"),
|
|
265
267
|
format: "YYYY-MM-DD",
|
|
266
268
|
"value-format": "YYYY-MM-DD",
|
|
267
269
|
style: { width: "100%" }
|
|
@@ -270,13 +272,13 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
270
272
|
_: 1
|
|
271
273
|
}, 8, ["label"]),
|
|
272
274
|
t(u, null, {
|
|
273
|
-
default:
|
|
275
|
+
default: a(() => [
|
|
274
276
|
t(B, {
|
|
275
277
|
type: "primary",
|
|
276
278
|
onClick: j
|
|
277
279
|
}, {
|
|
278
|
-
default:
|
|
279
|
-
te(se(
|
|
280
|
+
default: a(() => [
|
|
281
|
+
te(se(e.$t("common.save")), 1)
|
|
280
282
|
]),
|
|
281
283
|
_: 1
|
|
282
284
|
})
|
|
@@ -289,7 +291,7 @@ const ae = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
289
291
|
]);
|
|
290
292
|
};
|
|
291
293
|
}
|
|
292
|
-
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-
|
|
294
|
+
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-471a0186"]]);
|
|
293
295
|
export {
|
|
294
296
|
ie as default
|
|
295
297
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, J as x, g as T, K as U, E as V, _ as B, L as P } from "./index-
|
|
1
|
+
import { b as s, J as x, g as T, K as U, E as V, _ as B, L as P } from "./index-Ccfs6lWV.mjs";
|
|
2
2
|
import { defineComponent as M, ref as _, useModel as S, reactive as $, resolveComponent as A, openBlock as m, createBlock as D, withCtx as a, createVNode as d, unref as t, createTextVNode as c, toDisplayString as n, createElementBlock as y, withDirectives as f, vShow as g, createCommentVNode as C } from "vue";
|
|
3
3
|
const L = {
|
|
4
4
|
key: 0,
|