liting2017 6 years ago
parent
commit
b4ead63792

+ 6 - 4
js/component/account/setAccount/expert.jsx

@@ -128,8 +128,9 @@ const Expert = React.createClass({
 					: undefined;
 					let authenticationState='';
 				if(thisData.auditStatus=='3'){
-					authenticationState=thisData.expert+''
+					authenticationState=(thisData.expert-1).toString()
 				}   
+				console.log(authenticationState)
 				this.setState({
 					InformationId: thisData.id,
                     InformationUid: thisData.uid,
@@ -363,6 +364,7 @@ const Expert = React.createClass({
 				span: 14
 			}
 		};
+		console.log(this.state.authenticationState)
 		const theData = this.state.data || [];
 		return (
 			<div className="unit-wrap">
@@ -540,7 +542,7 @@ const Expert = React.createClass({
 										className="picWidth"
 										labelCol={{ span: 9 }}
 										wrapperCol={{ span: 10 }}
-										label={<div style={{marginRight:10}}><strong style={{color:"#f00"}}>*</strong><span>{this.state.authenticationState=='0'?'专家照片 : ':'顾问照片 : ' } </span></div> }
+										label={<span><strong style={{color:"#f00"}}>*</strong><span>{this.state.authenticationState=='0'?'专家照片':'顾问照片'}</span></span> }
 									>
 										<PicturesWall
 											fileList={this.getHeadPortraitUrl}
@@ -553,7 +555,7 @@ const Expert = React.createClass({
 									className="picWidth"
 									labelCol={{ span: 9 }}
 									wrapperCol={{ span: 10 }}
-									label={<div style={{marginRight:10}}><strong style={{color:"#f00"}}>*</strong><span>身份证正面 : </span></div> }
+									label={<span ><strong style={{color:"#f00"}}>*</strong><span>身份证正面</span></span> }
 								>
 									<PicturesWall fileList={this.getPositiveIdUrl} pictureUrl={this.state.positiveIdUrl} />
 									<p>建议:图片要清晰。</p>
@@ -562,7 +564,7 @@ const Expert = React.createClass({
 									className="picWidth"
 									labelCol={{ span: 9 }}
 									wrapperCol={{ span: 10 }}
-									label={<div style={{marginRight:10}}><strong style={{color:"#f00"}}>*</strong><span>身份证反面 : </span></div> }
+									label={<span><strong style={{color:"#f00"}}>*</strong><span>身份证反面</span></span> }
 								>
 									<PicturesWall fileList={this.getOppositeIdUrl} pictureUrl={this.state.oppositeIdUrl} />
 									<p>建议:图片要清晰。</p>

+ 5 - 0
js/component/administration/authentication/techDemand.less

@@ -28,6 +28,11 @@
         }
     }
 }
+.ant-form-item-control-wrapper .ant-form-item-control  span {
+    word-break: break-all;  
+    word-wrap: break-word; 
+    white-space: pre-wrap;
+}
 button:focus,button:active{
     outline: none
 }