You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.7 KiB

5 years ago
2 years ago
5 years ago
2 years ago
2 years ago
2 years ago
5 years ago
  1. /* Layout */
  2. import Layout from '../views/layout/Layout'
  3. const _import = require('./_import_' + process.env.NODE_ENV)
  4. export default {
  5. routes:[
  6. {
  7. path: '/mdp/form',
  8. component: Layout,
  9. name: '智能表单',
  10. iconCls: 'fa el-icon-menu',
  11. meta: {
  12. title: 'IntelligentForm',
  13. icon: 'capacity-form'
  14. },
  15. //leaf: true,//只有一个节点
  16. children: [
  17. {
  18. iconCls: 'fa el-icon-star-off', path: 'index', component: _import("mdp/form/formDef/Index"), name: 'FormDefMng' ,meta:{
  19. title: 'FormDefIndex', } },
  20. { path: 'design/index/:expandId', component: _import("mdp/form/formDef/Index"), name: 'FormDefIndex',meta:{title:'FormDefIndex'} ,hidden:true },
  21. { path: 'design/:expandId', component: _import("mdp/form/formDef/DesignRoute"), name: 'FormDesignRoute',meta:{title:'FormDesign'} ,hidden:true },
  22. { iconCls: 'fa el-icon-circle-plus', path: 'create', component: _import("mdp/form/formDef/DesignRoute"), name: 'FormDesign',meta:{title:'FormDesign'} },
  23. { path: 'data/edit/:formId/:dataId', component: _import("mdp/form/formData/FormRoute"), name: '数据填报',meta:{title:'FormDataAddRoute'} ,hidden:true },
  24. { path: 'data/add/:formId', component: _import("mdp/form/formData/FormRoute"), name: '数据填报',meta:{title:'FormDataAddRoute'} ,hidden:true },
  25. { path: 'data/index/:formId', component: _import("mdp/form/formData/Index"), name: '智能表单数据管理',meta:{title:'FormDataMng' } ,hidden:true },
  26. { path: 'data/mng', component: _import("mdp/form/formData/Index"), name: 'FormDataMng', meta:{title:'FormDataMng'},hidden:true }
  27. ]
  28. }
  29. ]
  30. }