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 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
} }
} }
}; };

View File

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