guo 2 years ago
parent
commit
a502e1f0c0

+ 1 - 2
pages/index/index.vue

@@ -28,8 +28,7 @@
             }  else{
             			  console.log("移动端")
             			  uni.navigateTo({
-            			  	url:'../mobile/OemSearch'
-							// url:'../mobile/index'
+							url:'../mobile/index'
             			  })
             }
 		},

+ 1 - 1
pages/mobile/CarModelList.vue

@@ -87,7 +87,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/findApplicableModelsPc', {
+				this.$http('advancedEpc/findApplicableModels', {
 					epc_id: this.epc_id,
 					partnum: this.partnum,
 					page: this.page

+ 3 - 3
pages/mobile/OemDetail.vue

@@ -231,7 +231,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/generalEpc/infoPc', {
+				this.$http('advancedEpc/generalEpc/info', {
 					epc_id: this.epc_id,
 					partsnum: this.partsnum,
 
@@ -249,7 +249,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/generalEpc/replacePc', {
+				this.$http('advancedEpc/generalEpc/replace', {
 					epc_id: this.epc_id,
 					partsnum: this.partsnum,
 
@@ -267,7 +267,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/findApplicableModelsPc', {
+				this.$http('advancedEpc/findApplicableModels', {
 					epc_id: this.epc_id,
 					partnum: this.partsnum,
 					page: this.page,

+ 2 - 2
pages/mobile/OemSearch.vue

@@ -80,7 +80,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/getBrandsPc', {
+				this.$http('advancedEpc/getBrands', {
 
 				}, 'GET').then(res => {
 					uni.hideLoading();
@@ -96,7 +96,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/findPartsPc', {
+				this.$http('advancedEpc/findParts', {
 					epc_id: this.epc_id,
 					keyword: this.searchValue,
 					page: this.page,

+ 1 - 1
pages/mobile/SonGroup.vue

@@ -42,7 +42,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('advancedEpc/findInModelPc', {
+				this.$http('advancedEpc/findInModel', {
 					epc_id: this.epc_id,
 					token: this.token,
 					param: this.param,

+ 3 - 3
pages/mobile/modelThree.vue

@@ -112,7 +112,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('/advancedEpc/getSubgroupPc', {
+				this.$http('/advancedEpc/getSubgroup', {
 					vin: this.vin,
 					epc_id: this.epc_id,
 					token: this.token,
@@ -145,7 +145,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('/advancedEpc/getPartsPc', {
+				this.$http('/advancedEpc/getParts', {
 					vin: this.son_vin,
 					epc_id: this.son_epc_id,
 					token: this.son_token,
@@ -165,7 +165,7 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				this.$http('/advancedEpc/getPartsPc', {
+				this.$http('/advancedEpc/getParts', {
 					vin: this.vin,
 					epc_id: this.epc_id,
 					token: this.token,