修改已知问题

This commit is contained in:
qq787203167
2022-05-31 11:32:24 +08:00
parent 6a509f36a5
commit 66f4d66755
5 changed files with 127 additions and 111 deletions
@@ -2,9 +2,9 @@
<div class="doc-detail"> <div class="doc-detail">
<div class="Virtual-detail-header" style="position: fixed;top: 0"> <div class="Virtual-detail-header" style="position: fixed;top: 0">
<div class="Virtual-detail-title"> <div class="Virtual-detail-title">
<!-- <span style="line-height: 74px;display: inline-block;float: left">--> <!-- <span style="line-height: 74px;display: inline-block;float: left">-->
<!-- <a-icon @click="iconClick" type="arrow-left" style="margin-right: 6px;font-size: 26px;"/>--> <!-- <a-icon @click="iconClick" type="arrow-left" style="margin-right: 6px;font-size: 26px;"/>-->
<!-- </span>--> <!-- </span>-->
<span> <span>
{{isTrue ? $t('maintainVirtualList'):$t('virtualListDetails')}} {{isTrue ? $t('maintainVirtualList'):$t('virtualListDetails')}}
</span> </span>
@@ -43,35 +43,35 @@
</div> </div>
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('standard')"> <div class="title-text" :title="$t('standard')">
<span>{{$t('standard')}}</span> <span>{{$t('standard')}}</span>
</div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
v-model="queryParam.serialNumber"></j-input>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')" </a-col>
v-model="queryParam.serialNumber"></j-input> <a-col :md="6" :sm="8">
</div> <div class="box-title-text">
</a-col> <div class="title-text" :title="$t('title')">
<a-col :md="6" :sm="8"> <span>{{$t('title')}}</span>
<div class="box-title-text"> </div>
<div class="title-text" :title="$t('title')"> <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
<span>{{$t('title')}}</span> v-model="queryParam.title"></j-input>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')" </a-col>
v-model="queryParam.title"></j-input> <a-col :md="6" :sm="8">
</div> <div class="box-title-text">
</a-col> <div class="title-text" style="width: 60px" :title="$t('subtitle')">
<a-col :md="6" :sm="8"> <span>{{$t('subtitle')}}</span>
<div class="box-title-text"> </div>
<div class="title-text" style="width: 60px" :title="$t('subtitle')"> <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('subtitle')"
<span>{{$t('subtitle')}}</span> v-model="queryParam.subtitle"></j-input>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('subtitle')" </a-col>
v-model="queryParam.subtitle"></j-input> <span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
</div>
</a-col>
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
<a-col :md="6" :sm="24"> <a-col :md="6" :sm="24">
<globalAdvancedQuery ref="globalAdvancedQueryRef" <globalAdvancedQuery ref="globalAdvancedQueryRef"
@handleSuperQuery="handleSuperQuery" @handleSuperQuery="handleSuperQuery"
@@ -80,7 +80,7 @@
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button> <a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
</a-col> </a-col>
</span> </span>
</a-row> </a-row>
</a-form> </a-form>
</div> </div>
<div class="table-operator"> <div class="table-operator">
@@ -130,7 +130,7 @@
class="ant-table" class="ant-table"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: 'max-content',y:'calc(100vh - 445px)'}" :scroll="{x: '100%',y:'calc(100vh - 445px)'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -263,7 +263,7 @@
], ],
url: { url: {
addModelList: '/dummy/dummyInventoryInfoEO/queryPageDummy', addModelList: '/dummy/dummyInventoryInfoEO/queryPageDummy',
queryConditionInventory:'/dummy/dummyInventoryInfoEO/queryConditionInventory', queryConditionInventory: '/dummy/dummyInventoryInfoEO/queryConditionInventory',
list: '/dummy/dummyInventoryInfoEO/list', list: '/dummy/dummyInventoryInfoEO/list',
addModel: '/dummy/dummyInventoryInfoEO/add', addModel: '/dummy/dummyInventoryInfoEO/add',
editModel: '/dummy/dummyInventoryInfoEO/edit', editModel: '/dummy/dummyInventoryInfoEO/edit',
@@ -285,6 +285,7 @@
dataIndex: 'serialNumber', dataIndex: 'serialNumber',
width: 180, width: 180,
fixed: 'left', fixed: 'left',
ellipsis: true,
scopedSlots: { customRender: 'titleName' } scopedSlots: { customRender: 'titleName' }
}, },
{ {
@@ -293,6 +294,7 @@
dataIndex: 'title', dataIndex: 'title',
width: 180, width: 180,
fixed: 'left', fixed: 'left',
ellipsis: true,
scopedSlots: { customRender: 'titleName' } scopedSlots: { customRender: 'titleName' }
}, },
{ {
@@ -301,54 +303,55 @@
dataIndex: 'subtitle', dataIndex: 'subtitle',
width: 180, width: 180,
fixed: 'left', fixed: 'left',
ellipsis: true,
scopedSlots: { customRender: 'titleName' } scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('zoneOfApplication'), title: this.$t('zoneOfApplication'),
align: 'center', align: 'center',
width: 150, width: 150,
ellipsis: true,
dataIndex: 'region_dictText', dataIndex: 'region_dictText',
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('scopeOfApplication'), title: this.$t('scopeOfApplication'),
align: 'center', align: 'center',
width: 150, width: 180,
ellipsis: true,
dataIndex: 'shi4Yong4Fan4Wei2_dictText', dataIndex: 'shi4Yong4Fan4Wei2_dictText',
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('status'), title: this.$t('status'),
align: 'center', align: 'center',
width: 100, width: 100,
ellipsis: true,
dataIndex: 'state_dictText', dataIndex: 'state_dictText',
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('correspondingStandard'), title: this.$t('correspondingStandard'),
align: 'center', align: 'center',
width: 140, width: 140,
ellipsis: true,
dataIndex: 'correspondingStandard', dataIndex: 'correspondingStandard',
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('implementationCategory'), title: this.$t('implementationCategory'),
align: 'center', align: 'center',
width: 140, width: 140,
ellipsis: true,
dataIndex: 'implementType_dictText', dataIndex: 'implementType_dictText',
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('ImplementationDate'), title: this.$t('ImplementationDate'),
align: 'center', align: 'center',
width: 140, width: 200,
ellipsis: true,
dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1', dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1',
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('vehicleInProductionDate'), title: this.$t('vehicleInProductionDate'),
align: 'center', align: 'center',
width: 140, width: 210,
ellipsis: true, ellipsis: true,
dataIndex: 'implementTime' dataIndex: 'implementTime'
}, },
@@ -357,49 +360,49 @@
align: 'center', align: 'center',
dataIndex: 'wvtaId', dataIndex: 'wvtaId',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('certificationType'), title: this.$t('certificationType'),
align: 'center', align: 'center',
width: 120, width: 180,
dataIndex: 'attestationType_dictText', ellipsis: true,
scopedSlots: { customRender: 'titleName' } dataIndex: 'attestationType_dictText'
}, },
{ {
title: this.$t('certificationLevel'), title: this.$t('certificationLevel'),
align: 'center', align: 'center',
width: 180, width: 200,
dataIndex: 'attestationRank_dictText', ellipsis: true,
scopedSlots: { customRender: 'titleName' } dataIndex: 'attestationRank_dictText'
}, },
{ {
title: this.$t('applicableSupplement'), title: this.$t('applicableSupplement'),
align: 'center', align: 'center',
width: 180, width: 200,
dataIndex: 'applicableSupplement', ellipsis: true,
scopedSlots: { customRender: 'titleName' } dataIndex: 'applicableSupplement'
}, },
{ {
title: this.$t('technicalField'), title: this.$t('technicalField'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'technologyTerritoryName', ellipsis: true,
scopedSlots: { customRender: 'titleName' } dataIndex: 'technologyTerritoryName'
}, },
{ {
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'dutyTerritory_dictText', ellipsis: true,
scopedSlots: { customRender: 'titleName' } dataIndex: 'dutyTerritory_dictText'
}, },
{ {
title: this.$t('remarks'), title: this.$t('remarks'),
align: 'center', align: 'center',
dataIndex: 'remark', dataIndex: 'remark',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
@@ -419,15 +422,15 @@
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
dataIndex: 'designInitiator_dictText', dataIndex: 'designInitiator_dictText',
width: 180, width: 180,
align: 'center', ellipsis: true,
scopedSlots: { customRender: 'titleName' } align: 'center'
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'designDuty_dictText', dataIndex: 'designDuty_dictText',
width: 180, width: 180,
align: 'center', ellipsis: true,
scopedSlots: { customRender: 'titleName' } align: 'center'
} }
] ]
}, },
@@ -447,15 +450,15 @@
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
dataIndex: 'prehomoInitiator_dictText', dataIndex: 'prehomoInitiator_dictText',
width: 180, width: 180,
align: 'center', ellipsis: true,
scopedSlots: { customRender: 'titleName' } align: 'center'
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'prehomoDuty_dictText', dataIndex: 'prehomoDuty_dictText',
width: 180, width: 180,
align: 'center', ellipsis: true,
scopedSlots: { customRender: 'titleName' } align: 'center'
} }
] ]
}, },
@@ -476,14 +479,14 @@
dataIndex: 'verifyInitiator_dictText', dataIndex: 'verifyInitiator_dictText',
width: 180, width: 180,
align: 'center', align: 'center',
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'verifyDuty_dictText', dataIndex: 'verifyDuty_dictText',
width: 180, width: 180,
align: 'center', align: 'center',
scopedSlots: { customRender: 'titleName' } ellipsis: true
} }
] ]
}, },
@@ -149,7 +149,7 @@
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
width: 200, width: 210,
align: 'center', align: 'center',
fixed: 'right', fixed: 'right',
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
@@ -134,7 +134,7 @@
ref="table" ref="table"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: 'max-content',y:'calc(100vh - 400px)'}" :scroll="{x: '100%',y:'calc(100vh - 400px)'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -365,14 +365,14 @@
align: 'center', align: 'center',
dataIndex: 'inventoryAffirmStatusName', dataIndex: 'inventoryAffirmStatusName',
width: 240, width: 240,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('taskAffirmStatus'), title: this.$t('taskAffirmStatus'),
align: 'center', align: 'center',
dataIndex: 'taskAffirmStatusName', dataIndex: 'taskAffirmStatusName',
width: 240, width: 240,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
// { // {
// title: this.$t('taskReleaseStatus'), // title: this.$t('taskReleaseStatus'),
@@ -384,100 +384,98 @@
align: 'center', align: 'center',
dataIndex: 'region_dictText', dataIndex: 'region_dictText',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('correspondingStandard'), title: this.$t('correspondingStandard'),
align: 'center', align: 'center',
dataIndex: 'correspondingStandard', dataIndex: 'correspondingStandard',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('implementationCategory'), title: this.$t('implementationCategory'),
align: 'center', align: 'center',
dataIndex: 'implementType_dictText', dataIndex: 'implementType_dictText',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('ImplementationDate'), title: this.$t('ImplementationDate'),
align: 'center', align: 'center',
width: 200, width: 200,
dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1' dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1',
ellipsis: true
}, },
{ {
title: this.$t('vehicleInProductionDate'), title: this.$t('vehicleInProductionDate'),
align: 'center', align: 'center',
width: 220, width: 220,
dataIndex: 'implementTime' dataIndex: 'implementTime',
ellipsis: true
}, },
{ {
title: this.$t('certificationType'), title: this.$t('certificationType'),
align: 'center', align: 'center',
dataIndex: 'attestationType_dictText', dataIndex: 'attestationType_dictText',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('certificationLevel'), title: this.$t('certificationLevel'),
align: 'center', align: 'center',
dataIndex: 'attestationRank_dictText', dataIndex: 'attestationRank_dictText',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('applicableSupplement'), title: this.$t('applicableSupplement'),
align: 'center', align: 'center',
width: 220, width: 220,
dataIndex: 'applicableSupplement', dataIndex: 'applicableSupplement',
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: 'WVTA ID', title: 'WVTA ID',
align: 'center', align: 'center',
dataIndex: 'wvtaId', dataIndex: 'wvtaId',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
dataIndex: 'dutyTerritory_dictText', dataIndex: 'dutyTerritory_dictText',
width: 180, width: 180
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('regulatoryEngineer'), title: this.$t('regulatoryEngineer'),
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
dataIndex: 'regulationOwnerName', dataIndex: 'regulationOwnerName',
width: 180, width: 180
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('certifiedEngineer'), title: this.$t('certifiedEngineer'),
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
dataIndex: 'homologationEngineerName', dataIndex: 'homologationEngineerName',
width: 180, width: 180
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('engineeringInterfacePerson'), title: this.$t('engineeringInterfacePerson'),
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
dataIndex: 'engineeringInterfacePersonName', dataIndex: 'engineeringInterfacePersonName',
width: 180, width: 180
scopedSlots: { customRender: 'titleName' }
}, },
{ {
title: this.$t('remarks'), title: this.$t('remarks'),
align: 'center', align: 'center',
dataIndex: 'remark', dataIndex: 'remark',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('confirmationOfDesignConformity'), title: this.$t('confirmationOfDesignConformity'),
@@ -487,6 +485,7 @@
dataIndex: 'designDeliverableTemplateName', dataIndex: 'designDeliverableTemplateName',
align: 'center', align: 'center',
width: 180, width: 180,
ellipsis: true,
scopedSlots: { customRender: 'designDeliverableTemplateName' } scopedSlots: { customRender: 'designDeliverableTemplateName' }
}, },
{ {
@@ -494,19 +493,20 @@
dataIndex: 'designInitiatorName', dataIndex: 'designInitiatorName',
align: 'center', align: 'center',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'designDutyName', dataIndex: 'designDutyName',
align: 'center', align: 'center',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('TaskCutOffTime'), title: this.$t('TaskCutOffTime'),
dataIndex: 'designDueDate', dataIndex: 'designDueDate',
align: 'center', align: 'center',
ellipsis: true,
width: 140 width: 140
}, },
{ {
@@ -514,7 +514,7 @@
dataIndex: 'designRemark', dataIndex: 'designRemark',
align: 'center', align: 'center',
width: 220, width: 220,
scopedSlots: { customRender: 'titleName' } ellipsis: true
} }
] ]
}, },
@@ -526,6 +526,7 @@
dataIndex: 'prehomoDeliverableTemplateName', dataIndex: 'prehomoDeliverableTemplateName',
align: 'center', align: 'center',
width: 180, width: 180,
ellipsis: true,
scopedSlots: { customRender: 'prehomoDeliverableTemplateName' } scopedSlots: { customRender: 'prehomoDeliverableTemplateName' }
}, },
{ {
@@ -533,27 +534,28 @@
dataIndex: 'prehomoInitiatorName', dataIndex: 'prehomoInitiatorName',
align: 'center', align: 'center',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'prehomoDutyName', dataIndex: 'prehomoDutyName',
align: 'center', align: 'center',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('TaskCutOffTime'), title: this.$t('TaskCutOffTime'),
dataIndex: 'prehomoDueDate', dataIndex: 'prehomoDueDate',
align: 'center', align: 'center',
width: 140 width: 140,
ellipsis: true
}, },
{ {
title: this.$t('descriptionDeliverables'), title: this.$t('descriptionDeliverables'),
dataIndex: 'prehomoRemark', dataIndex: 'prehomoRemark',
align: 'center', align: 'center',
width: 220, width: 220,
scopedSlots: { customRender: 'titleName' } ellipsis: true
} }
] ]
}, },
@@ -565,6 +567,7 @@
dataIndex: 'verifyDeliverableTemplateName', dataIndex: 'verifyDeliverableTemplateName',
align: 'center', align: 'center',
width: 180, width: 180,
ellipsis: true,
scopedSlots: { customRender: 'verifyDeliverableTemplateName' } scopedSlots: { customRender: 'verifyDeliverableTemplateName' }
}, },
{ {
@@ -572,19 +575,20 @@
dataIndex: 'verifyInitiatorName', dataIndex: 'verifyInitiatorName',
align: 'center', align: 'center',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
dataIndex: 'verifyDutyName', dataIndex: 'verifyDutyName',
align: 'center', align: 'center',
width: 180, width: 180,
scopedSlots: { customRender: 'titleName' } ellipsis: true
}, },
{ {
title: this.$t('TaskCutOffTime'), title: this.$t('TaskCutOffTime'),
dataIndex: 'verifyDueDate', dataIndex: 'verifyDueDate',
align: 'center', align: 'center',
ellipsis: true,
width: 140 width: 140
}, },
{ {
@@ -592,7 +596,7 @@
dataIndex: 'verifyRemark', dataIndex: 'verifyRemark',
align: 'center', align: 'center',
width: 220, width: 220,
scopedSlots: { customRender: 'titleName' } ellipsis: true
} }
] ]
}, },
@@ -14,7 +14,7 @@
size="middle" size="middle"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: true,y:'calc(100vh - 180px)'}" :scroll="{x: '100%',y:'calc(100vh - 180px)'}"
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
> >
@@ -69,36 +69,42 @@
title: this.$t('entryName'), title: this.$t('entryName'),
align: 'center', align: 'center',
dataIndex: 'projectName', dataIndex: 'projectName',
width: 180 width: 180,
ellipsis: true
}, },
{ {
title: this.$t('targetMarket'), title: this.$t('targetMarket'),
align: 'center', align: 'center',
dataIndex: 'targetMarket', dataIndex: 'targetMarket',
width: 180 width: 180,
ellipsis: true
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'projectStatus', dataIndex: 'projectStatus',
scopedSlots: { title: 'projectStatusTitle' }, scopedSlots: { title: 'projectStatusTitle' },
width: 240 width: 240,
ellipsis: true
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'certificationProgress', dataIndex: 'certificationProgress',
width: 340, width: 380,
ellipsis: true,
scopedSlots: { title: 'CertificationProgressTitle' } scopedSlots: { title: 'CertificationProgressTitle' }
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'inventory', dataIndex: 'inventory',
width: 340, width: 340,
ellipsis: true,
scopedSlots: { title: 'listConfirmationStatusTitle' } scopedSlots: { title: 'listConfirmationStatusTitle' }
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'task', dataIndex: 'task',
width: 340, width: 340,
ellipsis: true,
scopedSlots: { title: 'taskAffirmStatusTitle' } scopedSlots: { title: 'taskAffirmStatusTitle' }
}, },
{ {
@@ -68,13 +68,10 @@
size="middle" size="middle"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: true,y:500}" :scroll="{x: '100%',y:500}"
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
> >
<span slot="projectName" slot-scope="text" :title="text">
{{text && text.length > 10 ? text.slice(0,10)+'...':text}}
</span>
<span slot="projectStatusTitle"> <span slot="projectStatusTitle">
<span>{{this.$t('projectStatus')}}</span><br/> <span>{{this.$t('projectStatus')}}</span><br/>
<span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}}</span> <span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}}</span>
@@ -136,36 +133,42 @@
align: 'center', align: 'center',
dataIndex: 'projectName', dataIndex: 'projectName',
scopedSlots: { customRender: 'projectName' }, scopedSlots: { customRender: 'projectName' },
width: 180 width: 180,
ellipsis: true,
}, },
{ {
title: this.$t('targetMarket'), title: this.$t('targetMarket'),
align: 'center', align: 'center',
dataIndex: 'targetMarket', dataIndex: 'targetMarket',
width: 180 width: 180,
ellipsis: true,
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'projectStatus', dataIndex: 'projectStatus',
scopedSlots: { title: 'projectStatusTitle' }, scopedSlots: { title: 'projectStatusTitle' },
width: 240 width: 240,
ellipsis: true,
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'certificationProgress', dataIndex: 'certificationProgress',
width: 340, width: 380,
ellipsis: true,
scopedSlots: { title: 'CertificationProgressTitle' } scopedSlots: { title: 'CertificationProgressTitle' }
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'inventory', dataIndex: 'inventory',
width: 340, width: 340,
ellipsis: true,
scopedSlots: { title: 'listConfirmationStatusTitle' } scopedSlots: { title: 'listConfirmationStatusTitle' }
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'task', dataIndex: 'task',
width: 340, width: 340,
ellipsis: true,
scopedSlots: { title: 'taskAffirmStatusTitle' } scopedSlots: { title: 'taskAffirmStatusTitle' }
}, },
{ {