UI界面变更-文档库

This commit is contained in:
刘彦泽
2022-12-27 17:44:14 +08:00
parent eb81b7e091
commit c2ba0b1d74
3 changed files with 28 additions and 8 deletions
@@ -88,18 +88,18 @@
title: this.$t('standard'), title: this.$t('standard'),
dataIndex: 'serial_number', dataIndex: 'serial_number',
ellipsis: true, ellipsis: true,
align: 'center' align: 'left'
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
dataIndex: 'title', dataIndex: 'title',
ellipsis: true, ellipsis: true,
align: 'center' align: 'left'
}, },
{ {
title: this.$t('TextStatus'), title: this.$t('TextStatus'),
dataIndex: 'state', dataIndex: 'state',
align: 'center' align: 'left'
} }
], ],
dataList: [], dataList: [],
@@ -263,6 +263,14 @@
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
/deep/.ant-table-thead > tr > th {
font-weight: bolder;
}
/*/deep/.ant-table-tbody > tr > td {*/
/* color: #040B29 ;*/
/*}*/
</style> </style>
<style> <style>
/*.ant-input-disabled{*/ /*.ant-input-disabled{*/
+6 -2
View File
@@ -158,7 +158,7 @@
this.columns.push({ this.columns.push({
title: res.db_field_txt, title: res.db_field_txt,
dataIndex: res.db_field_name, dataIndex: res.db_field_name,
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
sorter: res.sort, sorter: res.sort,
width: 170 width: 170
@@ -187,7 +187,7 @@
if (this.showAction) { if (this.showAction) {
this.columns.push({ this.columns.push({
title: this.$t('operation'), title: this.$t('operation'),
align: 'center', align: 'left',
fixed: 'right', fixed: 'right',
width: width, width: width,
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
@@ -257,6 +257,10 @@
font-weight: bold; font-weight: bold;
} }
/*.table .ant-table-tbody > tr > td {*/
/* color: #040B29 ;*/
/*}*/
.rowClassNameBack { .rowClassNameBack {
background: #f5f5f5; background: #f5f5f5;
} }
@@ -331,21 +331,21 @@
{ {
title: this.$t('ModificationContent'), title: this.$t('ModificationContent'),
dataIndex: 'content', dataIndex: 'content',
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
scopedSlots: { customRender: 'content' } scopedSlots: { customRender: 'content' }
}, },
{ {
title: this.$t('ModificationTime'), title: this.$t('ModificationTime'),
dataIndex: 'createTime', dataIndex: 'createTime',
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
width: 180 width: 180
}, },
{ {
title: this.$t('personnel'), title: this.$t('personnel'),
dataIndex: 'createBy', dataIndex: 'createBy',
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
width: 180 width: 180
} }
@@ -818,4 +818,12 @@
color: #00B3BE !important; color: #00B3BE !important;
cursor: pointer; cursor: pointer;
} }
/deep/.table .ant-table-thead > tr > th {
font-weight: bolder;
}
///deep/.table .ant-table-tbody > tr > td {
// color: #040B29 ;
//}
</style> </style>