Merge remote-tracking branch 'origin/develop' into develop
Showing
2 changed files
with
23 additions
and
16 deletions
| ... | @@ -214,6 +214,11 @@ class Work extends CI_Controller | ... | @@ -214,6 +214,11 @@ class Work extends CI_Controller |
| 214 | $this->load->view('work/审批/网查筛选', $data); | 214 | $this->load->view('work/审批/网查筛选', $data); |
| 215 | break; | 215 | break; |
| 216 | case 8: | 216 | case 8: |
| 217 | $url = $this->config->item('apiBaseUrl') . 'audit/phoneAudit/record/' . $id; | ||
| 218 | $result = file_get_contents($url); | ||
| 219 | $json = json_decode($result); | ||
| 220 | $ret = $json->data; | ||
| 221 | $data['record'] = $ret; | ||
| 217 | $this->load->view('work/审批/电核', $data); | 222 | $this->load->view('work/审批/电核', $data); |
| 218 | break; | 223 | break; |
| 219 | case 9: | 224 | case 9: |
| ... | @@ -231,9 +236,10 @@ class Work extends CI_Controller | ... | @@ -231,9 +236,10 @@ class Work extends CI_Controller |
| 231 | } | 236 | } |
| 232 | } | 237 | } |
| 233 | 238 | ||
| 234 | public function telAdd() | 239 | public function telAdd($id) |
| 235 | { | 240 | { |
| 236 | $this->load->view('work/审批/电核添加'); | 241 | $data = array('id'=>$id); |
| 242 | $this->load->view('work/审批/电核添加', $data); | ||
| 237 | } | 243 | } |
| 238 | 244 | ||
| 239 | public function telRefuse() | 245 | public function telRefuse() | ... | ... |
| ... | @@ -38,26 +38,29 @@ | ... | @@ -38,26 +38,29 @@ |
| 38 | <th>是否拨通</th> | 38 | <th>是否拨通</th> |
| 39 | <th>电核人</th> | 39 | <th>电核人</th> |
| 40 | <th>备注</th> | 40 | <th>备注</th> |
| 41 | <th width="70px">操作</th> | 41 | <!-- <th width="70px">操作</th>--> |
| 42 | </tr> | 42 | </tr> |
| 43 | </thead> | 43 | </thead> |
| 44 | <tbody class="text-c"> | 44 | <tbody class="text-c"> |
| 45 | <tr> | 45 | <?php |
| 46 | <td>1</td> | 46 | ?> |
| 47 | <td>2018-01-01 00:00:00</td> | 47 | <?php foreach ($record as $k=>$v):?> |
| 48 | <td>是</td> | 48 | <tr> |
| 49 | <td>张三</td> | 49 | <td><?=$v->id?></td> |
| 50 | <td>备注</td> | 50 | <td><?=$v->phoneAuditTime?></td> |
| 51 | <td><a href="javascript:add();"><i class="Hui-iconfont"></i> 编辑<a></td> | 51 | <td><?=$v->hasPutThrough ? '是' : '否'?></td> |
| 52 | </tr> | 52 | <td><?=$v->phoneAuditEmployee?></td> |
| 53 | <tr> | 53 | <td><?=$v->remark?></td> |
| 54 | </tr> | ||
| 55 | <?php endforeach;?> | ||
| 56 | <!--<tr> | ||
| 54 | <td>1</td> | 57 | <td>1</td> |
| 55 | <td>2018-01-01 00:00:00</td> | 58 | <td>2018-01-01 00:00:00</td> |
| 56 | <td>是</td> | 59 | <td>是</td> |
| 57 | <td>张三</td> | 60 | <td>张三</td> |
| 58 | <td>备注</td> | 61 | <td>备注</td> |
| 59 | <td><a href="javascript:add();"><i class="Hui-iconfont"></i> 编辑<a></td> | 62 | <td><a href="javascript:add();"><i class="Hui-iconfont"></i> 编辑<a></td> |
| 60 | </tr> | 63 | </tr>--> |
| 61 | </tbody> | 64 | </tbody> |
| 62 | </table> | 65 | </table> |
| 63 | </div> | 66 | </div> |
| ... | @@ -94,7 +97,7 @@ | ... | @@ -94,7 +97,7 @@ |
| 94 | title: '电核记录', | 97 | title: '电核记录', |
| 95 | shadeClose: true, | 98 | shadeClose: true, |
| 96 | area: ['800px', '400px'], | 99 | area: ['800px', '400px'], |
| 97 | content: '<?=site_url('work/telAdd')?>' | 100 | content: '<?=site_url('work/telAdd/'.$id)?>' |
| 98 | }); | 101 | }); |
| 99 | } | 102 | } |
| 100 | 103 | ||
| ... | @@ -135,9 +138,7 @@ | ... | @@ -135,9 +138,7 @@ |
| 135 | error: function () { | 138 | error: function () { |
| 136 | layer.alert("操作失败") | 139 | layer.alert("操作失败") |
| 137 | } | 140 | } |
| 138 | |||
| 139 | }) | 141 | }) |
| 140 | |||
| 141 | } | 142 | } |
| 142 | </script> | 143 | </script> |
| 143 | </body> | 144 | </body> | ... | ... |
-
Please register or sign in to post a comment