浏览代码

分页bug

Morphone0429 4 年之前
父节点
当前提交
a311b2438c

+ 2 - 0
src/components/testManager/knowledgeMapRule/BillCommonTest.vue

@@ -156,6 +156,8 @@ export default {
         billType = 2;
       }
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         billType,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,

+ 2 - 0
src/components/testManager/knowledgeMapRule/BillFusionTest.vue

@@ -144,6 +144,8 @@ export default {
         billType = 2;
       }
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         billType,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,

+ 2 - 0
src/components/testManager/knowledgeMapRule/CriticalAuxTest.vue

@@ -131,6 +131,8 @@ export default {
         criticalType = 2;
       }
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         criticalType,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,

+ 2 - 0
src/components/testManager/knowledgeMapRule/CriticalLabTest.vue

@@ -143,6 +143,8 @@ export default {
         criticalType = 2;
       }
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         criticalType,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,

+ 2 - 0
src/components/testManager/knowledgeMapRule/HighRiskDrugTest.vue

@@ -136,6 +136,8 @@ export default {
       const { data, type } = this.$route.params;
       this.type = type;
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,
       };

+ 2 - 0
src/components/testManager/knowledgeMapRule/HighRiskOperationTest.vue

@@ -148,6 +148,8 @@ export default {
       const { data, type } = this.$route.params;
       this.type = type;
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,
       };

+ 2 - 0
src/components/testManager/knowledgeMapRule/OtherAssayRuleTest.vue

@@ -142,6 +142,8 @@ export default {
       const { data, type } = this.$route.params;
       this.type = type;
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,
       };

+ 2 - 0
src/components/testManager/knowledgeMapRule/OtherAuxRuleTest.vue

@@ -149,6 +149,8 @@ export default {
       const { data, type } = this.$route.params;
       this.type = type;
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,
       };

+ 2 - 0
src/components/testManager/knowledgeMapRule/OtherFusionRuleTest.vue

@@ -142,6 +142,8 @@ export default {
       const { data, type } = this.$route.params;
       this.type = type;
       return {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         resultId: data && data.resultId,
         success: type === 'success' ? 1 : 0,
       };

+ 2 - 0
src/components/testManager/staticKnowledgeMap/LessStaticOrNoMap.vue

@@ -141,6 +141,8 @@ export default {
     handleParams() {
       const { data, type } = this.$route.params;
       let params = {
+        current: this.inCurrentPage || this.currentPage,
+        size: this.pageSize,
         resultId: data.resultId, //结果id
       };
       if (type === 'noMap') {