Files
erp-next/sql/fix_menu_timeline.sql
王文昊 7b71822a32 feat: 完成履约管理模块全量功能迭代
本次迭代包含以下核心功能:
1. 新增履约时效总览可视化页面,支持多维度数据统计
2. 实现物料/客户/供应商的Excel批量导入导出功能
3. 新增订单批量结单功能,优化结单流程校验
4. 完善日志配置,新增文件日志落地
5. 修复分类查询逻辑,优化多租户数据隔离
6. 新增甲方履约结单管理页面与权限控制
7. 重构部分Mapper与Service接口,增强代码健壮性
2026-06-18 11:10:36 +08:00

18 lines
1.2 KiB
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.

-- ═══════════════════════════════════════════════════════════
-- 履约时效总览 菜单(同时覆盖供应商履约和甲方履约的甘特图)
-- 挂在订单履约(2120)下,与供应商履约、甲方履约同级
-- ═══════════════════════════════════════════════════════════
SET NAMES utf8mb4;
-- 1. 删除旧的子菜单2122挂在2121下2123挂在2040下
DELETE FROM sys_role_menu WHERE menu_id IN (2122, 2123);
DELETE FROM sys_menu WHERE menu_id IN (2122, 2123);
-- 2. 新增统一菜单,挂在订单履约(2120)下排序3
INSERT IGNORE INTO sys_menu(menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time)
VALUES(2124, '履约时效总览', 2120, 3, 'timeline', 'bid/order/timeline', 1, 0, 'C', '0', '0', 'bid:order:timeline', 'chart', 'admin', NOW());
-- 3. 给 admin 角色授权
INSERT IGNORE INTO sys_role_menu(role_id, menu_id) VALUES(1, 2124);