index.js 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. import Desktop from '../Desktop.vue'
  2. const CheckBoxExample = () => import(/* webpackChunkName: "check-box-example" */ '../checkbox/src/CheckBoxExample.vue')
  3. const DateExample = () => import(/* webpackChunkName: "date-example" */ '../date/src/DateExample.vue')
  4. const DateTimeExample = () => import(/* webpackChunkName: "date-time-example" */ '../datetime/src/DateTimeExample.vue')
  5. const DateTimeV2Example = () => import(/* webpackChunkName: "date-time-v2-example" */ '../datetime-v2/src/DateTimeV2Example.vue')
  6. const ModalExample = () => import(/* webpackChunkName: "modal-example" */ '../modal/src/ModalExample.vue')
  7. const NavbarExample = () => import(/* webpackChunkName: "nav-bar-example" */ '../navbar/src/NavbarExample.vue')
  8. const ImagePreviewExample = () => import(/* webpackChunkName: "image-preview-example" */ '../image-preview/src/ImagePreviewExample.vue')
  9. const PageSizeSelectExample = () => import(/* webpackChunkName: "page-size-select-example" */ '../page-size-select/src/PageSizeSelectExample.vue')
  10. const PrintExample = () => import(/* webpackChunkName: "print-example" */ '../print/src/PrintExample.vue')
  11. const ScannerExample = () => import(/* webpackChunkName: "scanner-example" */ '../scanner/src/ScannerExample.vue')
  12. const SwitchesExample = () => import(/* webpackChunkName: "switches-example" */ '../switches/src/SwitchesExample.vue')
  13. const TimeExample = () => import(/* webpackChunkName: "time-example" */ '../time/src/TimeExample.vue')
  14. const TreeExample = () => import(/* webpackChunkName: "tree-example" */ '../tree/src/TreeExample.vue')
  15. const UploadWidgetExample = () => import(/* webpackChunkName: "tree-example" */ '../upload-widget/src/UploadWidgetExample.vue')
  16. const VueBootstrapPaginationExample = () => import(/* webpackChunkName: "tree-example" */ '../vue-bootstrap-pagination/src/VueBootstrapPaginationExample.vue')
  17. const VueMonthlyPickerExample = () => import(/* webpackChunkName: "vue-monthly-picker-example" */ '../vue-monthly-picker/src/VueMonthlyPickerExample.vue')
  18. const LoadingExample = () => import(/* webpackChunkName: "loading-example" */ '../loading/src/LoadingExample.vue')
  19. const ProcessReport = () => import(/* webpackChunkName: "process-report" */ '../../packages/process/src/ProcessReport.vue')
  20. const InfoWindow = () => import(/* webpackChunkName: "info-window" */ '../../packages/info/src/InfoWindow.vue')
  21. const DocGeneratorSelected = () => import(/* webpackChunkName: "doc-generator-selected" */ '../../packages/info/src/DocGeneratorSelected.vue')
  22. export default {
  23. routes: [
  24. {
  25. path: '/desktop',
  26. component: Desktop,
  27. children: [
  28. /** 复选框控件 */
  29. { path: 'check-box-example', component: CheckBoxExample },
  30. /** 日期控件 */
  31. { path: 'date-example', component: DateExample },
  32. /** 日期时间控件 */
  33. { path: 'date-time-example', component: DateTimeExample },
  34. /** 日期时间控件V2 */
  35. { path: 'date-time-v2-example', component: DateTimeV2Example },
  36. /** 模态框控件 */
  37. { path: 'modal-example', component: ModalExample },
  38. /** 图片预览控件 */
  39. { path: 'image-preview-example', component: ImagePreviewExample },
  40. /** 加载中 */
  41. { path: 'loading-example', component: LoadingExample },
  42. /** 页面导航 */
  43. { path: 'navbar-example', component: NavbarExample },
  44. /** 分页控件 */
  45. { path: 'page-size-select-example', component: PageSizeSelectExample },
  46. /** 分页控件 */
  47. { path: 'page-size-select-example', component: PageSizeSelectExample },
  48. /** 打印控件 */
  49. { path: 'print-example', component: PrintExample },
  50. /** 扫描仪控件 */
  51. { path: 'scanner-example', component: ScannerExample },
  52. /** 开关控件 */
  53. { path: 'switches-example', component: SwitchesExample },
  54. /** 时间控件 */
  55. { path: 'time-example', component: TimeExample },
  56. /** 树控件 */
  57. { path: 'tree-example', component: TreeExample },
  58. /** 上传控件 */
  59. { path: 'update-widget-example', component: UploadWidgetExample },
  60. /** 分页控件 */
  61. { path: 'pagination-example', component: VueBootstrapPaginationExample },
  62. /** 月份控件 */
  63. { path: 'vue-monthly-picker-example', component: VueMonthlyPickerExample },
  64. /** 流程报表 */
  65. { path: 'process-report/:no', component: ProcessReport },
  66. /** 查询窗口 */
  67. { path: 'info/:infoWindowNo', component: InfoWindow },
  68. /** 查询窗口 */
  69. { path: 'doc-generator-selected', component: DocGeneratorSelected },
  70. ],
  71. },
  72. // {
  73. // path: "/:pathMatch(.*)*",
  74. // name: "notFound",
  75. // component: Test, // 引入 组件
  76. // },
  77. ]
  78. }