diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/audit-admin/audit-admin.component.ts b/src/app/routes/usercenter/components/freight/enterprise-audit/audit-admin/audit-admin.component.ts index 4c903b5e..39364f6f 100644 --- a/src/app/routes/usercenter/components/freight/enterprise-audit/audit-admin/audit-admin.component.ts +++ b/src/app/routes/usercenter/components/freight/enterprise-audit/audit-admin/audit-admin.component.ts @@ -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 } } }; diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts b/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts index 52c1e11a..c413e2ee 100644 --- a/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts +++ b/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts @@ -318,10 +318,10 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit { return [ { title: '企业名称', className: 'text-center', index: 'enterpriseName' }, { 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: 'newAdminMobile', width: 150 }, - { title: '申请时间', className: 'text-center', index: 'createTime', width: 160 }, + { title: '申请时间', className: 'text-center', index: 'createTime', width: 170 }, { title: '状态', className: 'text-center',