Merge branch 'develop' into 'FOTON'
Develop See merge request LAWS/laws-system-front-FOTON!260
This commit is contained in:
@@ -382,14 +382,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
downloadFileByWater(attId, fileSuffix) {
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
} else {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -452,14 +452,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
downloadFileByWater(attId, fileSuffix) {
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
} else {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -880,6 +880,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.qdform = item.form
|
this.qdform = item.form
|
||||||
this.dataList =item.form.dataList
|
this.dataList =item.form.dataList
|
||||||
|
this.commentText = item.commentText
|
||||||
this.detailedId = item.form.detailedListId;
|
this.detailedId = item.form.detailedListId;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -889,6 +889,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.qdform = item.form
|
this.qdform = item.form
|
||||||
this.dataList =item.form.dataList
|
this.dataList =item.form.dataList
|
||||||
|
this.commentText = item.commentText
|
||||||
this.detailedId = item.form.detailedListId;
|
this.detailedId = item.form.detailedListId;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -883,6 +883,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.qdform = item.form
|
this.qdform = item.form
|
||||||
this.dataList =item.form.dataList
|
this.dataList =item.form.dataList
|
||||||
|
this.commentText = item.commentText
|
||||||
this.detailedId = item.form.detailedListId;
|
this.detailedId = item.form.detailedListId;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user