|
@@ -50,7 +50,7 @@ |
|
@@ -50,7 +50,7 @@ |
50
|
<script>
|
50
|
<script>
|
51
|
import util from '@/common/js/util'
|
51
|
import util from '@/common/js/util'
|
52
|
import NProgress from 'nprogress'
|
52
|
import NProgress from 'nprogress'
|
53
|
- import {getUserList, removeUser, batchRemoveUser, editUser, addUser, setUserRole} from '@/views/bus/dsly/api/user';
|
53
|
+ import {getUserList, removeUser, batchRemoveUser, editUser, addUser, setUserRole,getMockUserList} from '@/views/bus/dsly/api/user';
|
54
|
import {getList} from '@/api/role_api';
|
54
|
import {getList} from '@/api/role_api';
|
55
|
import moment from 'moment'
|
55
|
import moment from 'moment'
|
56
|
import {getServerAndHostList, insertUserInfo} from "@/api/message_bus";
|
56
|
import {getServerAndHostList, insertUserInfo} from "@/api/message_bus";
|
|
@@ -172,7 +172,7 @@ |
|
@@ -172,7 +172,7 @@ |
172
|
};
|
172
|
};
|
173
|
this.listLoading = true;
|
173
|
this.listLoading = true;
|
174
|
getUserList(para).then((res) => {
|
174
|
getUserList(para).then((res) => {
|
175
|
- let response = res.data;
|
175
|
+ let response = res.data.data;
|
176
|
this.total = response.totalCount;
|
176
|
this.total = response.totalCount;
|
177
|
this.users = response.data;
|
177
|
this.users = response.data;
|
178
|
this.listLoading = false;
|
178
|
this.listLoading = false;
|