fix : 修改表格高度,页面左右边距,上传文件不能和标题并排
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div v-loading="loading">
|
||||
<el-form :model="formData">
|
||||
<el-row style="margin-left: 15px">
|
||||
<el-col :span="24" v-if="type==='singleDetail'">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="征集名称">
|
||||
<span>{{ formData.requirementName }}</span>
|
||||
</el-form-item>
|
||||
@@ -51,8 +51,8 @@
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<baseTitle v-if="fileListShow === 'READ' || fileListShow === 'EDIT'" title="附件列表"></baseTitle>
|
||||
<file-component title="" tag="需求征集" :fullscreen="true"
|
||||
<baseTitle v-if="fileListShow === 'READ' || fileListShow === 'EDIT'" title="附件文件"></baseTitle>
|
||||
<file-component title="" tag="需求征集" :fullscreen="true" :fileNameTableWidth="300"
|
||||
v-model:value="formData.fileList" :processViewer="processViewer"
|
||||
:file-list-show="fileListShow"/>
|
||||
</el-col>
|
||||
@@ -198,4 +198,19 @@ watch(() => props.processViewer, (newVal) => {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
:deep(.el-table__header) {
|
||||
.is-leaf:first-child {
|
||||
.cell {
|
||||
margin-left: -53px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.el-table__body) {
|
||||
.el-table__cell:first-child {
|
||||
.cell {
|
||||
margin-left: -26px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user