修改已知问题

This commit is contained in:
qq787203167
2022-05-27 14:02:34 +08:00
parent 507d329b02
commit 6df9be3ae7
@@ -873,6 +873,12 @@
this.formInline.regulationOwnerId = undefined this.formInline.regulationOwnerId = undefined
this.formInline.engineeringInterfacePerson = undefined this.formInline.engineeringInterfacePerson = undefined
this.formInline.homologationEngineerId = undefined this.formInline.homologationEngineerId = undefined
this.formInline.designInitiatorId = undefined
this.formInline.designDutyId = undefined
this.formInline.prehomoInitiatorId = undefined
this.formInline.prehomoDutyId = undefined
this.formInline.verifyInitiatorId = undefined
this.formInline.verifyDutyId = undefined
this.queryPersonByProject(event) this.queryPersonByProject(event)
}, },
@@ -887,7 +893,14 @@
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList //工程接口人 this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList //工程接口人
this.certificationEngineerList = res.result.certificationEngineerList //认证工程师 this.certificationEngineerList = res.result.certificationEngineerList //认证工程师
if (row.dutyTerritory) { if (row.dutyTerritory) {
this.getData(row, res) let _this = this
this.getProject(row, res, function() {
_this.getData(row, res)
})
} else {
this.getProject({}, res, function() {
})
} }
} }
}) })
@@ -938,7 +951,7 @@
this.verifyInitiatorIdDisabled = true this.verifyInitiatorIdDisabled = true
} }
}, },
getData(row, res) { getProject(row, res, callback) {
//设计符合性确认-发起人 //设计符合性确认-发起人
if (row.designInitiator == 1) { if (row.designInitiator == 1) {
this.designInitiatorList = res.result.lawEngineerList || [] this.designInitiatorList = res.result.lawEngineerList || []
@@ -999,6 +1012,9 @@
} else if (!row.verifyDuty || row.verifyDuty == '') { } else if (!row.verifyDuty || row.verifyDuty == '') {
this.verifyDutyList = res.result.allPersonList || [] this.verifyDutyList = res.result.allPersonList || []
} }
callback()
},
getData(row, res) {
//清空下拉框选中没有的数据 //清空下拉框选中没有的数据
if (!(this.designInitiatorList.some(val => val.value == row.designInitiatorId))) { if (!(this.designInitiatorList.some(val => val.value == row.designInitiatorId))) {
row.designInitiatorId = undefined row.designInitiatorId = undefined