【修改】带出部门
This commit is contained in:
@@ -254,31 +254,32 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
processForm(val) {
|
processForm:{
|
||||||
this.form = this.processForm
|
handler(val) {
|
||||||
|
this.form = this.processForm
|
||||||
if(this.form.secrecyLast){
|
console.log("变化了",this.form)
|
||||||
this.isShowTime=true
|
if(this.form.secrecyLast){
|
||||||
this.form.secrecyLast=new Date(this.form.secrecyLast)
|
this.isShowTime=true
|
||||||
}
|
this.form.secrecyLast=new Date(this.form.secrecyLast)
|
||||||
if(this.processForm.keyContent){
|
}
|
||||||
this.tags=JSON.parse(this.processForm.keyContent)
|
if(this.processForm.keyContent){
|
||||||
}
|
this.tags=JSON.parse(this.processForm.keyContent)
|
||||||
if(this.processForm.labelList && typeof this.processForm.labelList[0]=='string'){
|
}
|
||||||
this.form.labelList= this.processForm.labelList.map(item=>{
|
debugger
|
||||||
return JSON.parse(item)
|
if(this.processForm.labelList && typeof this.processForm.labelList[0]=='string'){
|
||||||
})
|
this.form.labelList= this.processForm.labelList.map(item=>{
|
||||||
}
|
return JSON.parse(item)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate:true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
downFile(id){
|
downFile(id){
|
||||||
if(this.formControl) return
|
if(this.formControl) return
|
||||||
this.$api.report.reportDownload({reportId:'',fileId:id}).then(res=>{
|
this.$api.report.reportDownload({reportId:null,fileId:id}).then(res=>{
|
||||||
downloadFile(res)
|
downloadFile(res)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user