|
@ -159,12 +159,13 @@ const searchFormClick = (searchData) => { |
|
|
if (searchConditionRef.value.filters) { |
|
|
if (searchConditionRef.value.filters) { |
|
|
searchData.filters = searchConditionRef.value.filters |
|
|
searchData.filters = searchConditionRef.value.filters |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
searchData.filters = [] |
|
|
Object.keys(searchConditionRef.value).forEach(key => { |
|
|
Object.keys(searchConditionRef.value).forEach(key => { |
|
|
searchData.filters = [{ |
|
|
searchData.filters.push({ |
|
|
action: "==", |
|
|
action: "==", |
|
|
column: key, |
|
|
column: key, |
|
|
value: searchConditionRef.value[key] |
|
|
value: searchConditionRef.value[key] |
|
|
}] |
|
|
}) |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|