今天进行公司部分的求职人求职信息管理
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>公司消息</title>
<style>
.el-header {
background-color: #d2d5e0;
color: #333;
line-height: 60px;
}
.el-aside {
color: #333;
}
a{
text-decoration: none;/*取消下划线*/
color: black;
scroll-behavior: smooth;
}
</style>
</head>
<body>
<div id="peoInformation">
<el-container style="height: 700px; border: 1px solid #eee">
<el-header style=" font-size: 12px">
<span style="font-size: 30px ;color: black">智能简历检索系统</span>
<span style="margin-right: 15px;margin-left: 1000px;font-size: 15px">{{companyname}},欢迎你</span>
<el-dropdown>
<i class="el-icon-setting"></i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item><a href="companyInformationView.html">查看公司信息</a></el-dropdown-item>
<el-dropdown-item><a href="companyInformationUpdate.html">修改公司信息</a></el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</el-header>
<el-container>
<el-aside width="200px" style="background-color: rgb(238, 241, 246)">
<el-menu :default-openeds="['1','2']" style="text-align: center">
<el-submenu index="1">
<template slot="title"><i class="el-icon-setting"></i></i>公司信息管理</template>
<el-menu-item index="1-1"><a href="companyInformationView.html">查看公司信息</a></el-menu-item>
<el-menu-item index="1-2" ><a href="companyInformationUpdate.html">修改公司信息</a></el-menu-item>
</el-submenu>
<el-submenu index="2">
<template slot="title"><i class="el-icon-menu"></i>岗位信息管理</template>
<el-menu-item index="2-1" ><a href="companySeeker.html">求职人推荐</a></el-menu-item>
<el-menu-item index="2-2" ><a href="companyNotes.html">公司岗位管理</a></el-menu-item>
<el-menu-item index="2-3" ><a href="companyCommit.html">公司消息</a></el-menu-item>
</el-submenu>
</el-menu>
</el-aside>
<el-main>
<!-- 查询 -->
<!-- :model="formInline"-->
<el-form :inline="true" class="demo-form-inline">
<el-form-item >
<el-form-item label="岗位名称">
<el-input v-model="post.name" placeholder="岗位名称"></el-input>
</el-form-item>
<el-form-item label="学历要求">
<el-input v-model="post.degreeRequire" placeholder="学历要求"></el-input>
</el-form-item>
<el-form-item label="岗位薪资">
<el-input v-model="post.money" placeholder="岗位薪资"></el-input>
</el-form-item>
<el-form-item label="技能要求">
<el-input v-model="post.skillRequire" placeholder="技能要求"></el-input>
</el-form-item>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="mountedd">查询</el-button>
</el-form-item>
</el-form>
<template>
<el-table
:data="postseekerdata"
style="width: 100%">
<el-table-column
type="index"
width="50">
</el-table-column>
<el-table-column
prop="sname"
label="求职人"
align="center">
<template slot-scope="scope">
<el-button @click="specific(scope.$index, scope.row)" type="text" >{{scope.row.sname}}</el-button>
</template>
</el-table-column>
<el-table-column
prop="pname"
label="求职岗位"
align="center">
</el-table-column>
<el-table-column
prop="degreeRequire"
label="学历要求"
align="center">
</el-table-column>
<el-table-column
prop="money"
align="center"
label="工资">
</el-table-column>
<el-table-column
fixed="right"
align="center"
label="操作">
<template slot-scope="scope">
<el-row>
<span v-if="scope.row.state==1">
<el-button type="warning" @click="Commit(scope.$index, scope.row)">接受投递</el-button>
</span>
<span v-if="scope.row.state==2">
已通过
</span>
</el-row>
</template>
</el-table-column>
</el-table>
</template>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[5, 10, 15, 20]"
:page-size="5"
layout="total, sizes, prev, pager, next, jumper"
:total="totalCount">
</el-pagination>
</el-main>
</el-container>
</el-container>
<!--求职人求职消息-->
<el-dialog
title="具体查看"
:visible.sync="dialogVisible"
width="70%"
>
<span slot="label"><i class="el-icon-date"></i> 求职人信息</span>
<el-descriptions class="margin-top" title="求职人信息" :column="3" border style="margin-left: 8%;margin-right: 8%">
<el-descriptions-item style="width: 30%" >
<template slot="label" >
<i class="el-icon-user"></i>
姓名
</template>
<template>
{{postseeker.sname}}
</template>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
<i class="el-icon-mobile-phone"></i>
手机号
</template>
{{postseeker.phone}}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
<!-- <i class="el-icon-location-outline"></i>-->
出生日期
</template>
{{postseeker.birthday}}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
<i class="el-icon-tickets"></i>
学历
</template>
{{postseeker.degree}}
</el-descriptions-item>
<el-descriptions-item >
<template slot="label">
<i class="el-icon-tickets"></i>
意向岗位
</template>
{{postseeker.hopePost}}
</el-descriptions-item>
<el-descriptions-item >
<template slot="label">
<i class="el-icon-tickets"></i>
期望薪资
</template>
{{postseeker.hopeSalary}}
</el-descriptions-item>
<el-descriptions-item :span="3">
<template slot="label">
<i class="el-icon-tickets"></i>
实习经历
</template>
{{postseeker.experienced}}
</el-descriptions-item>
<el-descriptions-item :span="3">
<template slot="label">
<i class="el-icon-tickets"></i>
专业技能
</template>
{{postseeker.skill}}
</el-descriptions-item>
<el-descriptions-item :span="3">
<template slot="label">
<i class="el-icon-office-building"></i>
个人优势
</template>
{{postseeker.advantage}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions class="margin-top" title="岗位信息":column="3" border style="margin-left: 8%;margin-right: 8%">
<el-descriptions-item style="width: 30%" >
<template slot="label" style="width: 5px">
<i class="el-icon-user"></i>
岗位名称
</template>
<template>
{{postseeker.pname}}
</template>
</el-descriptions-item>
<el-descriptions-item >
<template slot="label">
<i class="el-icon-tickets"></i>
薪资
</template>
{{postseeker.money}}
</el-descriptions-item>
<el-descriptions-item >
<template slot="label">
<i class="el-icon-tickets"></i>
学历要求
</template>
{{postseeker.degreeRequire}}
</el-descriptions-item>
<el-descriptions-item :span="3">
<template slot="label">
<i class="el-icon-tickets"></i>
岗位描述
</template>
{{postseeker.description}}
</el-descriptions-item>
<el-descriptions-item :span="3">
<template slot="label">
<i class="el-icon-tickets"></i>
技能要求
</template>
{{postseeker.skillRequire}}
</el-descriptions-item>
</el-descriptions>
</el-dialog>
</div>
</body>
<script src="js/vue.js"></script>
<script src="js/axios-0.18.0.js"></script>
<script src="element-ui/lib/index.js"></script>
<!--<link rel="stylesheet" href="element-ui/lib/theme-chalk/index.css">-->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<SCRIPT>
new Vue({
el:"#peoInformation",
data() {
return {
dialogVisible:false,
post:{
name:'',
companyId:'',
skillRequire:'',
money:'',
degreeRequire:''
},
postseekerdata:[],
pageSize:5,
totalCount: 100,
currentPage:1,
companyname:'',
postseeker:{},
}
},
mounted(){
this.mountedd();
},
methods:{
mountedd(){
var _this = this;
//_this.postdata.companyId=localStorage.getItem("companyId");
_this.post.companyId=localStorage.getItem("companyId");
_this.companyname=localStorage.getItem("companyname");
//var seekerId = localStorage.getItem("seekerId"); //获取指定key本地存储的值
axios({
method:"post",
url:"http://localhost:8080/notes/company/selectPostStateByCondition?currentPage="+this.currentPage+"&pageSize="+this.pageSize,
data:_this.post
}).then(function (resp){
_this.postseekerdata = resp.data.rows;
_this.totalCount = resp.data.totalCount;
console.log(_this.postseekerdata)
})
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize=val;
this.mountedd();
this.currentPage=1;
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage=val;
this.mountedd();
this.currentPage=1;
},
specific(index,row)
{
this.dialogVisible=true;
this.postseeker=row;
},
Commit(index,row){
var _this=this;
_this.postseeker=row;
axios({
method:"post",
url:"http://localhost:8080/notes/company/updateNewsCommit",
data:_this.postseeker
}).then(function (resp){
_this.mountedd();
})
}
}
})
</SCRIPT>
</html>
浙公网安备 33010602011771号