浏览代码

分页问题调整

jeremy 10 月之前
父节点
当前提交
f24785c995

+ 2 - 2
src/views/organization/orgSetting/index.vue

@@ -741,7 +741,7 @@ export default {
           this.$message.error("提交失败,请检查网络配置");
         }
       }
-      await this.paginationChange();
+      await this.getOrgList();
     },
     async deleteOrg(row) {
       this.$confirm(`确定删除团队${row.organizationName}吗?`, "提示", {
@@ -760,7 +760,7 @@ export default {
           );
           if (isDelete) {
             this.$message.success("删除成功");
-            await this.paginationChange();
+            await this.getOrgList();
           }
         })
         .catch(() => {

+ 3 - 3
src/views/organization/servicePackage/index.vue

@@ -362,7 +362,7 @@ export default {
         );
       if (createServicePack) {
         this.saveDialogVisible = false;
-        await this.paginationChange();
+        await this.getList();
       }
     },
     //更新
@@ -380,7 +380,7 @@ export default {
       );
       if (result) {
         this.saveDialogVisible = false;
-        await this.paginationChange();
+        await this.getList();
       }
     },
 
@@ -402,7 +402,7 @@ export default {
           );
           if (result) {
             this.$message.success("删除成功");
-            await this.paginationChange();
+            await this.getList();
           }
         })
         .catch(() => {

+ 3 - 3
src/views/organization/serviceProject/index.vue

@@ -224,7 +224,7 @@ export default {
       );
       if (result) {
         this.saveDialogVisible = false;
-        await this.paginationChange();
+        await this.getList();
       }
     },
     //更新
@@ -249,7 +249,7 @@ export default {
       );
       if (result) {
         this.saveDialogVisible = false;
-        await this.paginationChange();
+        await this.getList();
       }
     },
 
@@ -271,7 +271,7 @@ export default {
           );
           if (result) {
             this.$message.success("删除成功");
-            await this.paginationChange();
+            await this.getList();
           }
         })
         .catch(() => {