|
|
@@ -92,7 +92,7 @@ import VDistpicker from 'v-distpicker'
|
|
|
mytoken: JSON.parse(localStorage.getItem('app-state-session')),//本地储存的用户信息
|
|
|
reg: new RegExp(/[\@\#\$\%\&\*!\¥]/),//非法字符
|
|
|
isaddress: false,//公司地址验证
|
|
|
- isname: false,//姓名验证
|
|
|
+ isname: true,//姓名验证
|
|
|
isspaceName: false,//公司名验证
|
|
|
isemail: true,//验证邮箱
|
|
|
disabled: true
|
|
|
@@ -204,7 +204,15 @@ import VDistpicker from 'v-distpicker'
|
|
|
let mobile = mytoken.account.mobile;//手机号
|
|
|
let company = {'name':qyname,'address':address,'type':qyindustry};
|
|
|
let account = {'realname':name,'email':email,'mobile':mobile, 'uu':uu}
|
|
|
+ // console.log('姓名',name)//个人姓名
|
|
|
+ // console.log('企业',qyname)//企业姓名
|
|
|
+ // console.log('企业名字',this.qymingzi)//企业有没有注册
|
|
|
+ // console.log('企业地址',this.isaddress)//企业地址
|
|
|
+ // console.log('姓名',this.isname)//个人姓名正则
|
|
|
+ // console.log('企业名字',this.isspaceName)//企业名字正则
|
|
|
+ // console.log('邮箱',this.isemail)//邮箱正则
|
|
|
if (name != '' && qyname != '' && this.qymingzi && this.isaddress && this.isname && this.isspaceName && this.isemail) {
|
|
|
+
|
|
|
this.$ajax({
|
|
|
url: this.$url.api+"/api/account/accountCenter/companyAccount/save",//http://192.168.253.31:8560
|
|
|
method: 'post',
|