美文网首页
护理报告单元表格合并问题

护理报告单元表格合并问题

作者: 追逐繁星的阿忠 | 来源:发表于2018-12-21 16:35 被阅读0次
<tr *ngFor="let v of medicalList.list">
                        <td [rowSpan]='v.rowspan'>{{v.member_name  ? v.member_name : ''}}</td>
                        <ng-container *ngIf="v.pet_info.length === 0">
                            <td>
                                <i class="dog-icon {{v.avatar}}"></i>
                                {{v.name ? v.name : ''}}
                            </td>
                            <td>{{v.species_info.naem}}</td>
                            <td >{{v.products}}</td>
                            <td >{{v.dissipate}}</td>
                            <td width="150">
                                    <span>
                                        <a href="javascript:void(0)" (click)="jumpMedicalDetail(v)"
                                           class="ori-text edit-a">生成护理报告</a>
                                    </span>
                            </td>
                        </ng-container>
                        <ng-container *ngIf="v.pet_info.length>0" >
                            <tr *ngFor="let v2 of v.pet_info" [attr.colspan]=5>
                                <td>
                                    <i class="dog-icon {{v2.avatar}}"></i>
                                    {{v2.name ? v2.name : ''}}
                                </td>
                                <td>{{v2.species_info.naem}}</td>
                                <td >{{v.products}}</td>
                                <td >{{v.dissipate}}</td>
                                <td width="150">
                                                <span>
                                                    <a href="javascript:void(0)" (click)="jumpMedicalDetail(v)"
                                                       class="ori-text edit-a">生成护理报告</a>
                                                </span>
                                </td>
                            </tr>
                        </ng-container>
                        <!--<td [rowSpan]='v.rowspan'>{{v.products}}</td>
                        <td [rowSpan]='v.rowspan'>{{v.dissipate}}</td>
                        <td width="150" [rowSpan]='v.rowspan'>
                            <span>
                                <a href="javascript:void(0)" (click)="jumpMedicalDetail(v)"
                                   class="ori-text edit-a">生成护理报告</a>
                            </span>
                        </td>-->
                    </tr>

相关文章

网友评论

      本文标题:护理报告单元表格合并问题

      本文链接:https://www.haomeiwen.com/subject/ubcvkqtx.html