twt 3 年之前
父節點
當前提交
6bb4b5ce0e
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      pages/module/maintain.vue

+ 5 - 2
pages/module/maintain.vue

@@ -351,9 +351,12 @@ export default {
 		},
 		},
 		getData(){
 		getData(){
 			uni.showLoading({ });
 			uni.showLoading({ });
+			var location = uni.getStorageSync("location");
 			this.$http('miniApp/tPackageMiniAppController/queryPackageList', {
 			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 => {
 			 },'GET').then(res => {
 				uni.hideLoading();
 				uni.hideLoading();
 				this.mealData=res.data;
 				this.mealData=res.data;