| | |
| | | }, |
| | | computed: { |
| | | currMenuList() { |
| | | |
| | | const menu = this.menuList.find(item => item.menuName == this.currMenu) |
| | | const filterChildren = [] |
| | | |
| | | const value = this.searchName |
| | | menu.children.forEach(item => { |
| | | if (item.name && item.name.includes(value)) { |
| | |
| | | } |
| | | }, |
| | | handleMenuClick(menu) { |
| | | |
| | | debugger |
| | | this.currMenu = menu.menuName |
| | | }, |
| | | handlePopoverClick(child) { |
| | |
| | | async getCountProjectTour() { |
| | | const res = await countProjectTour() |
| | | if (res.code === 200) { |
| | | |
| | | const menu = this.menuList.find(item => item.menuName == "工程巡视") |
| | | |
| | | menu.children = res.result.map(item => { |
| | | return { |
| | | name: item.projname, |