|
|
@ -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; |
|
|
|