公共组件 #18

Merged
xiaohai2271 merged 45 commits from dev into master 2020-07-11 10:41:50 +08:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 94ba2c2281 - Show all commits

View File

@@ -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>

View File

@@ -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>