|
@@ -50,9 +50,31 @@
|
|
this.gogroup()
|
|
this.gogroup()
|
|
},
|
|
},
|
|
gogroup(){
|
|
gogroup(){
|
|
- uni.navigateTo({
|
|
|
|
- url:'group?vin='+this.vin
|
|
|
|
- })
|
|
|
|
|
|
+ uni.showLoading({
|
|
|
|
+ title: '加载中'
|
|
|
|
+ });
|
|
|
|
+ this.$http('advancedEpc/getVinGroup', {
|
|
|
|
+ vin: this.vin,
|
|
|
|
+
|
|
|
|
+ }, 'GET').then(res => {
|
|
|
|
+ uni.hideLoading();
|
|
|
|
+ //console.log(res.data.number);
|
|
|
|
+ if (res.data.number == 200 || res.data.number == 5212) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url:'group?vin='+this.vin
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ } else {
|
|
|
|
+
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: res.data.message,
|
|
|
|
+ icon: 'none',
|
|
|
|
+ duration: 3000
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+
|
|
},
|
|
},
|
|
gogroup2(vin){
|
|
gogroup2(vin){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|