From 83246adc2bcceda2d6089605b64cbe0d9d7f16de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Fri, 22 Sep 2023 16:25:20 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=88=86=E9=A1=B5=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/less/common.less | 51 ++++++++++++++----- .../documentSplit/modules/SplitText.vue | 14 +++-- 2 files changed, 45 insertions(+), 20 deletions(-) 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,