fix(法规清单、标准跟踪清单、标准预警): 样式调整

This commit is contained in:
zyn
2024-01-08 17:05:47 +08:00
parent 1b33968124
commit f2712d2e91
6 changed files with 35 additions and 25 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
<div class="dynamic-content"> <div class="dynamic-content">
<!-- 实施预警 --> <!-- 实施预警 -->
<div class="dynamic"> <div class="dynamic">
<div class="container"> <div class="container" style="height: 100%">
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">--> <!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
<!-- <el-tab-pane label="标准预警" name="STANDARD">--> <!-- <el-tab-pane label="标准预警" name="STANDARD">-->
<div class="dynamic-content"> <div class="dynamic-content">
@@ -166,7 +166,7 @@
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
<div style="float: right;margin: 0 3% 10px 0"> <div style="margin: 0 3% 10px 0;display: flex;justify-content: right">
<el-button <el-button
v-btn-permission="'a34dcbc3a44a297a6b6cc95e450b28ea'" v-btn-permission="'a34dcbc3a44a297a6b6cc95e450b28ea'"
type="primary" type="primary"
@@ -176,13 +176,13 @@
导出Excel 导出Excel
</el-button> </el-button>
</div> </div>
<div class="content"> <div class="content" style="height: calc(100% - 224px);padding-bottom: 0">
<!-- <el-divider content-position="left" class="dynamic-child-title">实施日期预警</el-divider>--> <!-- <el-divider content-position="left" class="dynamic-child-title">实施日期预警</el-divider>-->
<el-table <el-table
v-loading="warningTableLoading" v-loading="warningTableLoading"
:data="warningTableDatas" :data="warningTableDatas"
style="overflow-y: auto;" style="overflow-y: auto;"
height="100%" height="calc(100% - 57px)"
border border
:resizable="false" :resizable="false"
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}" :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
@@ -423,22 +423,24 @@ export default {
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
#listOfCountries { #listOfCountries {
//height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: calc(100% - 100px); //min-height: calc(100% - 100px);
overflow-y: auto; overflow-y: auto;
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
flex: auto; //flex: auto;
width: 100%; width: 100%;
//height: calc(100% - 110px) !important; //height: calc(100% - 110px) !important;
height: calc(~'100% - 30px'); //height: calc(~'100% - 30px');
height: calc(~'100% - 106px');
.table_info { .table_info {
height: calc(70vh - 90px); //height: calc(70vh - 90px);
height: calc(100% - 57px);
} }
.pagination { .pagination {
@@ -403,22 +403,24 @@ export default {
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
#listOfCountries { #listOfCountries {
//height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: calc(100% - 100px); //min-height: calc(100% - 100px);
overflow-y: auto; overflow-y: auto;
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
flex: auto; //flex: auto;
width: 100%; width: 100%;
//height: calc(~'100% - 105px - 56px') !important; //height: calc(~'100% - 105px - 56px') !important;
height: calc(~'100% - 30px'); //height: calc(~'100% - 30px');
height: calc(~'100% - 106px');
.table_info { .table_info {
height: calc(70vh - 90px); //height: calc(70vh - 90px);
height: calc(100% - 57px);
} }
.pagination { .pagination {
position: inherit; position: inherit;
@@ -454,22 +454,24 @@ export default {
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
#listOfCountries { #listOfCountries {
//height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: calc(100% - 100px); //min-height: calc(100% - 100px);
overflow-y: auto; overflow-y: auto;
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
flex: auto; //flex: auto;
width: 100%; width: 100%;
//height: calc(~'100% - 105px - 56px') !important; //height: calc(~'100% - 105px - 56px') !important;
height: calc(~'100% - 30px'); //height: calc(~'100% - 30px');
height: calc(~'100% - 106px');
.table_info { .table_info {
height: calc(70vh - 90px); //height: calc(70vh - 90px);
height: calc(100% - 57px);
} }
.pagination { .pagination {
position: inherit; position: inherit;
@@ -1486,7 +1486,8 @@ export default {
//height: 100%; //height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: calc(100% - 100px); //min-height: calc(100% - 100px);
height: 100%;
overflow-y: auto; overflow-y: auto;
/deep/.el-form-item__label{ /deep/.el-form-item__label{
color: #333333; color: #333333;
@@ -1499,7 +1500,8 @@ export default {
width: 100%; width: 100%;
height: calc(~'100% - 30px'); height: calc(~'100% - 30px');
.table_info { .table_info {
height: calc(70vh - 90px); //height: calc(70vh - 90px);
flex: 1;
} }
.pagination { .pagination {
position: inherit; position: inherit;
@@ -1748,20 +1748,22 @@ export default {
.local-products-or-project-library { .local-products-or-project-library {
//height: calc(100% - 69px); //height: calc(100% - 69px);
//position: relative; //position: relative;
min-height: calc(100% - 100px); //min-height: calc(100% - 100px);
height: 100%;
overflow-y: auto; overflow-y: auto;
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
flex: auto; //flex: auto;
width: 100%; width: 100%;
//height: calc(100% - 110px); //height: calc(100% - 110px);
height: calc(~'100% - 30px'); height: calc(~'100% - 53px');
.table_info { .table_info {
height: calc(70vh - 90px); flex: 1;
//height: calc(70vh - 90px);
} }
} }