课程作业管理、课程测验管理中作业统计信息 发布作业次数、作业完成次数、查重次数、互评次数、超时未完成次数动态计算

This commit is contained in:
1378012178@qq.com 2024-12-11 14:00:39 +08:00
parent 81eef127a7
commit 334a9c1347
4 changed files with 20 additions and 28 deletions

View File

@ -66,6 +66,21 @@ export const columns: BasicColumn[] = [
// slots: { customRender: 'fileSlot2' },
// width: '300'
// },
{
title: '发布作业次数',
align: 'center',
dataIndex: 'fbzycs',
},
{
title: '作业完成次数',
align: 'center',
dataIndex: 'zywccs',
},
{
title: '超时未完成次数',
align: 'center',
dataIndex: 'cswwccs',
},
];
//查询数据

View File

@ -23,17 +23,11 @@ export const columns: BasicColumn[] = [
title: '课程性质',
align: 'center',
dataIndex: 'kcxz',
customRender: function ({ text }) {
return "通识教育必修课";
},
},
{
title: '选课学生',
title: '选课人数',
align: 'center',
dataIndex: 'xkrs',
customRender: function ({ text }) {
return "25";
},
},
{
title: '授课教师',
@ -44,50 +38,32 @@ export const columns: BasicColumn[] = [
title: '职称',
align: 'center',
dataIndex: 'zc',
customRender: function ({ text }) {
return "讲师";
},
},
{
title: '发布作业次数',
align: 'center',
dataIndex: 'fbzycs',
customRender: function ({ text }) {
return "3";
},
},
{
title: '作业完成次数',
align: 'center',
dataIndex: 'zywccs',
customRender: function ({ text }) {
return "2";
},
},
{
title: '查重次数',
align: 'center',
dataIndex: 'cccs',
customRender: function ({ text }) {
return "2";
},
},
{
title: '互评次数',
align: 'center',
dataIndex: 'hpcs',
customRender: function ({ text }) {
return "1";
},
},
{
title: '超时未完成次数',
align: 'center',
dataIndex: 'cswwc',
customRender: function ({ text }) {
return "1";
},
dataIndex: 'cswwccs',
},

View File

@ -20,11 +20,11 @@
<a-input placeholder="请输入课程名称" v-model:value="queryParam.kcmc"/>
</a-form-item>
</a-col>
<a-col :lg="6">
<!-- <a-col :lg="6">
<a-form-item label="课程编号">
<a-input placeholder="请输入课程编号" v-model:value="queryParam.kcbh"/>
</a-form-item>
</a-col>
</a-col> -->
<a-col :lg="6">
<a-form-item label="授课教师">
<a-input placeholder="请输入授课教师" v-model:value="queryParam.skjs"/>

View File

@ -7,6 +7,7 @@
<a-col :span="24" class="staticCol"><span>作业使用总次数</span><span>{{staticInfo.xn_zy_syzcs}}</span></a-col>
<a-col :span="24" class="staticCol"><span>作业互评总次数</span><span>{{staticInfo.xn_zy_hpzcs}}</span></a-col>
<a-col :span="24" class="staticCol"><span>作业已完成总次数</span><span>{{staticInfo.xn_zy_ywczcs}}</span></a-col>
<a-col :span="24" class="staticCol"><span>查重次数</span><span>{{staticInfo.xn_zy_cccs}}</span></a-col>
<a-col :span="24" class="staticCol"><span>测验使用总次数</span><span>{{staticInfo.xn_cy_syzcs}}</span></a-col>
<a-col :span="24" class="staticCol"><span>测验已完成总次数</span><span>{{staticInfo.xn_cy_ywczcs}}</span></a-col>
</a-row>