gjy il y a 2 ans
Parent
commit
4e2625a3dc

+ 2 - 2
config/index.js

@@ -1,6 +1,6 @@
 const dev = {
-	baseUrlNew: 'https://apitest.eliangeyun.com',
-	// baseUrlNew: 'http://192.168.110.9:8099',
+	// baseUrlNew: 'https://apitest.eliangeyun.com',
+	baseUrlNew: 'http://192.168.110.9:8099',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 }

+ 1 - 1
pages/mine/cargoowner/cargoowner.vue

@@ -30,7 +30,7 @@
 							<view v-if='!personage' style='font-size:21px;'>身份信息</view>
 							<view v-else style='font-size:21px;'>{{personage.name}}</view>
 							<view v-if="personage.authenticationStatus!='已认证'" class='flex flex-space-between'
-								style='width:100%;color:#999999;font-size:14px;'>您的身份信息{{personage.authenticationStatus?personage.authenticationStatus:'未认证'}}状态
+								style='width:100%;color:#999999;font-size:14px;'>您的身份信息{{personage.authenticationStatus?personage.authenticationStatus:'未认证'}}
 								<u-icon name="arrow-right" color="#7E7E7E" size="10" v-if="datastatus"></u-icon>
 							</view>
 							<view v-else class='flex flex-space-between' style='width:100%;color:#999999;font-size:14px;'>

+ 6 - 3
pages/mine/cargoowner/editpersonalinformation.vue

@@ -71,7 +71,7 @@
 			</view>
 			<view style='padding-right:10px;' class="flex row">
 				<view class="left-text">身份证号</view>
-				<u--input :disabled='dataDetails.id' placeholder="请输入身份证号" inputAlign='right' border="none"
+				<u--input :disabled='dataDetails.id?true:false' placeholder="请输入身份证号" inputAlign='right' border="none"
 					v-model="dataDetails.cardNumber">
 				</u--input>
 			</view>
@@ -169,7 +169,7 @@
 		onLoad(options) {
 			this.get_camera_permission()
 			var _this = this;
-			console.log(options)
+			// console.log(options)
 			if(JSON.stringify(options) != "{}"){
 				this.dataDetails = options
 			}
@@ -375,12 +375,15 @@
 					mask: true
 				})
 				var _this = this
-				this.$request.baseRequest('post', '/cargoOwnerInfo/api/editCargoOwner', _this.dataDetails).then(res => {
+				console.log( _this.dataDetails,122121)
+				_this.$request.baseRequest('post', '/cargoOwnerInfo/api/editCargoOwner', _this.dataDetails).then(res => {
 						uni.hideLoading()
+						console.log(res)
 						uni.$u.toast('提交成功')
 						uni.$u.route('/pages/mine/cargoowner/cargoowner')
 					})
 					.catch(res => {
+						console.log(res)
 						uni.hideLoading()
 						uni.showToast({
 							title: res.message,

+ 13 - 1
pages/release/release.vue

@@ -232,6 +232,9 @@
 		<u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :closeOnClickOverlay='false'
 			:showCancelButton='showCancelButton' confirmColor='#2772FB' @confirm="confirmClick" @close="cancelClick"
 			@cancel="cancelClick"></u-modal>
+		<u-modal :show="isShowAlert1" :title="alertTitle" :confirmText='confirmText' :content='alertContent' :closeOnClickOverlay='false'
+				:showCancelButton='showCancelButton' confirmColor='#2772FB' @confirm="confirmClick" @close="cancelClick"
+				@cancel="cancelClick"></u-modal>
 		<u-toast ref="uToast"></u-toast>
 
 	</view>
@@ -292,6 +295,8 @@
 					unsendLongitude: '',
 					unsendLatitude: '',
 				},
+				confirmText:'',
+				isShowAlert1:false,
 				checkboxValue1: ['不限'],
 				checkboxList1: [{
 						name: '不限',
@@ -368,8 +373,14 @@
 					uni.showToast({
 						title: '身份信息审核中'
 					})
-				} else {
+				}else if (_obj.authenticationStatus == '已过期') {
+					this.alertTitle = '身份信息已过期!'
+					this.showCancelButton = false
+					this.confirmText='立即修改'
+					this.isShowAlert1 = true
+				}else {
 					this.alertTitle = '身份信息未认证,去认证?'
+					this.confirmText='确认'
 					this.showCancelButton = false
 					this.isShowAlert = true
 				}
@@ -1000,6 +1011,7 @@
 	}
 	.content{
 		height:100vh;
+		overflow: scroll;
 	}
 	.title {
 		padding: 0 20rpx;

BIN
static/mine/sanchu.png