|
|
|
@ -124,7 +124,7 @@ function generateFilterEntityList(data) {
|
|
|
|
|
const reg = new RegExp(keyword.value, "gi");
|
|
|
|
|
const hilightText = searchname.replace(
|
|
|
|
|
reg,
|
|
|
|
|
`<span style='color:#FF0000'>${keyword.value}</span>`
|
|
|
|
|
`<span>${keyword.value}</span>`
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
@ -276,7 +276,7 @@ const moveEnd = () => {
|
|
|
|
|
style="margin-right:3px"
|
|
|
|
|
@click="favoriteHandler($event, item)"
|
|
|
|
|
/>
|
|
|
|
|
<div v-html="item.name" />
|
|
|
|
|
<div v-html="item.name" style="color: #333333;"/>
|
|
|
|
|
</li>
|
|
|
|
|
<!-- filter=".draggable-li[draggable='false']" -->
|
|
|
|
|
<VueDraggable
|
|
|
|
@ -300,17 +300,19 @@ const moveEnd = () => {
|
|
|
|
|
name="favorite-fill"
|
|
|
|
|
color="#fd9b0a"
|
|
|
|
|
size="18"
|
|
|
|
|
style="cursor: pointer!important;margin-right:3px"
|
|
|
|
|
fill="#666666"
|
|
|
|
|
style="cursor: pointer!important;margin-right:3px;"
|
|
|
|
|
@click="unFavoriteHandler($event, item)"
|
|
|
|
|
/>
|
|
|
|
|
<SvgIcon
|
|
|
|
|
v-else-if="!item.favorite && !item.isDefaultFilter"
|
|
|
|
|
name="favorite-unfill"
|
|
|
|
|
size="18"
|
|
|
|
|
style="cursor: pointer!important;margin-right:3px"
|
|
|
|
|
fill="#666666"
|
|
|
|
|
style="cursor: pointer!important;margin-right:3px;"
|
|
|
|
|
@click="favoriteHandler($event, item)"
|
|
|
|
|
/>
|
|
|
|
|
<div v-html="item.name" />
|
|
|
|
|
<div v-html="item.name" style="color: #333333;"/>
|
|
|
|
|
</li>
|
|
|
|
|
</VueDraggable>
|
|
|
|
|
</ul>
|
|
|
|
|