|
@@ -401,6 +401,8 @@ export default {
|
|
"E_EAXM_SEARCH_PARAMS",
|
|
"E_EAXM_SEARCH_PARAMS",
|
|
JSON.stringify(this.formSearch)
|
|
JSON.stringify(this.formSearch)
|
|
);
|
|
);
|
|
|
|
+ sessionStorage.setItem("E_EAXM_SEARCH_PAGE_SIZE", this.pageSize);
|
|
|
|
+ sessionStorage.setItem("E_EAXM_SEARCH_CUR_PAGE", this.currentPage);
|
|
},
|
|
},
|
|
getExamType(examType) {
|
|
getExamType(examType) {
|
|
for (let tempExamType of this.examTypeList) {
|
|
for (let tempExamType of this.examTypeList) {
|
|
@@ -422,10 +424,21 @@ export default {
|
|
//初始化查询
|
|
//初始化查询
|
|
created() {
|
|
created() {
|
|
let sessionData = sessionStorage.getItem("E_EAXM_SEARCH_PARAMS");
|
|
let sessionData = sessionStorage.getItem("E_EAXM_SEARCH_PARAMS");
|
|
|
|
+ let pageSize = sessionStorage.getItem("E_EAXM_SEARCH_PAGE_SIZE");
|
|
|
|
+ let currentPage = sessionStorage.getItem("E_EAXM_SEARCH_CUR_PAGE");
|
|
|
|
+ sessionStorage.removeItem("E_EAXM_SEARCH_PARAMS");
|
|
|
|
+ sessionStorage.removeItem("E_EAXM_SEARCH_PAGE_SIZE");
|
|
|
|
+ sessionStorage.removeItem("E_EAXM_SEARCH_CUR_PAGE");
|
|
if (sessionData) {
|
|
if (sessionData) {
|
|
this.formSearch = JSON.parse(sessionData);
|
|
this.formSearch = JSON.parse(sessionData);
|
|
}
|
|
}
|
|
- sessionStorage.removeItem("E_EAXM_SEARCH_PARAMS");
|
|
|
|
|
|
+ if (pageSize) {
|
|
|
|
+ this.pageSize = parseInt(pageSize);
|
|
|
|
+ }
|
|
|
|
+ if (currentPage) {
|
|
|
|
+ this.currentPage = parseInt(currentPage);
|
|
|
|
+ }
|
|
|
|
+
|
|
this.initPrivileges();
|
|
this.initPrivileges();
|
|
this.searchForm();
|
|
this.searchForm();
|
|
}
|
|
}
|