Commit 3b68935f authored by 李苏's avatar 李苏 💬

preview

parent 0d094969
......@@ -84,6 +84,7 @@
doQuerytree
} from "@/api/basicData/operationDcManagement.js";
import {
autoAttachPreview,
autoAttach,
autoAttachDownload,
deleteAttachDownload,
......@@ -163,7 +164,7 @@
this.$warning('该文件不支持预览,请直接下载')
return
}
autoAttachDownload({},'aqgl/jcsj/bzzywd',row.fileId).then(res=>{
autoAttachPreview({},'aqgl/jcsj/bzzywd',row.fileId).then(res=>{
if(res.type=='application/json'){
this.$warning('您没有权限,请联系系统管理员!')
return
......
......@@ -84,6 +84,7 @@
doQuerytree
} from "@/api/basicData/securityDocumentManagement.js";
import {
autoAttachPreview,
autoAttach,
autoAttachDownload,
deleteAttachDownload,
......@@ -161,7 +162,7 @@
this.$warning('该文件不支持预览,请直接下载')
return
}
autoAttachDownload({},'aqgl/jcsj/aqwd',row.fileId).then(res=>{
autoAttachPreview({},'aqgl/jcsj/aqwd',row.fileId).then(res=>{
if(res.type=='application/json'){
this.$warning('您没有权限,请联系系统管理员!')
return
......
......@@ -87,6 +87,7 @@
doQuerytree
} from "@/api/contingency/planManage.js";
import {
autoAttachPreview,
autoAttach,
autoAttachDownload,
deleteAttachDownload,
......@@ -161,7 +162,7 @@
this.$warning('该文件不支持预览,请直接下载')
return
}
autoAttachDownload({},this.baseUrl,row.fileId).then(res=>{
autoAttachPreview({},this.baseUrl,row.fileId).then(res=>{
if(res.type=='application/json'){
this.$warning('您没有权限,请联系系统管理员!')
return
......
......@@ -84,6 +84,7 @@
doQuerytree
} from "@/api/daily/nros.js";
import {
autoAttachPreview,
autoAttach,
autoAttachDownload,
deleteAttachDownload,
......@@ -163,7 +164,7 @@
this.$warning('该文件不支持预览,请直接下载')
return
}
autoAttachDownload({},'aqgl/rcgl/fcgzybz',row.fileId).then(res=>{
autoAttachPreview({},'aqgl/rcgl/fcgzybz',row.fileId).then(res=>{
if(res.type=='application/json'){
this.$warning('您没有权限,请联系系统管理员!')
return
......
......@@ -84,6 +84,7 @@
doQuerytree
} from "@/api/outsourcingDirector/approve.js";
import {
autoAttachPreview,
autoAttach,
autoAttachDownload,
deleteAttachDownload,
......@@ -162,7 +163,7 @@
this.$warning('该文件不支持预览,请直接下载')
return
}
autoAttachDownload({},'aqgl/wxglxy',row.fileId).then(res=>{
autoAttachPreview({},'aqgl/wxglxy',row.fileId).then(res=>{
if(res.type=='application/json'){
this.$warning('您没有权限,请联系系统管理员!')
return
......
......@@ -84,6 +84,7 @@
doQuerytree
} from "@/api/outsourcingDirector/declare.js";
import {
autoAttachPreview,
autoAttach,
autoAttachDownload,
deleteAttachDownload,
......@@ -163,7 +164,7 @@
this.$warning('该文件不支持预览,请直接下载')
return
}
autoAttachDownload({},'aqgl/wxglzd',row.fileId).then(res=>{
autoAttachPreview({},'aqgl/wxglzd',row.fileId).then(res=>{
if(res.type=='application/json'){
this.$warning('您没有权限,请联系系统管理员!')
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment