Commit 456325ef authored by FE-安焕焕's avatar FE-安焕焕 👣

面试官模糊匹配

parent 0592d043
...@@ -336,7 +336,9 @@ ...@@ -336,7 +336,9 @@
<DatePicker type="datetime" style="width:100%" v-model="formInline.UpdateTIME" format="yyyy-MM-dd HH:mm" @on-change="changeTime" :options="options3" :editable='false' @on-open-change='getfocus("formInline", "UpdateTIME", $event)'></DatePicker> <DatePicker type="datetime" style="width:100%" v-model="formInline.UpdateTIME" format="yyyy-MM-dd HH:mm" @on-change="changeTime" :options="options3" :editable='false' @on-open-change='getfocus("formInline", "UpdateTIME", $event)'></DatePicker>
</FormItem> </FormItem>
<FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'> <FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'>
<Input v-model="formInline.UpdateVIEW" style="width:100%" :maxlength="5" @on-focus='getfocus("formInline", "UpdateVIEW")'/> <Select style="width:100%" placeholder="请选择" v-model="formInline.UpdateVIEW" :label-in-value='true' filterable clearable @on-open-change='getfocus("formInline", "UpdateVIEW", $event)'>
<Option v-for="(item,index) in interviewerNameList" :key="index" :value="item" >{{item}}</Option>
</Select>
</FormItem> </FormItem>
</Form> </Form>
...@@ -421,6 +423,7 @@ ...@@ -421,6 +423,7 @@
<script> <script>
import moment from 'moment' 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,TODORes,sendEmail,getEmailMoo,getEmailContent,uploadimage, findCompanyEmailByKey,forwardResume} from '../../api/resume.server'
import {Serchinterviewor} from '../../api/interview.server.js'
import qs from 'qs' import qs from 'qs'
import { import {
sapi sapi
...@@ -522,6 +525,7 @@ import {mapState} from 'vuex' ...@@ -522,6 +525,7 @@ import {mapState} from 'vuex'
} }
return { return {
interviewee: [], interviewee: [],
interviewerNameList: [],
tip: false, tip: false,
tipInfo: '输入多个邮箱地址以英文”;“分隔', tipInfo: '输入多个邮箱地址以英文”;“分隔',
sad:'', sad:'',
...@@ -536,7 +540,7 @@ import {mapState} from 'vuex' ...@@ -536,7 +540,7 @@ import {mapState} from 'vuex'
{ required: true, message: '面试时间不能为空', trigger: 'change', type:'date', validator: emailValidata} { required: true, message: '面试时间不能为空', trigger: 'change', type:'date', validator: emailValidata}
], ],
UpdateVIEW: [ UpdateVIEW: [
{ required: true,message: '面试官不能为空', trigger: 'blur', validator: emailValidata} { required: true,message: '面试官不能为空', trigger: 'change', validator: emailValidata, type: String}
] ]
}, },
emailruleInline: { emailruleInline: {
...@@ -1935,10 +1939,14 @@ import {mapState} from 'vuex' ...@@ -1935,10 +1939,14 @@ import {mapState} from 'vuex'
} }
}) })
} else { } else {
if (e==false){ // 时间选择器关闭弹框的时候 if (name=='UpdateTIME'&&e==false){ // 时间选择器关闭弹框的时候
this.$refs.formInline.validateField('UpdateTIME', (e) => {}) this.$refs.formInline.validateField('UpdateTIME', (e) => {})
return return
} }
if (name=='UpdateVIEW'&&e==false){ // 选择关闭弹框的时候
this.$refs.formInline.validateField('UpdateVIEW', (e) => {})
return
}
this.$refs[form].fields.forEach(function (e) { this.$refs[form].fields.forEach(function (e) {
if (e.prop == name) { if (e.prop == name) {
e.resetField() e.resetField()
...@@ -1965,10 +1973,16 @@ import {mapState} from 'vuex' ...@@ -1965,10 +1973,16 @@ import {mapState} from 'vuex'
if (!flag){ if (!flag){
this.modal10=true this.modal10=true
} }
} },
SerchlistinterviewList(){
Serchinterviewor().then(res=>{
this.interviewerNameList=res.data.body
})
},
}, },
mounted(){ mounted(){
this.SouSuo() this.SouSuo()
this.SerchlistinterviewList()
} }
} }
</script> </script>
......
...@@ -332,7 +332,9 @@ ...@@ -332,7 +332,9 @@
<DatePicker type="datetime" style="width:100%" v-model="formInline.UpdateTIME" format="yyyy-MM-dd HH:mm" @on-change="changeTime" :options="options3" :editable='false' @on-open-change='getfocus("formInline", "UpdateTIME", $event)'></DatePicker> <DatePicker type="datetime" style="width:100%" v-model="formInline.UpdateTIME" format="yyyy-MM-dd HH:mm" @on-change="changeTime" :options="options3" :editable='false' @on-open-change='getfocus("formInline", "UpdateTIME", $event)'></DatePicker>
</FormItem> </FormItem>
<FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'> <FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'>
<Input v-model="formInline.UpdateVIEW" style="width:100%" :maxlength="5" @on-focus='getfocus("formInline", "UpdateVIEW")'/> <Select style="width:100%" placeholder="请选择" v-model="formInline.UpdateVIEW" :label-in-value='true' filterable clearable @on-open-change='getfocus("formInline", "UpdateVIEW", $event)'>
<Option v-for="(item,index) in interviewerNameList" :key="index" :value="item" >{{item}}</Option>
</Select>
</FormItem> </FormItem>
</Form> </Form>
</div> </div>
...@@ -416,6 +418,7 @@ ...@@ -416,6 +418,7 @@
<script> <script>
import moment from 'moment' 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,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 { import {
sapi sapi
} from '../../config' } from '../../config'
...@@ -514,6 +517,7 @@ export default { ...@@ -514,6 +517,7 @@ export default {
} }
return { return {
interviewee: [], interviewee: [],
interviewerNameList: [],
tip: false, tip: false,
tipInfo: '输入多个邮箱地址以英文”;“分隔', tipInfo: '输入多个邮箱地址以英文”;“分隔',
ruleInline: { ruleInline: {
...@@ -524,7 +528,7 @@ export default { ...@@ -524,7 +528,7 @@ export default {
{ required: true, message: '面试时间不能为空', trigger: 'change', type:'date', validator: emailValidata} { required: true, message: '面试时间不能为空', trigger: 'change', type:'date', validator: emailValidata}
], ],
UpdateVIEW: [ UpdateVIEW: [
{ required: true,message: '面试官不能为空', trigger: 'blur', validator: emailValidata} { required: true,message: '面试官不能为空', trigger: 'change', validator: emailValidata}
] ]
}, },
emailruleInline: { emailruleInline: {
...@@ -1877,10 +1881,14 @@ export default { ...@@ -1877,10 +1881,14 @@ export default {
} }
}) })
} else { } else {
if (e==false){ // 时间选择器关闭弹框的时候 if (name=='UpdateTIME'&&e==false){ // 时间选择器关闭弹框的时候
this.$refs.formInline.validateField('UpdateTIME', (e) => {}) this.$refs.formInline.validateField('UpdateTIME', (e) => {})
return return
} }
if (name=='UpdateVIEW'&&e==false){ // 选择关闭弹框的时候
this.$refs.formInline.validateField('UpdateVIEW', (e) => {})
return
}
this.$refs[form].fields.forEach(function (e) { this.$refs[form].fields.forEach(function (e) {
if (e.prop == name) { if (e.prop == name) {
e.resetField() e.resetField()
...@@ -1907,7 +1915,12 @@ export default { ...@@ -1907,7 +1915,12 @@ export default {
if (!flag){ if (!flag){
this.modal10=true this.modal10=true
} }
} },
SerchlistinterviewList(){
Serchinterviewor().then(res=>{
this.interviewerNameList=res.data.body
})
},
}, },
watch: { watch: {
'$route' (to, from) { '$route' (to, from) {
...@@ -1918,6 +1931,7 @@ export default { ...@@ -1918,6 +1931,7 @@ export default {
optSourceCode:this.$route.params.channelname optSourceCode:this.$route.params.channelname
} }
} }
this.SerchlistinterviewList()
this.ajaxData=[] this.ajaxData=[]
this.interviewee = [] this.interviewee = []
adoptOneSeeResumeList(parmars).then(res=>{ adoptOneSeeResumeList(parmars).then(res=>{
...@@ -1981,6 +1995,7 @@ export default { ...@@ -1981,6 +1995,7 @@ export default {
}, },
mounted(){ mounted(){
this.SouSuo() this.SouSuo()
this.SerchlistinterviewList()
} }
} }
</script> </script>
...@@ -2191,4 +2206,7 @@ select{ ...@@ -2191,4 +2206,7 @@ select{
.ivu-form-item-content{ .ivu-form-item-content{
font-size: 14px; font-size: 14px;
} }
.ivu-form-item-error-tip{
font-size:12px;
}
</style> </style>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</Form> </Form>
</div> </div>
<div class="submission"> <div class="submission">
<Button type='primary' @click="confirmSubmission" >提交</Button> <Button type='primary' @click="confirmSubmission" :loading="loading">提交</Button>
</div> </div>
<Modal <Modal
v-model="modal3" v-model="modal3"
...@@ -73,6 +73,7 @@ export default { ...@@ -73,6 +73,7 @@ export default {
return { return {
docmHeight: '0', docmHeight: '0',
showHeight: '0', showHeight: '0',
loading: false,
hidshow:true, hidshow:true,
isResize:false, isResize:false,
modal3:false, modal3:false,
...@@ -193,8 +194,10 @@ export default { ...@@ -193,8 +194,10 @@ export default {
mobile:this.formInline.phoneNUmber, mobile:this.formInline.phoneNUmber,
takeResume:this.formInline.model2 takeResume:this.formInline.model2
} }
this.loading = true
submitMassage(parmars).then(res=>{ submitMassage(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.loading = false
this.formInline.model1='' this.formInline.model1=''
this.formInline.model2='' this.formInline.model2=''
this.formInline.Inviter='' this.formInline.Inviter=''
......
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