aaf68b32 by yangjianbin

init

1 parent a2141f1c
......@@ -121,7 +121,7 @@ class Work extends CI_Controller
'clientInfoOutputVO' => $ret->clientInfoOutputVO,
'clientUnitOutputVO' => $ret->clientUnitOutputVO,
'clientContactOutputVOS' => $ret->clientContactOutputVOS,
'applyOrderVO' => $ret->applyOrderVO,
'applyOrderVO' => $ret->orderVO,
'operatorRecord' => $ret2
);
$this->load->view('work/订单详情', $data);
......@@ -152,7 +152,7 @@ class Work extends CI_Controller
'clientInfoOutputVO' => $ret->clientInfoOutputVO,
'clientUnitOutputVO' => $ret->clientUnitOutputVO,
'clientContactOutputVOS' => $ret->clientContactOutputVOS,
'applyOrderVO' => $ret->applyOrderVO,
'applyOrderVO' => $ret->orderVO,
'operatorRecord' => $ret2,
'id' => $id
);
......@@ -179,8 +179,8 @@ class Work extends CI_Controller
if (!$ret->clientContactOutputVOS) {
$ret->clientContactOutputVOS = array();
}
if (!$ret->applyOrderVO) {
$ret->applyOrderVO = array();
if (!$ret->orderVO) {
$ret->orderVO = array();
}
$url2 = $this->config->item('apiBaseUrl') . 'audit/creditReport/' . $id;
......@@ -202,7 +202,7 @@ class Work extends CI_Controller
'clientInfoOutputVO' => $ret->clientInfoOutputVO,
'clientUnitOutputVO' => $ret->clientUnitOutputVO,
'clientContactOutputVOS' => $ret->clientContactOutputVOS,
'applyOrderVO' => $ret->applyOrderVO,
'applyOrderVO' => $ret->orderVO,
'credit'=> $credit,//信用报告
'id' => $id,
'dueDiligence'=>$dueDiligence //尽调报告
......@@ -227,10 +227,10 @@ class Work extends CI_Controller
$this->load->view('work/审批/交易记录', $data);
break;
case 6:
if($ret->applyOrderVO->status == 4){
if($ret->orderVO->status == 4){
$this->load->view('work/审批/录入信用报告', $data);
} else{
if($ret->applyOrderVO->status == 6){
if($ret->orderVO->status == 6){
//查询初审结果,复审结果
$getFirstCheckUrl = $this->config->item('apiBaseUrl') . 'flow/getFirstCheck/' . $id;
$getFirstCheckResult = file_get_contents($getFirstCheckUrl);
......@@ -300,7 +300,7 @@ class Work extends CI_Controller
$ret->clientContactOutputVOS = array();
}
//查询还款计划表
$str = 'borrowAmount=' . $ret->applyOrderVO->applyMoney . '&productId=' . $ret->applyOrderVO->productId . '&loanDeadline=' . $ret->applyOrderVO->deadline;
$str = 'borrowAmount=' . $ret->orderVO->agreeMoney . '&productId=' . $ret->orderVO->productId . '&loanDeadline=' . $ret->orderVO->deadline;
$url2 = $this->config->item('apiBaseUrl') . 'application/tool/interest?' . $str;
$result2 = file_get_contents($url2);
$json2 = json_decode($result2);
......@@ -311,7 +311,7 @@ class Work extends CI_Controller
'clientInfoOutputVO' => $ret->clientInfoOutputVO,
'clientUnitOutputVO' => $ret->clientUnitOutputVO,
'clientContactOutputVOS' => $ret->clientContactOutputVOS,
'applyOrderVO' => $ret->applyOrderVO,
'applyOrderVO' => $ret->orderVO,
'plan'=>$ret2
);
$this->load->view('work/客户确认/客户确认', $data);
......@@ -415,7 +415,7 @@ class Work extends CI_Controller
'clientInfoOutputVO' => $ret->clientInfoOutputVO,
'clientUnitOutputVO' => $ret->clientUnitOutputVO,
'clientContactOutputVOS' => $ret->clientContactOutputVOS,
'applyOrderVO' => $ret->applyOrderVO,
'applyOrderVO' => $ret->orderVO,
'id'=>$id
);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!