法规清单批量设置

This commit is contained in:
范强强
2023-04-14 13:53:20 +08:00
parent 6950f2b18f
commit 728aa1cabb
3 changed files with 10 additions and 8 deletions
+1
View File
@@ -1785,4 +1785,5 @@ module.exports = {
onlyDesignComplianceConfirmationSelected:'Only data with a design compliance confirmation process status of task to be confirmed, result to be submitted, or verification compliance confirmation process status of task to be confirmed, result to be submitted can be selected',
oneThePersonnelMustBeSelected:'One of the personnel must be selected',
pleaseSelectRegulatoryCurrentLogin:'Please select Regulatory Engineer as the data for the current login',
cannotSetResponsibilityAreas:'Cannot set an interface person due to different responsibility areas',
}
+1
View File
@@ -1887,4 +1887,5 @@ module.exports = {
onlyDesignComplianceConfirmationSelected:'只能选择设计符合性确认流程状态为任务待确认结果待提交或验证符合性确认流程状态为任务待确认结果待提交的数据',
oneThePersonnelMustBeSelected:'必须选择其中一个人员',
pleaseSelectRegulatoryCurrentLogin:'请选择法规工程师为当前登录人的数据',
cannotSetResponsibilityAreas:'所属不同责任领域不能设置接口人',
}
@@ -100,7 +100,7 @@
:title="$t('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
</div>
<a-form-model-item class="itemModel" prop="designDutyId">
<a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
<a-select :placeholder="$t('cannotSetResponsibilityAreas')"
class="box-input"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
@@ -382,13 +382,13 @@
if (res.success) {
this.regulatoryEngineerList = res.result.lawEngineerList || [] //法规工程师
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
if (this.regulatoryEngineerList.length == 1) {
this.formInline.regulationOwnerId = this.regulatoryEngineerList[0].value
}
if (this.engineeringInterfacePersonList.length == 1) {
this.formInline.engineeringInterfacePerson = this.engineeringInterfacePersonList[0].value
}
this.formInline = {...this.formInline}
// if (this.regulatoryEngineerList.length == 1) {
// this.formInline.regulationOwnerId = this.regulatoryEngineerList[0].value
// }
// if (this.engineeringInterfacePersonList.length == 1) {
// this.formInline.engineeringInterfacePerson = this.engineeringInterfacePersonList[0].value
// }
// this.formInline = {...this.formInline}
}
})
},