Parcourir la source

调整组织架构获取全部人员的数据

Lijy il y a 2 ans
Parent
commit
57ab644383

+ 5 - 9
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -1753,17 +1753,13 @@ export default {
     },
     getUsers() {
       this.http.post(
-        this.port.manage.list,
-        {
-          departmentId: -1,
-          pageIndex: 1,
-          // pageSize: 99999,
-          pageSize: -1,
-          keyword: this.keyword,
-        },
+        // this.port.manage.list,
+        '/user/getSimpleActiveUserList',
+        {},
         (res) => {
           if (res.code == "ok") {
-            this.users = res.data.records;
+            // this.users = res.data.records;
+            this.users = res.data;
           } else {
             this.$message({
               message: res.msg,