diff --git a/app/common/model/supervision_qualification_review/SupervisionSpecialOperationPersonnel.php b/app/common/model/supervision_qualification_review/SupervisionSpecialOperationPersonnel.php index 65e747631..c99c5672b 100644 --- a/app/common/model/supervision_qualification_review/SupervisionSpecialOperationPersonnel.php +++ b/app/common/model/supervision_qualification_review/SupervisionSpecialOperationPersonnel.php @@ -40,6 +40,11 @@ class SupervisionSpecialOperationPersonnel extends BaseModel return !empty($value) ? date('Y-m-d H:i:s', $value) : ''; } + public function getValidityPeriodAttr($value): string + { + return !empty($value) ? date('Y-m-d H:i:s', $value) : ''; + } + public function getStatusTextAttr($value,$data){ $arr = [0=>'有效', 1=>'无效']; return $arr[$data['status']];