@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,115 @@
1
+ export const userList = {
2
+ "list": [
3
+ {
4
+ "id": 177053641,
5
+ "name": "james3",
6
+ "realname": "詹姆斯3",
7
+ "cellphone": 13322223331,
8
+ "enable": 1,
9
+ "departmentId": 1,
10
+ "roleId": 1,
11
+ "createAt": "2025-08-26T03:08:52.000Z",
12
+ "updateAt": "2025-08-26T03:08:52.000Z"
13
+ },
14
+ {
15
+ "id": 177053639,
16
+ "name": "james2",
17
+ "realname": "詹姆斯2",
18
+ "cellphone": 13322223335,
19
+ "enable": 1,
20
+ "departmentId": 1,
21
+ "roleId": 1,
22
+ "createAt": "2025-08-26T03:07:55.000Z",
23
+ "updateAt": "2025-08-26T03:07:55.000Z"
24
+ },
25
+ {
26
+ "id": 177053637,
27
+ "name": "james",
28
+ "realname": "詹姆斯",
29
+ "cellphone": 13322223338,
30
+ "enable": 1,
31
+ "departmentId": 1,
32
+ "roleId": 1,
33
+ "createAt": "2025-08-26T03:04:05.000Z",
34
+ "updateAt": "2025-08-26T03:04:05.000Z"
35
+ },
36
+ {
37
+ "id": 177053636,
38
+ "name": "jiangjiang",
39
+ "realname": "江江",
40
+ "cellphone": 11211345543,
41
+ "enable": 1,
42
+ "departmentId": 2,
43
+ "roleId": 1,
44
+ "createAt": "2025-08-25T02:06:03.000Z",
45
+ "updateAt": "2025-08-25T02:06:50.000Z"
46
+ },
47
+ {
48
+ "id": 177053634,
49
+ "name": "韩老魔",
50
+ "realname": "韩立",
51
+ "cellphone": 14725836910,
52
+ "enable": 1,
53
+ "departmentId": 8384,
54
+ "roleId": 3,
55
+ "createAt": "2025-08-24T06:48:23.000Z",
56
+ "updateAt": "2025-08-24T06:48:51.000Z"
57
+ },
58
+ {
59
+ "id": 177053633,
60
+ "name": "编辑用户xxxyyy",
61
+ "realname": "编辑用户xxxyyy",
62
+ "cellphone": 5448686868484,
63
+ "enable": 1,
64
+ "departmentId": 3,
65
+ "roleId": 3,
66
+ "createAt": "2025-08-24T06:42:54.000Z",
67
+ "updateAt": "2025-08-24T06:48:30.000Z"
68
+ },
69
+ {
70
+ "id": 177053631,
71
+ "name": "coder12345",
72
+ "realname": "coder147",
73
+ "cellphone": 15442415415,
74
+ "enable": 1,
75
+ "departmentId": 5,
76
+ "roleId": 4,
77
+ "createAt": "2025-08-24T06:05:18.000Z",
78
+ "updateAt": "2025-08-24T06:05:18.000Z"
79
+ },
80
+ {
81
+ "id": 177053630,
82
+ "name": "韩梅梅",
83
+ "realname": "马冬梅aaa",
84
+ "cellphone": 222222,
85
+ "enable": 1,
86
+ "departmentId": 5,
87
+ "roleId": 4,
88
+ "createAt": "2025-08-23T10:06:02.000Z",
89
+ "updateAt": "2025-08-23T10:09:06.000Z"
90
+ },
91
+ {
92
+ "id": 177053629,
93
+ "name": "测试用例",
94
+ "realname": "测试用例",
95
+ "cellphone": 1111111,
96
+ "enable": 1,
97
+ "departmentId": 5,
98
+ "roleId": 4,
99
+ "createAt": "2025-08-23T10:02:37.000Z",
100
+ "updateAt": "2025-08-23T10:02:37.000Z"
101
+ },
102
+ {
103
+ "id": 177053628,
104
+ "name": "7777",
105
+ "realname": "77777",
106
+ "cellphone": 77777777,
107
+ "enable": 1,
108
+ "departmentId": 3,
109
+ "roleId": 3,
110
+ "createAt": "2025-08-23T08:30:34.000Z",
111
+ "updateAt": "2025-08-23T08:30:34.000Z"
112
+ }
113
+ ],
114
+ "totalCount": 24
115
+ }
@@ -0,0 +1 @@
1
+ export const userListDelete = '删除用户成功'
@@ -0,0 +1,466 @@
1
+ export const userMenuList = {
2
+ "list": [
3
+ {
4
+ "id": 38,
5
+ "name": "系统总览",
6
+ "type": 1,
7
+ "url": "/main/analysis",
8
+ "icon": "el-icon-monitor",
9
+ "sort": 1,
10
+ "createAt": "2021-04-19T14:11:02.000Z",
11
+ "updateAt": "2021-08-20T06:59:55.000Z",
12
+ "children": [
13
+ {
14
+ "id": 39,
15
+ "url": "/main/analysis/overview",
16
+ "name": "核心技术",
17
+ "sort": 106,
18
+ "type": 2,
19
+ "children": null,
20
+ "createAt": "2021-01-02 18:09:11.000000",
21
+ "parentId": 38,
22
+ "updateAt": "2021-08-19 15:54:41.000000"
23
+ },
24
+ {
25
+ "id": 40,
26
+ "url": "/main/analysis/dashboard",
27
+ "name": "商品统计",
28
+ "sort": 107,
29
+ "type": 2,
30
+ "children": null,
31
+ "createAt": "2021-01-02 18:09:22.000000",
32
+ "parentId": 38,
33
+ "updateAt": "2021-08-19 15:56:08.000000"
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "id": 1,
39
+ "name": "系统管理",
40
+ "type": 1,
41
+ "url": "/main/system",
42
+ "icon": "el-icon-setting",
43
+ "sort": 2,
44
+ "createAt": "2021-01-02T10:08:14.000Z",
45
+ "updateAt": "2021-08-20T07:00:08.000Z",
46
+ "children": [
47
+ {
48
+ "id": 2,
49
+ "url": "/main/system/user",
50
+ "name": "用户管理",
51
+ "sort": 100,
52
+ "type": 2,
53
+ "children": [
54
+ {
55
+ "id": 5,
56
+ "url": null,
57
+ "name": "创建用户",
58
+ "sort": null,
59
+ "type": 3,
60
+ "createAt": "2021-01-03 13:41:01.000000",
61
+ "parentId": 2,
62
+ "updateAt": "2021-08-19 16:10:06.000000",
63
+ "permission": "system:users:create"
64
+ },
65
+ {
66
+ "id": 6,
67
+ "url": null,
68
+ "name": "删除用户",
69
+ "sort": null,
70
+ "type": 3,
71
+ "createAt": "2021-01-03 13:41:01.000000",
72
+ "parentId": 2,
73
+ "updateAt": "2021-08-19 16:10:21.000000",
74
+ "permission": "system:users:delete"
75
+ },
76
+ {
77
+ "id": 7,
78
+ "url": null,
79
+ "name": "修改用户",
80
+ "sort": null,
81
+ "type": 3,
82
+ "createAt": "2021-01-03 13:41:01.000000",
83
+ "parentId": 2,
84
+ "updateAt": "2021-08-19 16:10:24.000000",
85
+ "permission": "system:users:update"
86
+ },
87
+ {
88
+ "id": 8,
89
+ "url": null,
90
+ "name": "查询用户",
91
+ "sort": null,
92
+ "type": 3,
93
+ "createAt": "2021-01-03 13:41:01.000000",
94
+ "parentId": 2,
95
+ "updateAt": "2021-08-19 16:10:26.000000",
96
+ "permission": "system:users:query"
97
+ }
98
+ ],
99
+ "createAt": "2021-01-02 18:08:47.000000",
100
+ "parentId": 1,
101
+ "updateAt": "2021-08-19 15:52:01.000000"
102
+ },
103
+ {
104
+ "id": 3,
105
+ "url": "/main/system/department",
106
+ "name": "部门管理",
107
+ "sort": 101,
108
+ "type": 2,
109
+ "children": [
110
+ {
111
+ "id": 17,
112
+ "url": null,
113
+ "name": "创建部门",
114
+ "sort": null,
115
+ "type": 3,
116
+ "createAt": "2021-01-03 13:41:01.000000",
117
+ "parentId": 3,
118
+ "updateAt": "2021-04-19 21:59:39.000000",
119
+ "permission": "system:department:create"
120
+ },
121
+ {
122
+ "id": 18,
123
+ "url": null,
124
+ "name": "删除部门",
125
+ "sort": null,
126
+ "type": 3,
127
+ "createAt": "2021-01-03 13:41:01.000000",
128
+ "parentId": 3,
129
+ "updateAt": "2021-04-19 22:05:07.000000",
130
+ "permission": "system:department:delete"
131
+ },
132
+ {
133
+ "id": 19,
134
+ "url": null,
135
+ "name": "修改部门",
136
+ "sort": null,
137
+ "type": 3,
138
+ "createAt": "2021-01-03 13:41:01.000000",
139
+ "parentId": 3,
140
+ "updateAt": "2021-04-19 22:05:11.000000",
141
+ "permission": "system:department:update"
142
+ },
143
+ {
144
+ "id": 20,
145
+ "url": null,
146
+ "name": "查询部门",
147
+ "sort": null,
148
+ "type": 3,
149
+ "createAt": "2021-01-03 13:41:01.000000",
150
+ "parentId": 3,
151
+ "updateAt": "2021-04-19 22:05:14.000000",
152
+ "permission": "system:department:query"
153
+ }
154
+ ],
155
+ "createAt": "2021-01-02 18:09:11.000000",
156
+ "parentId": 1,
157
+ "updateAt": "2021-08-19 15:52:04.000000"
158
+ },
159
+ {
160
+ "id": 4,
161
+ "url": "/main/system/menu",
162
+ "name": "菜单管理",
163
+ "sort": 103,
164
+ "type": 2,
165
+ "children": [
166
+ {
167
+ "id": 21,
168
+ "url": null,
169
+ "name": "创建菜单",
170
+ "sort": null,
171
+ "type": 3,
172
+ "createAt": "2021-01-03 13:41:01.000000",
173
+ "parentId": 4,
174
+ "updateAt": "2021-04-19 21:59:39.000000",
175
+ "permission": "system:menu:create"
176
+ },
177
+ {
178
+ "id": 22,
179
+ "url": null,
180
+ "name": "删除菜单",
181
+ "sort": null,
182
+ "type": 3,
183
+ "createAt": "2021-01-03 13:41:01.000000",
184
+ "parentId": 4,
185
+ "updateAt": "2021-04-19 22:05:18.000000",
186
+ "permission": "system:menu:delete"
187
+ },
188
+ {
189
+ "id": 23,
190
+ "url": null,
191
+ "name": "修改菜单",
192
+ "sort": null,
193
+ "type": 3,
194
+ "createAt": "2021-01-03 13:41:01.000000",
195
+ "parentId": 4,
196
+ "updateAt": "2021-04-19 22:05:21.000000",
197
+ "permission": "system:menu:update"
198
+ },
199
+ {
200
+ "id": 24,
201
+ "url": null,
202
+ "name": "查询菜单",
203
+ "sort": null,
204
+ "type": 3,
205
+ "createAt": "2021-01-03 13:41:01.000000",
206
+ "parentId": 4,
207
+ "updateAt": "2021-04-19 22:05:24.000000",
208
+ "permission": "system:menu:query"
209
+ }
210
+ ],
211
+ "createAt": "2021-01-02 18:09:22.000000",
212
+ "parentId": 1,
213
+ "updateAt": "2021-08-19 15:52:07.000000"
214
+ },
215
+ {
216
+ "id": 25,
217
+ "url": "/main/system/role",
218
+ "name": "角色管理",
219
+ "sort": 102,
220
+ "type": 2,
221
+ "children": [
222
+ {
223
+ "id": 26,
224
+ "url": null,
225
+ "name": "创建角色",
226
+ "sort": null,
227
+ "type": 3,
228
+ "createAt": "2021-01-03 13:41:01.000000",
229
+ "parentId": 25,
230
+ "updateAt": "2021-04-19 21:59:39.000000",
231
+ "permission": "system:role:create"
232
+ },
233
+ {
234
+ "id": 27,
235
+ "url": null,
236
+ "name": "删除角色",
237
+ "sort": null,
238
+ "type": 3,
239
+ "createAt": "2021-01-03 13:41:01.000000",
240
+ "parentId": 25,
241
+ "updateAt": "2021-04-19 21:59:44.000000",
242
+ "permission": "system:role:delete"
243
+ },
244
+ {
245
+ "id": 28,
246
+ "url": null,
247
+ "name": "修改角色",
248
+ "sort": null,
249
+ "type": 3,
250
+ "createAt": "2021-01-03 13:41:01.000000",
251
+ "parentId": 25,
252
+ "updateAt": "2021-04-19 21:59:47.000000",
253
+ "permission": "system:role:update"
254
+ },
255
+ {
256
+ "id": 29,
257
+ "url": null,
258
+ "name": "查询角色",
259
+ "sort": null,
260
+ "type": 3,
261
+ "createAt": "2021-01-03 13:41:01.000000",
262
+ "parentId": 25,
263
+ "updateAt": "2021-04-19 21:59:49.000000",
264
+ "permission": "system:role:query"
265
+ }
266
+ ],
267
+ "createAt": "2021-01-02 18:09:22.000000",
268
+ "parentId": 1,
269
+ "updateAt": "2021-08-19 15:52:17.000000"
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ "id": 9,
275
+ "name": "商品中心",
276
+ "type": 1,
277
+ "url": "/main/product",
278
+ "icon": "el-icon-goods",
279
+ "sort": 3,
280
+ "createAt": "2021-01-05T12:15:56.000Z",
281
+ "updateAt": "2021-08-20T07:00:25.000Z",
282
+ "children": [
283
+ {
284
+ "id": 15,
285
+ "url": "/main/product/category",
286
+ "name": "商品类别",
287
+ "sort": 104,
288
+ "type": 2,
289
+ "children": [
290
+ {
291
+ "id": 30,
292
+ "url": null,
293
+ "name": "创建类别",
294
+ "sort": null,
295
+ "type": 3,
296
+ "createAt": "2021-01-03 13:41:01.000000",
297
+ "parentId": 15,
298
+ "updateAt": "2021-04-19 21:59:39.000000",
299
+ "permission": "system:category:create"
300
+ },
301
+ {
302
+ "id": 31,
303
+ "url": null,
304
+ "name": "删除类别",
305
+ "sort": null,
306
+ "type": 3,
307
+ "createAt": "2021-01-03 13:41:01.000000",
308
+ "parentId": 15,
309
+ "updateAt": "2021-04-19 21:59:44.000000",
310
+ "permission": "system:category:delete"
311
+ },
312
+ {
313
+ "id": 32,
314
+ "url": null,
315
+ "name": "修改类别",
316
+ "sort": null,
317
+ "type": 3,
318
+ "createAt": "2021-01-03 13:41:01.000000",
319
+ "parentId": 15,
320
+ "updateAt": "2021-04-19 21:59:47.000000",
321
+ "permission": "system:category:update"
322
+ },
323
+ {
324
+ "id": 33,
325
+ "url": null,
326
+ "name": "查询类别",
327
+ "sort": null,
328
+ "type": 3,
329
+ "createAt": "2021-01-03 13:41:01.000000",
330
+ "parentId": 15,
331
+ "updateAt": "2021-04-19 21:59:49.000000",
332
+ "permission": "system:category:query"
333
+ }
334
+ ],
335
+ "createAt": "2021-04-19 21:55:11.000000",
336
+ "parentId": 9,
337
+ "updateAt": "2021-08-19 15:52:12.000000"
338
+ },
339
+ {
340
+ "id": 16,
341
+ "url": "/main/product/goods",
342
+ "name": "商品信息",
343
+ "sort": 105,
344
+ "type": 2,
345
+ "children": [
346
+ {
347
+ "id": 34,
348
+ "url": null,
349
+ "name": "创建商品",
350
+ "sort": null,
351
+ "type": 3,
352
+ "createAt": "2021-01-03 13:41:01.000000",
353
+ "parentId": 16,
354
+ "updateAt": "2021-08-19 17:29:46.000000",
355
+ "permission": "system:goods:create"
356
+ },
357
+ {
358
+ "id": 35,
359
+ "url": null,
360
+ "name": "删除商品",
361
+ "sort": null,
362
+ "type": 3,
363
+ "createAt": "2021-01-03 13:41:01.000000",
364
+ "parentId": 16,
365
+ "updateAt": "2021-08-19 17:29:50.000000",
366
+ "permission": "system:goods:delete"
367
+ },
368
+ {
369
+ "id": 36,
370
+ "url": null,
371
+ "name": "修改商品",
372
+ "sort": null,
373
+ "type": 3,
374
+ "createAt": "2021-01-03 13:41:01.000000",
375
+ "parentId": 16,
376
+ "updateAt": "2021-08-19 17:29:53.000000",
377
+ "permission": "system:goods:update"
378
+ },
379
+ {
380
+ "id": 37,
381
+ "url": null,
382
+ "name": "查询商品",
383
+ "sort": null,
384
+ "type": 3,
385
+ "createAt": "2021-01-03 13:41:01.000000",
386
+ "parentId": 16,
387
+ "updateAt": "2021-08-19 17:30:02.000000",
388
+ "permission": "system:goods:query"
389
+ }
390
+ ],
391
+ "createAt": "2021-04-19 21:57:33.000000",
392
+ "parentId": 9,
393
+ "updateAt": "2021-08-19 15:52:14.000000"
394
+ }
395
+ ]
396
+ },
397
+ {
398
+ "id": 41,
399
+ "name": "随便聊聊",
400
+ "type": 1,
401
+ "url": "/main/story",
402
+ "icon": "el-icon-chat-line-round",
403
+ "sort": 4,
404
+ "createAt": "2021-04-19T14:11:02.000Z",
405
+ "updateAt": "2021-08-20T07:00:44.000Z",
406
+ "children": [
407
+ {
408
+ "id": 42,
409
+ "url": "/main/story/chat",
410
+ "name": "你的故事",
411
+ "sort": 108,
412
+ "type": 2,
413
+ "children": null,
414
+ "createAt": "2021-01-02 18:09:11.000000",
415
+ "parentId": 41,
416
+ "updateAt": "2021-08-19 17:29:31.000000"
417
+ },
418
+ {
419
+ "id": 43,
420
+ "url": "/main/story/list",
421
+ "name": "故事列表",
422
+ "sort": 109,
423
+ "type": 2,
424
+ "children": [
425
+ {
426
+ "id": 10,
427
+ "url": null,
428
+ "name": "删除故事",
429
+ "sort": null,
430
+ "type": 3,
431
+ "createAt": "2021-01-03 13:41:01.000000",
432
+ "parentId": 43,
433
+ "updateAt": "2021-04-19 21:59:44.000000",
434
+ "permission": "system:story:delete"
435
+ },
436
+ {
437
+ "id": 11,
438
+ "url": null,
439
+ "name": "修改故事",
440
+ "sort": null,
441
+ "type": 3,
442
+ "createAt": "2021-01-03 13:41:01.000000",
443
+ "parentId": 43,
444
+ "updateAt": "2021-04-19 21:59:47.000000",
445
+ "permission": "system:story:update"
446
+ },
447
+ {
448
+ "id": 12,
449
+ "url": null,
450
+ "name": "查询故事",
451
+ "sort": null,
452
+ "type": 3,
453
+ "createAt": "2021-01-03 13:41:01.000000",
454
+ "parentId": 43,
455
+ "updateAt": "2021-04-19 21:59:49.000000",
456
+ "permission": "system:story:query"
457
+ }
458
+ ],
459
+ "createAt": "2021-01-02 18:09:11.000000",
460
+ "parentId": 41,
461
+ "updateAt": "2021-08-19 15:52:29.000000"
462
+ }
463
+ ]
464
+ }
465
+ ]
466
+ }