|
@@ -32,7 +32,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="得分" width="60" align="center">
|
|
|
<template #default="scope">
|
|
|
- <span :class="{'error':scope.row.score != scope.row.hlScore}">
|
|
|
+ <span :class="{'error':scope.row.score != scope.row.hlScore}" @click="handleScoreDetails(scope.row)">
|
|
|
{{scope.row.score}}
|
|
|
</span>
|
|
|
</template>
|
|
@@ -68,6 +68,10 @@ async function getDetail(){
|
|
|
hsData.value = res.data
|
|
|
}
|
|
|
|
|
|
+async function handleScoreDetails(row){
|
|
|
+ console.log({...row})
|
|
|
+}
|
|
|
+
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.time-detail-container{
|
|
@@ -76,8 +80,12 @@ async function getDetail(){
|
|
|
justify-content: space-between;
|
|
|
align-items: flex-start;
|
|
|
.error{
|
|
|
+ cursor: pointer;
|
|
|
color:#e43;
|
|
|
font-weight: bold;
|
|
|
+ &:hover{
|
|
|
+ text-decoration: underline;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|