data:{
    resultMaster: [],
    otableData:[],
    schfilter:''
}
watch: {
    schfilter: function(val, oldVal){
        this.resultMaster = this.otableData.filter(item => (~item.ChildName.indexOf(val)));
    }
},
methods: {
    getUserslist() {
        this.$http.get('/xxx/xxxx', {
            params: {
                ServiceUnitId: 111,
                Type: 0
            }
        }).then((res) => {
            if(res.data) {
                this.otableData=res.data.ResultMaster;
                this.resultMaster = res.data.ResultMaster;
            } else {
                alert('没有数据信息!')
            }
        });
    },
}
//使用Element-Ui中的table的时候,怎么实现表格内容过滤

```html

相关文章:

  • 2021-12-02
  • 2021-10-01
  • 2022-12-23
  • 2021-06-18
  • 2021-07-08
  • 2022-12-23
  • 2021-09-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2021-11-02
相关资源
相似解决方案