'datetime', 'sign_time' => SignTime::class, 'sign_type' => SignType::class, ]; public function checkSuccess() { EmployeeSignService::make()->signDay($this->employee, $this->sign_time, $this->date, [ 'type' => $this->sign_type, 'remarks' => $this->reason, 'position' => ['address' => '无'], 'is_repair' => 1, 'outside_remarks' => $this->outside_remarks, 'repair_id' => $this->id, ]); } public function modelFilter() { return \App\Admin\Filters\EmployeeSignRepairFilter::class; } public function store() { return $this->belongsTo(Store::class, 'store_id'); } public function employee() { return $this->belongsTo(Employee::class, 'employee_id'); } }