|
|
@ -8,269 +8,270 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" |
|
|
|
<div v-loading="loading"> |
|
|
|
class="m-b-20"> |
|
|
|
|
|
|
|
<el-tabs v-model="classId" |
|
|
|
|
|
|
|
@tab-click="classChange"> |
|
|
|
|
|
|
|
<el-tab-pane v-for="(item, i) in classList" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:name="item.id" |
|
|
|
|
|
|
|
:label="item.className"></el-tab-pane> |
|
|
|
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" |
|
|
|
<el-card shadow="hover" |
|
|
|
class="m-b-20"> |
|
|
|
class="m-b-20"> |
|
|
|
<el-tabs v-model="curTab" |
|
|
|
<el-tabs v-model="classId" |
|
|
|
@tab-click="tabChange"> |
|
|
|
@tab-click="classChange"> |
|
|
|
<el-tab-pane v-for="(item) in tabs" |
|
|
|
<el-tab-pane v-for="(item, i) in classList" |
|
|
|
:label="item.name" |
|
|
|
:key="i" |
|
|
|
:name="item.id" |
|
|
|
:name="item.id" |
|
|
|
:key="item.id"></el-tab-pane> |
|
|
|
:label="item.className"></el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</el-tabs> |
|
|
|
<div class="stat"> |
|
|
|
|
|
|
|
<div class="nums"> |
|
|
|
<el-card shadow="hover" |
|
|
|
<div class="item"> |
|
|
|
class="m-b-20"> |
|
|
|
<p class="name">实验总人数</p> |
|
|
|
<el-tabs v-model="curTab" |
|
|
|
<p class="val">{{ peopleNum }}</p> |
|
|
|
@tab-click="tabChange"> |
|
|
|
</div> |
|
|
|
<el-tab-pane v-for="(item) in tabs" |
|
|
|
<div class="item item2"> |
|
|
|
:label="item.name" |
|
|
|
<p class="name">实验平均分</p> |
|
|
|
:name="item.id" |
|
|
|
<p class="val">{{ avgScore }}</p> |
|
|
|
:key="item.id"></el-tab-pane> |
|
|
|
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
<div class="stat"> |
|
|
|
|
|
|
|
<div class="nums"> |
|
|
|
|
|
|
|
<div class="item"> |
|
|
|
|
|
|
|
<p class="name">实验总人数</p> |
|
|
|
|
|
|
|
<p class="val">{{ peopleNum }}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="item item2"> |
|
|
|
|
|
|
|
<p class="name">实验平均分</p> |
|
|
|
|
|
|
|
<p class="val">{{ avgScore }}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="item item3"> |
|
|
|
|
|
|
|
<p class="name">实验最高分</p> |
|
|
|
|
|
|
|
<p class="val">{{ maxScore || 0 }}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="item item4"> |
|
|
|
|
|
|
|
<p class="name">实验最低分</p> |
|
|
|
|
|
|
|
<p class="val">{{ minScore || 0 }}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item item3"> |
|
|
|
<div class="chart" |
|
|
|
<p class="name">实验最高分</p> |
|
|
|
id="chart"></div> |
|
|
|
<p class="val">{{ maxScore || 0 }}</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="m-b-20"> |
|
|
|
|
|
|
|
<h6 style="font-size: 16px">错误率分析</h6> |
|
|
|
|
|
|
|
<div class="wrong"> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
|
|
|
|
<span class="jud-name">错误率最高:{{ max.projectName }}</span> |
|
|
|
|
|
|
|
<span>参加考试{{ permissions ? (max.numberOfParticipants || 0) : (max.quantityAfterWeightRemoval || 0) }}人 | {{ curTab == 1 ? `共${max.itemErrorCount || 0}人做错,` : '' }}错误率{{ max.errorRate || 0 }}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item item4"> |
|
|
|
<div class="line"> |
|
|
|
<p class="name">实验最低分</p> |
|
|
|
<span class="jud-name">错误率最低:{{ min.projectName }}</span> |
|
|
|
<p class="val">{{ minScore || 0 }}</p> |
|
|
|
<span>参加考试{{ permissions ? (min.numberOfParticipants || 0) : (min.quantityAfterWeightRemoval || 0) }}人 | {{ curTab == 1 ? `共${min.itemErrorCount || 0}人做错,` : '' }}错误率{{ min.errorRate || 0 }}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="chart" |
|
|
|
<div class="chart" |
|
|
|
id="chart"></div> |
|
|
|
id="chart1"></div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" |
|
|
|
<el-card shadow="hover"> |
|
|
|
class="m-b-20"> |
|
|
|
<div class="flex-between m-b-20"> |
|
|
|
<h6 style="font-size: 16px">错误率分析</h6> |
|
|
|
<div> |
|
|
|
<div class="wrong"> |
|
|
|
<el-input placeholder="请输入姓名/学号" |
|
|
|
<div class="line"> |
|
|
|
prefix-icon="el-icon-search" |
|
|
|
<span class="jud-name">错误率最高:{{ max.projectName }}</span> |
|
|
|
v-model="keyword" |
|
|
|
<span>参加考试{{ permissions ? (max.numberOfParticipants || 0) : (max.quantityAfterWeightRemoval || 0) }}人 | {{ curTab == 1 ? `共${max.itemErrorCount || 0}人做错,` : '' }}错误率{{ max.errorRate || 0 }}%</span> |
|
|
|
clearable></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
@click="exportData">导出成绩列表</el-button> |
|
|
|
|
|
|
|
<!-- <el-button type="primary" |
|
|
|
|
|
|
|
@click="exportReport">导出成绩详情</el-button> --> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="line"> |
|
|
|
<el-table :data="listData" |
|
|
|
<span class="jud-name">错误率最低:{{ min.projectName }}</span> |
|
|
|
class="table" |
|
|
|
<span>参加考试{{ permissions ? (min.numberOfParticipants || 0) : (min.quantityAfterWeightRemoval || 0) }}人 | {{ curTab == 1 ? `共${min.itemErrorCount || 0}人做错,` : '' }}错误率{{ min.errorRate || 0 }}%</span> |
|
|
|
ref="table" |
|
|
|
|
|
|
|
:key="curTab" |
|
|
|
|
|
|
|
stripe |
|
|
|
|
|
|
|
header-align="center" |
|
|
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
|
|
|
row-key="reportId"> |
|
|
|
|
|
|
|
<el-table-column type="selection" |
|
|
|
|
|
|
|
width="55" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
:reserve-selection="true"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
|
|
|
|
width="60" |
|
|
|
|
|
|
|
label="序号" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.$index + (page - 1) * pageSize + 1 }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="userName" |
|
|
|
|
|
|
|
label="姓名" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="workNumber" |
|
|
|
|
|
|
|
label="学号" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<template v-if="curTab == 0"> |
|
|
|
|
|
|
|
<el-table-column label="练习项目数" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.row.totalNumberOfPractices }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="numberOfExercises" |
|
|
|
|
|
|
|
label="练习次数" |
|
|
|
|
|
|
|
width="90" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="累计练习时长" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.row.cumulativePracticeTime }}min |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-else> |
|
|
|
|
|
|
|
<el-table-column prop="totalNumberOfParticipants" |
|
|
|
|
|
|
|
label="参加考核次数" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="averageTimeSpent" |
|
|
|
|
|
|
|
label="平均用时" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.row.averageTimeSpent }}min |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<el-table-column prop="avgScore" |
|
|
|
|
|
|
|
label="平均分" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ curTab == 0 ? scope.row.avgScore : scope.row.averageScore }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="maxScore" |
|
|
|
|
|
|
|
label="最高分" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="minScore" |
|
|
|
|
|
|
|
label="最低分" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="操作" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
width="140"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<el-button type="text" |
|
|
|
|
|
|
|
@click="show(scope.row)">查看成绩详情</el-button> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
<div class="pagination"> |
|
|
|
|
|
|
|
<el-pagination background |
|
|
|
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
|
|
|
:total="total" |
|
|
|
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
|
|
|
:current-page="page"> |
|
|
|
|
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
<div class="chart" |
|
|
|
|
|
|
|
id="chart1"></div> |
|
|
|
|
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover"> |
|
|
|
<el-dialog title="成绩详情" |
|
|
|
<div class="flex-between m-b-20"> |
|
|
|
:visible.sync="detailVisible" |
|
|
|
<div> |
|
|
|
width="900px" |
|
|
|
<el-input placeholder="请输入姓名/学号" |
|
|
|
:key="curTab" |
|
|
|
prefix-icon="el-icon-search" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
v-model="keyword" |
|
|
|
<div class="m-b-10 text-right"> |
|
|
|
clearable></el-input> |
|
|
|
<el-button type="primary" |
|
|
|
</div> |
|
|
|
@click="exportDetail">导出</el-button> |
|
|
|
<div> |
|
|
|
|
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
@click="exportData">导出成绩列表</el-button> |
|
|
|
|
|
|
|
<!-- <el-button type="primary" |
|
|
|
|
|
|
|
@click="exportReport">导出成绩详情</el-button> --> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table :data="listData" |
|
|
|
<el-table :data="details" |
|
|
|
class="table" |
|
|
|
|
|
|
|
ref="table" |
|
|
|
|
|
|
|
:key="curTab" |
|
|
|
|
|
|
|
stripe |
|
|
|
stripe |
|
|
|
|
|
|
|
:key="curTab" |
|
|
|
header-align="center" |
|
|
|
header-align="center" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
row-key="id"> |
|
|
|
row-key="reportId"> |
|
|
|
|
|
|
|
<el-table-column type="selection" |
|
|
|
|
|
|
|
width="55" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
:reserve-selection="true"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
<el-table-column type="index" |
|
|
|
width="60" |
|
|
|
width="60" |
|
|
|
label="序号" |
|
|
|
label="序号" |
|
|
|
align="center"> |
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.$index + (page - 1) * pageSize + 1 }} |
|
|
|
{{ scope.$index + (pageDetail - 1) * pageSizeDetail + 1 }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="userName" |
|
|
|
<el-table-column prop="userName" |
|
|
|
label="姓名" |
|
|
|
label="姓名" |
|
|
|
align="center"></el-table-column> |
|
|
|
width="100" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="workNumber" |
|
|
|
<el-table-column prop="workNumber" |
|
|
|
label="学号" |
|
|
|
label="学号" |
|
|
|
|
|
|
|
width="100" |
|
|
|
align="center"></el-table-column> |
|
|
|
align="center"></el-table-column> |
|
|
|
<template v-if="curTab == 0"> |
|
|
|
<template v-if="curTab == 0"> |
|
|
|
<el-table-column label="练习项目数" |
|
|
|
<el-table-column prop="projectName" |
|
|
|
align="center"> |
|
|
|
label="项目名称" |
|
|
|
<template slot-scope="scope"> |
|
|
|
min-width="200" |
|
|
|
{{ scope.row.totalNumberOfPractices }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="numberOfExercises" |
|
|
|
|
|
|
|
label="练习次数" |
|
|
|
|
|
|
|
width="90" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
align="center"></el-table-column> |
|
|
|
<el-table-column label="累计练习时长" |
|
|
|
<el-table-column prop="averageDuration" |
|
|
|
|
|
|
|
label="平均练习时长" |
|
|
|
|
|
|
|
width="110" |
|
|
|
align="center"> |
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.cumulativePracticeTime }}min |
|
|
|
{{ scope.row.averageDuration }}min |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="averageScore" |
|
|
|
|
|
|
|
label="平均分" |
|
|
|
|
|
|
|
min-width="100" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<el-table-column prop="totalNumberOfParticipants" |
|
|
|
<el-table-column prop="experimentalName" |
|
|
|
label="参加考核次数" |
|
|
|
label="考核名称" |
|
|
|
align="center"> |
|
|
|
min-width="200" |
|
|
|
</el-table-column> |
|
|
|
align="center"></el-table-column> |
|
|
|
<el-table-column prop="averageTimeSpent" |
|
|
|
<el-table-column prop="averageDuration" |
|
|
|
label="平均用时" |
|
|
|
label="用时" |
|
|
|
|
|
|
|
width="100" |
|
|
|
align="center"> |
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.averageTimeSpent }}min |
|
|
|
{{ scope.row.timeSum }}min |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="score" |
|
|
|
|
|
|
|
label="分数" |
|
|
|
|
|
|
|
min-width="100" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-table-column prop="avgScore" |
|
|
|
<el-table-column label="成绩报告" |
|
|
|
label="平均分" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ curTab == 0 ? scope.row.avgScore : scope.row.averageScore }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="maxScore" |
|
|
|
|
|
|
|
label="最高分" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="minScore" |
|
|
|
|
|
|
|
label="最低分" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="操作" |
|
|
|
|
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
width="140"> |
|
|
|
width="90"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" |
|
|
|
<el-button type="text" |
|
|
|
@click="show(scope.row)">查看成绩详情</el-button> |
|
|
|
@click="toReport(scope.row)">查看</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
<div class="pagination"> |
|
|
|
<div class="pagination"> |
|
|
|
<el-pagination background |
|
|
|
<el-pagination background |
|
|
|
layout="total, prev, pager, next" |
|
|
|
layout="total, prev, pager, next" |
|
|
|
:total="total" |
|
|
|
:total="totalDetail" |
|
|
|
@current-change="handleCurrentChange" |
|
|
|
:page-size="pageSizeDetail" |
|
|
|
:current-page="page"> |
|
|
|
@current-change="handleCurrentDetailChange" |
|
|
|
|
|
|
|
:current-page="pageDetail"> |
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
<span slot="footer" |
|
|
|
|
|
|
|
class="dialog-footer"> |
|
|
|
</el-card> |
|
|
|
<el-button size="small" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
<el-dialog title="成绩详情" |
|
|
|
@click="detailVisible = false">确定</el-button> |
|
|
|
:visible.sync="detailVisible" |
|
|
|
</span> |
|
|
|
width="900px" |
|
|
|
</el-dialog> |
|
|
|
:key="curTab" |
|
|
|
</div> |
|
|
|
:close-on-click-modal="false"> |
|
|
|
|
|
|
|
<div class="m-b-10 text-right"> |
|
|
|
|
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
@click="exportDetail">导出</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table :data="details" |
|
|
|
|
|
|
|
stripe |
|
|
|
|
|
|
|
:key="curTab" |
|
|
|
|
|
|
|
header-align="center" |
|
|
|
|
|
|
|
row-key="id"> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
|
|
|
|
width="60" |
|
|
|
|
|
|
|
label="序号" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.$index + (pageDetail - 1) * pageSizeDetail + 1 }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="userName" |
|
|
|
|
|
|
|
label="姓名" |
|
|
|
|
|
|
|
width="100" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="workNumber" |
|
|
|
|
|
|
|
label="学号" |
|
|
|
|
|
|
|
width="100" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<template v-if="curTab == 0"> |
|
|
|
|
|
|
|
<el-table-column prop="projectName" |
|
|
|
|
|
|
|
label="项目名称" |
|
|
|
|
|
|
|
min-width="200" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="averageDuration" |
|
|
|
|
|
|
|
label="平均练习时长" |
|
|
|
|
|
|
|
width="110" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.row.averageDuration }}min |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="averageScore" |
|
|
|
|
|
|
|
label="平均分" |
|
|
|
|
|
|
|
min-width="100" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-else> |
|
|
|
|
|
|
|
<el-table-column prop="experimentalName" |
|
|
|
|
|
|
|
label="考核名称" |
|
|
|
|
|
|
|
min-width="200" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="averageDuration" |
|
|
|
|
|
|
|
label="用时" |
|
|
|
|
|
|
|
width="100" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
{{ scope.row.timeSum }}min |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="score" |
|
|
|
|
|
|
|
label="分数" |
|
|
|
|
|
|
|
min-width="100" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<el-table-column label="成绩报告" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
width="90"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<el-button type="text" |
|
|
|
|
|
|
|
@click="toReport(scope.row)">查看</el-button> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
<div class="pagination"> |
|
|
|
|
|
|
|
<el-pagination background |
|
|
|
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
|
|
|
:total="totalDetail" |
|
|
|
|
|
|
|
:page-size="pageSizeDetail" |
|
|
|
|
|
|
|
@current-change="handleCurrentDetailChange" |
|
|
|
|
|
|
|
:current-page="pageDetail"> |
|
|
|
|
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<span slot="footer" |
|
|
|
|
|
|
|
class="dialog-footer"> |
|
|
|
|
|
|
|
<el-button size="small" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
@click="detailVisible = false">确定</el-button> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { Loading } from "element-ui"; |
|
|
|
|
|
|
|
import Setting from "@/setting"; |
|
|
|
import Setting from "@/setting"; |
|
|
|
import util from "@/libs/util"; |
|
|
|
import util from "@/libs/util"; |
|
|
|
import echarts from "echarts"; |
|
|
|
import echarts from "echarts"; |
|
|
@ -320,7 +321,7 @@ export default { |
|
|
|
totalDetail: 0, |
|
|
|
totalDetail: 0, |
|
|
|
curRow: {}, |
|
|
|
curRow: {}, |
|
|
|
stageNumber: {}, |
|
|
|
stageNumber: {}, |
|
|
|
loadIns: null |
|
|
|
loading: false, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
@ -338,9 +339,7 @@ export default { |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 成绩 |
|
|
|
// 成绩 |
|
|
|
async getData () { |
|
|
|
async getData () { |
|
|
|
this.loadIns = Loading.service({ |
|
|
|
this.loading = true |
|
|
|
background: "rgba(255,255,255,.6)" |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
const per = +this.curTab |
|
|
|
const per = +this.curTab |
|
|
|
const res = await this.$post(this.api.productReadScore, { |
|
|
|
const res = await this.$post(this.api.productReadScore, { |
|
|
|
pageNum: this.page, |
|
|
|
pageNum: this.page, |
|
|
@ -587,7 +586,7 @@ export default { |
|
|
|
color: ["#8191fd"] |
|
|
|
color: ["#8191fd"] |
|
|
|
}] |
|
|
|
}] |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.loadIns.close() |
|
|
|
this.loading = false |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 错误率统计图 |
|
|
|
// 错误率统计图 |
|
|
|
errorChart () { |
|
|
|
errorChart () { |
|
|
|