Commit b4bc34af authored by liuyuping's avatar liuyuping

'indusmanage'

parent d591fb25
......@@ -160,8 +160,8 @@ export default {
getIndustryChargeDept().then(res => {
this.chargeDept = res.content.map(item => {
return {
icdId: item.icdId,
icdName: item.icdName
icdId: item.icdId ? item.icdId : '',
icdName: item.icdName ? item.icdName : ''
}
})
})
......@@ -248,7 +248,7 @@ export default {
},
// 编辑行业dialog显示
editIndusDlShow() {
this.editFormIndus.icdId = this.currentEmergencyIndustry.filter(item => item.checked)[0].chargeDept.icdId
this.editFormIndus.icdId = this.currentEmergencyIndustry.filter(item => item.checked)[0].chargeDept? this.currentEmergencyIndustry.filter(item => item.checked)[0].chargeDept.icdId: ''
this.editFormIndus.industryId = this.currentEmergencyIndustry.filter(item => item.checked)[0].industryId
this.editFormIndus.industryName = this.currentEmergencyIndustry.filter(item => item.checked)[0].industryName
this.editIndusVisible = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment