<el-table-column label="交卷数" show-overflow-tooltip>
<template slot-scope="scope">
<p>
交卷数:
<span>{{scope.row.hand}}</span>/
<span>{{scope.row.all}}</span>
</p>
<el-progress :percentage="Math.ceil(scope.row.hand/scope.row.all*100)"></el-progress>
</template>
</el-table-column>
data: [
{
type: "1",
name: "王小虎",
info: "工商管理第一次测试",
startTime: "07月09日 09:14",
endTime: "07月10日 09:14",
hand: "1",
all: "50",
id: "82820181"
},
{
type: "2",
name: "王小虎",
info: "电子技术工程第一次测试",
startTime: "07月09日 09:14",
endTime: "07月10日 09:14",
hand: "48",
all: "65",
id: "82830181"
},
{
type: "1",
name: "王小虎",
info: "工程信息第一次测试",
startTime: "07月09日 09:14",
endTime: "07月10日 09:14",
hand: "25",
all: "32",
id: "82820181"
},
{
type: "2",
name: "王小虎",
info: "工程信息第一次测试",
startTime: "07月09日 09:14",
endTime: "07月10日 09:14",
hand: "20",
all: "44",
id: "82881181"
}
],
作者:sun shying
链接:https://juejin.cn/post/6844903893147762701