Commit a67e9048 authored by zhangderong's avatar zhangderong

邮箱测试

parent 0dc37eb1
Pipeline #39 canceled with stages
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
<div class="login_content"> <div class="login_content">
<Form ref="formInline" :model="formInline" :rules="ruleInline" style="height:161px"> <Form ref="formInline" :model="formInline" :rules="ruleInline" style="height:161px">
<FormItem prop="user" style="height:60px"> <FormItem prop="user" style="height:60px">
<Input type="text" v-model="formInline.user" placeholder="请输入11位默认手机号" class="wordStyle" size="large"> <Input type="text" v-model="formInline.user" placeholder="请输入号" class="wordStyle" size="large">
<Icon type="ios-person-outline" slot="prepend" ></Icon> <Icon type="ios-person-outline" slot="prepend" ></Icon>
</Input> </Input>
</FormItem> </FormItem>
<FormItem prop="password"> <FormItem prop="password">
<Input type="password" v-model="formInline.password" placeholder="请输入默认密码" class="wordStyle" @keyup.enter.native='login' size="large"> <Input type="password" v-model="formInline.password" placeholder="请输入密码" class="wordStyle" @keyup.enter.native='login' size="large">
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span style="color:red;margin-top;5px" v-show="noteconTime==true">{{notecontent}}</span> <span style="color:red;margin-top;5px" v-show="noteconTime==true">{{notecontent}}</span>
......
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerAge}}<span v-show="item.ownerSex !==''">|</span></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerAge}}<span v-show="item.ownerSex !==''">|</span></span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerSex}} <span v-show="item.ownerWorkYears !==''">|</span> </span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerSex}} <span v-show="item.ownerWorkYears !==''">|</span> </span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerWorkYears}}<span v-show="item.ownerExpectTitles !==''">|</span></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerWorkYears}}<span v-show="item.ownerExpectTitles !==''">|</span></span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerHighestDegree}} <span v-show="item.ownerExpectTitles !==''">|</span></span>
<span style="display:inline-block;height:100%;margin-top:5px;font-size:12px;width:15%;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerExpectTitles}}</span> <span style="display:inline-block;height:100%;margin-top:5px;font-size:12px;width:15%;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerExpectTitles}}</span>
<span style="display:inline-block;height:100%;font-size: 12px;width:25%;float:right;text-align:right;margin-right:10px;margin-top:5px"> <span style="display:inline-block;height:100%;font-size: 12px;width:25%;float:right;text-align:right;margin-right:10px;margin-top:5px">
<span style="margin-right:20px;margin-top:5px" v-if="item.flowStatus=='INTERVIEW_OK'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">面试合适</span></span> <span style="margin-right:20px;margin-top:5px" v-if="item.flowStatus=='INTERVIEW_OK'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">面试合适</span></span>
...@@ -1014,7 +1015,8 @@ import ckeditor from '../../components/ckeditor' ...@@ -1014,7 +1015,8 @@ import ckeditor from '../../components/ckeditor'
} }
if(sss==true){ if(sss==true){
this.emailIdArr.push(doID) this.emailIdArr.push(doID)
this.emailId=doID // this.emailId=doID
console.log(this.emailIdArr,1111111111)
this.delateARRALL.push(doID) this.delateARRALL.push(doID)
this.delateARRALL2.push(doID) this.delateARRALL2.push(doID)
this.flowStatusarr.push(doStatus) this.flowStatusarr.push(doStatus)
...@@ -1023,7 +1025,8 @@ import ckeditor from '../../components/ckeditor' ...@@ -1023,7 +1025,8 @@ import ckeditor from '../../components/ckeditor'
this.delateARRALL.remove(doID) this.delateARRALL.remove(doID)
this.delateARRALL2.remove(doID) this.delateARRALL2.remove(doID)
this.flowStatusarr.remove(doStatus) this.flowStatusarr.remove(doStatus)
this.emailIdArr.push(doID) this.emailIdArr.remove(doID)
console.log(this.emailIdArr,222111111111)
} }
}, },
//查看简历详情 //查看简历详情
...@@ -1226,12 +1229,13 @@ import ckeditor from '../../components/ckeditor' ...@@ -1226,12 +1229,13 @@ import ckeditor from '../../components/ckeditor'
}else{ }else{
console.log(99999999999999) console.log(99999999999999)
if(this.emailIdArr.length>1&&(value=='TEMP_0001'||value=='TEMP_0005'||value=='TEMP_0006')){ if(this.emailIdArr.length>1&&(value=='TEMP_0001'||value=='TEMP_0005'||value=='TEMP_0006')){
console.log(777777777777)
this.allEmailVilitor=true this.allEmailVilitor=true
}else { }else {
this.allEmailVilitor=false this.allEmailVilitor=false
console.log(66666666666666) console.log(66666666666666,this.emailIdArr.length)
if(this.temp='TEMP_0001'){ if(this.temp='TEMP_0001'){
console.log(44444444444444) console.log(44444444444444,this.emailIdArr.length)
this.isShowAll=true this.isShowAll=true
}else{ }else{
this.isShowAll=false this.isShowAll=false
...@@ -1310,7 +1314,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1310,7 +1314,7 @@ import ckeditor from '../../components/ckeditor'
}, },
// 确认发送邮件 // 确认发送邮件
confireSendEmail(){ confireSendEmail(){
if(this.emailInline.moo==''||this.emailInline.receiveEmail==''||this.emailInline.copyname==''||this.emailInline.theme==''||this.emailInline.UpdateOWER==''||this.emailInline.UpdateVIEW==''||this.emailInline.UpdateTIME==''){ if(this.emailInline.moo==''||this.emailInline.receiveEmail==''||this.emailInline.theme==''||this.emailInline.UpdateOWER==''||this.emailInline.UpdateVIEW==''||this.emailInline.UpdateTIME==''){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '请填写完整的信息' desc: '请填写完整的信息'
...@@ -1322,10 +1326,17 @@ import ckeditor from '../../components/ckeditor' ...@@ -1322,10 +1326,17 @@ import ckeditor from '../../components/ckeditor'
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '请先选择简历' desc: '请先选择简历'
}); });
return return
} }
} }
if(this.emailIdArr.length>1){
this.$Notice.error({
title: '提示',
desc: '不能选择多份简历,请选择单份简历'
});
return
}
this.uploadFileList.map(item=>{ this.uploadFileList.map(item=>{
if(item.size/1024 > 10240){ if(item.size/1024 > 10240){
this.isLimitSize=true this.isLimitSize=true
...@@ -1501,7 +1512,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1501,7 +1512,7 @@ import ckeditor from '../../components/ckeditor'
if(!(/^((([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\;))*(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})))$/.test(this.emailInline.receiveEmail))){ if(!(/^((([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\;))*(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})))$/.test(this.emailInline.receiveEmail))){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '请正确填写收件人邮箱' desc: '请正确填写邮箱地址'
}); });
return return
} }
...@@ -1510,7 +1521,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1510,7 +1521,7 @@ import ckeditor from '../../components/ckeditor'
if(!(/^((([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\;))*(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})))$/.test(this.emailInline.copyname))){ if(!(/^((([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\;))*(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})))$/.test(this.emailInline.copyname))){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '请正确填写抄送人邮箱' desc: '请正确填写邮箱地址'
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment