This commit is contained in:
Taric Xin
2022-03-01 19:29:38 +08:00
parent 1c15aa0813
commit 024a251cf8
2 changed files with 7 additions and 6 deletions

View File

@ -102,17 +102,18 @@ export class AuditAdminComponent implements OnInit {
default: user.creditPhoto
},
approvalOpinion: {
title: '备注',
title: this.isReadOnly ? '驳回原因' : '备注',
type: 'string',
maxLength: 100,
ui: {
placeholder: '审核不通过需要说明原因',
widget: 'textarea',
widget: this.i?.approvalStatus === 30 && this.isReadOnly ? 'text' : 'textarea',
autosize: { minRows: 3, maxRows: 6 },
visibleIf: {
expand: (value: boolean) => !this.isReadOnly
expand: (value: boolean) => !this.isReadOnly || this.i?.approvalStatus === 30
}
}
},
default: user.approvalOpinion
}
}
};