feat: 知识库开发
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
import { RiHomeLine, RiFileListLine, RiHotelLine, RiChatQuoteLine, RiBarChartBoxAiLine, RiMoreLine, RiSettingsLine } from '@remixicon/vue'
|
||||
/*
|
||||
* @Author: kongbeiwu lishaohua-520@qq.com
|
||||
* @Date: 2025-12-21 23:02:06
|
||||
* @LastEditors: kongbeiwu lishaohua-520@qq.com
|
||||
* @LastEditTime: 2025-12-22 00:42:49
|
||||
* @FilePath: /project/zn-ai/src/renderer/constant/menus.ts
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
import { RiHomeLine, RiFileEditLine, RiFileListLine, RiHotelLine, RiChatQuoteLine, RiBarChartBoxAiLine, RiMoreLine, RiSettingsLine } from '@remixicon/vue'
|
||||
|
||||
// 菜单列表申明
|
||||
export interface MenuItem {
|
||||
@@ -18,6 +26,14 @@ export const menus: MenuItem[] = [
|
||||
color: '#525866',
|
||||
activeColor: '#2B7FFF',
|
||||
url: '/home',
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
name: '知识库',
|
||||
icon: RiFileEditLine,
|
||||
color: '#525866',
|
||||
activeColor: '#2B7FFF',
|
||||
url: '/knowledge',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: kongbeiwu lishaohua-520@qq.com
|
||||
* @Date: 2025-12-21 23:02:06
|
||||
* @LastEditors: kongbeiwu lishaohua-520@qq.com
|
||||
* @LastEditTime: 2025-12-22 00:00:19
|
||||
* @LastEditTime: 2025-12-22 00:30:49
|
||||
* @FilePath: /project/zn-ai/src/renderer/constant/task.ts
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
@@ -17,6 +17,7 @@ export interface MenuItem {
|
||||
color: string
|
||||
des: string,
|
||||
statusText: string,
|
||||
statusColor: string,
|
||||
button: Boolean,
|
||||
type: number
|
||||
}
|
||||
@@ -27,42 +28,46 @@ export const task: MenuItem[] = [
|
||||
name: '每日销售数据',
|
||||
icon: '@assets/images/task/xc.png',
|
||||
desIcon: RiErrorWarningFill,
|
||||
color: '#FB3748',
|
||||
color: '#FA7319',
|
||||
des: '任务执行中,请勿关闭浏览器',
|
||||
statusText: '过期',
|
||||
statusText: '任务执行中',
|
||||
statusColor: 'warning',
|
||||
button: true,
|
||||
type: 1,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: '登录失败',
|
||||
name: '每日销售数据',
|
||||
icon: '@assets/images/task/xc.png',
|
||||
desIcon: RiErrorWarningFill,
|
||||
color: '#FB3748',
|
||||
des: '请重新登录',
|
||||
statusText: '失败',
|
||||
des: '登录已过期',
|
||||
statusText: '任务执行失败',
|
||||
statusColor: 'error',
|
||||
button: true,
|
||||
type: 1,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: '评价回复异常',
|
||||
name: '每日销售数据',
|
||||
icon: '@assets/images/task/xc.png',
|
||||
desIcon: RiErrorWarningFill,
|
||||
color: '#FB3748',
|
||||
des: 'xxxxx接口报错',
|
||||
statusText: '失败',
|
||||
color: '#1FC16B',
|
||||
des: '任务执行成功',
|
||||
statusText: '任务执行成功',
|
||||
statusColor: 'success',
|
||||
button: false,
|
||||
type: 2,
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: '库存同步异常',
|
||||
name: '每日销售数据',
|
||||
icon: '@assets/images/task/xc.png',
|
||||
desIcon: RiErrorWarningFill,
|
||||
color: '#FB3748',
|
||||
des: 'xxxxx接口报错',
|
||||
statusText: '同步失败',
|
||||
des: '登录已过期',
|
||||
statusText: '任务执行失败',
|
||||
statusColor: 'error',
|
||||
button: false,
|
||||
type: 2,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user