408249787 преди 2 години
родител
ревизия
b9d974d8c9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>