|
|
@ -267,6 +267,7 @@ export default { |
|
|
|
var pattern = /^[A-Za-z0-9]*$/; |
|
|
|
var pattern = /^[A-Za-z0-9]*$/; |
|
|
|
if(pattern.test(value)){ |
|
|
|
if(pattern.test(value)){ |
|
|
|
this.accountChange() |
|
|
|
this.accountChange() |
|
|
|
|
|
|
|
callback(); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
callback(new Error('请输入正确账号格式')); |
|
|
|
callback(new Error('请输入正确账号格式')); |
|
|
|
} |
|
|
|
} |
|
|
@ -279,6 +280,7 @@ export default { |
|
|
|
var pattern = /^[A-Za-z0-9]*$/; |
|
|
|
var pattern = /^[A-Za-z0-9]*$/; |
|
|
|
if(pattern.test(value)){ |
|
|
|
if(pattern.test(value)){ |
|
|
|
this.worknumberChange() |
|
|
|
this.worknumberChange() |
|
|
|
|
|
|
|
callback(); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
callback(new Error('请输入正确学生学号格式')); |
|
|
|
callback(new Error('请输入正确学生学号格式')); |
|
|
|
} |
|
|
|
} |
|
|
|