|
@@ -184,7 +184,6 @@ export default {
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.getMarkWorks();
|
|
this.getMarkWorks();
|
|
- this.doSearch(1);
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getMarkWorks() {
|
|
getMarkWorks() {
|
|
@@ -198,6 +197,14 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
doSearch(pageNo) {
|
|
doSearch(pageNo) {
|
|
|
|
+ if (!this.formSearch.workId) {
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: "警告",
|
|
|
|
+ message: "请选择评卷名称",
|
|
|
|
+ type: "warning",
|
|
|
|
+ });
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
this.formSearch.pageNo = pageNo;
|
|
this.formSearch.pageNo = pageNo;
|
|
|
|
|
|
this.loading = true;
|
|
this.loading = true;
|