16 lines
668 B
SQL
16 lines
668 B
SQL
-- 添加组织架构管理菜单
|
||
-- 注意:请根据实际情况修改 parent_id(92 是 OA 模块的 ID,请确认)
|
||
|
||
INSERT INTO yz_menus (name, path, parent_id, icon, `order`, status, component_path, menu_type, description)
|
||
VALUES ('组织架构', '/apps/oa/organization', 92, 'fa-solid fa-sitemap', 1, 1, '@/views/apps/oa/organization/index.vue', 1, '组织架构管理(部门与职位)')
|
||
ON DUPLICATE KEY UPDATE
|
||
name = VALUES(name),
|
||
path = VALUES(path),
|
||
icon = VALUES(icon),
|
||
`order` = VALUES(`order`),
|
||
status = VALUES(status),
|
||
component_path = VALUES(component_path),
|
||
menu_type = VALUES(menu_type),
|
||
description = VALUES(description);
|
||
|