Commit 6977ce2a authored by zhangderong's avatar zhangderong

测试

parent 968eadd9
......@@ -290,14 +290,15 @@
width='1000px'
:closable='false'>
<div >
<h2 style="text-align:center;color:black">发送邮件</h2>
<h2 style="text-align:center;color:black" v-show="this.isShowAll==false">发送邮件</h2>
<h2 style="text-align:center;color:black" v-show="this.isShowAll==true">新建面试</h2>
</div>
<div class="emailModal-title">
<div class="emailModalTitle-left">
<p>
<Form :label-width="60" :model="emailInline" label-position="left" style="margin-left:20px">
<Form :label-width="60" :model="emailInline" label-position="left" style="margin-left:5%">
<FormItem label="选择模板" style="margin-top:20px" >
<Select style="width:95%" @on-change='getEmailContentValue'>
<Select style="width:95%" @on-change='getEmailContentValue' v-model="emailInline.moo">
<Option v-for="(item,index) in emailInline.modalArr" :key="index" :value="item.templateCode">{{item.templateName}}</Option>
</Select>
</FormItem>
......@@ -317,36 +318,41 @@
<h3 style="text-align:center;margin-top:30px">请输入约面信息</h3>
<Form :label-width="75" ref="formInline" :rules="ruleInline" :model="formInline" style="margin-top:27px" label-position="left">
<FormItem label="邀约人" style="margin-top:20px" prop="UpdateOWER">
<Input v-model="formInline.UpdateOWER" style="width:80%" :maxlength="5"/>
<Input v-model="formInline.UpdateOWER" style="width:100%" :maxlength="5"/>
</FormItem>
<FormItem label="面试时间" style="margin-top:20px" prop="UpdateTIME">
<DatePicker type="datetime" style="width:80%" v-model="formInline.UpdateTIME" format="yyyy-MM-dd HH:mm" @on-change="changeTime" :options="options3" :editable='false'></DatePicker>
<DatePicker type="datetime" style="width:100%" v-model="formInline.UpdateTIME" format="yyyy-MM-dd HH:mm" @on-change="changeTime" :options="options3" :editable='false'></DatePicker>
</FormItem>
<FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'>
<Input v-model="formInline.UpdateVIEW" style="width:80%" :maxlength="5"/>
<Input v-model="formInline.UpdateVIEW" style="width:100%" :maxlength="5"/>
</FormItem>
</Form>
</div>
</div>
<div class="ckeditor">
<ckeditor :value='sad' :uploadUrl='uploadurl'></ckeditor>
<ckeditor :value='sad' :uploadUrl='uploadurl' @getValue='getEditorValue' height='300px' width='100%' style="margin-left:3%"></ckeditor>
</div>
<div class="uploadEnclosure">
<p><span>添加附件</span><span style="margin-left:10px">
<p style="height:50px;">
<span style="font-size:14px;display:inline-block;margin:20px 0 0 3%">添加附件</span>
<span style="margin-left:500px">
<Upload
multiple
action="">
<Button >选择文件</Button>
:before-upload='beforUpload'
action="//jsonplaceholder.typicode.com/posts/">
<Button size='small' style="margin:-40px 0 0 90px" type="primary">选择文件</Button>
</Upload>
</span>
</p>
<p></p>
<p v-for="(item,index) in fileList" :key="index" style="height:30px;line-height:30px">
<span style="margin-left:60px">{{item}}</span>
<span><Icon type="md-close" @click="delateFile(index)" style="font-size:16px;float:right;margin-right:80px" /></span>
</p>
</div>
<div slot='footer' style="text-align:center" class="Ubt">
<Button type='primary' @click='emailModalPush'>取消</Button>
<Button type='primary' @click='emailMOdal=false' v-show="beforeBtu==true">上一步</Button>
<Button type='primary' @click='emailMOdal=false'>发送</Button>
<Button type='primary' @click='emailMOdal=false'>添加约面并发送</Button>
<Button type='primary' @click='emailMOdal=false' v-show="this.isShowAll==false">发送</Button>
<Button type='primary' @click='emailMOdal=false' v-show="this.isShowAll==true">添加并发送</Button>
</div>
</Modal>
</div>
......@@ -382,6 +388,7 @@ import ckeditor from '../../components/ckeditor'
UpdateVIEW:''
},
emailInline:{
moo:'',
modalArr:[],
copyname:'',
receiveEmail:'',//收件人
......@@ -389,7 +396,8 @@ import ckeditor from '../../components/ckeditor'
Enclosure:[],//附件
templateContent:'',//模板内容
},
uploadurl:'',
fileList:[],
uploadurl:'192.168.28.10',
isShowAll:false,
RescopyArr:[],
interelement:'1',
......@@ -402,6 +410,7 @@ import ckeditor from '../../components/ckeditor'
modal5:false,
modal6:false,
modal7:false,
title:'',
emailMOdal:false,
DOSTA:'',
DOWNLOAD:'',
......@@ -1169,6 +1178,13 @@ import ckeditor from '../../components/ckeditor'
},
// 发送邮件
sendEmail(){
if(this.emailId==''){
this.$Notice.error({
title: '提示',
desc: '未选中元素'
});
return
}
this.emailInline.modalArr=[]
this.emailMOdal=true
getEmailMoo().then(res=>{
......@@ -1179,9 +1195,11 @@ import ckeditor from '../../components/ckeditor'
if(value=='TEMP_0001'){
this.interviewIsShow=true
this.interviewBtu=true
this.isShowAll=true
}else{
this.interviewIsShow=false
this.interviewBtu=false
this.isShowAll=false
}
this.emailCode=value
let parmars={
......@@ -1193,10 +1211,14 @@ import ckeditor from '../../components/ckeditor'
this.emailInline.receiveEmail=res.data.body.receiveEmail
this.emailInline.templateContent=res.data.body.templateContent
this.sad=this.emailInline.templateContent
console.log(this.sad)
})
},
beforUpload(aaa){
console.log(aaa,File,aaa.name)
this.fileList.push(aaa.name)
console.log(this.fileList)
return false
},
// 发送全部内容
sendContent(){},
emailModalPush(){
......@@ -1204,9 +1226,18 @@ import ckeditor from '../../components/ckeditor'
this.emailInline.theme=''
this.emailInline.receiveEmail=''
this.emailInline.templateContent=''
this.sad=''
this.fileList=[]
this.emailInline.moo=''
this.emailMOdal=false
this.SouSuo(this.pageT)
}
},
getEditorValue(value){
console.log(value,3333333333)
},
delateFile(index){
this.fileList.splice(index,1)
},
},
mounted(){
this.SearchList()
......@@ -1319,7 +1350,6 @@ select{
.emailModal-title{
height: 260px;
width: 100%;
border: 1px solid black
}
.emailModalTitle-left{
height: 100%;
......@@ -1332,15 +1362,10 @@ select{
float: left;
}
.ckeditor{
height:300px;
width:100%;
border: 1px solid yellow;
width:100%
}
.uploadEnclosure{
height: 200px;
width: 100%;
border: 1px solid red
}
.Ubt button{
margin-left: 40px
......
This diff is collapsed.
......@@ -12,10 +12,10 @@
<Input placeholder="请输入" style="width:85%;" v-model="formInline.InviterPhoneNumber" size="large" @on-blur='jedugePhone' /><br>
<span style="position: absolute;top: 100%;left: 0;line-height: 1;padding-top: 6px;color:#ed4014;" v-show="isV==true">请输入正确的手机号码</span>
</FormItem>
<FormItem label="面试时间" prop="time" style="margin-top:0.05rem">
<Input placeholder="请输入" style="width:40%;margin-top:0.05rem" v-model="formInline.date" :readonly="true" size="large" />
<FormItem label="面试时间" prop="time" style="margin-top:10px">
<Input placeholder="请输入" style="width:40%;" v-model="formInline.date" :readonly="true" size="large" />
<!-- <DatePicker type="date" placeholder="请选择日期" style="width: 120px;margin-left:20px" v-model="formInline.date" @on-change="selectDate" :options="options3" ></DatePicker> -->
<TimePicker type="time" placeholder="请选择时间" style="width: 43%;margin-top:0.05rem" v-model="formInline.time" format="HH:mm" @on-change="selectTime" @on-focus="defaultRRRR" :editable="false" size="large"></TimePicker>
<TimePicker type="time" placeholder="请选择时间" style="width: 43%" v-model="formInline.time" format="HH:mm" @on-change="selectTime" @on-focus="defaultRRRR" :editable="false" size="large"></TimePicker>
</FormItem>
<FormItem label="应聘职位" prop="position">
<Input placeholder="请输入" style="width:85%;" v-model="formInline.position" size="large"/>
......@@ -318,13 +318,15 @@ export default {
/* border: 1px solid yellow */
}
.fontsize .ivu-form-item.ivu-form-item-required{
/* border:1px solid red; */
height:30px;
}
.fontsize .phone{
/* border:1px solid red; */
height:26px;
}
}
.fontsize .phone{
height:26px;
}
.fontsize .ivu-input.ivu-input-large{
font-size: 0.23rem
}
......
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