影像汇总下载文件压缩包名称修改
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-01 17:14:46 +08:00
parent acf98885c6
commit 282da9bdf0
@@ -211,7 +211,7 @@ export default {
// 格式化下载文件路径
formatDownloadFile(IsKeyImage = false, row) {
let files = [],
name = `${this.$route.query.researchProgramNo}.zip`;
name = `${this.$route.query.researchProgramNo}_${this.$t('trials:imageSummary:downloadname:dicom')}_${Date.now()}.zip`;
if (!IsKeyImage) {
//中心ID/受试者ID/访视名/Study ID_Study Date_Modality/文件
row.VisitList.forEach(visit => {
@@ -250,6 +250,7 @@ export default {
})
} else {
//项目研究方案号(评估标准)/中心ID/受试者ID/访视名/阅片人角色-裁判选择标记/文件名
name = `${this.$route.query.researchProgramNo}_${this.$t('trials:imageSummary:downloadname:keyImage')}_${Date.now()}.zip`
row.forEach(item => {
['QuestionMarkPictureList', 'TableQuestionRowPictureList'].forEach(key => {
if (item[key] && item[key].length > 0) {