jmash-core 0.0.6 → 0.0.8
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-C_qkauQu.mjs → 401-D1navTeN.mjs} +3 -3
- package/dist/{BarChart-CsSnWnk0.mjs → BarChart--O8TFL11.mjs} +3 -3
- package/dist/{FileSaver.min-S6m_zlDZ.mjs → FileSaver.min-CFSHg9zJ.mjs} +5 -5
- package/dist/{PieChart-BXbsYR-1.mjs → PieChart-BsEXTafD.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DtwPlpFC.mjs → PieChart.vue_vue_type_script_setup_true_lang-BoPZVlEy.mjs} +2 -2
- package/dist/{RadarChart-zNAewKa0.mjs → RadarChart-B-25o1xQ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-Dtxsf7KP.mjs → RadarChart.vue_vue_type_script_setup_true_lang-Dk53W_7d.mjs} +2 -2
- package/dist/{caret-bottom-B5kASNne.mjs → caret-bottom-DnFVxAos.mjs} +12 -12
- package/dist/{debounce-DVtCzWbd.mjs → debounce-YcFmMYKS.mjs} +16 -16
- package/dist/{dropdown2-CMOWvf0C.mjs → dropdown2-C14KfhQM.mjs} +7 -7
- package/dist/{edit-BvWmAEHc.mjs → edit-Bi-somHb.mjs} +1 -1
- package/dist/{edit-BhzWgtiu.mjs → edit-BrhHNCNl.mjs} +1 -1
- package/dist/{edit-BcboAnwn.mjs → edit-CNBEQPXE.mjs} +36 -36
- package/dist/{edit-Bv8DZG6p.mjs → edit-CRxj4EY1.mjs} +1 -1
- package/dist/{edit-Cyd9eTU2.mjs → edit-Cn3dM7k5.mjs} +1 -1
- package/dist/edit-DeLAIti_.mjs +4 -0
- package/dist/{edit-DBR41rYO.mjs → edit-DpmMYYl6.mjs} +21 -21
- package/dist/edit-YBi7ifGA.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BVTIqMtE.mjs → edit.vue_vue_type_script_setup_true_lang-8pvOxMW7.mjs} +33 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DiK3ksvS.mjs → edit.vue_vue_type_script_setup_true_lang-B90c-BBg.mjs} +18 -18
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CaR3fD9U.mjs → edit.vue_vue_type_script_setup_true_lang-Buq1ql0E.mjs} +17 -17
- package/dist/{edit.vue_vue_type_script_setup_true_lang-fqt8wb5O.mjs → edit.vue_vue_type_script_setup_true_lang-CBRI_ssD.mjs} +35 -35
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CHTaDBkI.mjs → edit.vue_vue_type_script_setup_true_lang-CVrHkM_q.mjs} +30 -30
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bz1hLu9y.mjs → edit.vue_vue_type_script_setup_true_lang-De3m51Sn.mjs} +18 -18
- package/dist/{el-card-miLDnNw5.mjs → el-card-D0KW8m51.mjs} +4 -4
- package/dist/{el-checkbox-CFMqu9KB.mjs → el-checkbox-BKQlv24T.mjs} +115 -115
- package/dist/{el-col-BEJD7GD1.mjs → el-col-CshwMyIb.mjs} +37 -37
- package/dist/{el-date-picker-Cr-cX8DW.mjs → el-date-picker-L919iy84.mjs} +302 -302
- package/dist/{el-dialog-DsSLDdfQ.mjs → el-dialog-DnjLYfXR.mjs} +69 -69
- package/dist/{el-dropdown-item-BCmwAt2w.mjs → el-dropdown-item-awCBld5w.mjs} +24 -24
- package/dist/{el-form-item-SADwyANR.mjs → el-form-item-vFTHxYmj.mjs} +105 -105
- package/dist/{el-popover-m-Jq-5BK.mjs → el-popover-Bgt26ytG.mjs} +17 -17
- package/dist/{el-popper-1E2gbMai.mjs → el-popper-C4ObtCw4.mjs} +4 -4
- package/dist/{el-progress-BxHkbtFE.mjs → el-progress-Du5X0h6t.mjs} +15 -15
- package/dist/{el-radio-Dx1x2IhO.mjs → el-radio-DMm6yz9z.mjs} +46 -46
- package/dist/{el-scrollbar-COsAm83d.mjs → el-scrollbar-DNrfQkzc.mjs} +66 -66
- package/dist/{el-select-Cge53X_a.mjs → el-select-CvXSBkeW.mjs} +96 -96
- package/dist/{el-switch-3lruHxge.mjs → el-switch-CTHtmrXm.mjs} +37 -37
- package/dist/{el-table-CP25j4nH.mjs → el-table-DBe6lMX0.mjs} +60 -60
- package/dist/{el-tree-select-FIDKYIa1.mjs → el-tree-select-D4-wTWIf.mjs} +64 -64
- package/dist/{importUpload.vue_vue_type_script_setup_true_lang-CZUq7ixU.mjs → importUpload.vue_vue_type_script_setup_true_lang-B3MGPw_2.mjs} +16 -16
- package/dist/{index-BNcw4iMa.mjs → index-3qIRz0lG.mjs} +61 -61
- package/dist/{index-knvasjd6.mjs → index-529I9E4k.mjs} +113 -113
- package/dist/{index-FrT5yP_Z.mjs → index-B-d0sG_m.mjs} +23 -23
- package/dist/{index-g0t1RwR3.mjs → index-B3Yexifn.mjs} +111 -111
- package/dist/{index-DCQmWDX4.mjs → index-B5gZoPzf.mjs} +11 -11
- package/dist/{index-DhAGdVI6.mjs → index-B8FM-nwF.mjs} +1 -1
- package/dist/{index-DfFxhIWV.mjs → index-BYabHywL.mjs} +33 -33
- package/dist/{index-BETVnAE-.mjs → index-BZjZrmGu.mjs} +56 -56
- package/dist/{index-ClV6eGK1.mjs → index-BccYTnUE.mjs} +1 -1
- package/dist/{index-DcpN2fWF.mjs → index-BkQGtIM0.mjs} +6 -6
- package/dist/{index-BWHVnG9T.mjs → index-BuvRskP0.mjs} +46 -46
- package/dist/{index-DYY5todd.mjs → index-C2REEPMM.mjs} +3 -3
- package/dist/{index-Dmv6CYeS.mjs → index-CFY0L-EF.mjs} +38 -38
- package/dist/{index-DuQBVGRw.mjs → index-C_rrQCFw.mjs} +50 -50
- package/dist/{index-82f92F0U.mjs → index-C_tL22hb.mjs} +17 -17
- package/dist/{index-ffGccmy3.mjs → index-DBkD-FDF.mjs} +28 -28
- package/dist/{index-CPIcbKz7.mjs → index-DNsvQhEF.mjs} +51 -51
- package/dist/index-D_7EobKs.mjs +17594 -0
- package/dist/{index-DpuuXN_M.mjs → index-DyAyeZcb.mjs} +1 -1
- package/dist/{index-FaDQHwL2.mjs → index-JhnBAnIL.mjs} +1 -1
- package/dist/{index-Dx53f_Sb.mjs → index-PBq39c_Y.mjs} +26 -26
- package/dist/{index-CtL1ATi2.mjs → index-rOm9tk5c.mjs} +64 -64
- package/dist/index.mjs +10 -10
- package/dist/{index.vue_vue_type_script_setup_true_lang-rl_flY13.mjs → index.vue_vue_type_script_setup_true_lang-Btv8D2QS.mjs} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-f_JnHVJD.mjs → index.vue_vue_type_script_setup_true_lang-CS7m36k5.mjs} +28 -28
- package/dist/{picture-Cnt3kRRp.mjs → picture-DCK2sm2j.mjs} +116 -116
- package/dist/{profile-DGSkxplm.mjs → profile-MjSEwXyJ.mjs} +21 -21
- package/dist/refs-J3utyiz5.mjs +9 -0
- package/dist/style.css +1 -1
- package/dist/{types-CzUG0yyM.mjs → types-u03-XGUh.mjs} +33 -33
- package/dist/{updatePwd-BMZQn7mh.mjs → updatePwd-DVMHZaH_.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Dp-E7ZUt.mjs → updatePwd.vue_vue_type_script_setup_true_lang-C3ySntYh.mjs} +8 -8
- package/dist/{useColumnToggleTable-EJRdhTaG.mjs → useColumnToggleTable-ayAFGBOJ.mjs} +22 -22
- 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 +9 -7
- package/dts/src/lang/index.d.ts +1 -1
- package/dts/src/router/index.d.ts +2 -1
- 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 +0 -1
- package/dts/src/views/system/job/edit.vue.d.ts +0 -1
- package/dts/src/views/system/menu/edit.vue.d.ts +0 -1
- package/dts/src/views/system/module/edit.vue.d.ts +0 -1
- package/dts/src/views/system/operation/edit.vue.d.ts +0 -1
- package/dts/src/views/system/permission/edit.vue.d.ts +0 -1
- package/dts/src/views/system/role/edit.vue.d.ts +0 -1
- package/dts/src/views/system/user/edit.vue.d.ts +0 -1
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -2
- package/dist/edit-DnXU0M0C.mjs +0 -4
- package/dist/edit-DywfQnD6.mjs +0 -4
- package/dist/index-BjNf6_G4.mjs +0 -13179
- package/dist/refs-DQyMCCl7.mjs +0 -9
|
@@ -4,100 +4,100 @@ import type { resourceQuery } from "./types";
|
|
|
4
4
|
*
|
|
5
5
|
* @returns 返回请求结果的Promise对象
|
|
6
6
|
*/
|
|
7
|
-
export declare function listRoutes():
|
|
7
|
+
export declare function listRoutes(): any;
|
|
8
8
|
/**
|
|
9
9
|
* 获取页面数据
|
|
10
10
|
*
|
|
11
11
|
* @param queryParams 查询参数
|
|
12
12
|
* @returns 返回请求结果
|
|
13
13
|
*/
|
|
14
|
-
export declare function getPage(queryParams?: resourceQuery):
|
|
14
|
+
export declare function getPage(queryParams?: resourceQuery): any;
|
|
15
15
|
/**
|
|
16
16
|
* 获取操作列表
|
|
17
17
|
*
|
|
18
18
|
* @returns 返回请求结果
|
|
19
19
|
*/
|
|
20
|
-
export declare function operList():
|
|
20
|
+
export declare function operList(): any;
|
|
21
21
|
/**
|
|
22
22
|
* 获取树形列表
|
|
23
23
|
*
|
|
24
24
|
* @param resourceId 排除的资源ID
|
|
25
25
|
* @returns 返回树形列表数据
|
|
26
26
|
*/
|
|
27
|
-
export declare function treelist(resourceId?: string):
|
|
27
|
+
export declare function treelist(resourceId?: string): any;
|
|
28
28
|
/**
|
|
29
29
|
* 添加资源
|
|
30
30
|
*
|
|
31
31
|
* @param data 资源数据
|
|
32
32
|
* @returns 返回请求结果
|
|
33
33
|
*/
|
|
34
|
-
export declare function addResource(data: any):
|
|
34
|
+
export declare function addResource(data: any): any;
|
|
35
35
|
/**
|
|
36
36
|
* 编辑资源
|
|
37
37
|
*
|
|
38
38
|
* @param data 更新后的数据
|
|
39
39
|
* @returns 返回请求的响应结果
|
|
40
40
|
*/
|
|
41
|
-
export declare function editResource(data: any):
|
|
41
|
+
export declare function editResource(data: any): any;
|
|
42
42
|
/**
|
|
43
43
|
* 批量删除资源
|
|
44
44
|
*
|
|
45
45
|
* @param ids 资源ID数组
|
|
46
46
|
* @returns 返回请求结果
|
|
47
47
|
*/
|
|
48
|
-
export declare function batchDelResource(ids: string):
|
|
48
|
+
export declare function batchDelResource(ids: string): any;
|
|
49
49
|
/**
|
|
50
50
|
* 删除资源
|
|
51
51
|
*
|
|
52
52
|
* @param resourceId 资源ID
|
|
53
53
|
* @returns 返回请求结果
|
|
54
54
|
*/
|
|
55
|
-
export declare function delResource(resourceId: string):
|
|
55
|
+
export declare function delResource(resourceId: string): any;
|
|
56
56
|
/**
|
|
57
57
|
* 获取资源ID
|
|
58
58
|
*
|
|
59
59
|
* @param resourceId 资源ID
|
|
60
60
|
* @returns 返回请求结果
|
|
61
61
|
*/
|
|
62
|
-
export declare function resourceId(resourceId: string):
|
|
62
|
+
export declare function resourceId(resourceId: string): any;
|
|
63
63
|
/**
|
|
64
64
|
* 导出资源到Excel文件
|
|
65
65
|
*
|
|
66
66
|
* @param queryParams 查询参数
|
|
67
67
|
* @returns 返回一个Promise对象,用于处理异步操作
|
|
68
68
|
*/
|
|
69
|
-
export declare function exportResourceExcel(queryParams: any):
|
|
69
|
+
export declare function exportResourceExcel(queryParams: any): any;
|
|
70
70
|
/**
|
|
71
71
|
* 导入资源
|
|
72
72
|
*
|
|
73
73
|
* @param data 资源数据
|
|
74
74
|
* @returns 返回请求结果
|
|
75
75
|
*/
|
|
76
|
-
export declare function importResource(data: any):
|
|
76
|
+
export declare function importResource(data: any): any;
|
|
77
77
|
/**
|
|
78
78
|
* 获取模板菜单
|
|
79
79
|
*
|
|
80
80
|
* @returns 返回一个Promise对象,resolve为模板菜单的Blob数据
|
|
81
81
|
*/
|
|
82
|
-
export declare function templateMenu():
|
|
82
|
+
export declare function templateMenu(): any;
|
|
83
83
|
/**
|
|
84
84
|
* 判断菜单是否存在
|
|
85
85
|
*
|
|
86
86
|
* @param url 菜单url
|
|
87
87
|
* @returns 返回请求结果
|
|
88
88
|
*/
|
|
89
|
-
export declare function existMenu(url: string):
|
|
89
|
+
export declare function existMenu(url: string): any;
|
|
90
90
|
/**
|
|
91
91
|
* 上移菜单
|
|
92
92
|
*
|
|
93
93
|
* @param resourceId 资源ID
|
|
94
94
|
* @returns 返回请求结果
|
|
95
95
|
*/
|
|
96
|
-
export declare function moveupMenu(resourceId: string):
|
|
96
|
+
export declare function moveupMenu(resourceId: string): any;
|
|
97
97
|
/**
|
|
98
98
|
* 将指定资源下移
|
|
99
99
|
*
|
|
100
100
|
* @param resourceId 资源ID
|
|
101
101
|
* @returns 返回一个Promise对象,用于处理异步操作的结果
|
|
102
102
|
*/
|
|
103
|
-
export declare function movedownMenu(resourceId: string):
|
|
103
|
+
export declare function movedownMenu(resourceId: string): any;
|
|
@@ -5,53 +5,53 @@ import type { moduleQuery } from "./types";
|
|
|
5
5
|
* @param queryParams 查询参数
|
|
6
6
|
* @returns 返回请求结果
|
|
7
7
|
*/
|
|
8
|
-
export declare function getPage(queryParams?: moduleQuery):
|
|
8
|
+
export declare function getPage(queryParams?: moduleQuery): any;
|
|
9
9
|
/**
|
|
10
10
|
* 添加模块
|
|
11
11
|
*
|
|
12
12
|
* @param data 模块数据
|
|
13
13
|
* @returns 返回请求结果
|
|
14
14
|
*/
|
|
15
|
-
export declare function addModule(data: any):
|
|
15
|
+
export declare function addModule(data: any): any;
|
|
16
16
|
/**
|
|
17
17
|
* 编辑模块
|
|
18
18
|
*
|
|
19
19
|
* @param data 模块数据
|
|
20
20
|
* @returns 返回请求结果
|
|
21
21
|
*/
|
|
22
|
-
export declare function editModule(data: any):
|
|
22
|
+
export declare function editModule(data: any): any;
|
|
23
23
|
/**
|
|
24
24
|
* 批量删除模块
|
|
25
25
|
*
|
|
26
26
|
* @param ids 模块ID数组
|
|
27
27
|
* @returns 返回请求结果
|
|
28
28
|
*/
|
|
29
|
-
export declare function batchDelModule(ids: string):
|
|
29
|
+
export declare function batchDelModule(ids: string): any;
|
|
30
30
|
/**
|
|
31
31
|
* 删除模块
|
|
32
32
|
*
|
|
33
33
|
* @param moduleId 模块ID
|
|
34
34
|
* @returns 返回请求结果
|
|
35
35
|
*/
|
|
36
|
-
export declare function delModule(moduleId: string):
|
|
36
|
+
export declare function delModule(moduleId: string): any;
|
|
37
37
|
/**
|
|
38
38
|
* 移动模块至上方
|
|
39
39
|
*
|
|
40
40
|
* @param moduleId 模块ID
|
|
41
41
|
* @returns 返回请求结果
|
|
42
42
|
*/
|
|
43
|
-
export declare function moveupModule(moduleId: string):
|
|
43
|
+
export declare function moveupModule(moduleId: string): any;
|
|
44
44
|
/**
|
|
45
45
|
* 将指定模块下移
|
|
46
46
|
*
|
|
47
47
|
* @param moduleId 模块ID
|
|
48
48
|
* @returns 返回请求结果
|
|
49
49
|
*/
|
|
50
|
-
export declare function movedownModule(moduleId: string):
|
|
50
|
+
export declare function movedownModule(moduleId: string): any;
|
|
51
51
|
/**
|
|
52
52
|
* 获取模块列表
|
|
53
53
|
*
|
|
54
54
|
* @returns 返回请求结果
|
|
55
55
|
*/
|
|
56
|
-
export declare function moduleList():
|
|
57
|
-
export declare function checkModuleApi(moduleCode: string):
|
|
56
|
+
export declare function moduleList(): any;
|
|
57
|
+
export declare function checkModuleApi(moduleCode: string): any;
|
|
@@ -5,47 +5,47 @@ import type { operationQuery } from "./types";
|
|
|
5
5
|
* @param queryParams 分页查询参数,可选
|
|
6
6
|
* @returns 返回请求结果
|
|
7
7
|
*/
|
|
8
|
-
export declare function getPage(queryParams?: operationQuery):
|
|
8
|
+
export declare function getPage(queryParams?: operationQuery): any;
|
|
9
9
|
/**
|
|
10
10
|
* 添加操作
|
|
11
11
|
*
|
|
12
12
|
* @param data 操作数据
|
|
13
13
|
* @returns 返回请求结果
|
|
14
14
|
*/
|
|
15
|
-
export declare function addOperation(data: any):
|
|
15
|
+
export declare function addOperation(data: any): any;
|
|
16
16
|
/**
|
|
17
17
|
* 编辑操作
|
|
18
18
|
*
|
|
19
19
|
* @param data 编辑数据
|
|
20
20
|
* @returns 返回请求结果
|
|
21
21
|
*/
|
|
22
|
-
export declare function editOperation(data: any):
|
|
22
|
+
export declare function editOperation(data: any): any;
|
|
23
23
|
/**
|
|
24
24
|
* 删除操作
|
|
25
25
|
*
|
|
26
26
|
* @param operationId 操作ID
|
|
27
27
|
* @returns 返回请求结果
|
|
28
28
|
*/
|
|
29
|
-
export declare function delOperation(operationId: string):
|
|
29
|
+
export declare function delOperation(operationId: string): any;
|
|
30
30
|
/**
|
|
31
31
|
* 上移操作
|
|
32
32
|
*
|
|
33
33
|
* @param operationId 操作ID
|
|
34
34
|
* @returns 返回请求结果
|
|
35
35
|
*/
|
|
36
|
-
export declare function moveupOperation(operationId: string):
|
|
36
|
+
export declare function moveupOperation(operationId: string): any;
|
|
37
37
|
/**
|
|
38
38
|
* 将指定操作下移
|
|
39
39
|
*
|
|
40
40
|
* @param operationId 操作ID
|
|
41
41
|
* @returns 返回请求结果
|
|
42
42
|
*/
|
|
43
|
-
export declare function movedownOperation(operationId: string):
|
|
43
|
+
export declare function movedownOperation(operationId: string): any;
|
|
44
44
|
/**
|
|
45
45
|
* 批量删除操作
|
|
46
46
|
*
|
|
47
47
|
* @param ids 操作ID数组
|
|
48
48
|
* @returns 返回请求结果
|
|
49
49
|
*/
|
|
50
|
-
export declare function batchDelOperation(ids: string):
|
|
51
|
-
export declare function checkOperationApi(operationCode: string):
|
|
50
|
+
export declare function batchDelOperation(ids: string): any;
|
|
51
|
+
export declare function checkOperationApi(operationCode: string): any;
|
|
@@ -5,46 +5,46 @@ import type { permissionQuery } from "./types";
|
|
|
5
5
|
* @param queryParams 查询参数,可选
|
|
6
6
|
* @returns 返回请求结果
|
|
7
7
|
*/
|
|
8
|
-
export declare function getPage(queryParams?: permissionQuery):
|
|
8
|
+
export declare function getPage(queryParams?: permissionQuery): any;
|
|
9
9
|
/**
|
|
10
10
|
* 删除权限
|
|
11
11
|
*
|
|
12
12
|
* @param permId 权限ID
|
|
13
13
|
* @returns 返回请求结果
|
|
14
14
|
*/
|
|
15
|
-
export declare function delPerm(permId: string):
|
|
15
|
+
export declare function delPerm(permId: string): any;
|
|
16
16
|
/**
|
|
17
17
|
* 添加权限
|
|
18
18
|
*
|
|
19
19
|
* @param data 权限数据
|
|
20
20
|
* @returns 返回请求结果
|
|
21
21
|
*/
|
|
22
|
-
export declare function addPerm(data: any):
|
|
22
|
+
export declare function addPerm(data: any): any;
|
|
23
23
|
/**
|
|
24
24
|
* 编辑权限
|
|
25
25
|
*
|
|
26
26
|
* @param data 编辑权限所需数据
|
|
27
27
|
* @returns 返回请求结果
|
|
28
28
|
*/
|
|
29
|
-
export declare function editPerm(data: any):
|
|
29
|
+
export declare function editPerm(data: any): any;
|
|
30
30
|
/**
|
|
31
31
|
* 批量删除权限
|
|
32
32
|
*
|
|
33
33
|
* @param ids 权限ID数组
|
|
34
34
|
* @returns 返回请求结果
|
|
35
35
|
*/
|
|
36
|
-
export declare function batchDelPerm(ids: string):
|
|
36
|
+
export declare function batchDelPerm(ids: string): any;
|
|
37
37
|
/**
|
|
38
38
|
* 获取权限列表
|
|
39
39
|
*
|
|
40
40
|
* @param moduleId 模块ID
|
|
41
41
|
* @returns 返回一个Promise,resolve为权限列表
|
|
42
42
|
*/
|
|
43
|
-
export declare function permlist(moduleId: string):
|
|
43
|
+
export declare function permlist(moduleId: string): any;
|
|
44
44
|
/**
|
|
45
45
|
* 权限校验 API
|
|
46
46
|
*
|
|
47
47
|
* @param permCode 权限编码
|
|
48
48
|
* @returns 返回请求结果
|
|
49
49
|
*/
|
|
50
|
-
export declare function checkPermApi(permCode: string):
|
|
50
|
+
export declare function checkPermApi(permCode: string): any;
|
|
@@ -4,74 +4,74 @@ import type { roleQuery } from "./types";
|
|
|
4
4
|
*
|
|
5
5
|
* @returns 返回请求响应结果
|
|
6
6
|
*/
|
|
7
|
-
export declare function listRoles():
|
|
7
|
+
export declare function listRoles(): any;
|
|
8
8
|
/**
|
|
9
9
|
* 获取页面数据
|
|
10
10
|
*
|
|
11
11
|
* @param queryParams 查询参数,可选
|
|
12
12
|
* @returns 返回请求结果
|
|
13
13
|
*/
|
|
14
|
-
export declare function getPage(queryParams?: roleQuery):
|
|
14
|
+
export declare function getPage(queryParams?: roleQuery): any;
|
|
15
15
|
/**
|
|
16
16
|
* 获取树形列表的角色信息
|
|
17
17
|
*
|
|
18
18
|
* @param roleId 角色ID,可选
|
|
19
19
|
* @returns 返回请求结果
|
|
20
20
|
*/
|
|
21
|
-
export declare function treelistRole(roleId?: string):
|
|
21
|
+
export declare function treelistRole(roleId?: string): any;
|
|
22
22
|
/**
|
|
23
23
|
* 编辑角色
|
|
24
24
|
*
|
|
25
25
|
* @param data 编辑角色的数据
|
|
26
26
|
* @returns 返回请求结果
|
|
27
27
|
*/
|
|
28
|
-
export declare function editRole(data: any):
|
|
28
|
+
export declare function editRole(data: any): any;
|
|
29
29
|
/**
|
|
30
30
|
* 添加角色
|
|
31
31
|
*
|
|
32
32
|
* @param data 角色数据
|
|
33
33
|
* @returns 返回请求结果
|
|
34
34
|
*/
|
|
35
|
-
export declare function addRole(data: any):
|
|
35
|
+
export declare function addRole(data: any): any;
|
|
36
36
|
/**
|
|
37
37
|
* 删除角色
|
|
38
38
|
*
|
|
39
39
|
* @param roleId 角色ID
|
|
40
40
|
* @returns 返回请求结果
|
|
41
41
|
*/
|
|
42
|
-
export declare function delRole(roleId: string):
|
|
42
|
+
export declare function delRole(roleId: string): any;
|
|
43
43
|
/**
|
|
44
44
|
* 批量删除角色
|
|
45
45
|
*
|
|
46
46
|
* @param ids 角色ID数组
|
|
47
47
|
* @returns 返回请求结果
|
|
48
48
|
*/
|
|
49
|
-
export declare function batchDelRole(ids: string):
|
|
49
|
+
export declare function batchDelRole(ids: string): any;
|
|
50
50
|
/**
|
|
51
51
|
* 向上移动角色
|
|
52
52
|
*
|
|
53
53
|
* @param roleId 角色ID
|
|
54
54
|
* @returns 返回Promise对象,表示异步操作的结果
|
|
55
55
|
*/
|
|
56
|
-
export declare function moveupRole(roleId: string):
|
|
56
|
+
export declare function moveupRole(roleId: string): any;
|
|
57
57
|
/**
|
|
58
58
|
* 将角色下移
|
|
59
59
|
*
|
|
60
60
|
* @param roleId 角色ID
|
|
61
61
|
* @returns 返回请求结果
|
|
62
62
|
*/
|
|
63
|
-
export declare function movedownRole(roleId: string):
|
|
63
|
+
export declare function movedownRole(roleId: string): any;
|
|
64
64
|
/**
|
|
65
65
|
* 根据角色ID获取角色信息
|
|
66
66
|
*
|
|
67
67
|
* @param roleId 角色ID
|
|
68
68
|
* @returns 返回请求结果
|
|
69
69
|
*/
|
|
70
|
-
export declare function roleId(roleId: string):
|
|
70
|
+
export declare function roleId(roleId: string): any;
|
|
71
71
|
/**
|
|
72
72
|
* 判断角色是否存在
|
|
73
73
|
*
|
|
74
74
|
* @param code 角色代码
|
|
75
75
|
* @returns 返回角色是否存在的结果
|
|
76
76
|
*/
|
|
77
|
-
export declare function existRole(query: any):
|
|
77
|
+
export declare function existRole(query: any): any;
|
|
@@ -5,111 +5,111 @@ import type { userQuery } from "./types";
|
|
|
5
5
|
* @param queryParams 分页查询参数
|
|
6
6
|
* @returns 返回请求结果
|
|
7
7
|
*/
|
|
8
|
-
export declare function getPage(queryParams?: userQuery):
|
|
8
|
+
export declare function getPage(queryParams?: userQuery): any;
|
|
9
9
|
/**
|
|
10
10
|
* 删除用户
|
|
11
11
|
*
|
|
12
12
|
* @param userId 用户ID
|
|
13
13
|
* @returns 返回请求结果
|
|
14
14
|
*/
|
|
15
|
-
export declare function delUser(userId: string):
|
|
15
|
+
export declare function delUser(userId: string): any;
|
|
16
16
|
/**
|
|
17
17
|
* 批量删除用户
|
|
18
18
|
*
|
|
19
19
|
* @param ids 用户ID数组
|
|
20
20
|
* @returns 返回请求结果
|
|
21
21
|
*/
|
|
22
|
-
export declare function batchDelUser(ids: string):
|
|
22
|
+
export declare function batchDelUser(ids: string): any;
|
|
23
23
|
/**
|
|
24
24
|
* 添加用户
|
|
25
25
|
*
|
|
26
26
|
* @param data 用户数据
|
|
27
27
|
* @returns 返回请求结果
|
|
28
28
|
*/
|
|
29
|
-
export declare function addUser(data: any):
|
|
29
|
+
export declare function addUser(data: any): any;
|
|
30
30
|
/**
|
|
31
31
|
* 编辑用户信息
|
|
32
32
|
*
|
|
33
33
|
* @param data 用户数据
|
|
34
34
|
* @returns 返回请求结果
|
|
35
35
|
*/
|
|
36
|
-
export declare function editUser(data: any):
|
|
36
|
+
export declare function editUser(data: any): any;
|
|
37
37
|
/**
|
|
38
38
|
* 用户锁定
|
|
39
39
|
*
|
|
40
40
|
* @param data 锁定用户所需的数据
|
|
41
41
|
* @returns 返回请求结果
|
|
42
42
|
*/
|
|
43
|
-
export declare function userUnlock(data: any):
|
|
43
|
+
export declare function userUnlock(data: any): any;
|
|
44
44
|
/**
|
|
45
45
|
* 批量启用禁用用户API
|
|
46
46
|
*
|
|
47
47
|
* @param data 批量启用用户的数据
|
|
48
48
|
* @returns 返回请求结果
|
|
49
49
|
*/
|
|
50
|
-
export declare function batchEnableUserApi(data: any):
|
|
50
|
+
export declare function batchEnableUserApi(data: any): any;
|
|
51
51
|
/**
|
|
52
52
|
* 启用禁用用户API
|
|
53
53
|
*
|
|
54
54
|
* @param userId 用户ID
|
|
55
55
|
* @returns 返回请求结果
|
|
56
56
|
*/
|
|
57
|
-
export declare function enableUserApi(userId: string):
|
|
57
|
+
export declare function enableUserApi(userId: string): any;
|
|
58
58
|
/**
|
|
59
59
|
* 获取用户ID
|
|
60
60
|
*
|
|
61
61
|
* @param userId 用户ID
|
|
62
62
|
* @returns 返回请求结果
|
|
63
63
|
*/
|
|
64
|
-
export declare function userId(userId: string):
|
|
64
|
+
export declare function userId(userId: string): any;
|
|
65
65
|
/**
|
|
66
66
|
* 重置密码
|
|
67
67
|
*
|
|
68
68
|
* @param data 包含用户名和新密码的对象
|
|
69
69
|
* @returns 返回请求结果
|
|
70
70
|
*/
|
|
71
|
-
export declare function resetpwd(data: any):
|
|
71
|
+
export declare function resetpwd(data: any): any;
|
|
72
72
|
/**
|
|
73
73
|
* 导出用户Excel文件
|
|
74
74
|
*
|
|
75
75
|
* @param queryParams 查询参数,可选
|
|
76
76
|
* @returns 返回一个Promise对象,用于处理响应结果
|
|
77
77
|
*/
|
|
78
|
-
export declare function exportUserExcel(queryParams: any):
|
|
78
|
+
export declare function exportUserExcel(queryParams: any): any;
|
|
79
79
|
/**
|
|
80
80
|
* 导出用户PDF文件
|
|
81
81
|
*
|
|
82
82
|
* @param queryParams 查询参数,可选
|
|
83
83
|
* @returns 返回请求结果
|
|
84
84
|
*/
|
|
85
|
-
export declare function exportUserPDF(queryParams: any):
|
|
85
|
+
export declare function exportUserPDF(queryParams: any): any;
|
|
86
86
|
/**
|
|
87
87
|
* 获取用户模板
|
|
88
88
|
*
|
|
89
89
|
* @returns 返回请求的 Promise 对象
|
|
90
90
|
*/
|
|
91
|
-
export declare function templateUser():
|
|
91
|
+
export declare function templateUser(): any;
|
|
92
92
|
/**
|
|
93
93
|
* 导入用户
|
|
94
94
|
*
|
|
95
95
|
* @param data 用户数据
|
|
96
96
|
* @returns 返回请求结果
|
|
97
97
|
*/
|
|
98
|
-
export declare function importUser(data: any):
|
|
98
|
+
export declare function importUser(data: any): any;
|
|
99
99
|
/**
|
|
100
100
|
* 第三方登录列表
|
|
101
101
|
*
|
|
102
102
|
* @param userId 用户ID
|
|
103
103
|
* @returns 返回请求结果
|
|
104
104
|
*/
|
|
105
|
-
export declare function openList(userId: string):
|
|
105
|
+
export declare function openList(userId: string): any;
|
|
106
106
|
/**
|
|
107
107
|
* 解绑第三方登录
|
|
108
108
|
*
|
|
109
109
|
* @param query 请求参数
|
|
110
110
|
* @returns 返回请求结果
|
|
111
111
|
*/
|
|
112
|
-
export declare function unBindOpens(query: any):
|
|
112
|
+
export declare function unBindOpens(query: any): any;
|
|
113
113
|
/**
|
|
114
114
|
* 判断邮箱/手机号/用户名是否存在
|
|
115
115
|
*
|
|
@@ -117,17 +117,17 @@ export declare function unBindOpens(query: any): Promise<import("axios").AxiosRe
|
|
|
117
117
|
* @param userName 邮箱/手机号/用户名
|
|
118
118
|
* @returns 返回请求结果
|
|
119
119
|
*/
|
|
120
|
-
export declare function existUser(userId: string, userName: string):
|
|
120
|
+
export declare function existUser(userId: string, userName: string): any;
|
|
121
121
|
/**
|
|
122
122
|
* 获取目录API
|
|
123
123
|
*
|
|
124
124
|
* @returns 返回一个请求对象
|
|
125
125
|
*/
|
|
126
|
-
export declare function getDirectoryApi():
|
|
126
|
+
export declare function getDirectoryApi(): any;
|
|
127
127
|
/**
|
|
128
128
|
* 用户审核API
|
|
129
129
|
*
|
|
130
130
|
* @param data 请求数据
|
|
131
131
|
* @returns 返回请求结果
|
|
132
132
|
*/
|
|
133
|
-
export declare function approveUserApi(data: any):
|
|
133
|
+
export declare function approveUserApi(data: any): any;
|
|
@@ -5,25 +5,25 @@ import type { userLogQuery } from "./types";
|
|
|
5
5
|
* @param queryParams 查询参数,可选,类型为 userLogQuery
|
|
6
6
|
* @returns 返回请求结果
|
|
7
7
|
*/
|
|
8
|
-
export declare function getPage(queryParams?: userLogQuery):
|
|
8
|
+
export declare function getPage(queryParams?: userLogQuery): any;
|
|
9
9
|
/**
|
|
10
10
|
* 批量删除安全日志
|
|
11
11
|
*
|
|
12
12
|
* @param year 年份
|
|
13
13
|
* @returns 返回删除操作的结果
|
|
14
14
|
*/
|
|
15
|
-
export declare function batchDelUserLog(year: string):
|
|
15
|
+
export declare function batchDelUserLog(year: string): any;
|
|
16
16
|
/**
|
|
17
17
|
* 导出安全日志为Excel文件
|
|
18
18
|
*
|
|
19
19
|
* @param queryParams 查询参数,可选
|
|
20
20
|
* @returns 返回一个Promise对象,表示请求的结果
|
|
21
21
|
*/
|
|
22
|
-
export declare function exportUserLogExcel(queryParams: any):
|
|
22
|
+
export declare function exportUserLogExcel(queryParams: any): any;
|
|
23
23
|
/**
|
|
24
24
|
* 用户登录日志查询
|
|
25
25
|
*
|
|
26
26
|
* @param userId 用户ID
|
|
27
27
|
* @returns 返回请求结果
|
|
28
28
|
*/
|
|
29
|
-
export declare function userLogUser(userId: string):
|
|
29
|
+
export declare function userLogUser(userId: string): any;
|
|
@@ -33,9 +33,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
35
|
}>>, {
|
|
36
|
+
dictType: string;
|
|
37
|
+
dictValue: string;
|
|
36
38
|
placeholder: string;
|
|
37
39
|
clearable: boolean;
|
|
38
|
-
dictValue: string;
|
|
39
|
-
dictType: string;
|
|
40
40
|
}, {}>;
|
|
41
41
|
export default _default;
|
|
@@ -76,13 +76,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onUpdate:limit"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}, {
|
|
79
|
+
hidden: boolean;
|
|
79
80
|
total: number;
|
|
80
81
|
page: number;
|
|
81
|
-
layout: string;
|
|
82
|
-
hidden: boolean;
|
|
83
|
-
background: boolean;
|
|
84
82
|
limit: number;
|
|
85
83
|
pageSizes: number[];
|
|
84
|
+
layout: string;
|
|
85
|
+
background: boolean;
|
|
86
86
|
autoScroll: boolean;
|
|
87
87
|
}, {}>;
|
|
88
88
|
export default _default;
|
package/dts/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="types/shims-vue" />
|
|
1
2
|
import type { App } from 'vue';
|
|
2
3
|
export { getQueryParams } from '@/utils/grpc';
|
|
3
4
|
export { ResizeObserver } from '@/utils/resize';
|
|
@@ -7,17 +8,18 @@ export { usePermissionStore, usePermissionStoreHook } from './stores/modules/per
|
|
|
7
8
|
export { useSettingsStore } from './stores/modules/settings';
|
|
8
9
|
export { useTagsViewStore } from './stores/modules/tagsView';
|
|
9
10
|
export { useUserStore, useUserStoreHook } from './stores/modules/user';
|
|
10
|
-
export { resetRouter
|
|
11
|
+
export { resetRouter } from '@/router';
|
|
11
12
|
import router from '@/router';
|
|
12
13
|
export { router };
|
|
13
14
|
import directive from '@/directive';
|
|
14
15
|
export { directive };
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
16
|
+
export declare const Layout: () => Promise<typeof import("*.vue")>;
|
|
17
|
+
export declare const LoginPage: () => Promise<typeof import("*.vue")>;
|
|
18
|
+
export declare const MultiFactorLoginPage: () => Promise<typeof import("*.vue")>;
|
|
19
|
+
export declare const ProfilePage: () => Promise<typeof import("*.vue")>;
|
|
20
|
+
export declare const Error401Page: () => Promise<typeof import("*.vue")>;
|
|
21
|
+
export declare const Error404Page: () => Promise<typeof import("*.vue")>;
|
|
22
|
+
export declare const DashboardPage: () => Promise<typeof import("*.vue")>;
|
|
21
23
|
import i18n from '@/lang/index';
|
|
22
24
|
export { i18n };
|
|
23
25
|
import 'virtual:svg-icons-register';
|
package/dts/src/lang/index.d.ts
CHANGED