md-iview 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/package.json +116 -0
- package/src/components/libs/util.js +117 -0
- package/src/components/md-error-page/403.less +92 -0
- package/src/components/md-error-page/403.vue +34 -0
- package/src/components/md-error-page/404.less +60 -0
- package/src/components/md-error-page/404.vue +34 -0
- package/src/components/md-error-page/500.less +73 -0
- package/src/components/md-error-page/500.vue +36 -0
- package/src/components/md-error-page/demo/index.less +22 -0
- package/src/components/md-error-page/demo/index.vue +97 -0
- package/src/components/md-form-item/index.js +3 -0
- package/src/components/md-icon/icon.vue +77 -0
- package/src/components/md-icon/icons.js +5 -0
- package/src/components/md-icon/index.js +11 -0
- package/src/components/md-icon/style/index.less +1 -0
- package/src/components/md-loading/index.js +55 -0
- package/src/components/md-loading/index.vue +53 -0
- package/src/components/md-loading/md-loading.js +38 -0
- package/src/components/md-print/demo/index.vue +260 -0
- package/src/components/md-print/index.js +123 -0
- package/src/components/md-rich-editor/index.vue +69 -0
- package/src/components/md-rich-editor/module/image-extend/index.js +216 -0
- package/src/components/md-scroll-bar/demo/index.vue +102 -0
- package/src/components/md-scroll-bar/index.js +3 -0
- package/src/components/md-scroll-bar/index.less +90 -0
- package/src/components/md-scroll-bar/index.vue +250 -0
- package/src/components/md-select/index.js +7 -0
- package/src/components/md-select/select.vue +841 -0
- package/src/components/md-shrinkable-menu/components/sidebarMenu.vue +167 -0
- package/src/components/md-shrinkable-menu/components/sidebarMenuShrink.vue +119 -0
- package/src/components/md-shrinkable-menu/demo/data/cachePage.js +1 -0
- package/src/components/md-shrinkable-menu/demo/data/currentPath.js +9 -0
- package/src/components/md-shrinkable-menu/demo/data/menu.js +575 -0
- package/src/components/md-shrinkable-menu/demo/data/menu2.js +1017 -0
- package/src/components/md-shrinkable-menu/demo/data/pageTagsList.js +153 -0
- package/src/components/md-shrinkable-menu/demo/index.less +297 -0
- package/src/components/md-shrinkable-menu/demo/index.vue +285 -0
- package/src/components/md-shrinkable-menu/index.vue +112 -0
- package/src/components/md-shrinkable-menu/sidebar.vue +195 -0
- package/src/components/md-shrinkable-menu/styles/menu.less +5 -0
- package/src/components/md-shrinkable-menu/styles/sidebar.less +363 -0
- package/src/components/md-split-pane/demo/index.vue +101 -0
- package/src/components/md-split-pane/index.js +3 -0
- package/src/components/md-split-pane/index.less +93 -0
- package/src/components/md-split-pane/index.vue +230 -0
- package/src/components/md-table/action-tooltip.vue +45 -0
- package/src/components/md-table/can-edit-v2.vue +823 -0
- package/src/components/md-table/can-edit.vue +723 -0
- package/src/components/md-table/custom-cell.vue +71 -0
- package/src/components/md-table/date-picker-cell-v2.vue +48 -0
- package/src/components/md-table/date-picker-cell.vue +39 -0
- package/src/components/md-table/demo/data/search.js +67 -0
- package/src/components/md-table/demo/data/table2csv.js +200 -0
- package/src/components/md-table/demo/data/table2excel.js +239 -0
- package/src/components/md-table/demo/data/table_data.js +251 -0
- package/src/components/md-table/demo/editable-table.vue +144 -0
- package/src/components/md-table/demo/exportable-table.vue +124 -0
- package/src/components/md-table/demo/widgets/header-search.vue +88 -0
- package/src/components/md-table/drop-down-cell-v2.vue +87 -0
- package/src/components/md-table/drop-down-cell.vue +81 -0
- package/src/components/md-table/editable-expand.vue +143 -0
- package/src/components/md-table/expand.vue +97 -0
- package/src/components/md-table/index.vue +53 -0
- package/src/components/md-table/iview-table/cell.vue +99 -0
- package/src/components/md-table/iview-table/expand.js +21 -0
- package/src/components/md-table/iview-table/export-csv.js +76 -0
- package/src/components/md-table/iview-table/header.js +16 -0
- package/src/components/md-table/iview-table/index.js +2 -0
- package/src/components/md-table/iview-table/mixin.js +31 -0
- package/src/components/md-table/iview-table/table-body.vue +101 -0
- package/src/components/md-table/iview-table/table-head.vue +311 -0
- package/src/components/md-table/iview-table/table-tr.vue +31 -0
- package/src/components/md-table/iview-table/table.vue +1026 -0
- package/src/components/md-table/iview-table/util.js +93 -0
- package/src/components/md-table/libs/table2excel.js +100 -0
- package/src/components/md-table/select-cell-v2.vue +64 -0
- package/src/components/md-table/select-cell.vue +46 -0
- package/src/components/md-table/table.less +76 -0
- package/src/components/md-toolbar/index.vue +171 -0
- package/src/components/md-tree/index.js +2 -0
- package/src/components/md-tree/node.vue +238 -0
- package/src/components/md-tree/render.js +17 -0
- package/src/components/md-tree/tree.vue +241 -0
- package/src/components/utilities/can.js +35 -0
- package/src/directives/index.js +34 -0
- package/src/directives/resize.js +27 -0
- package/src/directives/scroll.js +27 -0
- package/src/directives/style/bg-color.js +23 -0
- package/src/directives/style/color.js +23 -0
- package/src/directives/style/font-size.js +23 -0
- package/src/directives/style/height.js +23 -0
- package/src/directives/style/lineHeight.js +23 -0
- package/src/directives/style/margin.js +48 -0
- package/src/directives/style/opacity.js +23 -0
- package/src/directives/style/padding.js +48 -0
- package/src/directives/style/width.js +24 -0
- package/src/index.js +442 -0
- package/src/locale/lang.js +5 -0
- package/src/mixins/colorable.js +51 -0
- package/src/style/color/bezierEasing.less +110 -0
- package/src/style/color/colorPalette.less +75 -0
- package/src/style/color/colors.less +146 -0
- package/src/style/color/tinyColor.less +1184 -0
- package/src/style/common.less +72 -0
- package/src/style/components/_ripple.less +60 -0
- package/src/style/components/_shrinkable-menu.less +46 -0
- package/src/style/components/_toolbar.less +96 -0
- package/src/style/components/index.less +3 -0
- package/src/style/components/rich-editor.less +6 -0
- package/src/style/index.less +10 -0
- package/src/style/theme.less +155 -0
- package/src/utils/color.js +46 -0
- package/src/utils/console.js +105 -0
- package/src/utils/load.js +79 -0
- package/src/utils/mask.js +139 -0
- package/src/utils/mixins.js +5 -0
- package/src/utils/validate.js +271 -0
@@ -0,0 +1,1017 @@
|
|
1
|
+
export
|
2
|
+
default {
|
3
|
+
"success": true,
|
4
|
+
"result": [{
|
5
|
+
"id": 3,
|
6
|
+
"code": "choerodon.code.iam",
|
7
|
+
"name": "平台设置",
|
8
|
+
"fdLevel": "site",
|
9
|
+
"pertainNo": "",
|
10
|
+
"parentId": 0,
|
11
|
+
"type": "root",
|
12
|
+
"sort": 0,
|
13
|
+
"isDefault": true,
|
14
|
+
"icon": "IAM",
|
15
|
+
"route": null,
|
16
|
+
"objectVersionNumber": 4,
|
17
|
+
"permDTOList": [],
|
18
|
+
"childList": [{
|
19
|
+
"id": 35,
|
20
|
+
"code": "choerodon.code.iam.organization",
|
21
|
+
"name": "组织管理",
|
22
|
+
"fdLevel": "site",
|
23
|
+
"pertainNo": "",
|
24
|
+
"parentId": 3,
|
25
|
+
"type": "menu",
|
26
|
+
"sort": 1,
|
27
|
+
"isDefault": true,
|
28
|
+
"icon": "manage_organization",
|
29
|
+
"route": "/iam/organization",
|
30
|
+
"objectVersionNumber": 4,
|
31
|
+
"permDTOList": [{
|
32
|
+
"id": null,
|
33
|
+
"code": null,
|
34
|
+
"path": "/v1/platform/disableOrg",
|
35
|
+
"method": "put",
|
36
|
+
"fdLevel": null,
|
37
|
+
"description": null,
|
38
|
+
"action": "disableOrganization",
|
39
|
+
"fdResource": null,
|
40
|
+
"publicAccess": false,
|
41
|
+
"loginAccess": false,
|
42
|
+
"serviceName": null,
|
43
|
+
"within": null,
|
44
|
+
"objectVersionNumber": null,
|
45
|
+
"showType": "权限"
|
46
|
+
}, {
|
47
|
+
"id": null,
|
48
|
+
"code": null,
|
49
|
+
"path": "/v1/platform/enableOrg",
|
50
|
+
"method": "put",
|
51
|
+
"fdLevel": null,
|
52
|
+
"description": null,
|
53
|
+
"action": "enableOrganization",
|
54
|
+
"fdResource": null,
|
55
|
+
"publicAccess": false,
|
56
|
+
"loginAccess": false,
|
57
|
+
"serviceName": null,
|
58
|
+
"within": null,
|
59
|
+
"objectVersionNumber": null,
|
60
|
+
"showType": "权限"
|
61
|
+
}, {
|
62
|
+
"id": null,
|
63
|
+
"code": null,
|
64
|
+
"path": "/v1/platform/organizations",
|
65
|
+
"method": "get",
|
66
|
+
"fdLevel": null,
|
67
|
+
"description": null,
|
68
|
+
"action": "list",
|
69
|
+
"fdResource": null,
|
70
|
+
"publicAccess": false,
|
71
|
+
"loginAccess": false,
|
72
|
+
"serviceName": null,
|
73
|
+
"within": null,
|
74
|
+
"objectVersionNumber": null,
|
75
|
+
"showType": "权限"
|
76
|
+
}, {
|
77
|
+
"id": null,
|
78
|
+
"code": null,
|
79
|
+
"path": "/v1/platform/organizations/{organization_id}",
|
80
|
+
"method": "put",
|
81
|
+
"fdLevel": null,
|
82
|
+
"description": null,
|
83
|
+
"action": "update",
|
84
|
+
"fdResource": null,
|
85
|
+
"publicAccess": false,
|
86
|
+
"loginAccess": false,
|
87
|
+
"serviceName": null,
|
88
|
+
"within": null,
|
89
|
+
"objectVersionNumber": null,
|
90
|
+
"showType": "权限"
|
91
|
+
}],
|
92
|
+
"childList": null,
|
93
|
+
"showType": "菜单"
|
94
|
+
}, {
|
95
|
+
"id": 38,
|
96
|
+
"code": "choerodon.code.iam.role-label",
|
97
|
+
"name": "角色标签",
|
98
|
+
"fdLevel": "site",
|
99
|
+
"pertainNo": "",
|
100
|
+
"parentId": 3,
|
101
|
+
"type": "menu",
|
102
|
+
"sort": 2,
|
103
|
+
"isDefault": true,
|
104
|
+
"icon": "role_tag",
|
105
|
+
"route": "/iam/role-label",
|
106
|
+
"objectVersionNumber": 4,
|
107
|
+
"permDTOList": [],
|
108
|
+
"childList": null,
|
109
|
+
"showType": "菜单"
|
110
|
+
}, {
|
111
|
+
"id": 34,
|
112
|
+
"code": "choerodon.code.iam.role",
|
113
|
+
"name": "角色管理",
|
114
|
+
"fdLevel": "site",
|
115
|
+
"pertainNo": "",
|
116
|
+
"parentId": 3,
|
117
|
+
"type": "menu",
|
118
|
+
"sort": 3,
|
119
|
+
"isDefault": true,
|
120
|
+
"icon": "assignment_ind",
|
121
|
+
"route": "/iam/role",
|
122
|
+
"objectVersionNumber": 4,
|
123
|
+
"permDTOList": [{
|
124
|
+
"id": null,
|
125
|
+
"code": null,
|
126
|
+
"path": "/v1/platform/roles/add",
|
127
|
+
"method": "post",
|
128
|
+
"fdLevel": null,
|
129
|
+
"description": null,
|
130
|
+
"action": "createRole",
|
131
|
+
"fdResource": null,
|
132
|
+
"publicAccess": false,
|
133
|
+
"loginAccess": false,
|
134
|
+
"serviceName": null,
|
135
|
+
"within": null,
|
136
|
+
"objectVersionNumber": null,
|
137
|
+
"showType": "权限"
|
138
|
+
}, {
|
139
|
+
"id": null,
|
140
|
+
"code": null,
|
141
|
+
"path": "/v1/platform/disableRole",
|
142
|
+
"method": "put",
|
143
|
+
"fdLevel": null,
|
144
|
+
"description": null,
|
145
|
+
"action": "disableRole",
|
146
|
+
"fdResource": null,
|
147
|
+
"publicAccess": false,
|
148
|
+
"loginAccess": false,
|
149
|
+
"serviceName": null,
|
150
|
+
"within": null,
|
151
|
+
"objectVersionNumber": null,
|
152
|
+
"showType": "权限"
|
153
|
+
}, {
|
154
|
+
"id": null,
|
155
|
+
"code": null,
|
156
|
+
"path": "/v1/platform/enableRole",
|
157
|
+
"method": "put",
|
158
|
+
"fdLevel": null,
|
159
|
+
"description": null,
|
160
|
+
"action": "enableRole",
|
161
|
+
"fdResource": null,
|
162
|
+
"publicAccess": false,
|
163
|
+
"loginAccess": false,
|
164
|
+
"serviceName": null,
|
165
|
+
"within": null,
|
166
|
+
"objectVersionNumber": null,
|
167
|
+
"showType": "权限"
|
168
|
+
}, {
|
169
|
+
"id": null,
|
170
|
+
"code": null,
|
171
|
+
"path": "/v1/platform/roles/detail",
|
172
|
+
"method": "post",
|
173
|
+
"fdLevel": null,
|
174
|
+
"description": null,
|
175
|
+
"action": "findRoleById",
|
176
|
+
"fdResource": null,
|
177
|
+
"publicAccess": false,
|
178
|
+
"loginAccess": false,
|
179
|
+
"serviceName": null,
|
180
|
+
"within": null,
|
181
|
+
"objectVersionNumber": null,
|
182
|
+
"showType": "权限"
|
183
|
+
}, {
|
184
|
+
"id": null,
|
185
|
+
"code": null,
|
186
|
+
"path": "/v1/platform/level_perms",
|
187
|
+
"method": "get",
|
188
|
+
"fdLevel": null,
|
189
|
+
"description": null,
|
190
|
+
"action": "queryPermsByLevel",
|
191
|
+
"fdResource": null,
|
192
|
+
"publicAccess": false,
|
193
|
+
"loginAccess": false,
|
194
|
+
"serviceName": null,
|
195
|
+
"within": null,
|
196
|
+
"objectVersionNumber": null,
|
197
|
+
"showType": "权限"
|
198
|
+
}, {
|
199
|
+
"id": null,
|
200
|
+
"code": null,
|
201
|
+
"path": "/v1/platform/roles/page",
|
202
|
+
"method": "get",
|
203
|
+
"fdLevel": null,
|
204
|
+
"description": null,
|
205
|
+
"action": "queryRolesPage",
|
206
|
+
"fdResource": null,
|
207
|
+
"publicAccess": false,
|
208
|
+
"loginAccess": false,
|
209
|
+
"serviceName": null,
|
210
|
+
"within": null,
|
211
|
+
"objectVersionNumber": null,
|
212
|
+
"showType": "权限"
|
213
|
+
}, {
|
214
|
+
"id": null,
|
215
|
+
"code": null,
|
216
|
+
"path": "/v1/platform/roles/modify",
|
217
|
+
"method": "post",
|
218
|
+
"fdLevel": null,
|
219
|
+
"description": null,
|
220
|
+
"action": "updateRole",
|
221
|
+
"fdResource": null,
|
222
|
+
"publicAccess": false,
|
223
|
+
"loginAccess": false,
|
224
|
+
"serviceName": null,
|
225
|
+
"within": null,
|
226
|
+
"objectVersionNumber": null,
|
227
|
+
"showType": "权限"
|
228
|
+
}],
|
229
|
+
"childList": null,
|
230
|
+
"showType": "菜单"
|
231
|
+
}, {
|
232
|
+
"id": 36,
|
233
|
+
"code": "choerodon.code.iam.member-role-global",
|
234
|
+
"name": "平台角色分配",
|
235
|
+
"fdLevel": "site",
|
236
|
+
"pertainNo": "",
|
237
|
+
"parentId": 3,
|
238
|
+
"type": "menu",
|
239
|
+
"sort": 4,
|
240
|
+
"isDefault": true,
|
241
|
+
"icon": "person_add",
|
242
|
+
"route": "/iam/member-role",
|
243
|
+
"objectVersionNumber": 4,
|
244
|
+
"permDTOList": [{
|
245
|
+
"id": null,
|
246
|
+
"code": null,
|
247
|
+
"path": "/v1/platform/user_role",
|
248
|
+
"method": "post",
|
249
|
+
"fdLevel": null,
|
250
|
+
"description": null,
|
251
|
+
"action": "addRolesForUsers",
|
252
|
+
"fdResource": null,
|
253
|
+
"publicAccess": false,
|
254
|
+
"loginAccess": false,
|
255
|
+
"serviceName": null,
|
256
|
+
"within": null,
|
257
|
+
"objectVersionNumber": null,
|
258
|
+
"showType": "权限"
|
259
|
+
}, {
|
260
|
+
"id": null,
|
261
|
+
"code": null,
|
262
|
+
"path": "/v1/platform/check_user",
|
263
|
+
"method": "get",
|
264
|
+
"fdLevel": null,
|
265
|
+
"description": null,
|
266
|
+
"action": "checkUser",
|
267
|
+
"fdResource": null,
|
268
|
+
"publicAccess": false,
|
269
|
+
"loginAccess": false,
|
270
|
+
"serviceName": null,
|
271
|
+
"within": null,
|
272
|
+
"objectVersionNumber": null,
|
273
|
+
"showType": "权限"
|
274
|
+
}, {
|
275
|
+
"id": null,
|
276
|
+
"code": null,
|
277
|
+
"path": "/v1/platform/levelRoles",
|
278
|
+
"method": "get",
|
279
|
+
"fdLevel": null,
|
280
|
+
"description": null,
|
281
|
+
"action": "findRolesByLevel",
|
282
|
+
"fdResource": null,
|
283
|
+
"publicAccess": false,
|
284
|
+
"loginAccess": false,
|
285
|
+
"serviceName": null,
|
286
|
+
"within": null,
|
287
|
+
"objectVersionNumber": null,
|
288
|
+
"showType": "权限"
|
289
|
+
}, {
|
290
|
+
"id": null,
|
291
|
+
"code": null,
|
292
|
+
"path": "/v1/platform/role_user",
|
293
|
+
"method": "get",
|
294
|
+
"fdLevel": null,
|
295
|
+
"description": null,
|
296
|
+
"action": "findRolesLinkUser",
|
297
|
+
"fdResource": null,
|
298
|
+
"publicAccess": false,
|
299
|
+
"loginAccess": false,
|
300
|
+
"serviceName": null,
|
301
|
+
"within": null,
|
302
|
+
"objectVersionNumber": null,
|
303
|
+
"showType": "权限"
|
304
|
+
}, {
|
305
|
+
"id": null,
|
306
|
+
"code": null,
|
307
|
+
"path": "/v1/platform/user_role",
|
308
|
+
"method": "get",
|
309
|
+
"fdLevel": null,
|
310
|
+
"description": null,
|
311
|
+
"action": "findUserLinkRole",
|
312
|
+
"fdResource": null,
|
313
|
+
"publicAccess": false,
|
314
|
+
"loginAccess": false,
|
315
|
+
"serviceName": null,
|
316
|
+
"within": null,
|
317
|
+
"objectVersionNumber": null,
|
318
|
+
"showType": "权限"
|
319
|
+
}, {
|
320
|
+
"id": null,
|
321
|
+
"code": null,
|
322
|
+
"path": "/v1/platform/user_role",
|
323
|
+
"method": "delete",
|
324
|
+
"fdLevel": null,
|
325
|
+
"description": null,
|
326
|
+
"action": "removeUserByLevel",
|
327
|
+
"fdResource": null,
|
328
|
+
"publicAccess": false,
|
329
|
+
"loginAccess": false,
|
330
|
+
"serviceName": null,
|
331
|
+
"within": null,
|
332
|
+
"objectVersionNumber": null,
|
333
|
+
"showType": "权限"
|
334
|
+
}, {
|
335
|
+
"id": null,
|
336
|
+
"code": null,
|
337
|
+
"path": "/v1/platform/user_role",
|
338
|
+
"method": "put",
|
339
|
+
"fdLevel": null,
|
340
|
+
"description": null,
|
341
|
+
"action": "updateRolesForUser",
|
342
|
+
"fdResource": null,
|
343
|
+
"publicAccess": false,
|
344
|
+
"loginAccess": false,
|
345
|
+
"serviceName": null,
|
346
|
+
"within": null,
|
347
|
+
"objectVersionNumber": null,
|
348
|
+
"showType": "权限"
|
349
|
+
}],
|
350
|
+
"childList": null,
|
351
|
+
"showType": "菜单"
|
352
|
+
}, {
|
353
|
+
"id": 37,
|
354
|
+
"code": "choerodon.code.iam.root-user",
|
355
|
+
"name": "Root用户设置",
|
356
|
+
"fdLevel": "site",
|
357
|
+
"pertainNo": "",
|
358
|
+
"parentId": 3,
|
359
|
+
"type": "menu",
|
360
|
+
"sort": 5,
|
361
|
+
"isDefault": true,
|
362
|
+
"icon": "root",
|
363
|
+
"route": "/iam/root-user",
|
364
|
+
"objectVersionNumber": 4,
|
365
|
+
"permDTOList": [{
|
366
|
+
"id": null,
|
367
|
+
"code": null,
|
368
|
+
"path": "/v1/platform/aRootUser",
|
369
|
+
"method": "post",
|
370
|
+
"fdLevel": null,
|
371
|
+
"description": null,
|
372
|
+
"action": "addRootUsers",
|
373
|
+
"fdResource": null,
|
374
|
+
"publicAccess": false,
|
375
|
+
"loginAccess": false,
|
376
|
+
"serviceName": null,
|
377
|
+
"within": null,
|
378
|
+
"objectVersionNumber": null,
|
379
|
+
"showType": "权限"
|
380
|
+
}, {
|
381
|
+
"id": null,
|
382
|
+
"code": null,
|
383
|
+
"path": "/v1/platform/root_users",
|
384
|
+
"method": "get",
|
385
|
+
"fdLevel": null,
|
386
|
+
"description": null,
|
387
|
+
"action": "findRootUsers",
|
388
|
+
"fdResource": null,
|
389
|
+
"publicAccess": false,
|
390
|
+
"loginAccess": false,
|
391
|
+
"serviceName": null,
|
392
|
+
"within": null,
|
393
|
+
"objectVersionNumber": null,
|
394
|
+
"showType": "权限"
|
395
|
+
}, {
|
396
|
+
"id": null,
|
397
|
+
"code": null,
|
398
|
+
"path": "/v1/platform/rRootUser",
|
399
|
+
"method": "put",
|
400
|
+
"fdLevel": null,
|
401
|
+
"description": null,
|
402
|
+
"action": "removeRootUsers",
|
403
|
+
"fdResource": null,
|
404
|
+
"publicAccess": false,
|
405
|
+
"loginAccess": false,
|
406
|
+
"serviceName": null,
|
407
|
+
"within": null,
|
408
|
+
"objectVersionNumber": null,
|
409
|
+
"showType": "权限"
|
410
|
+
}],
|
411
|
+
"childList": null,
|
412
|
+
"showType": "菜单"
|
413
|
+
}, {
|
414
|
+
"id": 39,
|
415
|
+
"code": "choerodon.code.iam.menu-management",
|
416
|
+
"name": "菜单配置",
|
417
|
+
"fdLevel": "site",
|
418
|
+
"pertainNo": "",
|
419
|
+
"parentId": 3,
|
420
|
+
"type": "menu",
|
421
|
+
"sort": 6,
|
422
|
+
"isDefault": true,
|
423
|
+
"icon": "view_list",
|
424
|
+
"route": "/iam/menu-setting",
|
425
|
+
"objectVersionNumber": 4,
|
426
|
+
"permDTOList": [{
|
427
|
+
"id": null,
|
428
|
+
"code": null,
|
429
|
+
"path": "/v1/platform/menus",
|
430
|
+
"method": "post",
|
431
|
+
"fdLevel": null,
|
432
|
+
"description": null,
|
433
|
+
"action": "createMenu",
|
434
|
+
"fdResource": null,
|
435
|
+
"publicAccess": false,
|
436
|
+
"loginAccess": false,
|
437
|
+
"serviceName": null,
|
438
|
+
"within": null,
|
439
|
+
"objectVersionNumber": null,
|
440
|
+
"showType": "权限"
|
441
|
+
}, {
|
442
|
+
"id": null,
|
443
|
+
"code": null,
|
444
|
+
"path": "/v1/platform/menu",
|
445
|
+
"method": "get",
|
446
|
+
"fdLevel": null,
|
447
|
+
"description": null,
|
448
|
+
"action": "findMenuInfo",
|
449
|
+
"fdResource": null,
|
450
|
+
"publicAccess": false,
|
451
|
+
"loginAccess": false,
|
452
|
+
"serviceName": null,
|
453
|
+
"within": null,
|
454
|
+
"objectVersionNumber": null,
|
455
|
+
"showType": "权限"
|
456
|
+
}, {
|
457
|
+
"id": null,
|
458
|
+
"code": null,
|
459
|
+
"path": "/v1/platform/menus",
|
460
|
+
"method": "get",
|
461
|
+
"fdLevel": null,
|
462
|
+
"description": null,
|
463
|
+
"action": "findMenus",
|
464
|
+
"fdResource": null,
|
465
|
+
"publicAccess": false,
|
466
|
+
"loginAccess": false,
|
467
|
+
"serviceName": null,
|
468
|
+
"within": null,
|
469
|
+
"objectVersionNumber": null,
|
470
|
+
"showType": "权限"
|
471
|
+
}, {
|
472
|
+
"id": null,
|
473
|
+
"code": null,
|
474
|
+
"path": "/v1/platform/menu/{menuId}",
|
475
|
+
"method": "put",
|
476
|
+
"fdLevel": null,
|
477
|
+
"description": null,
|
478
|
+
"action": "updateMenuInfo",
|
479
|
+
"fdResource": null,
|
480
|
+
"publicAccess": false,
|
481
|
+
"loginAccess": false,
|
482
|
+
"serviceName": null,
|
483
|
+
"within": null,
|
484
|
+
"objectVersionNumber": null,
|
485
|
+
"showType": "权限"
|
486
|
+
}],
|
487
|
+
"childList": null,
|
488
|
+
"showType": "菜单"
|
489
|
+
}],
|
490
|
+
"showType": "菜单"
|
491
|
+
}, {
|
492
|
+
"id": 16,
|
493
|
+
"code": "choerodon.code.usercenter",
|
494
|
+
"name": "个人中心",
|
495
|
+
"fdLevel": "user",
|
496
|
+
"pertainNo": "",
|
497
|
+
"parentId": 0,
|
498
|
+
"type": "root",
|
499
|
+
"sort": 1,
|
500
|
+
"isDefault": true,
|
501
|
+
"icon": "accessibility",
|
502
|
+
"route": null,
|
503
|
+
"objectVersionNumber": 1,
|
504
|
+
"permDTOList": [{
|
505
|
+
"id": null,
|
506
|
+
"code": null,
|
507
|
+
"path": "/v1/personal/user_info",
|
508
|
+
"method": "get",
|
509
|
+
"fdLevel": null,
|
510
|
+
"description": null,
|
511
|
+
"action": "queryByLoginName",
|
512
|
+
"fdResource": null,
|
513
|
+
"publicAccess": false,
|
514
|
+
"loginAccess": false,
|
515
|
+
"serviceName": null,
|
516
|
+
"within": null,
|
517
|
+
"objectVersionNumber": null,
|
518
|
+
"showType": "权限"
|
519
|
+
}, {
|
520
|
+
"id": null,
|
521
|
+
"code": null,
|
522
|
+
"path": "/v1/personal/menus",
|
523
|
+
"method": "get",
|
524
|
+
"fdLevel": null,
|
525
|
+
"description": null,
|
526
|
+
"action": "queryMenuListByLevel",
|
527
|
+
"fdResource": null,
|
528
|
+
"publicAccess": false,
|
529
|
+
"loginAccess": false,
|
530
|
+
"serviceName": null,
|
531
|
+
"within": null,
|
532
|
+
"objectVersionNumber": null,
|
533
|
+
"showType": "权限"
|
534
|
+
}, {
|
535
|
+
"id": null,
|
536
|
+
"code": null,
|
537
|
+
"path": "/v1/personal/roles",
|
538
|
+
"method": "get",
|
539
|
+
"fdLevel": null,
|
540
|
+
"description": null,
|
541
|
+
"action": "queryRoleInfoByGroupPerms",
|
542
|
+
"fdResource": null,
|
543
|
+
"publicAccess": false,
|
544
|
+
"loginAccess": false,
|
545
|
+
"serviceName": null,
|
546
|
+
"within": null,
|
547
|
+
"objectVersionNumber": null,
|
548
|
+
"showType": "权限"
|
549
|
+
}],
|
550
|
+
"childList": [{
|
551
|
+
"id": 93,
|
552
|
+
"code": "choerodon.code.usercenter.user-info",
|
553
|
+
"name": "个人信息",
|
554
|
+
"fdLevel": "user",
|
555
|
+
"pertainNo": "",
|
556
|
+
"parentId": 16,
|
557
|
+
"type": "menu",
|
558
|
+
"sort": 1,
|
559
|
+
"isDefault": true,
|
560
|
+
"icon": "person",
|
561
|
+
"route": "/iam/user-info",
|
562
|
+
"objectVersionNumber": 1,
|
563
|
+
"permDTOList": [{
|
564
|
+
"id": null,
|
565
|
+
"code": null,
|
566
|
+
"path": "/v1/personal/",
|
567
|
+
"method": "put",
|
568
|
+
"fdLevel": null,
|
569
|
+
"description": null,
|
570
|
+
"action": "updateUserInfo",
|
571
|
+
"fdResource": null,
|
572
|
+
"publicAccess": false,
|
573
|
+
"loginAccess": false,
|
574
|
+
"serviceName": null,
|
575
|
+
"within": null,
|
576
|
+
"objectVersionNumber": null,
|
577
|
+
"showType": "权限"
|
578
|
+
}],
|
579
|
+
"childList": null,
|
580
|
+
"showType": "菜单"
|
581
|
+
}, {
|
582
|
+
"id": 92,
|
583
|
+
"code": "choerodon.code.usercenter.password",
|
584
|
+
"name": "修改密码",
|
585
|
+
"fdLevel": "user",
|
586
|
+
"pertainNo": "",
|
587
|
+
"parentId": 16,
|
588
|
+
"type": "menu",
|
589
|
+
"sort": 2,
|
590
|
+
"isDefault": true,
|
591
|
+
"icon": "vpn_key",
|
592
|
+
"route": "/iam/password",
|
593
|
+
"objectVersionNumber": 1,
|
594
|
+
"permDTOList": [{
|
595
|
+
"id": null,
|
596
|
+
"code": null,
|
597
|
+
"path": "/v1/personal/password",
|
598
|
+
"method": "put",
|
599
|
+
"fdLevel": null,
|
600
|
+
"description": null,
|
601
|
+
"action": "modifyPassword",
|
602
|
+
"fdResource": null,
|
603
|
+
"publicAccess": false,
|
604
|
+
"loginAccess": false,
|
605
|
+
"serviceName": null,
|
606
|
+
"within": null,
|
607
|
+
"objectVersionNumber": null,
|
608
|
+
"showType": "权限"
|
609
|
+
}],
|
610
|
+
"childList": null,
|
611
|
+
"showType": "菜单"
|
612
|
+
}, {
|
613
|
+
"id": 94,
|
614
|
+
"code": "choerodon.code.usercenter.organization-info",
|
615
|
+
"name": "组织信息",
|
616
|
+
"fdLevel": "user",
|
617
|
+
"pertainNo": "",
|
618
|
+
"parentId": 16,
|
619
|
+
"type": "menu",
|
620
|
+
"sort": 3,
|
621
|
+
"isDefault": true,
|
622
|
+
"icon": "domain",
|
623
|
+
"route": "/iam/organization-info",
|
624
|
+
"objectVersionNumber": 1,
|
625
|
+
"permDTOList": [{
|
626
|
+
"id": null,
|
627
|
+
"code": null,
|
628
|
+
"path": "/v1/personal/organizations",
|
629
|
+
"method": "get",
|
630
|
+
"fdLevel": null,
|
631
|
+
"description": null,
|
632
|
+
"action": "queryListOrgByGroupRoles",
|
633
|
+
"fdResource": null,
|
634
|
+
"publicAccess": false,
|
635
|
+
"loginAccess": false,
|
636
|
+
"serviceName": null,
|
637
|
+
"within": null,
|
638
|
+
"objectVersionNumber": null,
|
639
|
+
"showType": "权限"
|
640
|
+
}],
|
641
|
+
"childList": null,
|
642
|
+
"showType": "菜单"
|
643
|
+
}, {
|
644
|
+
"id": 90,
|
645
|
+
"code": "choerodon.code.usercenter.project-info",
|
646
|
+
"name": "项目信息",
|
647
|
+
"fdLevel": "user",
|
648
|
+
"pertainNo": "",
|
649
|
+
"parentId": 16,
|
650
|
+
"type": "menu",
|
651
|
+
"sort": 4,
|
652
|
+
"isDefault": true,
|
653
|
+
"icon": "project",
|
654
|
+
"route": "/iam/project-info",
|
655
|
+
"objectVersionNumber": 1,
|
656
|
+
"permDTOList": [{
|
657
|
+
"id": null,
|
658
|
+
"code": null,
|
659
|
+
"path": "/v1/personal/projects",
|
660
|
+
"method": "get",
|
661
|
+
"fdLevel": null,
|
662
|
+
"description": null,
|
663
|
+
"action": "queryListProjectByGroupRoles",
|
664
|
+
"fdResource": null,
|
665
|
+
"publicAccess": false,
|
666
|
+
"loginAccess": false,
|
667
|
+
"serviceName": null,
|
668
|
+
"within": null,
|
669
|
+
"objectVersionNumber": null,
|
670
|
+
"showType": "权限"
|
671
|
+
}],
|
672
|
+
"childList": null,
|
673
|
+
"showType": "菜单"
|
674
|
+
}, {
|
675
|
+
"id": 91,
|
676
|
+
"code": "choerodon.code.usercenter.user-msg",
|
677
|
+
"name": "消息通知",
|
678
|
+
"fdLevel": "user",
|
679
|
+
"pertainNo": "",
|
680
|
+
"parentId": 16,
|
681
|
+
"type": "menu",
|
682
|
+
"sort": 5,
|
683
|
+
"isDefault": true,
|
684
|
+
"icon": "message_notification",
|
685
|
+
"route": "/iam/user-msg",
|
686
|
+
"objectVersionNumber": 1,
|
687
|
+
"permDTOList": [],
|
688
|
+
"childList": null,
|
689
|
+
"showType": "菜单"
|
690
|
+
}],
|
691
|
+
"showType": "菜单"
|
692
|
+
}, {
|
693
|
+
"id": 20,
|
694
|
+
"code": "choerodon.code.rentsetting",
|
695
|
+
"name": "组织设置",
|
696
|
+
"fdLevel": "organization",
|
697
|
+
"pertainNo": "",
|
698
|
+
"parentId": 0,
|
699
|
+
"type": "root",
|
700
|
+
"sort": 2,
|
701
|
+
"isDefault": true,
|
702
|
+
"icon": "IAM",
|
703
|
+
"route": null,
|
704
|
+
"objectVersionNumber": 1,
|
705
|
+
"permDTOList": [],
|
706
|
+
"childList": [{
|
707
|
+
"id": 112,
|
708
|
+
"code": "choerodon.code.rentsetting.project",
|
709
|
+
"name": "项目管理",
|
710
|
+
"fdLevel": "organization",
|
711
|
+
"pertainNo": "",
|
712
|
+
"parentId": 20,
|
713
|
+
"type": "menu",
|
714
|
+
"sort": 1,
|
715
|
+
"isDefault": true,
|
716
|
+
"icon": "manage_project",
|
717
|
+
"route": "/iam/project",
|
718
|
+
"objectVersionNumber": 1,
|
719
|
+
"permDTOList": [{
|
720
|
+
"id": null,
|
721
|
+
"code": null,
|
722
|
+
"path": "/v1/organization/projects/add",
|
723
|
+
"method": "post",
|
724
|
+
"fdLevel": null,
|
725
|
+
"description": null,
|
726
|
+
"action": "createProject",
|
727
|
+
"fdResource": null,
|
728
|
+
"publicAccess": false,
|
729
|
+
"loginAccess": false,
|
730
|
+
"serviceName": null,
|
731
|
+
"within": null,
|
732
|
+
"objectVersionNumber": null,
|
733
|
+
"showType": "权限"
|
734
|
+
}, {
|
735
|
+
"id": null,
|
736
|
+
"code": null,
|
737
|
+
"path": "/v1/organization/projects/disable",
|
738
|
+
"method": "post",
|
739
|
+
"fdLevel": null,
|
740
|
+
"description": null,
|
741
|
+
"action": "disableProject",
|
742
|
+
"fdResource": null,
|
743
|
+
"publicAccess": false,
|
744
|
+
"loginAccess": false,
|
745
|
+
"serviceName": null,
|
746
|
+
"within": null,
|
747
|
+
"objectVersionNumber": null,
|
748
|
+
"showType": "权限"
|
749
|
+
}, {
|
750
|
+
"id": null,
|
751
|
+
"code": null,
|
752
|
+
"path": "/v1/organization/projects/enable",
|
753
|
+
"method": "post",
|
754
|
+
"fdLevel": null,
|
755
|
+
"description": null,
|
756
|
+
"action": "enableProject",
|
757
|
+
"fdResource": null,
|
758
|
+
"publicAccess": false,
|
759
|
+
"loginAccess": false,
|
760
|
+
"serviceName": null,
|
761
|
+
"within": null,
|
762
|
+
"objectVersionNumber": null,
|
763
|
+
"showType": "权限"
|
764
|
+
}, {
|
765
|
+
"id": null,
|
766
|
+
"code": null,
|
767
|
+
"path": "/v1/organization/projects/page",
|
768
|
+
"method": "post",
|
769
|
+
"fdLevel": null,
|
770
|
+
"description": null,
|
771
|
+
"action": "list",
|
772
|
+
"fdResource": null,
|
773
|
+
"publicAccess": false,
|
774
|
+
"loginAccess": false,
|
775
|
+
"serviceName": null,
|
776
|
+
"within": null,
|
777
|
+
"objectVersionNumber": null,
|
778
|
+
"showType": "权限"
|
779
|
+
}, {
|
780
|
+
"id": null,
|
781
|
+
"code": null,
|
782
|
+
"path": "/v1/organization/projects/modify",
|
783
|
+
"method": "post",
|
784
|
+
"fdLevel": null,
|
785
|
+
"description": null,
|
786
|
+
"action": "update",
|
787
|
+
"fdResource": null,
|
788
|
+
"publicAccess": false,
|
789
|
+
"loginAccess": false,
|
790
|
+
"serviceName": null,
|
791
|
+
"within": null,
|
792
|
+
"objectVersionNumber": null,
|
793
|
+
"showType": "权限"
|
794
|
+
}],
|
795
|
+
"childList": null,
|
796
|
+
"showType": "菜单"
|
797
|
+
}, {
|
798
|
+
"id": 111,
|
799
|
+
"code": "choerodon.code.rentsetting.user",
|
800
|
+
"name": "用户管理",
|
801
|
+
"fdLevel": "organization",
|
802
|
+
"pertainNo": "",
|
803
|
+
"parentId": 20,
|
804
|
+
"type": "menu",
|
805
|
+
"sort": 2,
|
806
|
+
"isDefault": true,
|
807
|
+
"icon": "manage_person",
|
808
|
+
"route": "/iam/user",
|
809
|
+
"objectVersionNumber": 1,
|
810
|
+
"permDTOList": [{
|
811
|
+
"id": null,
|
812
|
+
"code": null,
|
813
|
+
"path": "/v1/organization/users/add",
|
814
|
+
"method": "post",
|
815
|
+
"fdLevel": null,
|
816
|
+
"description": null,
|
817
|
+
"action": "createUser",
|
818
|
+
"fdResource": null,
|
819
|
+
"publicAccess": false,
|
820
|
+
"loginAccess": false,
|
821
|
+
"serviceName": null,
|
822
|
+
"within": null,
|
823
|
+
"objectVersionNumber": null,
|
824
|
+
"showType": "权限"
|
825
|
+
}, {
|
826
|
+
"id": null,
|
827
|
+
"code": null,
|
828
|
+
"path": "/v1/organization/disableUser",
|
829
|
+
"method": "post",
|
830
|
+
"fdLevel": null,
|
831
|
+
"description": null,
|
832
|
+
"action": "disableUser",
|
833
|
+
"fdResource": null,
|
834
|
+
"publicAccess": false,
|
835
|
+
"loginAccess": false,
|
836
|
+
"serviceName": null,
|
837
|
+
"within": null,
|
838
|
+
"objectVersionNumber": null,
|
839
|
+
"showType": "权限"
|
840
|
+
}, {
|
841
|
+
"id": null,
|
842
|
+
"code": null,
|
843
|
+
"path": "/v1/organization/enableUser",
|
844
|
+
"method": "post",
|
845
|
+
"fdLevel": null,
|
846
|
+
"description": null,
|
847
|
+
"action": "enableUser",
|
848
|
+
"fdResource": null,
|
849
|
+
"publicAccess": false,
|
850
|
+
"loginAccess": false,
|
851
|
+
"serviceName": null,
|
852
|
+
"within": null,
|
853
|
+
"objectVersionNumber": null,
|
854
|
+
"showType": "权限"
|
855
|
+
}, {
|
856
|
+
"id": null,
|
857
|
+
"code": null,
|
858
|
+
"path": "/v1/organization/users",
|
859
|
+
"method": "get",
|
860
|
+
"fdLevel": null,
|
861
|
+
"description": null,
|
862
|
+
"action": "queryRolesPage",
|
863
|
+
"fdResource": null,
|
864
|
+
"publicAccess": false,
|
865
|
+
"loginAccess": false,
|
866
|
+
"serviceName": null,
|
867
|
+
"within": null,
|
868
|
+
"objectVersionNumber": null,
|
869
|
+
"showType": "权限"
|
870
|
+
}, {
|
871
|
+
"id": null,
|
872
|
+
"code": null,
|
873
|
+
"path": "/v1/organization/users/modify",
|
874
|
+
"method": "post",
|
875
|
+
"fdLevel": null,
|
876
|
+
"description": null,
|
877
|
+
"action": "updateUser",
|
878
|
+
"fdResource": null,
|
879
|
+
"publicAccess": false,
|
880
|
+
"loginAccess": false,
|
881
|
+
"serviceName": null,
|
882
|
+
"within": null,
|
883
|
+
"objectVersionNumber": null,
|
884
|
+
"showType": "权限"
|
885
|
+
}],
|
886
|
+
"childList": null,
|
887
|
+
"showType": "菜单"
|
888
|
+
}, {
|
889
|
+
"id": 114,
|
890
|
+
"code": "choerodon.code.rentsetting.member-role-organization",
|
891
|
+
"name": "组织角色分配",
|
892
|
+
"fdLevel": "organization",
|
893
|
+
"pertainNo": "",
|
894
|
+
"parentId": 20,
|
895
|
+
"type": "menu",
|
896
|
+
"sort": 3,
|
897
|
+
"isDefault": true,
|
898
|
+
"icon": "person_add",
|
899
|
+
"route": "/iam/member-role",
|
900
|
+
"objectVersionNumber": 1,
|
901
|
+
"permDTOList": [{
|
902
|
+
"id": null,
|
903
|
+
"code": null,
|
904
|
+
"path": "/v1/organization/role_user",
|
905
|
+
"method": "get",
|
906
|
+
"fdLevel": null,
|
907
|
+
"description": null,
|
908
|
+
"action": "findRolesLinkUser",
|
909
|
+
"fdResource": null,
|
910
|
+
"publicAccess": false,
|
911
|
+
"loginAccess": false,
|
912
|
+
"serviceName": null,
|
913
|
+
"within": null,
|
914
|
+
"objectVersionNumber": null,
|
915
|
+
"showType": "权限"
|
916
|
+
}, {
|
917
|
+
"id": null,
|
918
|
+
"code": null,
|
919
|
+
"path": "/v1/organization/user_role",
|
920
|
+
"method": "get",
|
921
|
+
"fdLevel": null,
|
922
|
+
"description": null,
|
923
|
+
"action": "findUserLinkRole",
|
924
|
+
"fdResource": null,
|
925
|
+
"publicAccess": false,
|
926
|
+
"loginAccess": false,
|
927
|
+
"serviceName": null,
|
928
|
+
"within": null,
|
929
|
+
"objectVersionNumber": null,
|
930
|
+
"showType": "权限"
|
931
|
+
}],
|
932
|
+
"childList": null,
|
933
|
+
"showType": "菜单"
|
934
|
+
}, {
|
935
|
+
"id": 113,
|
936
|
+
"code": "choerodon.code.rentsetting.password-policy",
|
937
|
+
"name": "密码策略",
|
938
|
+
"fdLevel": "organization",
|
939
|
+
"pertainNo": "",
|
940
|
+
"parentId": 20,
|
941
|
+
"type": "menu",
|
942
|
+
"sort": 6,
|
943
|
+
"isDefault": true,
|
944
|
+
"icon": "password",
|
945
|
+
"route": "/iam/password-policy",
|
946
|
+
"objectVersionNumber": 1,
|
947
|
+
"permDTOList": [],
|
948
|
+
"childList": null,
|
949
|
+
"showType": "菜单"
|
950
|
+
}],
|
951
|
+
"showType": "菜单"
|
952
|
+
}, {
|
953
|
+
"id": 15,
|
954
|
+
"code": "choerodon.code.prosetting",
|
955
|
+
"name": "项目设置",
|
956
|
+
"fdLevel": "project",
|
957
|
+
"pertainNo": "",
|
958
|
+
"parentId": 0,
|
959
|
+
"type": "root",
|
960
|
+
"sort": 6,
|
961
|
+
"isDefault": true,
|
962
|
+
"icon": "IAM",
|
963
|
+
"route": null,
|
964
|
+
"objectVersionNumber": 1,
|
965
|
+
"permDTOList": [],
|
966
|
+
"childList": [{
|
967
|
+
"id": 87,
|
968
|
+
"code": "choerodon.code.prosetting.member-role-project",
|
969
|
+
"name": "项目角色分配",
|
970
|
+
"fdLevel": "project",
|
971
|
+
"pertainNo": "",
|
972
|
+
"parentId": 15,
|
973
|
+
"type": "menu",
|
974
|
+
"sort": 1,
|
975
|
+
"isDefault": true,
|
976
|
+
"icon": "person_add",
|
977
|
+
"route": "/iam/member-role",
|
978
|
+
"objectVersionNumber": 1,
|
979
|
+
"permDTOList": [{
|
980
|
+
"id": null,
|
981
|
+
"code": null,
|
982
|
+
"path": "/v1/project/role_user",
|
983
|
+
"method": "get",
|
984
|
+
"fdLevel": null,
|
985
|
+
"description": null,
|
986
|
+
"action": "findRolesLinkUser",
|
987
|
+
"fdResource": null,
|
988
|
+
"publicAccess": false,
|
989
|
+
"loginAccess": false,
|
990
|
+
"serviceName": null,
|
991
|
+
"within": null,
|
992
|
+
"objectVersionNumber": null,
|
993
|
+
"showType": "权限"
|
994
|
+
}, {
|
995
|
+
"id": null,
|
996
|
+
"code": null,
|
997
|
+
"path": "/v1/project/user_role",
|
998
|
+
"method": "get",
|
999
|
+
"fdLevel": null,
|
1000
|
+
"description": null,
|
1001
|
+
"action": "findUserLinkRole",
|
1002
|
+
"fdResource": null,
|
1003
|
+
"publicAccess": false,
|
1004
|
+
"loginAccess": false,
|
1005
|
+
"serviceName": null,
|
1006
|
+
"within": null,
|
1007
|
+
"objectVersionNumber": null,
|
1008
|
+
"showType": "权限"
|
1009
|
+
}],
|
1010
|
+
"childList": null,
|
1011
|
+
"showType": "菜单"
|
1012
|
+
}],
|
1013
|
+
"showType": "菜单"
|
1014
|
+
}],
|
1015
|
+
"code": "2001",
|
1016
|
+
"msg": "success"
|
1017
|
+
}
|