统一除名页面

This commit is contained in:
zhenghl 2026-01-06 19:33:53 +08:00
parent 9ccb35c63f
commit d63a0b2bde
4 changed files with 80 additions and 66 deletions

View File

@ -26,7 +26,6 @@
</div> </div>
<el-row> <el-row>
<el-col :span="22" :offset="1">
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
@ -50,10 +49,8 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-col>
</el-row> </el-row>
<el-row> <el-row style="text-align:right;margin-top: 16px;">
<el-col :offset="13">
<el-pagination <el-pagination
:disabled="loading" :disabled="loading"
:page-size="pageParam.size" :page-size="pageParam.size"
@ -68,7 +65,6 @@
{{ pageParam.current }} / {{ (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.size - 1) / pageParam.size) : 1) }} {{ pageParam.current }} / {{ (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.size - 1) / pageParam.size) : 1) }}
</span> </span>
</el-pagination> </el-pagination>
</el-col>
</el-row> </el-row>
<DismissalObjectionAppeal ref="DismissalObjectionAppeal" @refreshList="loadPage" /> <DismissalObjectionAppeal ref="DismissalObjectionAppeal" @refreshList="loadPage" />
</div> </div>
@ -160,7 +156,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.main-content { .main-content {
background: #fff; background: #fff;
padding: 10pt; padding: 20px;
.content-header { .content-header {
background: white; background: white;

View File

@ -41,8 +41,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-row> </el-row>
<el-row> <el-row style="text-align:right;margin-top: 16px">
<el-col :offset="14">
<el-pagination <el-pagination
:disabled="loading" :disabled="loading"
:page-size="pageParam.size" :page-size="pageParam.size"
@ -57,7 +56,6 @@
{{ pageParam.current }} / {{ (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.size - 1) / pageParam.size) : 1) }} {{ pageParam.current }} / {{ (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.size - 1) / pageParam.size) : 1) }}
</span> </span>
</el-pagination> </el-pagination>
</el-col>
</el-row> </el-row>
<DismissalObjectionAppeal ref="DismissalObjectionAppeal" @refreshList="loadPage" /> <DismissalObjectionAppeal ref="DismissalObjectionAppeal" @refreshList="loadPage" />
</div> </div>
@ -148,7 +146,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.main-content { .main-content {
background: #fff; background: #fff;
padding: 10pt; padding: 20px;
.content-header { .content-header {
background: white; background: white;

View File

@ -68,10 +68,15 @@ export default {
handlerWidth: '120px', handlerWidth: '120px',
showPagination: true, showPagination: true,
tableProps: { tableProps: {
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' }, headerCellStyle: { background: '#8cc3fb!important', color: '#fff!important', padding: '0px' },
headerRowStyle: { height: '48px' }, headerRowStyle: { height: '48px' },
rowStyle: { height: '48px' }, rowStyle: { height: '48px' },
cellStyle: { padding: '16px 0', color: '#333' } cellStyle: { padding: '16px 0', color: '#333' },
rowClassName: (row) => {
if (row.rowIndex % 2 === 1) {
return 'warning-row'
}
}
} }
}, },
buttons: [ buttons: [
@ -374,5 +379,10 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "~@/styles/abnormal-list.scss"; // @import "~@/styles/abnormal-list.scss";
.page {
background: #Fff;
margin: 20px;
padding: 20px;
}
</style> </style>

View File

@ -93,10 +93,15 @@ export default {
} }
}, },
tableProps: { tableProps: {
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' }, headerCellStyle: { background: '#8cc3fb!important', color: '#fff!important', padding: '0px' },
headerRowStyle: { height: '48px' }, headerRowStyle: { height: '48px' },
rowStyle: { height: '48px' }, rowStyle: { height: '48px' },
cellStyle: { padding: '16px 0', color: '#333' } cellStyle: { padding: '16px 0', color: '#333' },
rowClassName: (row) => {
if (row.rowIndex % 2 === 1) {
return 'warning-row'
}
}
} }
}, },
buttons: [ buttons: [
@ -381,4 +386,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "~@/styles/abnormal-list.scss"; @import "~@/styles/abnormal-list.scss";
.page {
background: #Fff;
margin: 20px;
padding: 20px;
}
</style> </style>