From 05d224919833a52bcf6942ea41ba2fa34ecb7242 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Fri, 3 Feb 2023 14:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=99=9A=E6=8B=9F=E6=B8=85=E5=8D=95=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E9=BB=98=E8=AE=A4=E5=B1=95=E7=A4=BA=E5=85=A8=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/virtualListDetails.vue | 310 +++++++++++++++++- 1 file changed, 299 insertions(+), 11 deletions(-) diff --git a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue index e850e286e..7f892bb35 100644 --- a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue +++ b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue @@ -367,6 +367,294 @@ }, loading: false, dataSource: [], + column: [ + { + title: this.$t('standard'), + align: 'left', + dataIndex: 'serialNumber', + width: 180, + fixed: 'left', + sorter:true, + scopedSlots: { customRender: 'standard' } + }, + { + title: this.$t('title'), + align: 'left', + dataIndex: 'title', + width: 180, + fixed: 'left', + scopedSlots: { customRender: 'titleName' } + }, + { + title: this.$t('subtitle'), + align: 'left', + dataIndex: 'subtitle', + ellipsis: true, + width: 180 + }, + { + title: this.$t('listConfirmationStatus'), + align: 'left', + dataIndex: 'inventoryAffirmStatusName', + width: 240, + sorter:true, + ellipsis: true + }, + { + title: this.$t('taskAffirmStatus'), + align: 'left', + sorter:true, + dataIndex: 'taskAffirmStatusName', + width: 240, + ellipsis: true + }, + // { + // title: this.$t('taskReleaseStatus'), + // align: 'center', + // dataIndex: 'taskReleaseStatus' + // }, + { + title: this.$t('zoneOfApplication'), + align: 'left', + dataIndex: 'region_dictText', + width: 180, + ellipsis: true + }, + { + title: this.$t('correspondingStandard'), + align: 'left', + dataIndex: 'correspondingStandard', + width: 180, + ellipsis: true + }, + { + title: this.$t('implementationCategory'), + align: 'left', + dataIndex: 'implementType_dictText', + width: 180, + ellipsis: true + }, + { + title: this.$t('ImplementationDate'), + align: 'left', + width: 200, + dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1', + ellipsis: true + }, + { + title: this.$t('vehicleInProductionDate'), + align: 'left', + width: 220, + dataIndex: 'implementTime', + ellipsis: true + }, + { + title: this.$t('certificationType'), + align: 'left', + dataIndex: 'attestationType_dictText', + width: 180, + ellipsis: true + }, + { + title: this.$t('certificationLevel'), + align: 'left', + dataIndex: 'attestationRank_dictText', + width: 180, + sorter:true, + ellipsis: true + }, + { + title: this.$t('applicableSupplement'), + align: 'left', + width: 220, + dataIndex: 'applicableSupplement', + ellipsis: true + }, + { + title: 'WVTA ID', + align: 'left', + dataIndex: 'wvtaId', + width: 180, + sorter:true, + ellipsis: true + }, + { + title: this.$t('areaOfResponsibility'), + align: 'left', + ellipsis: true, + sorter:true, + dataIndex: 'dutyTerritory_dictText', + width: 180 + }, + { + title: this.$t('regulatoryEngineer'), + align: 'left', + ellipsis: true, + sorter:true, + dataIndex: 'regulationOwnerName', + width: 180 + }, + { + title: this.$t('certifiedEngineer'), + align: 'left', + ellipsis: true, + sorter:true, + dataIndex: 'homologationEngineerName', + width: 180 + }, + { + title: this.$t('engineeringInterfacePerson'), + align: 'left', + ellipsis: true, + sorter:true, + dataIndex: 'engineeringInterfacePersonName', + width: 180 + }, + { + title: this.$t('remarks'), + align: 'left', + dataIndex: 'remark', + width: 180, + ellipsis: true + }, + { + title: this.$t('confirmationOfDesignConformity'), + children: [ + { + title: this.$t('Deliverables'), + dataIndex: 'designDeliverableTemplateName', + align: 'left', + width: 180, + ellipsis: true, + scopedSlots: { customRender: 'designDeliverableTemplateName' } + }, + { + title: this.$t('Sponsor'), + dataIndex: 'designInitiatorName', + align: 'left', + width: 180, + ellipsis: true + }, + { + title: this.$t('personLiable'), + dataIndex: 'designDutyName', + align: 'left', + width: 180, + ellipsis: true + }, + { + title: this.$t('TaskCutOffTime'), + dataIndex: 'designDueDate', + align: 'left', + ellipsis: true, + width: 140 + }, + { + title: this.$t('descriptionDeliverables'), + dataIndex: 'designRemark', + align: 'left', + width: 220, + ellipsis: true + } + ] + }, + { + title: this.$t('PrehomoConfirmation'), + children: [ + { + title: this.$t('Deliverables'), + dataIndex: 'prehomoDeliverableTemplateName', + align: 'left', + width: 180, + ellipsis: true, + scopedSlots: { customRender: 'prehomoDeliverableTemplateName' } + }, + { + title: this.$t('Sponsor'), + dataIndex: 'prehomoInitiatorName', + align: 'left', + width: 180, + ellipsis: true + }, + { + title: this.$t('personLiable'), + dataIndex: 'prehomoDutyName', + align: 'left', + width: 180, + ellipsis: true + }, + { + title: this.$t('TaskCutOffTime'), + dataIndex: 'prehomoDueDate', + align: 'left', + width: 140, + ellipsis: true + }, + { + title: this.$t('descriptionDeliverables'), + dataIndex: 'prehomoRemark', + align: 'left', + width: 220, + ellipsis: true + } + ] + }, + { + title: this.$t('verificationAndConformityconfirmation'), + children: [ + { + title: this.$t('Deliverables'), + dataIndex: 'verifyDeliverableTemplateName', + align: 'left', + width: 180, + ellipsis: true, + scopedSlots: { customRender: 'verifyDeliverableTemplateName' } + }, + { + title: this.$t('Sponsor'), + dataIndex: 'verifyInitiatorName', + align: 'left', + width: 180, + ellipsis: true + }, + { + title: this.$t('personLiable'), + dataIndex: 'verifyDutyName', + align: 'left', + width: 180, + ellipsis: true + }, + { + title: this.$t('TaskCutOffTime'), + dataIndex: 'verifyDueDate', + align: 'left', + ellipsis: true, + width: 140 + }, + { + title: this.$t('descriptionDeliverables'), + dataIndex: 'verifyRemark', + align: 'left', + width: 220, + ellipsis: true + } + ] + }, + { + title: this.$t('operation'), + align: 'left', + fixed: 'right', + width: 240, + scopedSlots: { customRender: 'operation' } + }, + { + title: this.$t('operation'), + align: 'left', + fixed: 'right', + width: 140, + scopedSlots: { customRender: 'operationOne' } + } + ], columnsAll: [], // columnsAll: [ // { @@ -943,17 +1231,17 @@ key: 34, moduleFlag:this.$route.query.title == '虚拟清单详情' ? '虚拟清单详情' : '维护清单', }, - { - sort: '', - disabled:true, - name: this.$t('operation'), - headFieldCn:'操作', - headFieldEn:'Operation', - key: 35, - field:'operation', - moduleFlag:this.$route.query.title == '虚拟清单详情' ? '虚拟清单详情' : '维护清单', - status:2, - }, + // { + // sort: '', + // disabled:true, + // name: this.$t('operation'), + // headFieldCn:'操作', + // headFieldEn:'Operation', + // key: 35, + // field:'operation', + // moduleFlag:this.$route.query.title == '虚拟清单详情' ? '虚拟清单详情' : '维护清单', + // status:2, + // }, ], selectedRowKeys: [], isTrue: false,