Browse Source

修改粮商认证

zhangyuewww 3 years ago
parent
commit
aee99c2bd1
2 changed files with 6 additions and 6 deletions
  1. 3 4
      pageD/identity/companyIdentityThree.vue
  2. 3 2
      pageD/identity/driverIdentity.vue

+ 3 - 4
pageD/identity/companyIdentityThree.vue

@@ -338,8 +338,8 @@
 							this.identityAuthenticationInfo.commonId = this.userInfo.id
 							this.identityAuthenticationInfo.payeeAddressUrl = this.bankid.toString()
 							this.identityAuthenticationInfo.compId = "2710b21efc1e4393930c5dc800010dc4"
-							this.$api.doRequest('post',
-									'/identityAuthenticationInfo/api/addIdentityAuthenticationInfo', this
+							this.$api.doRequest('get',
+									'/identityAuthenticationInfo/selectPhone', this
 									.identityAuthenticationInfo)
 								.then(res => {
 									if (res.data.code == '11018') {
@@ -348,9 +348,8 @@
 											content: '该手机号已认证过个人粮商,再次认证将覆盖之前的认证信息,是否确定认证?',
 											success: function(res) {
 												if (res.confirm) {
-													that.identityAuthenticationInfo.cover = 1
 													that.$api.doRequest('post',
-														'/identityAuthenticationInfo/api/editIdentityAuthenticationInfo',
+														'/identityAuthenticationInfo/api/addIdentityAuthenticationInfo',
 														that.identityAuthenticationInfo).then(
 														res => {
 															uni.showToast({

+ 3 - 2
pageD/identity/driverIdentity.vue

@@ -39,7 +39,7 @@
 			<view class="c-row b-b">
 				<text class="tit">手机号</text>
 				<view class="con-list">
-					<input placeholder="请填写手机号" name="input" v-model="DriverViewInfo.driverPhone"></input>
+					<input placeholder="请填写手机号" maxlength = "11"  name="input" v-model="DriverViewInfo.driverPhone"></input>
 				</view>
 			</view>
 			<view style='width:100%;border-bottom:1px solid #E8E9ED;position:relative;padding:10px;' class="flex">
@@ -48,7 +48,7 @@
 				<view style='width:70%;position:relative;margin-left: 200px;'>
 					<view class="con-list">
 						<!-- style='width:70%;position:relative;margin-left: 200px;' -->
-						<input v-model='verifyCode' placeholder="请输入验证码" type="text">
+						<input v-model='verifyCode' maxlength = "6"  placeholder="请输入验证码" type="text">
 					</view>
 				</view>
 			</view>
@@ -161,6 +161,7 @@
 					this.$api.msg('手机号不能为空')
 					return
 				}
+				debugger
 				if (this.DriverViewInfo.driverPhone.length != 11) {
 					this.$api.msg('手机号输入错误')
 					return