|
@@ -23,7 +23,7 @@
|
|
|
<script>
|
|
|
import SearchBoxVue from '../frontHome/components/SearchBox.vue'
|
|
|
import TableBoxVue from '../frontHome/components/TableBox.vue'
|
|
|
-import { errorDataExport } from '@/api/excel'
|
|
|
+import { errorDataLCExport } from '@/api/excel'
|
|
|
import { dateFormat, getDaysInMonth } from '@/utils'
|
|
|
|
|
|
export default {
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
handelExport() {
|
|
|
- errorDataExport(this.searchData).then(res => {
|
|
|
+ errorDataLCExport({ ...this.searchData, is_export: 1}).then(res => {
|
|
|
const content = res.data; // 后台返回二进制数据
|
|
|
const blob = new Blob([content]);
|
|
|
const fileName = `缺陷问题.csv`;
|