408249787 %!s(int64=2) %!d(string=hai) anos
pai
achega
b9d974d8c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/repair/application-form/modules/DetailRepair.vue

+ 1 - 1
src/views/repair/application-form/modules/DetailRepair.vue

@@ -102,7 +102,7 @@
                 <div v-if="model.applicationFileList == null || model.applicationFileList.length === 0"> 暂无</div>
               </a-descriptions-item>
               <a-descriptions-item label="报修文件">
-                <a v-for="item in model.reportFileList" :key="item.id" :href="item.url" target="_blank">{{ item.name }}</a>
+                <a v-for="item in model.reportFileList" :key="item.id" :href="item.url" target="downloadFile" :download="item.name">{{ item.name }}</a>
               </a-descriptions-item>
             </a-descriptions>
           </div>