feat: There is no way the, plan lxd

This commit is contained in:
super_liu
2022-01-18 16:13:56 +08:00
parent 68471bda31
commit dae0e83a6c
5 changed files with 110 additions and 3 deletions
@@ -502,10 +502,13 @@ export default {
handleFilePreview(file,type) {
let id = ""
let fileName = ""
let fileNam2 = ""
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
fileName = this.qbfsForm.esName+'-立项单.docx'
fileNam2 = this.qbfsForm.esName+'-立项单'
}else {
fileName = '立项单.docx'
fileNam2 = '立项单'
}
if(file && file.id){
id = file.id
@@ -519,9 +522,9 @@ export default {
this.$message.warning('文件不存在,下载失败')
}
} else if(type === 'preview'){
this.$onlinePreview(id)
this.$onlineEditPreview(id,fileNam2,this.$store.getters.userInfo.userId,this.$store.getters.userInfo.userName)
}else {
this.$onlineEdit(id,'立项单',this.$store.getters.userInfo.userId,this.$store.getters.userInfo.userName)
this.$onlineEdit(id,fileNam2,this.$store.getters.userInfo.userId,this.$store.getters.userInfo.userName)
}
},
//体系结构单选
@@ -380,7 +380,6 @@ export default {
})
},
methods:{
// 文件预览及下载
handleFilePreview(file,type) {
let id = ""