背景:现在需要从table中的数据快速查出想要的数据
<el-table :data="assetTypeData.filter(data => !assetTypeSearch || data.model_type_name.toLowerCase().includes(assetTypeSearch.toLowerCase()))" style="width: 100%" max-height="250" >
<el-table-column fixed prop="model_type_number" label="地点Id" width="80"></el-table-column>
<el-table-column prop="model_type_name" label="存放地点" width="120"></el-table-column>
<el-table-column align="right" >
<template slot="header" slot-scope="scope">
<el-input v-model="assetTypeSearch" size="mini" placeholder="输入关键字搜索" width="120"/>
</template>
</el-table-