分标委在研项目文件预览url调整
This commit is contained in:
@@ -98,7 +98,7 @@ export default {
|
|||||||
handlePreview(record) {
|
handlePreview(record) {
|
||||||
if (this.isCommittee) {
|
if (this.isCommittee) {
|
||||||
if (record && record.FILE_ID) {
|
if (record && record.FILE_ID) {
|
||||||
const fileFullUrl = `${ window._CONFIG['domianWebSocketURL'] }/sys/common/download/${ record.FILE_ID }?token=${ Vue.ls.get(ACCESS_TOKEN) }&fullfilename=${ record.FILE_NAME }`
|
const fileFullUrl = `${window._CONFIG['domianWebSocketURL']}/payResearchProject/payResearchProject/downLoad/?fileId=${record.FILE_ID}&token=${Vue.ls.get(ACCESS_TOKEN)}&fileName=${record.FILE_NAME}`
|
||||||
let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${ encodeURIComponent(fileFullUrl) }`
|
let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${ encodeURIComponent(fileFullUrl) }`
|
||||||
window.open(url)
|
window.open(url)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user