|
@@ -194,9 +194,13 @@ const sizeChange = (limits) => {
|
|
|
// 选择
|
|
|
const oneChange = async () => {
|
|
|
if (checked1.value && checked1.value.length > 0) searchForm.value.industry = checked1.value
|
|
|
+ else delete searchForm.value.industry
|
|
|
if (checked2.value && checked2.value.length > 0) searchForm.value.field = checked2.value
|
|
|
+ else delete searchForm.value.field
|
|
|
if (checked3.value && checked3.value.length > 0) searchForm.value.area = checked3.value
|
|
|
+ else delete searchForm.value.area
|
|
|
if (checked4.value && checked4.value.length > 0) searchForm.value.maturity = checked4.value
|
|
|
+ else delete searchForm.value.maturity
|
|
|
if (checked1.value.length == 0 && checked2.value.length == 0 && checked3.value.length == 0 && checked4.value.length == 0) searchForm.value = {}
|
|
|
await search({ skip, limit })
|
|
|
}
|