|
@@ -331,6 +331,7 @@ export default {
|
|
this.examId = "";
|
|
this.examId = "";
|
|
},
|
|
},
|
|
editExamInfoDialog(row) {
|
|
editExamInfoDialog(row) {
|
|
|
|
+ this.setSearchParams();
|
|
if (row.examType == "ONLINE") {
|
|
if (row.examType == "ONLINE") {
|
|
this.$router.push({ path: "/examwork/onlineExam/" + row.id });
|
|
this.$router.push({ path: "/examwork/onlineExam/" + row.id });
|
|
} else if (row.examType == "TRADITION") {
|
|
} else if (row.examType == "TRADITION") {
|
|
@@ -344,6 +345,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
editOrgSettings(row) {
|
|
editOrgSettings(row) {
|
|
|
|
+ this.setSearchParams();
|
|
if (row.examType == "OFFLINE") {
|
|
if (row.examType == "OFFLINE") {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: "/examwork/offlineExamOrgSettings/" + row.id
|
|
path: "/examwork/offlineExamOrgSettings/" + row.id
|
|
@@ -355,26 +357,40 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
showExamCourseSettingsDialog(row) {
|
|
showExamCourseSettingsDialog(row) {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/examCourseSettings/" + row.id });
|
|
this.$router.push({ path: "/examwork/examCourseSettings/" + row.id });
|
|
},
|
|
},
|
|
showExamOrgSettingsDialog(row) {
|
|
showExamOrgSettingsDialog(row) {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/examOrgSettings/" + row.id });
|
|
this.$router.push({ path: "/examwork/examOrgSettings/" + row.id });
|
|
},
|
|
},
|
|
toTradition() {
|
|
toTradition() {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/traditionExam/add" });
|
|
this.$router.push({ path: "/examwork/traditionExam/add" });
|
|
},
|
|
},
|
|
toOnline() {
|
|
toOnline() {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/onlineExam/add" });
|
|
this.$router.push({ path: "/examwork/onlineExam/add" });
|
|
},
|
|
},
|
|
toPractice() {
|
|
toPractice() {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/practiceExam/add" });
|
|
this.$router.push({ path: "/examwork/practiceExam/add" });
|
|
},
|
|
},
|
|
toOffline() {
|
|
toOffline() {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/offlineExam/add" });
|
|
this.$router.push({ path: "/examwork/offlineExam/add" });
|
|
},
|
|
},
|
|
toPrint() {
|
|
toPrint() {
|
|
|
|
+ this.setSearchParams();
|
|
this.$router.push({ path: "/examwork/printExam/add" });
|
|
this.$router.push({ path: "/examwork/printExam/add" });
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ setSearchParams() {
|
|
|
|
+ sessionStorage.setItem(
|
|
|
|
+ "E_EAXM_SEARCH_PARAMS",
|
|
|
|
+ JSON.stringify(this.formSearch)
|
|
|
|
+ );
|
|
|
|
+ },
|
|
getExamType(examType) {
|
|
getExamType(examType) {
|
|
for (let tempExamType of this.examTypeList) {
|
|
for (let tempExamType of this.examTypeList) {
|
|
if (tempExamType.value == examType) {
|
|
if (tempExamType.value == examType) {
|
|
@@ -394,6 +410,11 @@ export default {
|
|
},
|
|
},
|
|
//初始化查询
|
|
//初始化查询
|
|
created() {
|
|
created() {
|
|
|
|
+ let sessionData = sessionStorage.getItem("E_EAXM_SEARCH_PARAMS");
|
|
|
|
+ if (sessionData) {
|
|
|
|
+ this.formSearch = JSON.parse(sessionData);
|
|
|
|
+ }
|
|
|
|
+ sessionStorage.removeItem("E_EAXM_SEARCH_PARAMS");
|
|
this.initPrivileges();
|
|
this.initPrivileges();
|
|
this.searchForm();
|
|
this.searchForm();
|
|
}
|
|
}
|