|
@@ -909,15 +909,16 @@ import { error } from 'dingtalk-jsapi';
|
|
|
|
|
|
},
|
|
},
|
|
getUsers() {
|
|
getUsers() {
|
|
- this.http.post(this.port.manage.list, {
|
|
|
|
- departmentId: -1,
|
|
|
|
- pageIndex: 1,
|
|
|
|
- // pageSize: 99999
|
|
|
|
- pageSize: -1
|
|
|
|
- },
|
|
|
|
|
|
+ // this.http.post(this.port.manage.list, {
|
|
|
|
+ // departmentId: -1,
|
|
|
|
+ // pageIndex: 1,
|
|
|
|
+ // // pageSize: 99999
|
|
|
|
+ // pageSize: -1
|
|
|
|
+ // },
|
|
|
|
+ this.http.post('/user/getSimpleActiveUserList', {},
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
- this.users = res.data.records;
|
|
|
|
|
|
+ this.users = res.data;
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -1269,14 +1270,15 @@ import { error } from 'dingtalk-jsapi';
|
|
},
|
|
},
|
|
getUsers() {
|
|
getUsers() {
|
|
// console.log(this.port.manage.list)
|
|
// console.log(this.port.manage.list)
|
|
- this.http.post(this.port.manage.list, {
|
|
|
|
- departmentId: -1,
|
|
|
|
- pageIndex: 1,
|
|
|
|
- pageSize: 99999
|
|
|
|
- },
|
|
|
|
|
|
+ // this.http.post(this.port.manage.list, {
|
|
|
|
+ // departmentId: -1,
|
|
|
|
+ // pageIndex: 1,
|
|
|
|
+ // pageSize: 99999
|
|
|
|
+ // },
|
|
|
|
+ this.http.post('/user/getSimpleActiveUserList', {},
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
- this.users = res.data.records;
|
|
|
|
|
|
+ this.users = res.data;
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
message: res.msg,
|
|
message: res.msg,
|