修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-06 18:06:16 +08:00
parent 8b27242ff4
commit 6bc774913c
3 changed files with 45 additions and 7 deletions
@@ -904,7 +904,7 @@
verifyDutyIdDisabled: false,
verifyInitiatorIdDisabled: false,
DeliverableTreeList: [],
userInfoQuery:{},
userInfoQuery: {}
}
},
mounted() {
@@ -1240,6 +1240,33 @@
formInline[res] = formInline[res].join(',')
}
})
if (!formInline.verifyDutyId) {
formInline.verifyDutyId = ''
}
if (!formInline.regulationOwnerId) {
formInline.regulationOwnerId = ''
}
if (!formInline.engineeringInterfacePerson) {
formInline.engineeringInterfacePerson = ''
}
if (!formInline.homologationEngineerId) {
formInline.homologationEngineerId = ''
}
if (!formInline.designInitiatorId) {
formInline.designInitiatorId = ''
}
if (!formInline.designDutyId) {
formInline.designDutyId = ''
}
if (!formInline.prehomoInitiatorId) {
formInline.prehomoInitiatorId = ''
}
if (!formInline.prehomoDutyId) {
formInline.prehomoDutyId = ''
}
if (!formInline.verifyInitiatorId) {
formInline.verifyInitiatorId = ''
}
this.confirmLoading = true
putAction(this.url.editModel, formInline).then((res) => {
if (res.success) {
@@ -113,6 +113,17 @@
{{$t('edit')}}
</a>
</span>
<span slot="regulatoryEngineer" >
<span :title="$t('regulatoryEngineer')">
{{$t('regulatoryEngineer')}}
</span>
</span>
<span slot="engineeringInterfacePerson" :title="$t('engineeringInterfacePerson')">
{{$t('engineeringInterfacePerson')}}
</span>
<span slot="certifiedEngineer" :title="$t('certifiedEngineer')">
{{$t('certifiedEngineer')}}
</span>
</a-table>
<!-- <div class="page">-->
<!-- <a-pagination-->
@@ -267,20 +278,20 @@
ellipsis: true
},
{
title: this.$t('regulatoryEngineer'),
align: 'center',
dataIndex: 'lawEngineerName',
slots:{title:'regulatoryEngineer'},
ellipsis: true
},
{
title: this.$t('engineeringInterfacePerson'),
align: 'center',
slots:{title:'engineeringInterfacePerson'},
dataIndex: 'engineeringInterfacePersonName',
ellipsis: true
},
{
title: this.$t('certifiedEngineer'),
align: 'center',
slots:{title:'certifiedEngineer'},
dataIndex: 'certificationEngineerName',
ellipsis: true
},
@@ -293,7 +304,7 @@
{
title: this.$t('operation'),
align: 'center',
width: 100,
width: 110,
fixed: 'right',
scopedSlots: { customRender: 'operation' }
}
+2 -2
View File
@@ -130,7 +130,7 @@
title: this.$t('serialNumber'),
dataIndex: '',
key: 'rowIndex',
width: 20,
width: 90,
align: 'center',
customRender: function(t, r, index) {
return parseInt(index) + 1
@@ -160,7 +160,7 @@
},
{
title: this.$t('operation'),
width: 100,
width: 200,
dataIndex: 'action',
align: 'center',
scopedSlots: { customRender: 'action' }