You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etcCardStatus.js 569B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //车辆类型
  2. export const etcCardStatus = [
  3. {
  4. id: 0,
  5. title: '申请'
  6. },
  7. {
  8. id: 1,
  9. title: '正常'
  10. },
  11. {
  12. id: 2,
  13. title: '有卡挂起'
  14. },
  15. {
  16. id: 3,
  17. title: '无卡挂起'
  18. },
  19. {
  20. id: 4,
  21. title: '有卡注销'
  22. },
  23. {
  24. id: 5,
  25. title: '无卡注销'
  26. },
  27. {
  28. id: 6,
  29. title: '卡挂失'
  30. },
  31. {
  32. id: 9,
  33. title: '预注销'
  34. },
  35. {
  36. id: 11,
  37. title: '停用'
  38. },
  39. {
  40. id: 99,
  41. title: '已删除'
  42. }
  43. ];
  44. //获取卡状态
  45. export const getEtcCardStatus = (id) => {
  46. let types = etcCardStatus.filter(item => item.id == id);
  47. return types[0]?.title
  48. }