feat: There is no way the, 56527 立项单-下载,下载完成后空白文件
This commit is contained in:
@@ -1357,15 +1357,31 @@
|
||||
drafterName: command[0].drafterName, // 起草人
|
||||
drafter: command[0].drafter,
|
||||
}
|
||||
this.addForm.LXD = command[0].lxd
|
||||
let fileName1 = ""
|
||||
if(this.addForm.esName && this.addForm.esName !== ''){
|
||||
fileName1 = this.addForm.esName+'-立项单'
|
||||
if(command[0].lxd && command[0].lxd !== 'null'){
|
||||
this.addForm.LXD = command[0].lxd
|
||||
let fileName1 = ""
|
||||
if(this.addForm.esName && this.addForm.esName !== ''){
|
||||
fileName1 = this.addForm.esName+'-立项单'
|
||||
}else {
|
||||
fileName1 = '立项单'
|
||||
}
|
||||
this.addForm.lxdName = fileName1
|
||||
this.LXDList=this.assemble(command[0].lxd,fileName1)
|
||||
}else {
|
||||
fileName1 = '立项单'
|
||||
this.$http.get('/lawss/activiti/saveEditFile', {
|
||||
model: 'model_lx'
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res){
|
||||
this.addForm.lxd = res.id
|
||||
this.addForm.lxdName = '立项单'
|
||||
this.LXDList=this.assemble(res.id,'立项单');
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
this.addForm.lxdName = fileName1
|
||||
this.LXDList=this.assemble(command[0].lxd,fileName1)
|
||||
|
||||
if (typeof (this.addForm.area) === 'string') {
|
||||
this.addForm.area = command[0].area.split(',')
|
||||
}
|
||||
@@ -1399,14 +1415,30 @@
|
||||
this.addDrawer = true
|
||||
this.addForm = command[0]
|
||||
this.addForm.LXD = command[0].lxd
|
||||
let fileName = ""
|
||||
if(this.addForm.esName && this.addForm.esName !== ''){
|
||||
fileName = this.addForm.esName+'-立项单'
|
||||
if(command[0].lxd && command[0].lxd !== 'null'){
|
||||
this.addForm.LXD = command[0].lxd
|
||||
let fileName1 = ""
|
||||
if(this.addForm.esName && this.addForm.esName !== ''){
|
||||
fileName1 = this.addForm.esName+'-立项单'
|
||||
}else {
|
||||
fileName1 = '立项单'
|
||||
}
|
||||
this.addForm.lxdName = fileName1
|
||||
this.LXDList=this.assemble(command[0].lxd,fileName1)
|
||||
}else {
|
||||
fileName = '立项单'
|
||||
this.$http.get('/lawss/activiti/saveEditFile', {
|
||||
model: 'model_lx'
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res){
|
||||
this.addForm.lxd = res.id
|
||||
this.addForm.lxdName = '立项单'
|
||||
this.LXDList=this.assemble(res.id,'立项单');
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
this.addForm.lxdName = fileName
|
||||
this.LXDList=this.assemble(command[0].lxd,fileName);
|
||||
if (typeof (this.addForm.area) === 'string') {
|
||||
this.addForm.area = command[0].area.split(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user