1
This commit is contained in:
37
_sql/add_account_list_menu.sql
Normal file
37
_sql/add_account_list_menu.sql
Normal file
@@ -0,0 +1,37 @@
|
||||
-- 在用户管理菜单下添加"账号列表"菜单项
|
||||
-- 参考其他菜单项的配置格式
|
||||
|
||||
INSERT INTO sys_menu (
|
||||
name,
|
||||
parent_id,
|
||||
model_id,
|
||||
form_id,
|
||||
icon,
|
||||
path,
|
||||
component,
|
||||
api_path,
|
||||
is_show_menu,
|
||||
is_show,
|
||||
type,
|
||||
sort,
|
||||
create_time,
|
||||
last_modify_time,
|
||||
is_delete
|
||||
) VALUES (
|
||||
'账号列表', -- 菜单名称
|
||||
120, -- parent_id: 用户管理菜单的ID
|
||||
0, -- model_id
|
||||
0, -- form_id
|
||||
'md-list', -- icon: 列表图标
|
||||
'pla_account', -- path: 路由路径
|
||||
'account/pla_account.vue', -- component: 组件路径(已在 component-map.js 中定义)
|
||||
'account/pla_account_server.js', -- api_path: API 服务文件路径
|
||||
1, -- is_show_menu: 1=显示在菜单栏
|
||||
1, -- is_show: 1=启用
|
||||
'页面', -- type: 页面类型
|
||||
1, -- sort: 排序(排在账号详情前面)
|
||||
NOW(), -- create_time: 创建时间
|
||||
NOW(), -- last_modify_time: 最后修改时间
|
||||
0 -- is_delete: 0=未删除
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user