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