index.js 5.2 KB

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