基础数据列表显示处理

This commit is contained in:
714943302@qq.com
2018-12-10 13:54:27 +08:00
parent 4e041d6714
commit f5b69ae78f
4 changed files with 20 additions and 27 deletions
@@ -53,10 +53,10 @@ export class CityComponent implements OnInit {
}
}
)
this.render_data.forEach(item => {//国家数据转换处理
let countryLinkIndex = this.countrys.findIndex(val => val.countryId === item['countryId']);
item['countryNameChn'] = this.countrys[countryLinkIndex].countryNameChn;
})
if(this.render_data){
//国家列表数据转换
this.basicDataTransHandle();
}
/**
* 固定表头
*/