公共组件 #18
@@ -1,4 +1,4 @@
|
||||
<c-common-table cardTitle="文章管理"
|
||||
<common-table cardTitle="文章管理"
|
||||
#commonTableComponent
|
||||
[data]="headData"
|
||||
[request]="request"
|
||||
@@ -9,7 +9,7 @@
|
||||
dislikeCount:{temp:dislikeCount},
|
||||
open:{temp:open}
|
||||
}">
|
||||
</c-common-table>
|
||||
</common-table>
|
||||
|
||||
<ng-template let-value="value" let-originValue="originValue" #original>
|
||||
<nz-tag [nzColor]="originValue?'green':'#ff5500'">{{value}}</nz-tag>
|
||||
|
||||
@@ -50,9 +50,9 @@
|
||||
</ng-template>
|
||||
-->
|
||||
|
||||
<c-common-table [request]="request" [data]="headData" cardTitle="评论管理"
|
||||
<common-table [request]="request" [data]="headData" cardTitle="评论管理"
|
||||
[template]="{status:{temp:status,param:{'0':' 正常 ','3':'已删除'}}}">
|
||||
</c-common-table>
|
||||
</common-table>
|
||||
|
||||
<ng-template let-originValue="originValue" let-value="value" #status>
|
||||
<nz-tag nzColor="geekblue" *ngIf="originValue==0">{{value}}</nz-tag>
|
||||
|
||||
Reference in New Issue
Block a user