Commit c65f370b authored by zhangderong's avatar zhangderong

修复编辑器图片上传问题

parent 0b730699
......@@ -1289,8 +1289,9 @@ import ckeditor from '../../components/ckeditor'
getEmailContent(parmars).then(res=>{
this.emailInline.theme=res.data.body.templateSubject
this.emailInline.receiveEmail=res.data.body.receiveEmail
this.emailInline.templateContent=res.data.body.templateContent
this.sad=this.emailInline.templateContent
// this.emailInline.templateContent=res.data.body.templateContent
// this.sad=this.emailInline.templateContent
this.sad=res.data.body.templateContent
if(res.data.body&&res.data.body.resumeInterviewVO){
this.formInline.UpdateOWER=res.data.body.resumeInterviewVO.interviewerName
this.formInline.UpdateVIEW=res.data.body.resumeInterviewVO.inviterName
......@@ -1302,6 +1303,7 @@ import ckeditor from '../../components/ckeditor'
}
})
console.log("+++++++++++++++")
},
uploadFile(){
// this.uploadFileList=[]
......@@ -1352,6 +1354,7 @@ import ckeditor from '../../components/ckeditor'
// getEditorValue(value){
// this.emailContent=value
// this.sad = value
// console.log( this.emailContent,777777,this.sad)
// // if(this.sad==''){this.$Notice.error({
// // title: '提示',
// // desc: '正文不能为空'
......@@ -1364,7 +1367,7 @@ import ckeditor from '../../components/ckeditor'
// // this.isDisable=true
// // }
// },
getEditorValue: _debounce((value) => {
getEditorValue: _debounce(function (value) {
this.emailContent=value
this.sad = value
}),
......
......@@ -137,11 +137,14 @@ export default {
reList:[],
downresume:'',
detialID:'',
showBtn:'',
}
},
methods: {
getDETAIL(){
this.detialID=this.$route.query.id
// this.showBtn=this.$router.query.noShowBtn
// console.log(this.showBtn)
let parmars={
resumeId:this.$route.query.id
}
......
......@@ -5,12 +5,14 @@ export function _debounce (fn, delay) {
return function () {
let args = arguments
if (timer) {
clearTimeout(timer)
}
timer = setTimeout(function () {
timer = null
console.log(this)
fn.apply(this, args)
}.bind(this), delay)
}
......
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