실적관리 추가

This commit is contained in:
yangsh
2025-12-18 14:50:48 +09:00
parent 80826843d7
commit 59db781aef
58 changed files with 9587 additions and 28 deletions

View File

@@ -26,7 +26,7 @@ class Database extends Config
*/
public array $default = [
'DSN' => '',
'hostname' => '192.168.10.246',
'hostname' => '192.168.10.243',
'username' => 'confirms',
'password' => 'zjsvjatm',
'database' => 'db_confirms',

View File

@@ -16,6 +16,10 @@ $routes->get('/logout', 'Login::out');
$routes->get('/', 'Home\Home::dashboard');
$routes->get('/home', 'Home\Home::dashboard');
$routes->get('/home/viewStatData', to: 'Home\Home::viewStatData'); // 실적조회
$routes->get('/home/getHomeFaxCount', to: 'Home\Home::getHomeFaxCount'); // 팩스조회
/**
* 게시판 (board) 그룹
@@ -39,6 +43,101 @@ $routes->group('board', ['namespace' => 'App\Controllers\Board'], function ($rou
});
/**
* 실적관리 (results) 그룹
*/
$routes->group('results', ['namespace' => 'App\Controllers\Results'], function ($routes) {
/** 화면 */
$routes->match(['get', 'post'], 'summary/stats_s01', 'Summary::lists'); // 현장확인요약실적
$routes->match(['get', 'post'], 'dept/stats_d01', 'Dept::lists'); // 현장확인요약실적
$routes->match(['get', 'post'], 'person/stats_p01', 'Person::lists'); // 현장확인개인별실적
$routes->match(['get', 'post'], 'assign/stats_a01', 'Assign::lists'); // 현장확인인원별배정현황
$routes->match(['get', 'post'], 'm409/m409a/stats', 'M409::stats'); // 확인매물일별실적
/** API - 현장확인조직별실적 */
$routes->get('dept/excel', 'Sms::excel');
/** API - 현장확인개인별실적 */
$routes->get('person/getUserList', 'Person::getUserList');
$routes->get('person/excel', 'Person::excel');
/** API - 현장확인인원별배정현황 */
$routes->get('assign/getUserList', 'Assign::getUserList');
$routes->get('assign/excel', 'Assign::excel');
/** API - 확인매물일별실적 */
});
$routes->group('', ['namespace' => 'App\Controllers\Results'], static function ($routes) {
// 확인매물일별실적
$routes->group('m409', static function ($routes) {
$routes->match(['get', 'post'], 'm409a/stats', 'M409::stats');
// API
$routes->get('m409a/getResultList', 'M409::getResultList');
$routes->get('m409a/excel', 'M409::excel');
});
// 확인매물개인별실적
$routes->group('m410', static function ($routes) {
$routes->match(['get', 'post'], 'm410a/stats', 'M410::stats');
// API
$routes->get('m410a/getResultList', 'M410::getResultList');
$routes->get('m410a/excel', 'M410::excel');
});
// 확인매물매체사실적
$routes->group('m411', static function ($routes) {
$routes->match(['get', 'post'], 'm411a/stats', 'M411::stats');
// API
$routes->get('m411a/getResultList', 'M411::getResultList');
$routes->get('m411a/excel', 'M411::excel');
});
// 확인매물일자별실적
$routes->group('m412', static function ($routes) {
$routes->match(['get', 'post'], 'm412a/stats', 'M412::stats');
// API
$routes->get('m412a/getResultList', 'M412::getResultList');
$routes->get('m412a/excel', 'M412::excel');
$routes->post('m412a/saveSendType', 'M412::saveSendType');
});
// 검증소요시간
$routes->group('m415', static function ($routes) {
$routes->match(['get', 'post'], 'm415a/stats', 'M415::stats');
// API
$routes->get('m415a/getResultList', 'M415::getResultList');
$routes->get('m415a/excel', 'M415::excel');
});
// 개인별이동거리
$routes->group('m416', static function ($routes) {
$routes->match(['get', 'post'], 'm416a/stats', 'M416::stats');
// API
$routes->get('m416a/getResultList', 'M416::getResultList');
$routes->get('m416a/excel', 'M416::excel');
});
// 신규매물실적관리
$routes->group('m417', static function ($routes) {
$routes->match(['get', 'post'], 'm417a/stats', 'M417::stats');
// API
$routes->get('m417a/getResultList', 'M417::getResultList');
$routes->get('m417a/excel', 'M417::excel');
});
});
/**
* 시스템관리 (manage) 그룹
*/