import { betweenGreenAndBlue, blue, green, red, yellow } from "./btnStyle";
import pending from "@/assets/img/pending.png";
import check from "@/assets/img/check.png";
import error from "@/assets/img/error.png";

/**审核状态（待提交:WAITING_SUBMIT 待审核:WAITING_CHECK 备案成功:RECORD_SUCCESS 不通过:NOT_PASSED ） */
export enum eStatusOfCopyright {
  WAITING_SUBMIT = "WAITING_SUBMIT",
  WAITING_CHECK = "WAITING_CHECK",
  RECORD_SUCCESS = "RECORD_SUCCESS",
  NOT_PASSED = "NOT_PASSED",
  ALL = "ALL",
}

export enum eStatusOfFilerCertification {
  WAITING_CHECK = "WAITING_CHECK",
  NOT_PASSED = "NOT_PASSED",
  PASSED = "PASSED",
  ALL = "ALL",
}

export const WAITING_SUBMIT = {
  value: eStatusOfCopyright.WAITING_SUBMIT,
  label: "待提交",
  style: blue,
  icon: undefined,
};
export const WAITING_CHECK = {
  value: eStatusOfCopyright.WAITING_CHECK,
  label: "待审核",
  style: yellow,
  icon: pending,
};
export const RECORD_SUCCESS = {
  value: eStatusOfCopyright.RECORD_SUCCESS,
  label: "备案成功",
  style: green,
  icon: check,
};
export const NOT_PASSED = {
  value: eStatusOfCopyright.NOT_PASSED,
  label: "备案失败",
  style: red,
  icon: error,
};

export const WAITING_FOR_Cert = {
  value: eStatusOfFilerCertification.WAITING_CHECK,
  label: "待审核",
  style: yellow,
  icon: pending,
};
export const SUCCESS_FOR_Cert = {
  value: eStatusOfFilerCertification.PASSED,
  label: "实名成功",
  style: green,
  icon: check,
};
export const NOT_PASSED_FOR_Cert = {
  value: eStatusOfFilerCertification.NOT_PASSED,
  label: "未通过",
  style: red,
  icon: error,
};

export const allStatusOfCopyright = [
  WAITING_SUBMIT,
  WAITING_CHECK,
  RECORD_SUCCESS,
  NOT_PASSED,
];

export const allStatusOfCert = [
  WAITING_FOR_Cert,
  SUCCESS_FOR_Cert,
  NOT_PASSED_FOR_Cert,
];
