|  | @@ -45,18 +45,18 @@ Page({ | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | gotoetcp:function(){ |  |  | gotoetcp:function(){ | 
														
													
														
															
																|  |  |  |  |  | /* | 
														
													
														
															
																|  |  | wx.navigateToMiniProgram({ |  |  | wx.navigateToMiniProgram({ | 
														
													
														
															
																|  |  | appId:'wx192b7d2e8dcbefd0', |  |  | appId:'wx192b7d2e8dcbefd0', | 
														
													
														
															
																|  |  | extraData: this.data.extraData, |  |  | extraData: this.data.extraData, | 
														
													
														
															
																|  |  | envVersion:'release' |  |  | envVersion:'release' | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | /* |  |  |  | 
														
													
														
															
																|  |  |  |  |  | */ | 
														
													
														
															
																|  |  | wx.navigateToMiniProgram({ |  |  | wx.navigateToMiniProgram({ | 
														
													
														
															
																|  |  | appId:'wxc07f9d67923d676d', |  |  | appId:'wxc07f9d67923d676d', | 
														
													
														
															
																|  |  | extraData: this.data.extraData, |  |  | extraData: this.data.extraData, | 
														
													
														
															
																|  |  | envVersion:'release' |  |  | envVersion:'release' | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | */ |  |  |  | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | showquan: function() { |  |  | showquan: function() { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
												
													
														
															
																|  | @@ -119,13 +119,13 @@ Page({ | 
														
													
														
															
																|  |  | title: weapNote.carpage.title |  |  | title: weapNote.carpage.title | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | }); |  |  | }); | 
														
													
														
															
																|  |  | // 登录 |  |  |  | 
														
													
														
															
																|  |  | var scene = decodeURIComponent(options.scene); |  |  |  | 
														
													
														
															
																|  |  | that.setData({ |  |  |  | 
														
													
														
															
																|  |  | scene: scene |  |  |  | 
														
													
														
															
																|  |  | }); |  |  |  | 
														
													
														
															
																|  |  | app.getLocation(); |  |  |  | 
														
													
														
															
																|  |  |  |  |  | // 登录 | 
														
													
														
															
																|  |  |  |  |  | var scene = decodeURIComponent(options.scene); | 
														
													
														
															
																|  |  |  |  |  | that.setData({ | 
														
													
														
															
																|  |  |  |  |  | scene: scene | 
														
													
														
															
																|  |  |  |  |  | }); | 
														
													
														
															
																|  |  | if (app.globalData.token){}else{ |  |  | if (app.globalData.token){}else{ | 
														
													
														
															
																|  |  |  |  |  | app.getLocation(); | 
														
													
														
															
																|  |  | that.userLogin() |  |  | that.userLogin() | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
												
													
														
															
																|  | @@ -377,44 +377,6 @@ Page({ | 
														
													
														
															
																|  |  | app.parkInitCallback(app.globalData.token); |  |  | app.parkInitCallback(app.globalData.token); | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | /** |  |  |  | 
														
													
														
															
																|  |  | * 绑定车牌 |  |  |  | 
														
													
														
															
																|  |  | */ |  |  |  | 
														
													
														
															
																|  |  | // bindCar: function(carNum) { |  |  |  | 
														
													
														
															
																|  |  | //   var that = this; |  |  |  | 
														
													
														
															
																|  |  | //   // ETCP |  |  |  | 
														
													
														
															
																|  |  | //   var etcpData = { |  |  |  | 
														
													
														
															
																|  |  | //     etcpToken: app.globalData.etcpToken, |  |  |  | 
														
													
														
															
																|  |  | //     carNumber: carNum |  |  |  | 
														
													
														
															
																|  |  | //   }; |  |  |  | 
														
													
														
															
																|  |  | //   var tjdData = { |  |  |  | 
														
													
														
															
																|  |  | //     carNumber: carNum |  |  |  | 
														
													
														
															
																|  |  | //   }; |  |  |  | 
														
													
														
															
																|  |  | //   var postData = app.globalData.parkVendor == 1 ? etcpData : tjdData; |  |  |  | 
														
													
														
															
																|  |  | //   Http.post({ |  |  |  | 
														
													
														
															
																|  |  | //       url: config.api.bindCar, |  |  |  | 
														
													
														
															
																|  |  | //       data: postData |  |  |  | 
														
													
														
															
																|  |  | //     }) |  |  |  | 
														
													
														
															
																|  |  | //     .then(res => { |  |  |  | 
														
													
														
															
																|  |  | //       console.log(res); |  |  |  | 
														
													
														
															
																|  |  | //       // that.initUsrCarList(); |  |  |  | 
														
													
														
															
																|  |  | //       wx.showModal({ |  |  |  | 
														
													
														
															
																|  |  | //         title: "提示", |  |  |  | 
														
													
														
															
																|  |  | //         showCancel: false, |  |  |  | 
														
													
														
															
																|  |  | //         content: "绑车牌成功!", |  |  |  | 
														
													
														
															
																|  |  | //         success: function() {} |  |  |  | 
														
													
														
															
																|  |  | //       }); |  |  |  | 
														
													
														
															
																|  |  | //     }) |  |  |  | 
														
													
														
															
																|  |  | //     .catch(error => { |  |  |  | 
														
													
														
															
																|  |  | //       console.log(error); |  |  |  | 
														
													
														
															
																|  |  | //       wx.showModal({ |  |  |  | 
														
													
														
															
																|  |  | //         title: "提示", |  |  |  | 
														
													
														
															
																|  |  | //         showCancel: false, |  |  |  | 
														
													
														
															
																|  |  | //         content: error.message, |  |  |  | 
														
													
														
															
																|  |  | //         success: function() {} |  |  |  | 
														
													
														
															
																|  |  | //       }); |  |  |  | 
														
													
														
															
																|  |  | //     }); |  |  |  | 
														
													
														
															
																|  |  | // }, |  |  |  | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | bindCar: function (carNum) { |  |  | bindCar: function (carNum) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
												
													
														
															
																|  | 
 |