dev_static
杨树明 5 years ago
parent c84dbdef4b
commit f2b0f73f1e

@ -178,7 +178,6 @@ class CompetitionContentspdfpeopledata extends Component {
let url = `/accounts/get_verification_code.json` let url = `/accounts/get_verification_code.json`
let login = ''; let login = '';
let values = this.props.form.getFieldsValue(); let values = this.props.form.getFieldsValue();
let smscode=setmiyah(this.props.form.getFieldsValue())
if (index == 3) { if (index == 3) {
//绑定手机号码 //绑定手机号码
login = values.phone; login = values.phone;
@ -201,6 +200,7 @@ class CompetitionContentspdfpeopledata extends Component {
this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`); this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url), { axios.get((url), {
params: { params: {
login, type,smscode login, type,smscode

@ -78,7 +78,7 @@ class Mailboxvalidation extends Component {
let url = `/accounts/get_verification_code.json` let url = `/accounts/get_verification_code.json`
let login = ''; let login = '';
let values = this.props.form.getFieldsValue(); let values = this.props.form.getFieldsValue();
let smscode=setmiyah(this.props.form.getFieldsValue())
if (index == 3) { if (index == 3) {
//绑定手机号码 //绑定手机号码
login = values.phone; login = values.phone;
@ -101,6 +101,7 @@ class Mailboxvalidation extends Component {
this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`); this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url), { axios.get((url), {
params: { params: {
login, type,smscode login, type,smscode

@ -77,7 +77,7 @@ class Phonenumberverification extends Component {
let url = `/accounts/get_verification_code.json` let url = `/accounts/get_verification_code.json`
let login = ''; let login = '';
let values = this.props.form.getFieldsValue(); let values = this.props.form.getFieldsValue();
let smscode=setmiyah( this.props.form.getFieldsValue())
if (index == 3) { if (index == 3) {
//绑定手机号码 //绑定手机号码
login = values.phone; login = values.phone;
@ -100,6 +100,7 @@ class Phonenumberverification extends Component {
this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`); this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url), { axios.get((url), {
params: { params: {
login, type,smscode login, type,smscode

@ -176,7 +176,7 @@ class CompetitionContentspdfpeopledata extends Component {
// 获取验证码 // 获取验证码
getCode = (index) => { getCode = (index) => {
let url = `/accounts/get_verification_code.json` let url = `/accounts/get_verification_code.json`
let smscode=setmiyah( this.props.form.getFieldsValue())
let login = ''; let login = '';
let values = this.props.form.getFieldsValue(); let values = this.props.form.getFieldsValue();
if (index == 3) { if (index == 3) {
@ -201,6 +201,7 @@ class CompetitionContentspdfpeopledata extends Component {
this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`); this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url), { axios.get((url), {
params: { params: {
login, type,smscode login, type,smscode

@ -78,7 +78,7 @@ class Mailboxvalidation extends Component {
let url = `/accounts/get_verification_code.json` let url = `/accounts/get_verification_code.json`
let login = ''; let login = '';
let values = this.props.form.getFieldsValue(); let values = this.props.form.getFieldsValue();
let smscode=setmiyah( this.props.form.getFieldsValue())
if (index == 3) { if (index == 3) {
//绑定手机号码 //绑定手机号码
login = values.phone; login = values.phone;
@ -101,6 +101,8 @@ class Mailboxvalidation extends Component {
this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`); this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url), { axios.get((url), {
params: { params: {
login, type,smscode login, type,smscode

@ -77,7 +77,7 @@ class Phonenumberverification extends Component {
let url = `/accounts/get_verification_code.json` let url = `/accounts/get_verification_code.json`
let login = ''; let login = '';
let values = this.props.form.getFieldsValue(); let values = this.props.form.getFieldsValue();
let smscode=setmiyah( this.props.form.getFieldsValue())
if (index == 3) { if (index == 3) {
//绑定手机号码 //绑定手机号码
login = values.phone; login = values.phone;
@ -100,6 +100,8 @@ class Phonenumberverification extends Component {
this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`); this.props.showNotification(`请先输入${index == 3 ? "手机号码" : "邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url), { axios.get((url), {
params: { params: {
login, type,smscode login, type,smscode

@ -59,7 +59,7 @@ class AccountSecure extends Component {
let url=`/accounts/get_verification_code.json` let url=`/accounts/get_verification_code.json`
let login = ''; let login = '';
let values=this.props.form.getFieldsValue(); let values=this.props.form.getFieldsValue();
let smscode=setmiyah( this.props.form.getFieldsValue())
if(index == 3){ if(index == 3){
//绑定手机号码 //绑定手机号码
login=values.phone; login=values.phone;
@ -82,6 +82,7 @@ class AccountSecure extends Component {
this.props.showNotification(`请先输入${index==3?"手机号码":"邮箱地址"}`); this.props.showNotification(`请先输入${index==3?"手机号码":"邮箱地址"}`);
return; return;
} }
let smscode=setmiyah(login)
axios.get((url),{params:{ axios.get((url),{params:{
login,type,smscode login,type,smscode
}}).then((result)=>{ }}).then((result)=>{

Loading…
Cancel
Save