import { Badge } from "antd"
import React from "react"

/** 客服号类型 */
export const POOLTYPE = {
    // OFFLINE: '默认',
    ONLINE: '客服组内',
    WAITING: '等待客服池',
    WARRING: '告警客服池',
    BLOCKLIST: '黑名单客服池'
}


export const POOLTYPEEle = {
    // OFFLINE: '默认',
    ONLINE: <Badge status="success" size="small" text={<span style={{ fontSize: 12 }}>客服组内</span>} />,
    WAITING: <Badge status="processing" size="small" text={<span style={{ fontSize: 12 }}>等待客服池</span>} />,
    WARRING: <Badge status="warning" size="small" text={<span style={{ fontSize: 12 }}>告警客服池</span>} />,
    BLOCKLIST: <Badge status="error" size="small" text={<span style={{ fontSize: 12 }}>黑名单客服池</span>} />
}