enterprise.blade.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. @extends('module.layouts.content')
  2. @push('meta')
  3. @endpush
  4. @push('css')
  5. <link href="{{ theme_asset('app/css/common.css') }}" rel="stylesheet">
  6. <link rel="stylesheet" href="{{ theme_asset('app/css/element.css') }}">
  7. <link href="{{theme_asset('app/css/jobs/jobs.css')}}" rel="stylesheet"/>
  8. <style>
  9. .container{
  10. width:1182px;
  11. margin:0 auto;
  12. }
  13. .enterce{
  14. text-align: center;
  15. }
  16. .search{
  17. text-align: center;
  18. margin-top: 20px;
  19. }
  20. .talent-list{
  21. border: 1px #EEEEEE solid;
  22. margin-top: 10px;
  23. }
  24. .talent-list .talent-item{
  25. border-bottom: 1px #EEEEEE solid;
  26. padding-top: 18px;
  27. padding-bottom: 18px;
  28. background-color: #FFFFFF;
  29. position: relative;
  30. }
  31. .ribbon {
  32. width: 106px;
  33. height: 108px;
  34. overflow: hidden;
  35. position: absolute;
  36. top: -6px;
  37. left: -6px;
  38. }
  39. .ribbon2 {
  40. line-height: 18px;
  41. text-align: center;
  42. transform: rotate(-45deg);
  43. position: relative;
  44. padding: 8px 0;
  45. left: -33px;
  46. top: 26px;
  47. width: 150px;
  48. background: #a19d9d;
  49. color: #fff;
  50. box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  51. letter-spacing: 1px;
  52. }
  53. .ribbon1 {
  54. line-height: 18px;
  55. text-align: center;
  56. transform: rotate(-45deg);
  57. position: relative;
  58. padding: 8px 0;
  59. left: -33px;
  60. top: 26px;
  61. width: 150px;
  62. background: #91F600;
  63. color: #666;
  64. box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  65. letter-spacing: 1px;
  66. }
  67. .talent-list .talent-item .photo {
  68. width: 140px;
  69. float: left;
  70. margin-left: 20px;
  71. }
  72. .talent-list .talent-item .tcent {
  73. float: left;
  74. width: 420px;
  75. }
  76. .talent-list .talent-item .tcent .txt {
  77. font-size: 16px;
  78. color: #333333;
  79. line-height: 40px;
  80. }
  81. .talent-list .talent-item .tcent .txt span {
  82. color: #999999;
  83. padding-left: 3px;
  84. padding-right: 3px;
  85. font-size: 10px;
  86. }
  87. .talent-list .talent-item .rbtn {
  88. float: right;
  89. width: 145px;
  90. position: relative;
  91. margin-top: 15px;
  92. }
  93. .talent-list .talent-item .rbtn .btn {
  94. width: 80px;
  95. height: 38px;
  96. line-height: 38px;
  97. color: #3b87f7;
  98. border: 1px #3b87f7 solid;
  99. border-radius: 6px;
  100. cursor: pointer;
  101. padding: 0 20px;
  102. font-size: 15px;
  103. margin-top: 2px;
  104. text-align: center;
  105. }
  106. .talent-list .talent-item .rbtn:before {
  107. position: absolute;
  108. content: "";
  109. width: 1px;
  110. height: 78px;
  111. background: #e0e0e0;
  112. left: -28px;
  113. bottom: 5px;
  114. top: 10px
  115. }
  116. .page{
  117. margin-top: 20px;
  118. text-align: center;
  119. }
  120. </style>
  121. @endpush
  122. @push('js')
  123. @endpush
  124. @section('content')
  125. <div id="app">
  126. <div class="banner">
  127. <h1 style="text-align: center;line-height: 300px;font-size: 60px;">
  128. 硕博专场
  129. </h1>
  130. </div>
  131. <div class="container" v-loading="loading">
  132. <div class="enterce">
  133. <el-link href="/shuobo/talent" :underline="false"><el-button>找人才</el-button></el-link>
  134. <el-button type="primary">找工作</el-button>
  135. </div>
  136. <div class="search">
  137. <el-form :inline="true" class="demo-form-inline" @submit.native.prevent>
  138. <el-form-item style="margin-bottom: 0" >
  139. <el-input placeholder="公司名/职位名" v-model="keyword" style="width: 300px"></el-input>
  140. </el-form-item>
  141. <el-form-item style="margin-bottom: 0">
  142. <el-button type="primary" @click="getData(1)">查询</el-button>
  143. </el-form-item>
  144. </el-form>
  145. </div>
  146. <div class="plist">
  147. <div class="pl" style="width: 100%">
  148. <div class="listb J_allListBox" style="width: 100%">
  149. <div class="J_jobsList yli" v-for="item in list" style="width: 100%">
  150. <div class="td1"></div>
  151. <div class="td2 link_blue link_visited" style="width: 600px">
  152. <div class="td-j-name" style="max-width: 300px">
  153. @{{ item.job }}
  154. </div>
  155. <div class="td-j-salary" style="max-width: 300px">@{{ item.salary }} </div>
  156. <div class="clear"></div>
  157. </div>
  158. <div class="td3 link_gray6">
  159. @{{ item.company_name }}
  160. <div class="clear"></div>
  161. </div>
  162. <div class="td5" style="text-align: left">@{{ item.edu }}</div>
  163. <div class="clear"></div>
  164. <div class="detail" style="width: 100%">
  165. <div class="ltx" style="width: 100%">
  166. <div class="txt font_gray6">
  167. 年龄:@{{ item.age }}<span>|</span>专业:@{{ item.pro }}<span>|</span>性别:@{{ item.sex }}<span>|</span>招聘人数:@{{ item.number }}
  168. </div>
  169. </div>
  170. <div class="ltx" style="width: 100%">
  171. <div class="txt font_gray6">
  172. 岗位要求:
  173. <p>
  174. @{{ item.detail }}
  175. </p>
  176. </div>
  177. </div>
  178. <div class="ltx" style="width: 100%">
  179. <div class="txt font_gray6">
  180. 联系方式:
  181. <p v-html="item.contact">
  182. </p>
  183. </div>
  184. </div>
  185. <div class="clear"></div>
  186. </div>
  187. </div>
  188. </div>
  189. <div class="page">
  190. <el-pagination
  191. background
  192. layout="prev, pager, next"
  193. :total="total"
  194. @current-change="page_change">
  195. </el-pagination>
  196. </div>
  197. </div>
  198. </div>
  199. <div class="clear"></div>
  200. </div>
  201. </div>
  202. @endsection
  203. @section('script')
  204. <script src="{{theme_asset('app/js/vue.min.js')}}"></script>
  205. <script src="{{theme_asset('app/js/axios.js')}}"></script>
  206. <script src="{{theme_asset('app/js/element.js')}}"></script>
  207. <script>
  208. new Vue({
  209. el: '#app',
  210. data() {
  211. return {
  212. enter: '找工作',
  213. loading:true,
  214. keyword:'',
  215. page_current:1,
  216. total: 0,
  217. list: [],//人才数据
  218. dialogVisible: false,
  219. dialogLogin: false,
  220. login: 0,
  221. redirect_url: "{{ urlencode(route('shuobo.talent'))}}",
  222. number:0,
  223. shuobo_id: 0,
  224. dialogFormVisible: false,
  225. form: {},
  226. formLabelWidth: '120px',
  227. talent_info:[]
  228. };
  229. },
  230. methods: {
  231. getData(page){
  232. axios.post("/shuobo/getShuoboJob",{keyword:this.keyword,page:page}).then(response => {
  233. this.loading = false;
  234. this.list = response.data.list;
  235. this.total = response.data.total;
  236. });
  237. },
  238. page_change(page){
  239. this.getData(page);
  240. },
  241. show(id,type = 0){
  242. if(type == 0){
  243. this.dialogVisible = true;
  244. this.shuobo_id = id;
  245. }else{
  246. this.dialogFormVisible = true;
  247. }
  248. },
  249. update(id){
  250. if(id>0){
  251. axios.post("/shuobo/updateCompanyToShuobo",this.form).then(response => {
  252. if(response.status == 200){
  253. if(response.data.data){
  254. this.number = 0;
  255. this.talent_info = [];
  256. }
  257. this.dialogFormVisible = false;
  258. this.$message(response.data.msg);
  259. window.location.reload();
  260. }
  261. });
  262. }
  263. },
  264. handkeyCode(e){
  265. let key =null;
  266. if(window.event === undefined){
  267. key = e.keyCode;
  268. }else{
  269. key = window.event.keyCode;
  270. }
  271. if(key ===13) {
  272. this.getData(1);
  273. }
  274. },
  275. company_login(){
  276. window.location.href = "{{ route("login.company") }}" + "?redirect_url=" + this.redirect_url
  277. },
  278. choose_talent(id){
  279. this.loading = true;
  280. axios.post("/shuobo/getTalentInfo",{id:this.shuobo_id}).then(response => {
  281. if(response.status == 200){
  282. if(response.data.data != ''){
  283. this.dialogVisible = false;
  284. this.loading = false;
  285. this.dialogFormVisible = true;
  286. this.talent_info = response.data.data;
  287. this.form.id = response.data.data.id;
  288. this.number++;
  289. }else{
  290. this.$message(response.data.msg);
  291. }
  292. }
  293. });
  294. },
  295. },
  296. created(){
  297. this.getData(1);
  298. window.addEventListener('keydown',this.handkeyCode,true);
  299. }
  300. })
  301. </script>
  302. @endsection