对接虚拟清单详情

This commit is contained in:
qq787203167
2022-04-14 18:23:33 +08:00
parent 6fc14fbfa5
commit 12d7bee8dd
3 changed files with 59 additions and 17 deletions
@@ -48,15 +48,19 @@
</span> </span>
</a-row> </a-row>
</div> </div>
<a-table <div style="width: 100%">
:columns="columns" <a-table
rowKey="id" :columns="columns"
:data-source="dataList" rowKey="id"
:pagination="false" :scroll="{x: 1200}"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :data-source="dataList"
:loading="loading"> :pagination="false"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:loading="loading">
</a-table>
</div>
</a-table>
<div class="page" v-if="dataList.length > 0"> <div class="page" v-if="dataList.length > 0">
<a-pagination <a-pagination
:show-total="total => $t('total')+`${total}`+$t('strip')" :show-total="total => $t('total')+`${total}`+$t('strip')"
@@ -101,23 +105,27 @@
columns: [ columns: [
{ {
title: this.$t('standard'), title: this.$t('standard'),
dataIndex: 'serial_number', dataIndex: 'serialNumber',
align: 'center' align: 'center',
ellipsis: true
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
dataIndex: 'title', dataIndex: 'title',
align: 'center' align: 'center',
ellipsis: true
}, },
{ {
title: this.$t('status'), title: this.$t('status'),
dataIndex: 'state', dataIndex: 'state_dictText',
align: 'center' align: 'center',
ellipsis: true
}, },
{ {
title: this.$t('technicalField'), title: this.$t('technicalField'),
dataIndex: 'technologyTerritory', dataIndex: 'technologyTerritory_dictText',
align: 'center' align: 'center',
ellipsis: true
}, },
// { // {
// title: this.$t('functionalAreas'), // title: this.$t('functionalAreas'),
@@ -127,12 +135,14 @@
{ {
title: this.$t('StandardImplementationDate'), title: this.$t('StandardImplementationDate'),
dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1', dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1',
align: 'center' align: 'center',
ellipsis: true
}, },
{ {
title: this.$t('correspondingStandard'), title: this.$t('correspondingStandard'),
dataIndex: 'correspondingStandard', dataIndex: 'correspondingStandard',
align: 'center' align: 'center',
ellipsis: true
} }
], ],
dataList: [], dataList: [],
@@ -641,6 +641,14 @@
line-height: 38px; line-height: 38px;
height: 38px; height: 38px;
} }
.ant-input-disabled {
color: rgba(0, 0, 0, 0.65) !important;
}
.ant-select-disabled {
color: rgba(0, 0, 0, 0.65) !important;
}
</style> </style>
<style scoped> <style scoped>
.box-title-text { .box-title-text {
@@ -183,6 +183,7 @@
align: 'center', align: 'center',
dataIndex: 'wvtaId', dataIndex: 'wvtaId',
width: 100, width: 100,
ellipsis: true,
fixed: 'left' fixed: 'left'
}, },
{ {
@@ -190,6 +191,7 @@
align: 'center', align: 'center',
dataIndex: 'serialNumber', dataIndex: 'serialNumber',
width: 180, width: 180,
ellipsis: true,
fixed: 'left' fixed: 'left'
}, },
{ {
@@ -197,6 +199,7 @@
align: 'center', align: 'center',
dataIndex: 'title', dataIndex: 'title',
width: 100, width: 100,
ellipsis: true,
fixed: 'left' fixed: 'left'
}, },
{ {
@@ -204,61 +207,73 @@
align: 'center', align: 'center',
dataIndex: 'subtitle', dataIndex: 'subtitle',
width: 100, width: 100,
ellipsis: true,
fixed: 'left' fixed: 'left'
}, },
{ {
title: this.$t('scopeOfApplication'), title: this.$t('scopeOfApplication'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'shi4Yong4Fan4Wei2' dataIndex: 'shi4Yong4Fan4Wei2'
}, },
{ {
title: this.$t('status'), title: this.$t('status'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'state' dataIndex: 'state'
}, },
{ {
title: this.$t('correspondingStandard'), title: this.$t('correspondingStandard'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'correspondingStandard' dataIndex: 'correspondingStandard'
}, },
{ {
title: this.$t('implementationCategory'), title: this.$t('implementationCategory'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'implementType' dataIndex: 'implementType'
}, },
{ {
title: this.$t('ImplementationDate'), title: this.$t('ImplementationDate'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1' dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1'
}, },
{ {
title: this.$t('vehicleInProductionDate'), title: this.$t('vehicleInProductionDate'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'implementTime' dataIndex: 'implementTime'
}, },
{ {
title: this.$t('certificationType'), title: this.$t('certificationType'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'attestationType_dictText' dataIndex: 'attestationType_dictText'
}, },
{ {
title: this.$t('certificationLevel'), title: this.$t('certificationLevel'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'attestationRank_dictText' dataIndex: 'attestationRank_dictText'
}, },
{ {
title: this.$t('technicalField'), title: this.$t('technicalField'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'technologyTerritoryName' dataIndex: 'technologyTerritoryName'
}, },
{ {
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'dutyTerritory_dictText' dataIndex: 'dutyTerritory_dictText'
}, },
{ {
title: this.$t('remarks'), title: this.$t('remarks'),
align: 'center', align: 'center',
ellipsis: true,
dataIndex: 'remark' dataIndex: 'remark'
}, },
@@ -268,16 +283,19 @@
{ {
title: this.$t('Deliverables'), title: this.$t('Deliverables'),
dataIndex: 'designDeliverableTemplateName', dataIndex: 'designDeliverableTemplateName',
ellipsis: true,
align: 'center' align: 'center'
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
dataIndex: 'designInitiator_dictText', dataIndex: 'designInitiator_dictText',
ellipsis: true,
align: 'center' align: 'center'
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'designDuty_dictText', dataIndex: 'designDuty_dictText',
ellipsis: true,
align: 'center' align: 'center'
} }
] ]
@@ -288,16 +306,19 @@
{ {
title: this.$t('Deliverables'), title: this.$t('Deliverables'),
dataIndex: 'prehomoDeliverableTemplateName', dataIndex: 'prehomoDeliverableTemplateName',
ellipsis: true,
align: 'center' align: 'center'
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
dataIndex: 'prehomoInitiator_dictText', dataIndex: 'prehomoInitiator_dictText',
ellipsis: true,
align: 'center' align: 'center'
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'prehomoDuty_dictText', dataIndex: 'prehomoDuty_dictText',
ellipsis: true,
align: 'center' align: 'center'
} }
] ]
@@ -308,16 +329,19 @@
{ {
title: this.$t('Deliverables'), title: this.$t('Deliverables'),
dataIndex: 'verifyDeliverableTemplateName', dataIndex: 'verifyDeliverableTemplateName',
ellipsis: true,
align: 'center' align: 'center'
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
dataIndex: 'verifyInitiator_dictText', dataIndex: 'verifyInitiator_dictText',
ellipsis: true,
align: 'center' align: 'center'
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'verifyDuty_dictText', dataIndex: 'verifyDuty_dictText',
ellipsis: true,
align: 'center' align: 'center'
} }
] ]