|
@ -637,6 +637,16 @@ const importSuccess = () => { |
|
|
|
|
|
|
|
|
// 筛选提交 |
|
|
// 筛选提交 |
|
|
const searchFormClick = (searchData) => { |
|
|
const searchFormClick = (searchData) => { |
|
|
|
|
|
|
|
|
|
|
|
if (!Array.isArray(searchData.filters)) { |
|
|
|
|
|
searchData.filters = []; |
|
|
|
|
|
} |
|
|
|
|
|
const cmd = { |
|
|
|
|
|
'column':'type', |
|
|
|
|
|
'action':'==', |
|
|
|
|
|
'value':'scrap' |
|
|
|
|
|
}; |
|
|
|
|
|
searchData.filters.push(cmd); |
|
|
tableObject.params = { |
|
|
tableObject.params = { |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
filters: searchData.filters |
|
|
filters: searchData.filters |
|
|