feat: 任务列表

This commit is contained in:
2025-12-08 17:39:27 +08:00
parent 31b68f88a6
commit 378b881c76
7 changed files with 167 additions and 6 deletions

View File

@@ -0,0 +1,61 @@
import { RiErrorWarningFill } from '@remixicon/vue'
// 菜单列表申明
export interface MenuItem {
id: number
icon: string
name: string
desIcon: any
color: string
des: string,
statusText: string,
button: Boolean,
type: number
}
export const task: MenuItem[] = [
{
id: 1,
name: '登录过期',
icon: '@assets/images/task/xc.png',
desIcon: RiErrorWarningFill,
color: '#FB3748',
des: '登录已过期',
statusText: '过期',
button: true,
type: 1,
},
{
id: 2,
name: '登录失败',
icon: '@assets/images/task/xc.png',
desIcon: RiErrorWarningFill,
color: '#FB3748',
des: '请重新登录',
statusText: '失败',
button: true,
type: 1,
},
{
id: 3,
name: '评价回复异常',
icon: '@assets/images/task/xc.png',
desIcon: RiErrorWarningFill,
color: '#FB3748',
des: 'xxxxx接口报错',
statusText: '失败',
button: false,
type: 2,
},
{
id: 4,
name: '库存同步异常',
icon: '@assets/images/task/xc.png',
desIcon: RiErrorWarningFill,
color: '#FB3748',
des: 'xxxxx接口报错',
statusText: '同步失败',
button: false,
type: 2,
},
]