Commit 6420d6d4 authored by 袁家斌's avatar 袁家斌

change

parent 63810a96
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
} }
.el-table .cell { .el-table .cell {
padding: 0 6px; padding: 0 6px !important;
// line-height: 18px; // line-height: 18px;
height: 35px; height: 35px;
line-height: 35px; line-height: 35px;
......
...@@ -160,6 +160,6 @@ export default { ...@@ -160,6 +160,6 @@ export default {
.data-table-out { .data-table-out {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; flex-grow: 1;
} }
</style> </style>
\ No newline at end of file
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</div> </div>
</div> --> </div> -->
<STable2 <STable2
:style="{ marginTop: '.1rem', height: 'calc(100% - .1rem)' }" :style="{ marginTop: '.1rem', height: `calc(100% - ${isProvice ? '0.1rem' : '0.6rem'})` }"
:headers="header4_1" :headers="header4_1"
:table-data="data4" :table-data="data4"
@row-click="(e)=>{rowClickArea(0, e)}" @row-click="(e)=>{rowClickArea(0, e)}"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工程名称:"> <el-form-item label="工程名称:">
<el-input v-model="searchForm.project_name" size="small"></el-input> <el-input v-model="searchForm.project_name" size="small" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch" size="small" <el-button type="primary" @click="handleSearch" size="small"
...@@ -100,6 +100,10 @@ export default { ...@@ -100,6 +100,10 @@ export default {
.dialog-body-container { .dialog-body-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; // height: 100%;
height: calc(100% - 20px);
}
::v-deep .data-table-out{
height: calc(100% - 70px);
} }
</style> </style>
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工程名称:"> <el-form-item label="工程名称:">
<el-input v-model="searchForm.project_name" size="small"></el-input> <el-input v-model="searchForm.project_name" size="small" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch" size="small" <el-button type="primary" @click="handleSearch" size="small"
...@@ -134,6 +134,10 @@ export default { ...@@ -134,6 +134,10 @@ export default {
.dialog-body-container { .dialog-body-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; // height: 100%;
height: calc(100% - 20px);
}
::v-deep .data-table-out{
height: calc(100% - 70px);
} }
</style> </style>
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工程名称:"> <el-form-item label="工程名称:">
<el-input v-model="searchForm.project_name" size="small"></el-input> <el-input v-model="searchForm.project_name" size="small" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch" size="small" <el-button type="primary" @click="handleSearch" size="small"
...@@ -170,6 +170,6 @@ export default { ...@@ -170,6 +170,6 @@ export default {
height: calc(100% - 20px); height: calc(100% - 20px);
} }
::v-deep .data-table-out{ ::v-deep .data-table-out{
height: calc(100% - 60px); height: calc(100% - 70px);
} }
</style> </style>
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</el-form-item> </el-form-item>
<el-form-item label="工程名称:"> <el-form-item label="工程名称:">
<el-input v-model="searchForm.project_name" size="small"></el-input> <el-input v-model="searchForm.project_name" size="small" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch" size="small" <el-button type="primary" @click="handleSearch" size="small"
...@@ -104,6 +104,10 @@ export default { ...@@ -104,6 +104,10 @@ export default {
.dialog-body-container { .dialog-body-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; // height: 100%;
height: calc(100% - 20px);
}
::v-deep .data-table-out{
height: calc(100% - 70px);
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment