课程考核材料调整
This commit is contained in:
parent
d2beb7ad3d
commit
bb6d639038
|
@ -53,53 +53,178 @@ export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '平时成绩1',
|
title: '平时成绩1',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'cj1'
|
dataIndex: 'cj1',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: '成绩类型',
|
||||||
|
dataIndex: 'cj1mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(0,text.indexOf("[")) : "");
|
||||||
|
return text;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '分数',
|
||||||
|
dataIndex: 'cj1',
|
||||||
|
width: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '占比',
|
||||||
|
dataIndex: 'cj1mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(text.indexOf("["),text.indexOf("]")) : "");
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '平时成绩2',
|
title: '平时成绩2',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'cj2'
|
dataIndex: 'cj2',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: '成绩类型',
|
||||||
|
dataIndex: 'cj2mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(0,text.indexOf("[")) : "");
|
||||||
|
return text;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '分数',
|
||||||
|
dataIndex: 'cj2',
|
||||||
|
width: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '占比',
|
||||||
|
dataIndex: 'cj2mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(text.indexOf("["),text.indexOf("]")) : "");
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '平时成绩3',
|
title: '平时成绩3',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'cj3'
|
dataIndex: 'cj3',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: '成绩类型',
|
||||||
|
dataIndex: 'cj3mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(0,text.indexOf("[")) : "");
|
||||||
|
return text;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '分数',
|
||||||
|
dataIndex: 'cj3',
|
||||||
|
width: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '占比',
|
||||||
|
dataIndex: 'cj3mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(text.indexOf("["),text.indexOf("]")) : "");
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '期中成绩',
|
title: '期中成绩',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'cj4'
|
dataIndex: 'cj4',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: '成绩类型',
|
||||||
|
dataIndex: 'cj5mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(0,text.indexOf("[")) : "");
|
||||||
|
return text;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '分数',
|
||||||
|
dataIndex: 'cj4',
|
||||||
|
width: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '占比',
|
||||||
|
dataIndex: 'cj4mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(text.indexOf("["),text.indexOf("]")) : "");
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '期末成绩',
|
title: '期末成绩',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'cj5'
|
dataIndex: 'cj5',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: '成绩类型',
|
||||||
|
dataIndex: 'cj5mc',
|
||||||
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(0,text.indexOf("[")) : "");
|
||||||
|
return text;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '平时成绩1',
|
title: '分数',
|
||||||
align: "center",
|
dataIndex: 'cj5',
|
||||||
dataIndex: 'cj1mc'
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '平时成绩2',
|
title: '占比',
|
||||||
align: "center",
|
dataIndex: 'cj4mc',
|
||||||
dataIndex: 'cj2mc'
|
width: 100,
|
||||||
|
customRender:({text}) =>{
|
||||||
|
text = !text ? "" : (text.length > 0 ? text.substr(text.indexOf("["),text.indexOf("]")) : "");
|
||||||
|
return text;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
],
|
||||||
title: '平时成绩3',
|
|
||||||
align: "center",
|
|
||||||
dataIndex: 'cj3mc'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '期中成绩',
|
|
||||||
align: "center",
|
|
||||||
dataIndex: 'cj4mc'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '期末成绩',
|
|
||||||
align: "center",
|
|
||||||
dataIndex: 'cj5mc'
|
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// title: '平时成绩1',
|
||||||
|
// align: "center",
|
||||||
|
// dataIndex: 'cj1mc'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '平时成绩2',
|
||||||
|
// align: "center",
|
||||||
|
// dataIndex: 'cj2mc'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '平时成绩3',
|
||||||
|
// align: "center",
|
||||||
|
// dataIndex: 'cj3mc'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '期中成绩',
|
||||||
|
// align: "center",
|
||||||
|
// dataIndex: 'cj4mc'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '期末成绩',
|
||||||
|
// align: "center",
|
||||||
|
// dataIndex: 'cj5mc'
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
title: '总成绩',
|
title: '总成绩',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
|
@ -18,31 +18,30 @@
|
||||||
<div v-if="jxrwInfo.value">
|
<div v-if="jxrwInfo.value">
|
||||||
<div>概要信息</div>
|
<div>概要信息</div>
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="6">
|
<a-col :span="5">
|
||||||
<span style="margin-left: 15px;">开课单位</span> :<span>{{jxrwInfo?.value.kkyxmc}}</span>
|
<span style="margin-left: 15px;">开课单位</span> :<span>{{jxrwInfo?.value.kkyxmc}}</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="5">
|
||||||
<span style="margin-left: 15px;">课程类别</span> :<span>{{jxrwInfo?.value.kclb}}</span>
|
<span style="margin-left: 15px;">课程类别</span> :<span>{{jxrwInfo?.value.kclb}}</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="5">
|
||||||
<span style="margin-left: 15px;">课程名称</span> :<span>{{jxrwInfo?.value.kcmc}}</span>
|
<span style="margin-left: 15px;">课程名称</span> :<span>{{jxrwInfo?.value.kcmc}}</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="5">
|
||||||
<span style="margin-left: 15px;">课程负责人</span> :<span>{{jxrwInfo?.value.teaxm}}</span>
|
<span style="margin-left: 15px;">课程负责人</span> :<span>{{jxrwInfo?.value.teaxm}}</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :span="4">
|
||||||
<a-col :span="6">
|
|
||||||
<span style="margin-left: 15px;">成绩方式</span> :<span></span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :span="6">
|
|
||||||
<span style="margin-left: 15px;">修读方式</span> :<span></span>
|
|
||||||
</a-col>
|
|
||||||
<a-col :span="6">
|
|
||||||
<span style="margin-left: 15px;">考试性质</span> :<span>{{jxrwInfo?.value.khfsmc}}</span>
|
<span style="margin-left: 15px;">考试性质</span> :<span>{{jxrwInfo?.value.khfsmc}}</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<!-- <a-col :span="6">-->
|
||||||
<span style="margin-left: 15px;">任课教师职称</span> :<span>{{jxrwInfo?.value.teaxm.substring(jxrwInfo?.value.teaxm.indexOf("[")+1,jxrwInfo?.value.teaxm.indexOf("]"))}}</span>
|
<!-- <span style="margin-left: 15px;">成绩方式</span> :<span></span>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
|
<!-- <a-col :span="6">-->
|
||||||
|
<!-- <span style="margin-left: 15px;">修读方式</span> :<span></span>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
|
<!-- <a-col :span="6">-->
|
||||||
|
<!-- <span style="margin-left: 15px;">任课教师职称</span> :<span>{{jxrwInfo?.value.teaxm.substring(jxrwInfo?.value.teaxm.indexOf("[")+1,jxrwInfo?.value.teaxm.indexOf("]"))}}</span>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue