This commit is contained in:
2025-09-05 17:16:55 +08:00
parent 609a959e58
commit 576b70634c
@@ -2102,20 +2102,20 @@ layout("/layouts/platform.html"){
}) })
//判断每一个选手填写的是否正确 //判断每一个选手填写的是否正确
for (let i = 0; i < appliedData.length; i++) { for (let i = 0; i < appliedData.length; i++) {
/* if (!appliedData[i].position) { if (!appliedData[i].position) {
this.$message.warning("请填写完整职称职务!") this.$message.warning("请填写完整职称职务!")
return return
} }
if (!appliedData[i].mobile) { if (!appliedData[i].mobile) {
this.$message.warning("请填写手机号!") this.$message.warning("请填写手机号!")
return return
} else { } else {
const phoneRegex = /^1[3-9]\d{9}$/; const phoneRegex = /^1[3-9]\d{9}$/;
if (!phoneRegex.test(appliedData[i].mobile)) { if (!phoneRegex.test(appliedData[i].mobile)) {
this.$message.warning("手机号填写不正确!") this.$message.warning("手机号填写不正确!")
return return
} }
}*/ }
} }
if (this.appliedData3.length == 0 && this.appliedData.length == 0) { if (this.appliedData3.length == 0 && this.appliedData.length == 0) {