GGican пре 8 година
родитељ
комит
ff82ff9f98

+ 36 - 23
resources/views/admin/edit_table/table_eight.blade.php

xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>国有土地上房屋征收与补偿核算单(产权调换)</h3><br>
@@ -373,28 +373,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -510,11 +488,46 @@
                             }
                             $(add).val(re);
                         }
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->

+ 36 - 25
resources/views/admin/edit_table/table_five.blade.php

xqd xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>房屋逾期过渡安置补助费发放单</h3><br>
@@ -155,7 +155,7 @@
                                     </tr>
                                     <tr>
                                         <td><p>发证单位审核意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="2"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                         <td><p>征收实施单位审批意见</p></td>
                                         <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
@@ -167,28 +167,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -248,12 +226,45 @@
                         }).on('changeDate',function(){
                             $(".datetimepicker").hide();
                         });
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
-
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
         </section>
         <!-- /.content -->
     </div>

+ 41 - 27
resources/views/admin/edit_table/table_four.blade.php

xqd xqd xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>海勃湾区房屋征收提前搬迁奖励单</h3><br>
@@ -117,8 +117,10 @@
                                     </tr>
                                     <tr>
                                         <td rowspan="2">征收实施单位<textarea name="zc" style="width: 90%;height: 200px;">{{ $table->zc }}</textarea></td>
-                                        <td colspan="2">被征收人<input name="bzc" value="{{ $table->bzc }}" class="form-control" type="text" placeholder=""></td>
-                                        <td colspan="2">代理人<input name="daili" value="{{ $table->daili }}" class="form-control" type="text" placeholder=""></td>
+                                        <td>被征收人</td>
+                                        <td><input name="bzc" value="{{ $table->bzc }}" class="form-control" type="text" placeholder=""></td>
+                                        <td>代理人</td>
+                                        <td><input name="daili" value="{{ $table->daili }}" class="form-control" type="text" placeholder=""></td>
                                     </tr>
                                     <tr>
                                         <td>签约时间</td>
@@ -126,9 +128,9 @@
                                     </tr>
                                     <tr>
                                         <td><p>发证单位审核意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="2"><p style="margin-top: 30%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                         <td><p>征收实施单位审批意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="3"><p style="margin-top: 30%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
                                     </tbody>
                                 </table>
@@ -138,28 +140,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -219,11 +199,45 @@
                         }).on('changeDate',function(){
                             $(".datetimepicker").hide();
                         });
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->

+ 36 - 25
resources/views/admin/edit_table/table_nine.blade.php

xqd xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>国有土地上房屋征收与补偿核算单(货币补偿)</h3><br>
@@ -329,7 +329,7 @@
                                         <td><p>发证单位审核意见</p></td>
                                         <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                         <td><p>征收实施单位审批意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="4"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
                                     </tbody>
                                 </table>
@@ -340,28 +340,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -424,12 +402,45 @@
                             }
                             $(add).val(re);
                         }
-
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->

+ 35 - 25
resources/views/admin/edit_table/table_one.blade.php

xqd xqd xqd
@@ -53,7 +53,7 @@
 
             </div>
             <!-- /.box-header -->
-            <div class="box-body">
+            <div class="box-body" id="print">
                 {{--content--}}
                 <div class="row" style="text-align: center">
                     <h3>国有土地房屋征收与补偿安置单(货币化安置)</h3><br>
@@ -178,29 +178,6 @@
                                 <div class="col-sm-4">复核:<input disabled value="{{ $table->fuhe }}" style="display: inline" class="form-control" type="text" placeholder=""></div>
                                 <div class="col-sm-8">提交说明 : <label id="sub_description">{{ $table->sub_description }}</label></div>
                             </div>
