feat: 新增绩效系统核心模块并修复菜单路径问题
本次提交完成多项核心功能开发与优化: 1. 修复菜单路径计算逻辑,目录节点路径拼接祖先路径 2. 为绩效相关实体类添加日期格式化注解,统一参数绑定格式 3. 新增10+个绩效系统API接口,覆盖部门、薪资、考核等模块 4. 新增绩效系统首页、部门管理、薪资明细等多个页面组件
This commit is contained in:
@@ -633,8 +633,8 @@ export default {
|
||||
fullPath = '/' + parent + ownPath;
|
||||
}
|
||||
}
|
||||
// 目录(M)的路径作为子节点的父路径
|
||||
const currentParentPath = node.menuType === 'M' ? ownPath : parentPath;
|
||||
// 目录(M)的路径拼接祖先路径后作为子节点的父路径
|
||||
const currentParentPath = node.menuType === 'M' ? (parentPath ? parentPath + '/' + ownPath : ownPath) : parentPath;
|
||||
|
||||
result.push({
|
||||
menuName: prefix + node.menuName,
|
||||
|
||||
Reference in New Issue
Block a user