feat: 任务列表
This commit is contained in:
61
src/renderer/constant/task.ts
Normal file
61
src/renderer/constant/task.ts
Normal 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,
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user