twt %!s(int64=3) %!d(string=hai) anos
pai
achega
6bb4b5ce0e
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      pages/module/maintain.vue

+ 5 - 2
pages/module/maintain.vue

@@ -351,9 +351,12 @@ export default {
 		},
 		getData(){
 			uni.showLoading({ });
+			var location = uni.getStorageSync("location");
 			this.$http('miniApp/tPackageMiniAppController/queryPackageList', {
-			   mileage:'22',//this.maintainCarData.milage,
-			   liyangId:'CFA0318M0024',//this.maintainCarData.nLevelID,
+			   mileage:this.maintainCarData.milage,
+			   liyangId:this.maintainCarData.nLevelID,
+			   cityCode:location.cityCode,
+			   guidePrice:this.maintainCarData.guidePrice,
 			 },'GET').then(res => {
 				uni.hideLoading();
 				this.mealData=res.data;