Files
zyt/server/sql/1.9.20260519/add_assistant_performance_menu.sql
long 1cb00e9fbe add assistant_performance
新增医助个人业绩
执行:add_assistant_performance_menu.sql
2026-05-19 14:41:14 +08:00

13 lines
750 B
SQL

-- 医助个人业绩菜单
-- 页面路径: /stats/assistant_performance
-- 前端组件: /stats/assistant-performance/index
-- 查询权限: stats.assistantPerformance/overview
-- 获取「数据统计」目录的 id(假设已经存在)
SET @stats_root_id = (SELECT id FROM zyt_system_menu WHERE name = '数据统计' AND type = 'M' LIMIT 1);
INSERT INTO `zyt_system_menu`
(`pid`, `type`, `name`, `icon`, `sort`, `perms`, `paths`, `component`, `selected`, `params`, `is_show`, `is_disable`, `create_time`, `update_time`)
VALUES
(@stats_root_id, 'C', '个人业绩', '', 10, 'stats.assistantPerformance/overview', '/stats/assistant_performance', '/stats/assistant-performance/index', '', '', 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP());