update 分页样式调整

This commit is contained in:
赵霄
2023-09-22 16:25:20 +08:00
parent 8f618af492
commit 83246adc2b
2 changed files with 45 additions and 20 deletions
+39 -12
View File
@@ -371,20 +371,47 @@
/* switch的样式--end */ /* switch的样式--end */
/*分页的样式start*/ /*分页的样式start*/
/deep/ .ant-pagination-item-active { .ant-pagination-prev, .ant-pagination-next, .ant-pagination-jump-prev, .ant-pagination-jump-next {
background: #D52C26; height: 24px !important;
border-radius: 3px 3px 3px 3px; min-width: 24px !important;
border: none; line-height: 24px !important;
color: #FFFFFF;
} }
/deep/ .ant-pagination-item { .ant-pagination-item {
min-width: 24px; width: 24px;
height: 24px; height: 24px !important;
line-height: 24px !important; min-width: 24px !important;
color: #1D2129; line-height: 22px !important;
font-weight: 400;
border: 1px solid #E5E6EB; a {
padding: 0 !important;
}
}
.ant-pagination-item-active a {
color: #ffffff !important;
background-color: @primary-color;
}
.ant-pagination-options-size-changer.ant-select {
height: 24px !important;
.ant-select-selection--single {
height: 24px;
.ant-select-selection__rendered {
line-height: 22px;
}
}
}
.ant-pagination-options-quick-jumper {
height: 24px !important;
line-height: 22px !important;
}
.ant-pagination-options-quick-jumper input {
height: 24px !important;
} }
/*分页的样式end*/ /*分页的样式end*/
@@ -43,7 +43,7 @@
:placeholder="$t('pleaseSelect') + $t('docTool.comparison.textStatus')" :placeholder="$t('pleaseSelect') + $t('docTool.comparison.textStatus')"
:type="'select'" :type="'select'"
:triggerChange="false" :triggerChange="false"
:dictCode="'project_health'" /> :dictCode="'process_manuscript'" />
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
@@ -87,9 +87,6 @@ export default {
visible: false, visible: false,
loading: false, loading: false,
fileGroup: '', fileGroup: '',
selectedRowKeys: [],
selectedRows: [],
queryParam: {},
labelCol: { labelCol: {
span: 6 span: 6
}, },
@@ -163,16 +160,17 @@ export default {
this.$message.warning(this.$t('selectOne')) this.$message.warning(this.$t('selectOne'))
return return
} }
const file = this.selectedRows[0] const file = this.selectionRows[0]
if (file.file_name) { console.log(file)
const name = file.file_name.split('.') if (file.fileName) {
const name = file.fileName.split('.')
const nameSuffix = name[name.length - 1] const nameSuffix = name[name.length - 1]
if (nameSuffix.toLowerCase() === 'doc' || nameSuffix.toLowerCase() === 'docx') { if (nameSuffix.toLowerCase() === 'doc' || nameSuffix.toLowerCase() === 'docx') {
const params = { const params = {
attId: file.id, attId: file.id,
title: file.title, title: file.title,
titleEn: file.title_en, titleEn: file.title_en,
fileName: file.file_name, fileName: file.fileName,
serialNumber: file.serial_number, serialNumber: file.serial_number,
connectId: file.connect_id, connectId: file.connect_id,
fileGroup: this.fileGroup, fileGroup: this.fileGroup,