__('Misjudge'), 'review' => __('Review'), 'deduct' => __('Deduct'), 'other' => __('Other')]; } public function getStatusList() { return ['wait' => __('Wait'), 'handling' => __('Handling'), 'done' => __('Done'), 'reject' => __('Reject')]; } public function getTypeTextAttr($value, $data) { $value = $value ?: ($data['type'] ?? ''); $list = $this->getTypeList(); return $list[$value] ?? ''; } public function getStatusTextAttr($value, $data) { $value = $value ?: ($data['status'] ?? ''); $list = $this->getStatusList(); return $list[$value] ?? ''; } }