Commit c65f370b authored by zhangderong's avatar zhangderong

修复编辑器图片上传问题

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