Parcourir la source

修复导出名称

lighter il y a 3 ans
Parent
commit
880488c478
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/views/examination/CovidExamResult.vue

+ 2 - 2
src/views/examination/CovidExamResult.vue

@@ -133,7 +133,7 @@ export default {
         let fileName
         let title
         if (type.value === 3) {
-          fileName = '新冠流调问卷.xlsx'
+          fileName = '新冠流调问卷'
           title = {
             ptntName: '姓名',
             idCard: '身份证',
@@ -156,7 +156,7 @@ export default {
               item.ordrCreateDate = item.ordrCreateDate.substring(0, 16)
             }
           })
-          fileName = type.value === 1 ? '新冠核酸检测.xlsx' : '新冠抗体检测.xlsx'
+          fileName = type.value === 1 ? '新冠核酸检测' : '新冠抗体检测'
           title = {
             ptntName: '姓名',
             idCard: '身份证',