29e50f23 by yangjianbin

init

1 parent f3043a0a
......@@ -112,11 +112,18 @@ class Work extends CI_Controller
if (!$ret->clientContactOutputVOS) {
$ret->clientContactOutputVOS = array();
}
$recordUrl = $this->config->item('apiBaseUrl') . 'order/orderOperatorRecord/'.$id;
$result2 = file_get_contents($recordUrl);
$json2 = json_decode($result2);
$ret2 = $json2->data;
$data = array(
'clientInfoOutputVO'=>$ret->clientInfoOutputVO,
'clientUnitOutputVO'=>$ret->clientUnitOutputVO,
'clientContactOutputVOS'=>$ret->clientContactOutputVOS,
'applyOrderVO'=>$ret->applyOrderVO
'applyOrderVO'=>$ret->applyOrderVO,
'operatorRecord'=>$ret2
);
$this->load->view('work/订单详情', $data);
}
......
......@@ -33,18 +33,17 @@
</tr>
</thead>
<tbody class="text-c">
<?php foreach ($operatorRecord as $k=>$v):?>
<tr>
<td>2018-01-01 00:00:00</td>
<td>门店人员 - 李四</td>
<td class="c-primary">发起进件</td>
<td class="c-success">发起成功</td>
<td colspan="4"><?=$v ? $v->description : ''?></td>
</tr>
<tr>
<?php endforeach; ?>
<!--<tr>
<td>2018-01-01 00:00:00</td>
<td>门店人员 - 李四</td>
<td class="c-primary">审查</td>
<td class="c-warning">不通过</td>
</tr>
</tr>-->
</tbody>
</table>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!