|
|
@@ -76,7 +76,7 @@
|
|
|
<td><span v-if="laborReport.remark">@{{laborReport.remark}}</span></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
- <table class="table table-striped table-bordered table-hover p-0 d-table d-xl-none" style="background: rgb(255, 255, 255);">
|
|
|
+ <table id="listOnPad" class="table table-striped table-bordered table-hover p-0 d-table d-xl-none" style="background: rgb(255, 255, 255);">
|
|
|
<tr v-for="laborReport in laborReports">
|
|
|
<td style="filter:grayscale(30%);">
|
|
|
<div class="pl-3 mt-1">
|
|
|
@@ -230,6 +230,15 @@
|
|
|
setInterval(reloadOnTomorrow,1000*60*60)
|
|
|
</script>
|
|
|
<script>
|
|
|
+ window.onresize=function (){
|
|
|
+ let $listOnPad = $('#listOnPad');
|
|
|
+ let $headerRoll = $('#headerRoll');
|
|
|
+ if($listOnPad.css('display')!=='none'){
|
|
|
+ $headerRoll.attr('hidden',true)
|
|
|
+ }else{
|
|
|
+ $headerRoll.attr('hidden',false)
|
|
|
+ }
|
|
|
+ }
|
|
|
@if(isset($request))
|
|
|
let request={!! json_encode($request) !!};
|
|
|
@endif
|