|
|
|
|
@ -433,8 +433,12 @@ |
|
|
|
|
this.form.highwayCongestionDetailDTOS = this.form.highwayCongestionDetailVOS; |
|
|
|
|
this.form.highwayAccidentDetailDTOS = this.form.highwayAccidentDetailVOS; |
|
|
|
|
if (checkNotEmpty(this.deptNameList)) { |
|
|
|
|
let idx = this.deptNameList.findIndex(item => item.deptName = this.form.organizationName); |
|
|
|
|
let idx = this.deptNameList.findIndex(item => item.deptName == this.form.organizationName); |
|
|
|
|
this.form.organizationNameIndex = idx > -1 ? idx : ''; |
|
|
|
|
if(!checkNotEmpty(this.form.affiliatedUnit)) { |
|
|
|
|
this.form.organizationName = this.deptNameList.length > 0 ? this.deptNameList[0].deptName : ''; |
|
|
|
|
this.form.organizationNameIndex = this.deptNameList.length > 0 ? 0 : ''; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.queryAccidentLevel(); //事故等级 |
|
|
|
|
this.queryHighway(); //高速公路列表 |
|
|
|
|
|