机构管理 配置岗位查询bug 51816

This commit is contained in:
宋伟佳
2022-03-16 10:56:49 +08:00
parent deaaad462e
commit 911839fa6c
@@ -249,6 +249,7 @@ export default {
name: 'mechanism', name: 'mechanism',
data() { data() {
return { return {
formLoading: true,
peopleType: '', //1为树结构 2 为全机构 peopleType: '', //1为树结构 2 为全机构
nodeKeyId: '', nodeKeyId: '',
searchForm: { searchForm: {
@@ -327,6 +328,7 @@ export default {
searchPostName() { searchPostName() {
this.page = 1; this.page = 1;
this.getTree2(); this.getTree2();
this.sarPost.name = "";
}, // 查询 }, // 查询
resetSelect() { resetSelect() {
this.sarPost.name = ""; this.sarPost.name = "";
@@ -531,6 +533,7 @@ export default {
}, },
selectEdit() { selectEdit() {
this.getTree2()
if(this.manageData.length){ if(this.manageData.length){
this.userId = [] this.userId = []
this.manageData.forEach(item=>{ this.manageData.forEach(item=>{