Parcourir la source

质检工单质检计划处理完之后保存当前页码

hezhanp il y a 7 mois
Parent
commit
17ddcd7e3a
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      src/views/inspectionPlan/index.vue
  2. 1 1
      src/views/inspectionWork/index.vue

+ 1 - 1
src/views/inspectionPlan/index.vue

@@ -422,7 +422,7 @@ export default {
       this.reload();
     },
     reload(where) {
-      this.$refs.tableRef.reload({ page: 1, where });
+      this.$refs.tableRef.reload({ where });
     },
 
     async getTnspectionPlanType() {

+ 1 - 1
src/views/inspectionWork/index.vue

@@ -560,7 +560,7 @@
       search(where) {
         this.$refs.table.reload({
           where: where,
-          page: 1
+          // page: 1
         });
       },
       async openEdit(type, row) {