Merge pull request '更新环境' (#763) from gitlink_ssr_head into pre_gitlink_ssr

This commit is contained in:
durian 2024-08-20 13:54:01 +08:00
commit 2f86a77875
1 changed files with 10 additions and 10 deletions

View File

@ -108,10 +108,10 @@ function StudentSubmit(props){
})
}else{
setDisabled(false);
const { codeOrPrUrl } = values;
if (codeOrPrUrl) {
checkPrLink("", codeOrPrUrl, () => {});
}
// const { codeOrPrUrl } = values;
// if (codeOrPrUrl) {
// checkPrLink("", codeOrPrUrl, () => {});
// }
}
})
}
@ -186,7 +186,7 @@ function StudentSubmit(props){
<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" ? '6bde93df-e9d9-46eb-b4a9-0139949714d9' : '40717a30-cf4b-4ff7-b3de-0cb5a1ea53d7'}`} className="blueSpan">下载PPT模板</a> 根据课题开发进展按照PPT模板要求填写课题学习调研方案开发进度及开发成果等考核材料</div>
<div>1请各位学生<a href={`https://www.gitlink.org.cn/api/attachments/${period === "mediumExamine1" ? 'be050816-77d0-4874-b0c4-8ae80b98e838' : '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若导师已给出评分各位学生可在此页面查看自己的{label[period]}考核成绩对考核成绩有异议的学生请及时联系您的导师</div>
@ -214,18 +214,18 @@ function StudentSubmit(props){
rules: [
{
required: true,
validator: (rule, value, callback) => {
checkPrLink(rule, value, callback, checkedTaskId);
},
// validator: (rule, value, callback) => {
// checkPrLink(rule, value, callback, checkedTaskId);
// },
},
],
// validateTrigger: "onBlur",
})(<Input placeholder="请输入pr地址" maxLength={900}/>)}
</Form.Item>
<Form.Item className="referItem oneCont referTips">
{/* <Form.Item className="referItem oneCont referTips">
<p>: 按主办方要求GLCC官方资助课题最终需要在Gitlink平台进行pr提交</p>
<p>请和导师确认您的课题是否官方赞助如为官方赞助请确保终期考核的pr提交在Gitlink平台上进行,否则将会影响您的最终考核</p>
</Form.Item>
</Form.Item> */}
</Fragment>
:
<Fragment>