lib/tasks/loading_data.rake in fastui-0.1.6 vs lib/tasks/loading_data.rake in fastui-0.1.7
- old
+ new
@@ -19,9 +19,10 @@
Fastui::MMenu.create({name: 'sys_menu', title: '系统菜单'}.merge(attr)) do |sm|
sm.m_menu_items.build({name: 'app_option', title: '应用设置', m_menu: sm}.merge(attr)) do |so|
so.children.build({name: 'app_menu', title: '菜单', window:'m_menu', m_menu: sm}.merge(attr))
so.children.build({name: 'app_org', title: '组织', window:'m_org', m_menu: sm}.merge(attr))
so.children.build({name: 'app_person', title: '人员', window:'m_person', m_menu: sm}.merge(attr))
+ so.children.build({name: 'app_role', title: '角色', window:'m_role', m_menu: sm}.merge(attr))
so.children.build({name: 'app_data', title: '数据字典', window: 'm_list', m_menu: sm}.merge(attr))
end
end
end
end
\ No newline at end of file