陈老板坑我查询没筛选是否在授权范围内

This commit is contained in:
aixianling
2022-06-10 18:51:41 +08:00
parent 0a721b8131
commit 1ab2db62a9

View File

@@ -94,7 +94,7 @@ export default {
params: {girdId: last} params: {girdId: last}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
this.slectList = [{girdName: '可选范围', id: ''}, res.data].flat() this.slectList = [{girdName: '可选范围', id: ''}, res.data.filter(e => !!this.allData.find(a => a.id == e.id))].flat()
this.getGridsByGridMemberAndParent({id: last}) this.getGridsByGridMemberAndParent({id: last})
} }
}) })