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 536B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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: 99,
  37. title: '已删除'
  38. }
  39. ];
  40. //获取车辆类型
  41. export const getEtcCardStatus = (id) => {
  42. let types = etcCardStatus.filter(item => item.id == id);
  43. return types[0].title
  44. }