Merge branch '' of E:\Software\rtpro\Foton\New_Pro\laws-system-front-FOTON with conflicts.

This commit is contained in:
super_liu
2022-03-31 15:37:12 +08:00
parent 41aa90ef93
commit d18f877baa
176 changed files with 353 additions and 353 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ export function updateMeet(data) {
// 上传接口 // 上传接口
export function upFile(data) { export function upFile(data) {
return axios({ return axios({
url: '/api/att/attFile/upload', url: '/api/att/attFile/uploadNew',
method: 'post', method: 'post',
data data
}) })
+1 -1
View File
@@ -351,7 +351,7 @@ export default {
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -480,7 +480,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -490,7 +490,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -491,7 +491,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -323,7 +323,7 @@ export default {
}, },
saveFile (attId) { saveFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -176,7 +176,7 @@
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = window.location.href =
"/api/att/attFile/downloadFileForSar?fileId=" + attId; "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -2523,7 +2523,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -2541,7 +2541,7 @@ export default {
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 + '&userId=' + this.$store.getters.userInfo.userId window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -712,7 +712,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -722,7 +722,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -1614,7 +1614,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -1624,7 +1624,7 @@ export default {
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 + '&userId=' + this.$store.getters.userInfo.userId window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -3177,7 +3177,7 @@ export default {
}, },
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -3207,7 +3207,7 @@ export default {
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 + '&userId=' + this.$store.getters.userInfo.userId window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
+2 -2
View File
@@ -2085,7 +2085,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -2095,7 +2095,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
+2 -2
View File
@@ -2236,7 +2236,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -2246,7 +2246,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -2058,7 +2058,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -2068,7 +2068,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
+1 -1
View File
@@ -521,7 +521,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
@@ -513,7 +513,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$Message.error('请选择要下载的文件') this.$Message.error('请选择要下载的文件')
} }
@@ -657,7 +657,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$Message.error('请选择要下载的文件') this.$Message.error('请选择要下载的文件')
} }
@@ -292,7 +292,7 @@ export default {
}, },
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$Message.error('请选择要下载的文件') this.$Message.error('请选择要下载的文件')
} }
@@ -1033,7 +1033,7 @@ export default {
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -66,7 +66,7 @@ export default {
methods: { methods: {
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -67,7 +67,7 @@ export default {
methods: { methods: {
downloadFile (attId) { downloadFile (attId) {
if (attId != null && attId !== '') { if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -360,7 +360,7 @@
clickButtonToUpload (file) { clickButtonToUpload (file) {
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -364,7 +364,7 @@ export default {
clickButtonToUpload (file) { clickButtonToUpload (file) {
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -673,7 +673,7 @@ export default {
filesUpload (file) { // 下载 filesUpload (file) { // 下载
const attId = file.id const attId = file.id
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -339,7 +339,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
@@ -594,7 +594,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -427,7 +427,7 @@ export default {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
if (type === 'down') { if (type === 'down') {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$preview(attId) this.$preview(attId)
} }
@@ -629,7 +629,7 @@ export default {
handlePreview(file) { handlePreview(file) {
let attId = file.id let attId = file.id
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
@@ -773,7 +773,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -338,7 +338,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
selectedDelete(val) { selectedDelete(val) {
@@ -365,7 +365,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
selectedDelete(val) { selectedDelete(val) {
@@ -343,21 +343,21 @@ export default {
handleOnPreview(file) { handleOnPreview(file) {
let attId = file.id let attId = file.id
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
// //
onPreviewTheme(file) { onPreviewTheme(file) {
let attId = file.id let attId = file.id
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
// //
onPreviewOther(file) { onPreviewOther(file) {
let attId = file.id let attId = file.id
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
@@ -614,7 +614,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.id const attId = file.id
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -393,7 +393,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -450,7 +450,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -375,7 +375,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -552,7 +552,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -440,7 +440,7 @@ export default {
previews(val) { previews(val) {
let attId = val let attId = val
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
} }
@@ -605,7 +605,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -616,7 +616,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -671,7 +671,7 @@ export default {
handleOnPreview(file) { handleOnPreview(file) {
let attId = file.id let attId = file.id
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
// //
@@ -428,7 +428,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -439,7 +439,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -378,7 +378,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -388,7 +388,7 @@ export default {
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 + '&userId=' + this.$store.getters.userInfo.userId window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -685,7 +685,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -696,7 +696,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -751,7 +751,7 @@ export default {
handleOnPreview(file) { handleOnPreview(file) {
let attId = file.id let attId = file.id
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} }
}, },
getData() { getData() {
@@ -447,7 +447,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -457,7 +457,7 @@ export default {
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 + '&userId=' + this.$store.getters.userInfo.userId window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
@@ -1021,25 +1021,25 @@ export default {
if (this.fbgbjbdFileId.search(',')) { if (this.fbgbjbdFileId.search(',')) {
this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", ""); this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", "");
} }
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fbgbjbdFileId
} else if (fileType === 'xgd') { } else if (fileType === 'xgd') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.xgdFileId
} else if (fileType === 'bpg') { } else if (fileType === 'bpg') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.bpgFileId
} else if (fileType === 'ssg') { } else if (fileType === 'ssg') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.ssgFileId
} else if (fileType === 'zqyjg') { } else if (fileType === 'zqyjg') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zqyjgFileId
} else if (fileType === 'jdwj') { } else if (fileType === 'jdwj') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.jdwjFileId
} else if (fileType === 'kwj') { } else if (fileType === 'kwj') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.kwjFileId
} else if (fileType === 'glwj') { } else if (fileType === 'glwj') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.glwjFileId
} else if (fileType === 'ca') { } else if (fileType === 'ca') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.caFileId
} else if (fileType === 'zbjbd') { } else if (fileType === 'zbjbd') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zbjbdFileId
} }
}, },
getRule() { getRule() {
@@ -986,26 +986,26 @@ export default {
}, },
downloadFile (fileType,fileId) { downloadFile (fileType,fileId) {
if(fileType === 'fbgbjbd'){ if(fileType === 'fbgbjbd'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'xgd'){ }else if(fileType === 'xgd'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'bpg'){ }else if(fileType === 'bpg'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'ssg'){ }else if(fileType === 'ssg'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'zqyjg'){ }else if(fileType === 'zqyjg'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'jdwj'){ }else if(fileType === 'jdwj'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'kwj'){ }else if(fileType === 'kwj'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'glwj'){ }else if(fileType === 'glwj'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'ca'){ }else if(fileType === 'ca'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
}else if(fileType === 'zbjbd'){ }else if(fileType === 'zbjbd'){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
} }
}, },
popoverHide (checkedIds, checkedData) { popoverHide (checkedIds, checkedData) {
@@ -870,25 +870,25 @@ export default {
this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", ""); this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", "");
console.log(this.fbgbjbdFileId); console.log(this.fbgbjbdFileId);
} }
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fbgbjbdFileId
} else if (fileType === 'xgd') { } else if (fileType === 'xgd') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.xgdFileId
} else if (fileType === 'bpg') { } else if (fileType === 'bpg') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.bpgFileId
} else if (fileType === 'ssg') { } else if (fileType === 'ssg') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.ssgFileId
} else if (fileType === 'zqyjg') { } else if (fileType === 'zqyjg') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zqyjgFileId
} else if (fileType === 'jdwj') { } else if (fileType === 'jdwj') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.jdwjFileId
} else if (fileType === 'kwj') { } else if (fileType === 'kwj') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.kwjFileId
} else if (fileType === 'glwj') { } else if (fileType === 'glwj') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.glwjFileId
} else if (fileType === 'ca') { } else if (fileType === 'ca') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.caFileId
} else if (fileType === 'zbjbd') { } else if (fileType === 'zbjbd') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zbjbdFileId
} }
}, },
popoverHide(checkedIds, checkedData) { popoverHide(checkedIds, checkedData) {
@@ -508,7 +508,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -305,7 +305,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -516,7 +516,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -248,7 +248,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -410,7 +410,7 @@
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -494,7 +494,7 @@
this.modalshowflag2 = false this.modalshowflag2 = false
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -328,7 +328,7 @@
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -354,7 +354,7 @@
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -320,7 +320,7 @@
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -346,7 +346,7 @@
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -415,7 +415,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -567,7 +567,7 @@ export default {
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -419,7 +419,7 @@
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -494,7 +494,7 @@
} }
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
if(this.clickFlag){ if(this.clickFlag){
@@ -368,7 +368,7 @@
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -385,7 +385,7 @@
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -337,7 +337,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -354,7 +354,7 @@ export default {
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -337,7 +337,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -354,7 +354,7 @@ export default {
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -337,7 +337,7 @@ export default {
filesUpload (file) { // filesUpload (file) { //
const attId = file.attId const attId = file.attId
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -354,7 +354,7 @@ export default {
this.itermsConditionsTitle = row this.itermsConditionsTitle = row
}, },
downloadFile (attId) { downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
}, },
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
@@ -531,7 +531,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -542,7 +542,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -517,7 +517,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -528,7 +528,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -469,7 +469,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -480,7 +480,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -410,7 +410,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -421,7 +421,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -480,7 +480,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -491,7 +491,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -808,7 +808,7 @@ export default {
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -818,7 +818,7 @@ export default {
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -801,7 +801,7 @@ export default {
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -811,7 +811,7 @@ export default {
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -1307,7 +1307,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -1318,7 +1318,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -354,7 +354,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -365,7 +365,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -696,7 +696,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -707,7 +707,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -663,7 +663,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -674,7 +674,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -762,7 +762,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -773,7 +773,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -662,7 +662,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -673,7 +673,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -758,7 +758,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -769,7 +769,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -443,7 +443,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -454,7 +454,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -775,7 +775,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -786,7 +786,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -435,7 +435,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -446,7 +446,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -462,7 +462,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -473,7 +473,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -462,7 +462,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -473,7 +473,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -462,7 +462,7 @@ export default {
*/ */
downloadFile(attId) { downloadFile(attId) {
if (attId != null && attId !== "") { if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -473,7 +473,7 @@ export default {
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/downloadFileForSarWaterMarkNew?fileId=" + attId;
} else { } else {
this.$message.error("请选择要下载的文件"); this.$message.error("请选择要下载的文件");
} }
@@ -860,7 +860,7 @@
this.dialogVisible = false this.dialogVisible = false
}, },
down(){ down(){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fileId
this.dialogVisible = false this.dialogVisible = false
}, },
// //
@@ -873,7 +873,7 @@
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -883,7 +883,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -596,7 +596,7 @@
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -606,7 +606,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -599,7 +599,7 @@
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -609,7 +609,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -2608,7 +2608,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1884,7 +1884,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1942,7 +1942,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1884,7 +1884,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1942,7 +1942,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1884,7 +1884,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1942,7 +1942,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -2048,7 +2048,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2126,7 +2126,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1992,7 +1992,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2050,7 +2050,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1916,7 +1916,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1966,7 +1966,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -2099,7 +2099,7 @@
const attId = file.footFile const attId = file.footFile
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2117,7 +2117,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2172,7 +2172,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1883,7 +1883,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1941,7 +1941,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -2302,7 +2302,7 @@
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2315,7 +2315,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2384,7 +2384,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -2201,7 +2201,7 @@
const attId = file.footFile const attId = file.footFile
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2219,7 +2219,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2274,7 +2274,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1962,7 +1962,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2020,7 +2020,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1884,7 +1884,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1942,7 +1942,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1884,7 +1884,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1942,7 +1942,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -2100,7 +2100,7 @@
const attId = file.footFile const attId = file.footFile
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2118,7 +2118,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2173,7 +2173,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -2212,7 +2212,7 @@
const attId = file.footFile const attId = file.footFile
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2230,7 +2230,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2285,7 +2285,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -1826,7 +1826,7 @@
const attId = file.response.data.id const attId = file.response.data.id
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1884,7 +1884,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
fileUpload (type) { fileUpload (type) {
this.fileType = ''; this.fileType = '';
@@ -894,7 +894,7 @@ export default {
this.dialogVisible = false this.dialogVisible = false
}, },
down(){ down(){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fileId
this.dialogVisible = false this.dialogVisible = false
}, },
// //
@@ -907,7 +907,7 @@ export default {
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -917,7 +917,7 @@ export default {
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -585,7 +585,7 @@ export default {
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -595,7 +595,7 @@ export default {
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -595,7 +595,7 @@
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -605,7 +605,7 @@
}, },
downloadFile (data) { downloadFile (data) {
//id',', //id',',
window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {

Some files were not shown because too many files have changed in this diff Show More