97c57ce0546515b59abfc6451f88a989cea44898.svn-base 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { installCell, JVXETypes } from '@/components/jeecg/JVxeTable'
  2. import JVxePopupCell from './JVxePopupCell'
  3. import { DictSearchInputCell, DictSearchSpanCell } from './JVxeSelectDictSearchCell'
  4. import JVxeFileCell from './JVxeFileCell'
  5. import JVxeImageCell from './JVxeImageCell'
  6. import JVxeRadioCell from './JVxeRadioCell'
  7. import JVxeSelectCell from '@comp/jeecg/JVxeTable/components/cells/JVxeSelectCell'
  8. import JVxeTextareaCell from '@comp/jeecg/JVxeTable/components/cells/JVxeTextareaCell'
  9. // 注册online组件
  10. JVXETypes.input_pop = 'input_pop'
  11. JVXETypes.list_multi = 'list_multi'
  12. JVXETypes.sel_search = 'sel_search'
  13. installCell(JVXETypes.input_pop, JVxeTextareaCell)
  14. installCell(JVXETypes.list_multi, JVxeSelectCell)
  15. installCell(JVXETypes.sel_search, JVxeSelectCell)
  16. // 注册【popup】组件(普通封装方式)
  17. JVXETypes.popup = 'popup'
  18. installCell(JVXETypes.popup, JVxePopupCell)
  19. // 注册【字典搜索下拉】组件(高级封装方式)
  20. JVXETypes.selectDictSearch = 'select-dict-search'
  21. installCell(JVXETypes.selectDictSearch, DictSearchInputCell, DictSearchSpanCell)
  22. // 注册【文件上传】组件
  23. JVXETypes.file = 'file'
  24. installCell(JVXETypes.file, JVxeFileCell)
  25. // 注册【图片上传】组件
  26. JVXETypes.image = 'image'
  27. installCell(JVXETypes.image, JVxeImageCell)
  28. // 注册【单选框】组件
  29. JVXETypes.radio = 'radio'
  30. installCell(JVXETypes.radio, JVxeRadioCell)