更新
This commit is contained in:
parent
4c6c0e53ca
commit
ec9ddb9ad9
@ -77,7 +77,7 @@
|
|||||||
$data['is_limit_text'] = $data->is_limit_text;
|
$data['is_limit_text'] = $data->is_limit_text;
|
||||||
$data['file_type_text'] = $data->file_type_text;
|
$data['file_type_text'] = $data->file_type_text;
|
||||||
$data['contract_type_text'] = $data->contract_type_text;
|
$data['contract_type_text'] = $data->contract_type_text;
|
||||||
$data['review_status_text'] = '不可移交';//$data->review_status_text;
|
$data['review_status_text'] = '不可移交';
|
||||||
$data['approve_check_status_text'] = $data->approve_check_status_text;
|
$data['approve_check_status_text'] = $data->approve_check_status_text;
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
|
@ -106,8 +106,13 @@
|
|||||||
|
|
||||||
public function getReviewStatusTextAttr($value, $data): string
|
public function getReviewStatusTextAttr($value, $data): string
|
||||||
{
|
{
|
||||||
$arr = [0 => '待移交', 1 => '已移交'];
|
if($data['contract_type'] == 0){
|
||||||
return $arr[$data['review_status']];
|
$arr = [0 => '待移交', 1 => '已移交'];
|
||||||
|
return $arr[$data['review_status']];
|
||||||
|
}else{
|
||||||
|
return '不可移交';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getStatusTextAttr($value, $data): string
|
public function getStatusTextAttr($value, $data): string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user