[
// 所有停车券兑换的跳转参数
{
"code": "COUPON_EXCHANGE",
"desc": "停车券兑换",
"wxEnabled": true,
"aliEnabled": true,
"jump_type": "currentPage",
"jump_type_params": {
"path": "/pages/pointsMall/pointsMallNew?exchangeTypes=2"
}
},
// 福州的反寻
{
"code": "FIND_CAR",
"desc": "反向寻车",
"wxEnabled": true,
"aliEnabled": false,
"jump_type": "thirdPartyApp",
"jump_type_params": {
appId: 'wxc0d8a780faa4eaa6',
path: 'pages/index/index?regionId=16631444069729358&beaconUUID=AB8190D5-D11E-4941-ACC4-42F30510B408',
envVersion: 'release',
}
},
]
vm.dataFormnew.portalConfig = JSON.stringify(vm.dataFormnew.displayFunctionList.map(elm => {
if(elm.code === "FIND_CAR") {
return {
"code": "FIND_CAR",
"desc": "反向寻车",
"wxEnabled": true,
"aliEnabled": false,
"jump_type": "thirdPartyApp",
"jump_type_params": {
appId: 'wxc0d8a780faa4eaa6',
path: 'pages/index/index?regionId=16631444069729358&beaconUUID=AB8190D5-D11E-4941-ACC4-42F30510B408',
envVersion: 'release',
}
}
}
if(elm.code === "COUPON_EXCHANGE") {
return {
"code": "COUPON_EXCHANGE",
"desc": "停车券兑换",
"wxEnabled": true,
"aliEnabled": true,
"jump_type": "currentPage",
"jump_type_params": {
"path": "/pages/pointsMall/pointsMallNew?exchangeTypes=2"
}
}
}
return elm
}))