Commit 4cc83dad authored by zhangderong's avatar zhangderong

获取职位列表

parent 0acef06c
......@@ -150,4 +150,10 @@ export function getpdfUrl(parmars) {
'Content-Type':'application/json'
}})
}
//获取职位列表
export function getlist(parmars) {
return axios.get(`${sapi}/api/resume/findPositionList?optSourceCode=${parmars.optSourceCode}`, {headers: {
'Content-Type':'application/json'
}})
}
......@@ -31,7 +31,7 @@
</FormItem>
<FormItem label="职位:" style="margin:20px 0 40px 0px">
<Select v-model="position" filterable multiple style="width:96%" placeholder="不限">
<Option v-for="item in positionArr" :value="item.value" :key="item.value">{{ item.label }}</Option>
<Option v-for="(item,index) in positionArr" :value="index" :key="index">{{ item}}</Option>
</Select>
</FormItem>
</Form>
......@@ -415,7 +415,7 @@
</template>
<script>
import moment from 'moment'
import { serchList,downloadone,sousuoList,seedetail,PASS,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,updatastatus,TODORes,sendEmail,getEmailMoo,getEmailContent,uploadimage, findCompanyEmailByKey,forwardResume} from '../../api/resume.server'
import { serchList,downloadone,sousuoList,seedetail,PASS,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,updatastatus,getlist,TODORes,sendEmail,getEmailMoo,getEmailContent,uploadimage, findCompanyEmailByKey,forwardResume} from '../../api/resume.server'
import {Serchinterviewor} from '../../api/interview.server.js'
import qs from 'qs'
import {
......@@ -435,54 +435,6 @@ import {mapState} from 'vuex'
interviewerNameList: [],
position:[],
positionArr:[
{value:'1',
label:'sd水电费付付付付付付付付付付鼎折覆餗付付付付付付维恩二二二二二二二二二二'
},
{value:'2',
label:'kbj'
},
{value:'3',
label:'kkk'
},
{value:'4',
label:'vvv'
},
{value:'5',
label:'ccc'
},
{value:'6',
label:'www'
},
{value:'7',
label:'qqq'
},
{value:'8',
label:'aaa'
},
{value:'9',
label:'zzz'
},
{value:'21',
label:'lll'
},
{value:'33',
label:'xxx'
},
{value:'43',
label:'hhh'
},
{value:'17',
label:'mmm'
},
{value:'27',
label:'nnn'
},
{value:'37',
label:'fff'
},
{value:'47',
label:'ggg'
},
],
tip: false,
tipInfo: '输入多个邮箱地址以英文”;“分隔',
......@@ -788,6 +740,15 @@ import {mapState} from 'vuex'
}
})
},
getpositionList(){
let parmars={
optSourceCode:''
}
getlist(parmars).then(res=>{
this.positionArr=res.data.body
console.log(res.data.body,55555555)
})
},
//选择搜索元素
selectElement1(tItem,Tindex){
this.searchInfo.SEX=Tindex==0?'':tItem;
......@@ -856,6 +817,7 @@ import {mapState} from 'vuex'
flowStatusList:this.searchInfo.STA,
ownerWorkYears1:this.searchInfo.ownerWorkYears1,
ownerWorkYears2:this.searchInfo.ownerWorkYears2,
ownerExpectTitlesList:this.position
}
}
this.ajaxData=[]
......@@ -1780,6 +1742,7 @@ import {mapState} from 'vuex'
},
mounted(){
this.SouSuo(null, 'init')
this.getpositionList()
document.addEventListener('visibilitychange',()=>{
var isHidden = document.hidden;
if(isHidden){
......
......@@ -31,7 +31,7 @@
</FormItem>
<FormItem label="职位:" style="margin:20px 0 40px 0px">
<Select v-model="position" filterable multiple style="width:96%" placeholder="不限">
<Option v-for="item in positionArr" :value="item.value" :key="item.value">{{ item.label }}</Option>
<Option v-for="(item,index) in positionArr" :value="index" :key="index">{{ item }}</Option>
</Select>
</FormItem>
</Form>
......@@ -412,7 +412,7 @@
</template>
<script>
import moment from 'moment'
import {adoptOneSeeResumeList, serchList,downloadone,sousuoList,seedetail,PASS,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,TODORes,getEmailMoo,getEmailContent, sendEmail,findCompanyEmailByKey,forwardResume } from '../../api/resume.server.js'
import {adoptOneSeeResumeList, serchList,downloadone,sousuoList,getlist,seedetail,PASS,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,TODORes,getEmailMoo,getEmailContent, sendEmail,findCompanyEmailByKey,forwardResume } from '../../api/resume.server.js'
import {Serchinterviewor} from '../../api/interview.server.js'
import {
sapi
......@@ -431,54 +431,6 @@ export default {
errorInfo: '',
position:[],
positionArr:[
{value:'1',
label:'sd'
},
{value:'2',
label:'kbj'
},
{value:'3',
label:'kkk'
},
{value:'4',
label:'vvv'
},
{value:'5',
label:'ccc'
},
{value:'6',
label:'www'
},
{value:'7',
label:'qqq'
},
{value:'8',
label:'aaa'
},
{value:'9',
label:'zzz'
},
{value:'21',
label:'lll'
},
{value:'33',
label:'xxx'
},
{value:'43',
label:'hhh'
},
{value:'17',
label:'mmm'
},
{value:'27',
label:'nnn'
},
{value:'37',
label:'fff'
},
{value:'47',
label:'ggg'
},
],
ruleInline: {
UpdateOWER: [
......@@ -770,7 +722,7 @@ export default {
}
},
// 查看简历详情
Seedetail(Tid,Uid,STATUS){
Seedetail(Tid,Uid,STATUS){
this.detailID=Tid
this.DOWNID=Uid
this.resumeDetailSta=STATUS
......@@ -831,6 +783,16 @@ export default {
}
})
},
getpositionList(){
let parmars={
optSourceCode:this.$route.params.channelname
}
getlist(parmars).then(res=>{
this.positionArr=[]
this.positionArr=res.data.body
console.log(res.data.body,55555555)
})
},
// 选择input元素
selectInputElement(index,doID,doStatus,sss, item){
sss=!sss
......@@ -1089,6 +1051,7 @@ export default {
flowStatusList:this.clickIndex3=0?this.searchInfo.STA=[]:this.searchInfo.STA,
ownerWorkYears1:this.searchInfo.ownerWorkYears1,
ownerWorkYears2:this.searchInfo.ownerWorkYears2,
ownerExpectTitlesList:this.position
}
}
this.ajaxData=[]
......@@ -1757,6 +1720,7 @@ export default {
this.lickIndex3 = 0
this.keywords=''
this.lrgs=''
this.position=[]
this.state.map(item => {
item.sta = item.status3=='不限' ?true:false
})
......@@ -1767,6 +1731,7 @@ export default {
optSourceCode:this.$route.params.channelname
}
}
this.getpositionList()
this.ajaxData=[]
this.interviewee = []
adoptOneSeeResumeList(parmars).then(res=>{
......@@ -1833,6 +1798,7 @@ export default {
},
mounted(){
this.SouSuo(null, 'init')
this.getpositionList()
document.addEventListener('visibilitychange',()=>{
var isHidden = document.hidden;
if(isHidden){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment