Browse Source

修改获取用户接口

yanglzh 2 năm trước cách đây
mục cha
commit
ab9e29ab88
1 tập tin đã thay đổi với 2 bổ sung7 xóa
  1. 2 7
      src/views/system/manage/org/component/edit.vue

+ 2 - 7
src/views/system/manage/org/component/edit.vue

@@ -110,14 +110,9 @@ export default defineComponent({
       },
     });
 
-    api.user
-      .getList({
-        status: -1,
-        pageNum: 1,
-        pageSize: 50,
-      })
+    api.user.getAllList({})
       .then((res: any) => {
-        userList.value = res.list;
+        userList.value = res;
       })
 
     // 打开弹窗