diff --git a/src/assets/less/common.less b/src/assets/less/common.less index 96055542..4590ce61 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -371,20 +371,47 @@ /* switch的样式--end */ /*分页的样式start*/ -/deep/ .ant-pagination-item-active { - background: #D52C26; - border-radius: 3px 3px 3px 3px; - border: none; - color: #FFFFFF; +.ant-pagination-prev, .ant-pagination-next, .ant-pagination-jump-prev, .ant-pagination-jump-next { + height: 24px !important; + min-width: 24px !important; + line-height: 24px !important; } -/deep/ .ant-pagination-item { - min-width: 24px; - height: 24px; - line-height: 24px !important; - color: #1D2129; - font-weight: 400; - border: 1px solid #E5E6EB; +.ant-pagination-item { + width: 24px; + height: 24px !important; + min-width: 24px !important; + line-height: 22px !important; + + 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*/ diff --git a/src/views/documentTool/documentSplit/modules/SplitText.vue b/src/views/documentTool/documentSplit/modules/SplitText.vue index 2110b947..39e09982 100644 --- a/src/views/documentTool/documentSplit/modules/SplitText.vue +++ b/src/views/documentTool/documentSplit/modules/SplitText.vue @@ -43,7 +43,7 @@ :placeholder="$t('pleaseSelect') + $t('docTool.comparison.textStatus')" :type="'select'" :triggerChange="false" - :dictCode="'project_health'" /> + :dictCode="'process_manuscript'" /> @@ -87,9 +87,6 @@ export default { visible: false, loading: false, fileGroup: '', - selectedRowKeys: [], - selectedRows: [], - queryParam: {}, labelCol: { span: 6 }, @@ -163,16 +160,17 @@ export default { this.$message.warning(this.$t('selectOne')) return } - const file = this.selectedRows[0] - if (file.file_name) { - const name = file.file_name.split('.') + const file = this.selectionRows[0] + console.log(file) + if (file.fileName) { + const name = file.fileName.split('.') const nameSuffix = name[name.length - 1] if (nameSuffix.toLowerCase() === 'doc' || nameSuffix.toLowerCase() === 'docx') { const params = { attId: file.id, title: file.title, titleEn: file.title_en, - fileName: file.file_name, + fileName: file.fileName, serialNumber: file.serial_number, connectId: file.connect_id, fileGroup: this.fileGroup,