fix: team_photon去除硬编码
This commit is contained in:
parent
21c6b5177b
commit
01276e0a00
|
@ -134,12 +134,6 @@ import memberDialog from "./team_form.vue";
|
||||||
getDeptData() {
|
getDeptData() {
|
||||||
this.$API.system.dept.list.req({ page: 0,type:'dept'}).then(res=>{
|
this.$API.system.dept.list.req({ page: 0,type:'dept'}).then(res=>{
|
||||||
let data = [];
|
let data = [];
|
||||||
res.forEach(item => {
|
|
||||||
if(item.parent=='3423856735881117696'){
|
|
||||||
data.push(item)
|
|
||||||
}
|
|
||||||
});
|
|
||||||
console.log(data)
|
|
||||||
this.deptData = data;
|
this.deptData = data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue