fix : 修改页面排版

This commit is contained in:
2024-08-07 23:47:49 +08:00
parent 3289e799be
commit e4d0b87069
10 changed files with 105 additions and 67 deletions

View File

@@ -59,7 +59,7 @@
</el-form-item>
</el-col>
<el-col :span="6" v-if="title==='apply'||title==='check'">
<el-form-item label="部门分管领导" label-width="115"
<el-form-item label="部门分管领导" :label-width="title==='check'?110:115"
>
<el-button color="#DED0B2" style="margin-right: 10px" @click="handleShowOptionalChargeLeadershipPicker">
{{
@@ -830,6 +830,19 @@ onMounted(async () => {
}
}
}
.is-leaf:first-child {
.cell {
margin-left: -18px !important;
}
}
.el-table__body {
.el-table__cell:first-child {
.cell {
margin-left: -10px !important;
}
}
}
}
</style>
<style scoped lang="scss">

View File

@@ -1,6 +1,6 @@
<template>
<div v-loading="_value">
<el-form :model="attachment" inline>
<el-form :model="attachment" inline style="margin-left: 15px">
<el-form-item label="名称" prop="fileName">
<el-input v-model="attachment.fileName" placeholder="请输入附件名称查询" clearable filterable style="width: 300px"/>
</el-form-item>
@@ -20,7 +20,7 @@
<el-button v-if="uploadState" color="#DED0B2" @click="handleUpload">上传附件</el-button>
</el-form-item>
</el-form>
<el-card style="width: 100%">
<el-card style="width: 100%;overflow-y: hidden">
<fvTable style="width: 100%;max-height: 300px" v-if="showTable" height="300" :tableConfig="tableConfig"
:data="fileList" :isSettingCol="false" :pagination="false">
<template #empty>