import { betweenGreenAndBlue, blue, green, red, yellow } from "./btnStyle";

export enum eStatus {
  /**
   * 平台核验
   */
  platformVerification = "platformVerification",
  /**
   * 已撤回
   */
  withdrawn = "withdrawn",
  /**
   * 平台驳回
   */
  platformDismissed = "platformDismissed",
  /**
   * 提交审核
   */
  submitReview = "submitReview",
  /**
   * 平台未提交
   */
  platformNotSubmitted = "platformNotSubmitted",
  /**
   * 待审核
   */
  pendingReview = "pendingReview",
  /**
   * 同意
   */
  agree = "agree",
  /**
   * 已驳回
   */
  rejected = "rejected",
  /**
   * 已提交
   */
  submitted = "submitted",
  /**
   * 待终审
   */
  pendingFinalReview = "pendingFinalReview",
  /**
   * 审核通过
   */
  approved = "approved",
  all = "all",
}

export const platformVerification = {
  value: eStatus.platformVerification,
  label: "平台核验",
  style: blue,
};

export const withdrawn = {
  value: eStatus.withdrawn,
  label: "已撤回",
  style: green,
};

export const platformDismissed = {
  value: eStatus.platformDismissed,
  label: "平台驳回",
  style: red,
};

export const submitReview = {
  value: eStatus.submitReview,
  label: "提交审核",
  style: yellow,
};

export const platformNotSubmitted = {
  value: eStatus.platformNotSubmitted,
  label: "平台未提交",
  style: blue,
};

export const pendingReview = {
  value: eStatus.pendingReview,
  label: "待审核",
  style: yellow,
};

export const agree = {
  value: eStatus.agree,
  label: "同意",
  style: green,
};

export const rejected = {
  value: eStatus.rejected,
  label: "已驳回",
  style: red,
};

export const submitted = {
  value: eStatus.submitted,
  label: "已提交",
  style: betweenGreenAndBlue,
};

export const pendingFinalReview = {
  value: eStatus.pendingFinalReview,
  label: "待终审",
  style: green,
};

export const approved = {
  value: eStatus.approved,
  label: "审核通过",
  style: blue,
};

export const allStatus = [
  platformVerification,
  withdrawn,
  platformDismissed,
  submitReview,
  platformNotSubmitted,
  pendingReview,
  agree,
  rejected,
  submitted,
  pendingFinalReview,
  approved,
];
