const stateList = [
  {
    title: "草稿",
    value: "DRAFT",
  },
  {
    title: "审核中",
    value: "AUDITING",
  },
  {
    title: "已完结",
    value: "COMPLETED",
  },
  {
    title: "已关闭",
    value: "CLOSED",
  },
];
const stateMap = {
  DRAFT: {
    label: "草稿",
    color: "#7C2D12",
    bgColor: "#FED7AA",
    borderColor: "#EA580C",
  },
  AUDITING: {
    label: "审核中",
    color: "#1E40AF",
    bgColor: "#DBEAFE",
    borderColor: "#3B82F6",
  },
  COMPLETED: {
    label: "已完结",
    color: "#374151",
    bgColor: "#E5E7EB",
    borderColor: "#6B7280",
  },
  CLOSED: {
    label: "已关闭",
    color: "#6B7280",
    bgColor: "#F3F4F6",
    borderColor: "#6B7280",
  },
};

const auditStateList = [
  {
    title: "待报价审核",
    value: "PENDING_QUOTE_APPROVAL",
  },
  {
    title: "待老板审批",
    value: "PENDING_BOSS_APPROVAL",
  },
  {
    title: "老板审批通过",
    value: "BOSS_APPROVED",
  },
  {
    title: "报价审核驳回",
    value: "QUOTE_REJECTED",
  },
  {
    title: "老板审批驳回",
    value: "BOSS_REJECTED",
  },
];
const auditStateMap = {
  NONE: {
    label: "待报价审核",
    color: "#7C2D12",
    bgColor: "#FED7AA",
    borderColor: "#EA580C",
  },
  PENDING_QUOTE_APPROVAL: {
    label: "待报价审核",
    color: "#7C2D12",
    bgColor: "#FED7AA",
    borderColor: "#EA580C",
  },
  PENDING_BOSS_APPROVAL: {
    label: "待老板审批",
    color: "#1E40AF",
    bgColor: "#DBEAFE",
    borderColor: "#3B82F6",
  },
  BOSS_APPROVED: {
    label: "老板审批通过",
    color: "#374151",
    bgColor: "#E5E7EB",
    borderColor: "#6B7280",
  },
  QUOTE_REJECTED: {
    label: "报价审核驳回",
    color: "#6B7280",
    bgColor: "#F3F4F6",
    borderColor: "#6B7280",
  },
  BOSS_REJECTED: {
    label: "老板审批驳回",
    color: "#6B7280",
    bgColor: "#F3F4F6",
    borderColor: "#6B7280",
  },
};

export default {
  stateList,
  stateMap,
  auditStateList,
  auditStateMap,
};
