admin/src/views/business/admissionStatistics.vue
@@ -167,20 +167,12 @@ getReportLists() { getReportList({ dateStr: this.date1, isGroupBy: this.isGroupBy, type: 1 }) .then(res => { <<<<<<< HEAD if (!res || res.length === 0) { ======= if (res.length === 0) { >>>>>>> 5e91539195106afc3a03e7bd006786409ecd9b5d this.column = [] this.list = [] return } <<<<<<< HEAD this.column = res[0] ======= >>>>>>> 5e91539195106afc3a03e7bd006786409ecd9b5d this.list = res.slice(1).map(row => { const obj = {}; this.column.forEach((header, index) => {