fuliqi
2024-11-05 76ab72d2d4f443060448e20bb74230a8040b85f5
src/views/home/data-check/index.vue
@@ -16,15 +16,9 @@
          </div>
        </div>
        <el-table :data="tableData" style="width: 100%" height="350">
          <el-table-column label="排名" align="center">
            <template slot-scope="scope">
              <span>{{ scope.row.index }}</span>
            </template>
          </el-table-column>
          <el-table-column prop="deptName" label="区域" align="center" show-overflow-tooltip>
          </el-table-column>
          <el-table-column prop="score" label="分数" align="center">
          </el-table-column>
          <el-table-column type="index" label="排名" align="center" />
          <el-table-column prop="deptName" label="区域" align="center" show-overflow-tooltip />
          <el-table-column prop="score" label="分数" align="center" />
        </el-table>
      </div>
    </el-card>
@@ -43,7 +37,7 @@
    }
  },
  mounted() {
    calculate(this.category);
    this.calculate(this.category);
  },
  methods: {
    calculate(category) {