liyongli 2 years ago
parent
commit
9132fd235f
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/view/allMedia/convergence.vue

+ 10 - 1
src/view/allMedia/convergence.vue

@@ -244,7 +244,6 @@ const sort_change = (e, type) => {
     condition.value.sort = undefined;
     condition.value.order = undefined;
   }
-
   if (type == 'manuscript') changePageManuscript();
   else if (type == 'disseminate') changePageDisseminate();
 };
@@ -289,6 +288,8 @@ const getData = () => {
       page: condition.value.manuscript.page,
       size: condition.value.manuscript.size,
       match: condition.value.keyword,
+      sort: condition.value.sort,
+      order: condition.value.order,
     },
   }).then(res => {
     const resData = res || { records: [], total: 0 };
@@ -304,6 +305,8 @@ const getData = () => {
       page: condition.value.disseminate.page,
       size: condition.value.disseminate.size,
       match: condition.value.keyword,
+      sort: condition.value.sort,
+      order: condition.value.order,
     },
   }).then(res => {
     const resData = res || { records: [], total: 0 };
@@ -327,6 +330,9 @@ const changePageDisseminate = e => {
       end,
       page: condition.value.disseminate.page,
       size: condition.value.disseminate.size,
+      match: condition.value.keyword,
+      sort: condition.value.sort,
+      order: condition.value.order,
     },
   }).then(res => {
     const resData = res || { records: [], total: 0 };
@@ -351,6 +357,9 @@ const changePageManuscript = e => {
       end,
       page: condition.value.manuscript.page,
       size: condition.value.manuscript.size,
+      match: condition.value.keyword,
+      sort: condition.value.sort,
+      order: condition.value.order,
     },
   }).then(res => {
     const resData = res || { records: [], total: 0 };