|
@@ -16,7 +16,7 @@
|
|
|
</template>
|
|
|
<el-row class="yearFrom">
|
|
|
<el-col :span="evaluationYearDataRight.length>0?12:24" :style="evaluationYearDataRight.length>0?'border-right: 1px solid #E1E3EA;': ''">
|
|
|
- <div class="yearFromHeader">
|
|
|
+ <!-- <div class="yearFromHeader">
|
|
|
<div class="headerNameTit" :style="winPix === 1.25?'padding: 8px 45px 8px 20px;':''">
|
|
|
<div class="headerNameTit_left">
|
|
|
<span>排名</span>
|
|
@@ -37,10 +37,20 @@
|
|
|
<span :style="winPix === 1.25 || innerWidth < 1920?'width:20%':''">{{item.score}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
+ <el-table :data="evaluationYearDataLeft" style="width: 100%">
|
|
|
+ <el-table-column label="排名" prop="rank" width="50" align="center" />
|
|
|
+ <el-table-column label="单位名称" prop="company">
|
|
|
+ <template #default="scope">
|
|
|
+ <span class="companyStyle">{{scope.row.company}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="级别" prop="grade" align="center" width="50" />
|
|
|
+ <el-table-column label="得分" prop="score" align="center" width="120" />
|
|
|
+ </el-table>
|
|
|
</el-col>
|
|
|
<el-col :span="12" v-if="evaluationYearDataRight.length>0">
|
|
|
- <div class="yearFromHeader">
|
|
|
+ <!-- <div class="yearFromHeader">
|
|
|
<div class="headerNameTit" :style="winPix === 1.25 || innerWidth < 1920?'padding: 8px 45px 8px 20px;':''">
|
|
|
<div class="headerNameTit_left">
|
|
|
<span>排名</span>
|
|
@@ -61,7 +71,17 @@
|
|
|
<span :style="winPix === 1.25 || innerWidth < 1920?'width:20%':''">{{item.score}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
+ <el-table :data="evaluationYearDataRight" style="width: 100%">
|
|
|
+ <el-table-column label="排名" prop="rank" width="50" align="center" />
|
|
|
+ <el-table-column label="单位名称" prop="company">
|
|
|
+ <template #default="scope">
|
|
|
+ <span class="companyStyle">{{scope.row.company}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="级别" prop="grade" align="center" width="50" />
|
|
|
+ <el-table-column label="得分" prop="score" align="center" width="120" />
|
|
|
+ </el-table>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-dialog>
|
|
@@ -278,6 +298,21 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .el-table{
|
|
|
+ .el-table__inner-wrapper{
|
|
|
+ .el-table__body-wrapper{
|
|
|
+ .el-table__body{
|
|
|
+ .companyStyle{
|
|
|
+ width: 100%;
|
|
|
+ display: inline-block;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|