| | |
| | | bgImage: new URL('@/assets/images/titles/title_second.png', import.meta.url).href, |
| | | tableImage: new URL('@/assets/images/backgrounds/table_bg.png', import.meta.url).href, |
| | | projectInfo: { |
| | | GrossFloorArea: '', |
| | | ProjectName: '', |
| | | Description: '', |
| | | Thumbnail: '', |
| | |
| | | this.projectInfo.ProjectName = result.ProjectName |
| | | this.projectInfo.Description = result.Description |
| | | this.projectInfo.Thumbnail = result.Thumbnail |
| | | this.projectInfo.GrossFloorArea = result.GrossFloorArea |
| | | } |
| | | } |
| | | |
| | |
| | | newArray.push({ text: item.Bind, value: item.Bind }) |
| | | } |
| | | }) |
| | | this.bindFilters = newArray |
| | | this.bindFilters = this.arrayFilter(newArray, 'value') |
| | | console.log(newArray, this.bindFilters); |
| | | |
| | | } else { |
| | | this.tableData = [] |
| | | } |
| | |
| | | } |
| | | }); |
| | | }, |
| | | // 数组去重 |
| | | arrayFilter (arr, key) { |
| | | const res = new Map() |
| | | return arr.filter(arr => !res.has(arr[key]) && res.set(arr[key], 1)) |
| | | }, |
| | | |
| | | getParticipatingNumber() { |
| | | const data = { |
| | | "organizeId": this.projectId |