|
@@ -1261,14 +1261,14 @@
|
|
|
const CompetitionType = document.getElementById('CompetitionType');
|
|
const CompetitionType = document.getElementById('CompetitionType');
|
|
|
if (!idNumber.value && !CompetitionType.value) {
|
|
if (!idNumber.value && !CompetitionType.value) {
|
|
|
alert('请选择比赛类型和填写身份证号');
|
|
alert('请选择比赛类型和填写身份证号');
|
|
|
- e.target.value = ''; // 清空已选择的文件
|
|
|
|
|
|
|
+ //e.target.value = ''; // 清空已选择的文件
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
if (uploadFileUrl1 == "") {
|
|
if (uploadFileUrl1 == "") {
|
|
|
alert('请上传报名文件');
|
|
alert('请上传报名文件');
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (CompetitionType.value == 2) {
|
|
|
|
|
|
|
+ if (CompetitionType.value == 2 && document.getElementById("videoUploadDiv").style.display == "block") {
|
|
|
if (uploadVideoUrl == "") {
|
|
if (uploadVideoUrl == "") {
|
|
|
alert('请上传智能体视频');
|
|
alert('请上传智能体视频');
|
|
|
return;
|
|
return;
|