项目管理-项目状态看板-全屏查看-列宽可拖拽

This commit is contained in:
刘彦泽
2023-02-03 16:17:57 +08:00
parent 560e149538
commit 8a0e657e93
2 changed files with 13 additions and 2 deletions
@@ -12,6 +12,7 @@
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
:components="drag(columns,'columns')"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 180px)'}" :scroll="{x: '100%',y:'calc(100vh - 180px)'}"
@@ -54,9 +55,11 @@
<script> <script>
import { getAction, postAction, deleteAction } from '@/api/manage' import { getAction, postAction, deleteAction } from '@/api/manage'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
export default { export default {
name: 'projectStatusAndProgress', name: 'projectStatusAndProgress',
mixins:[ResizeHeader, ResizeColumnProvide],
data() { data() {
return { return {
url: { url: {
@@ -152,7 +155,7 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@assets/less/common.less'; @import'~@assets/less/common.less';
.doc-detail { .doc-detail {
background: #fff; background: #fff;
@@ -233,4 +236,8 @@
/deep/.ant-table-column-title{ /deep/.ant-table-column-title{
font-weight: bold!important; font-weight: bold!important;
} }
::v-deep .ant-table-placeholder{
margin-top: 8px !important;
}
</style> </style>
@@ -509,7 +509,7 @@
} }
</style> </style>
<style scoped lang="less"> <style scoped lang="less">
@import '~@assets/less/common.less'; @import'~@assets/less/common.less';
.box-title-text { .box-title-text {
line-height: 1.4; line-height: 1.4;
@@ -742,4 +742,8 @@
/deep/.ant-table-column-title{ /deep/.ant-table-column-title{
font-weight: bold!important; font-weight: bold!important;
} }
::v-deep .ant-table-placeholder{
margin-top: 8px !important;
}
</style> </style>