Kaynağa Gözat

修改datas获取

yxb
不甘寂寞 2 yıl önce
ebeveyn
işleme
3b5f499c92

+ 8
- 3
datas/credentialType.js Dosyayı Görüntüle

export const credentialType = [
{
export const credentialType = [{
id: 101, id: 101,
type: '身份证(含临时身份证)' type: '身份证(含临时身份证)'
}, },
id: 219, id: 219,
type: '公司营业税开业/更改M1副本' type: '公司营业税开业/更改M1副本'
} }
]
];

//获取证件类型名称
export const getCredentialType = (id: number) => {
let types = credentialType.filter(item => item.id == id);
return types[0].type
}

+ 1
- 2
datas/enum.ts Dosyayı Görüntüle

'储值卡转记账卡' = 'EXCHANGE_CARD_TYPE', '储值卡转记账卡' = 'EXCHANGE_CARD_TYPE',
'更换卡' = 'REPLACEMENT_CARD', '更换卡' = 'REPLACEMENT_CARD',
'更换签' = 'REPLACEMENT_SIGNATURE', '更换签' = 'REPLACEMENT_SIGNATURE',
'增补OBU' = 'SUPPLEMENT_OBU',
'增补OBU' = 'SUPPLEMENT_OBU',
'同时换卡换签' = '暂无同时换卡换签枚举', '同时换卡换签' = '暂无同时换卡换签枚举',
'ETC注销' = '暂无ETC注销枚举', 'ETC注销' = '暂无ETC注销枚举',
'车辆信息变更' = '暂无车辆信息变更枚举', '车辆信息变更' = '暂无车辆信息变更枚举',

+ 7
- 2
datas/vehiclePlateColor.js Dosyayı Görüntüle

export const vehiclePlateColor = [
{
export const vehiclePlateColor = [{
id: 0, id: 0,
color: '蓝色' color: '蓝色'
}, },
color: '红色' color: '红色'
} }
] ]

//获取车牌颜色
export const getVehiclePlateColor = (id: number) => {
let colors = vehiclePlateColor.filter(item => item.id == id);
return colors[0].color
}

+ 8
- 1
datas/vehicleType.js Dosyayı Görüntüle

//车辆类型
export const vehicleType = [ export const vehicleType = [
{ {
id: 1, id: 1,
id: 16, id: 16,
title: '六型货车' title: '六型货车'
} }
]
];
//获取车辆类型
export const getVehicleType = (id: number) => {
let types = vehicleType.filter(item => item.id == id);
return types[0].title
}


+ 1
- 0
utils/network/api.js Dosyayı Görüntüle

export const installApply = "79"; //BDS-安装申请 export const installApply = "79"; //BDS-安装申请
export const obuActivation = "76"; //VFJ-OBU在线激活 export const obuActivation = "76"; //VFJ-OBU在线激活
export const obuInstall = "80"; //BDS-安装确认 export const obuInstall = "80"; //BDS-安装确认
export const obuDecrypt = "90"; //VFJ-OBU系统信息在线解密


/* 设备重复激活 二次激活*/ /* 设备重复激活 二次激活*/
// export const searchObuInfo = "153"; //BDS-OBU信息查询 // export const searchObuInfo = "153"; //BDS-OBU信息查询

Loading…
İptal
Kaydet