|
@@ -115,7 +115,8 @@ export class BusinessDataDetailModalComponent implements OnInit {
|
115
|
115
|
};
|
116
|
116
|
this.mainService.specimenCount(postData).subscribe((data:any) => {
|
117
|
117
|
data.data = data.data || [];
|
118
|
|
- let specimenDescList = [{ id: 0, name: '全部', nameNum: '全部' }];
|
|
118
|
+ let specimenDescList:any = [{ id: 0, name: '全部', nameNum: '全部' }];
|
|
119
|
+ specimenDescList[0].nameNum = `全部(${data.total})`;
|
119
|
120
|
this.specimenDescList = specimenDescList.concat( data.data.map(v => ({id: --this.id, name: v[0] || '', nameNum: (v[0] || '') + `(${v[1]})`})));
|
120
|
121
|
})
|
121
|
122
|
}
|