jmash-core 0.0.8 → 0.0.10
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-D1navTeN.mjs → 401-CHBVbzep.mjs} +13 -15
- package/dist/{404-D1KiG-19.mjs → 404-C06c3dKV.mjs} +1 -1
- package/dist/{BarChart--O8TFL11.mjs → BarChart-DMEOgtiK.mjs} +27 -30
- package/dist/{FileSaver.min-CFSHg9zJ.mjs → FileSaver.min-QT2Ccp7G.mjs} +5 -5
- package/dist/{PieChart-BsEXTafD.mjs → PieChart-CR6Jny_5.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BoPZVlEy.mjs → PieChart.vue_vue_type_script_setup_true_lang-65SK3HKm.mjs} +2 -2
- package/dist/{RadarChart-B-25o1xQ.mjs → RadarChart-dAF4Lmnh.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-Dk53W_7d.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CugqBg8u.mjs} +2 -2
- package/dist/anquanrizhi-BMAtNRi-.mjs +4 -0
- package/dist/api-DA2t0sYn.mjs +4 -0
- package/dist/bumenguanli-_DtFk-Tc.mjs +4 -0
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +4 -0
- package/dist/captcha-G9RskXh1.mjs +4 -0
- package/dist/{caret-bottom-DnFVxAos.mjs → caret-bottom-DQsNMTCk.mjs} +1 -1
- package/dist/cascader-CysbB3DR.mjs +4 -0
- package/dist/client-CmoE5d0v.mjs +4 -0
- package/dist/close-DwiHyvYJ.mjs +4 -0
- package/dist/close_all-ri0Fg4Yg.mjs +4 -0
- package/dist/close_left-DLmFYlJS.mjs +4 -0
- package/dist/close_other-B705ZMV6.mjs +4 -0
- package/dist/close_right-BUdNHbs5.mjs +4 -0
- package/dist/dict-C2cGjFov.mjs +4 -0
- package/dist/document-Bf2gTChB.mjs +4 -0
- package/dist/download-cG3k-vnb.mjs +4 -0
- package/dist/drag-CwjZNuUJ.mjs +4 -0
- package/dist/{edit-CNBEQPXE.mjs → edit-BILFCR0k.mjs} +156 -167
- package/dist/{edit-Cn3dM7k5.mjs → edit-BaKHtEYP.mjs} +1 -1
- package/dist/{edit-CRxj4EY1.mjs → edit-BryJ1Ozj.mjs} +1 -1
- package/dist/{edit-BrhHNCNl.mjs → edit-C3_M4SAm.mjs} +1 -1
- package/dist/{edit-DpmMYYl6.mjs → edit-CBUBEDYQ.mjs} +64 -75
- package/dist/edit-CIq1RPVx.mjs +4 -0
- package/dist/{edit-Bi-somHb.mjs → edit-Da4rBqIl.mjs} +1 -1
- package/dist/edit-YR1BLwBM.mjs +4 -0
- package/dist/edit-dkzoPlC1.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Buq1ql0E.mjs → edit.vue_vue_type_script_setup_true_lang-5_bW1lje.mjs} +22 -23
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CVrHkM_q.mjs → edit.vue_vue_type_script_setup_true_lang-B0CmHQFN.mjs} +64 -72
- package/dist/{edit.vue_vue_type_script_setup_true_lang-B90c-BBg.mjs → edit.vue_vue_type_script_setup_true_lang-BojWrHVs.mjs} +25 -26
- package/dist/edit.vue_vue_type_script_setup_true_lang-DfZ2CWbT.mjs +575 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-8pvOxMW7.mjs → edit.vue_vue_type_script_setup_true_lang-DvT8PvhG.mjs} +32 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-De3m51Sn.mjs → edit.vue_vue_type_script_setup_true_lang-RRQ8AbpV.mjs} +57 -64
- package/dist/{el-card-D0KW8m51.mjs → el-card-BOz1BuaJ.mjs} +1 -1
- package/dist/{el-col-CshwMyIb.mjs → el-col-ByQ4RMxz.mjs} +27 -27
- package/dist/{el-date-picker-L919iy84.mjs → el-date-picker-BxsQLDQk.mjs} +374 -378
- package/dist/{el-dropdown-item-awCBld5w.mjs → el-dropdown-item-Oj8hVe5g.mjs} +120 -125
- package/dist/{el-tree-select-D4-wTWIf.mjs → el-tree-select-D9LnnJmi.mjs} +87 -90
- package/dist/email-B2AUCEGq.mjs +4 -0
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +4 -0
- package/dist/eye-DeDz_5CQ.mjs +4 -0
- package/dist/eye-open-Cm0N1Rcz.mjs +4 -0
- package/dist/fullscreen-BFXljl9l.mjs +4 -0
- package/dist/gangweiguanli-bkwyhEXB.mjs +4 -0
- package/dist/github-CL2t8fd5.mjs +4 -0
- package/dist/homepage-IeZtzO8Q.mjs +4 -0
- package/dist/icon-DwZ6Hkfk.mjs +4 -0
- package/dist/{index-rOm9tk5c.mjs → index-7E1Q6xEm.mjs} +98 -110
- package/dist/{index-DyAyeZcb.mjs → index-B1tUnBOd.mjs} +1 -1
- package/dist/{index-BZjZrmGu.mjs → index-B6lfofak.mjs} +52 -56
- package/dist/{index-BYabHywL.mjs → index-BC5xzJHH.mjs} +53 -57
- package/dist/{index-DNsvQhEF.mjs → index-BFilvnBa.mjs} +228 -245
- package/dist/{index-DJ08yxAP.mjs → index-BQj9zHJH.mjs} +1 -1
- package/dist/index-BTnK8LSe.mjs +319 -0
- package/dist/{index-DBkD-FDF.mjs → index-BhWLFjrd.mjs} +153 -165
- package/dist/{index-CFY0L-EF.mjs → index-Bm8Ym_vg.mjs} +87 -96
- package/dist/{index-BccYTnUE.mjs → index-CMhIkM_l.mjs} +1 -1
- package/dist/{index-C_tL22hb.mjs → index-CO0p57s7.mjs} +62 -65
- package/dist/{index-BkQGtIM0.mjs → index-CTwdawf9.mjs} +1 -1
- package/dist/{index-B3Yexifn.mjs → index-CYOLMp2W.mjs} +98 -107
- package/dist/{index-BuvRskP0.mjs → index-CZazFMG9.mjs} +102 -106
- package/dist/{index-3qIRz0lG.mjs → index-CcwdkUsS.mjs} +109 -121
- package/dist/{index-B-d0sG_m.mjs → index-DIik67HQ.mjs} +56 -59
- package/dist/{index-C2REEPMM.mjs → index-DgmZIJSM.mjs} +1 -1
- package/dist/index-DjBUKTDX.mjs +29725 -0
- package/dist/{index-JhnBAnIL.mjs → index-H2NqoRop.mjs} +1 -1
- package/dist/{index-B5gZoPzf.mjs → index-WG3AukVT.mjs} +66 -69
- package/dist/index.mjs +31 -19
- package/dist/ip-DOLbS1rT.mjs +4 -0
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +4 -0
- package/dist/language-C1tgLxuP.mjs +4 -0
- package/dist/link-Cjm7RVX7.mjs +4 -0
- package/dist/log-ZFSIG9ZQ.mjs +4 -0
- package/dist/menu-B7SOjMUJ.mjs +4 -0
- package/dist/message-Bws5C_1u.mjs +4 -0
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +4 -0
- package/dist/money-DM0ZKWD3.mjs +4 -0
- package/dist/monitor-CxsUJkcx.mjs +4 -0
- package/dist/order-DZ28J7CD.mjs +4 -0
- package/dist/password-BbtiGVLy.mjs +4 -0
- package/dist/peoples-3fyh79uv.mjs +4 -0
- package/dist/phone-CdpLww4_.mjs +4 -0
- package/dist/{picture-DCK2sm2j.mjs → picture-CG9bft5d.mjs} +26 -27
- package/dist/profile-B8BtUlO7.mjs +261 -0
- package/dist/project-DgVsw9u_.mjs +4 -0
- package/dist/publish-BCri5HbT.mjs +4 -0
- package/dist/quanxianguanli-Cpcc8C4D.mjs +4 -0
- package/dist/redis-fjUUmFu3.mjs +4 -0
- package/dist/refresh-BWNjEt3t.mjs +4 -0
- package/dist/role-BYKzPG5H.mjs +4 -0
- package/dist/security-BsMRfWoG.mjs +4 -0
- package/dist/shoujihao-BFt1tDJn.mjs +4 -0
- package/dist/shrink-kEdKK3G7.mjs +4 -0
- package/dist/size-jLonAeyJ.mjs +4 -0
- package/dist/style.css +1 -1
- package/dist/system-BlPhikZo.mjs +4 -0
- package/dist/table-CCqA2qBP.mjs +4 -0
- package/dist/todolist-Ul73X2IJ.mjs +4 -0
- package/dist/tree-DrEt7UUZ.mjs +4 -0
- package/dist/{types-u03-XGUh.mjs → types-CZaBSnxK.mjs} +46 -47
- package/dist/{updatePwd-DVMHZaH_.mjs → updatePwd-BRhEXp-m.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-C3ySntYh.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DcvNM8-2.mjs} +13 -14
- package/dist/user-B9bSWq2E.mjs +4 -0
- package/dist/visit-w_hKTLb6.mjs +4 -0
- package/dist/xingming-DHM4olm-.mjs +4 -0
- package/dist/yonghuguanli-B3vRkdqw.mjs +4 -0
- package/dist/youxiang-D68Zx-02.mjs +4 -0
- package/dist//345/210/227/350/241/250-nphA7BPW.mjs +4 -0
- package/dist//345/233/272/345/256/232_/345/233/276/351/222/211-CXYo1gbQ.mjs +4 -0
- package/dist//346/250/241/345/235/227-D528qA63.mjs +4 -0
- package/dist//347/234/274/347/235/233-BaPHKGgj.mjs +4 -0
- package/dist//351/227/255/347/234/274/347/235/233-D6BjbTd5.mjs +4 -0
- package/dts/src/api/auth/index.d.ts +6 -6
- package/dts/src/api/file/index.d.ts +1 -1
- package/dts/src/api/system/dept/index.d.ts +13 -13
- package/dts/src/api/system/index.d.ts +1 -1
- package/dts/src/api/system/job/index.d.ts +6 -6
- package/dts/src/api/system/log/index.d.ts +4 -4
- package/dts/src/api/system/menu/index.d.ts +15 -15
- package/dts/src/api/system/module/index.d.ts +9 -9
- package/dts/src/api/system/operation/index.d.ts +8 -8
- package/dts/src/api/system/permission/index.d.ts +7 -7
- package/dts/src/api/system/role/index.d.ts +11 -11
- package/dts/src/api/system/user/index.d.ts +19 -19
- package/dts/src/api/system/userLog/index.d.ts +4 -4
- package/dts/src/components/DictRadio/index.vue.d.ts +1 -1
- package/dts/src/components/DictSelect/index.vue.d.ts +2 -2
- package/dts/src/components/Dictionary/index.vue.d.ts +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +3 -3
- package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
- package/dts/src/index.d.ts +7 -9
- package/dts/src/lang/index.d.ts +1 -1
- package/dts/src/router/index.d.ts +1 -2
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
- package/dts/src/views/system/dept/edit.vue.d.ts +1 -0
- package/dts/src/views/system/job/edit.vue.d.ts +1 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +1 -0
- package/dts/src/views/system/module/edit.vue.d.ts +1 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +1 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +1 -0
- package/dts/src/views/system/role/edit.vue.d.ts +1 -0
- package/dts/src/views/system/user/edit.vue.d.ts +1 -0
- package/package.json +1 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +0 -9
- package/dist/common-DuVBTwAv.mjs +0 -36
- package/dist/debounce-YcFmMYKS.mjs +0 -81
- package/dist/dropdown2-C14KfhQM.mjs +0 -160
- package/dist/edit-DeLAIti_.mjs +0 -4
- package/dist/edit-YBi7ifGA.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-CBRI_ssD.mjs +0 -621
- package/dist/el-checkbox-BKQlv24T.mjs +0 -548
- package/dist/el-dialog-DnjLYfXR.mjs +0 -378
- package/dist/el-form-item-vFTHxYmj.mjs +0 -1489
- package/dist/el-popover-Bgt26ytG.mjs +0 -159
- package/dist/el-popper-C4ObtCw4.mjs +0 -1656
- package/dist/el-progress-Du5X0h6t.mjs +0 -898
- package/dist/el-radio-DMm6yz9z.mjs +0 -251
- package/dist/el-scrollbar-DNrfQkzc.mjs +0 -607
- package/dist/el-select-CvXSBkeW.mjs +0 -1040
- package/dist/el-switch-CTHtmrXm.mjs +0 -254
- package/dist/el-table-DBe6lMX0.mjs +0 -3168
- package/dist/el-tag-l0sNRNKZ.mjs +0 -1
- package/dist/el-tooltip-l0sNRNKZ.mjs +0 -1
- package/dist/importUpload.vue_vue_type_script_setup_true_lang-B3MGPw_2.mjs +0 -116
- package/dist/index-529I9E4k.mjs +0 -633
- package/dist/index-B8FM-nwF.mjs +0 -13
- package/dist/index-C_rrQCFw.mjs +0 -328
- package/dist/index-D_7EobKs.mjs +0 -17594
- package/dist/index-DjkMA-Wh.mjs +0 -40
- package/dist/index-PBq39c_Y.mjs +0 -107
- package/dist/index.vue_vue_type_script_setup_true_lang-Btv8D2QS.mjs +0 -58
- package/dist/index.vue_vue_type_script_setup_true_lang-CS7m36k5.mjs +0 -286
- package/dist/isUndefined-CUQZk6oB.mjs +0 -6
- package/dist/profile-MjSEwXyJ.mjs +0 -319
- package/dist/refs-J3utyiz5.mjs +0 -9
- package/dist/useColumnToggleTable-ayAFGBOJ.mjs +0 -272
- /package/dist/{el-icon-l0sNRNKZ.mjs → el-form-item-l0sNRNKZ.mjs} +0 -0
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
import { V as q, af as R, ag as L, x as A, E as P, z as T, ah as G, ai as H, R as O, S as K } from "./index-D_7EobKs.mjs";
|
|
2
|
-
import { a as Q, E as W } from "./el-form-item-vFTHxYmj.mjs";
|
|
3
|
-
import { E as X } from "./el-date-picker-L919iy84.mjs";
|
|
4
|
-
import "./el-scrollbar-DNrfQkzc.mjs";
|
|
5
|
-
import "./el-popper-C4ObtCw4.mjs";
|
|
6
|
-
import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-Btv8D2QS.mjs";
|
|
7
|
-
import { E as x, a as ee } from "./el-col-CshwMyIb.mjs";
|
|
8
|
-
import "./el-icon-l0sNRNKZ.mjs";
|
|
9
|
-
import "./el-tag-l0sNRNKZ.mjs";
|
|
10
|
-
import "./el-select-CvXSBkeW.mjs";
|
|
11
|
-
import { E as te } from "./el-tree-select-D4-wTWIf.mjs";
|
|
12
|
-
import "./el-checkbox-BKQlv24T.mjs";
|
|
13
|
-
import { E as oe } from "./el-progress-Du5X0h6t.mjs";
|
|
14
|
-
import { defineComponent as $, ref as c, toRefs as le, openBlock as d, createBlock as v, unref as o, withCtx as s, createElementBlock as I, createVNode as t, reactive as se, resolveComponent as C, createElementVNode as h, toDisplayString as D, Fragment as ae, renderList as re, createCommentVNode as ne, createTextVNode as ue } from "vue";
|
|
15
|
-
import { t as pe } from "./index-DyAyeZcb.mjs";
|
|
16
|
-
import { t as de } from "./index-C2REEPMM.mjs";
|
|
17
|
-
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
18
|
-
const ie = ["src"], me = /* @__PURE__ */ $({
|
|
19
|
-
__name: "index",
|
|
20
|
-
props: {
|
|
21
|
-
pictureUrl: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: ""
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
emits: ["imageSrc"],
|
|
27
|
-
setup(E, { emit: y }) {
|
|
28
|
-
const m = c(
|
|
29
|
-
q.APP_API_URL + "/v1/file/upload?tenant=" + R().user.tenant
|
|
30
|
-
), _ = c({ Authorization: "Bearer " + R().token }), e = E, { pictureUrl: f } = le(e), p = c("");
|
|
31
|
-
console.log(f), p.value = f.value;
|
|
32
|
-
const g = y;
|
|
33
|
-
function V(i) {
|
|
34
|
-
i.fileSrc && (A({
|
|
35
|
-
message: "上传成功",
|
|
36
|
-
type: "success"
|
|
37
|
-
}), p.value = process.env.VUE_APP_API_URL + "/v1/file/image/resize/0/0/" + i.fileSrc, g("imageSrc", p.value));
|
|
38
|
-
}
|
|
39
|
-
return (i, l) => {
|
|
40
|
-
const a = P, U = oe;
|
|
41
|
-
return d(), v(U, {
|
|
42
|
-
class: "avatar-uploader",
|
|
43
|
-
action: o(m),
|
|
44
|
-
headers: o(_),
|
|
45
|
-
"show-file-list": !1,
|
|
46
|
-
"on-success": V
|
|
47
|
-
}, {
|
|
48
|
-
default: s(() => [
|
|
49
|
-
o(p) ? (d(), I("img", {
|
|
50
|
-
key: 0,
|
|
51
|
-
src: o(p),
|
|
52
|
-
class: "avatar"
|
|
53
|
-
}, null, 8, ie)) : (d(), v(a, {
|
|
54
|
-
key: 1,
|
|
55
|
-
class: "avatar-uploader-icon"
|
|
56
|
-
}, {
|
|
57
|
-
default: s(() => [
|
|
58
|
-
t(o(L))
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
61
|
-
}))
|
|
62
|
-
]),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 8, ["action", "headers"]);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}), _e = { class: "app-container" }, fe = { class: "positon_name" }, be = { style: { position: "absolute", right: "0", top: "0" } }, he = /* @__PURE__ */ $({
|
|
68
|
-
__name: "profile",
|
|
69
|
-
setup(E) {
|
|
70
|
-
const y = c(), m = c(), _ = c();
|
|
71
|
-
let e = se({
|
|
72
|
-
user: {
|
|
73
|
-
tenant: T().user.tenant,
|
|
74
|
-
requestId: Math.random() * 10 + "",
|
|
75
|
-
updateMask: "nickName,gender,birthDate,realName,avatar",
|
|
76
|
-
userJobs: [
|
|
77
|
-
{
|
|
78
|
-
deptId: "",
|
|
79
|
-
jobId: ""
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
function f() {
|
|
85
|
-
G().then(({ data: l }) => {
|
|
86
|
-
var a;
|
|
87
|
-
e.user = Object.assign(e.user, { ...l }), ((a = e.user.userJobs) == null ? void 0 : a.length) === 0 && (e.user.userJobs = [
|
|
88
|
-
{
|
|
89
|
-
deptId: "",
|
|
90
|
-
jobId: ""
|
|
91
|
-
}
|
|
92
|
-
]);
|
|
93
|
-
}), pe().then(({ data: l }) => {
|
|
94
|
-
m.value = l.results;
|
|
95
|
-
}), de().then(({ data: l }) => {
|
|
96
|
-
_.value = l.results;
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
function p() {
|
|
100
|
-
var l;
|
|
101
|
-
e.user.userJobs && e.user.userJobs.length < 5 && ((l = e.user.userJobs) == null || l.push({
|
|
102
|
-
deptId: "",
|
|
103
|
-
jobId: ""
|
|
104
|
-
}));
|
|
105
|
-
}
|
|
106
|
-
function g(l) {
|
|
107
|
-
var a;
|
|
108
|
-
(a = e.user.userJobs) == null || a.splice(l, 1);
|
|
109
|
-
}
|
|
110
|
-
function V(l) {
|
|
111
|
-
e.user.avatar = l;
|
|
112
|
-
}
|
|
113
|
-
const i = () => {
|
|
114
|
-
H(e.user).then((l) => {
|
|
115
|
-
l.status === 200 && A({
|
|
116
|
-
message: "个人信息修改成功",
|
|
117
|
-
type: "success"
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
return f(), (l, a) => {
|
|
122
|
-
const U = me, r = Q, J = te, k = x, j = C("Remove"), S = P, w = ee, M = C("CirclePlus"), N = O, Y = Z, z = X, B = K, F = W;
|
|
123
|
-
return d(), I("div", _e, [
|
|
124
|
-
t(F, {
|
|
125
|
-
ref_key: "userInfoRef",
|
|
126
|
-
ref: y,
|
|
127
|
-
mode: o(e).user,
|
|
128
|
-
"label-width": "80px"
|
|
129
|
-
}, {
|
|
130
|
-
default: s(() => [
|
|
131
|
-
t(r, null, {
|
|
132
|
-
default: s(() => [
|
|
133
|
-
t(U, {
|
|
134
|
-
"picture-url": o(e).user.avatar,
|
|
135
|
-
onImageSrc: V
|
|
136
|
-
}, null, 8, ["picture-url"])
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
}),
|
|
140
|
-
t(r, { label: "手机号" }, {
|
|
141
|
-
default: s(() => [
|
|
142
|
-
h("span", null, D(o(e).user.mobilePhone), 1)
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
}),
|
|
146
|
-
t(r, { label: "邮箱" }, {
|
|
147
|
-
default: s(() => [
|
|
148
|
-
h("span", null, D(o(e).user.email), 1)
|
|
149
|
-
]),
|
|
150
|
-
_: 1
|
|
151
|
-
}),
|
|
152
|
-
h("div", fe, [
|
|
153
|
-
(d(!0), I(ae, null, re(o(e).user.userJobs, (u, n) => (d(), v(w, {
|
|
154
|
-
key: n,
|
|
155
|
-
style: { width: "100%" }
|
|
156
|
-
}, {
|
|
157
|
-
default: s(() => [
|
|
158
|
-
t(k, { span: 12 }, {
|
|
159
|
-
default: s(() => [
|
|
160
|
-
t(r, {
|
|
161
|
-
label: l.$t("sysUser.department"),
|
|
162
|
-
prop: `userJobs.${n}.deptId`
|
|
163
|
-
}, {
|
|
164
|
-
default: s(() => [
|
|
165
|
-
t(J, {
|
|
166
|
-
modelValue: o(e).user.userJobs[n].deptId,
|
|
167
|
-
"onUpdate:modelValue": (b) => o(e).user.userJobs[n].deptId = b,
|
|
168
|
-
data: m.value,
|
|
169
|
-
"render-after-expand": !1,
|
|
170
|
-
filterable: "",
|
|
171
|
-
"check-strictly": "",
|
|
172
|
-
placeholder: l.$t("sysUser.departmentRequired"),
|
|
173
|
-
style: { width: "100%" }
|
|
174
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "placeholder"])
|
|
175
|
-
]),
|
|
176
|
-
_: 2
|
|
177
|
-
}, 1032, ["label", "prop"])
|
|
178
|
-
]),
|
|
179
|
-
_: 2
|
|
180
|
-
}, 1024),
|
|
181
|
-
t(k, { span: 11 }, {
|
|
182
|
-
default: s(() => [
|
|
183
|
-
t(r, {
|
|
184
|
-
label: l.$t("sysUser.position"),
|
|
185
|
-
prop: `userJobs.${n}.jobId`
|
|
186
|
-
}, {
|
|
187
|
-
default: s(() => [
|
|
188
|
-
t(J, {
|
|
189
|
-
modelValue: o(e).user.userJobs[n].jobId,
|
|
190
|
-
"onUpdate:modelValue": (b) => o(e).user.userJobs[n].jobId = b,
|
|
191
|
-
data: _.value,
|
|
192
|
-
"render-after-expand": !1,
|
|
193
|
-
filterable: "",
|
|
194
|
-
"check-strictly": "",
|
|
195
|
-
placeholder: l.$t("sysUser.positionRequired"),
|
|
196
|
-
style: { width: "100%" }
|
|
197
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "placeholder"])
|
|
198
|
-
]),
|
|
199
|
-
_: 2
|
|
200
|
-
}, 1032, ["label", "prop"])
|
|
201
|
-
]),
|
|
202
|
-
_: 2
|
|
203
|
-
}, 1024),
|
|
204
|
-
n !== 0 ? (d(), v(k, {
|
|
205
|
-
key: 0,
|
|
206
|
-
span: 1,
|
|
207
|
-
style: { position: "absolute", right: "0" }
|
|
208
|
-
}, {
|
|
209
|
-
default: s(() => [
|
|
210
|
-
t(S, {
|
|
211
|
-
size: "16",
|
|
212
|
-
onClick: (b) => g(n)
|
|
213
|
-
}, {
|
|
214
|
-
default: s(() => [
|
|
215
|
-
t(j)
|
|
216
|
-
]),
|
|
217
|
-
_: 2
|
|
218
|
-
}, 1032, ["onClick"])
|
|
219
|
-
]),
|
|
220
|
-
_: 2
|
|
221
|
-
}, 1024)) : ne("", !0)
|
|
222
|
-
]),
|
|
223
|
-
_: 2
|
|
224
|
-
}, 1024))), 128)),
|
|
225
|
-
h("div", be, [
|
|
226
|
-
t(S, {
|
|
227
|
-
size: "16",
|
|
228
|
-
onClick: p
|
|
229
|
-
}, {
|
|
230
|
-
default: s(() => [
|
|
231
|
-
t(M)
|
|
232
|
-
]),
|
|
233
|
-
_: 1
|
|
234
|
-
})
|
|
235
|
-
])
|
|
236
|
-
]),
|
|
237
|
-
t(r, {
|
|
238
|
-
label: "用户昵称",
|
|
239
|
-
prop: "nickName"
|
|
240
|
-
}, {
|
|
241
|
-
default: s(() => [
|
|
242
|
-
t(N, {
|
|
243
|
-
modelValue: o(e).user.nickName,
|
|
244
|
-
"onUpdate:modelValue": a[0] || (a[0] = (u) => o(e).user.nickName = u),
|
|
245
|
-
clearable: "",
|
|
246
|
-
placeholder: "请输入用户昵称"
|
|
247
|
-
}, null, 8, ["modelValue"])
|
|
248
|
-
]),
|
|
249
|
-
_: 1
|
|
250
|
-
}),
|
|
251
|
-
t(r, {
|
|
252
|
-
label: "姓名",
|
|
253
|
-
prop: "realName"
|
|
254
|
-
}, {
|
|
255
|
-
default: s(() => [
|
|
256
|
-
t(N, {
|
|
257
|
-
modelValue: o(e).user.realName,
|
|
258
|
-
"onUpdate:modelValue": a[1] || (a[1] = (u) => o(e).user.realName = u),
|
|
259
|
-
clearable: "",
|
|
260
|
-
placeholder: "请输入姓名"
|
|
261
|
-
}, null, 8, ["modelValue"])
|
|
262
|
-
]),
|
|
263
|
-
_: 1
|
|
264
|
-
}),
|
|
265
|
-
t(r, {
|
|
266
|
-
label: "性别",
|
|
267
|
-
prop: "gender"
|
|
268
|
-
}, {
|
|
269
|
-
default: s(() => [
|
|
270
|
-
t(Y, {
|
|
271
|
-
modelValue: o(e).user.gender,
|
|
272
|
-
"onUpdate:modelValue": a[2] || (a[2] = (u) => o(e).user.gender = u),
|
|
273
|
-
placeholder: "请选择性别",
|
|
274
|
-
"dict-type": "jmash.protobuf.Gender"
|
|
275
|
-
}, null, 8, ["modelValue"])
|
|
276
|
-
]),
|
|
277
|
-
_: 1
|
|
278
|
-
}),
|
|
279
|
-
t(r, {
|
|
280
|
-
label: "出生日期",
|
|
281
|
-
prop: "birthDate"
|
|
282
|
-
}, {
|
|
283
|
-
default: s(() => [
|
|
284
|
-
t(z, {
|
|
285
|
-
modelValue: o(e).user.birthDate,
|
|
286
|
-
"onUpdate:modelValue": a[3] || (a[3] = (u) => o(e).user.birthDate = u),
|
|
287
|
-
type: "date",
|
|
288
|
-
placeholder: "请选择出生日期",
|
|
289
|
-
format: "YYYY-MM-DD",
|
|
290
|
-
"value-format": "YYYY-MM-DD",
|
|
291
|
-
style: { width: "100%" }
|
|
292
|
-
}, null, 8, ["modelValue"])
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}),
|
|
296
|
-
t(r, null, {
|
|
297
|
-
default: s(() => [
|
|
298
|
-
t(B, {
|
|
299
|
-
type: "primary",
|
|
300
|
-
onClick: i
|
|
301
|
-
}, {
|
|
302
|
-
default: s(() => [
|
|
303
|
-
ue("保存")
|
|
304
|
-
]),
|
|
305
|
-
_: 1
|
|
306
|
-
})
|
|
307
|
-
]),
|
|
308
|
-
_: 1
|
|
309
|
-
})
|
|
310
|
-
]),
|
|
311
|
-
_: 1
|
|
312
|
-
}, 8, ["mode"])
|
|
313
|
-
]);
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
}), je = /* @__PURE__ */ ce(he, [["__scopeId", "data-v-8374010b"]]);
|
|
317
|
-
export {
|
|
318
|
-
je as default
|
|
319
|
-
};
|
package/dist/refs-J3utyiz5.mjs
DELETED
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
import { R, S as $, C as V, x as D, I as A } from "./index-D_7EobKs.mjs";
|
|
2
|
-
import "./el-popper-C4ObtCw4.mjs";
|
|
3
|
-
import { E as M } from "./el-popover-Bgt26ytG.mjs";
|
|
4
|
-
import { E as P } from "./el-switch-CTHtmrXm.mjs";
|
|
5
|
-
import { openBlock as x, createElementBlock as I, createElementVNode as b, defineComponent as z, ref as u, toRefs as F, watchEffect as N, createBlock as j, withCtx as y, createVNode as _, createTextVNode as k, toDisplayString as T, unref as B, isRef as U, Fragment as q, renderList as O, normalizeClass as Q, withModifiers as G, reactive as H } from "vue";
|
|
6
|
-
import { _ as J } from "./index-DjkMA-Wh.mjs";
|
|
7
|
-
import { E as K } from "./el-form-item-vFTHxYmj.mjs";
|
|
8
|
-
const W = {
|
|
9
|
-
viewBox: "0 0 1024 1024",
|
|
10
|
-
width: "1.2em",
|
|
11
|
-
height: "1.2em"
|
|
12
|
-
}, X = /* @__PURE__ */ b("path", {
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704"
|
|
15
|
-
}, null, -1), Y = [
|
|
16
|
-
X
|
|
17
|
-
];
|
|
18
|
-
function Z(n, a) {
|
|
19
|
-
return x(), I("svg", W, [...Y]);
|
|
20
|
-
}
|
|
21
|
-
const ee = { name: "ep-search", render: Z }, oe = { class: "table-list" }, ne = ["onClick"], te = { class: "table-footer" }, fe = /* @__PURE__ */ z({
|
|
22
|
-
__name: "index",
|
|
23
|
-
props: {
|
|
24
|
-
tableLabel: {
|
|
25
|
-
type: Array,
|
|
26
|
-
default: () => []
|
|
27
|
-
},
|
|
28
|
-
parIndex: {
|
|
29
|
-
type: Number,
|
|
30
|
-
default: () => -1
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
emits: ["fixedChange", "isShowChange"],
|
|
34
|
-
setup(n, { emit: a }) {
|
|
35
|
-
const i = u(), t = u();
|
|
36
|
-
let f = u([]);
|
|
37
|
-
const c = n, { parIndex: o } = F(c);
|
|
38
|
-
t.value = o.value, console.log(o.value);
|
|
39
|
-
const m = a;
|
|
40
|
-
function C() {
|
|
41
|
-
m("isShowChange");
|
|
42
|
-
}
|
|
43
|
-
function v(e) {
|
|
44
|
-
t.value = e, m("fixedChange", t.value);
|
|
45
|
-
}
|
|
46
|
-
function g() {
|
|
47
|
-
i.value = "", t.value = void 0, m("fixedChange", t.value);
|
|
48
|
-
}
|
|
49
|
-
return N(() => (i.value ? f.value = c.tableLabel.filter((e) => e.label.indexOf(i.value) !== -1) : f.value = c.tableLabel.slice(
|
|
50
|
-
0,
|
|
51
|
-
c.tableLabel.length - 1
|
|
52
|
-
), f)), (e, s) => {
|
|
53
|
-
const d = J, w = ee, S = R, l = P, r = $, p = M;
|
|
54
|
-
return x(), j(p, {
|
|
55
|
-
placement: "bottom-end",
|
|
56
|
-
width: 250,
|
|
57
|
-
trigger: "click"
|
|
58
|
-
}, {
|
|
59
|
-
reference: y(() => [
|
|
60
|
-
_(d, {
|
|
61
|
-
"icon-class": "列表",
|
|
62
|
-
class: "dropdown-left"
|
|
63
|
-
}),
|
|
64
|
-
k(" " + T(e.$t("common.tableSet")), 1)
|
|
65
|
-
]),
|
|
66
|
-
default: y(() => [
|
|
67
|
-
_(S, {
|
|
68
|
-
modelValue: B(i),
|
|
69
|
-
"onUpdate:modelValue": s[0] || (s[0] = (h) => U(i) ? i.value = h : null),
|
|
70
|
-
placeholder: e.$t("common.searchField"),
|
|
71
|
-
clearable: ""
|
|
72
|
-
}, {
|
|
73
|
-
prefix: y(() => [
|
|
74
|
-
_(w)
|
|
75
|
-
]),
|
|
76
|
-
_: 1
|
|
77
|
-
}, 8, ["modelValue", "placeholder"]),
|
|
78
|
-
b("ul", oe, [
|
|
79
|
-
(x(!0), I(q, null, O(B(f), (h, E) => (x(), I("li", {
|
|
80
|
-
key: E,
|
|
81
|
-
class: Q({ "fixed-active": E <= B(t) }),
|
|
82
|
-
onClick: (L) => v(E)
|
|
83
|
-
}, [
|
|
84
|
-
b("span", {
|
|
85
|
-
onClick: s[1] || (s[1] = G(() => {
|
|
86
|
-
}, ["stop", "prevent"]))
|
|
87
|
-
}, [
|
|
88
|
-
_(l, {
|
|
89
|
-
modelValue: h.isColumn,
|
|
90
|
-
"onUpdate:modelValue": (L) => h.isColumn = L,
|
|
91
|
-
onChange: C
|
|
92
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
93
|
-
]),
|
|
94
|
-
b("span", null, T(h.label), 1),
|
|
95
|
-
b("span", null, [
|
|
96
|
-
_(d, { "icon-class": "固定,图钉" })
|
|
97
|
-
])
|
|
98
|
-
], 10, ne))), 128))
|
|
99
|
-
]),
|
|
100
|
-
b("div", te, [
|
|
101
|
-
_(r, {
|
|
102
|
-
size: "small",
|
|
103
|
-
plain: "",
|
|
104
|
-
onClick: g
|
|
105
|
-
}, {
|
|
106
|
-
default: y(() => [
|
|
107
|
-
k(T(e.$t("common.reset")), 1)
|
|
108
|
-
]),
|
|
109
|
-
_: 1
|
|
110
|
-
})
|
|
111
|
-
])
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
});
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
function me(n, a, i) {
|
|
119
|
-
const t = u(!1), f = u([]), c = u(0), o = H(i), m = u(), C = u(K), v = u([]);
|
|
120
|
-
function g() {
|
|
121
|
-
if (typeof t > "u" || typeof a > "u" || typeof o > "u" || typeof f > "u" || typeof c > "u") {
|
|
122
|
-
console.error("One or more variables are undefined.");
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
t.value = !0, a.list(o).then(({ data: l }) => {
|
|
126
|
-
if (!l || typeof l != "object") {
|
|
127
|
-
console.error("Invalid data received."), t.value = !1;
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
f.value = l.results, t.value = !1, c.value = l.totalSize;
|
|
131
|
-
}).catch((l) => {
|
|
132
|
-
console.error("An error occurred:", l), t.value = !1;
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
function e() {
|
|
136
|
-
o.curPage && (o.curPage = 1), g();
|
|
137
|
-
}
|
|
138
|
-
function s(l) {
|
|
139
|
-
V.confirm(n("common.confirmDelete"), n("common.delete"), {
|
|
140
|
-
// 取消按钮的文本
|
|
141
|
-
cancelButtonText: n("common.cancel"),
|
|
142
|
-
// 确认按钮的文本
|
|
143
|
-
confirmButtonText: n("common.confirm"),
|
|
144
|
-
// 确认框的类型为警告
|
|
145
|
-
type: "warning"
|
|
146
|
-
// 当用户点击确认按钮时,执行删除操作
|
|
147
|
-
}).then(() => {
|
|
148
|
-
a.del(l).then((r) => {
|
|
149
|
-
r.status === 200 && (D({
|
|
150
|
-
message: n("common.deleteSuccess"),
|
|
151
|
-
type: "success"
|
|
152
|
-
}), e());
|
|
153
|
-
});
|
|
154
|
-
}).catch((r) => {
|
|
155
|
-
console.error("Deletion failed:", r);
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
function d(l) {
|
|
159
|
-
if (v.value.length === 0) {
|
|
160
|
-
D({
|
|
161
|
-
message: n("common.chooseDelete"),
|
|
162
|
-
type: "warning"
|
|
163
|
-
});
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
const r = v.value.map((p) => p[l]);
|
|
167
|
-
V.confirm(n("common.confirmBatchDelete"), n("common.delete"), {
|
|
168
|
-
cancelButtonText: n("common.cancel"),
|
|
169
|
-
confirmButtonText: n("common.confirm"),
|
|
170
|
-
type: "warning"
|
|
171
|
-
}).then(() => {
|
|
172
|
-
a.dels(r).then((p) => {
|
|
173
|
-
var h;
|
|
174
|
-
p.status === 200 && (D({
|
|
175
|
-
message: n("common.successDelete") + p.data + n("common.stripData"),
|
|
176
|
-
type: "success"
|
|
177
|
-
}), e(), (h = m.value) == null || h.tableSelection());
|
|
178
|
-
});
|
|
179
|
-
}).catch((p) => {
|
|
180
|
-
console.error("Deletion failed:", p);
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
function w(l) {
|
|
184
|
-
if (!a) {
|
|
185
|
-
console.error("API is not defined!");
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
a.up(l).then((r) => {
|
|
189
|
-
if (!r || typeof r != "object") {
|
|
190
|
-
console.error("Invalid response from api.down()");
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
r.status === 200 && e();
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
function S(l) {
|
|
197
|
-
if (!a) {
|
|
198
|
-
console.error("API is not defined!");
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
a.down(l).then((r) => {
|
|
202
|
-
if (!r || typeof r != "object") {
|
|
203
|
-
console.error("Invalid response from api.down()");
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
r.status === 200 && e();
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
return {
|
|
210
|
-
tableData: f,
|
|
211
|
-
total: c,
|
|
212
|
-
listLoading: t,
|
|
213
|
-
selectionRows: v,
|
|
214
|
-
getList: g,
|
|
215
|
-
handleQuery: e,
|
|
216
|
-
multipleTableRef: m,
|
|
217
|
-
queryFormRef: C,
|
|
218
|
-
deleteRecord: s,
|
|
219
|
-
// 删除函数
|
|
220
|
-
deleteRecords: d,
|
|
221
|
-
// 批量删除
|
|
222
|
-
handleMoveTop: w,
|
|
223
|
-
// 上移
|
|
224
|
-
handleMoveDown: S
|
|
225
|
-
// 下移
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
function de(n, a) {
|
|
229
|
-
const i = u(), t = u(n), c = A().menuTableSet;
|
|
230
|
-
let o = [...n];
|
|
231
|
-
function m() {
|
|
232
|
-
c.length > 0 && c.forEach((e) => {
|
|
233
|
-
if (e.path === a && (o = e.value, Array.isArray(o))) {
|
|
234
|
-
const s = o.filter((d) => d.fixed === !0).length;
|
|
235
|
-
i.value = s > 0 ? s - 1 : 0, console.log(i.value);
|
|
236
|
-
}
|
|
237
|
-
}), o !== void 0 && (t.value = o);
|
|
238
|
-
}
|
|
239
|
-
function C(e) {
|
|
240
|
-
if (!o) {
|
|
241
|
-
console.error("tableLabel is not defined or null!");
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
e >= 0 ? o.slice(0, e + 1).forEach((d) => {
|
|
245
|
-
d.fixed = !0;
|
|
246
|
-
}) : o.slice(0, o.length - 1).forEach((s) => {
|
|
247
|
-
s.fixed = !1, s.isColumn = !0;
|
|
248
|
-
}), g();
|
|
249
|
-
}
|
|
250
|
-
function v() {
|
|
251
|
-
g();
|
|
252
|
-
}
|
|
253
|
-
function g() {
|
|
254
|
-
const e = c.find((s) => s.path === a);
|
|
255
|
-
e ? e.value = o : c.push({
|
|
256
|
-
path: a,
|
|
257
|
-
value: o
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
return {
|
|
261
|
-
parIndex: i,
|
|
262
|
-
tableArray: t,
|
|
263
|
-
getLocalStorageContent: m,
|
|
264
|
-
fixedChange: C,
|
|
265
|
-
isShowChange: v
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
export {
|
|
269
|
-
fe as _,
|
|
270
|
-
de as a,
|
|
271
|
-
me as u
|
|
272
|
-
};
|
|
File without changes
|