Commit 6977ce2a authored by zhangderong's avatar zhangderong

测试

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