update: 高级筛选项更新
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
:dot-color="item.dotColor" :line-color="'var(--devui-form-control-line-hover)'">
|
||||
<template #default>
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<div class="cursor-pointer" @click="openWarningDetail(item.text)">{{ item.text }}</div>
|
||||
<div class="cursor-pointer" @click="openWarningDetail(item.text, index)">{{ item.text }}</div>
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<d-icon name="icon-time"></d-icon>
|
||||
{{ item.time }}
|
||||
@@ -175,8 +175,14 @@ const checkMore = () => {
|
||||
router.push({ name: 'PersonalCenter' });
|
||||
}
|
||||
|
||||
const openWarningDetail = (event) => {
|
||||
console.log(event)
|
||||
const openWarningDetail = (event, index) => {
|
||||
infoList.value.forEach((item, i) => {
|
||||
if (i <= index) {
|
||||
item.dotColor = 'var(--devui-info)';
|
||||
} else {
|
||||
item.dotColor = '';
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
let resizeObserver: ResizeObserver | null = null;
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
<div class="search-form">
|
||||
<AdvanceSearch v-model="newFormData" class="px-20">
|
||||
<template #operation>
|
||||
<gc-form-operation class="jyh-form-operation">
|
||||
<div>
|
||||
<d-button class="mr-2" variant="solid">筛选</d-button>
|
||||
<d-button variant="solid" color="secondary">清空</d-button>
|
||||
</gc-form-operation>
|
||||
</div>
|
||||
<d-button class="output-btn" icon="icon-share" variant="text">导出</d-button>
|
||||
</template>
|
||||
</AdvanceSearch>
|
||||
@@ -135,7 +135,6 @@ const isUseOptions = reactive(['是', '否']);
|
||||
const newFormData = ref({
|
||||
licenseName: '',
|
||||
searchWord: '',
|
||||
licenseStrengths: '',
|
||||
softwareVersion: '',
|
||||
dependentSoftware: '',
|
||||
programmingLanguage: '',
|
||||
|
||||
Reference in New Issue
Block a user