@@ -376,7 +376,15 @@ export default {
});
return false;
}
-
+ let regx = /^\d*$/;
+ if (!regx.test(this.formSearch.examRecordDataId)) {
+ this.$notify({
+ title: "警告",
+ message: "试卷ID只能输入数字",
+ type: "warning",
+ });
+ return false;
+ }
this.$confirm("确定执行导出?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",