|
|
@@ -3,16 +3,8 @@
|
|
|
@section('content')
|
|
|
<div id="page" class="d-none container-fluid">
|
|
|
<div class="card">
|
|
|
- <div class="card-header form-inline">
|
|
|
- <select v-model="paginate" class="form-control form-control-sm" style="max-width: 100px">
|
|
|
- <option value="50">显示50条</option>
|
|
|
- <option value="100">显示100条</option>
|
|
|
- <option value="200">显示200条</option>
|
|
|
- <option value="500">显示500条</option>
|
|
|
- <option value="1000">显示1000条</option>
|
|
|
- </select>
|
|
|
- <button class="btn btn-sm btn-outline-danger ml-2" @click="recover()">恢复</button>
|
|
|
- </div>
|
|
|
+ <div id="form_div"></div>
|
|
|
+ <span ><button class="btn btn-sm btn-outline-danger ml-2" @click="recover()">恢复</button></span>
|
|
|
<div class="card-body">
|
|
|
<table class="table table-hover table-striped text-nowrap table-bordered">
|
|
|
<tr>
|
|
|
@@ -53,7 +45,10 @@
|
|
|
<td class="text-muted">@{{laborReport.enter_at}}</td>
|
|
|
<td>@{{laborReport.checkInAt}}</td>
|
|
|
<td class="text-muted">@{{laborReport.checkOutAt}}</td>
|
|
|
- <td >@{{ laborReport.exit_at }}</td>
|
|
|
+ <td >
|
|
|
+ @{{ laborReport.exit_at }}
|
|
|
+ <span v-if="laborReport.exit_at" class="text-danger">(参考)</span>
|
|
|
+ </td>
|
|
|
<td class="text-muted">@{{laborReport.verifyAt}}</td>
|
|
|
<td class="text-muted"><span v-if="laborReport.verifyPerson">@{{laborReport.verifyPerson}}</span></td>
|
|
|
<td class="text-muted"><span v-if="laborReport.relax_time">@{{laborReport.relax_time}}</span></td>
|
|
|
@@ -71,6 +66,7 @@
|
|
|
@stop
|
|
|
|
|
|
@section('lastScript')
|
|
|
+ <script type="text/javascript" src="{{mix('js/queryForm/queryForm.js')}}"></script>
|
|
|
<script>
|
|
|
new Vue({
|
|
|
el:"#page",
|
|
|
@@ -90,7 +86,9 @@
|
|
|
verifyAt:'{{$laborReport->verify_at}}',groupUserId:'{{$laborReport->group_user_id}}',verifyPerson:'{{$laborReport->user['name']}}',
|
|
|
checkOutAt:'{{$laborReport->check_out_at}}',onlineDuration:'{{$laborReport->online_duration}}',
|
|
|
workingDuration:'{{$laborReport->working_duration}}', created_at:'{{$laborReport->created_at}}',
|
|
|
- enter_at:'{{$laborReport->enter_at}}',exit_at:'{{$laborReport->exit_at}}',
|
|
|
+ @if($laborReport->userDutyCheck)
|
|
|
+ enter_at:'{{$laborReport->userDutyCheck->checked_at}}',@endif
|
|
|
+ exit_at:'{{$laborReport->exit_at}}', checks:'{{$laborReport->checks}}',
|
|
|
thisRecordOnlineTime:'{{$laborReport->thisRecordOnlineTime}}',
|
|
|
thisRecordWorkingTime:'{{$laborReport->thisRecordWorkingTime}}',isAdult:'{{$laborReport->isAdult}}',
|
|
|
sequence:'{{$laborReport->sequence}}',amountOfJoined:'{{$laborReport->amountOfJoined}}',remark:'{{$laborReport->remark}}',
|
|
|
@@ -104,6 +102,16 @@
|
|
|
},
|
|
|
mounted(){
|
|
|
$("#page").removeClass('d-none');
|
|
|
+ let data = [
|
|
|
+ [
|
|
|
+ {name:'name',type:'input',tip:'用户名:可在两侧添加百分号(%)进行模糊搜索',placeholder:'临时工名称'},
|
|
|
+ ]
|
|
|
+ ];
|
|
|
+ this.form = new query({
|
|
|
+ el: '#form_div',
|
|
|
+ condition: data,
|
|
|
+ });
|
|
|
+ this.form.init();
|
|
|
},
|
|
|
methods:{
|
|
|
//全选事件
|