修改已知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'
} }
] ]
}, },
@@ -402,7 +414,7 @@
this.formInline.vehiclePlatform = content[0].vehiclePlatform || '' this.formInline.vehiclePlatform = content[0].vehiclePlatform || ''
this.yearNameDataList = content[0].yearNameDataList || [] this.yearNameDataList = content[0].yearNameDataList || []
this.formInline.digitalPlatform = content[0].digitalPlatform || '' this.formInline.digitalPlatform = content[0].digitalPlatform || ''
this.formInline = {...this.formInline} this.formInline = { ...this.formInline }
} }
} }
} }
@@ -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"
@@ -68,10 +69,10 @@
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('ModelPlatform')" <a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('ModelPlatform')"
v-model="queryParam.vehiclePlatform"></a-input> v-model="queryParam.vehiclePlatform"></a-input>
<!-- <j-dict-select-tag class="box-input" v-model="queryParam.vehiclePlatform"--> <!-- <j-dict-select-tag class="box-input" v-model="queryParam.vehiclePlatform"-->
<!-- :placeholder="$t('PleaseSelect')+$t('ModelPlatform')"--> <!-- :placeholder="$t('PleaseSelect')+$t('ModelPlatform')"-->
<!-- :type="'select'"--> <!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'vehicle_platform'"/>--> <!-- :triggerChange="false" :dictCode="'vehicle_platform'"/>-->
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
@@ -81,10 +82,10 @@
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('DigitalPlatform')" <a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('DigitalPlatform')"
v-model="queryParam.digitalPlatform"></a-input> v-model="queryParam.digitalPlatform"></a-input>
<!-- <j-dict-select-tag class="box-input" v-model="queryParam.digitalPlatform"--> <!-- <j-dict-select-tag class="box-input" v-model="queryParam.digitalPlatform"-->
<!-- :placeholder="$t('PleaseSelect')+$t('DigitalPlatform')"--> <!-- :placeholder="$t('PleaseSelect')+$t('DigitalPlatform')"-->
<!-- :type="'select'"--> <!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'digital_platform'"/>--> <!-- :triggerChange="false" :dictCode="'digital_platform'"/>-->
</div> </div>
</a-col> </a-col>
</template> </template>
@@ -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 }"
@@ -129,7 +130,7 @@
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<!-- <a class="text-operation" @click="edit(record)">{{$t('edit')}}</a>--> <!-- <a class="text-operation" @click="edit(record)">{{$t('edit')}}</a>-->
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a> <a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
<!-- <a class="text-operation" @click="entryNameClick(record)">{{$t('see')}}</a>--> <!-- <a class="text-operation" @click="entryNameClick(record)">{{$t('see')}}</a>-->
</span> </span>
</a-table> </a-table>
</div> </div>
@@ -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'
}, },
{ {
@@ -441,7 +456,7 @@
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
z-index:100; z-index: 100;
border-top: 1px solid #e8e8e8; border-top: 1px solid #e8e8e8;
padding: 10px 16px; padding: 10px 16px;
text-align: right; text-align: right;