Browse Source

修复导出名称

lighter 3 years ago
parent
commit
880488c478
1 changed files with 2 additions and 2 deletions
  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: '身份证',