|
|
|
@ -1,249 +1,249 @@
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { setFilter } from '@/api/home/filter'
|
|
|
|
|
import { asideMap } from '@/config/final'
|
|
|
|
|
import { useFinal } from '@/store/modules/final'
|
|
|
|
|
import { debounce, difference } from 'lodash-es'
|
|
|
|
|
import { computed, ref, watch } from 'vue'
|
|
|
|
|
import { VueDraggable } from 'vue-draggable-plus'
|
|
|
|
|
|
|
|
|
|
const show = ref(false)
|
|
|
|
|
const checkAll = ref(false)
|
|
|
|
|
const selectIds = ref<string[]>([])
|
|
|
|
|
const finalStore = useFinal()
|
|
|
|
|
import { setFilter } from "@/api/home/filter";
|
|
|
|
|
import { asideMap } from "@/config/final";
|
|
|
|
|
import { useFinal } from "@/store/modules/final";
|
|
|
|
|
import { debounce, difference } from "lodash-es";
|
|
|
|
|
import { computed, ref, watch } from "vue";
|
|
|
|
|
import { VueDraggable } from "vue-draggable-plus";
|
|
|
|
|
|
|
|
|
|
const show = ref(false);
|
|
|
|
|
const checkAll = ref(false);
|
|
|
|
|
const selectIds = ref<string[]>([]);
|
|
|
|
|
const finalStore = useFinal();
|
|
|
|
|
|
|
|
|
|
function showModal() {
|
|
|
|
|
show.value = true
|
|
|
|
|
show.value = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function closeModal() {
|
|
|
|
|
show.value = false
|
|
|
|
|
show.value = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 左侧隐藏列表
|
|
|
|
|
const offList = ref<any[]>([])
|
|
|
|
|
const offList = ref<any[]>([]);
|
|
|
|
|
// 右侧显示列表
|
|
|
|
|
const onList = ref<any[]>([])
|
|
|
|
|
const onList = ref<any[]>([]);
|
|
|
|
|
|
|
|
|
|
const allCount = computed(() => {
|
|
|
|
|
return `全部筛选(共${offList.value.length - 1}个)`
|
|
|
|
|
})
|
|
|
|
|
return `全部筛选(共${offList.value.length - 1}个)`;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const selectCount = computed(() => {
|
|
|
|
|
return `全部筛选(共${onList.value.length}个)`
|
|
|
|
|
})
|
|
|
|
|
return `全部筛选(共${onList.value.length}个)`;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
defineExpose({
|
|
|
|
|
showModal,
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function generateDefaultList() {
|
|
|
|
|
return Object.keys(asideMap).reduce((acc, key) => {
|
|
|
|
|
const { label, isDefaultFilter } = asideMap[key]
|
|
|
|
|
const { label, isDefaultFilter } = asideMap[key];
|
|
|
|
|
|
|
|
|
|
// 默认开启配置
|
|
|
|
|
if (isDefaultFilter) {
|
|
|
|
|
const config = {
|
|
|
|
|
id: key,
|
|
|
|
|
name: label || '未配置',
|
|
|
|
|
name: label || "未配置",
|
|
|
|
|
fix: isDefaultFilter,
|
|
|
|
|
checked: true,
|
|
|
|
|
}
|
|
|
|
|
return [...acc, config]
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return acc
|
|
|
|
|
};
|
|
|
|
|
return [...acc, config];
|
|
|
|
|
} else {
|
|
|
|
|
return acc;
|
|
|
|
|
}
|
|
|
|
|
}, [])
|
|
|
|
|
}, []);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function generatList(customConfig) {
|
|
|
|
|
const keys = Object.keys(asideMap)
|
|
|
|
|
let onList: object[] = []
|
|
|
|
|
const offList: object[] = []
|
|
|
|
|
const showKeys = customConfig.map((key: string) => key.toLowerCase())
|
|
|
|
|
const keys = Object.keys(asideMap);
|
|
|
|
|
let onList: object[] = [];
|
|
|
|
|
const offList: object[] = [];
|
|
|
|
|
const showKeys = customConfig.map((key: string) => key.toLowerCase());
|
|
|
|
|
|
|
|
|
|
for (const key of keys) {
|
|
|
|
|
if (!key.startsWith('iz') || asideMap[key] === undefined)
|
|
|
|
|
continue
|
|
|
|
|
if (!key.startsWith("iz") || asideMap[key] === undefined) continue;
|
|
|
|
|
|
|
|
|
|
const name = asideMap[key]?.label
|
|
|
|
|
const isDefaultFilter = asideMap[key]?.isDefaultFilter
|
|
|
|
|
const name = asideMap[key]?.label;
|
|
|
|
|
const isDefaultFilter = asideMap[key]?.isDefaultFilter;
|
|
|
|
|
|
|
|
|
|
// 不是默认配置
|
|
|
|
|
const isChecked = asideMap[key].isDefaultFilter || showKeys.includes(key)
|
|
|
|
|
const isChecked = asideMap[key].isDefaultFilter || showKeys.includes(key);
|
|
|
|
|
|
|
|
|
|
offList.push({
|
|
|
|
|
id: key,
|
|
|
|
|
name: name || '未配置',
|
|
|
|
|
name: name || "未配置",
|
|
|
|
|
fix: isDefaultFilter,
|
|
|
|
|
checked: isChecked,
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
isChecked && selectIds.value.push(key)
|
|
|
|
|
isChecked && selectIds.value.push(key);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onList = showKeys.reduce((acc, key) => {
|
|
|
|
|
const isDefaultFilter = asideMap[key]?.isDefaultFilter
|
|
|
|
|
const isDefaultFilter = asideMap[key]?.isDefaultFilter;
|
|
|
|
|
|
|
|
|
|
// 把默认显示的过滤掉(理论上不会出现这种情况)
|
|
|
|
|
if (isDefaultFilter === false) {
|
|
|
|
|
const config = {
|
|
|
|
|
id: key,
|
|
|
|
|
name: asideMap[key].label || '未配置',
|
|
|
|
|
name: asideMap[key].label || "未配置",
|
|
|
|
|
fix: asideMap[key].isDefaultFilter,
|
|
|
|
|
}
|
|
|
|
|
return [...acc, config]
|
|
|
|
|
};
|
|
|
|
|
return [...acc, config];
|
|
|
|
|
} else {
|
|
|
|
|
return acc;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return acc
|
|
|
|
|
}
|
|
|
|
|
}, [])
|
|
|
|
|
}, []);
|
|
|
|
|
|
|
|
|
|
const fixedList = generateDefaultList()
|
|
|
|
|
onList.unshift(...fixedList)
|
|
|
|
|
return { showList: onList, hideList: offList }
|
|
|
|
|
const fixedList = generateDefaultList();
|
|
|
|
|
onList.unshift(...fixedList);
|
|
|
|
|
return { showList: onList, hideList: offList };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
finalStore.$subscribe(() => {
|
|
|
|
|
const customConfig = finalStore.getCustomConfig
|
|
|
|
|
const customConfig = finalStore.getCustomConfig;
|
|
|
|
|
|
|
|
|
|
if (customConfig === null)
|
|
|
|
|
return
|
|
|
|
|
if (customConfig === null) return;
|
|
|
|
|
|
|
|
|
|
const { showList, hideList } = generatList(customConfig)
|
|
|
|
|
onList.value = showList
|
|
|
|
|
offList.value = hideList
|
|
|
|
|
})
|
|
|
|
|
const { showList, hideList } = generatList(customConfig);
|
|
|
|
|
onList.value = showList;
|
|
|
|
|
offList.value = hideList;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
async function handleSumbit(e: MouseEvent) {
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
|
|
|
|
|
const param = onList.value.filter(item => !asideMap[item.id].isDefaultFilter).map((item) => {
|
|
|
|
|
return item.id
|
|
|
|
|
}).join(',')
|
|
|
|
|
const param = onList.value
|
|
|
|
|
.filter((item) => !asideMap[item.id].isDefaultFilter)
|
|
|
|
|
.map((item) => {
|
|
|
|
|
return item.id;
|
|
|
|
|
})
|
|
|
|
|
.join(",");
|
|
|
|
|
|
|
|
|
|
await setFilter({ searchcount: param, type: 1 })
|
|
|
|
|
finalStore.fetchCustomConfig()
|
|
|
|
|
closeModal()
|
|
|
|
|
await setFilter({ searchcount: param, type: 1 });
|
|
|
|
|
finalStore.fetchCustomConfig();
|
|
|
|
|
closeModal();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function onCheckAllChange(value) {
|
|
|
|
|
const ids: string[] = []
|
|
|
|
|
const ids: string[] = [];
|
|
|
|
|
|
|
|
|
|
for (const item of offList.value) {
|
|
|
|
|
if (!item.fix) {
|
|
|
|
|
item.checked = value
|
|
|
|
|
ids.push(item.id)
|
|
|
|
|
item.checked = value;
|
|
|
|
|
ids.push(item.id);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
selectIds.value = value ? ids : []
|
|
|
|
|
selectIds.value = value ? ids : [];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function onCheckChange(checked: any, item: any) {
|
|
|
|
|
const index = selectIds.value.indexOf(item.id)
|
|
|
|
|
const index = selectIds.value.indexOf(item.id);
|
|
|
|
|
|
|
|
|
|
item.checked = checked
|
|
|
|
|
item.checked = checked;
|
|
|
|
|
|
|
|
|
|
if (index === -1 && checked)
|
|
|
|
|
selectIds.value.push(item.id)
|
|
|
|
|
else
|
|
|
|
|
selectIds.value.splice(index, 1)
|
|
|
|
|
if (index === -1 && checked) selectIds.value.push(item.id);
|
|
|
|
|
else selectIds.value.splice(index, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const showIds = computed(() => {
|
|
|
|
|
return onList.value.map((item) => {
|
|
|
|
|
return item.id
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
return item.id;
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
watch(
|
|
|
|
|
() => selectIds.value.length,
|
|
|
|
|
(newVal, oldVal) => {
|
|
|
|
|
if (newVal === oldVal)
|
|
|
|
|
return
|
|
|
|
|
if (newVal === oldVal) return;
|
|
|
|
|
|
|
|
|
|
const action = newVal > oldVal ? 'add' : 'remove'
|
|
|
|
|
const diff = action === 'add' ? difference(selectIds.value, showIds.value) : difference(showIds.value, selectIds.value)
|
|
|
|
|
const action = newVal > oldVal ? "add" : "remove";
|
|
|
|
|
const diff =
|
|
|
|
|
action === "add"
|
|
|
|
|
? difference(selectIds.value, showIds.value)
|
|
|
|
|
: difference(showIds.value, selectIds.value);
|
|
|
|
|
|
|
|
|
|
if (diff.length === 0)
|
|
|
|
|
return
|
|
|
|
|
if (diff.length === 0) return;
|
|
|
|
|
|
|
|
|
|
if (action === 'add') {
|
|
|
|
|
if (action === "add") {
|
|
|
|
|
for (const item of offList.value) {
|
|
|
|
|
if (!item.fix && diff.includes(item.id)) {
|
|
|
|
|
onList.value.push({
|
|
|
|
|
id: item.id,
|
|
|
|
|
name: item.name || '未配置',
|
|
|
|
|
name: item.name || "未配置",
|
|
|
|
|
fix: item.fix || false,
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
const list = onList.value
|
|
|
|
|
} else {
|
|
|
|
|
const list = onList.value;
|
|
|
|
|
for (let index = 0; index < list.length; index++) {
|
|
|
|
|
const item = list[index]
|
|
|
|
|
const item = list[index];
|
|
|
|
|
if (!item.fix && diff.includes(item.id)) {
|
|
|
|
|
list.splice(index, 1)
|
|
|
|
|
index--
|
|
|
|
|
list.splice(index, 1);
|
|
|
|
|
index--;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
watch(
|
|
|
|
|
() => showIds.value.length,
|
|
|
|
|
(newVal, oldVal) => {
|
|
|
|
|
if (newVal === oldVal)
|
|
|
|
|
return
|
|
|
|
|
if (newVal === oldVal) return;
|
|
|
|
|
|
|
|
|
|
const diff = difference(selectIds.value, showIds.value)
|
|
|
|
|
const diff = difference(selectIds.value, showIds.value);
|
|
|
|
|
|
|
|
|
|
if (diff.length === 0)
|
|
|
|
|
return
|
|
|
|
|
if (diff.length === 0) return;
|
|
|
|
|
|
|
|
|
|
for (const item of offList.value) {
|
|
|
|
|
if (!item.fix && diff.includes(item.id)) {
|
|
|
|
|
const index = selectIds.value.indexOf(item.id)
|
|
|
|
|
item.checked = false
|
|
|
|
|
selectIds.value.splice(index, 1)
|
|
|
|
|
const index = selectIds.value.indexOf(item.id);
|
|
|
|
|
item.checked = false;
|
|
|
|
|
selectIds.value.splice(index, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
function clearDragSource() {
|
|
|
|
|
onList.value = onList.value.filter((item) => {
|
|
|
|
|
return item.fix === true
|
|
|
|
|
})
|
|
|
|
|
return item.fix === true;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function removeHandler(id: string) {
|
|
|
|
|
const index = onList.value.findIndex((item) => {
|
|
|
|
|
return item.id === id
|
|
|
|
|
})
|
|
|
|
|
return item.id === id;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (index !== -1)
|
|
|
|
|
onList.value.splice(index, 1)
|
|
|
|
|
if (index !== -1) onList.value.splice(index, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const offKeyword = ref('')
|
|
|
|
|
const onKeyword = ref('')
|
|
|
|
|
const offKeyword = ref("");
|
|
|
|
|
const onKeyword = ref("");
|
|
|
|
|
|
|
|
|
|
const leftInputHandler = debounce((keyword) => {
|
|
|
|
|
offKeyword.value = keyword
|
|
|
|
|
}, 300)
|
|
|
|
|
offKeyword.value = keyword;
|
|
|
|
|
}, 300);
|
|
|
|
|
|
|
|
|
|
const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
onKeyword.value = keyword
|
|
|
|
|
}, 300)
|
|
|
|
|
onKeyword.value = keyword;
|
|
|
|
|
}, 300);
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<n-modal v-model:show="show" transform-origin="center" :mask-closable="false">
|
|
|
|
|
<n-card class="cardstyle" :bordered="false" size="huge" role="dialog" aria-modal="true">
|
|
|
|
|
<n-card
|
|
|
|
|
class="cardstyle"
|
|
|
|
|
:bordered="false"
|
|
|
|
|
size="huge"
|
|
|
|
|
role="dialog"
|
|
|
|
|
aria-modal="true"
|
|
|
|
|
>
|
|
|
|
|
<div class="wrapper">
|
|
|
|
|
<span class="wrapper-title">自定义筛选</span>
|
|
|
|
|
<div class="wrapper-bar">
|
|
|
|
@ -255,7 +255,10 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
<n-grid cols="24" class="mt-4 proCard" responsive="screen" :x-gap="24">
|
|
|
|
|
<n-grid-item span="11">
|
|
|
|
|
<NCard
|
|
|
|
|
:title="allCount" class="dragcardStyle" :segmented="{ content: true, footer: true }" size="small"
|
|
|
|
|
:title="allCount"
|
|
|
|
|
class="dragcardStyle"
|
|
|
|
|
:segmented="{ content: true, footer: true }"
|
|
|
|
|
size="small"
|
|
|
|
|
:bordered="false"
|
|
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
@ -264,17 +267,28 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
<SvgIcon size="14px" name="magnifying-1" />
|
|
|
|
|
</template>
|
|
|
|
|
</n-input>
|
|
|
|
|
<n-scrollbar style="max-height: 500px;border: 1px solid #cad2dd;border-radius: 2px;">
|
|
|
|
|
<n-scrollbar
|
|
|
|
|
style="max-height: 500px; border: 1px solid #cad2dd; border-radius: 2px"
|
|
|
|
|
>
|
|
|
|
|
<div class="draggable-ul">
|
|
|
|
|
<div class="draggable-li">
|
|
|
|
|
<n-checkbox v-model:checked="checkAll" label="全部" @update:checked="onCheckAllChange" />
|
|
|
|
|
<n-checkbox
|
|
|
|
|
v-model:checked="checkAll"
|
|
|
|
|
label="全部"
|
|
|
|
|
@update:checked="onCheckAllChange"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
v-for="item in offList" v-show="item.name.includes(offKeyword)" :key="item.id"
|
|
|
|
|
:class="{ 'disable-check': item.fix }" class="draggable-li"
|
|
|
|
|
v-for="item in offList"
|
|
|
|
|
v-show="item.name.includes(offKeyword)"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:class="{ 'disable-check': item.fix }"
|
|
|
|
|
class="draggable-li"
|
|
|
|
|
>
|
|
|
|
|
<n-checkbox
|
|
|
|
|
v-model:checked="item.checked" :label="item.name" :disabled="item.fix"
|
|
|
|
|
v-model:checked="item.checked"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:disabled="item.fix"
|
|
|
|
|
@update:checked="onCheckChange($event, item)"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
@ -283,12 +297,15 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
</div>
|
|
|
|
|
</NCard>
|
|
|
|
|
</n-grid-item>
|
|
|
|
|
<n-grid-item style="display: flex;align-items: center;" span="2">
|
|
|
|
|
<n-grid-item style="display: flex; align-items: center" span="2">
|
|
|
|
|
<SvgIcon size="20" name="switchsvg" />
|
|
|
|
|
</n-grid-item>
|
|
|
|
|
<n-grid-item span="11">
|
|
|
|
|
<NCard
|
|
|
|
|
:title="selectCount" class="dragcardStyle" :segmented="{ content: true, footer: true }" size="small"
|
|
|
|
|
:title="selectCount"
|
|
|
|
|
class="dragcardStyle"
|
|
|
|
|
:segmented="{ content: true, footer: true }"
|
|
|
|
|
size="small"
|
|
|
|
|
:bordered="false"
|
|
|
|
|
>
|
|
|
|
|
<template #header-extra>
|
|
|
|
@ -300,17 +317,33 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
<SvgIcon size="14px" name="magnifying-1" />
|
|
|
|
|
</template>
|
|
|
|
|
</n-input>
|
|
|
|
|
<n-scrollbar style="max-height: 500px;border: 1px solid #cad2dd;border-radius: 2px;" class="scroll">
|
|
|
|
|
<VueDraggable v-model="onList" class="draggable-ul" filter=".draggable-li[draggable='false']" :animation="150" group="shared">
|
|
|
|
|
<n-scrollbar
|
|
|
|
|
style="max-height: 500px; border: 1px solid #cad2dd; border-radius: 2px"
|
|
|
|
|
class="scroll"
|
|
|
|
|
>
|
|
|
|
|
<VueDraggable
|
|
|
|
|
v-model="onList"
|
|
|
|
|
class="draggable-ul"
|
|
|
|
|
filter=".draggable-li[draggable='false']"
|
|
|
|
|
:animation="150"
|
|
|
|
|
group="shared"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
v-for="item in onList" v-show="item.name.includes(onKeyword)" :key="item.id" :draggable="!item.fix"
|
|
|
|
|
:class="{ fix: item.fix }" class="cursor-move draggable-li"
|
|
|
|
|
v-for="item in onList"
|
|
|
|
|
v-show="item.name.includes(onKeyword)"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:draggable="!item.fix"
|
|
|
|
|
:class="{ fix: item.fix }"
|
|
|
|
|
class="cursor-move draggable-li"
|
|
|
|
|
>
|
|
|
|
|
<SvgIcon v-show="!item.fix" name="drag" size="24" />
|
|
|
|
|
<span class="ml-2">{{ item.name }}</span>
|
|
|
|
|
<SvgIcon
|
|
|
|
|
v-if="!item.fix" size="16px" style="display:block;margin-left: auto;cursor: pointer;"
|
|
|
|
|
name="clear" @click="removeHandler(item.id)"
|
|
|
|
|
v-if="!item.fix"
|
|
|
|
|
size="16px"
|
|
|
|
|
style="display: block; margin-left: auto; cursor: pointer"
|
|
|
|
|
name="clear"
|
|
|
|
|
@click="removeHandler(item.id)"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</VueDraggable>
|
|
|
|
@ -322,10 +355,8 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
</div>
|
|
|
|
|
<template #footer>
|
|
|
|
|
<div class="wrapper-footer">
|
|
|
|
|
<n-button type="info" @click="handleSumbit">
|
|
|
|
|
确认
|
|
|
|
|
</n-button>
|
|
|
|
|
<n-button secondary style="margin-left:15px" @click="closeModal">
|
|
|
|
|
<n-button type="info" @click="handleSumbit"> 确认 </n-button>
|
|
|
|
|
<n-button secondary style="margin-left: 15px" @click="closeModal">
|
|
|
|
|
取消
|
|
|
|
|
</n-button>
|
|
|
|
|
</div>
|
|
|
|
@ -360,7 +391,7 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
background-color: #1980FF;
|
|
|
|
|
background-color: #1980ff;
|
|
|
|
|
content: "";
|
|
|
|
|
width: 5px;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
@ -385,7 +416,7 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
|
|
|
|
|
.textbtnStyle {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #1980FF;
|
|
|
|
|
color: #1980ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.draggable-ul {
|
|
|
|
@ -412,6 +443,12 @@ const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
|
|
|
|
|
::v-deep(.n-card > .n-card-header) {
|
|
|
|
|
--n-padding-top: 0px;
|
|
|
|
|
--n-padding-bottom: 12px
|
|
|
|
|
--n-padding-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep(.n-card > .n-card-header .n-card-header__main){
|
|
|
|
|
font-weight: bolder !important;
|
|
|
|
|
}
|
|
|
|
|
::v-deep(.n-scrollbar){
|
|
|
|
|
border-top: none !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|