Parcourir la source

删除多余方法

ydf il y a 1 an
Parent
commit
5269c554df
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. 0 6
      src/views/dataStatistics/jiuz/dywz/index.vue

+ 0 - 6
src/views/dataStatistics/jiuz/dywz/index.vue

@@ -77,12 +77,6 @@ const getList = () => {
77 77
     }
78 78
   });
79 79
 };
80
-const exportToExcel = () => {  
81
-  const wb = XLSX.utils.table_to_book(document.querySelector("#printTest"))
82
-  const wbout = XLSX.write(wb, { bookType: 'xlsx', bookSST: true, type: 'array' })
83
-  const blob = new Blob([wbout], { type: 'application/octet-stream' })
84
-  saveAs(blob, `救灾调用物资统计表.xlsx`)
85
-};
86 80
 interface SpanMethodProps {
87 81
   rowIndex: number
88 82
   columnIndex: number