From 87a360ea374daf86107b5069b3971024c6e69421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Tue, 10 Jan 2023 14:07:54 +0800 Subject: [PATCH 01/97] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=BA=93-=E5=8F=AF?= =?UTF-8?q?=E4=BC=B8=E7=BC=A9=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/Standardselection/index.vue | 12 +++++++++--- .../views/documentManage/library/docDetail/index.vue | 8 ++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/jero-web/src/components/Standardselection/index.vue b/jero-web/src/components/Standardselection/index.vue index 226c2c2a2..a6a12b67a 100644 --- a/jero-web/src/components/Standardselection/index.vue +++ b/jero-web/src/components/Standardselection/index.vue @@ -26,6 +26,7 @@ @searchReset="searchReset" /> import { getAction, postAction } from '@/api/manage' import currencySearch from '@/components/currencySearch/index' + import {ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { name: 'index', @@ -75,6 +77,7 @@ return false } }, + mixins: [ResizeColumnProvide,ResizeHeader], data() { return { visible: false, @@ -88,18 +91,21 @@ title: this.$t('standard'), dataIndex: 'serial_number', ellipsis: true, - align: 'left' + align: 'left', + width: 480 }, { title: this.$t('title'), dataIndex: 'title', ellipsis: true, - align: 'left' + align: 'left', + width: 480 }, { title: this.$t('TextStatus'), dataIndex: 'state', - align: 'left' + align: 'left', + width: 480 } ], dataList: [], diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index 063bdf958..b9fe59d34 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -177,6 +177,7 @@ > Date: Tue, 10 Jan 2023 14:10:38 +0800 Subject: [PATCH 02/97] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=BA=93-=E5=8F=AF?= =?UTF-8?q?=E4=BC=B8=E7=BC=A9=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/Standardselection/index.vue | 2 +- jero-web/src/views/documentManage/library/docDetail/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jero-web/src/components/Standardselection/index.vue b/jero-web/src/components/Standardselection/index.vue index a6a12b67a..b658c56a2 100644 --- a/jero-web/src/components/Standardselection/index.vue +++ b/jero-web/src/components/Standardselection/index.vue @@ -61,7 +61,7 @@ \ No newline at end of file From 8a0e657e93f618c845fa0fa73f4e25af1e25ada4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Fri, 3 Feb 2023 16:17:57 +0800 Subject: [PATCH 47/97] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=8A=B6=E6=80=81=E7=9C=8B=E6=9D=BF-?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E6=9F=A5=E7=9C=8B-=E5=88=97=E5=AE=BD?= =?UTF-8?q?=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/projectStatusAndProgress.vue | 9 ++++++++- .../views/projectManagement/projectStatusBoard/index.vue | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue b/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue index e976090f1..9433ad49b 100644 --- a/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue +++ b/jero-web/src/views/projectManagement/projectStatusBoard/components/projectStatusAndProgress.vue @@ -12,6 +12,7 @@ import { getAction, postAction, deleteAction } from '@/api/manage' + import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { name: 'projectStatusAndProgress', + mixins:[ResizeHeader, ResizeColumnProvide], data() { return { url: { @@ -152,7 +155,7 @@ \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/projectStatusBoard/index.vue b/jero-web/src/views/projectManagement/projectStatusBoard/index.vue index ac0018330..41b6745b5 100644 --- a/jero-web/src/views/projectManagement/projectStatusBoard/index.vue +++ b/jero-web/src/views/projectManagement/projectStatusBoard/index.vue @@ -509,7 +509,7 @@ } \ No newline at end of file From b2f9f287babfa1383c9739795ab14e3b0d64083c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Mon, 6 Feb 2023 10:20:14 +0800 Subject: [PATCH 48/97] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=B7=A5=E5=85=B7-?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E6=B8=85=E5=8D=95-=E8=99=9A=E6=8B=9F?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E8=AF=A6=E6=83=85-=E5=88=97=E5=AE=BD?= =?UTF-8?q?=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/UpdateLog/index.vue | 4 +- .../virtualList/components/addModel.vue | 19 +++++++--- .../virtualList/components/editModel.vue | 1 + .../components/virtualListDetails.vue | 37 ++++++++++++++----- 4 files changed, 44 insertions(+), 17 deletions(-) diff --git a/jero-web/src/components/UpdateLog/index.vue b/jero-web/src/components/UpdateLog/index.vue index 254502f4b..f29fb58b8 100644 --- a/jero-web/src/components/UpdateLog/index.vue +++ b/jero-web/src/components/UpdateLog/index.vue @@ -5,10 +5,10 @@ :visible="visible" :confirm-loading="confirmLoading" :maskClosable="false" - @cancel="visible = false" + @cancel="visible = false;$emit('visible')" > diff --git a/jero-web/src/views/documentTools/virtualList/components/addModel.vue b/jero-web/src/views/documentTools/virtualList/components/addModel.vue index c946cdf25..95e9b29d8 100644 --- a/jero-web/src/views/documentTools/virtualList/components/addModel.vue +++ b/jero-web/src/views/documentTools/virtualList/components/addModel.vue @@ -62,6 +62,7 @@
import { getAction, postAction } from '@/api/manage' import globalAdvancedQuery from '@/components/globalAdvancedQuery/index' + import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { name: 'addModel', @@ -108,6 +110,7 @@ default: {} } }, + mixins:[ResizeHeader, ResizeColumnProvide], data() { return { toggleSearchStatus: false, @@ -120,19 +123,22 @@ title: this.$t('standard'), dataIndex: 'serial_number', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('title'), dataIndex: 'title', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('zoneOfApplication'), dataIndex: 'region', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, // { // title: this.$t('status'), @@ -150,13 +156,15 @@ title: this.$t('ImplementationDate'), dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('vehicleInProductionDate'), dataIndex: 'implement_time', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 } // { // title: this.$t('correspondingStandard'), @@ -250,6 +258,7 @@ }, handleCancel() { this.visible = false + this.$emit('visible') }, handleSubmit() { if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { diff --git a/jero-web/src/views/documentTools/virtualList/components/editModel.vue b/jero-web/src/views/documentTools/virtualList/components/editModel.vue index fa979df36..0fea84383 100644 --- a/jero-web/src/views/documentTools/virtualList/components/editModel.vue +++ b/jero-web/src/views/documentTools/virtualList/components/editModel.vue @@ -737,6 +737,7 @@ }, handleCancel() { this.visible = false + this.$emit('visible') }, handleSubmit() { this.$refs.ruleForm.validate(valid => { diff --git a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue index 63f07166b..27d9396cc 100644 --- a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue +++ b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue @@ -151,7 +151,7 @@ {{$t('BatchDelete')}}
-
+
- - - - + + + + { + this.isTruee = true + }) return columnResult } }, methods: { ...mapGetters(['userInfo']), + sVisible(){ + this.getDataAdmin() + }, handleSuperQuery(params, matchType) { let sqp = {} if (!params || (params && params.length == 0)) { @@ -710,6 +721,12 @@ transferClick() { this.$refs.transferListRef.transferModel() }, + getDataAdmin(){ + this.isTrue = false + setTimeout(()=>{ + this.isTrue = true + },100) + }, //导出 handleExport() { let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) @@ -962,7 +979,7 @@ \ No newline at end of file From 63187f69b4f5715ffcbbf399975307c3b13e221a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Mon, 6 Feb 2023 15:02:18 +0800 Subject: [PATCH 51/97] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=94=AF=E6=8C=81-?= =?UTF-8?q?=E6=B3=95=E8=A7=84=E6=84=8F=E8=A7=81=E6=94=B6=E9=9B=86-?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E7=BB=93=E6=9E=9C-=E5=88=97=E5=AE=BD?= =?UTF-8?q?=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/viewFileModel/index.vue | 4 ++-- .../components/evaluationResultsList.vue | 22 +++++++++++++++++-- .../collectionOfRegulatoryOpinions/index.vue | 4 ++++ 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/jero-web/src/components/viewFileModel/index.vue b/jero-web/src/components/viewFileModel/index.vue index ffa3a9190..d9ac7c7a6 100644 --- a/jero-web/src/components/viewFileModel/index.vue +++ b/jero-web/src/components/viewFileModel/index.vue @@ -5,10 +5,10 @@ style="z-index: 1007" :visible="visibleFile" :maskClosable="false" - @cancel="visibleFile = false" + @cancel="visibleFile = false;$emit('visible')" > diff --git a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/components/evaluationResultsList.vue b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/components/evaluationResultsList.vue index 674fb5c81..ce2a0159a 100644 --- a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/components/evaluationResultsList.vue +++ b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/components/evaluationResultsList.vue @@ -26,8 +26,10 @@ - + @@ -81,6 +83,7 @@ import { getAction, putAction, downloadFile } from '@/api/manage' import { mapGetters } from 'vuex' import { postAction } from '../../../../api/manage' + import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { name: 'evaluationResultsList', @@ -88,12 +91,14 @@ uploadFile, viewFileModel }, + mixins:[ResizeHeader, ResizeColumnProvide], data() { return { loading: false, total: 0, pageSize: 10, pageNo: 1, + isTrue: true, flag:false, dataSource: [], formInline: {}, @@ -170,6 +175,9 @@ }, methods: { ...mapGetters(['userInfo']), + sVisible(){ + this.getDataAdmin() + }, clickButtonToUpload(item) { this.$refs.uploadFile.perentHandleFunc() this.$refs.uploadFile.visible = true @@ -257,6 +265,12 @@ seeFileClick(item) { this.$refs.viewFileModelRef.clickButtonToUpload(item) }, + getDataAdmin(){ + this.isTrue = false + setTimeout(()=>{ + this.isTrue = true + },100) + }, endProcessClick() { let query = { ids: this.$route.query.id @@ -276,7 +290,7 @@ \ No newline at end of file diff --git a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue index 91cc0667f..d723a70cc 100644 --- a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue +++ b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue @@ -465,4 +465,8 @@ ::v-deep .ant-table-body { background: transparent !important; } + + ::v-deep .ant-table-placeholder { + margin-top: 8px !important; + } \ No newline at end of file From 44f329867e5f1e25330936b07301bf26c45ae0e3 Mon Sep 17 00:00:00 2001 From: zyn Date: Mon, 6 Feb 2023 15:29:34 +0800 Subject: [PATCH 52/97] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E4=B8=AA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=AD=E6=9C=89=E5=A4=9A=E4=B8=AA=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/mixins/header.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jero-web/src/mixins/header.js b/jero-web/src/mixins/header.js index 75982d9b0..f2170421e 100644 --- a/jero-web/src/mixins/header.js +++ b/jero-web/src/mixins/header.js @@ -5,6 +5,7 @@ const events = { move: 'mousemove', stop: 'mouseup' } +let tableAll = [] var columnsAll = [] var columnsKey = '' const DragHandler = { @@ -88,6 +89,9 @@ const DragHandler = { const ResizeHeaderOne = function(val, name) { columnsAll = val columnsKey = name + if(tableAll.indexOf(val) === -1){ + tableAll.push(val) + } return (h, props, children) => { const { key, column, ...restProps } = props let col = {} @@ -192,6 +196,13 @@ export const ResizeColumnProvide = { }, methods: { _resizeColumn(w, column) { + tableAll.forEach(item=>{ + item.forEach((i)=>{ + if(i.dataIndex === column.dataIndex){ + columnsAll = item + } + }) + }) this.moving = true let time = setTimeout(() => { this.moving = false From b243427db7f32c37c9b738b44e0be8fb165ccced Mon Sep 17 00:00:00 2001 From: zyn Date: Mon, 6 Feb 2023 15:33:18 +0800 Subject: [PATCH 53/97] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=B8=AD=E5=BF=83-?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=B3=95=E8=A7=84=E4=BB=BB=E5=8A=A1-?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=A1=AE=E8=AE=A4=E5=8A=9E=E7=90=86-?= =?UTF-8?q?=E5=8A=9E=E7=90=86(=E6=8B=96=E6=8B=BD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/components/circulationHistory.vue | 13 ++++++++----- .../components/standardContentList.vue | 4 ++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/jero-web/src/views/processCenter/components/circulationHistory.vue b/jero-web/src/views/processCenter/components/circulationHistory.vue index b2ddeb1c6..285a5462e 100644 --- a/jero-web/src/views/processCenter/components/circulationHistory.vue +++ b/jero-web/src/views/processCenter/components/circulationHistory.vue @@ -7,6 +7,7 @@
Date: Mon, 6 Feb 2023 16:14:37 +0800 Subject: [PATCH 54/97] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=94=AF=E6=8C=81-?= =?UTF-8?q?=E6=B3=95=E8=A7=84=E6=8A=80=E6=9C=AF=E8=AF=84=E4=BC=B0-?= =?UTF-8?q?=E5=8F=91=E8=B5=B7=E6=B5=81=E7=A8=8B-=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E7=BB=93=E6=9E=9C-=E5=88=97=E5=AE=BD=E5=8F=AF=E6=8B=96?= =?UTF-8?q?=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/TermInformation.vue | 15 +++++++++++---- .../components/evaluationResultsClause.vue | 5 ++++- .../components/evaluationResultsWhole.vue | 10 +++++++++- .../components/initiatingProcess.vue | 3 +++ .../technologyAssessment/index.vue | 4 ++++ 5 files changed, 31 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue index ba0867e02..90d8067ae 100644 --- a/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue +++ b/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue @@ -84,6 +84,7 @@
\ No newline at end of file From e9db210a15bad77f2cbd43c9d73daed60ded8e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Mon, 6 Feb 2023 16:23:06 +0800 Subject: [PATCH 55/97] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=94=AF=E6=8C=81-?= =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=88=86=E4=BA=AB-=E5=88=97=E5=AE=BD?= =?UTF-8?q?=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/listAddModel.vue | 18 +++++++++++++----- .../components/problemKnowledgeBaseAdd.vue | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/listAddModel.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/listAddModel.vue index c7f6de84b..bd3307777 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/listAddModel.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/listAddModel.vue @@ -60,6 +60,7 @@ import { getAction, postAction } from '@/api/manage' import globalAdvancedQuery from '@/components/globalAdvancedQuery/index' + import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { name: 'listAddModel', @@ -100,6 +102,7 @@ globalAdvancedQuery }, props: ['url'], + mixins:[ResizeHeader, ResizeColumnProvide], data() { return { toggleSearchStatus: false, @@ -113,31 +116,36 @@ title: this.$t('standard'), dataIndex: 'serial_number', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('title'), dataIndex: 'title', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('zoneOfApplication'), dataIndex: 'region', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('ImplementationDate'), dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 }, { title: this.$t('vehicleInProductionDate'), dataIndex: 'implement_time', align: 'left', - ellipsis: true + ellipsis: true, + width: 228 } ], dataList: [], diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue index c77ca524a..4e946c1bf 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue @@ -674,7 +674,7 @@ } \ No newline at end of file diff --git a/jero-web/src/views/toDoCenter/taskConfirmation/index.vue b/jero-web/src/views/toDoCenter/taskConfirmation/index.vue index 4093e2f49..a9079535f 100644 --- a/jero-web/src/views/toDoCenter/taskConfirmation/index.vue +++ b/jero-web/src/views/toDoCenter/taskConfirmation/index.vue @@ -354,4 +354,7 @@ margin-top: 20px; } + ::v-deep .ant-table-placeholder{ + margin-top: 8px !important; + } \ No newline at end of file From f3a11f782c86d51f55bfb2a1a51aacf181354176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Tue, 7 Feb 2023 08:36:00 +0800 Subject: [PATCH 61/97] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=B7=A5=E5=85=B7-?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=AF=B9=E6=AF=94-=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E5=AF=B9=E6=AF=94-=E5=88=97=E5=AE=BD=E5=8F=AF=E6=8B=96?= =?UTF-8?q?=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/initiateComparison.vue | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/jero-web/src/views/documentTools/documentComparison/components/initiateComparison.vue b/jero-web/src/views/documentTools/documentComparison/components/initiateComparison.vue index 47ebf74c6..30c4b9de6 100644 --- a/jero-web/src/views/documentTools/documentComparison/components/initiateComparison.vue +++ b/jero-web/src/views/documentTools/documentComparison/components/initiateComparison.vue @@ -45,6 +45,7 @@ \ No newline at end of file From 551cdf5faf409a18259147631c444a109b768542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Tue, 7 Feb 2023 08:43:41 +0800 Subject: [PATCH 62/97] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=B8=AD=E5=BF=83-?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=8F=82=E6=95=B0=E4=BB=BB=E5=8A=A1-?= =?UTF-8?q?=E5=88=97=E5=AE=BD=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/toDoCenter/projectParameterTasks/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue b/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue index f105d210e..c78c3142c 100644 --- a/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue +++ b/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue @@ -39,7 +39,6 @@ :pagination="false" :scroll="{x: '100%',y:'calc(100vh - 140px)'}" rowKey="id" - :data-source="dataSource" :columns="columns" > @@ -372,4 +371,8 @@ text-align: right; margin-top: 20px; } + + ::v-deep .ant-table-placeholder{ + margin-top: 8px !important; + } \ No newline at end of file From db73106959c230c5674646a55dc90723a2cf50a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Tue, 7 Feb 2023 08:56:29 +0800 Subject: [PATCH 63/97] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83-?= =?UTF-8?q?=E6=88=91=E7=9A=84=E6=94=B6=E8=97=8F-=E6=88=91=E7=9A=84?= =?UTF-8?q?=E8=AE=A2=E9=98=85-=E5=88=97=E5=AE=BD=E5=8F=AF=E6=8B=96?= =?UTF-8?q?=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/documentManage/collection/index.vue | 20 +++++++++---------- .../documentManage/subscribtion/index.vue | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/jero-web/src/views/documentManage/collection/index.vue b/jero-web/src/views/documentManage/collection/index.vue index 372b22064..414c47b7f 100644 --- a/jero-web/src/views/documentManage/collection/index.vue +++ b/jero-web/src/views/documentManage/collection/index.vue @@ -325,7 +325,7 @@ } \ No newline at end of file diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 8dafa8e93..93cdde5f7 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -3,6 +3,7 @@
- - - - - - - - - - {{text && text.length > 10?text.slice(0,9)+'...':text}} - - - + + + + + + + + + + + + + + + + + + + + + + +
{ - const { key, ...restProps } = props - - // 此处的this.columns 是定义的table的表头属性变量 - - const col = this.columns.find((col) => { - const k = col.dataIndex || col.key - return k === key - }) - - if (!col || !col.width) { - return h('th', { ...restProps }, [...children]) - } - - const dragProps = { - key: col.dataIndex || col.key, - class: 'table-draggable-handle', - attrs: { - w: 10, - x: col.width, - z: 1, - axis: 'x', - draggable: false, - resizable: false - }, - on: { - dragging: (x, y) => { - col.width = Math.max(x, 1) - } - } - } - const drag = h('vue-draggable-resizable', { ...dragProps }) - return h('th', { ...restProps, class: 'resize-table-th' }, [...children, drag]) - } - } - } + // this.components = { + // header: { + // cell: (h, props, children) => { + // const { key, ...restProps } = props + // + // // 此处的this.columns 是定义的table的表头属性变量 + // + // const col = this.columns.find((col) => { + // const k = col.dataIndex || col.key + // return k === key + // }) + // + // if (!col || !col.width) { + // return h('th', { ...restProps }, [...children]) + // } + // + // const dragProps = { + // key: col.dataIndex || col.key, + // class: 'table-draggable-handle', + // attrs: { + // w: 10, + // x: col.width, + // z: 1, + // axis: 'x', + // draggable: false, + // resizable: false + // }, + // on: { + // dragging: (x, y) => { + // col.width = Math.max(x, 1) + // } + // } + // } + // const drag = h('vue-draggable-resizable', { ...dragProps }) + // return h('th', { ...restProps, class: 'resize-table-th' }, [...children, drag]) + // } + // } + // } return { token: Vue.ls.get(ACCESS_TOKEN), jsonBody: [], @@ -411,14 +417,15 @@ { title: this.$t('OperationDetails'), dataIndex: 'logContent', - align: 'center', + align: 'left', + width: 320, ellipsis: true, scopedSlots: { customRender: 'content' } }, { title: this.$t('OperationTime'), dataIndex: 'createTime', - align: 'center', + align: 'left', ellipsis: true, width: 180 } @@ -767,10 +774,10 @@ let num = 0 this.content = [] jsonHead.forEach((res, index) => { - console.log(res) + // console.log(res) // 配置列 if (res.type) { - console.log('配置') + // console.log('配置') this.columns.push({ dataIndex: res.db_field_name, align: 'left', @@ -965,7 +972,7 @@ Object.keys(Obj).forEach((item) => { if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) { Obj[item].list.forEach((itemLi) => { - console.log(item) + // console.log(item) if((this.currentPersonRole == 'homo' || this.currentPersonRole == 'admin') && item == 'referencesCol'){ itemLi.isLock = 0 }else{ diff --git a/jero-web/src/mixins/header.js b/jero-web/src/mixins/header.js index 0671cd769..d7211c7ec 100644 --- a/jero-web/src/mixins/header.js +++ b/jero-web/src/mixins/header.js @@ -5,9 +5,10 @@ const events = { move: 'mousemove', stop: 'mouseup' } -let tableAll = [] +let tableAll = [] // 单个页面存放多个表格的columns var columnsAll = [] var columnsKey = '' +let minColumn = [] // 存放设置最小宽的列及宽度 const DragHandler = { name: 'nio-drag-handler', //获取混入的方法(重新设置表头宽度) @@ -86,9 +87,10 @@ const DragHandler = { return h('div', { class: 'nio-drag-handler', on: { mousedown: this.handleMouseDown } }, [line]) } } -const ResizeHeaderOne = function(val, name) { +const ResizeHeaderOne = function(val, name ,minWidths) { columnsAll = val columnsKey = name + minColumn = minWidths if(tableAll.indexOf(val) === -1){ tableAll.push(val) } @@ -96,16 +98,44 @@ const ResizeHeaderOne = function(val, name) { const { key, column, ...restProps } = props let col = {} // 处理多级表头 - col = getRenderCoL(key, val) + // col = getRenderCoL(key, val) + col = getRenderCoL(key, columnsAll) let content = [].concat(children) + console.log(col) if (col) { - const handlerVNode = h(DragHandler, { - props: { - width: col.width, - minWidth: Math.min(col.width, 100), - column: col + let handlerVNode; + if(minColumn && minColumn.length>0){ + // 存放所有需要手动设置最小宽度的列的dataIndex + let colsdataIndex = [] + minColumn.forEach((item)=>{ + colsdataIndex.push(item[0].dataIndex) + handlerVNode = h(DragHandler, { + props: { + width: col.width, + minWidth: Math.min(item[1]), + column: JSON.parse(JSON.stringify(item[0])) + } + }, []) + }) + // 不需要手动设置最小宽度的列 + if(colsdataIndex.indexOf(col.dataIndex) === -1){ + handlerVNode = h(DragHandler, { + props: { + width: col.width, + minWidth: Math.min(col.width, 100), + column: col + } + }, []) } - }, []) + }else{ + handlerVNode = h(DragHandler, { + props: { + width: col.width, + minWidth: Math.min(col.width, 100), + column: col + } + }, []) + } content = content.concat( handlerVNode ) @@ -119,10 +149,11 @@ const ResizeHeaderOne = function(val, name) { } export const ResizeHeader = { methods: { - drag(columns, name) { + drag(columns, name ,minWidths) { return { header: { - cell: ResizeHeaderOne(columns, name) + // minWidths : 最小宽度 => [[需要设置的列,最小宽],[需要设置的列,最小宽],...] + cell: ResizeHeaderOne(columns, name,minWidths) } } } From 34fa851c183e82a045791d1a1957b2027162a9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Tue, 7 Feb 2023 14:01:32 +0800 Subject: [PATCH 69/97] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=B7=A5=E5=85=B7-?= =?UTF-8?q?=E6=96=87=E6=A1=A3OCR=E8=AF=86=E5=88=AB-=E8=B0=83=E5=8F=96?= =?UTF-8?q?=E5=B7=B2=E5=85=A5=E5=BA=93=E6=96=87=E4=BB=B6-=E5=88=97?= =?UTF-8?q?=E5=AE=BD=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/OcrTable/DocTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jero-web/src/components/OcrTable/DocTable.vue b/jero-web/src/components/OcrTable/DocTable.vue index 0443aacec..f716702b6 100644 --- a/jero-web/src/components/OcrTable/DocTable.vue +++ b/jero-web/src/components/OcrTable/DocTable.vue @@ -7,7 +7,7 @@ :components="drag(columns,'columns')" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" From 20d9770ffab2757446b2e41fc3c447f924cd21af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Tue, 7 Feb 2023 14:28:59 +0800 Subject: [PATCH 70/97] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=B8=AD=E5=BF=83-?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=8F=82=E6=95=B0=E4=BB=BB=E5=8A=A1-?= =?UTF-8?q?=E5=88=97=E5=AE=BD=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tableCollection/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 93cdde5f7..dbe9957ae 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -1159,6 +1159,10 @@ text-justify: inter-ideograph; word-break: break-all } + + ::v-deep .ant-table-placeholder{ + margin-top: 8px !important; + } \ No newline at end of file diff --git a/jero-web/src/components/tableCollection/index1.vue b/jero-web/src/components/tableCollection/index1.vue index 5484a236d..76a3dc55c 100644 --- a/jero-web/src/components/tableCollection/index1.vue +++ b/jero-web/src/components/tableCollection/index1.vue @@ -1,6 +1,6 @@