ucap-doc/documents/업무/10월/4째주/board-list.component.backup.html
Park Byung Eun 6b947a5d85 bug fix
2020-11-12 08:43:18 +09:00

93 lines
3.0 KiB
HTML

<div class="crm-pro-board-list-container">
<div class="board-list-container">
<table mat-table [dataSource]="boardList" class="mat-elevation-z8">
<!-- seq Column -->
<ng-container matColumnDef="seq">
<th mat-header-cell *matHeaderCellDef>번호</th>
<td mat-cell *matCellDef="let element">{{ element.seq }}</td>
</ng-container>
<!-- Title Column -->
<ng-container matColumnDef="title">
<th mat-header-cell *matHeaderCellDef>제목</th>
<td mat-cell *matCellDef="let element">{{ element.postTitle }}</td>
</ng-container>
<!-- Update Date Column -->
<ng-container matColumnDef="updateDt">
<th mat-header-cell *matHeaderCellDef>작성일자</th>
<td mat-cell *matCellDef="let element">
{{ element.updatedDt | ucapDate: 'LL' }}
{{ element.updatedDt | ucapDate: 'LT' }}
</td>
</ng-container>
<!-- Author Column -->
<ng-container matColumnDef="author">
<th mat-header-cell *matHeaderCellDef>작성자</th>
<td mat-cell *matCellDef="let element">
{{ element.author.username }}
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr
mat-row
*matRowDef="let row; columns: displayedColumns"
(click)="__onClickRow(row)"
></tr>
</table>
</div>
<div class="button-wrap">
<button
mat-icon-button
class="btn-subject-info btn"
(click)="onClickAdd($event)"
>
글쓰기
</button>
</div>
</div>
<div class="crm-pro-notice-list-container" fxLayout="column">
<div class="notice-list-container" fxFlex="1 1 auto" fxLayout="column">
<table mat-table [dataSource]="noticeList" class="mat-elevation-z8">
<!-- seq Column -->
<ng-container matColumnDef="seq">
<th mat-header-cell *matHeaderCellDef>번호</th>
<td mat-cell *matCellDef="let element">{{ element.seq }}</td>
</ng-container>
<!-- Title Column -->
<ng-container matColumnDef="title">
<th mat-header-cell *matHeaderCellDef>제목</th>
<td mat-cell *matCellDef="let element">{{ element.noticeTitle }}</td>
</ng-container>
<!-- Update Date Column -->
<ng-container matColumnDef="updateDt">
<th mat-header-cell *matHeaderCellDef>작성일자</th>
<td mat-cell *matCellDef="let element">
{{ element.updatedDt | ucapDate: 'LL' }}
{{ element.updatedDt | ucapDate: 'LT' }}
</td>
</ng-container>
<!-- Author Column -->
<ng-container matColumnDef="createBy">
<th mat-header-cell *matHeaderCellDef>작성자</th>
<td mat-cell *matCellDef="let element">
{{ element.createBy }}
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns; sticky: true"></tr>
<tr
mat-row
*matRowDef="let row; columns: displayedColumns"
(click)="__onClickRow(row)"
></tr>
</table>
</div>
</div>