ac57faf4 by wang

Merge remote-tracking branch 'origin/develop' into develop

2 parents 5aa1e63c 3bd938b3
...@@ -352,6 +352,24 @@ class Work extends CI_Controller ...@@ -352,6 +352,24 @@ class Work extends CI_Controller
352 352
353 public function inquiry ($id) 353 public function inquiry ($id)
354 { 354 {
355 $url = $this->config->item('apiBaseUrl') . 'order/detail/' . $id;
356 $result = file_get_contents($url);
357 $json = json_decode($result);
358 $ret = $json->data;
359 if (!$ret->clientUnitOutputVO) {
360 $ret->clientUnitOutputVO = array();
361 }
362 if (!$ret->clientContactOutputVOS) {
363 $ret->clientContactOutputVOS = array();
364 }
365
366 $data = array(
367 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
368 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
369 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
370 'applyOrderVO' => $ret->applyOrderVO
371 );
372
355 $this->load->view('/work/尽调报告/index', compact('id')); 373 $this->load->view('/work/尽调报告/index', compact('id'));
356 } 374 }
357 } 375 }
......
...@@ -3,9 +3,13 @@ ...@@ -3,9 +3,13 @@
3 <body> 3 <body>
4 <div class="cl pd-5 bg-1"> 4 <div class="cl pd-5 bg-1">
5 <span class="l"> 5 <span class="l">
6
7 <?php if($applyOrderVO->status == 4): ?>
6 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/6/'.$id)?>', '录入信用报告');">录入信用报告</button> 8 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/6/'.$id)?>', '录入信用报告');">录入信用报告</button>
7 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/7/'.$id)?>', '网查筛查');">网查筛查</button> 9 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/7/'.$id)?>', '网查筛查');">网查筛查</button>
8 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/8/'.$id)?>', '电核');">电核</button> 10 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/8/'.$id)?>', '电核');">电核</button>
11 <?php endif;?>
12
9 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/9/'.$id)?>', '受理意见');">受理意见</button> 13 <button class="btn btn-primary radius" onclick="loadIframe('<?=site_url('work/check/9/'.$id)?>', '受理意见');">受理意见</button>
10 </span> 14 </span>
11 <span class="r"> 15 <span class="r">
......
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
8 </div> 8 </div>
9 9
10 <div class="tabCon"> 10 <div class="tabCon">
11 <?php $this->load->view('work/尽调报告/打工'); ?> 11 <?php
12 <!-- <?php $this->load->view('work/尽调报告/法人'); ?> --> 12 if($clientUnitInputVO->jobType == 1){ //打工类
13 $this->load->view('work/尽调报告/打工');
14 } else { // 经营类
15 $this->load->view('work/尽调报告/法人');
16 }
17 ?>
13 </div> 18 </div>
14 19
15 <div class="tabCon"> 20 <div class="tabCon">
......
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
215 <div class="panel-header">单位信息</div> 215 <div class="panel-header">单位信息</div>
216 <div class="panel-body"> 216 <div class="panel-body">
217 <div class="row cl"> 217 <div class="row cl">
218 <input type="hidden" class="form-control input-text" name="clientInfoInputVO.userId" value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->id: '' ?>"> 218 <input type="hidden" class="form-control input-text" name="clientInfoInputVO.id" value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->id: '' ?>">
219 <div class="form-group col-sm-3 col-md-2"> 219 <div class="form-group col-sm-3 col-md-2">
220 <label>单位名称</label> 220 <label>单位名称</label>
221 <input type="text" class="form-control input-text" name="clientUnitInputVO.unitName" 221 <input type="text" class="form-control input-text" name="clientUnitInputVO.unitName"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!