|
@@ -2,7 +2,7 @@
|
|
|
@section('title')录入-临时工申请协调@endsection
|
|
@section('title')录入-临时工申请协调@endsection
|
|
|
|
|
|
|
|
@section('content')
|
|
@section('content')
|
|
|
- <div class="container-fluid" id="list">
|
|
|
|
|
|
|
+ <div class="container-fluid d-none" id="list">
|
|
|
<div class="card col-md-8 offset-md-2">
|
|
<div class="card col-md-8 offset-md-2">
|
|
|
<div class="card-body">
|
|
<div class="card-body">
|
|
|
<!--
|
|
<!--
|
|
@@ -12,21 +12,24 @@
|
|
|
3 临时开放
|
|
3 临时开放
|
|
|
-->
|
|
-->
|
|
|
@can('人事管理')
|
|
@can('人事管理')
|
|
|
- <form v-if="can_create_status === 2" action="{{ route('laborApply.temporaryOpen') }}" method="post" accept-charset="UTF-8">
|
|
|
|
|
- {{ csrf_field() }}
|
|
|
|
|
- {{ method_field('PUT') }}
|
|
|
|
|
- <div class="form-group">
|
|
|
|
|
- <button type="submit" class="btn btn-outline-secondary btn-sm">
|
|
|
|
|
- <i class="far fa-trash-alt"></i> 临时开放
|
|
|
|
|
- </button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </form>
|
|
|
|
|
|
|
+ <form v-if="can_create_status === 2" action="{{ route('laborApply.temporaryOpen') }}" method="post"
|
|
|
|
|
+ accept-charset="UTF-8">
|
|
|
|
|
+ {{ csrf_field() }}
|
|
|
|
|
+ {{ method_field('PUT') }}
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <button type="submit" class="btn btn-outline-secondary btn-sm">
|
|
|
|
|
+ <i class="far fa-trash-alt"></i> 临时开放
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </form>
|
|
|
@endcan
|
|
@endcan
|
|
|
<h2 v-if="can_create_status === 2"
|
|
<h2 v-if="can_create_status === 2"
|
|
|
- style="text-align: center;color: red;font-size: 28px">超过申请时间无法提交申请,联系管理员:152 2169 4191 , 173 1630 6907 </h2>
|
|
|
|
|
|
|
+ style="text-align: center;color: red;font-size: 28px">超过申请时间无法提交申请,联系管理员:152 2169 4191 , 173 1630
|
|
|
|
|
+ 6907 </h2>
|
|
|
<h2 v-if="can_create_status === 3"
|
|
<h2 v-if="can_create_status === 3"
|
|
|
style="text-align: center;color: red;font-size: 28px">系统临时开放,请尽快提交</h2>
|
|
style="text-align: center;color: red;font-size: 28px">系统临时开放,请尽快提交</h2>
|
|
|
- <form v-if="(can_create_status === 1) || (can_create_status === 3)" action="{{ route('laborApply.store') }}" method="POST" accept-charset="UTF-8">
|
|
|
|
|
|
|
+ <form v-if="(can_create_status === 1) || (can_create_status === 3)"
|
|
|
|
|
+ action="{{ route('laborApply.store') }}" method="POST" accept-charset="UTF-8">
|
|
|
@csrf
|
|
@csrf
|
|
|
@include('shared._error')
|
|
@include('shared._error')
|
|
|
{{--仓库--}}
|
|
{{--仓库--}}
|
|
@@ -96,7 +99,7 @@
|
|
|
can_create_status: {!! $can_create_status !!}
|
|
can_create_status: {!! $can_create_status !!}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
-
|
|
|
|
|
|
|
+ $('#list').removeClass('d-none');
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
methods: {}
|
|
methods: {}
|