|
@@ -127,7 +127,7 @@
|
|
|
label="案例分类"
|
|
|
min-width="20"
|
|
|
align="center"
|
|
|
- v-if="tType == 2"
|
|
|
+ v-if="['0','2'].includes(tType)"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>{{ scope.row.typename ? scope.row.typename : "-" }}</div>
|
|
@@ -244,7 +244,7 @@
|
|
|
</template>
|
|
|
</el-table-column> -->
|
|
|
<el-table-column
|
|
|
- label="时间"
|
|
|
+ label="评分时间"
|
|
|
min-width="10"
|
|
|
align="center"
|
|
|
v-if="tType == 2"
|
|
@@ -253,7 +253,7 @@
|
|
|
<div>{{ scope.row.scoreTime ? scope.row.scoreTime : "-" }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" min-width="20">
|
|
|
+ <el-table-column label="操作" min-width="20" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="tableButton">
|
|
|
<div
|
|
@@ -313,7 +313,7 @@
|
|
|
>
|
|
|
</el-pagination>
|
|
|
|
|
|
- <el-tooltip v-if="tType=='2'" effect="light" :content="`一等90分以上 占比30%,二等75-89 占比40%,三等60-74 占比30%`" placement="top">
|
|
|
+ <el-tooltip v-if="tType=='2'" effect="light" :content="`评分比例为一等90分以上占比30%,二等 75-89分占比40%,三等60-74分占比30%`" placement="top-start">
|
|
|
<div class="rating_information">
|
|
|
<div class="ri-card" :style="`background-color: ${Math.abs(30-ratingData.one[1])<=5?'#E2F0D9':'#FCE4D6'}`">90分以上:{{ratingData.one[0]}}个 {{ratingData.one[1]}}%</div>
|
|
|
<div class="ri-card" :style="`background-color: ${Math.abs(40-ratingData.two[1])<=5?'#E2F0D9':'#FCE4D6'}`">89-75分:{{ratingData.two[0]}}个 {{ratingData.two[1]}}%</div>
|
|
@@ -323,7 +323,7 @@
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
|
|
|
- <el-tooltip v-if="tType=='0'" effect="light" :content="`一等90分以上 占比30%,二等75-89 占比40%,三等60-74 占比30%`" placement="top">
|
|
|
+ <el-tooltip v-if="tType=='0'" effect="light" :content="`评分比例为一等90分以上占比30%,二等 75-89分占比40%,三等60-74分占比30%`" placement="top-start">
|
|
|
<div class="rating_information">
|
|
|
<div class="ri-card" :style="`background-color: ${Math.abs(30-ratingData.one[1])<=5?'#E2F0D9':'#FCE4D6'}`">90分以上:{{ratingDataAdmin.one[0]}}个 {{ratingDataAdmin.one[1]}}%</div>
|
|
|
<div class="ri-card" :style="`background-color: ${Math.abs(40-ratingData.two[1])<=5?'#E2F0D9':'#FCE4D6'}`">89-75分:{{ratingDataAdmin.two[0]}}个 {{ratingDataAdmin.two[1]}}%</div>
|
|
@@ -547,11 +547,11 @@ export default {
|
|
|
|
|
|
five[0] = this.total-myScore.length;
|
|
|
|
|
|
- one[1] = (one[0]/this.total*100).toFixed(2)
|
|
|
- two[1] = (two[0]/this.total*100).toFixed(2)
|
|
|
- three[1] = (three[0]/this.total*100).toFixed(2)
|
|
|
- four[1] = (four[0]/this.total*100).toFixed(2)
|
|
|
- five[1] = (five[0]/this.total*100).toFixed(2)
|
|
|
+ one[1] = (one[0]/this.total*100).toFixed(1)
|
|
|
+ two[1] = (two[0]/this.total*100).toFixed(1)
|
|
|
+ three[1] = (three[0]/this.total*100).toFixed(1)
|
|
|
+ four[1] = (four[0]/this.total*100).toFixed(1)
|
|
|
+ five[1] = (five[0]/this.total*100).toFixed(1)
|
|
|
|
|
|
return {one:one,two:two,three:three,four:four,five:five}
|
|
|
},
|
|
@@ -580,11 +580,11 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
- one[1] = (one[0]/this.total*100).toFixed(2)
|
|
|
- two[1] = (two[0]/this.total*100).toFixed(2)
|
|
|
- three[1] = (three[0]/this.total*100).toFixed(2)
|
|
|
- four[1] = (four[0]/this.total*100).toFixed(2)
|
|
|
- five[1] = (five[0]/this.total*100).toFixed(2)
|
|
|
+ one[1] = (one[0]/this.total*100).toFixed(1)
|
|
|
+ two[1] = (two[0]/this.total*100).toFixed(1)
|
|
|
+ three[1] = (three[0]/this.total*100).toFixed(1)
|
|
|
+ four[1] = (four[0]/this.total*100).toFixed(1)
|
|
|
+ five[1] = (five[0]/this.total*100).toFixed(1)
|
|
|
|
|
|
return {one:one,two:two,three:three,four:four,five:five}
|
|
|
}
|