|
|
@ -659,13 +659,23 @@ const importFormRef = ref() |
|
|
|
|
|
|
|
// 筛选提交 |
|
|
|
const searchFormClick = (searchData) => { |
|
|
|
tableObject.params = { |
|
|
|
isSearch: true, |
|
|
|
filters: searchData.filters |
|
|
|
tableObject.params.isSearch = true |
|
|
|
if(!searchData.filters){//重置的时候应用 |
|
|
|
searchData.filters = [] |
|
|
|
} |
|
|
|
let filters = [...searchData.filters] |
|
|
|
if(!filters.find(item=>item.column=='business_type')) { |
|
|
|
filters = [...filters,{ |
|
|
|
action:'==', |
|
|
|
column:'business_type', |
|
|
|
value:'ReturnToHold', |
|
|
|
}] |
|
|
|
} |
|
|
|
tableObject.params.filters = filters |
|
|
|
getList() // 刷新当前列表 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(async () => { |
|
|
|
getList() |
|
|
|