|
@@ -2,46 +2,109 @@ import moment from "moment/moment";
|
|
|
import avator from "@/public/icon/32.png";
|
|
|
|
|
|
export const options = [
|
|
|
- {
|
|
|
- value: 'DeepSeek-R1',
|
|
|
- label: 'DeepSeek-R1',
|
|
|
- },
|
|
|
- {
|
|
|
- value: 'DeepSeek-V3',
|
|
|
- label: 'DeepSeek-V3',
|
|
|
- },
|
|
|
- {
|
|
|
- value: 'GPT-4o mini',
|
|
|
- label: 'GPT-4o mini',
|
|
|
- },
|
|
|
- {
|
|
|
- value: 'Claude 3.5',
|
|
|
- label: 'Claude 3.5',
|
|
|
- },
|
|
|
- {
|
|
|
- value: 'DeepSeek-R1 14B',
|
|
|
- label: 'DeepSeek-R1 14B',
|
|
|
- },
|
|
|
+ {
|
|
|
+ label: "通义千问",
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: "通义千问-Plus",
|
|
|
+ value: "qwen-plus"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "通义千问-Max",
|
|
|
+ value: "qwen-max"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ // {
|
|
|
+ // value: 'DeepSeek-R1',
|
|
|
+ // label: 'DeepSeek-R1',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // value: 'DeepSeek-V3',
|
|
|
+ // label: 'DeepSeek-V3',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // value: 'GPT-4o mini',
|
|
|
+ // label: 'GPT-4o mini',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // value: 'Claude 3.5',
|
|
|
+ // label: 'Claude 3.5',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // value: 'DeepSeek-R1 14B',
|
|
|
+ // label: 'DeepSeek-R1 14B',
|
|
|
+ // },
|
|
|
];
|
|
|
|
|
|
export const mockData = [
|
|
|
- { action: 'click', class: "ant-menu-item", tag: "li", 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>", id: "", text: "项目建档", next: "是" },
|
|
|
- { action: 'click', class: "ant-menu-item", tag: "button", 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>", id: "", text: "新增", next: "否" },
|
|
|
- { action: 'show', class: "ant-menu-item", tag: "button", 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>", id: "", text: "请上传数据", next: "是" },
|
|
|
-]
|
|
|
+ {
|
|
|
+ action: "click",
|
|
|
+ class: "ant-menu-item",
|
|
|
+ tag: "li",
|
|
|
+ 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>",
|
|
|
+ id: "",
|
|
|
+ text: "项目建档",
|
|
|
+ next: "是"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: "click",
|
|
|
+ class: "ant-menu-item",
|
|
|
+ tag: "button",
|
|
|
+ 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>",
|
|
|
+ id: "",
|
|
|
+ text: "新增",
|
|
|
+ next: "否"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: "show",
|
|
|
+ class: "ant-menu-item",
|
|
|
+ tag: "button",
|
|
|
+ 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>",
|
|
|
+ id: "",
|
|
|
+ text: "请上传数据",
|
|
|
+ next: "是"
|
|
|
+ }
|
|
|
+];
|
|
|
|
|
|
export const mockData2 = [
|
|
|
- { action: 'click', class: "ant-menu-item", tag: "li", 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>", id: "", text: "我的简历", next: "是" },
|
|
|
- { action: 'click', class: "ant-menu-item", tag: "button", 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>", id: "", text: "去录入", next: "否" },
|
|
|
- { action: 'show', class: "ant-menu-item", tag: "button", 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>", id: "", text: "请上传数据", next: "是" },
|
|
|
-]
|
|
|
+ {
|
|
|
+ action: "click",
|
|
|
+ class: "ant-menu-item",
|
|
|
+ tag: "li",
|
|
|
+ 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>",
|
|
|
+ id: "",
|
|
|
+ text: "我的简历",
|
|
|
+ next: "是"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: "click",
|
|
|
+ class: "ant-menu-item",
|
|
|
+ tag: "button",
|
|
|
+ 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>",
|
|
|
+ id: "",
|
|
|
+ text: "去录入",
|
|
|
+ next: "否"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ action: "show",
|
|
|
+ class: "ant-menu-item",
|
|
|
+ tag: "button",
|
|
|
+ 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>",
|
|
|
+ id: "",
|
|
|
+ text: "请上传数据",
|
|
|
+ next: "是"
|
|
|
+ }
|
|
|
+];
|
|
|
|
|
|
export const startMsg = {
|
|
|
- id: 1,
|
|
|
- username: '用户1',
|
|
|
- content: '你好!有什么我可以帮助你的吗?',
|
|
|
- rawContent: '你好!有什么我可以帮助你的吗?',
|
|
|
- timestamp: moment().format('YYYY-MM-DD HH:mm:ss'),
|
|
|
- isSelf: false,
|
|
|
- avatar: avator
|
|
|
-}
|
|
|
+ id: 1,
|
|
|
+ username: "用户1",
|
|
|
+ content: "你好!有什么我可以帮助你的吗?",
|
|
|
+ rawContent: "你好!有什么我可以帮助你的吗?",
|
|
|
+ timestamp: moment().format("YYYY-MM-DD HH:mm:ss"),
|
|
|
+ isSelf: false,
|
|
|
+ avatar: avator
|
|
|
+};
|