|
|
@@ -8,6 +8,14 @@ export function jump(type,item){ |
|
|
|
// 10 上传身份信息 11待支付 12待签约 13异地-邮寄地址填写 18去下单 |
|
|
|
// 16签约 17卡签信息读取(没登录去异地登录) |
|
|
|
|
|
|
|
// plateNum 车牌号码和颜色编号 例:浙A0P73H_0 |
|
|
|
// orderNo 订单编号 |
|
|
|
// afterType 售后办理类型 1.挂失/解挂 3.更换 4.续期 5.补办 6.注销 7.换货 8.退货 9.补货 |
|
|
|
// orderType 订单类型 1.新办 2.售后 |
|
|
|
|
|
|
|
// 需要小程序跳转的: |
|
|
|
// 1.新办理的订单在设备在已发货未二发前可进行退货、换货、补货的业务。 |
|
|
|
// 2. 已激活设备可发起挂失、解挂、更换、补办、注销、续期售后业务。针对更换、补办产生的订单在已发货未二发前可以进行退货、换货、补货业务。 |
|
|
|
if(type=="17"){ |
|
|
|
uni.navigateTo({ |
|
|
|
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&type=1&mobile=${getItem("mobile")}` |
|
|
@@ -37,18 +45,41 @@ export function jump(type,item){ |
|
|
|
console.log("accountType",accountType,carType,type,handleType) |
|
|
|
redirectUrl=`/pages/order/order` |
|
|
|
} |
|
|
|
if(type=="10" || type=="11" || type=="12"|| type=="13" || type=="18"){ |
|
|
|
if(type=="10" || type=="12"|| type=="13" || type=="18"){ |
|
|
|
redirectUrl="/pages/order/order" |
|
|
|
handleType="continuation" |
|
|
|
console.log("accountType",type) |
|
|
|
} |
|
|
|
// 售后激活 更换卡签 补卡 补签(没有补卡签) |
|
|
|
if(type=="11"){ |
|
|
|
if(data['orderType']=='EXCHANGE_CARD' || data['orderType']=='EXCHANGE_OBU' || data['orderType']=='EXCHANGE_ALL'){ |
|
|
|
// 售后换卡换签换卡签 |
|
|
|
redirectUrl="/pages/order/order" |
|
|
|
handleType="aftersale" |
|
|
|
afterType=3 |
|
|
|
}else if(data['orderType']=='FILL_OBU'|| data['orderType']=='FILL_CARD'){ |
|
|
|
// 补卡 补签(没有补卡签) |
|
|
|
redirectUrl="/pages/order/order" |
|
|
|
handleType="aftersale" |
|
|
|
afterType=9 |
|
|
|
}else{ |
|
|
|
// 正常支付 |
|
|
|
redirectUrl="/pages/order/order" |
|
|
|
handleType="continuation" |
|
|
|
} |
|
|
|
} |
|
|
|
// 售后激活 更换卡签 |
|
|
|
if(type=="14"){ |
|
|
|
if(data['orderType']=='EXCHANGE_CARD' || data['orderType']=='EXCHANGE_OBU' || data['orderType']=='EXCHANGE_ALL'|| data['orderType']=='FILL_OBU'|| data['orderType']=='FILL_CARD'){ |
|
|
|
if(data['orderType']=='EXCHANGE_CARD' || data['orderType']=='EXCHANGE_OBU' || data['orderType']=='EXCHANGE_ALL'){ |
|
|
|
afterType=3 |
|
|
|
orderType=2 |
|
|
|
handleType="aftersale" |
|
|
|
redirectUrl="/pages/order/order" |
|
|
|
}else if(data['orderType']=='FILL_OBU'|| data['orderType']=='FILL_CARD'){ |
|
|
|
// 补卡 补签(没有补卡签) |
|
|
|
afterType=9 |
|
|
|
orderType=2 |
|
|
|
handleType="aftersale" |
|
|
|
redirectUrl="/pages/order/order" |
|
|
|
}else{ |
|
|
|
// 14 正常激活 |
|
|
|
redirectUrl="/pages/order/order" |