Merge pull request 'dj' (#239) from dj into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/239
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<template>
|
||||
<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>
|
||||
|
||||
|
||||
@@ -11,7 +15,7 @@ const router = useRouter()
|
||||
const searchConfig = reactive([
|
||||
{
|
||||
label: '专项资金名称',
|
||||
prop: 'requirementName',
|
||||
prop: 'name',
|
||||
component: 'el-input',
|
||||
props: {
|
||||
placeholder: '请输入名称查询'
|
||||
@@ -101,6 +105,11 @@ const tableConfig = reactive({
|
||||
{name: '导出', key: '_export', color: '#DED0B2', auth: ''},
|
||||
]
|
||||
})
|
||||
const tableIns = ref()
|
||||
const search = (val) => {
|
||||
tableConfig.params = {...val}
|
||||
tableIns.value.refresh()
|
||||
}
|
||||
const handleDetail = (row) => {
|
||||
router.push({
|
||||
name: 'Fund/detail',
|
||||
|
||||
Reference in New Issue
Block a user