<el-select v-model="moduleQuery.sysNamecn
filterable
remote
reserve-keyword
placeholdere"系统中文名称"
:remote-method="getModuleList"
achange="onChange"
:loading-"loading"
@focus="onFocus"
Style="width:24%
el-option
v-for="item in options"
:key="item.value"
:label="`系统中文名称:${item.sysNamecn}\xa0\xa0 模块名称:${item.modeNamecn}\xa0\xa0模块编号:${item.modeld}`
:value-"item.modeld"
/el-option>
</el-select>
data(){return{
list:[],
options:[]
modulequery:{
sysNamecn:"",
sysNameEn:"",
modeNameCn:"",
modeNameEn:"",
modeld:"",
sysId:"",
getModuleList(query){
if (query!=="")
this. loading-true this.$store
. dispatch("vindicateList/getModuleList", query)
then(res =>{
this. loading-false this. list = res. records; this. options=this. list. filter(item=>{
return item
})})
catch(() =>{
this. loading = false;
});
} else this. options=[]
।