init
Showing
3 changed files
with
5 additions
and
3 deletions
| ... | @@ -152,7 +152,8 @@ class Work extends CI_Controller | ... | @@ -152,7 +152,8 @@ class Work extends CI_Controller |
| 152 | 'clientUnitOutputVO'=>$ret->clientUnitOutputVO, | 152 | 'clientUnitOutputVO'=>$ret->clientUnitOutputVO, |
| 153 | 'clientContactOutputVOS'=>$ret->clientContactOutputVOS, | 153 | 'clientContactOutputVOS'=>$ret->clientContactOutputVOS, |
| 154 | 'applyOrderVO'=>$ret->applyOrderVO, | 154 | 'applyOrderVO'=>$ret->applyOrderVO, |
| 155 | 'operatorRecord'=>$ret2 | 155 | 'operatorRecord'=>$ret2, |
| 156 | 'id'=>$id | ||
| 156 | ); | 157 | ); |
| 157 | // var_dump($data);exit; | 158 | // var_dump($data);exit; |
| 158 | $this->load->view('work/资料/资料补录', $data); | 159 | $this->load->view('work/资料/资料补录', $data); | ... | ... |
| 1 | <input type="hidden" name="orderId" value="<?=isset($id) ? $id : ''?>"> | ||
| 1 | <div class="panel panel-default mb-20"> | 2 | <div class="panel panel-default mb-20"> |
| 2 | <div class="panel-header">上传图片</div> | 3 | <div class="panel-header">上传图片</div> |
| 3 | <div class="panel-body"> | 4 | <div class="panel-body"> |
| ... | @@ -5,7 +6,7 @@ | ... | @@ -5,7 +6,7 @@ |
| 5 | <div class="form-group col-sm-3 col-md-2"> | 6 | <div class="form-group col-sm-3 col-md-2"> |
| 6 | <label>资料上传</label> | 7 | <label>资料上传</label> |
| 7 | <span class="form-control select-box"> | 8 | <span class="form-control select-box"> |
| 8 | <select class="select uploader" size="1" id="upload"> | 9 | <select class="select uploader" size="1" name="sourceType" id="upload"> |
| 9 | <?php foreach ($this->session->sourceBaseType as $k=>$v):?> | 10 | <?php foreach ($this->session->sourceBaseType as $k=>$v):?> |
| 10 | <option value="<?=$v->code?>"><?=$v->desc?></option> | 11 | <option value="<?=$v->code?>"><?=$v->desc?></option> |
| 11 | <?php if($v->children && !empty($v->children)):?> | 12 | <?php if($v->children && !empty($v->children)):?> | ... | ... |
| ... | @@ -12,7 +12,7 @@ jQuery(function() { | ... | @@ -12,7 +12,7 @@ jQuery(function() { |
| 12 | auto: true, | 12 | auto: true, |
| 13 | 13 | ||
| 14 | // 文件接收服务端。 | 14 | // 文件接收服务端。 |
| 15 | server: 'http://151.28ms.com:8088/order/ordersource/baseUpload?type=' + $('#upload').val(), | 15 | server: 'http://151.28ms.com:8088/order/ordersource/baseUpload?type=' + $('#upload').val() + '&orderId=' + $('#orderId').val(), |
| 16 | 16 | ||
| 17 | // 选择文件的按钮。可选。 | 17 | // 选择文件的按钮。可选。 |
| 18 | // 内部根据当前运行是创建,可能是input元素,也可能是flash. | 18 | // 内部根据当前运行是创建,可能是input元素,也可能是flash. | ... | ... |
-
Please register or sign in to post a comment