From 47594359b7cec4c436148f0bf00ac86c60111d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Wed, 28 Dec 2022 14:24:15 +0800 Subject: [PATCH] =?UTF-8?q?UI=E7=95=8C=E9=9D=A2=E5=8F=98=E6=9B=B4-?= =?UTF-8?q?=E6=B3=95=E8=A7=84=E9=A2=84=E8=AD=A6-=E8=99=9A=E6=8B=9F?= =?UTF-8?q?=E6=B8=85=E5=8D=95-=E8=A1=A8=E6=A0=BC=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=B7=A6=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/UpdateLog/index.vue | 13 +++- .../components/virtualListDetails.vue | 69 ++++++++++--------- .../views/documentTools/virtualList/index.vue | 8 +-- .../views/regulatoryEarlyWarning/index.vue | 14 ++-- 4 files changed, 57 insertions(+), 47 deletions(-) diff --git a/jero-web/src/components/UpdateLog/index.vue b/jero-web/src/components/UpdateLog/index.vue index 5a5a763dc..2529dde05 100644 --- a/jero-web/src/components/UpdateLog/index.vue +++ b/jero-web/src/components/UpdateLog/index.vue @@ -21,7 +21,7 @@ :loading="loading" > - + @@ -63,14 +63,14 @@ { title: this.$t('OperationDetails'), dataIndex: 'logContent', - align: 'center', + align: 'left', ellipsis: true, scopedSlots: { customRender: 'content' } }, { title: this.$t('OperationTime'), dataIndex: 'createTime', - align: 'center', + align: 'left', ellipsis: true, width: 180 }, @@ -121,4 +121,11 @@ text-align: right; margin-top: 20px; } + /deep/.tooltipColor .ant-tooltip-inner { + color: #333; + background-color: #fff !important; + } + /deep/.tooltipColor .ant-tooltip-arrow::before { + background-color: #fff; + } \ No newline at end of file diff --git a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue index ffad9f9d9..515d103e5 100644 --- a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue +++ b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue @@ -285,13 +285,13 @@ { title: this.$t('deliverableTemplate'), dataIndex: 'fileName', - align: 'center', + align: 'left', width: 260, ellipsis: true }, { title: this.$t('operation'), - align: 'center', + align: 'left', width: 130, scopedSlots: { customRender: 'fileOperation' } } @@ -316,7 +316,7 @@ columnsAll: [ { title: this.$t('standard'), - align: 'center', + align: 'left', dataIndex: 'serialNumber', width: 180, fixed: 'left', @@ -324,7 +324,7 @@ }, { title: this.$t('title'), - align: 'center', + align: 'left', dataIndex: 'title', width: 180, fixed: 'left', @@ -332,105 +332,105 @@ }, { title: this.$t('subtitle'), - align: 'center', + align: 'left', dataIndex: 'subtitle', width: 180, ellipsis: true }, { title: this.$t('zoneOfApplication'), - align: 'center', + align: 'left', width: 150, ellipsis: true, dataIndex: 'region_dictText' }, { title: this.$t('scopeOfApplication'), - align: 'center', + align: 'left', width: 180, ellipsis: true, dataIndex: 'shi4Yong4Fan4Wei2_dictText' }, { title: this.$t('status'), - align: 'center', + align: 'left', width: 100, ellipsis: true, dataIndex: 'state_dictText' }, { title: this.$t('correspondingStandard'), - align: 'center', + align: 'left', width: 140, ellipsis: true, dataIndex: 'correspondingStandard' }, { title: this.$t('implementationCategory'), - align: 'center', + align: 'left', width: 140, ellipsis: true, dataIndex: 'implementType_dictText' }, { title: this.$t('ImplementationDate'), - align: 'center', + align: 'left', width: 200, ellipsis: true, dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1' }, { title: this.$t('vehicleInProductionDate'), - align: 'center', + align: 'left', width: 210, ellipsis: true, dataIndex: 'implementTime' }, { title: 'WVTA ID', - align: 'center', + align: 'left', dataIndex: 'wvtaId', width: 180, ellipsis: true }, { title: this.$t('certificationType'), - align: 'center', + align: 'left', width: 180, ellipsis: true, dataIndex: 'attestationType_dictText' }, { title: this.$t('certificationLevel'), - align: 'center', + align: 'left', width: 200, ellipsis: true, dataIndex: 'attestationRank_dictText' }, { title: this.$t('applicableSupplement'), - align: 'center', + align: 'left', width: 200, ellipsis: true, dataIndex: 'applicableSupplement' }, { title: this.$t('technicalField'), - align: 'center', + align: 'left', width: 180, ellipsis: true, dataIndex: 'technologyTerritoryName' }, { title: this.$t('areaOfResponsibility'), - align: 'center', + align: 'left', width: 180, ellipsis: true, dataIndex: 'dutyTerritory_dictText' }, { title: this.$t('remarks'), - align: 'center', + align: 'left', dataIndex: 'remark', width: 180, ellipsis: true @@ -444,7 +444,7 @@ title: this.$t('Deliverables'), dataIndex: 'designDeliverableTemplateName', ellipsis: true, - align: 'center', + align: 'left', width: 180, scopedSlots: { customRender: 'designDeliverableTemplateName' } }, @@ -453,19 +453,19 @@ dataIndex: 'designInitiator_dictText', width: 180, ellipsis: true, - align: 'center' + align: 'left' }, { title: this.$t('personLiable'), dataIndex: 'designDuty_dictText', width: 180, ellipsis: true, - align: 'center' + align: 'left' }, { title: this.$t('descriptionDeliverables'), dataIndex: 'designRemark', - align: 'center', + align: 'left', width: 220, ellipsis: true } @@ -478,7 +478,7 @@ title: this.$t('Deliverables'), dataIndex: 'prehomoDeliverableTemplateName', ellipsis: true, - align: 'center', + align: 'left', width: 180, scopedSlots: { customRender: 'prehomoDeliverableTemplateName' } }, @@ -487,19 +487,19 @@ dataIndex: 'prehomoInitiator_dictText', width: 180, ellipsis: true, - align: 'center' + align: 'left' }, { title: this.$t('personLiable'), dataIndex: 'prehomoDuty_dictText', width: 180, ellipsis: true, - align: 'center' + align: 'left' }, { title: this.$t('descriptionDeliverables'), dataIndex: 'prehomoRemark', - align: 'center', + align: 'left', width: 220, ellipsis: true } @@ -512,7 +512,7 @@ title: this.$t('Deliverables'), dataIndex: 'verifyDeliverableTemplateName', ellipsis: true, - align: 'center', + align: 'left', width: 180, scopedSlots: { customRender: 'verifyDeliverableTemplateName' } }, @@ -520,20 +520,20 @@ title: this.$t('Sponsor'), dataIndex: 'verifyInitiator_dictText', width: 180, - align: 'center', + align: 'left', ellipsis: true }, { title: this.$t('personLiable'), dataIndex: 'verifyDuty_dictText', width: 180, - align: 'center', + align: 'left', ellipsis: true }, { title: this.$t('descriptionDeliverables'), dataIndex: 'verifyRemark', - align: 'center', + align: 'left', width: 220, ellipsis: true } @@ -541,7 +541,7 @@ }, { title: this.$t('operation'), - align: 'center', + align: 'left', fixed: 'right', width: 140, scopedSlots: { customRender: 'operation' } @@ -1092,6 +1092,9 @@ padding-bottom: 0!important; overflow: scroll!important; } + /deep/.ant-table-column-title{ + font-weight: bold!important; + } \ No newline at end of file diff --git a/jero-web/src/views/documentTools/virtualList/index.vue b/jero-web/src/views/documentTools/virtualList/index.vue index d329acfc3..dd90a033b 100644 --- a/jero-web/src/views/documentTools/virtualList/index.vue +++ b/jero-web/src/views/documentTools/virtualList/index.vue @@ -216,7 +216,7 @@ columns: [ { title: this.$t('VirtualListName'), - align: 'center', + align: 'left', dataIndex: 'name', width: '25%', ellipsis: true, @@ -224,21 +224,21 @@ }, { title: this.$t('listStatus'), - align: 'center', + align: 'left', width: '25%', ellipsis: true, dataIndex: 'state_dictText' }, { title: this.$t('creater'), - align: 'center', + align: 'left', width: '25%', ellipsis: true, dataIndex: 'createBy' }, { title: this.$t('operation'), - align: 'center', + align: 'left', fixed: 'right', width: 400, scopedSlots: { customRender: 'operation' } diff --git a/jero-web/src/views/regulatoryEarlyWarning/index.vue b/jero-web/src/views/regulatoryEarlyWarning/index.vue index 3929579f3..e129d6f5d 100644 --- a/jero-web/src/views/regulatoryEarlyWarning/index.vue +++ b/jero-web/src/views/regulatoryEarlyWarning/index.vue @@ -155,7 +155,7 @@ columnsAll: [ { title: this.$t('standard'), - align: 'center', + align: 'left', dataIndex: 'serial_number', ellipsis: true, width: 170, @@ -163,7 +163,7 @@ }, { title: this.$t('title'), - align: 'center', + align: 'left', dataIndex: 'title', ellipsis: true, width: 170, @@ -171,28 +171,28 @@ }, { title: this.$t('status'), - align: 'center', + align: 'left', width: 140, ellipsis: true, dataIndex: 'state' }, { title: this.$t('zoneOfApplication'), - align: 'center', + align: 'left', width: 170, ellipsis: true, dataIndex: 'region' }, { title: this.$t('technicalField'), - align: 'center', + align: 'left', ellipsis: true, width: 170, dataIndex: 'technology_territory' }, { title: this.$t('vehicleInProductionDate'), - align: 'center', + align: 'left', ellipsis: true, width: 210, dataIndex: 'implement_time', @@ -200,7 +200,7 @@ }, { title: this.$t('ImplementationDate'), - align: 'center', + align: 'left', ellipsis: true, width: 210, dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1',