Commit b4bc34af authored by liuyuping's avatar liuyuping

'indusmanage'

parent d591fb25
...@@ -160,8 +160,8 @@ export default { ...@@ -160,8 +160,8 @@ export default {
getIndustryChargeDept().then(res => { getIndustryChargeDept().then(res => {
this.chargeDept = res.content.map(item => { this.chargeDept = res.content.map(item => {
return { return {
icdId: item.icdId, icdId: item.icdId ? item.icdId : '',
icdName: item.icdName icdName: item.icdName ? item.icdName : ''
} }
}) })
}) })
...@@ -248,7 +248,7 @@ export default { ...@@ -248,7 +248,7 @@ export default {
}, },
// 编辑行业dialog显示 // 编辑行业dialog显示
editIndusDlShow() { 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.industryId = this.currentEmergencyIndustry.filter(item => item.checked)[0].industryId
this.editFormIndus.industryName = this.currentEmergencyIndustry.filter(item => item.checked)[0].industryName this.editFormIndus.industryName = this.currentEmergencyIndustry.filter(item => item.checked)[0].industryName
this.editIndusVisible = true 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