This commit is contained in:
weiz 2024-01-22 10:01:24 +08:00
parent e7713e7194
commit 9ffb41b376
2 changed files with 19 additions and 4 deletions

View File

@ -87,7 +87,8 @@
}
//投标统计
public function bidding() {
public function bidding(): Json
{
//投标决策
$decision = BidBiddingDecision::field('id')->count();
//购买标书
@ -158,7 +159,8 @@
}
//项目回款
public function projectRefund(){
public function projectRefund(): Json
{
$year = $this->request->get('year');
if(empty($year)){
$year = date('Y');
@ -203,4 +205,13 @@
];
return $this->success('success',$result);
}
//采购合同
public function procurementContract(){
$year = $this->request->get('year');
if(empty($year)){
$year = date('Y');
}
$column = ['1','2','3','4','5','6','7','8','9','10','11','12'];
}
}

View File

@ -86,7 +86,11 @@ class CustomServiceValidate extends BaseValidate
*/
public function sceneAdd()
{
return $this->remove('id',true);
return $this->remove('id',true)
->remove('processing_result',true)
->remove('processing_hours',true)
->remove('done_date',true)
->remove('score',true)->remove('is_solve',true);
}
@ -98,7 +102,7 @@ class CustomServiceValidate extends BaseValidate
*/
public function sceneEdit()
{
return $this->only(['id','processing_result','processing_hours','done_date','score','is_solve']);
}