Browse Source

fix:表格高度调整

dev-V1.2
ht 3 weeks ago
parent
commit
1d767ceac1
  1. 17
      zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosCheck/index.vue
  2. 17
      zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosFiling/index.vue
  3. 17
      zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosVerify/index.vue
  4. 12
      zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/transcript/index.vue

17
zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosCheck/index.vue

@ -68,6 +68,8 @@
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
height="100%"
class="nos-task-table"
border border
:header-cell-style="{ backgroundColor: '#f5f7fa', fontWeight: 'bold' }" :header-cell-style="{ backgroundColor: '#f5f7fa', fontWeight: 'bold' }"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@ -277,12 +279,16 @@ onMounted(() => {
<style scoped> <style scoped>
.nos-task-container { .nos-task-container {
display: flex;
flex-direction: column;
height: 100%;
padding: 20px; padding: 20px;
background: #f5f7fa; background: #f5f7fa;
min-height: calc(100vh - 100px); overflow: hidden;
} }
.search-panel { .search-panel {
flex-shrink: 0;
background: #fff; background: #fff;
padding: 16px 20px; padding: 16px 20px;
border-radius: 8px; border-radius: 8px;
@ -305,6 +311,9 @@ onMounted(() => {
} }
.table-container { .table-container {
flex: 1;
min-height: 0;
overflow: hidden;
background: #fff; background: #fff;
border-radius: 8px; border-radius: 8px;
padding: 16px; padding: 16px;
@ -312,7 +321,13 @@ onMounted(() => {
margin-bottom: 16px; margin-bottom: 16px;
} }
.nos-task-table {
width: 100%;
height: 100%;
}
.pagination-container { .pagination-container {
flex-shrink: 0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;

17
zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosFiling/index.vue

@ -69,6 +69,8 @@
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
height="100%"
class="nos-task-table"
border border
:header-cell-style="{ backgroundColor: '#f5f7fa', fontWeight: 'bold' }" :header-cell-style="{ backgroundColor: '#f5f7fa', fontWeight: 'bold' }"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@ -276,12 +278,16 @@ onMounted(() => {
<style scoped> <style scoped>
.nos-task-container { .nos-task-container {
display: flex;
flex-direction: column;
height: 100%;
padding: 20px; padding: 20px;
background: #f5f7fa; background: #f5f7fa;
min-height: calc(100vh - 100px); overflow: hidden;
} }
.search-panel { .search-panel {
flex-shrink: 0;
background: #fff; background: #fff;
padding: 16px 20px; padding: 16px 20px;
border-radius: 8px; border-radius: 8px;
@ -304,6 +310,9 @@ onMounted(() => {
} }
.table-container { .table-container {
flex: 1;
min-height: 0;
overflow: hidden;
background: #fff; background: #fff;
border-radius: 8px; border-radius: 8px;
padding: 16px; padding: 16px;
@ -311,7 +320,13 @@ onMounted(() => {
margin-bottom: 16px; margin-bottom: 16px;
} }
.nos-task-table {
width: 100%;
height: 100%;
}
.pagination-container { .pagination-container {
flex-shrink: 0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;

17
zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosVerify/index.vue

@ -69,6 +69,8 @@
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
height="100%"
class="nos-task-table"
border border
:header-cell-style="{ backgroundColor: '#f5f7fa', fontWeight: 'bold' }" :header-cell-style="{ backgroundColor: '#f5f7fa', fontWeight: 'bold' }"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@ -276,12 +278,16 @@ onMounted(() => {
<style scoped> <style scoped>
.nos-task-container { .nos-task-container {
display: flex;
flex-direction: column;
height: 100%;
padding: 20px; padding: 20px;
background: #f5f7fa; background: #f5f7fa;
min-height: calc(100vh - 100px); overflow: hidden;
} }
.search-panel { .search-panel {
flex-shrink: 0;
background: #fff; background: #fff;
padding: 16px 20px; padding: 16px 20px;
border-radius: 8px; border-radius: 8px;
@ -304,6 +310,9 @@ onMounted(() => {
} }
.table-container { .table-container {
flex: 1;
min-height: 0;
overflow: hidden;
background: #fff; background: #fff;
border-radius: 8px; border-radius: 8px;
padding: 16px; padding: 16px;
@ -311,7 +320,13 @@ onMounted(() => {
margin-bottom: 16px; margin-bottom: 16px;
} }
.nos-task-table {
width: 100%;
height: 100%;
}
.pagination-container { .pagination-container {
flex-shrink: 0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;

12
zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/transcript/index.vue

@ -38,6 +38,7 @@
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="pagedRecords" :data="pagedRecords"
height="100%"
class="transcript-table" class="transcript-table"
border border
stripe stripe
@ -190,12 +191,16 @@ onBeforeUnmount(() => {
<style scoped> <style scoped>
.nos-task-container { .nos-task-container {
min-height: calc(100vh - 100px); display: flex;
flex-direction: column;
height: 100%;
padding: 20px; padding: 20px;
background: #f5f7fa; background: #f5f7fa;
overflow: hidden;
} }
.search-panel { .search-panel {
flex-shrink: 0;
padding: 16px 20px; padding: 16px 20px;
margin-bottom: 16px; margin-bottom: 16px;
background: #fff; background: #fff;
@ -251,6 +256,9 @@ onBeforeUnmount(() => {
} }
.table-container { .table-container {
flex: 1;
min-height: 0;
overflow: hidden;
padding: 16px; padding: 16px;
margin-bottom: 16px; margin-bottom: 16px;
background: #fff; background: #fff;
@ -260,10 +268,12 @@ onBeforeUnmount(() => {
.transcript-table { .transcript-table {
width: 100%; width: 100%;
height: 100%;
color: #303133; color: #303133;
} }
.pagination-container { .pagination-container {
flex-shrink: 0;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;

Loading…
Cancel
Save