|
|
@@ -67,8 +67,8 @@
|
|
|
</el-scrollbar>
|
|
|
</div>
|
|
|
<footer>
|
|
|
- <el-pagination background layout="prev,next" small :total="total" :page-size="pageSize"
|
|
|
- v-model:currentPage="currentPage"
|
|
|
+ <el-pagination background layout="prev, pager, next" small :total="total"
|
|
|
+ :page-size="pageSize" v-model:currentPage="currentPage"
|
|
|
@current-change="paginationChange"></el-pagination>
|
|
|
</footer>
|
|
|
</div>
|
|
|
@@ -91,8 +91,8 @@
|
|
|
item.tenantId
|
|
|
) + '!important',
|
|
|
}">{{
|
|
|
- item.name.substring(0, 1)
|
|
|
- }}</el-avatar>
|
|
|
+ item.name.substring(0, 1)
|
|
|
+ }}</el-avatar>
|
|
|
<el-avatar v-else>{{
|
|
|
item.name.substring(0, 1)
|
|
|
}}</el-avatar>
|
|
|
@@ -190,7 +190,7 @@ export default {
|
|
|
async getUser() {
|
|
|
this.showUserloading = true;
|
|
|
userService
|
|
|
- .list({
|
|
|
+ .findUserList({
|
|
|
current: this.currentPage,
|
|
|
size: this.pageSize,
|
|
|
...this.searchForm,
|
|
|
@@ -242,9 +242,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- resetSearch() {
|
|
|
- this.getGroup()
|
|
|
+ async resetSearch() {
|
|
|
this.searchForm.companyDTO.id = ''
|
|
|
+ await this.getGroup()
|
|
|
this.searchForm.name = ''
|
|
|
this.currentPage = 1;
|
|
|
this.getUser();
|