修改已知bug

This commit is contained in:
qq787203167
2022-06-01 17:17:37 +08:00
parent 2be42fd7ff
commit d1f9d50643
2 changed files with 103 additions and 76 deletions
@@ -300,6 +300,18 @@
required: true, required: true,
message: this.$t('StudioEngineer') + this.$t('cannotEmpty'), message: this.$t('StudioEngineer') + this.$t('cannotEmpty'),
trigger: 'change' trigger: 'change'
},
{
max: 100,
message: this.$t('StudioEngineer') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
trigger: 'change'
}
],
certificationEngineerName: [
{
max: 100,
message: this.$t('certifiedEngineer') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
trigger: 'change'
} }
] ]
}, },
@@ -53,7 +53,8 @@
<div class="title-text" :title="$t('certifiedEngineer')"> <div class="title-text" :title="$t('certifiedEngineer')">
<span>{{$t('certifiedEngineer')}}</span> <span>{{$t('certifiedEngineer')}}</span>
</div> </div>
<PersonnelSelection :query="{db_field_name:'certificationEngineer',db_field_txt:$t('certifiedEngineer')}" <PersonnelSelection
:query="{db_field_name:'certificationEngineer',db_field_txt:$t('certifiedEngineer')}"
:isInput="true" :isInput="true"
class="box-input" class="box-input"
:personneQuery="queryParam" :personneQuery="queryParam"
@@ -117,7 +118,7 @@
size="middle" size="middle"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: true}" :scroll="{x: '100%'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -185,36 +186,50 @@
title: this.$t('entryName'), title: this.$t('entryName'),
align: 'center', align: 'center',
dataIndex: 'projectName', dataIndex: 'projectName',
width: 180,
ellipsis: true,
scopedSlots: { customRender: 'projectName' } scopedSlots: { customRender: 'projectName' }
}, },
{ {
title: this.$t('targetMarket'), title: this.$t('targetMarket'),
width: 180,
ellipsis: true,
align: 'center', align: 'center',
dataIndex: 'targetMarket_dictText' dataIndex: 'targetMarket_dictText'
}, },
{ {
title: this.$t('projectStatus'), title: this.$t('projectStatus'),
align: 'center', align: 'center',
width: 180,
ellipsis: true,
dataIndex: 'projectStatus_dictText' dataIndex: 'projectStatus_dictText'
}, },
{ {
title: this.$t('StudioEngineer'), title: this.$t('StudioEngineer'),
align: 'center', align: 'center',
width: 180,
ellipsis: true,
dataIndex: 'studioEngineerName' dataIndex: 'studioEngineerName'
}, },
{ {
title: this.$t('certifiedEngineer'), title: this.$t('certifiedEngineer'),
align: 'center', align: 'center',
width: 180,
ellipsis: true,
dataIndex: 'certificationEngineerName' dataIndex: 'certificationEngineerName'
}, },
{ {
title: this.$t('ModelPlatform'), title: this.$t('ModelPlatform'),
align: 'center', align: 'center',
width: 180,
ellipsis: true,
dataIndex: 'vehiclePlatform' dataIndex: 'vehiclePlatform'
}, },
{ {
title: this.$t('DigitalPlatform'), title: this.$t('DigitalPlatform'),
align: 'center', align: 'center',
width: 180,
ellipsis: true,
dataIndex: 'digitalPlatform' dataIndex: 'digitalPlatform'
}, },
{ {