32 lines
1.0 KiB
PHP
32 lines
1.0 KiB
PHP
<?php
|
||
declare(strict_types=1);
|
||
|
||
namespace app\adminapi\controller\stats;
|
||
|
||
use app\adminapi\controller\BaseAdminController;
|
||
use app\adminapi\logic\stats\AssistantPerformanceLogic;
|
||
|
||
/**
|
||
* 医助个人业绩
|
||
*
|
||
* - GET stats.assistantPerformance/overview 个人业绩概览
|
||
* - GET stats.assistantPerformance/revisitRate 我的复诊接诊率(仅本人行,需在菜单登记:server/sql/1.9.20261012/10_add_assistant_revisit_rate_menu.sql)
|
||
*/
|
||
class AssistantPerformanceController extends BaseAdminController
|
||
{
|
||
public function overview()
|
||
{
|
||
$params = $this->request->get();
|
||
return $this->data(AssistantPerformanceLogic::overview($params, $this->adminId, $this->adminInfo));
|
||
}
|
||
|
||
/**
|
||
* @notes 我的复诊接诊率:按月返回本人在复诊接诊率报表中的行(方案 §10 D1-h)
|
||
*/
|
||
public function revisitRate()
|
||
{
|
||
$month = (string) $this->request->get('month', '');
|
||
return $this->data(AssistantPerformanceLogic::revisitRate($this->adminId, $month));
|
||
}
|
||
}
|