更换glcc中期/结项考核ppt

This commit is contained in:
谢思 2024-06-20 10:56:11 +08:00
parent a77ddeec08
commit 2f68ba320b
1 changed files with 9 additions and 5 deletions

View File

@ -11,6 +11,10 @@ import {getMediumTermExamineInfo, submitMedium, formatParsedResult, hasFinalExam
import './index.scss';
function StudentSubmit(props){
const label = {
mediumExamine1: '中期',
finalExamine1: '结项'
}
const {form, checkedTaskId, studentRegId, period, glccSettings, isMediumExamineByToTutor, isFinalExamineByToTutor,history, current_user} = props;
const mediumExamine = glccSettings && glccSettings.filter(item=>item.name === "mediumExamine1");
const mediumExamine2 = glccSettings && glccSettings.filter(item=>item.name === "mediumExamine2");
@ -70,7 +74,7 @@ function StudentSubmit(props){
validateFieldsAndScroll((err, values) => {
if(!err){
Modal.confirm({
title: `确认提交${period === "mediumExamine1" ? '中期' : '结项'}考核材料?`,
title: `确认提交${label[period]}考核材料?`,
content: "提交后将无法修改考核材料,请进行二次确认",
onOk: ()=>{
const {pptAttachment, defenceVideoUrl, codeOrPrUrl} = values;
@ -179,17 +183,17 @@ function StudentSubmit(props){
<img src={bg} alt="" className="bg1"/>
<img src={bg} alt="" className="bg2"/>
<div className="mainBox">
<div className="navBox font-16"><Link to={`/glcc`} className="linkBox">开源夏令营 / </Link>提交{period === "mediumExamine1" ? '中期' : '结项'}考核材料</div>
<div className="navBox font-16"><Link to={`/glcc`} className="linkBox">开源夏令营 / </Link>提交{label[period]}考核材料</div>
<div className="tipBox mt30">
<div className="font-15 spanBox">材料提交说明:</div>
<div>1请各位学生<a href={`https://www.gitlink.org.cn/api/attachments/${period === "mediumExamine1" ? '428107' : '427720'}`} className="blueSpan">下载PPT模板</a> 根据课题开发进展按照PPT模板要求填写课题学习调研方案开发进度及开发成果等考核材料</div>
<div>1请各位学生<a href={`https://www.gitlink.org.cn/api/attachments/${period === "mediumExamine1" ? '6bde93df-e9d9-46eb-b4a9-0139949714d9' : '40717a30-cf4b-4ff7-b3de-0cb5a1ea53d7'}`} className="blueSpan">下载PPT模板</a> 根据课题开发进展按照PPT模板要求填写课题学习调研方案开发进度及开发成果等考核材料</div>
<div>2欢迎各位学生录制本课题答辩视频将视频链接填写至下方视频介绍填写栏</div>
<div>3学生提交考核材料的时间为<span className="spanBox">{formatParsedResult( period === "mediumExamine1" ? mediumExamine : finalExamine)}</span>请在截止时间前提交</div>
<div>4若导师已给出评分各位学生可在此页面查看自己的{period === "mediumExamine1" ? '中期' : '结项'}考核成绩对考核成绩有异议的学生请及时联系您的导师</div>
<div>4若导师已给出评分各位学生可在此页面查看自己的{label[period]}考核成绩对考核成绩有异议的学生请及时联系您的导师</div>
</div>
<div className="titleBox mt25 font-18">
<img src={img1} alt="" width={24} className="mr5"/>
{period === "mediumExamine1" ? '中期' : '结项'}考核
{label[period]}考核
</div>
{(period === "mediumExamine1" || period === "finalExamine1") && !detail ? <Form className="referBox" onSubmit={submit} colon={false}>
{