@yyp92-cli/template-vue-pc 1.2.0

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.
Files changed (113) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +15 -0
  3. package/template/.env.development +2 -0
  4. package/template/.env.production +2 -0
  5. package/template/.env.test +2 -0
  6. package/template/README.md +30 -0
  7. package/template/auto-imports.d.ts +11 -0
  8. package/template/components.d.ts +67 -0
  9. package/template/index.html +16 -0
  10. package/template/package.json +43 -0
  11. package/template/pnpm-lock.yaml +2830 -0
  12. package/template/public/vite.svg +1 -0
  13. package/template/src/App.vue +26 -0
  14. package/template/src/assets/img/login-bg.jpg +0 -0
  15. package/template/src/assets/img/logo.svg +15 -0
  16. package/template/src/components/layout/header-crumb/index.vue +38 -0
  17. package/template/src/components/layout/header-info/index.vue +181 -0
  18. package/template/src/components/layout/index.vue +83 -0
  19. package/template/src/components/layout/main-header/index.vue +85 -0
  20. package/template/src/components/layout/main-menu/index.vue +166 -0
  21. package/template/src/components/layout-horizontal/header-crumb/index.vue +38 -0
  22. package/template/src/components/layout-horizontal/header-info/index.vue +185 -0
  23. package/template/src/components/layout-horizontal/index.vue +55 -0
  24. package/template/src/components/layout-horizontal/main-header/index.vue +86 -0
  25. package/template/src/components/layout-horizontal/main-menu/index.vue +135 -0
  26. package/template/src/global/constants.ts +4 -0
  27. package/template/src/global/register-icons.ts +10 -0
  28. package/template/src/main.ts +16 -0
  29. package/template/src/mock/index.ts +8 -0
  30. package/template/src/mock/login.ts +5 -0
  31. package/template/src/mock/userDepartmentList.ts +85 -0
  32. package/template/src/mock/userInfoMock.ts +24 -0
  33. package/template/src/mock/userList.ts +115 -0
  34. package/template/src/mock/userListDelete.ts +1 -0
  35. package/template/src/mock/userMenuList.ts +466 -0
  36. package/template/src/mock/userMenus.ts +374 -0
  37. package/template/src/mock/userRoleList.ts +1846 -0
  38. package/template/src/router/index.ts +41 -0
  39. package/template/src/router/routes.ts +189 -0
  40. package/template/src/service/api/index.ts +90 -0
  41. package/template/src/service/request/index.ts +268 -0
  42. package/template/src/service/request/type.ts +5 -0
  43. package/template/src/store/counter.ts +19 -0
  44. package/template/src/store/index.ts +14 -0
  45. package/template/src/store/login/index.ts +142 -0
  46. package/template/src/store/main/index.ts +54 -0
  47. package/template/src/store/main/system/index.ts +88 -0
  48. package/template/src/store/main/system/type.ts +19 -0
  49. package/template/src/styles/global.scss +33 -0
  50. package/template/src/styles/index.scss +4 -0
  51. package/template/src/styles/reset.scss +17 -0
  52. package/template/src/theme/darkTheme.scss +51 -0
  53. package/template/src/theme/lightTheme.scss +53 -0
  54. package/template/src/types/index.ts +1 -0
  55. package/template/src/types/login.ts +4 -0
  56. package/template/src/utils/cache.ts +44 -0
  57. package/template/src/utils/download.ts +27 -0
  58. package/template/src/utils/format.ts +10 -0
  59. package/template/src/utils/index.ts +14 -0
  60. package/template/src/utils/map-menus.ts +174 -0
  61. package/template/src/views/403/index.vue +22 -0
  62. package/template/src/views/login/component/login-panel.vue +138 -0
  63. package/template/src/views/login/component/panel-account.vue +138 -0
  64. package/template/src/views/login/component/panel-phone.vue +56 -0
  65. package/template/src/views/login/index.vue +28 -0
  66. package/template/src/views/main/analysis/dashboard/index.vue +19 -0
  67. package/template/src/views/main/analysis/overview/index.vue +25 -0
  68. package/template/src/views/main/detail/index.vue +19 -0
  69. package/template/src/views/main/fullScreen/images/bg.png +0 -0
  70. package/template/src/views/main/fullScreen/images/contrast-bg.png +0 -0
  71. package/template/src/views/main/fullScreen/images/dataScreen-alarm.png +0 -0
  72. package/template/src/views/main/fullScreen/images/dataScreen-header-btn-bg-l.png +0 -0
  73. package/template/src/views/main/fullScreen/images/dataScreen-header-btn-bg-r.png +0 -0
  74. package/template/src/views/main/fullScreen/images/dataScreen-header-center-bg.png +0 -0
  75. package/template/src/views/main/fullScreen/images/dataScreen-header-left-bg.png +0 -0
  76. package/template/src/views/main/fullScreen/images/dataScreen-header-right-bg.png +0 -0
  77. package/template/src/views/main/fullScreen/images/dataScreen-header-warn-bg.png +0 -0
  78. package/template/src/views/main/fullScreen/images/dataScreen-main-cb.png +0 -0
  79. package/template/src/views/main/fullScreen/images/dataScreen-main-lb.png +0 -0
  80. package/template/src/views/main/fullScreen/images/dataScreen-main-lc.png +0 -0
  81. package/template/src/views/main/fullScreen/images/dataScreen-main-lt.png +0 -0
  82. package/template/src/views/main/fullScreen/images/dataScreen-main-rb.png +0 -0
  83. package/template/src/views/main/fullScreen/images/dataScreen-main-rc.png +0 -0
  84. package/template/src/views/main/fullScreen/images/dataScreen-main-rt.png +0 -0
  85. package/template/src/views/main/fullScreen/images/dataScreen-title.png +0 -0
  86. package/template/src/views/main/fullScreen/images/dataScreen-warn-bg.png +0 -0
  87. package/template/src/views/main/fullScreen/images/line-bg.png +0 -0
  88. package/template/src/views/main/fullScreen/images/man-bg.png +0 -0
  89. package/template/src/views/main/fullScreen/images/man.png +0 -0
  90. package/template/src/views/main/fullScreen/images/map-title-bg.png +0 -0
  91. package/template/src/views/main/fullScreen/images/rankingChart-bg.png +0 -0
  92. package/template/src/views/main/fullScreen/images/total.png +0 -0
  93. package/template/src/views/main/fullScreen/images/woman-bg.png +0 -0
  94. package/template/src/views/main/fullScreen/images/woman.png +0 -0
  95. package/template/src/views/main/fullScreen/index.vue +33 -0
  96. package/template/src/views/main/index.vue +24 -0
  97. package/template/src/views/main/product/category/index.vue +19 -0
  98. package/template/src/views/main/product/goods/index.vue +19 -0
  99. package/template/src/views/main/story/chat/index.vue +70 -0
  100. package/template/src/views/main/story/list/index.vue +19 -0
  101. package/template/src/views/main/system/department/index.vue +20 -0
  102. package/template/src/views/main/system/menu/index.vue +19 -0
  103. package/template/src/views/main/system/role/index.vue +20 -0
  104. package/template/src/views/main/system/user/index.vue +141 -0
  105. package/template/src/views/main/system/user/user-comp/UserContent.vue +211 -0
  106. package/template/src/views/main/system/user/user-comp/UserModal.vue +225 -0
  107. package/template/src/views/main/system/user/user-comp/UserSearch.vue +147 -0
  108. package/template/src/views/not-found/index.vue +22 -0
  109. package/template/src/vite-env.d.ts +9 -0
  110. package/template/tsconfig.app.json +26 -0
  111. package/template/tsconfig.json +7 -0
  112. package/template/tsconfig.node.json +25 -0
  113. package/template/vite.config.ts +66 -0
@@ -0,0 +1,1846 @@
1
+ export const userRoleList = {
2
+ "list": [
3
+ {
4
+ "id": 15503,
5
+ "name": "JF测试",
6
+ "intro": "JF测试权限",
7
+ "createAt": "2025-08-27T04:12:53.000Z",
8
+ "updateAt": "2025-08-27T04:12:53.000Z",
9
+ "menuList": [
10
+ {
11
+ "id": 38,
12
+ "name": "系统总览",
13
+ "type": 1,
14
+ "url": "/main/analysis",
15
+ "icon": "el-icon-monitor",
16
+ "sort": 1,
17
+ "children": [
18
+ {
19
+ "id": 39,
20
+ "url": "/main/analysis/overview",
21
+ "name": "核心技术",
22
+ "sort": 106,
23
+ "type": 2,
24
+ "children": null,
25
+ "parentId": 38
26
+ },
27
+ {
28
+ "id": 40,
29
+ "url": "/main/analysis/dashboard",
30
+ "name": "商品统计",
31
+ "sort": 107,
32
+ "type": 2,
33
+ "children": null,
34
+ "parentId": 38
35
+ }
36
+ ]
37
+ },
38
+ {
39
+ "id": 1,
40
+ "name": "系统管理",
41
+ "type": 1,
42
+ "url": "/main/system",
43
+ "icon": "el-icon-setting",
44
+ "sort": 2,
45
+ "children": [
46
+ {
47
+ "id": 2,
48
+ "url": "/main/system/user",
49
+ "name": "用户管理",
50
+ "sort": 100,
51
+ "type": 2,
52
+ "children": [
53
+ {
54
+ "id": 8,
55
+ "url": null,
56
+ "name": "查询用户",
57
+ "sort": null,
58
+ "type": 3,
59
+ "parentId": 2,
60
+ "permission": "system:users:query"
61
+ }
62
+ ],
63
+ "parentId": 1
64
+ },
65
+ {
66
+ "id": 3,
67
+ "url": "/main/system/department",
68
+ "name": "部门管理",
69
+ "sort": 101,
70
+ "type": 2,
71
+ "children": [
72
+ {
73
+ "id": 20,
74
+ "url": null,
75
+ "name": "查询部门",
76
+ "sort": null,
77
+ "type": 3,
78
+ "parentId": 3,
79
+ "permission": "system:department:query"
80
+ }
81
+ ],
82
+ "parentId": 1
83
+ },
84
+ {
85
+ "id": 4,
86
+ "url": "/main/system/menu",
87
+ "name": "菜单管理",
88
+ "sort": 103,
89
+ "type": 2,
90
+ "children": [
91
+ {
92
+ "id": 24,
93
+ "url": null,
94
+ "name": "查询菜单",
95
+ "sort": null,
96
+ "type": 3,
97
+ "parentId": 4,
98
+ "permission": "system:menu:query"
99
+ }
100
+ ],
101
+ "parentId": 1
102
+ },
103
+ {
104
+ "id": 25,
105
+ "url": "/main/system/role",
106
+ "name": "角色管理",
107
+ "sort": 102,
108
+ "type": 2,
109
+ "children": [
110
+ {
111
+ "id": 29,
112
+ "url": null,
113
+ "name": "查询角色",
114
+ "sort": null,
115
+ "type": 3,
116
+ "parentId": 25,
117
+ "permission": "system:role:query"
118
+ }
119
+ ],
120
+ "parentId": 1
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "id": 9,
126
+ "name": "商品中心",
127
+ "type": 1,
128
+ "url": "/main/product",
129
+ "icon": "el-icon-goods",
130
+ "sort": 3,
131
+ "children": [
132
+ {
133
+ "id": 15,
134
+ "url": "/main/product/category",
135
+ "name": "商品类别",
136
+ "sort": 104,
137
+ "type": 2,
138
+ "children": [
139
+ {
140
+ "id": 33,
141
+ "url": null,
142
+ "name": "查询类别",
143
+ "sort": null,
144
+ "type": 3,
145
+ "parentId": 15,
146
+ "permission": "system:category:query"
147
+ }
148
+ ],
149
+ "parentId": 9
150
+ },
151
+ {
152
+ "id": 16,
153
+ "url": "/main/product/goods",
154
+ "name": "商品信息",
155
+ "sort": 105,
156
+ "type": 2,
157
+ "children": [
158
+ {
159
+ "id": 37,
160
+ "url": null,
161
+ "name": "查询商品",
162
+ "sort": null,
163
+ "type": 3,
164
+ "parentId": 16,
165
+ "permission": "system:goods:query"
166
+ }
167
+ ],
168
+ "parentId": 9
169
+ }
170
+ ]
171
+ },
172
+ {
173
+ "id": 41,
174
+ "name": "随便聊聊",
175
+ "type": 1,
176
+ "url": "/main/story",
177
+ "icon": "el-icon-chat-line-round",
178
+ "sort": 4,
179
+ "children": [
180
+ {
181
+ "id": 42,
182
+ "url": "/main/story/chat",
183
+ "name": "你的故事",
184
+ "sort": 108,
185
+ "type": 2,
186
+ "children": null,
187
+ "parentId": 41
188
+ },
189
+ {
190
+ "id": 43,
191
+ "url": "/main/story/list",
192
+ "name": "故事列表",
193
+ "sort": 109,
194
+ "type": 2,
195
+ "children": [
196
+ {
197
+ "id": 12,
198
+ "url": null,
199
+ "name": "查询故事",
200
+ "sort": null,
201
+ "type": 3,
202
+ "parentId": 43,
203
+ "permission": "system:story:query"
204
+ }
205
+ ],
206
+ "parentId": 41
207
+ }
208
+ ]
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "id": 15494,
214
+ "name": "前台",
215
+ "intro": "前太",
216
+ "createAt": "2025-08-25T07:37:18.000Z",
217
+ "updateAt": "2025-08-25T07:37:18.000Z",
218
+ "menuList": [
219
+ {
220
+ "id": 38,
221
+ "name": "系统总览",
222
+ "type": 1,
223
+ "url": "/main/analysis",
224
+ "icon": "el-icon-monitor",
225
+ "sort": 1,
226
+ "children": [
227
+ {
228
+ "id": 39,
229
+ "url": "/main/analysis/overview",
230
+ "name": "核心技术",
231
+ "sort": 106,
232
+ "type": 2,
233
+ "children": null,
234
+ "parentId": 38
235
+ }
236
+ ]
237
+ },
238
+ {
239
+ "id": 1,
240
+ "name": "系统管理",
241
+ "type": 1,
242
+ "url": "/main/system",
243
+ "icon": "el-icon-setting",
244
+ "sort": 2,
245
+ "children": [
246
+ {
247
+ "id": 2,
248
+ "url": "/main/system/user",
249
+ "name": "用户管理",
250
+ "sort": 100,
251
+ "type": 2,
252
+ "children": [
253
+ {
254
+ "id": 5,
255
+ "url": null,
256
+ "name": "创建用户",
257
+ "sort": null,
258
+ "type": 3,
259
+ "parentId": 2,
260
+ "permission": "system:users:create"
261
+ },
262
+ {
263
+ "id": 6,
264
+ "url": null,
265
+ "name": "删除用户",
266
+ "sort": null,
267
+ "type": 3,
268
+ "parentId": 2,
269
+ "permission": "system:users:delete"
270
+ },
271
+ {
272
+ "id": 7,
273
+ "url": null,
274
+ "name": "修改用户",
275
+ "sort": null,
276
+ "type": 3,
277
+ "parentId": 2,
278
+ "permission": "system:users:update"
279
+ },
280
+ {
281
+ "id": 8,
282
+ "url": null,
283
+ "name": "查询用户",
284
+ "sort": null,
285
+ "type": 3,
286
+ "parentId": 2,
287
+ "permission": "system:users:query"
288
+ }
289
+ ],
290
+ "parentId": 1
291
+ },
292
+ {
293
+ "id": 3,
294
+ "url": "/main/system/department",
295
+ "name": "部门管理",
296
+ "sort": 101,
297
+ "type": 2,
298
+ "children": [
299
+ {
300
+ "id": 17,
301
+ "url": null,
302
+ "name": "创建部门",
303
+ "sort": null,
304
+ "type": 3,
305
+ "parentId": 3,
306
+ "permission": "system:department:create"
307
+ },
308
+ {
309
+ "id": 18,
310
+ "url": null,
311
+ "name": "删除部门",
312
+ "sort": null,
313
+ "type": 3,
314
+ "parentId": 3,
315
+ "permission": "system:department:delete"
316
+ },
317
+ {
318
+ "id": 19,
319
+ "url": null,
320
+ "name": "修改部门",
321
+ "sort": null,
322
+ "type": 3,
323
+ "parentId": 3,
324
+ "permission": "system:department:update"
325
+ },
326
+ {
327
+ "id": 20,
328
+ "url": null,
329
+ "name": "查询部门",
330
+ "sort": null,
331
+ "type": 3,
332
+ "parentId": 3,
333
+ "permission": "system:department:query"
334
+ }
335
+ ],
336
+ "parentId": 1
337
+ },
338
+ {
339
+ "id": 4,
340
+ "url": "/main/system/menu",
341
+ "name": "菜单管理",
342
+ "sort": 103,
343
+ "type": 2,
344
+ "children": [
345
+ {
346
+ "id": 21,
347
+ "url": null,
348
+ "name": "创建菜单",
349
+ "sort": null,
350
+ "type": 3,
351
+ "parentId": 4,
352
+ "permission": "system:menu:create"
353
+ },
354
+ {
355
+ "id": 22,
356
+ "url": null,
357
+ "name": "删除菜单",
358
+ "sort": null,
359
+ "type": 3,
360
+ "parentId": 4,
361
+ "permission": "system:menu:delete"
362
+ },
363
+ {
364
+ "id": 23,
365
+ "url": null,
366
+ "name": "修改菜单",
367
+ "sort": null,
368
+ "type": 3,
369
+ "parentId": 4,
370
+ "permission": "system:menu:update"
371
+ },
372
+ {
373
+ "id": 24,
374
+ "url": null,
375
+ "name": "查询菜单",
376
+ "sort": null,
377
+ "type": 3,
378
+ "parentId": 4,
379
+ "permission": "system:menu:query"
380
+ }
381
+ ],
382
+ "parentId": 1
383
+ },
384
+ {
385
+ "id": 25,
386
+ "url": "/main/system/role",
387
+ "name": "角色管理",
388
+ "sort": 102,
389
+ "type": 2,
390
+ "children": [
391
+ {
392
+ "id": 26,
393
+ "url": null,
394
+ "name": "创建角色",
395
+ "sort": null,
396
+ "type": 3,
397
+ "parentId": 25,
398
+ "permission": "system:role:create"
399
+ },
400
+ {
401
+ "id": 27,
402
+ "url": null,
403
+ "name": "删除角色",
404
+ "sort": null,
405
+ "type": 3,
406
+ "parentId": 25,
407
+ "permission": "system:role:delete"
408
+ },
409
+ {
410
+ "id": 28,
411
+ "url": null,
412
+ "name": "修改角色",
413
+ "sort": null,
414
+ "type": 3,
415
+ "parentId": 25,
416
+ "permission": "system:role:update"
417
+ },
418
+ {
419
+ "id": 29,
420
+ "url": null,
421
+ "name": "查询角色",
422
+ "sort": null,
423
+ "type": 3,
424
+ "parentId": 25,
425
+ "permission": "system:role:query"
426
+ }
427
+ ],
428
+ "parentId": 1
429
+ }
430
+ ]
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "id": 15478,
436
+ "name": "前台主管",
437
+ "intro": "只能查询",
438
+ "createAt": "2025-08-20T07:01:43.000Z",
439
+ "updateAt": "2025-08-21T19:43:32.000Z",
440
+ "menuList": [
441
+ {
442
+ "id": 1,
443
+ "name": "系统管理",
444
+ "type": 1,
445
+ "url": "/main/system",
446
+ "icon": "el-icon-setting",
447
+ "sort": 2,
448
+ "children": [
449
+ {
450
+ "id": 2,
451
+ "url": "/main/system/user",
452
+ "name": "用户管理",
453
+ "sort": 100,
454
+ "type": 2,
455
+ "children": [
456
+ {
457
+ "id": 8,
458
+ "url": null,
459
+ "name": "查询用户",
460
+ "sort": null,
461
+ "type": 3,
462
+ "parentId": 2,
463
+ "permission": "system:users:query"
464
+ }
465
+ ],
466
+ "parentId": 1
467
+ },
468
+ {
469
+ "id": 3,
470
+ "url": "/main/system/department",
471
+ "name": "部门管理",
472
+ "sort": 101,
473
+ "type": 2,
474
+ "children": [
475
+ {
476
+ "id": 20,
477
+ "url": null,
478
+ "name": "查询部门",
479
+ "sort": null,
480
+ "type": 3,
481
+ "parentId": 3,
482
+ "permission": "system:department:query"
483
+ }
484
+ ],
485
+ "parentId": 1
486
+ },
487
+ {
488
+ "id": 4,
489
+ "url": "/main/system/menu",
490
+ "name": "菜单管理",
491
+ "sort": 103,
492
+ "type": 2,
493
+ "children": [
494
+ {
495
+ "id": 24,
496
+ "url": null,
497
+ "name": "查询菜单",
498
+ "sort": null,
499
+ "type": 3,
500
+ "parentId": 4,
501
+ "permission": "system:menu:query"
502
+ }
503
+ ],
504
+ "parentId": 1
505
+ },
506
+ {
507
+ "id": 25,
508
+ "url": "/main/system/role",
509
+ "name": "角色管理",
510
+ "sort": 102,
511
+ "type": 2,
512
+ "children": [
513
+ {
514
+ "id": 29,
515
+ "url": null,
516
+ "name": "查询角色",
517
+ "sort": null,
518
+ "type": 3,
519
+ "parentId": 25,
520
+ "permission": "system:role:query"
521
+ }
522
+ ],
523
+ "parentId": 1
524
+ }
525
+ ]
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "id": 15477,
531
+ "name": "运营2",
532
+ "intro": "日常管理2",
533
+ "createAt": "2025-08-20T00:33:26.000Z",
534
+ "updateAt": "2025-08-20T00:33:26.000Z",
535
+ "menuList": [
536
+ {
537
+ "id": 38,
538
+ "name": "系统总览",
539
+ "type": 1,
540
+ "url": "/main/analysis",
541
+ "icon": "el-icon-monitor",
542
+ "sort": 1,
543
+ "children": [
544
+ {
545
+ "id": 39,
546
+ "url": "/main/analysis/overview",
547
+ "name": "核心技术",
548
+ "sort": 106,
549
+ "type": 2,
550
+ "children": null,
551
+ "parentId": 38
552
+ },
553
+ {
554
+ "id": 40,
555
+ "url": "/main/analysis/dashboard",
556
+ "name": "商品统计",
557
+ "sort": 107,
558
+ "type": 2,
559
+ "children": null,
560
+ "parentId": 38
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "id": 1,
566
+ "name": "系统管理",
567
+ "type": 1,
568
+ "url": "/main/system",
569
+ "icon": "el-icon-setting",
570
+ "sort": 2,
571
+ "children": [
572
+ {
573
+ "id": 2,
574
+ "url": "/main/system/user",
575
+ "name": "用户管理",
576
+ "sort": 100,
577
+ "type": 2,
578
+ "children": [
579
+ {
580
+ "id": 5,
581
+ "url": null,
582
+ "name": "创建用户",
583
+ "sort": null,
584
+ "type": 3,
585
+ "parentId": 2,
586
+ "permission": "system:users:create"
587
+ },
588
+ {
589
+ "id": 6,
590
+ "url": null,
591
+ "name": "删除用户",
592
+ "sort": null,
593
+ "type": 3,
594
+ "parentId": 2,
595
+ "permission": "system:users:delete"
596
+ },
597
+ {
598
+ "id": 7,
599
+ "url": null,
600
+ "name": "修改用户",
601
+ "sort": null,
602
+ "type": 3,
603
+ "parentId": 2,
604
+ "permission": "system:users:update"
605
+ },
606
+ {
607
+ "id": 8,
608
+ "url": null,
609
+ "name": "查询用户",
610
+ "sort": null,
611
+ "type": 3,
612
+ "parentId": 2,
613
+ "permission": "system:users:query"
614
+ }
615
+ ],
616
+ "parentId": 1
617
+ },
618
+ {
619
+ "id": 3,
620
+ "url": "/main/system/department",
621
+ "name": "部门管理",
622
+ "sort": 101,
623
+ "type": 2,
624
+ "children": [
625
+ {
626
+ "id": 17,
627
+ "url": null,
628
+ "name": "创建部门",
629
+ "sort": null,
630
+ "type": 3,
631
+ "parentId": 3,
632
+ "permission": "system:department:create"
633
+ },
634
+ {
635
+ "id": 18,
636
+ "url": null,
637
+ "name": "删除部门",
638
+ "sort": null,
639
+ "type": 3,
640
+ "parentId": 3,
641
+ "permission": "system:department:delete"
642
+ },
643
+ {
644
+ "id": 19,
645
+ "url": null,
646
+ "name": "修改部门",
647
+ "sort": null,
648
+ "type": 3,
649
+ "parentId": 3,
650
+ "permission": "system:department:update"
651
+ },
652
+ {
653
+ "id": 20,
654
+ "url": null,
655
+ "name": "查询部门",
656
+ "sort": null,
657
+ "type": 3,
658
+ "parentId": 3,
659
+ "permission": "system:department:query"
660
+ }
661
+ ],
662
+ "parentId": 1
663
+ },
664
+ {
665
+ "id": 4,
666
+ "url": "/main/system/menu",
667
+ "name": "菜单管理",
668
+ "sort": 103,
669
+ "type": 2,
670
+ "children": [
671
+ {
672
+ "id": 21,
673
+ "url": null,
674
+ "name": "创建菜单",
675
+ "sort": null,
676
+ "type": 3,
677
+ "parentId": 4,
678
+ "permission": "system:menu:create"
679
+ },
680
+ {
681
+ "id": 22,
682
+ "url": null,
683
+ "name": "删除菜单",
684
+ "sort": null,
685
+ "type": 3,
686
+ "parentId": 4,
687
+ "permission": "system:menu:delete"
688
+ },
689
+ {
690
+ "id": 23,
691
+ "url": null,
692
+ "name": "修改菜单",
693
+ "sort": null,
694
+ "type": 3,
695
+ "parentId": 4,
696
+ "permission": "system:menu:update"
697
+ },
698
+ {
699
+ "id": 24,
700
+ "url": null,
701
+ "name": "查询菜单",
702
+ "sort": null,
703
+ "type": 3,
704
+ "parentId": 4,
705
+ "permission": "system:menu:query"
706
+ }
707
+ ],
708
+ "parentId": 1
709
+ },
710
+ {
711
+ "id": 25,
712
+ "url": "/main/system/role",
713
+ "name": "角色管理",
714
+ "sort": 102,
715
+ "type": 2,
716
+ "children": [
717
+ {
718
+ "id": 26,
719
+ "url": null,
720
+ "name": "创建角色",
721
+ "sort": null,
722
+ "type": 3,
723
+ "parentId": 25,
724
+ "permission": "system:role:create"
725
+ },
726
+ {
727
+ "id": 27,
728
+ "url": null,
729
+ "name": "删除角色",
730
+ "sort": null,
731
+ "type": 3,
732
+ "parentId": 25,
733
+ "permission": "system:role:delete"
734
+ },
735
+ {
736
+ "id": 28,
737
+ "url": null,
738
+ "name": "修改角色",
739
+ "sort": null,
740
+ "type": 3,
741
+ "parentId": 25,
742
+ "permission": "system:role:update"
743
+ },
744
+ {
745
+ "id": 29,
746
+ "url": null,
747
+ "name": "查询角色",
748
+ "sort": null,
749
+ "type": 3,
750
+ "parentId": 25,
751
+ "permission": "system:role:query"
752
+ }
753
+ ],
754
+ "parentId": 1
755
+ }
756
+ ]
757
+ },
758
+ {
759
+ "id": 9,
760
+ "name": "商品中心",
761
+ "type": 1,
762
+ "url": "/main/product",
763
+ "icon": "el-icon-goods",
764
+ "sort": 3,
765
+ "children": [
766
+ {
767
+ "id": 15,
768
+ "url": "/main/product/category",
769
+ "name": "商品类别",
770
+ "sort": 104,
771
+ "type": 2,
772
+ "children": [
773
+ {
774
+ "id": 30,
775
+ "url": null,
776
+ "name": "创建类别",
777
+ "sort": null,
778
+ "type": 3,
779
+ "parentId": 15,
780
+ "permission": "system:category:create"
781
+ },
782
+ {
783
+ "id": 31,
784
+ "url": null,
785
+ "name": "删除类别",
786
+ "sort": null,
787
+ "type": 3,
788
+ "parentId": 15,
789
+ "permission": "system:category:delete"
790
+ },
791
+ {
792
+ "id": 32,
793
+ "url": null,
794
+ "name": "修改类别",
795
+ "sort": null,
796
+ "type": 3,
797
+ "parentId": 15,
798
+ "permission": "system:category:update"
799
+ },
800
+ {
801
+ "id": 33,
802
+ "url": null,
803
+ "name": "查询类别",
804
+ "sort": null,
805
+ "type": 3,
806
+ "parentId": 15,
807
+ "permission": "system:category:query"
808
+ }
809
+ ],
810
+ "parentId": 9
811
+ },
812
+ {
813
+ "id": 16,
814
+ "url": "/main/product/goods",
815
+ "name": "商品信息",
816
+ "sort": 105,
817
+ "type": 2,
818
+ "children": [
819
+ {
820
+ "id": 34,
821
+ "url": null,
822
+ "name": "创建商品",
823
+ "sort": null,
824
+ "type": 3,
825
+ "parentId": 16,
826
+ "permission": "system:goods:create"
827
+ },
828
+ {
829
+ "id": 35,
830
+ "url": null,
831
+ "name": "删除商品",
832
+ "sort": null,
833
+ "type": 3,
834
+ "parentId": 16,
835
+ "permission": "system:goods:delete"
836
+ },
837
+ {
838
+ "id": 36,
839
+ "url": null,
840
+ "name": "修改商品",
841
+ "sort": null,
842
+ "type": 3,
843
+ "parentId": 16,
844
+ "permission": "system:goods:update"
845
+ },
846
+ {
847
+ "id": 37,
848
+ "url": null,
849
+ "name": "查询商品",
850
+ "sort": null,
851
+ "type": 3,
852
+ "parentId": 16,
853
+ "permission": "system:goods:query"
854
+ }
855
+ ],
856
+ "parentId": 9
857
+ }
858
+ ]
859
+ },
860
+ {
861
+ "id": 41,
862
+ "name": "随便聊聊",
863
+ "type": 1,
864
+ "url": "/main/story",
865
+ "icon": "el-icon-chat-line-round",
866
+ "sort": 4,
867
+ "children": [
868
+ {
869
+ "id": 42,
870
+ "url": "/main/story/chat",
871
+ "name": "你的故事",
872
+ "sort": 108,
873
+ "type": 2,
874
+ "children": null,
875
+ "parentId": 41
876
+ },
877
+ {
878
+ "id": 43,
879
+ "url": "/main/story/list",
880
+ "name": "故事列表",
881
+ "sort": 109,
882
+ "type": 2,
883
+ "children": [],
884
+ "parentId": 41
885
+ }
886
+ ]
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "id": 4,
892
+ "name": "人事",
893
+ "intro": "人事管理",
894
+ "createAt": "2021-01-05T11:47:42.000Z",
895
+ "updateAt": "2021-01-05T11:50:11.000Z",
896
+ "menuList": [
897
+ {
898
+ "id": 1,
899
+ "name": "系统管理",
900
+ "type": 1,
901
+ "url": "/main/system",
902
+ "icon": "el-icon-setting",
903
+ "sort": 2,
904
+ "children": [
905
+ {
906
+ "id": 2,
907
+ "url": "/main/system/user",
908
+ "name": "用户管理",
909
+ "sort": 100,
910
+ "type": 2,
911
+ "children": [
912
+ {
913
+ "id": 5,
914
+ "url": null,
915
+ "name": "创建用户",
916
+ "sort": null,
917
+ "type": 3,
918
+ "parentId": 2,
919
+ "permission": "system:users:create"
920
+ },
921
+ {
922
+ "id": 6,
923
+ "url": null,
924
+ "name": "删除用户",
925
+ "sort": null,
926
+ "type": 3,
927
+ "parentId": 2,
928
+ "permission": "system:users:delete"
929
+ },
930
+ {
931
+ "id": 7,
932
+ "url": null,
933
+ "name": "修改用户",
934
+ "sort": null,
935
+ "type": 3,
936
+ "parentId": 2,
937
+ "permission": "system:users:update"
938
+ },
939
+ {
940
+ "id": 8,
941
+ "url": null,
942
+ "name": "查询用户",
943
+ "sort": null,
944
+ "type": 3,
945
+ "parentId": 2,
946
+ "permission": "system:users:query"
947
+ }
948
+ ],
949
+ "parentId": 1
950
+ },
951
+ {
952
+ "id": 3,
953
+ "url": "/main/system/department",
954
+ "name": "部门管理",
955
+ "sort": 101,
956
+ "type": 2,
957
+ "children": [
958
+ {
959
+ "id": 17,
960
+ "url": null,
961
+ "name": "创建部门",
962
+ "sort": null,
963
+ "type": 3,
964
+ "parentId": 3,
965
+ "permission": "system:department:create"
966
+ },
967
+ {
968
+ "id": 18,
969
+ "url": null,
970
+ "name": "删除部门",
971
+ "sort": null,
972
+ "type": 3,
973
+ "parentId": 3,
974
+ "permission": "system:department:delete"
975
+ },
976
+ {
977
+ "id": 19,
978
+ "url": null,
979
+ "name": "修改部门",
980
+ "sort": null,
981
+ "type": 3,
982
+ "parentId": 3,
983
+ "permission": "system:department:update"
984
+ },
985
+ {
986
+ "id": 20,
987
+ "url": null,
988
+ "name": "查询部门",
989
+ "sort": null,
990
+ "type": 3,
991
+ "parentId": 3,
992
+ "permission": "system:department:query"
993
+ }
994
+ ],
995
+ "parentId": 1
996
+ },
997
+ {
998
+ "id": 4,
999
+ "url": "/main/system/menu",
1000
+ "name": "菜单管理",
1001
+ "sort": 103,
1002
+ "type": 2,
1003
+ "children": [
1004
+ {
1005
+ "id": 21,
1006
+ "url": null,
1007
+ "name": "创建菜单",
1008
+ "sort": null,
1009
+ "type": 3,
1010
+ "parentId": 4,
1011
+ "permission": "system:menu:create"
1012
+ },
1013
+ {
1014
+ "id": 22,
1015
+ "url": null,
1016
+ "name": "删除菜单",
1017
+ "sort": null,
1018
+ "type": 3,
1019
+ "parentId": 4,
1020
+ "permission": "system:menu:delete"
1021
+ },
1022
+ {
1023
+ "id": 23,
1024
+ "url": null,
1025
+ "name": "修改菜单",
1026
+ "sort": null,
1027
+ "type": 3,
1028
+ "parentId": 4,
1029
+ "permission": "system:menu:update"
1030
+ },
1031
+ {
1032
+ "id": 24,
1033
+ "url": null,
1034
+ "name": "查询菜单",
1035
+ "sort": null,
1036
+ "type": 3,
1037
+ "parentId": 4,
1038
+ "permission": "system:menu:query"
1039
+ }
1040
+ ],
1041
+ "parentId": 1
1042
+ },
1043
+ {
1044
+ "id": 25,
1045
+ "url": "/main/system/role",
1046
+ "name": "角色管理",
1047
+ "sort": 102,
1048
+ "type": 2,
1049
+ "children": [],
1050
+ "parentId": 1
1051
+ }
1052
+ ]
1053
+ },
1054
+ {
1055
+ "id": 9,
1056
+ "name": "商品中心",
1057
+ "type": 1,
1058
+ "url": "/main/product",
1059
+ "icon": "el-icon-goods",
1060
+ "sort": 3,
1061
+ "children": [
1062
+ {
1063
+ "id": 15,
1064
+ "url": "/main/product/category",
1065
+ "name": "商品类别",
1066
+ "sort": 104,
1067
+ "type": 2,
1068
+ "children": [
1069
+ {
1070
+ "id": 30,
1071
+ "url": null,
1072
+ "name": "创建类别",
1073
+ "sort": null,
1074
+ "type": 3,
1075
+ "parentId": 15,
1076
+ "permission": "system:category:create"
1077
+ }
1078
+ ],
1079
+ "parentId": 9
1080
+ },
1081
+ {
1082
+ "id": 16,
1083
+ "url": "/main/product/goods",
1084
+ "name": "商品信息",
1085
+ "sort": 105,
1086
+ "type": 2,
1087
+ "children": [],
1088
+ "parentId": 9
1089
+ }
1090
+ ]
1091
+ }
1092
+ ]
1093
+ },
1094
+ {
1095
+ "id": 3,
1096
+ "name": "运营",
1097
+ "intro": "日常事务",
1098
+ "createAt": "2021-01-05T11:47:42.000Z",
1099
+ "updateAt": "2021-01-05T11:50:11.000Z",
1100
+ "menuList": [
1101
+ {
1102
+ "id": 38,
1103
+ "name": "系统总览",
1104
+ "type": 1,
1105
+ "url": "/main/analysis",
1106
+ "icon": "el-icon-monitor",
1107
+ "sort": 1,
1108
+ "children": [
1109
+ {
1110
+ "id": 39,
1111
+ "url": "/main/analysis/overview",
1112
+ "name": "核心技术",
1113
+ "sort": 106,
1114
+ "type": 2,
1115
+ "children": null,
1116
+ "parentId": 38
1117
+ },
1118
+ {
1119
+ "id": 40,
1120
+ "url": "/main/analysis/dashboard",
1121
+ "name": "商品统计",
1122
+ "sort": 107,
1123
+ "type": 2,
1124
+ "children": null,
1125
+ "parentId": 38
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ "id": 1,
1131
+ "name": "系统管理",
1132
+ "type": 1,
1133
+ "url": "/main/system",
1134
+ "icon": "el-icon-setting",
1135
+ "sort": 2,
1136
+ "children": [
1137
+ {
1138
+ "id": 2,
1139
+ "url": "/main/system/user",
1140
+ "name": "用户管理",
1141
+ "sort": 100,
1142
+ "type": 2,
1143
+ "children": [
1144
+ {
1145
+ "id": 5,
1146
+ "url": null,
1147
+ "name": "创建用户",
1148
+ "sort": null,
1149
+ "type": 3,
1150
+ "parentId": 2,
1151
+ "permission": "system:users:create"
1152
+ },
1153
+ {
1154
+ "id": 6,
1155
+ "url": null,
1156
+ "name": "删除用户",
1157
+ "sort": null,
1158
+ "type": 3,
1159
+ "parentId": 2,
1160
+ "permission": "system:users:delete"
1161
+ },
1162
+ {
1163
+ "id": 7,
1164
+ "url": null,
1165
+ "name": "修改用户",
1166
+ "sort": null,
1167
+ "type": 3,
1168
+ "parentId": 2,
1169
+ "permission": "system:users:update"
1170
+ },
1171
+ {
1172
+ "id": 8,
1173
+ "url": null,
1174
+ "name": "查询用户",
1175
+ "sort": null,
1176
+ "type": 3,
1177
+ "parentId": 2,
1178
+ "permission": "system:users:query"
1179
+ }
1180
+ ],
1181
+ "parentId": 1
1182
+ },
1183
+ {
1184
+ "id": 3,
1185
+ "url": "/main/system/department",
1186
+ "name": "部门管理",
1187
+ "sort": 101,
1188
+ "type": 2,
1189
+ "children": [
1190
+ {
1191
+ "id": 17,
1192
+ "url": null,
1193
+ "name": "创建部门",
1194
+ "sort": null,
1195
+ "type": 3,
1196
+ "parentId": 3,
1197
+ "permission": "system:department:create"
1198
+ },
1199
+ {
1200
+ "id": 18,
1201
+ "url": null,
1202
+ "name": "删除部门",
1203
+ "sort": null,
1204
+ "type": 3,
1205
+ "parentId": 3,
1206
+ "permission": "system:department:delete"
1207
+ },
1208
+ {
1209
+ "id": 19,
1210
+ "url": null,
1211
+ "name": "修改部门",
1212
+ "sort": null,
1213
+ "type": 3,
1214
+ "parentId": 3,
1215
+ "permission": "system:department:update"
1216
+ },
1217
+ {
1218
+ "id": 20,
1219
+ "url": null,
1220
+ "name": "查询部门",
1221
+ "sort": null,
1222
+ "type": 3,
1223
+ "parentId": 3,
1224
+ "permission": "system:department:query"
1225
+ }
1226
+ ],
1227
+ "parentId": 1
1228
+ },
1229
+ {
1230
+ "id": 4,
1231
+ "url": "/main/system/menu",
1232
+ "name": "菜单管理",
1233
+ "sort": 103,
1234
+ "type": 2,
1235
+ "children": [
1236
+ {
1237
+ "id": 21,
1238
+ "url": null,
1239
+ "name": "创建菜单",
1240
+ "sort": null,
1241
+ "type": 3,
1242
+ "parentId": 4,
1243
+ "permission": "system:menu:create"
1244
+ },
1245
+ {
1246
+ "id": 22,
1247
+ "url": null,
1248
+ "name": "删除菜单",
1249
+ "sort": null,
1250
+ "type": 3,
1251
+ "parentId": 4,
1252
+ "permission": "system:menu:delete"
1253
+ },
1254
+ {
1255
+ "id": 23,
1256
+ "url": null,
1257
+ "name": "修改菜单",
1258
+ "sort": null,
1259
+ "type": 3,
1260
+ "parentId": 4,
1261
+ "permission": "system:menu:update"
1262
+ },
1263
+ {
1264
+ "id": 24,
1265
+ "url": null,
1266
+ "name": "查询菜单",
1267
+ "sort": null,
1268
+ "type": 3,
1269
+ "parentId": 4,
1270
+ "permission": "system:menu:query"
1271
+ }
1272
+ ],
1273
+ "parentId": 1
1274
+ },
1275
+ {
1276
+ "id": 25,
1277
+ "url": "/main/system/role",
1278
+ "name": "角色管理",
1279
+ "sort": 102,
1280
+ "type": 2,
1281
+ "children": [
1282
+ {
1283
+ "id": 26,
1284
+ "url": null,
1285
+ "name": "创建角色",
1286
+ "sort": null,
1287
+ "type": 3,
1288
+ "parentId": 25,
1289
+ "permission": "system:role:create"
1290
+ },
1291
+ {
1292
+ "id": 27,
1293
+ "url": null,
1294
+ "name": "删除角色",
1295
+ "sort": null,
1296
+ "type": 3,
1297
+ "parentId": 25,
1298
+ "permission": "system:role:delete"
1299
+ },
1300
+ {
1301
+ "id": 28,
1302
+ "url": null,
1303
+ "name": "修改角色",
1304
+ "sort": null,
1305
+ "type": 3,
1306
+ "parentId": 25,
1307
+ "permission": "system:role:update"
1308
+ },
1309
+ {
1310
+ "id": 29,
1311
+ "url": null,
1312
+ "name": "查询角色",
1313
+ "sort": null,
1314
+ "type": 3,
1315
+ "parentId": 25,
1316
+ "permission": "system:role:query"
1317
+ }
1318
+ ],
1319
+ "parentId": 1
1320
+ }
1321
+ ]
1322
+ },
1323
+ {
1324
+ "id": 9,
1325
+ "name": "商品中心",
1326
+ "type": 1,
1327
+ "url": "/main/product",
1328
+ "icon": "el-icon-goods",
1329
+ "sort": 3,
1330
+ "children": [
1331
+ {
1332
+ "id": 15,
1333
+ "url": "/main/product/category",
1334
+ "name": "商品类别",
1335
+ "sort": 104,
1336
+ "type": 2,
1337
+ "children": [
1338
+ {
1339
+ "id": 30,
1340
+ "url": null,
1341
+ "name": "创建类别",
1342
+ "sort": null,
1343
+ "type": 3,
1344
+ "parentId": 15,
1345
+ "permission": "system:category:create"
1346
+ },
1347
+ {
1348
+ "id": 31,
1349
+ "url": null,
1350
+ "name": "删除类别",
1351
+ "sort": null,
1352
+ "type": 3,
1353
+ "parentId": 15,
1354
+ "permission": "system:category:delete"
1355
+ },
1356
+ {
1357
+ "id": 32,
1358
+ "url": null,
1359
+ "name": "修改类别",
1360
+ "sort": null,
1361
+ "type": 3,
1362
+ "parentId": 15,
1363
+ "permission": "system:category:update"
1364
+ },
1365
+ {
1366
+ "id": 33,
1367
+ "url": null,
1368
+ "name": "查询类别",
1369
+ "sort": null,
1370
+ "type": 3,
1371
+ "parentId": 15,
1372
+ "permission": "system:category:query"
1373
+ }
1374
+ ],
1375
+ "parentId": 9
1376
+ },
1377
+ {
1378
+ "id": 16,
1379
+ "url": "/main/product/goods",
1380
+ "name": "商品信息",
1381
+ "sort": 105,
1382
+ "type": 2,
1383
+ "children": [
1384
+ {
1385
+ "id": 34,
1386
+ "url": null,
1387
+ "name": "创建商品",
1388
+ "sort": null,
1389
+ "type": 3,
1390
+ "parentId": 16,
1391
+ "permission": "system:goods:create"
1392
+ },
1393
+ {
1394
+ "id": 35,
1395
+ "url": null,
1396
+ "name": "删除商品",
1397
+ "sort": null,
1398
+ "type": 3,
1399
+ "parentId": 16,
1400
+ "permission": "system:goods:delete"
1401
+ },
1402
+ {
1403
+ "id": 36,
1404
+ "url": null,
1405
+ "name": "修改商品",
1406
+ "sort": null,
1407
+ "type": 3,
1408
+ "parentId": 16,
1409
+ "permission": "system:goods:update"
1410
+ },
1411
+ {
1412
+ "id": 37,
1413
+ "url": null,
1414
+ "name": "查询商品",
1415
+ "sort": null,
1416
+ "type": 3,
1417
+ "parentId": 16,
1418
+ "permission": "system:goods:query"
1419
+ }
1420
+ ],
1421
+ "parentId": 9
1422
+ }
1423
+ ]
1424
+ },
1425
+ {
1426
+ "id": 41,
1427
+ "name": "随便聊聊",
1428
+ "type": 1,
1429
+ "url": "/main/story",
1430
+ "icon": "el-icon-chat-line-round",
1431
+ "sort": 4,
1432
+ "children": [
1433
+ {
1434
+ "id": 42,
1435
+ "url": "/main/story/chat",
1436
+ "name": "你的故事",
1437
+ "sort": 108,
1438
+ "type": 2,
1439
+ "children": null,
1440
+ "parentId": 41
1441
+ },
1442
+ {
1443
+ "id": 43,
1444
+ "url": "/main/story/list",
1445
+ "name": "故事列表",
1446
+ "sort": 109,
1447
+ "type": 2,
1448
+ "children": [],
1449
+ "parentId": 41
1450
+ }
1451
+ ]
1452
+ }
1453
+ ]
1454
+ },
1455
+ {
1456
+ "id": 1,
1457
+ "name": "超级管理员",
1458
+ "intro": "所有权限",
1459
+ "createAt": "2021-01-02T10:01:52.000Z",
1460
+ "updateAt": "2021-01-02T10:01:52.000Z",
1461
+ "menuList": [
1462
+ {
1463
+ "id": 38,
1464
+ "name": "系统总览",
1465
+ "type": 1,
1466
+ "url": "/main/analysis",
1467
+ "icon": "el-icon-monitor",
1468
+ "sort": 1,
1469
+ "children": [
1470
+ {
1471
+ "id": 39,
1472
+ "url": "/main/analysis/overview",
1473
+ "name": "核心技术",
1474
+ "sort": 106,
1475
+ "type": 2,
1476
+ "children": null,
1477
+ "parentId": 38
1478
+ },
1479
+ {
1480
+ "id": 40,
1481
+ "url": "/main/analysis/dashboard",
1482
+ "name": "商品统计",
1483
+ "sort": 107,
1484
+ "type": 2,
1485
+ "children": null,
1486
+ "parentId": 38
1487
+ }
1488
+ ]
1489
+ },
1490
+ {
1491
+ "id": 1,
1492
+ "name": "系统管理",
1493
+ "type": 1,
1494
+ "url": "/main/system",
1495
+ "icon": "el-icon-setting",
1496
+ "sort": 2,
1497
+ "children": [
1498
+ {
1499
+ "id": 2,
1500
+ "url": "/main/system/user",
1501
+ "name": "用户管理",
1502
+ "sort": 100,
1503
+ "type": 2,
1504
+ "children": [
1505
+ {
1506
+ "id": 5,
1507
+ "url": null,
1508
+ "name": "创建用户",
1509
+ "sort": null,
1510
+ "type": 3,
1511
+ "parentId": 2,
1512
+ "permission": "system:users:create"
1513
+ },
1514
+ {
1515
+ "id": 6,
1516
+ "url": null,
1517
+ "name": "删除用户",
1518
+ "sort": null,
1519
+ "type": 3,
1520
+ "parentId": 2,
1521
+ "permission": "system:users:delete"
1522
+ },
1523
+ {
1524
+ "id": 7,
1525
+ "url": null,
1526
+ "name": "修改用户",
1527
+ "sort": null,
1528
+ "type": 3,
1529
+ "parentId": 2,
1530
+ "permission": "system:users:update"
1531
+ },
1532
+ {
1533
+ "id": 8,
1534
+ "url": null,
1535
+ "name": "查询用户",
1536
+ "sort": null,
1537
+ "type": 3,
1538
+ "parentId": 2,
1539
+ "permission": "system:users:query"
1540
+ }
1541
+ ],
1542
+ "parentId": 1
1543
+ },
1544
+ {
1545
+ "id": 3,
1546
+ "url": "/main/system/department",
1547
+ "name": "部门管理",
1548
+ "sort": 101,
1549
+ "type": 2,
1550
+ "children": [
1551
+ {
1552
+ "id": 17,
1553
+ "url": null,
1554
+ "name": "创建部门",
1555
+ "sort": null,
1556
+ "type": 3,
1557
+ "parentId": 3,
1558
+ "permission": "system:department:create"
1559
+ },
1560
+ {
1561
+ "id": 18,
1562
+ "url": null,
1563
+ "name": "删除部门",
1564
+ "sort": null,
1565
+ "type": 3,
1566
+ "parentId": 3,
1567
+ "permission": "system:department:delete"
1568
+ },
1569
+ {
1570
+ "id": 19,
1571
+ "url": null,
1572
+ "name": "修改部门",
1573
+ "sort": null,
1574
+ "type": 3,
1575
+ "parentId": 3,
1576
+ "permission": "system:department:update"
1577
+ },
1578
+ {
1579
+ "id": 20,
1580
+ "url": null,
1581
+ "name": "查询部门",
1582
+ "sort": null,
1583
+ "type": 3,
1584
+ "parentId": 3,
1585
+ "permission": "system:department:query"
1586
+ }
1587
+ ],
1588
+ "parentId": 1
1589
+ },
1590
+ {
1591
+ "id": 4,
1592
+ "url": "/main/system/menu",
1593
+ "name": "菜单管理",
1594
+ "sort": 103,
1595
+ "type": 2,
1596
+ "children": [
1597
+ {
1598
+ "id": 21,
1599
+ "url": null,
1600
+ "name": "创建菜单",
1601
+ "sort": null,
1602
+ "type": 3,
1603
+ "parentId": 4,
1604
+ "permission": "system:menu:create"
1605
+ },
1606
+ {
1607
+ "id": 22,
1608
+ "url": null,
1609
+ "name": "删除菜单",
1610
+ "sort": null,
1611
+ "type": 3,
1612
+ "parentId": 4,
1613
+ "permission": "system:menu:delete"
1614
+ },
1615
+ {
1616
+ "id": 23,
1617
+ "url": null,
1618
+ "name": "修改菜单",
1619
+ "sort": null,
1620
+ "type": 3,
1621
+ "parentId": 4,
1622
+ "permission": "system:menu:update"
1623
+ },
1624
+ {
1625
+ "id": 24,
1626
+ "url": null,
1627
+ "name": "查询菜单",
1628
+ "sort": null,
1629
+ "type": 3,
1630
+ "parentId": 4,
1631
+ "permission": "system:menu:query"
1632
+ }
1633
+ ],
1634
+ "parentId": 1
1635
+ },
1636
+ {
1637
+ "id": 25,
1638
+ "url": "/main/system/role",
1639
+ "name": "角色管理",
1640
+ "sort": 102,
1641
+ "type": 2,
1642
+ "children": [
1643
+ {
1644
+ "id": 26,
1645
+ "url": null,
1646
+ "name": "创建角色",
1647
+ "sort": null,
1648
+ "type": 3,
1649
+ "parentId": 25,
1650
+ "permission": "system:role:create"
1651
+ },
1652
+ {
1653
+ "id": 27,
1654
+ "url": null,
1655
+ "name": "删除角色",
1656
+ "sort": null,
1657
+ "type": 3,
1658
+ "parentId": 25,
1659
+ "permission": "system:role:delete"
1660
+ },
1661
+ {
1662
+ "id": 28,
1663
+ "url": null,
1664
+ "name": "修改角色",
1665
+ "sort": null,
1666
+ "type": 3,
1667
+ "parentId": 25,
1668
+ "permission": "system:role:update"
1669
+ },
1670
+ {
1671
+ "id": 29,
1672
+ "url": null,
1673
+ "name": "查询角色",
1674
+ "sort": null,
1675
+ "type": 3,
1676
+ "parentId": 25,
1677
+ "permission": "system:role:query"
1678
+ }
1679
+ ],
1680
+ "parentId": 1
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "id": 9,
1686
+ "name": "商品中心",
1687
+ "type": 1,
1688
+ "url": "/main/product",
1689
+ "icon": "el-icon-goods",
1690
+ "sort": 3,
1691
+ "children": [
1692
+ {
1693
+ "id": 15,
1694
+ "url": "/main/product/category",
1695
+ "name": "商品类别",
1696
+ "sort": 104,
1697
+ "type": 2,
1698
+ "children": [
1699
+ {
1700
+ "id": 30,
1701
+ "url": null,
1702
+ "name": "创建类别",
1703
+ "sort": null,
1704
+ "type": 3,
1705
+ "parentId": 15,
1706
+ "permission": "system:category:create"
1707
+ },
1708
+ {
1709
+ "id": 31,
1710
+ "url": null,
1711
+ "name": "删除类别",
1712
+ "sort": null,
1713
+ "type": 3,
1714
+ "parentId": 15,
1715
+ "permission": "system:category:delete"
1716
+ },
1717
+ {
1718
+ "id": 32,
1719
+ "url": null,
1720
+ "name": "修改类别",
1721
+ "sort": null,
1722
+ "type": 3,
1723
+ "parentId": 15,
1724
+ "permission": "system:category:update"
1725
+ },
1726
+ {
1727
+ "id": 33,
1728
+ "url": null,
1729
+ "name": "查询类别",
1730
+ "sort": null,
1731
+ "type": 3,
1732
+ "parentId": 15,
1733
+ "permission": "system:category:query"
1734
+ }
1735
+ ],
1736
+ "parentId": 9
1737
+ },
1738
+ {
1739
+ "id": 16,
1740
+ "url": "/main/product/goods",
1741
+ "name": "商品信息",
1742
+ "sort": 105,
1743
+ "type": 2,
1744
+ "children": [
1745
+ {
1746
+ "id": 34,
1747
+ "url": null,
1748
+ "name": "创建商品",
1749
+ "sort": null,
1750
+ "type": 3,
1751
+ "parentId": 16,
1752
+ "permission": "system:goods:create"
1753
+ },
1754
+ {
1755
+ "id": 35,
1756
+ "url": null,
1757
+ "name": "删除商品",
1758
+ "sort": null,
1759
+ "type": 3,
1760
+ "parentId": 16,
1761
+ "permission": "system:goods:delete"
1762
+ },
1763
+ {
1764
+ "id": 36,
1765
+ "url": null,
1766
+ "name": "修改商品",
1767
+ "sort": null,
1768
+ "type": 3,
1769
+ "parentId": 16,
1770
+ "permission": "system:goods:update"
1771
+ },
1772
+ {
1773
+ "id": 37,
1774
+ "url": null,
1775
+ "name": "查询商品",
1776
+ "sort": null,
1777
+ "type": 3,
1778
+ "parentId": 16,
1779
+ "permission": "system:goods:query"
1780
+ }
1781
+ ],
1782
+ "parentId": 9
1783
+ }
1784
+ ]
1785
+ },
1786
+ {
1787
+ "id": 41,
1788
+ "name": "随便聊聊",
1789
+ "type": 1,
1790
+ "url": "/main/story",
1791
+ "icon": "el-icon-chat-line-round",
1792
+ "sort": 4,
1793
+ "children": [
1794
+ {
1795
+ "id": 42,
1796
+ "url": "/main/story/chat",
1797
+ "name": "你的故事",
1798
+ "sort": 108,
1799
+ "type": 2,
1800
+ "children": null,
1801
+ "parentId": 41
1802
+ },
1803
+ {
1804
+ "id": 43,
1805
+ "url": "/main/story/list",
1806
+ "name": "故事列表",
1807
+ "sort": 109,
1808
+ "type": 2,
1809
+ "children": [
1810
+ {
1811
+ "id": 10,
1812
+ "url": null,
1813
+ "name": "删除故事",
1814
+ "sort": null,
1815
+ "type": 3,
1816
+ "parentId": 43,
1817
+ "permission": "system:story:delete"
1818
+ },
1819
+ {
1820
+ "id": 11,
1821
+ "url": null,
1822
+ "name": "修改故事",
1823
+ "sort": null,
1824
+ "type": 3,
1825
+ "parentId": 43,
1826
+ "permission": "system:story:update"
1827
+ },
1828
+ {
1829
+ "id": 12,
1830
+ "url": null,
1831
+ "name": "查询故事",
1832
+ "sort": null,
1833
+ "type": 3,
1834
+ "parentId": 43,
1835
+ "permission": "system:story:query"
1836
+ }
1837
+ ],
1838
+ "parentId": 41
1839
+ }
1840
+ ]
1841
+ }
1842
+ ]
1843
+ }
1844
+ ],
1845
+ "totalCount": 7
1846
+ }