edit
This commit is contained in:
@ -102,17 +102,18 @@ export class AuditAdminComponent implements OnInit {
|
|||||||
default: user.creditPhoto
|
default: user.creditPhoto
|
||||||
},
|
},
|
||||||
approvalOpinion: {
|
approvalOpinion: {
|
||||||
title: '备注',
|
title: this.isReadOnly ? '驳回原因' : '备注',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
maxLength: 100,
|
maxLength: 100,
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '审核不通过需要说明原因',
|
placeholder: '审核不通过需要说明原因',
|
||||||
widget: 'textarea',
|
widget: this.i?.approvalStatus === 30 && this.isReadOnly ? 'text' : 'textarea',
|
||||||
autosize: { minRows: 3, maxRows: 6 },
|
autosize: { minRows: 3, maxRows: 6 },
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => !this.isReadOnly
|
expand: (value: boolean) => !this.isReadOnly || this.i?.approvalStatus === 30
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
default: user.approvalOpinion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -318,10 +318,10 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
|||||||
return [
|
return [
|
||||||
{ title: '企业名称', className: 'text-center', index: 'enterpriseName' },
|
{ title: '企业名称', className: 'text-center', index: 'enterpriseName' },
|
||||||
{ title: '当前管理员', className: 'text-center', index: 'oldAdminName', width: 140 },
|
{ title: '当前管理员', className: 'text-center', index: 'oldAdminName', width: 140 },
|
||||||
{ title: '当前管理员手机号', className: 'text-center', index: 'oldAdminMobile', width: 150 },
|
{ title: '当前管理员手机号', className: 'text-center', index: 'oldAdminMobile', width: 170 },
|
||||||
{ title: '转授对象', className: 'text-center', index: 'newAdminName', width: 140 },
|
{ title: '转授对象', className: 'text-center', index: 'newAdminName', width: 140 },
|
||||||
{ title: '转授对象手机号', className: 'text-center', index: 'newAdminMobile', width: 150 },
|
{ title: '转授对象手机号', className: 'text-center', index: 'newAdminMobile', width: 150 },
|
||||||
{ title: '申请时间', className: 'text-center', index: 'createTime', width: 160 },
|
{ title: '申请时间', className: 'text-center', index: 'createTime', width: 170 },
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
|
|||||||
Reference in New Issue
Block a user