上传值优化

This commit is contained in:
潘晓云
2022-04-29 15:20:22 +08:00
parent 11af021292
commit 0abc792e0f
8 changed files with 53 additions and 41 deletions

View File

@ -6,6 +6,11 @@
<ng-template st-row="checkStatus" let-item>
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>
</ng-template>
<ng-template st-row="fieldValue" let-item>
<ellipsis lines="3" tooltip>
<div>{{item?.fieldValue}}</div>
</ellipsis>
</ng-template>
</st>
</div>

View File

@ -55,7 +55,7 @@ export class DatatableReportingFundInfoComponent implements OnInit {
1: '是',
},
},
{ title: '上传值', index: 'fieldValue', className: 'text-center', width: '15%', },
{ title: '上传值', render: 'fieldValue', className: 'text-center', width: '15%', },
{
title: '本地校验',
render: 'checkStatus',

View File

@ -12,6 +12,11 @@
<ng-template st-row="checkStatus" let-item>
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>
</ng-template>
<ng-template st-row="fieldValue" let-item>
<ellipsis lines="3" tooltip>
<div>{{item?.fieldValue}}</div>
</ellipsis>
</ng-template>
</st>
</div>
</div>

View File

@ -62,7 +62,7 @@ export class DatatableReportingVerifyResultComponent implements OnInit {
1: '是'
}
},
{ title: '上传值', index: 'fieldValue', className: 'text-center', width: '150px', },
{ title: '上传值', render: 'fieldValue', className: 'text-center', width: '150px', },
{
title: '本地校验', render: 'checkStatus', className: 'text-center', width: '100px',
// type: 'enum',