fix : 修复列表页面搜索框排版
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
|
||||
<fvSearchForm :searchConfig="searchConfig" @search="search" style="margin-left: 16px"></fvSearchForm>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
|
||||
<template #empty>
|
||||
<el-empty description="暂无数据"/>
|
||||
@@ -24,18 +24,7 @@ const searchConfig = reactive([
|
||||
placeholder: '请输入专项资金名称查询'
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
prop: 'state',
|
||||
component: shallowRef(fvSelect),
|
||||
props: {
|
||||
placeholder: '请选择状态',
|
||||
clearable: true,
|
||||
filterable:true,
|
||||
cacheKey: 'special_fund',
|
||||
remote: true
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
label: '资金金额(元)',
|
||||
prop: 'fundAmount',
|
||||
@@ -54,6 +43,18 @@ const searchConfig = reactive([
|
||||
placeholder: '请输入剩余金额查询'
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
prop: 'state',
|
||||
component: shallowRef(fvSelect),
|
||||
props: {
|
||||
placeholder: '请选择状态',
|
||||
clearable: true,
|
||||
filterable:true,
|
||||
cacheKey: 'special_fund',
|
||||
remote: true
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '项目数量',
|
||||
prop: 'projectNumber',
|
||||
@@ -231,7 +232,23 @@ const headBtnClick = (key) => {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
:deep(.el-table__header) {
|
||||
.is-leaf:first-child {
|
||||
.cell {
|
||||
margin-left: -25px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<style scoped>
|
||||
|
||||
:deep(.el-table__body) {
|
||||
.el-table__cell:first-child {
|
||||
.cell {
|
||||
margin-left: -13px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
:deep(.el-col-5:nth-child(4).el-col-offset-1){
|
||||
margin-left: 10px !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user