Compare commits
2 Commits
ecf1be8ab7
...
3bb6741e44
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bb6741e44 | |||
|
|
c7856394c0 |
@@ -204,7 +204,7 @@ $routes->group('', ['namespace' => 'App\Controllers\V2'], static function ($rout
|
|||||||
$routes->get('m702a/getResultList', 'M702::getResultList');
|
$routes->get('m702a/getResultList', 'M702::getResultList');
|
||||||
$routes->get('m702a/excel', 'M702::excel');
|
$routes->get('m702a/excel', 'M702::excel');
|
||||||
$routes->post('m702a/updateAssign', 'M702::updateAssign'); // 배정변경
|
$routes->post('m702a/updateAssign', 'M702::updateAssign'); // 배정변경
|
||||||
|
$routes->post('m702a/saveTel', 'M702::saveTel'); // 전화확인 정보 저장
|
||||||
$routes->post('m702a/modifyInfo', 'M702::modifyInfo'); // 매물정보저장
|
$routes->post('m702a/modifyInfo', 'M702::modifyInfo'); // 매물정보저장
|
||||||
|
|
||||||
$routes->post('m702a/uploadFile', 'M702::uploadFile'); // 파일업로드
|
$routes->post('m702a/uploadFile', 'M702::uploadFile'); // 파일업로드
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
namespace App\Controllers\V2;
|
namespace App\Controllers\V2;
|
||||||
|
|
||||||
use App\Controllers\BaseController;
|
use App\Controllers\BaseController;
|
||||||
|
use App\Libraries\NaverApiClient;
|
||||||
use App\Models\common\CodeModel;
|
use App\Models\common\CodeModel;
|
||||||
use App\Models\results\M415Model;
|
use App\Models\results\M415Model;
|
||||||
use App\Models\v2\M703Model;
|
use App\Models\v2\M703Model;
|
||||||
@@ -400,6 +401,8 @@ class M703 extends BaseController
|
|||||||
// 결과저장
|
// 결과저장
|
||||||
public function saveResult()
|
public function saveResult()
|
||||||
{
|
{
|
||||||
|
$naver = new NaverApiClient();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$fax_sq = $this->request->getPost('fax_sq');
|
$fax_sq = $this->request->getPost('fax_sq');
|
||||||
@@ -461,8 +464,7 @@ class M703 extends BaseController
|
|||||||
//2.아무렇지않게 행동한다
|
//2.아무렇지않게 행동한다
|
||||||
$send_result['result'] = 'success';
|
$send_result['result'] = 'success';
|
||||||
} else {
|
} else {
|
||||||
// $this->load->library('call_kiso_api');
|
$send_result = $naver->confirm($sendData['atclNo'], $sendData['success'], $sendData['checkList'], $sendData['charger'], $sendData['modifyInfo'], $sendData['date']);
|
||||||
// $send_result = $this->call_kiso_api->confirm($sendData['atclNo'], $sendData['success'], $sendData['checkList'], $sendData['charger'], $sendData['modifyInfo'], $sendData['date']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($send_result['result'] == 'success') {
|
if ($send_result['result'] == 'success') {
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ class M702Model extends Model
|
|||||||
c.ptp_no,
|
c.ptp_no,
|
||||||
d.insert_tm as update_res_tm,
|
d.insert_tm as update_res_tm,
|
||||||
e.insert_tm as result_tm,
|
e.insert_tm as result_tm,
|
||||||
f.region_nm,
|
IFNULL(f.region_nm , '') as region_nm,
|
||||||
g.cd_nm as pre_stat,
|
g.cd_nm as pre_stat,
|
||||||
h.cd_nm as vrfc_type,
|
h.cd_nm as vrfc_type,
|
||||||
i.usr_nm,
|
i.usr_nm,
|
||||||
|
|||||||
@@ -163,7 +163,7 @@
|
|||||||
style="max-width: 320px;">
|
style="max-width: 320px;">
|
||||||
<input type="text" class="form-control"
|
<input type="text" class="form-control"
|
||||||
name="atcl_no" id="atcl_no"
|
name="atcl_no" id="atcl_no"
|
||||||
value="<?= $data['atcl_no'] ?>" maxlength="10"
|
value="<?= $data['fax_sq'] ?>" maxlength="10"
|
||||||
placeholder="매물번호 입력">
|
placeholder="매물번호 입력">
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="btn btn-outline-primary"
|
class="btn btn-outline-primary"
|
||||||
@@ -1578,7 +1578,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: msg,
|
title: "매물조회 실패",
|
||||||
icon: "error"
|
icon: "error"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user