fix : 修复首页点击费用分摊的查看跳转问题

This commit is contained in:
2024-06-05 11:01:41 +08:00
parent 71b2b372b1
commit 80d84c4a85
3 changed files with 28 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div v-loading="loading">
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
<fvTable ref="tableIns" :tableConfig="tableConfig" :data="detailList" style="width: 100%">
<fvTable ref="tableIns" :tableConfig="tableConfig" :data="detailList.formData">
<template #empty>
<el-empty description="暂无数据"/>
</template>
@@ -108,8 +108,14 @@ const search = (val) => {
tableConfig.params = {...val}
tableIns.value.refresh()
}
watch(() => props.loading, (val) => {
props.loading=val
})
</script>
<style scoped>
:deep(.el-table--fit ){
width: 100%;
height: 400px!important;
}
</style>