gjj
2025-03-18 850fbeddcd514476756acde45c3136eabe087240
src/views/ProjectView.vue
@@ -269,7 +269,9 @@
                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 = []
          }
@@ -277,6 +279,12 @@
        }
      });
    },
    // 数组去重
    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