|
@@ -63,7 +63,8 @@ export default {
|
|
|
eventId: '',
|
|
|
// 2.22新增内容:https://kerryprops.atlassian.net/browse/KIP-13059
|
|
|
portalsByLbsList: [],
|
|
|
- portalsByLbsInfo: {}
|
|
|
+ portalsByLbsInfo: {},
|
|
|
+ enableDiscountVehicle: ''
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -239,6 +240,7 @@ export default {
|
|
|
} else {
|
|
|
this.description = res?.description?.replace(reg, '\r\n').replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
|
}
|
|
|
+ this.enableDiscountVehicle = res.enableDiscountVehicle
|
|
|
this.supportUnlicensed = res.supportUnlicensed || false
|
|
|
this.carList = res.carList;
|
|
|
} catch (e) {
|
|
@@ -386,7 +388,7 @@ export default {
|
|
|
async preHandleSearch() {
|
|
|
if (this.disabledBtn) return
|
|
|
// 不是杭州的车牌 或者 用户拒绝登陆的场景
|
|
|
- if (!isHZ(this.mallId) || this.$route.query.isLogin === 'loginDenied') {
|
|
|
+ if (!this.enableDiscountVehicle || this.$route.query.isLogin === 'loginDenied') {
|
|
|
this.toParkingFeeDetail()
|
|
|
return
|
|
|
}
|
|
@@ -420,7 +422,7 @@ export default {
|
|
|
// 历史车牌快速查询
|
|
|
async toHandleSearchBefore(vehicleNo) {
|
|
|
// 不是杭州的车牌 或者 用户拒绝登陆的场景
|
|
|
- if (!isHZ(this.mallId) || this.$route.query.isLogin === 'loginDenied') {
|
|
|
+ if (!this.enableDiscountVehicle || this.$route.query.isLogin === 'loginDenied') {
|
|
|
this.toHandleSearch(vehicleNo)
|
|
|
return
|
|
|
}
|
|
@@ -1162,7 +1164,7 @@ export default {
|
|
|
// 获取会员绑定的车牌列表
|
|
|
async getVehiclesINTMP() {
|
|
|
/*杭州*/
|
|
|
- if (!isHZ(this.mallId)) return
|
|
|
+ if (!this.enableDiscountVehicle) return
|
|
|
try {
|
|
|
if(this.$route.query.isLogin === 'loginDenied') {
|
|
|
throw new Error('设置默认参数')
|