29e50f23 by yangjianbin

init

1 parent f3043a0a
...@@ -112,11 +112,18 @@ class Work extends CI_Controller ...@@ -112,11 +112,18 @@ class Work extends CI_Controller
112 if (!$ret->clientContactOutputVOS) { 112 if (!$ret->clientContactOutputVOS) {
113 $ret->clientContactOutputVOS = array(); 113 $ret->clientContactOutputVOS = array();
114 } 114 }
115
116 $recordUrl = $this->config->item('apiBaseUrl') . 'order/orderOperatorRecord/'.$id;
117 $result2 = file_get_contents($recordUrl);
118 $json2 = json_decode($result2);
119 $ret2 = $json2->data;
120
115 $data = array( 121 $data = array(
116 'clientInfoOutputVO'=>$ret->clientInfoOutputVO, 122 'clientInfoOutputVO'=>$ret->clientInfoOutputVO,
117 'clientUnitOutputVO'=>$ret->clientUnitOutputVO, 123 'clientUnitOutputVO'=>$ret->clientUnitOutputVO,
118 'clientContactOutputVOS'=>$ret->clientContactOutputVOS, 124 'clientContactOutputVOS'=>$ret->clientContactOutputVOS,
119 'applyOrderVO'=>$ret->applyOrderVO 125 'applyOrderVO'=>$ret->applyOrderVO,
126 'operatorRecord'=>$ret2
120 ); 127 );
121 $this->load->view('work/订单详情', $data); 128 $this->load->view('work/订单详情', $data);
122 } 129 }
......
...@@ -33,18 +33,17 @@ ...@@ -33,18 +33,17 @@
33 </tr> 33 </tr>
34 </thead> 34 </thead>
35 <tbody class="text-c"> 35 <tbody class="text-c">
36 <?php foreach ($operatorRecord as $k=>$v):?>
36 <tr> 37 <tr>
37 <td>2018-01-01 00:00:00</td> 38 <td colspan="4"><?=$v ? $v->description : ''?></td>
38 <td>门店人员 - 李四</td>
39 <td class="c-primary">发起进件</td>
40 <td class="c-success">发起成功</td>
41 </tr> 39 </tr>
42 <tr> 40 <?php endforeach; ?>
41 <!--<tr>
43 <td>2018-01-01 00:00:00</td> 42 <td>2018-01-01 00:00:00</td>
44 <td>门店人员 - 李四</td> 43 <td>门店人员 - 李四</td>
45 <td class="c-primary">审查</td> 44 <td class="c-primary">审查</td>
46 <td class="c-warning">不通过</td> 45 <td class="c-warning">不通过</td>
47 </tr> 46 </tr>-->
48 </tbody> 47 </tbody>
49 </table> 48 </table>
50 </div> 49 </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!