|
@@ -504,6 +504,8 @@
|
|
|
//获取岗位列表
|
|
|
getRoleData() {
|
|
|
this.roleListLoading = true;
|
|
|
+ this.selectedItem = {};
|
|
|
+
|
|
|
getRoleList({
|
|
|
type: this.tabPosition,
|
|
|
roleName: this.postText
|
|
@@ -518,6 +520,7 @@
|
|
|
this.roleData = [];
|
|
|
}
|
|
|
})
|
|
|
+ this.getTableData();
|
|
|
},
|
|
|
positionClick(event, item){
|
|
|
this.selectedItem = item;
|
|
@@ -532,7 +535,7 @@
|
|
|
getListPage({
|
|
|
size: this.pageSize,
|
|
|
current: this.currentPage,
|
|
|
- keyword: this.postText,
|
|
|
+ keyword: '',
|
|
|
roleId: this.selectedItem.roleId||''
|
|
|
}).then(res => {
|
|
|
this.tableLoading = false;
|