jmash-core 0.0.40 → 0.0.41
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-CEl3xZ9U.mjs → 401-CJFCHgSZ.mjs} +2 -2
- package/dist/{404-BJI4jQGp.mjs → 404-CIMxkP9D.mjs} +1 -1
- package/dist/{BarChart-DdL2YjH9.mjs → BarChart-DU09mkLm.mjs} +2 -2
- package/dist/{PieChart-DpRLzU_D.mjs → PieChart-CoqFm60I.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Db-lqTD8.mjs → PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs} +2 -2
- package/dist/{RadarChart-2a1QGb0r.mjs → RadarChart-0WISsxpt.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CwF9slnO.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs} +2 -2
- package/dist/{el-card-FMIPeWk6.mjs → el-card-DTXS4SWb.mjs} +1 -1
- package/dist/{el-col-8K1Xv7aq.mjs → el-col-C1oER81S.mjs} +1 -1
- package/dist/{el-form-item-J_27GFln.mjs → el-form-item-CJcAbcqr.mjs} +76 -76
- package/dist/{index-BB9i38wB.mjs → index-BAk-5oG9.mjs} +1 -1
- package/dist/{index--oHFkGGF.mjs → index-BwIx8FCt.mjs} +32 -32
- package/dist/{index-C_arFWKZ.mjs → index-C195Pa7c.mjs} +9759 -11332
- package/dist/{index-Ca93omwQ.mjs → index-DB4OW-7Q.mjs} +980 -944
- package/dist/{index-BUndPokw.mjs → index-ORr19rEl.mjs} +42 -42
- package/dist/index.mjs +36 -36
- package/dist/index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs +720 -0
- package/dist/{picture-BQKPWIIU.mjs → picture-Cpgh-vo-.mjs} +106 -106
- package/dist/{position-DZbY0x3r.mjs → position-M0AZIV5D.mjs} +1 -1
- package/dist/profile-DBegP-cF.mjs +4904 -0
- package/dist/{runAs-DSfasz8M.mjs → runAs-xhA9mf-i.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs +610 -0
- package/dist/style.css +1 -1
- package/dist/{types-BHZ78WKD.mjs → types-FkPgztcJ.mjs} +4 -3
- package/dist/{updatePwd-D2U2rq9Q.mjs → updatePwd-D1EnTbTY.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-HlhGZun3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs} +20 -20
- package/dts/src/api/auth/index.d.ts +27 -2
- package/dts/src/api/auth/types.d.ts +42 -34
- package/dts/src/index.d.ts +2 -3
- package/dts/src/lang/package/zh-cn.d.ts +2 -0
- package/dts/src/utils/request.d.ts +2 -0
- package/package.json +1 -1
- package/dist/edit-BEz2CGVA.mjs +0 -4
- package/dist/edit-BfCUuHU7.mjs +0 -823
- package/dist/edit-BjIGOyRY.mjs +0 -4
- package/dist/edit-ByyeESA7.mjs +0 -4
- package/dist/edit-DCqdRa7R.mjs +0 -4
- package/dist/edit-DaPZ7RSc.mjs +0 -4
- package/dist/edit-Mg7mOWDc.mjs +0 -4
- package/dist/edit-voW3EO87.mjs +0 -459
- package/dist/edit.vue_vue_type_script_setup_true_lang-BCgNC4mY.mjs +0 -136
- package/dist/edit.vue_vue_type_script_setup_true_lang-BMYBrnHy.mjs +0 -280
- package/dist/edit.vue_vue_type_script_setup_true_lang-C-WS99W7.mjs +0 -157
- package/dist/edit.vue_vue_type_script_setup_true_lang-CylQxP9Z.mjs +0 -226
- package/dist/edit.vue_vue_type_script_setup_true_lang-DDCQNqdc.mjs +0 -593
- package/dist/edit.vue_vue_type_script_setup_true_lang-DyO-f1Lc.mjs +0 -216
- package/dist/el-checkbox-group-l0sNRNKZ.mjs +0 -1
- package/dist/el-date-picker-CHigi6WN.mjs +0 -3345
- package/dist/el-divider-Cg4Mgsu-.mjs +0 -45
- package/dist/el-dropdown-item-DHcRJ-Fg.mjs +0 -671
- package/dist/el-tree-select-C4cU2Ot7.mjs +0 -1313
- package/dist/index-9e59vbzb.mjs +0 -949
- package/dist/index-B5IfrzOt.mjs +0 -63
- package/dist/index-BcxeqvFF.mjs +0 -505
- package/dist/index-BoT8a4D9.mjs +0 -480
- package/dist/index-BzsE8aZb.mjs +0 -280
- package/dist/index-CKu3Vm7Y.mjs +0 -246
- package/dist/index-CPi9CcGt.mjs +0 -134
- package/dist/index-CdarTP7Q.mjs +0 -471
- package/dist/index-D3kdKwxs.mjs +0 -292
- package/dist/index-D7uxePGV.mjs +0 -501
- package/dist/index-DSwTLzp1.mjs +0 -74
- package/dist/index-Dd9wDjLG.mjs +0 -280
- package/dist/index-DdnQhmYX.mjs +0 -502
- package/dist/index-DsmvLyNJ.mjs +0 -93
- package/dist/index-VD2Oa87u.mjs +0 -280
- package/dist/index.vue_vue_type_script_setup_true_lang-BUTwLlja.mjs +0 -55
- package/dist/moment-CMYwqyVT.mjs +0 -2579
- package/dist/profile-Blgfj6Pw.mjs +0 -262
- package/dist/runAs.vue_vue_type_script_setup_true_lang-xOMc-WaC.mjs +0 -114
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { am as x, $ as b, an as D, ao as U, ap as $, s as B, t as N, al as R } from "./index-
|
|
2
|
-
import { _ as S, E as q } from "./picture-
|
|
3
|
-
import { E as z, a as A } from "./el-form-item-
|
|
1
|
+
import { am as x, $ as b, an as D, ao as U, ap as $, s as B, t as N, al as R } from "./index-C195Pa7c.mjs";
|
|
2
|
+
import { _ as S, E as q } from "./picture-Cpgh-vo-.mjs";
|
|
3
|
+
import { E as z, a as A } from "./el-form-item-CJcAbcqr.mjs";
|
|
4
4
|
import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as a, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
|
|
5
5
|
const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, X = /* @__PURE__ */ M({
|
|
6
6
|
__name: "types",
|
|
7
7
|
setup(J) {
|
|
8
8
|
const _ = I(), c = m({
|
|
9
|
+
title: "",
|
|
9
10
|
visible: !1
|
|
10
11
|
}), n = m({
|
|
11
12
|
content: "获取验证码",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as x, a as O } from "./el-form-item-
|
|
3
|
-
import { defineComponent as A, ref as
|
|
1
|
+
import { bC as N, s as y, t as h, al as v } from "./index-C195Pa7c.mjs";
|
|
2
|
+
import { E as x, a as O } from "./el-form-item-CJcAbcqr.mjs";
|
|
3
|
+
import { defineComponent as A, ref as B, toRefs as F, reactive as f, openBlock as I, createBlock as R, unref as r, isRef as U, withCtx as n, createElementVNode as q, createVNode as t, createTextVNode as c } from "vue";
|
|
4
4
|
import { ElMessage as D } from "element-plus";
|
|
5
5
|
const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
6
6
|
__name: "updatePwd",
|
|
@@ -12,7 +12,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["dialogActionChange"],
|
|
14
14
|
setup(P, { emit: _ }) {
|
|
15
|
-
const i =
|
|
15
|
+
const i = B(), V = P, { pwdVisible: w } = F(V), u = _;
|
|
16
16
|
let l = f({
|
|
17
17
|
encodeOldPwd: "",
|
|
18
18
|
encodeNewPwd: "",
|
|
@@ -38,7 +38,7 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
|
38
38
|
var d;
|
|
39
39
|
await ((d = i.value) == null ? void 0 : d.validate((e) => {
|
|
40
40
|
if (e)
|
|
41
|
-
|
|
41
|
+
N(l.encodeOldPwd, l.encodeNewPwd).then((o) => {
|
|
42
42
|
o.status === 200 && (D({
|
|
43
43
|
message: "密码修改成功",
|
|
44
44
|
type: "success"
|
|
@@ -53,18 +53,18 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
|
53
53
|
(d = i.value) == null || d.resetFields(), u("dialogActionChange", !1);
|
|
54
54
|
}
|
|
55
55
|
return (d, e) => {
|
|
56
|
-
const o =
|
|
57
|
-
return
|
|
56
|
+
const o = y, s = x, b = O, m = h, C = v;
|
|
57
|
+
return I(), R(C, {
|
|
58
58
|
title: "修改密码",
|
|
59
59
|
modelValue: r(w),
|
|
60
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
60
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => U(w) ? w.value = a : null),
|
|
61
61
|
width: "500px",
|
|
62
62
|
onClose: p
|
|
63
63
|
}, {
|
|
64
|
-
footer:
|
|
64
|
+
footer: n(() => [
|
|
65
65
|
q("div", $, [
|
|
66
66
|
t(m, { onClick: p }, {
|
|
67
|
-
default:
|
|
67
|
+
default: n(() => [
|
|
68
68
|
c("取消")
|
|
69
69
|
]),
|
|
70
70
|
_: 1
|
|
@@ -73,31 +73,31 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
|
73
73
|
type: "primary",
|
|
74
74
|
onClick: E
|
|
75
75
|
}, {
|
|
76
|
-
default:
|
|
76
|
+
default: n(() => [
|
|
77
77
|
c("确认")
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
80
|
})
|
|
81
81
|
])
|
|
82
82
|
]),
|
|
83
|
-
default:
|
|
84
|
-
t(
|
|
83
|
+
default: n(() => [
|
|
84
|
+
t(b, {
|
|
85
85
|
ref_key: "pwdRef",
|
|
86
86
|
ref: i,
|
|
87
87
|
model: r(l),
|
|
88
88
|
"label-width": "80px",
|
|
89
89
|
rules: g
|
|
90
90
|
}, {
|
|
91
|
-
default:
|
|
91
|
+
default: n(() => [
|
|
92
92
|
t(s, {
|
|
93
93
|
label: "旧密码",
|
|
94
94
|
prop: "encodeOldPwd"
|
|
95
95
|
}, {
|
|
96
|
-
default:
|
|
96
|
+
default: n(() => [
|
|
97
97
|
t(o, {
|
|
98
98
|
type: "password",
|
|
99
99
|
modelValue: r(l).encodeOldPwd,
|
|
100
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
100
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => r(l).encodeOldPwd = a),
|
|
101
101
|
placeholder: "请输入旧密码",
|
|
102
102
|
"show-password": "",
|
|
103
103
|
clearable: ""
|
|
@@ -109,11 +109,11 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
|
109
109
|
label: "新密码",
|
|
110
110
|
prop: "encodeNewPwd"
|
|
111
111
|
}, {
|
|
112
|
-
default:
|
|
112
|
+
default: n(() => [
|
|
113
113
|
t(o, {
|
|
114
114
|
type: "password",
|
|
115
115
|
modelValue: r(l).encodeNewPwd,
|
|
116
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
116
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => r(l).encodeNewPwd = a),
|
|
117
117
|
placeholder: "请输入新密码",
|
|
118
118
|
"show-password": "",
|
|
119
119
|
clearable: ""
|
|
@@ -125,11 +125,11 @@ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
|
125
125
|
label: "确认密码",
|
|
126
126
|
prop: "confirmPwd"
|
|
127
127
|
}, {
|
|
128
|
-
default:
|
|
128
|
+
default: n(() => [
|
|
129
129
|
t(o, {
|
|
130
130
|
type: "password",
|
|
131
131
|
modelValue: r(l).confirmPwd,
|
|
132
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
132
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => r(l).confirmPwd = a),
|
|
133
133
|
placeholder: "请再一次输入新密码",
|
|
134
134
|
"show-password": "",
|
|
135
135
|
clearable: ""
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosPromise } from "axios";
|
|
2
|
-
import type { CaptchaResult, LoginData, LoginResult,
|
|
2
|
+
import type { CaptchaResult, LoginData, LoginResult, UserInfo } from "./types";
|
|
3
3
|
/**
|
|
4
4
|
* 登录API
|
|
5
5
|
*
|
|
@@ -30,7 +30,7 @@ export declare function logincode(data: any): AxiosPromise<CaptchaResult>;
|
|
|
30
30
|
/**
|
|
31
31
|
* 用户信息
|
|
32
32
|
*/
|
|
33
|
-
export declare function getUserInfoApi(): AxiosPromise<
|
|
33
|
+
export declare function getUserInfoApi(): AxiosPromise<UserInfo>;
|
|
34
34
|
export declare function updateUser(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
35
|
export declare function updatePwd(encodeOldPwd: string, encodeNewPwd: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
36
|
export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -39,3 +39,28 @@ export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<
|
|
|
39
39
|
*/
|
|
40
40
|
export declare function runAsUser(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
41
|
export declare function selectDsdRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
+
/**
|
|
43
|
+
* 获取所有角色列表
|
|
44
|
+
*
|
|
45
|
+
* @returns 返回请求响应结果
|
|
46
|
+
*/
|
|
47
|
+
export declare function listRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
48
|
+
/**
|
|
49
|
+
* 获取所有路由列表
|
|
50
|
+
*
|
|
51
|
+
* @returns 返回请求结果的Promise对象
|
|
52
|
+
*/
|
|
53
|
+
export declare function listRoutes(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
|
+
/**
|
|
55
|
+
* 获取部门树形列表
|
|
56
|
+
*
|
|
57
|
+
* @param deptId 部门ID,可选
|
|
58
|
+
* @returns 返回部门树形列表
|
|
59
|
+
*/
|
|
60
|
+
export declare function treelistDept(deptId?: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
|
+
/**
|
|
62
|
+
* 获取树形列表中所有岗位信息
|
|
63
|
+
*
|
|
64
|
+
* @returns 返回请求结果
|
|
65
|
+
*/
|
|
66
|
+
export declare function treelistJob(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -1,34 +1,24 @@
|
|
|
1
|
+
import type { RouteComponent, RouteRecordRedirectOption, RouteMeta, RouteRecordName } from "vue-router";
|
|
2
|
+
declare type Lazy<T> = () => Promise<T>;
|
|
3
|
+
/** 路由类型 */
|
|
4
|
+
export interface RouteRecord {
|
|
5
|
+
path: string;
|
|
6
|
+
name?: RouteRecordName;
|
|
7
|
+
redirect?: RouteRecordRedirectOption;
|
|
8
|
+
componentName: RouteComponent | Lazy<RouteComponent> | never | string;
|
|
9
|
+
meta: RouteMeta;
|
|
10
|
+
children?: RouteRecord[] | null;
|
|
11
|
+
}
|
|
1
12
|
/**
|
|
2
13
|
* 登录用户信息
|
|
3
14
|
*/
|
|
4
|
-
export interface
|
|
5
|
-
/**
|
|
6
|
-
* 用户ID --不必填
|
|
7
|
-
*/
|
|
15
|
+
export interface UserInfo {
|
|
8
16
|
userId?: string;
|
|
9
|
-
/**
|
|
10
|
-
* 用户名 --不必填
|
|
11
|
-
*/
|
|
12
17
|
userName?: string;
|
|
13
|
-
/**
|
|
14
|
-
* 昵称 --不必填
|
|
15
|
-
*/
|
|
16
18
|
nickName?: string;
|
|
17
|
-
/**
|
|
18
|
-
* 头像 --不必填
|
|
19
|
-
*/
|
|
20
19
|
avatar?: string;
|
|
21
|
-
/**
|
|
22
|
-
* 租户
|
|
23
|
-
*/
|
|
24
20
|
tenant: string;
|
|
25
|
-
/**
|
|
26
|
-
* 角色权限
|
|
27
|
-
*/
|
|
28
21
|
roleCodes: string[];
|
|
29
|
-
/**
|
|
30
|
-
* 操作按钮权限
|
|
31
|
-
*/
|
|
32
22
|
permCodes: string[];
|
|
33
23
|
}
|
|
34
24
|
/**
|
|
@@ -88,7 +78,7 @@ export interface CaptchaResult {
|
|
|
88
78
|
/** 验证码图片Base64字符串 */
|
|
89
79
|
base64Image: string;
|
|
90
80
|
}
|
|
91
|
-
export interface
|
|
81
|
+
export interface SendModelRef {
|
|
92
82
|
/**
|
|
93
83
|
* 操作内容
|
|
94
84
|
*/
|
|
@@ -105,7 +95,7 @@ export interface sendModelRef {
|
|
|
105
95
|
/**
|
|
106
96
|
* 找回密码
|
|
107
97
|
*/
|
|
108
|
-
export interface
|
|
98
|
+
export interface VerificateRef {
|
|
109
99
|
/**
|
|
110
100
|
* 邮箱、手机号
|
|
111
101
|
*/
|
|
@@ -126,7 +116,7 @@ export interface verificateRef {
|
|
|
126
116
|
/**
|
|
127
117
|
* 修改密码
|
|
128
118
|
*/
|
|
129
|
-
export interface
|
|
119
|
+
export interface UpdatePwdForm {
|
|
130
120
|
/**
|
|
131
121
|
* 旧密码
|
|
132
122
|
*/
|
|
@@ -143,7 +133,7 @@ export interface updatePwdForm {
|
|
|
143
133
|
/**
|
|
144
134
|
* 找回密码
|
|
145
135
|
*/
|
|
146
|
-
export interface
|
|
136
|
+
export interface FindPwdRef {
|
|
147
137
|
/**
|
|
148
138
|
* 租户
|
|
149
139
|
*/
|
|
@@ -169,12 +159,30 @@ export interface findPwdRef {
|
|
|
169
159
|
*/
|
|
170
160
|
directoryId: string;
|
|
171
161
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
162
|
+
export interface UserForm {
|
|
163
|
+
tenant?: string;
|
|
164
|
+
updateMask?: string;
|
|
165
|
+
requestId?: string;
|
|
166
|
+
userId?: string;
|
|
167
|
+
repeatPwd?: string;
|
|
168
|
+
avatar?: string;
|
|
169
|
+
directoryId?: string;
|
|
170
|
+
loginName?: string;
|
|
171
|
+
nickName?: string;
|
|
172
|
+
realName?: string;
|
|
173
|
+
birthDate?: string;
|
|
174
|
+
gender?: string;
|
|
175
|
+
mobilePhone?: string;
|
|
176
|
+
roleIds: Array<string>;
|
|
177
|
+
email?: string;
|
|
178
|
+
status?: string;
|
|
179
|
+
pwd?: string;
|
|
180
|
+
userJobs?: UserJobsItem[];
|
|
181
|
+
phoneApproved?: boolean;
|
|
182
|
+
emailApproved?: boolean;
|
|
183
|
+
}
|
|
184
|
+
interface UserJobsItem {
|
|
185
|
+
deptId: string;
|
|
186
|
+
jobId: string;
|
|
180
187
|
}
|
|
188
|
+
export {};
|
package/dts/src/index.d.ts
CHANGED
|
@@ -4,10 +4,9 @@ export type { LoginData } from "@/api/auth/types";
|
|
|
4
4
|
import type { App } from "vue";
|
|
5
5
|
export { menus, vueMetaEnv, addViteMenus, addWebpackMenus, updateMetaEnv, updateSettings } from "./settings";
|
|
6
6
|
export { getQueryParams, clearEmpty, deepMerge } from "./utils/grpc";
|
|
7
|
-
import request from "./utils/request";
|
|
8
|
-
export { request };
|
|
7
|
+
import request, { axiosConfig } from "./utils/request";
|
|
8
|
+
export { request, axiosConfig };
|
|
9
9
|
export { useDictionary } from "./utils/common";
|
|
10
|
-
export { dictMap } from "./api/system/index";
|
|
11
10
|
export { type BizDict, type BizLayDict, EnableBizDict, EnumDict, enumMapCache, useEnum } from "./api/index";
|
|
12
11
|
export { getCaptchaApi, selectDsdRoles } from "@/api/auth";
|
|
13
12
|
export { useListData } from "./hooks/useList";
|
package/package.json
CHANGED
package/dist/edit-BEz2CGVA.mjs
DELETED