|
@@ -68,7 +68,9 @@
|
|
|
return true;
|
|
|
}else{
|
|
|
if(process.jphelp.NODE_ENV=='dev'){
|
|
|
- this.findStationByGun("YQ202207150011001")
|
|
|
+ //this.findStationByGun("YQ202207150011001")
|
|
|
+ this.findStationByGun("E50")
|
|
|
+
|
|
|
}else{
|
|
|
this.getScanCode()
|
|
|
}
|
|
@@ -84,8 +86,8 @@
|
|
|
mask: true,
|
|
|
})
|
|
|
|
|
|
- WxJsApi.findStationByGun({
|
|
|
- gunNo:id,
|
|
|
+ WxJsApi.findStationByNo({
|
|
|
+ no:id,
|
|
|
|
|
|
|
|
|
}).then((response) => {
|
|
@@ -123,20 +125,16 @@
|
|
|
gunId=url.split("#/?gunId=")[1].trim()
|
|
|
|
|
|
}
|
|
|
-
|
|
|
if(url&&url.indexOf("&gunId=")>-1){
|
|
|
gunId=url.split("&gunId=")[1].trim()
|
|
|
}
|
|
|
|
|
|
if(gunId){
|
|
|
- this.findStationByGun(gunId)
|
|
|
+
|
|
|
}else{
|
|
|
- uni.showToast({
|
|
|
- title: "请扫充电桩二维码",
|
|
|
- icon: "none"
|
|
|
- })
|
|
|
+ gunId=res
|
|
|
}
|
|
|
-
|
|
|
+ this.findStationByGun(gunId)
|
|
|
|
|
|
}).catch(error => {
|
|
|
|