|
@@ -32,8 +32,8 @@
|
|
|
<i class="el-icon-search el-input__icon" slot="suffix" @click="handleSelect"></i>
|
|
|
<template slot-scope="{ item }">
|
|
|
<div class="name" style="position: relative;padding-right:40px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;"
|
|
|
- :title="item.data.localName">
|
|
|
- {{ item.data.localName }}
|
|
|
+ :title="item.data.RoomLocalName">
|
|
|
+ {{ item.data.RoomLocalName }}
|
|
|
<span class="addr" style="position: absolute;right:0;color:#409EFF;">定位</span>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -280,7 +280,7 @@
|
|
|
// 过滤器
|
|
|
createFilter(queryString) {
|
|
|
return restaurant => {
|
|
|
- return restaurant.data.localName.indexOf(queryString) > -1;
|
|
|
+ return restaurant.data.RoomLocalName.indexOf(queryString) > -1;
|
|
|
};
|
|
|
},
|
|
|
// 查询选中,定位
|