edit
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user