|
|
|
|
@ -6,75 +6,75 @@
|
|
|
|
|
<lx-header icon="md-apps" :text="$route.meta.title" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
<div slot="content" style="padding-left:0">
|
|
|
|
|
|
|
|
|
|
<div class="searchwrap" style="display: flex;align-items: center;">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.name" placeholder="请输入姓名"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.mobile" placeholder="请输入手机号"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.company_name" placeholder="请输入公司名称"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.company_area" placeholder="请选择所属区域" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.company_area" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.company_type" placeholder="请选择企业性质" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.company_type" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.company_industry" placeholder="请选择所属行业" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.company_industry" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.type" placeholder="请选择人才类型" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.type" :key="item.id" :label="item.value" :value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.education" placeholder="请选择学历" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.education" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.status" placeholder="请选择状态" clearable>
|
|
|
|
|
<el-option v-for="item in apply_status_list" :key="item.id" :label="item.value" :value="item.id">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.sort_type" placeholder="请选择评分排序" clearable>
|
|
|
|
|
<el-option v-for="item in sortList" :key="item.id" :label="item.value" :value="item.id">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-button type="primary" size="small" @click="select.page=1,getList()">查询</el-button>
|
|
|
|
|
<el-button type="primary" size="small" @click="resetSelect">重置</el-button>
|
|
|
|
|
<el-button style="margin-right:10px" type="primary" size="small" @click="exportExcel">导出</el-button>
|
|
|
|
|
<el-popconfirm @confirm="updateAllStatus" title="确定要批量审核吗?">
|
|
|
|
|
<el-button type="primary" size="small" slot="reference">批量审核</el-button>
|
|
|
|
|
</el-popconfirm>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="searchwrap" style="display: flex;align-items: center;">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.name" placeholder="请输入姓名"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.mobile" placeholder="请输入手机号"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.company_name" placeholder="请输入公司名称"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-input v-model="select.company_position" placeholder="请输入职务"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.company_area" placeholder="请选择所属区域" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.company_area" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.company_type" placeholder="请选择企业性质" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.company_type" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.company_industry" placeholder="请选择所属行业" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.company_industry" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.type" placeholder="请选择人才类型" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.type" :key="item.id" :label="item.value" :value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.education" placeholder="请选择学历" clearable>
|
|
|
|
|
<el-option v-for="item in formSelect.education" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.status" placeholder="请选择状态" clearable>
|
|
|
|
|
<el-option v-for="item in apply_status_list" :key="item.id" :label="item.value" :value="item.id">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-select v-model="select.sort_type" placeholder="请选择评分排序" clearable>
|
|
|
|
|
<el-option v-for="item in sortList" :key="item.id" :label="item.value" :value="item.id">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-button type="primary" size="small" @click="select.page=1,getList()">查询</el-button>
|
|
|
|
|
<el-button type="primary" size="small" @click="resetSelect">重置</el-button>
|
|
|
|
|
<el-button style="margin-right:10px" type="primary" size="small" @click="exportExcel">导出</el-button>
|
|
|
|
|
<el-popconfirm @confirm="updateAllStatus" title="确定要批量审核吗?">
|
|
|
|
|
<el-button type="primary" size="small" slot="reference">批量审核</el-button>
|
|
|
|
|
</el-popconfirm>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
@ -91,6 +91,13 @@
|
|
|
|
|
</div>
|
|
|
|
|
<xy-table :list="list" :total="total" :showIndex="false" @pageIndexChange="pageIndexChange"
|
|
|
|
|
@pageSizeChange="pageSizeChange" :table-item="table_item" @selection-change="selectionChange">
|
|
|
|
|
<template v-slot:index>
|
|
|
|
|
<el-table-column align='center' fixed="left" label="" width="50" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{getIndex(scope.$index)}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:status>
|
|
|
|
|
<el-table-column align='center' label="状态" width="120" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
@ -128,10 +135,10 @@
|
|
|
|
|
} from '@/api/apply/index.js'
|
|
|
|
|
import {
|
|
|
|
|
download
|
|
|
|
|
} from "@/utils/downloadRequest";
|
|
|
|
|
} from "@/utils/downloadRequest";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
mixins: [myMixins,formMixin],
|
|
|
|
|
mixins: [myMixins, formMixin],
|
|
|
|
|
components: {
|
|
|
|
|
studentDetail
|
|
|
|
|
},
|
|
|
|
|
@ -167,6 +174,13 @@
|
|
|
|
|
// return row.status === 0
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: 'index',
|
|
|
|
|
label: '',
|
|
|
|
|
align: 'center',
|
|
|
|
|
width: 50,
|
|
|
|
|
fixed: 'left'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: 'user.username',
|
|
|
|
|
label: '姓名',
|
|
|
|
|
@ -227,18 +241,17 @@
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created(){
|
|
|
|
|
this.subjectObj = this.$route.query
|
|
|
|
|
console.log("this.$route.query",this.$route.query)
|
|
|
|
|
this.select.course_id = this.subjectObj.id
|
|
|
|
|
if(this.subjectObj.status===0){
|
|
|
|
|
this.select.status = 0
|
|
|
|
|
}else{
|
|
|
|
|
this.select.status = this.subjectObj.status?parseInt(this.subjectObj.status):''
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.subjectObj = this.$route.query
|
|
|
|
|
console.log("this.$route.query", this.$route.query)
|
|
|
|
|
this.select.course_id = this.subjectObj.id
|
|
|
|
|
if (this.subjectObj.status === 0) {
|
|
|
|
|
this.select.status = 0
|
|
|
|
|
} else {
|
|
|
|
|
this.select.status = this.subjectObj.status ? parseInt(this.subjectObj.status) : ''
|
|
|
|
|
}
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
pageIndexChange(e) {
|
|
|
|
|
@ -250,18 +263,23 @@
|
|
|
|
|
this.select.page = 1
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
resetSelect(){
|
|
|
|
|
this.select.name = ''
|
|
|
|
|
this.select.mobile = ''
|
|
|
|
|
this.select.company_name = ''
|
|
|
|
|
this.select.company_position = ''
|
|
|
|
|
this.select.company_area = ''
|
|
|
|
|
this.select.company_type = ''
|
|
|
|
|
this.select.company_industry = ''
|
|
|
|
|
this.select.education = ''
|
|
|
|
|
this.select.status = ''
|
|
|
|
|
this.select.page=1
|
|
|
|
|
this.getList()
|
|
|
|
|
getIndex(e){
|
|
|
|
|
let perSize = (this.select.page -1 ) * this.select.page_size
|
|
|
|
|
let index = perSize + e + 1
|
|
|
|
|
return index
|
|
|
|
|
},
|
|
|
|
|
resetSelect() {
|
|
|
|
|
this.select.name = ''
|
|
|
|
|
this.select.mobile = ''
|
|
|
|
|
this.select.company_name = ''
|
|
|
|
|
this.select.company_position = ''
|
|
|
|
|
this.select.company_area = ''
|
|
|
|
|
this.select.company_type = ''
|
|
|
|
|
this.select.company_industry = ''
|
|
|
|
|
this.select.education = ''
|
|
|
|
|
this.select.status = ''
|
|
|
|
|
this.select.page = 1
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
|
|
|
|
async getList() {
|
|
|
|
|
const res = await index({
|
|
|
|
|
@ -323,7 +341,7 @@
|
|
|
|
|
this.$refs.studentDetail.row = row
|
|
|
|
|
this.$refs.studentDetail.type = type
|
|
|
|
|
this.$refs.studentDetail.isShow = true
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
exportExcel() {
|
|
|
|
|
let _export = {}
|
|
|
|
|
@ -383,27 +401,27 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchwrap {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
&>div {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
// margin-bottom: 10px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
&>div {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
width: 150px;
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
width: auto
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.searchwrap {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
&>div {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
// margin-bottom: 10px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
&>div {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
width: 150px;
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
width: auto
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|