123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //车辆类型
- export const etcCardStatus = [
- {
- id: 0,
- title: '申请'
- },
- {
- id: 1,
- title: '正常'
- },
- {
- id: 2,
- title: '有卡挂起'
- },
- {
- id: 3,
- title: '无卡挂起'
- },
- {
- id: 4,
- title: '有卡注销'
- },
- {
- id: 5,
- title: '无卡注销'
- },
- {
- id: 6,
- title: '卡挂失'
- },
- {
- id: 9,
- title: '预注销'
- },
- {
- id: 99,
- title: '已删除'
- }
- ];
- //获取车辆类型
- export const getEtcCardStatus = (id) => {
- let types = etcCardStatus.filter(item => item.id == id);
- return types[0].title
- }
|