|
|
@ -46,7 +46,6 @@ const showFixList = computed(() => {
|
|
|
|
return fixList.value.filter(i => i.name.includes(searchFixVal.value))
|
|
|
|
return fixList.value.filter(i => i.name.includes(searchFixVal.value))
|
|
|
|
})
|
|
|
|
})
|
|
|
|
const showOnList = computed(() => {
|
|
|
|
const showOnList = computed(() => {
|
|
|
|
console.log(searchFixVal.value)
|
|
|
|
|
|
|
|
return onList.value.filter(i => i.name.includes(searchFixVal.value))
|
|
|
|
return onList.value.filter(i => i.name.includes(searchFixVal.value))
|
|
|
|
})
|
|
|
|
})
|
|
|
|
const selectCount = computed(() => {
|
|
|
|
const selectCount = computed(() => {
|
|
|
@ -419,13 +418,13 @@ const indeterminate = computed(() => {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="titletwo">自定义配置</div>
|
|
|
|
<div class="titletwo">自定义配置</div>
|
|
|
|
<VueDraggable
|
|
|
|
<VueDraggable
|
|
|
|
v-model="showOnList"
|
|
|
|
v-model="onList"
|
|
|
|
class="draggable-ul"
|
|
|
|
class="draggable-ul"
|
|
|
|
:animation="150"
|
|
|
|
:animation="150"
|
|
|
|
group="shared"
|
|
|
|
group="shared"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-for="item in showOnList"
|
|
|
|
v-for="item in onList"
|
|
|
|
:key="item.id"
|
|
|
|
:key="item.id"
|
|
|
|
:class="{ fix: item.fix }"
|
|
|
|
:class="{ fix: item.fix }"
|
|
|
|
class="cursor-move draggable-item"
|
|
|
|
class="cursor-move draggable-item"
|
|
|
|