recruit.blade.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. @extends('module.layouts.person')
  2. @push('meta')
  3. @endpush
  4. @push('css')
  5. <link href="{{ theme_asset('app/css/person/common.css') }}" rel="stylesheet">
  6. <link href="{{ theme_asset('app/css/person/personal_job.css') }}" rel="stylesheet">
  7. <link href="{{theme_asset('app/css/element.css')}}" rel="stylesheet" type="text/css"/>
  8. <style>
  9. table,table tr th, table tr td { border:1px solid #ccc; padding: 0 7px}
  10. table { width: 100%; min-height: 25px; line-height: 25px; text-align: center; border-collapse: collapse; padding:2px;}
  11. .el-form-item{
  12. margin-bottom: 0;
  13. }
  14. .require{
  15. color: #f56c6c;
  16. }
  17. .avatar-uploader{
  18. padding: 15px;
  19. }
  20. .avatar-uploader .el-upload {
  21. border: 1px dashed #d9d9d9;
  22. border-radius: 6px;
  23. cursor: pointer;
  24. position: relative;
  25. overflow: hidden;
  26. display: inline-block;
  27. vertical-align: middle;
  28. }
  29. .avatar-uploader .el-upload:hover {
  30. border-color: #409EFF;
  31. }
  32. .avatar-uploader-icon {
  33. font-size: 28px;
  34. color: #8c939d;
  35. width: 178px;
  36. height: 178px;
  37. line-height: 178px;
  38. text-align: center;
  39. }
  40. .avatar {
  41. width: 178px;
  42. height: 178px;
  43. display: block;
  44. }
  45. .ticket{
  46. border:3px solid #000;
  47. padding:10px;
  48. }
  49. .ticket h2{
  50. text-align:center;
  51. font:normal 20px/40px "microsoft yahei";
  52. }
  53. .ticket h3{
  54. text-align:center;
  55. font:normal 24px/30px "microsoft yahei";
  56. }
  57. .ex_rule{
  58. margin-top: 20px;
  59. }
  60. .ex_rule h4{
  61. font-size: 20px;
  62. line-height:50px;
  63. }
  64. .ex_rule p{
  65. text-indent: 30px;
  66. line-height: 25px;
  67. }
  68. .ticket .item{
  69. line-height: 30px;
  70. }
  71. @page {
  72. size: auto A4 landscape;
  73. margin: 3mm; /* this affects the margin in the printer settings */
  74. }
  75. </style>
  76. @endpush
  77. @section('content')
  78. <div class="user_main">
  79. @include('module.section.person_left')
  80. <div class="mainbox">
  81. <!--职位切换卡 -->
  82. <div class="tab">
  83. <a class="li select">我的应招</a>
  84. <a class="li J_hoverbut" href="{{ url('person/recruitInfo') }}">更新信息</a>
  85. <div class="clear"></div>
  86. </div>
  87. <!--切换卡结束 -->
  88. <div class="userprofile J_focus" id="vue">
  89. <div style="width: 100%">
  90. <div class="interview_list_th">
  91. <div class="th1" style="width:300px;">招考场次</div>
  92. <div class="th2" style="width:200px;">申请岗位</div>
  93. <div class="th2" style="width:100px;">
  94. 状态
  95. </div>
  96. <div class="clear"></div>
  97. </div>
  98. @if($total)
  99. @foreach($list as $key=>$val)
  100. <div class="interview_list J_hoverbut">
  101. <div class="td1" style="width:300px;">&nbsp;<span>{{ $val->recruit_name }}</span></div>
  102. <div class="th2" style="width:200px;">{{ $val->code }}{{ $val->name }}</div>
  103. <div class="td2" style="width:100px;">&nbsp; @if($val->audit == 3) 已通过 @else 未通过 @endif</div>
  104. <div class="clear"></div>
  105. </div>
  106. @endforeach
  107. @else
  108. <div class="res_empty link_blue">
  109. 目前没有报考记录!
  110. </div>
  111. @endif
  112. </div>
  113. </div>
  114. </div>
  115. <div class="clear"></div>
  116. </div>
  117. @endsection
  118. @section('script')
  119. <script src="{{theme_asset('app/js/vue.min.js')}}"></script>
  120. <script src="{{theme_asset('app/js/element.js')}}"></script>
  121. <script>
  122. new Vue({
  123. el: '#vue',
  124. data: function() {
  125. return {
  126. error: 0,
  127. info: 0,
  128. success: 1,
  129. error_msg: 'sfsdf',
  130. user:[],
  131. rules: '',
  132. init: 0,
  133. upload: '',
  134. post_data:[],
  135. }
  136. },
  137. methods: {
  138. beforeImageUpload(file) {
  139. const isJPG = (file.type === 'image/jpeg' || file.type === 'image/png');
  140. const isLt2M = file.size / 1024 / 1024 < 2;
  141. if (!isJPG) {
  142. this.$message.error('上传图片只能是 JPG、PNG 格式!');
  143. }
  144. if (!isLt2M) {
  145. this.$message.error('上传图片大小不能超过 2MB!');
  146. }
  147. return isJPG && isLt2M;
  148. },
  149. handleFrontCardSuccess(res, file){
  150. },
  151. handleBackCardSuccess(res, file){
  152. }
  153. }
  154. })
  155. </script>
  156. @endsection