-                            <div class="row">
-                                <div class="col-sm-8"></div>
-                                <div class="col-sm-4">
-                                    @if($table->status == null  || $table->status<3)
-                                        @if($user->role == 0 && $table->status == 0)
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                                保存</button>
-                                        @endif
-                                        @if($user->role == $table->status)
-                                            @if($table->status == 0)
-                                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                            @else
-                                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                    提交</button>
-                                            @endif
-                                        @endif
-                                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                    @else
-                                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                    @endif
-                                </div>
-                            </div>
-
                         </div>
                     </div>
                 </div>
@@ -259,13 +236,46 @@
 
                             $('#total_money_2').val(re);
                         });
-
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
     </form>
             </div>
             <!-- /.box-body -->
         </div>
         <!-- /.box -->
+        <div class="row">
+            <div class="col-sm-8"></div>
+            <div class="col-sm-4">
+                @if($table->status == null  || $table->status<3)
+                    @if($user->role == 0 && $table->status == 0)
+                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                            保存</button>
+                    @endif
+                    @if($user->role == $table->status)
+                        @if($table->status == 0)
+                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                        @else
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                提交</button>
+                        @endif
+                    @endif
+                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                @else
+                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                    <a onclick="printed('print')" class="btn btn-success">打印</a>
+                @endif
+            </div>
+        </div>
 
     </section>
     <!-- /.content -->

+ 38 - 25
resources/views/admin/edit_table/table_seven.blade.php

xqd xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>国有土地上房屋征收与补偿核算单(货币化安置)</h3><br>
@@ -299,9 +299,9 @@
                                     </tr>
                                     <tr>
                                         <td><p>发证单位审核意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="3"><p style="margin-top: 40%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                         <td><p>征收实施单位审批意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="4"><p style="margin-top: 40%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
                                     </tbody>
                                 </table>
@@ -311,28 +311,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -398,11 +376,46 @@
                             }
                             $(add).val(re);
                         }
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
+
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->

+ 36 - 36
resources/views/admin/edit_table/table_six.blade.php

xqd xqd xqd xqd
@@ -132,9 +132,9 @@
                                     </tr>
                                     <tr>
                                         <td><p>发证单位审核意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td ><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                         <td><p>征收实施单位审批意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="2"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
                                     </tbody>
                                 </table>
@@ -144,29 +144,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                    <a onclick="printed('print')" class="btn btn-success">打印</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -220,17 +197,6 @@
                             $('#totalj2').val(re);
                         });
 
-                        function printed(printpage)
-                        {
-                            var headstr = "<html><head><title></title></head><body>";
-                            var footstr = "</body>";
-                            var newstr = document.all.item(printpage).innerHTML;
-                            var oldstr = document.body.innerHTML;
-                            document.body.innerHTML = headstr+newstr+footstr;
-                            window.print();
-                            document.body.innerHTML = oldstr;
-                            return false;
-                        }
                         $(".form_datetime").datetimepicker({
                             language: 'zh',
                             format: 'yyyy年mm月dd日',
@@ -268,11 +234,45 @@
 
                             $('#totalj1').val(re);
                         }
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->

+ 40 - 29
resources/views/admin/edit_table/table_three.blade.php

xqd xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>海勃湾区残疾人房屋征收补贴审批确认单</h3><br>
@@ -145,12 +145,10 @@
                                         <td colspan="2"><input name="total" id="total1"  value="{{ $table->total }}"class="form-control" type="text"></td>
                                     </tr>
                                     <tr>
-                                        <td>发证单位审核意见</td>
-                                        <td colspan="2"><textarea name="fazheng"  style="width: 80%;height: 200px;" placeholder="盖章">{{ $table->fazheng }}</textarea>
-                                        <br>时 间:<input readonly id="fazheng_time" name="fazheng_time" value="{{ $table->fazheng_time }}" class="form-control timepicker" type="text" placeholder=""></td>
-                                        <td>征收实施单位审批意见</td>
-                                        <td colspan="2"><textarea name="zc" style="width: 80%;height: 200px;" placeholder="盖章">{{ $table->zc }}</textarea>
-                                        <br>时 间:<input readonly id="zc_time" name="zc_time" value="{{ $table->zc_time }}" class="form-control timepicker" type="text" placeholder=""></td>
+                                        <td><p>发证单位审核意见</p></td>
+                                        <td colspan="2"><p style="margin-top: 35%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td><p>征收实施单位审批意见</p></td>
+                                        <td colspan="3"><p style="margin-top: 35%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
                                     </tbody>
                                 </table>
@@ -160,28 +158,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -240,11 +216,46 @@
                         }).on('changeDate',function(){
                             $(".datetimepicker").hide();
                         });
