mock.ts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. import moment from 'moment/moment'
  2. import avator from '@/public/icon/32.png'
  3. export const options = [
  4. {
  5. label: '通义千问',
  6. options: [
  7. {
  8. label: '通义千问-Plus',
  9. value: 'qwen-plus'
  10. },
  11. {
  12. label: '通义千问-Max',
  13. value: 'qwen-max'
  14. }
  15. ]
  16. }
  17. // {
  18. // value: 'DeepSeek-R1',
  19. // label: 'DeepSeek-R1',
  20. // },
  21. // {
  22. // value: 'DeepSeek-V3',
  23. // label: 'DeepSeek-V3',
  24. // },
  25. // {
  26. // value: 'GPT-4o mini',
  27. // label: 'GPT-4o mini',
  28. // },
  29. // {
  30. // value: 'Claude 3.5',
  31. // label: 'Claude 3.5',
  32. // },
  33. // {
  34. // value: 'DeepSeek-R1 14B',
  35. // label: 'DeepSeek-R1 14B',
  36. // },
  37. ]
  38. export const mockData = [
  39. {
  40. action: 'click',
  41. class: 'ant-menu-item',
  42. tag: 'li',
  43. innerHTML: '<span class="ant-menu-item-icon"><span role="img" aria-label="book" class="anticon anticon-book"></span></span><span class="ant-menu-title-content"><span>项目建档</span></span>',
  44. id: '',
  45. text: '项目建档',
  46. next: '是'
  47. },
  48. {
  49. action: 'click',
  50. class: 'ant-menu-item',
  51. tag: 'button',
  52. innerHTML: '<span class="ant-menu-item-icon"><span role="img" aria-label="book" class="anticon anticon-book"></span></span><span class="ant-menu-title-content"><span>项目建档</span></span>',
  53. id: '',
  54. text: '新增',
  55. next: '否'
  56. },
  57. {
  58. action: 'show',
  59. class: 'ant-menu-item',
  60. tag: 'button',
  61. innerHTML: '<span class="ant-menu-item-icon"><span role="img" aria-label="book" class="anticon anticon-book"></span></span><span class="ant-menu-title-content"><span>项目建档</span></span>',
  62. id: '',
  63. text: '请上传数据',
  64. next: '是'
  65. }
  66. ]
  67. export const mockData2 = [
  68. {
  69. action: 'click',
  70. class: 'ant-menu-item',
  71. tag: 'li',
  72. innerHTML: '<span class="ant-menu-item-icon"><span role="img" aria-label="book" class="anticon anticon-book"></span></span><span class="ant-menu-title-content"><span>项目建档</span></span>',
  73. id: '',
  74. text: '我的简历',
  75. next: '是'
  76. },
  77. {
  78. action: 'click',
  79. class: 'ant-menu-item',
  80. tag: 'button',
  81. innerHTML: '<span class="ant-menu-item-icon"><span role="img" aria-label="book" class="anticon anticon-book"></span></span><span class="ant-menu-title-content"><span>项目建档</span></span>',
  82. id: '',
  83. text: '去录入',
  84. next: '否'
  85. },
  86. {
  87. action: 'show',
  88. class: 'ant-menu-item',
  89. tag: 'button',
  90. innerHTML: '<span class="ant-menu-item-icon"><span role="img" aria-label="book" class="anticon anticon-book"></span></span><span class="ant-menu-title-content"><span>项目建档</span></span>',
  91. id: '',
  92. text: '请上传数据',
  93. next: '是'
  94. }
  95. ]
  96. export const startMsg = {
  97. id: 1,
  98. username: '用户1',
  99. content: '你好!有什么我可以帮助你的吗?',
  100. rawContent: '你好!有什么我可以帮助你的吗?',
  101. timestamp: moment().format('YYYY-MM-DD HH:mm:ss'),
  102. isSelf: false,
  103. avatar: avator
  104. }