| | |
| | | }, |
| | | { |
| | | title: '保养项目', |
| | | align: 'center', |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | dataIndex: 'itemName', |
| | | ellipsis: true |
| | | }, |
| | | { |
| | | title: '保养规范或要求', |
| | | align: 'center', |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | dataIndex: 'itemDemand', |
| | | ellipsis: true |
| | | } |
| | |
| | | }, |
| | | { |
| | | title: '保养项目', |
| | | align: 'center', |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | dataIndex: 'itemName', |
| | | ellipsis: true |
| | | } |
| | |
| | | }, |
| | | { |
| | | title: '保养内容', |
| | | align: 'center', |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | dataIndex: 'itemName', |
| | | ellipsis: true |
| | | }, |
| | | { |
| | | title: '验收标准', |
| | | align: 'center', |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | dataIndex: 'itemDemand', |
| | | ellipsis: true |
| | | } |
| | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | /* 表头全部居中 */ |
| | | ::v-deep .ant-table-thead > tr > th { |
| | | text-align: center !important; |
| | | } |
| | | |
| | | /* 表体:序号、保养项分类、保养部位的内容居中 */ |
| | | ::v-deep .ant-table-tbody > tr > td[data-col="itemCode"], |
| | | ::v-deep .ant-table-tbody > tr > td[data-col="itemCategory_dictText"], |
| | | ::v-deep .ant-table-tbody > tr > td[data-col="itemPart"] { |
| | | text-align: center !important; |
| | | } |
| | | |
| | | /* 表体:保养项目、保养内容、验收标准的内容左对齐 */ |
| | | ::v-deep .ant-table-tbody > tr > td[data-col="itemName"], |
| | | ::v-deep .ant-table-tbody > tr > td[data-col="itemDemand"] { |
| | | text-align: left !important; |
| | | } |
| | | </style> |