fix : 修复专项资金页面搜索功能

This commit is contained in:
2024-05-28 16:39:37 +08:00
parent 0eb036e8a5
commit beb07edc73

View File

@@ -1,6 +1,10 @@
<template> <template>
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm> <fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick"></fvTable> <fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
<template #empty>
<el-empty description="暂无数据"/>
</template>
</fvTable>
</template> </template>
@@ -101,6 +105,11 @@ const tableConfig = reactive({
{name: '导出', key: '_export', color: '#DED0B2', auth: ''}, {name: '导出', key: '_export', color: '#DED0B2', auth: ''},
] ]
}) })
const tableIns = ref()
const search = (val) => {
tableConfig.params = {...val}
tableIns.value.refresh()
}
const handleDetail = (row) => { const handleDetail = (row) => {
router.push({ router.push({
name: 'Fund/detail', name: 'Fund/detail',