钉钉账号绑定
@include('system_settings.partials.navigation')
花名册中两个财务中心及其下级部门的在职人员,以及已单独授权的本公司在职人员,首次钉钉授权后会自动创建普通账号并登录,无需另行注册。单独授权人员仅可访问指定的快递入驻、快递资料和报价管理页面;已拒绝、解绑或停用的账号不会自动恢复。
@if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif @php $statusLabels = ['pending' => '待处理', 'approved' => '已绑定', 'rejected' => '已拒绝', 'revoked' => '已解绑']; $eventLabels = [ 'binding_pending' => '提交绑定申请', 'binding_auto_approved' => '自动绑定', 'account_auto_created' => '钉钉自动开户', 'session_revoked' => '登录会话失效', 'binding_admin_approved' => '管理员绑定', 'binding_rejected' => '拒绝绑定', 'binding_revoked' => '解除绑定', 'login_success' => '钉钉登录成功', 'login_denied' => '钉钉登录拒绝', ]; @endphp

待处理与历史申请

@forelse ($bindingRequests as $bindingRequest) @empty @endforelse
钉钉用户 企业资料 状态 最近尝试 处理
{{ $bindingRequest->nickname ?: '未提供姓名' }}
{{ $bindingRequest->email_hint ?: '无企业邮箱' }}
{{ $bindingRequest->mobile_hint ?: '无手机号' }}
$bindingRequest->status === 'pending', 'bg-green-50 text-[#53793E]' => $bindingRequest->status === 'approved', 'bg-red-50 text-[#B80000]' => in_array($bindingRequest->status, ['rejected', 'revoked'], true), ])>{{ $statusLabels[$bindingRequest->status] ?? $bindingRequest->status }} {{ optional($bindingRequest->last_attempted_at)->format('Y-m-d H:i:s') ?: '-' }} @if ($bindingRequest->status !== 'approved')
@csrf
@csrf
@else {{ $bindingRequest->matchedUser?->email ?: '已处理' }} @endif
暂无钉钉绑定申请。

已绑定账号

@forelse ($identities as $identity) @empty @endforelse
财务账号钉钉用户绑定时间操作
{{ $identity->user?->name }}
{{ $identity->user?->email }}
{{ $identity->nickname ?: '企业员工' }} {{ optional($identity->bound_at)->format('Y-m-d H:i:s') ?: '-' }}
@csrf @method('DELETE')
暂无已绑定账号。

最近审计记录

@forelse ($audits as $audit) @empty @endforelse
时间事件财务账号操作人结果
{{ optional($audit->created_at)->format('Y-m-d H:i:s') }} {{ $eventLabels[$audit->event] ?? $audit->event }} {{ $audit->user?->email ?: '-' }} {{ $audit->actor?->email ?: '系统' }} {{ $audit->outcome }}
暂无审计记录。