zhongtianhaoyuan 2 年之前
父節點
當前提交
f7f1d23237

+ 0 - 1
pages/mine/driverCertification.vue

@@ -772,7 +772,6 @@
 												.catch(res => {
 													uni.$u.toast(res.message);
 												});
-
 											break;
 									}
 								}

+ 5 - 5
pages/mine/driverCertificationNext.vue

@@ -639,11 +639,11 @@
 			submit() {
 				// 校验
 				if (this.validate()) return
-				if(this.dataDetails.driverSex=='男'){
-					this.dataDetails.driverCall = this.dataDetails.driverCall+'先生'
-				}else{
-					this.dataDetails.driverCall = this.dataDetails.driverCall+'女士'
-				}
+				// if(this.dataDetails.driverSex=='男'){
+				// 	this.dataDetails.driverCall = this.dataDetails.driverCall+'先生'
+				// }else{
+				// 	this.dataDetails.driverCall = this.dataDetails.driverCall+'女士'
+				// }
 				if(!this.consentStatus){
 					this.$refs.uToast.show({
 						type: 'error',

+ 3 - 1
pages/mine/index.vue

@@ -213,8 +213,10 @@
 				await this.$request.baseRequest('', '/driverInfo/firstAuthentication', {
 						driverPhone: this.userInfo.phone,
 					}).then(res => {
+						if(res.data){
+							uni.setStorageSync("firstAuthentication", res.data) //更新缓存数据(解决pc端审核后未及时更新缓存  用于车友判断)
+						}
 						this.firstAuthentication = res.data
-						uni.setStorageSync("firstAuthentication", res.data) //更新缓存数据(解决pc端审核后未及时更新缓存  用于车友判断)
 						if (this.firstAuthentication) {
 							this.isFirstSH = false
 							if (this.firstAuthentication.driverSex == '女') {

+ 3 - 4
pages/mine/manageBankCards/addBankCard.vue

@@ -278,6 +278,8 @@
 				// 	.catch(res => {
 				// 		uni.$u.toast(res.message);
 				// 	});
+				
+				
 				if(this.dataDetails.payeeName != uni.getStorageSync("firstAuthentication").numberCard){
 					this.$refs.uToast.show({
 						type: 'error',
@@ -292,6 +294,7 @@
 					}).then(
 						res => {
 							if(res.data.distinguishNum == "01"){
+								this.dataDetails.commonId = this.userInfo.id
 								this.$request.baseRequest('post', '/driverPayeeInfo/api/addInfo', this.dataDetails).then(
 										res => {
 											if (res.code == '200') {
@@ -317,10 +320,6 @@
 							}
 						})
 				}
-				
-
-				
-
 			},
 		},
 	};

+ 2 - 1
pages/mine/manageBankCards/index.vue

@@ -136,7 +136,8 @@
 			},
 			init() {
 				this.$request.baseRequest('post', '/driverPayeeInfo/selectDriverPayee', {
-						driverId: this.userInfo.driverId,
+						// driverId: this.userInfo.driverId,
+						commonId: this.userInfo.id,
 					}).then(res => {
 						if (res.code == '200') {
 							this.bankList = res.data

+ 1 - 1
pages/mine/manageVehicles/addVehicle.vue

@@ -427,7 +427,7 @@
 		},
 		onLoad(options) {
 			_this = this;
-			this.dataDetails.driverId = this.userInfo.driverId
+			this.dataDetails.commonId = this.userInfo.id
 			this.validityPeriod = this.$helper.makeValidityPeriod()
 		},
 		methods: {

+ 1 - 1
pages/mine/manageVehicles/index.vue

@@ -96,7 +96,7 @@
 			},
 			init() {
 				this.$request.baseRequest('get', '/driverCarInfo/selectDriverCar', {
-						driverId: this.firstAuthentication.id,
+						commonId: this.userInfo.id,
 						// driverId:this.firstAuthentication.id
 					}).then(res => {
 						if (res.code == '200') {

+ 1 - 1
pages/news/index.vue

@@ -166,7 +166,7 @@
 			},
 			read(val) {
 				if(val.newsType == '系统消息'){
-					uni.$u.route("/pages/news/newsSee&_obj="+JSON.stringify(val))
+					uni.$u.route("/pages/news/newsSee?_obj="+JSON.stringify(val))
 				}
 				uni.showLoading({
 					title: '加载中',

+ 10 - 1
pages/news/newsSee.vue

@@ -1,6 +1,9 @@
 <template>
 	<view class="center">
-		
+		<view class="news_info">
+			<view class="">{{dataInfo.newsTitle}}</view>
+			
+		</view>
 	</view>
 </template>
 
@@ -13,8 +16,14 @@
 			}
 		},
 		onLoad(options) {
+			debugger
 			this.dataInfo = JSON.parse(options._obj)
+				uni.setNavigationBarTitle({
+				title: this.dataInfo.newsType
+			})
+			
 		},
+		
 		methods:{
 			
 		}