aaf68b32 by yangjianbin

init

1 parent a2141f1c
...@@ -121,7 +121,7 @@ class Work extends CI_Controller ...@@ -121,7 +121,7 @@ class Work extends CI_Controller
121 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 121 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
122 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 122 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
123 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 123 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
124 'applyOrderVO' => $ret->applyOrderVO, 124 'applyOrderVO' => $ret->orderVO,
125 'operatorRecord' => $ret2 125 'operatorRecord' => $ret2
126 ); 126 );
127 $this->load->view('work/订单详情', $data); 127 $this->load->view('work/订单详情', $data);
...@@ -152,7 +152,7 @@ class Work extends CI_Controller ...@@ -152,7 +152,7 @@ class Work extends CI_Controller
152 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 152 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
153 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 153 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
154 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 154 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
155 'applyOrderVO' => $ret->applyOrderVO, 155 'applyOrderVO' => $ret->orderVO,
156 'operatorRecord' => $ret2, 156 'operatorRecord' => $ret2,
157 'id' => $id 157 'id' => $id
158 ); 158 );
...@@ -179,8 +179,8 @@ class Work extends CI_Controller ...@@ -179,8 +179,8 @@ class Work extends CI_Controller
179 if (!$ret->clientContactOutputVOS) { 179 if (!$ret->clientContactOutputVOS) {
180 $ret->clientContactOutputVOS = array(); 180 $ret->clientContactOutputVOS = array();
181 } 181 }
182 if (!$ret->applyOrderVO) { 182 if (!$ret->orderVO) {
183 $ret->applyOrderVO = array(); 183 $ret->orderVO = array();
184 } 184 }
185 185
186 $url2 = $this->config->item('apiBaseUrl') . 'audit/creditReport/' . $id; 186 $url2 = $this->config->item('apiBaseUrl') . 'audit/creditReport/' . $id;
...@@ -202,7 +202,7 @@ class Work extends CI_Controller ...@@ -202,7 +202,7 @@ class Work extends CI_Controller
202 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 202 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
203 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 203 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
204 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 204 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
205 'applyOrderVO' => $ret->applyOrderVO, 205 'applyOrderVO' => $ret->orderVO,
206 'credit'=> $credit,//信用报告 206 'credit'=> $credit,//信用报告
207 'id' => $id, 207 'id' => $id,
208 'dueDiligence'=>$dueDiligence //尽调报告 208 'dueDiligence'=>$dueDiligence //尽调报告
...@@ -227,10 +227,10 @@ class Work extends CI_Controller ...@@ -227,10 +227,10 @@ class Work extends CI_Controller
227 $this->load->view('work/审批/交易记录', $data); 227 $this->load->view('work/审批/交易记录', $data);
228 break; 228 break;
229 case 6: 229 case 6:
230 if($ret->applyOrderVO->status == 4){ 230 if($ret->orderVO->status == 4){
231 $this->load->view('work/审批/录入信用报告', $data); 231 $this->load->view('work/审批/录入信用报告', $data);
232 } else{ 232 } else{
233 if($ret->applyOrderVO->status == 6){ 233 if($ret->orderVO->status == 6){
234 //查询初审结果,复审结果 234 //查询初审结果,复审结果
235 $getFirstCheckUrl = $this->config->item('apiBaseUrl') . 'flow/getFirstCheck/' . $id; 235 $getFirstCheckUrl = $this->config->item('apiBaseUrl') . 'flow/getFirstCheck/' . $id;
236 $getFirstCheckResult = file_get_contents($getFirstCheckUrl); 236 $getFirstCheckResult = file_get_contents($getFirstCheckUrl);
...@@ -300,7 +300,7 @@ class Work extends CI_Controller ...@@ -300,7 +300,7 @@ class Work extends CI_Controller
300 $ret->clientContactOutputVOS = array(); 300 $ret->clientContactOutputVOS = array();
301 } 301 }
302 //查询还款计划表 302 //查询还款计划表
303 $str = 'borrowAmount=' . $ret->applyOrderVO->applyMoney . '&productId=' . $ret->applyOrderVO->productId . '&loanDeadline=' . $ret->applyOrderVO->deadline; 303 $str = 'borrowAmount=' . $ret->orderVO->agreeMoney . '&productId=' . $ret->orderVO->productId . '&loanDeadline=' . $ret->orderVO->deadline;
304 $url2 = $this->config->item('apiBaseUrl') . 'application/tool/interest?' . $str; 304 $url2 = $this->config->item('apiBaseUrl') . 'application/tool/interest?' . $str;
305 $result2 = file_get_contents($url2); 305 $result2 = file_get_contents($url2);
306 $json2 = json_decode($result2); 306 $json2 = json_decode($result2);
...@@ -311,7 +311,7 @@ class Work extends CI_Controller ...@@ -311,7 +311,7 @@ class Work extends CI_Controller
311 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 311 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
312 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 312 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
313 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 313 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
314 'applyOrderVO' => $ret->applyOrderVO, 314 'applyOrderVO' => $ret->orderVO,
315 'plan'=>$ret2 315 'plan'=>$ret2
316 ); 316 );
317 $this->load->view('work/客户确认/客户确认', $data); 317 $this->load->view('work/客户确认/客户确认', $data);
...@@ -415,7 +415,7 @@ class Work extends CI_Controller ...@@ -415,7 +415,7 @@ class Work extends CI_Controller
415 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 415 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
416 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 416 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
417 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 417 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
418 'applyOrderVO' => $ret->applyOrderVO, 418 'applyOrderVO' => $ret->orderVO,
419 'id'=>$id 419 'id'=>$id
420 ); 420 );
421 421
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!