[update] 国标、外标、企标详情页下载接口替换

This commit is contained in:
lideqin
2024-03-19 11:17:29 +08:00
parent df68898e57
commit 57101a5b99
2 changed files with 4 additions and 4 deletions
@@ -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)