mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
提交
This commit is contained in:
@@ -501,7 +501,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="成绩" prop="score">
|
<el-table-column label="成绩" prop="score">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.score }}
|
{{ toScoreTow(scope.row.score) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="150px">
|
<el-table-column label="操作" width="150px">
|
||||||
@@ -666,6 +666,7 @@ import { mapGetters,mapActions} from 'vuex';
|
|||||||
import {examType,numberToLetter} from '@/utils/tools.js';
|
import {examType,numberToLetter} from '@/utils/tools.js';
|
||||||
import usergroupApi from "@/api/modules/usergroup";
|
import usergroupApi from "@/api/modules/usergroup";
|
||||||
import pushRecordApi from "@/api/modules/pushRecord";
|
import pushRecordApi from "@/api/modules/pushRecord";
|
||||||
|
import {toScoreTow} from '@/utils/tools.js'
|
||||||
export default {
|
export default {
|
||||||
name: 'articleItems',
|
name: 'articleItems',
|
||||||
computed: {
|
computed: {
|
||||||
@@ -673,6 +674,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
toScoreTow,
|
||||||
qnum:0,//这里默认是30吧
|
qnum:0,//这里默认是30吧
|
||||||
examDateTime:[],
|
examDateTime:[],
|
||||||
answerData:{
|
answerData:{
|
||||||
@@ -758,7 +760,6 @@ export default {
|
|||||||
if(this.answerData.data.length == 0){
|
if(this.answerData.data.length == 0){
|
||||||
return this.$message.warning('暂无导出数据!')
|
return this.$message.warning('暂无导出数据!')
|
||||||
}
|
}
|
||||||
console.log(this.answerData.row.id,'this.answerData.row.id');
|
|
||||||
apiTest.exports({testId: this.answerData.row.id}).then(res=>{
|
apiTest.exports({testId: this.answerData.row.id}).then(res=>{
|
||||||
if(res.status){
|
if(res.status){
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user