[update] 国标、外标、企标详情页下载接口替换
This commit is contained in:
@@ -320,11 +320,11 @@ export default {
|
|||||||
},
|
},
|
||||||
handleDownload (file) {
|
handleDownload (file) {
|
||||||
// 下载文件
|
// 下载文件
|
||||||
downloadFile(`/sys/common/download/${file.id}`, file.fileName)
|
downloadFile(`/sys/common/devEncryptDownload/${file.id}`, file.fileName)
|
||||||
},
|
},
|
||||||
// 过程稿件里的无水印下载
|
// 过程稿件里的无水印下载
|
||||||
downloadDraftNoWater (file) {
|
downloadDraftNoWater (file) {
|
||||||
downloadFile(`/sys/common/downloadWithoutWaterMark/${file.id}`, file.fileName)
|
downloadFile(`/sys/common/devEncryptDownloadWithoutWaterMark/${file.id}`, file.fileName)
|
||||||
},
|
},
|
||||||
// 企标评价
|
// 企标评价
|
||||||
handleEvaluate () {
|
handleEvaluate () {
|
||||||
|
|||||||
@@ -427,14 +427,14 @@ export default {
|
|||||||
*/
|
*/
|
||||||
handleDownload (file) {
|
handleDownload (file) {
|
||||||
// 下载文件
|
// 下载文件
|
||||||
downloadFile(`/sys/common/downloadWithoutWaterMark/${file.id}`, file.fileName)
|
downloadFile(`/sys/common/noEncryptDownloadWithoutWaterMark/${file.id}`, file.fileName)
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 有水印下载
|
* 有水印下载
|
||||||
* @param file
|
* @param file
|
||||||
*/
|
*/
|
||||||
handleWatermarkedDownload (file) {
|
handleWatermarkedDownload (file) {
|
||||||
downloadFile(`/sys/common/download/${file.id}`, file.fileName)
|
downloadFile(`/sys/common/noEncryptDownload/${file.id}`, file.fileName)
|
||||||
},
|
},
|
||||||
async toStandardDetailPage (standardNumber) {
|
async toStandardDetailPage (standardNumber) {
|
||||||
const standardInfo = await queryStandardInfoByStandardNumber(standardNumber)
|
const standardInfo = await queryStandardInfoByStandardNumber(standardNumber)
|
||||||
|
|||||||
Reference in New Issue
Block a user