|
@@ -39,6 +39,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import * as loginApi from '@/apis/login.js'
|
|
import * as loginApi from '@/apis/login.js'
|
|
|
|
+ import * as API from '@/apis/index.js'
|
|
|
|
|
|
import {
|
|
import {
|
|
checkPhone
|
|
checkPhone
|
|
@@ -188,10 +189,14 @@
|
|
this.carhelp.setPersonInfo(response.data.regUser);
|
|
this.carhelp.setPersonInfo(response.data.regUser);
|
|
|
|
|
|
if(this.code == 'A') {
|
|
if(this.code == 'A') {
|
|
- uni.redirectTo({
|
|
|
|
- // url: '/pages/searchPile/stationAndPile/chargingPileDetails?id=' + this.codeId
|
|
|
|
- url: '/pages/index/index?jpcode=jp_team51_charge_id:A_' +this.codeId
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
|
|
+ var k=API.codeOperation("jp_team51_charge_id:A_"+this.codeId);
|
|
|
|
+ if(k){
|
|
|
|
+ uni.redirectTo({
|
|
|
|
+ url:k
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
uni.redirectTo({
|
|
uni.redirectTo({
|
|
url: '/pages/index/index'
|
|
url: '/pages/index/index'
|