yunzer_go/server/database/add_organization_menu.sql

16 lines
668 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 添加组织架构管理菜单
-- 注意:请根据实际情况修改 parent_id92 是 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);