Browse Source

解决扩展参数,高级筛选的时候没有参数情况

intex
yufei_wang 7 days ago
parent
commit
258c272043
  1. 15
      src/components/Detail/src/Detail.vue

15
src/components/Detail/src/Detail.vue

@ -1170,6 +1170,21 @@ const searchFormClick = async (searchData) => {
}) })
} }
if (props.tableObjectExtend) {
props.tableObjectExtend.forEach(item => {
let findItem = tableObjectRef.value.params.filters.find(item1=>item1.column == [item.key])
if(findItem){
findItem.value = item.value
}else{
tableObjectRef.value.params.filters.push({
column : item.key,
action : "==",
value : item.value
})
}
})
}
// const { tableObject, tableMethods } = useTable({ // const { tableObject, tableMethods } = useTable({
// getListApi: props.apiPage // // getListApi: props.apiPage //

Loading…
Cancel
Save