|
|
@ -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({ |
|
|
|
// getListApi: props.apiPage // 分页接口 |
|
|
|