data.ts 772 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import type { TableOptions } from '@/components/mTable/types'
  2. // 年份 期数 图纸名称 报纸名称 系列名称 彩种 发布用户 评论内容
  3. //Table需要的数据
  4. export const options: TableOptions[] = [
  5. {
  6. prop: 'username',
  7. label: '账号',
  8. slot: 'username',
  9. columAttr: {
  10. width: 180
  11. }
  12. },
  13. {
  14. prop: 'roleIds',
  15. label: '角色身份',
  16. slot: 'roleIds',
  17. columAttr: {
  18. minWidth: 240
  19. }
  20. },
  21. {
  22. prop: 'phone',
  23. label: '手机号',
  24. slot: 'phone',
  25. columAttr: {
  26. width: 155
  27. }
  28. },
  29. {
  30. prop: 'state',
  31. label: '状态',
  32. slot: 'state',
  33. columAttr: {
  34. width: 80
  35. }
  36. },
  37. {
  38. prop: 'id',
  39. label: '操作',
  40. slot: 'id',
  41. columAttr: {
  42. width: 160
  43. }
  44. }
  45. ]