| xqd
@@ -82,8 +82,7 @@
|
|
|
<li class="divider"></li>
|
|
|
<li><a href="{{ U('Medical/Order/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');">删除</a></li>
|
|
|
@endif
|
|
|
- <li class="divider"></li>
|
|
|
- <li><a href="javascript:open({{$item->id}});">上传</a></li>
|
|
|
+
|
|
|
</ul>
|
|
|
</div>
|
|
|
@if(role('Medical/Order/view'))
|
| xqd
@@ -114,62 +113,5 @@
|
|
|
|
|
|
|
|
|
</div>
|
|
|
- <div id="modelss" style="width: 100%; height: 100%; background:rgba(0,0,0,0.6); z-index: 10;position: fixed;top:0;display: none">
|
|
|
- <div class="inmodal" id="myModal2" tabindex="1" role="dialog" aria-hidden="true">
|
|
|
- <div class="modal-dialog">
|
|
|
- <div class="modal-content animated flipInY">
|
|
|
- <div class="modal-header">
|
|
|
- <button type="button" class="close" onclick="javascript:
|
|
|
- $('#modelss').css('display','none');"><span >×</span><span class="sr-only">Close</span></button>
|
|
|
- <h4 class="modal-title">上传pdf</h4></div><small class="font-bold">
|
|
|
- <div class="modal-body">
|
|
|
- <div class="ibox float-e-margins">
|
|
|
- <div class="ibox-content">
|
|
|
-
|
|
|
- <form name="form_product" id="form-validation" action="upload" class="form-horizontal form-validation" enctype="multipart/form-data" accept-charset="UTF-8" method="post">
|
|
|
- {{ csrf_field() }}
|
|
|
- <div class="form-group">
|
|
|
- <label class="control-label col-sm-3">pdf</label>
|
|
|
-
|
|
|
- <div class="col-sm-9">
|
|
|
- <input type="file" name="pdf" id="pdf" class="form-control">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <div class="form-group">
|
|
|
- <label class="control-label col-sm-3"> </label>
|
|
|
- <div class="col-sm-9">
|
|
|
- <input type="hidden" class="update_id" name="id" value="">
|
|
|
- <input type="hidden" name="_referer" value="<?php echo urlencode(request()->server('HTTP_REFERER'));?>"/>
|
|
|
- <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>"/>
|
|
|
- <input type="submit" class="btn btn-success" style="margin-right:20px;">
|
|
|
- <input type="reset" class="btn btn-default" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="modal-footer">
|
|
|
- <button type="button" id="close" class="btn btn-white" onclick="javascript:
|
|
|
- $('#modelss').css('display','none');">关闭</button>
|
|
|
- </div>
|
|
|
- </small></div><small class="font-bold">
|
|
|
- </small></div><small class="font-bold">
|
|
|
- </small>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <script>
|
|
|
-
|
|
|
- $('#close').click();
|
|
|
- function open(id) {
|
|
|
- $('.update_id').val(id);
|
|
|
- $('#modelss').css('display','block');
|
|
|
- }
|
|
|
|
|
|
- </script>
|
|
|
@endsection
|