【修改】带出部门
This commit is contained in:
@@ -254,31 +254,32 @@ export default {
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
processForm(val) {
|
||||
this.form = this.processForm
|
||||
|
||||
if(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.labelList && typeof this.processForm.labelList[0]=='string'){
|
||||
this.form.labelList= this.processForm.labelList.map(item=>{
|
||||
return JSON.parse(item)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
processForm:{
|
||||
handler(val) {
|
||||
this.form = this.processForm
|
||||
console.log("变化了",this.form)
|
||||
if(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)
|
||||
}
|
||||
debugger
|
||||
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: {
|
||||
|
||||
downFile(id){
|
||||
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)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user