MrShi
2025-12-19 84f38a6579222155df2fad674afa6ac732fb3ac3
admin/src/views/business/admissionStatistics.vue
@@ -167,19 +167,22 @@
      getReportLists() {
        getReportList({ dateStr: this.date1, isGroupBy: this.isGroupBy, type: 1 })
          .then(res => {
            if (!res || res.length === 0) {
            if (res.length === 0) {
              this.column = []
              this.list = []
              return
            }
              this.column = res[0]
              this.list = res.slice(1).map(row => {
                const obj = {};
                this.column.forEach((header, index) => {
                  obj[header] = row[index];
                });
                return obj;
            this.column = res[0]
            this.list = res.slice(1).map(row => {
              const obj = {};
              this.column.forEach((header, index) => {
                obj[header] = row[index];
              });
              return obj;
            });
            // if (res.length === 0) {
            //   this.column = []
            //   this.list = []
@@ -501,7 +504,7 @@
        .main_table {
            display: flex;
            align-items: flex-start;
            align-items: start;
            justify-content: space-between;
            margin-top: 10px;
            .main_table_list {