Commit 1bdf8dd2 authored by hujun's avatar hujun

url

parent 23c1c9f9
......@@ -1311,4 +1311,39 @@ class OfficeBargain extends Basic
return $this->response($code, $msg);
}
/**
* 成交报告审核
*
* @return \think\Response
*/
public function checkReport()
{
$data['code'] = 200;
$data['msg'] = "";
$data['data'] = [];
if (empty($this->params['id']) || empty($this->params['source']) || empty($this->params['status'])) {
$data['code'] = 101;
$data['msg'] = 'Id is null';
} else {
$params['audit_id'] = $this->userId;
$params['audit_name'] = $this->userName;
$params['audit_id'] = $this->userId;
$params['audit_level'] = $this->params['check_status'];
$params['remark'] = $this->params['remark'];
try {
$status = $this->m_bargain->addCheckBargain($this->params['id'], $params, $this->params['source'], $this->params['status']);
} catch (\Exception $e) {
return $this->response(101, '内部错误,审核失败!请联系运营。');
}
if (empty($status)) {
$data['code'] = 101;
$data['msg'] = '审核失败';
}
}
return $this->response($data['code'], $data['msg'], $data['data']);
}
}
\ No newline at end of file
......@@ -1788,11 +1788,6 @@ class OfficePayLog extends Basic
*/
public function refundList()
{
//显示视图
if (!$this->request->isAjax()) {
return view('refundList');
}
$data['code'] = 200;
$data['msg'] = "";
$data['data'] = [];
......
......@@ -1064,13 +1064,14 @@ Route::group('office_index', [
'refundDetail' => ['index/officePayLog/refundDetail', ['method' => 'GET']], //退款详情
'checkRefund' => ['index/officePayLog/checkRefund', ['method' => 'GET']], //退款审核
'delRefund' => ['index/officePayLog/delRefund', ['method' => 'GET']], //删除退款
'reportListUndone/:check_status' => ['index/officePayLog/reportList', ['method' => 'get'], ['check_status' => 6]], //财务 成交报告-已撤销
'backOutThree/:check_status' => ['index/officePayLog/reportList', ['method' => 'get'], ['check_status' => 8]], //财务 成交报告-待撤销-第三级数据
'backOutTwo/:check_status' => ['index/officePayLog/reportList', ['method' => 'get'], ['check_status' => 7]], //财务 成交报告-待撤销-第二级数据
'backOutOne/:check_status' => ['index/officePayLog/reportList', ['method' => 'get'], ['check_status' => 5]], //财务 成交报告-待撤销-第一级数据
'checkBackOutOne/:check_status' => ['index/officePayLog/checkReport', ['method' => 'post'], ['check_status' => 1]], //审核撤销成交报告-第一级审核
'checkBackOutTwo/:check_status' => ['index/officePayLog/checkReport', ['method' => 'post'], ['check_status' => 2]], //审核撤销成交报告-第二级审核
'checkBackOutThree/:check_status' => ['index/officePayLog/checkReport', ['method' => 'post'], ['check_status' => 3]], //审核撤销成交报告-第三级审核
'refundList' => ['index/officePayLog/refundList', ['method' => 'get']], //退款列表-专员审核
'reportListUndone/:check_status' => ['index/OfficeBargain/reportList', ['method' => 'get'], ['check_status' => 6]], //财务 成交报告-已撤销
'backOutThree/:check_status' => ['index/OfficeBargain/reportList', ['method' => 'get'], ['check_status' => 8]], //财务 成交报告-待撤销-第三级数据
'backOutTwo/:check_status' => ['index/OfficeBargain/reportList', ['method' => 'get'], ['check_status' => 7]], //财务 成交报告-待撤销-第二级数据
'backOutOne/:check_status' => ['index/OfficeBargain/reportList', ['method' => 'get'], ['check_status' => 5]], //财务 成交报告-待撤销-第一级数据
'checkBackOutOne/:check_status' => ['index/OfficeBargain/checkReport', ['method' => 'post'], ['check_status' => 1]], //审核撤销成交报告-第一级审核
'checkBackOutTwo/:check_status' => ['index/OfficeBargain/checkReport', ['method' => 'post'], ['check_status' => 2]], //审核撤销成交报告-第二级审核
'checkBackOutThree/:check_status' => ['index/OfficeBargain/checkReport', ['method' => 'post'], ['check_status' => 3]], //审核撤销成交报告-第三级审核
'collectingBill' => ['index/officePayLog/collectingBill', ['method' => 'get|post']], //收款
'getBeForNum' => ['index/officePayLog/getBeForNum', ['method' => '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