+
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->

+ 37 - 25
resources/views/admin/edit_table/table_two.blade.php

xqd xqd xqd xqd
@@ -50,7 +50,7 @@
 
                 </div>
                 <!-- /.box-header -->
-                <div class="box-body">
+                <div class="box-body" id="print">
                     {{--content--}}
                     <div class="row" style="text-align: center">
                         <h3>违章建筑自行拆除费用申领表</h3><br>
@@ -138,9 +138,9 @@
                                     </tr>
                                     <tr>
                                         <td><p>发证单位审核意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="2"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                         <td><p>征收实施单位审批意见</p></td>
-                                        <td colspan="3"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
+                                        <td colspan="2"><p style="margin-top: 50%;text-align: center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp;&nbsp;月 &nbsp;&nbsp;&nbsp;&nbsp;日</p></td>
                                     </tr>
                                     </tbody>
                                 </table>
@@ -150,28 +150,6 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="row">
-                            <div class="col-sm-8"></div>
-                            <div class="col-sm-4">
-                                @if($table->status == null  || $table->status<3)
-                                    @if($user->role == 0 && $table->status == 0)
-                                        <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
-                                            保存</button>
-                                    @endif
-                                    @if($user->role == $table->status)
-                                        @if($table->status == 0)
-                                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
-                                        @else
-                                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
-                                                提交</button>
-                                        @endif
-                                    @endif
-                                    <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
-                                @else
-                                    <a href="{{ url('/') }}" class="btn btn-info">返回</a>
-                                @endif
-                            </div>
-                        </div>
                     </div>
 
                         {{--model--}}
@@ -229,11 +207,45 @@
                         }).on('changeDate',function(){
                             $(".datetimepicker").hide();
                         });
+                        function printed(printpage)
+                        {
+                            var headstr = "<html><head><title></title></head><body>";
+                            var footstr = "</body>";
+                            var newstr = document.all.item(printpage).innerHTML;
+                            var oldstr = document.body.innerHTML;
+                            document.body.innerHTML = headstr+newstr+footstr;
+                            window.print();
+                            document.body.innerHTML = oldstr;
+                            return false;
+                        }
                     </script>
                 </div>
                 <!-- /.box-body -->
             </div>
             <!-- /.box -->
+            <div class="row">
+                <div class="col-sm-8"></div>
+                <div class="col-sm-4">
+                    @if($table->status == null  || $table->status<3)
+                        @if($user->role == 0 && $table->status == 0)
+                            <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/save/'.$table_id.'/update') }}'" class="btn btn-success">
+                                保存</button>
+                        @endif
+                        @if($user->role == $table->status)
+                            @if($table->status == 0)
+                                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">提交</button>
+                            @else
+                                <button id="sub" type="submit" onclick="javascript:this.form.action='{{ url('/table/sub/'.$table_id) }}'" class="btn btn-primary">
+                                    提交</button>
+                            @endif
+                        @endif
+                        <a href="{{ url('/on_table') }}" class="btn btn-info">返回</a>
+                    @else
+                        <a href="{{ url('/') }}" class="btn btn-info">返回</a>
+                        <a onclick="printed('print')" class="btn btn-success">打印</a>
+                    @endif
+                </div>
+            </div>
 
         </section>
         <!-- /.content -->