|
|
@@ -13,15 +13,15 @@
|
|
|
>详情</el-button
|
|
|
>
|
|
|
<el-button type="text" @click="addClick(props.scope.row, 0)"
|
|
|
- >修改</el-button
|
|
|
+ >邀请</el-button
|
|
|
>
|
|
|
<el-button type="text" @click="del(props.scope.row)">删除</el-button>
|
|
|
</template>
|
|
|
</table-list>
|
|
|
<pagination
|
|
|
:total="total"
|
|
|
- :pageSize="pageSize"
|
|
|
- :currentPage="currentPage"
|
|
|
+ :pageSize="searchPamam.pageSize"
|
|
|
+ :currentPage="searchPamam.currentPage"
|
|
|
@handleSizeChange="handleSizeChange"
|
|
|
@handleCurrentChange="handleCurrentChange"
|
|
|
/>
|
|
|
@@ -92,8 +92,9 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="calendarDialogVisible"
|
|
|
width="30%"
|
|
|
+ custom-class="inviteDialog"
|
|
|
center>
|
|
|
- <div>
|
|
|
+ <div style="min-width: 360px">
|
|
|
<div class="d_title">
|
|
|
<div>当前共有 {{peopleNum}} 人需要面试</div>
|
|
|
<div class="d_title_r">查看全部</div>
|
|
|
@@ -164,6 +165,11 @@ export default {
|
|
|
},
|
|
|
peopleNum:0,
|
|
|
loading: false, //当前表单加载是否加载动画
|
|
|
+ searchPamam:{
|
|
|
+ pageSize: 10, //每页多少条数据
|
|
|
+ currentPage: 1, //当前页码
|
|
|
+ statusArray: "0,1",
|
|
|
+ },
|
|
|
navText: {
|
|
|
title: "简历中心",
|
|
|
index: 0,
|
|
|
@@ -213,12 +219,12 @@ export default {
|
|
|
tableSet: [
|
|
|
{
|
|
|
label: "姓名",
|
|
|
- prop: "dictId",
|
|
|
+ prop: "realName",
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
label: "性别",
|
|
|
- prop: "dictName",
|
|
|
+ prop: "sexLabel",
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
@@ -233,7 +239,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "邮箱",
|
|
|
- prop: "remark",
|
|
|
+ prop: "emall",
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
@@ -244,18 +250,18 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "期望薪资",
|
|
|
- prop: "status",
|
|
|
+ prop: "wantIncomeLabel",
|
|
|
hidden: true,
|
|
|
},
|
|
|
{
|
|
|
label: "地点",
|
|
|
- prop: "remark",
|
|
|
+ prop: "district",
|
|
|
hidden: true,
|
|
|
width:"240px"
|
|
|
},
|
|
|
{
|
|
|
label: "应聘岗位",
|
|
|
- prop: "dictType",
|
|
|
+ prop: "job",
|
|
|
hidden: true,
|
|
|
width:"300px"
|
|
|
},
|
|
|
@@ -292,8 +298,6 @@ export default {
|
|
|
],
|
|
|
tableData: [], //表单数据
|
|
|
total: 0, //一共多少条
|
|
|
- pageSize: 10, //每页多少条数据
|
|
|
- currentPage: 1, //当前页码
|
|
|
// 弹窗字段
|
|
|
listitem: [
|
|
|
{
|
|
|
@@ -351,15 +355,22 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created(){
|
|
|
- this.companyGM()
|
|
|
- this.companyLX()
|
|
|
+
|
|
|
},
|
|
|
mounted() {
|
|
|
this.search();
|
|
|
this.searchCalendar()
|
|
|
+ this.getNowTime()
|
|
|
},
|
|
|
methods: {
|
|
|
+ getNowTime(){
|
|
|
+ let t = new Date();
|
|
|
+ let newTime = t.getTime()-(t.getMinutes()*60+t.getSeconds())*1000+3600*1000
|
|
|
+ t.setTime(newTime);
|
|
|
+ this.dayValue = t
|
|
|
+ },
|
|
|
makeRecruitList(quantumList){
|
|
|
+ this.form.date = this.dayValue.getTime()
|
|
|
this.recruitList = []
|
|
|
this.peopleNum = 0
|
|
|
for(let i =0;i<quantumList.length;i++){
|
|
|
@@ -423,79 +434,22 @@ export default {
|
|
|
});
|
|
|
this.loading = false;
|
|
|
},
|
|
|
- companyGM(){
|
|
|
- var arays = []
|
|
|
- var newArrays = []
|
|
|
- arays = this.$store.state.UserDict.filter((item,index) => {
|
|
|
- return item.dictType == "company_size"
|
|
|
- })
|
|
|
- arays.forEach((item,index) => {
|
|
|
- let arrayList = {
|
|
|
- label: item.dictLabel,
|
|
|
- value: item.dictValue
|
|
|
- }
|
|
|
- newArrays.push(arrayList)
|
|
|
- })
|
|
|
- for(let i = 0; i < this.formList.length; i++){
|
|
|
- if(this.formList[i].label === '公司规模'){
|
|
|
- this.formList[i].options = newArrays
|
|
|
- }
|
|
|
- }
|
|
|
- this.companyGMdata = newArrays
|
|
|
- },
|
|
|
- companyLX(){
|
|
|
- var arays = []
|
|
|
- var newArrays = []
|
|
|
- arays = this.$store.state.UserDict.filter((item,index) => {
|
|
|
- return item.dictType == "company_type"
|
|
|
- })
|
|
|
- arays.forEach((item,index) => {
|
|
|
- let arrayList = {
|
|
|
- label: item.dictLabel,
|
|
|
- value: item.dictValue
|
|
|
- }
|
|
|
- newArrays.push(arrayList)
|
|
|
- })
|
|
|
- for(let i = 0; i < this.formList.length; i++){
|
|
|
- if(this.formList[i].label === '公司类型'){
|
|
|
- this.formList[i].options = newArrays
|
|
|
- }
|
|
|
- }
|
|
|
- this.companyLXdata = newArrays
|
|
|
- },
|
|
|
- search(v) {
|
|
|
+ search() {
|
|
|
this.loading = true;
|
|
|
- if (v === undefined) {
|
|
|
- v = {
|
|
|
- statusArray: "0,1",
|
|
|
- pageSize: this.pageSize,
|
|
|
- pageNum: this.currentPage,
|
|
|
- };
|
|
|
- }
|
|
|
- var data = {
|
|
|
- dictName: v.dictName || "",
|
|
|
- dictType: v.dictType || "",
|
|
|
- statusArray: v.status === undefined ? "0,1" : v.status,
|
|
|
- pageSize: this.pageSize,
|
|
|
- pageNum: this.currentPage,
|
|
|
- };
|
|
|
- this.tableData = [
|
|
|
- {
|
|
|
- createBy: "admin",
|
|
|
- createTime: "2021-05-08 14:45:46",
|
|
|
- dictId: 1,
|
|
|
- dictName: "用户性别",
|
|
|
- dictType: "sys_user_sex",
|
|
|
- pageNum: null,
|
|
|
- pageSize: null,
|
|
|
- params: {},
|
|
|
- remark: "用户性别列表",
|
|
|
- status: "1",
|
|
|
- statusArray: null,
|
|
|
- updateBy: "admin",
|
|
|
- updateTime: "2021-06-09 15:55:04",
|
|
|
- },
|
|
|
- ];
|
|
|
+ let that = this
|
|
|
+ this.$api.recruitinterviewlistAll(this.searchPamam).then((res) => {
|
|
|
+ if(res.code==200){
|
|
|
+ that.tableData = res.rows
|
|
|
+ that.total = res.total
|
|
|
+ that.navText.index = res.total;
|
|
|
+ for(let i=0;i<that.tableData.length;i++){
|
|
|
+ let item = that.tableData[i]
|
|
|
+ item.sexLabel = item.sex==1?'男':'女'
|
|
|
+ item.wantIncomeLabel = item.recruitResumeVo.wantIncomeStart+'-'+item.recruitResumeVo.wantIncomeEnd
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
this.loading = false;
|
|
|
},
|
|
|
init() {
|
|
|
@@ -579,19 +533,24 @@ export default {
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
handleSizeChange(v) {
|
|
|
- this.pageSize = v;
|
|
|
- this.currentPage = 1;
|
|
|
+ this.searchPamam.pageSize = v;
|
|
|
+ this.searchPamam.currentPage = 1;
|
|
|
this.search();
|
|
|
},
|
|
|
handleCurrentChange(v) {
|
|
|
- this.currentPage = v;
|
|
|
+ this.searchPamam.currentPage = v;
|
|
|
this.search();
|
|
|
},
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-
|
|
|
+<style>
|
|
|
+#resumeCenter .el-dialog{
|
|
|
+ min-width: 400px !important;
|
|
|
+}
|
|
|
+</style>
|
|
|
<style lang="less" scoped>
|
|
|
+
|
|
|
.selNone {
|
|
|
margin: 13px auto;
|
|
|
cursor: pointer;
|