Commit df558f2e authored by zhuwei's avatar zhuwei

业绩明细

parent 7aa0c83b
......@@ -88,9 +88,9 @@ class PerformanceInfo extends Basic
$field .= 'Houses.landmark,';
$field .= 'Oorder.house_id';
$return = $this->oBargainModel->performancelInfo($where,$field,$pageSize,$pageNo);
return $this->response(200, '', $return);
$field = 'sum(Obargain.scale_fee) as scale_fee_sum';
$return_sum = $this->oBargainModel->performancelInfo($where,$field,$pageSize,$pageNo);
return $this->response(200, '', ['scale_fee_sum'=>$return_sum[0]['scale_fee_sum'],'data'=>$return]);
} else {
return view('performanceInfo');
}
......
......@@ -239,7 +239,7 @@ Route::group('index', [
'addReceiptImg' => [ 'index/Collection/addReceiptImg', [ 'method' => 'post|get' ] ],//收款图片信息保存
'deleteReceiptImg' => [ 'index/Collection/deleteReceiptImg', [ 'method' => 'post|get' ] ],//删除收款图片
'receiptImgList' => [ 'index/Collection/receiptImgList', [ 'method' => 'post|get' ] ],//收款列表-收款图片列表
'performanceInfo' => [ 'index/PerformanceInfo/performanceInfo', [ 'method' => 'get' ] ],//业绩明细
'performanceInfo' => [ 'index/PerformanceInfo/performanceInfo', [ 'method' => 'post|get' ] ],//业绩明细
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment