Commit 2dee7217 authored by FE-安焕焕's avatar FE-安焕焕 👣

修复问题

parent 4ad49cf3
...@@ -395,11 +395,11 @@ ...@@ -395,11 +395,11 @@
<FormItem label='面试官' prop='interviewerName'> <FormItem label='面试官' prop='interviewerName'>
<Select v-model ='transpondFrom.interviewerName' filterable style='width:250px;' remote <Select v-model ='transpondFrom.interviewerName' filterable style='width:250px;' remote
:remote-method="remoteMethod" :remote-method="remoteMethod"
:loading="loading1" placeholder='请输入面试官全名'> :loading="loading1" placeholder='请输入面试官全名' clearable>
<Option v-for='(item, index) in options' :key='index' :value='item.email'>{{item.name}}({{item.email}})</Option> <Option v-for='(item, index) in options' :key='index' :value='item.email'>{{item.name}}({{item.email}})</Option>
</Select> </Select>
</FormItem> </FormItem>
<FormItem label='' prop='interviewee' > <FormItem label='' prop='interviewee'>
<div v-for='(item, index) in interviewee' :key='index' class='interviewee'> <div v-for='(item, index) in interviewee' :key='index' class='interviewee'>
<div class='pic'> <div class='pic'>
<Icon type="ios-close" size='25' style='color:red' @click='delInterviewee(item)'/> <Icon type="ios-close" size='25' style='color:red' @click='delInterviewee(item)'/>
...@@ -1724,7 +1724,7 @@ import {mapState} from 'vuex' ...@@ -1724,7 +1724,7 @@ import {mapState} from 'vuex'
return return
} }
if (this.interviewee.length < 1) { if (this.interviewee.length < 1) {
this.$Notice.warning({title: '提示',desc: '发送内为空,请勾选您要发送的简历'}) this.$Notice.warning({title: '提示',desc: '发送内为空,请勾选您要发送的简历'})
return return
} }
let resumeIdList = [] let resumeIdList = []
...@@ -1754,7 +1754,7 @@ import {mapState} from 'vuex' ...@@ -1754,7 +1754,7 @@ import {mapState} from 'vuex'
}) })
}) })
}, },
remoteMethod (query) { remoteMethod: _debounce(function(query){
if (query !== '') { if (query !== '') {
this.loading1 = true; this.loading1 = true;
setTimeout(() => { setTimeout(() => {
...@@ -1764,12 +1764,15 @@ import {mapState} from 'vuex' ...@@ -1764,12 +1764,15 @@ import {mapState} from 'vuex'
list = res list = res
this.options = list.data.body.filter(item => item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.email.toLowerCase().indexOf(query.toLowerCase()) > -1); this.options = list.data.body.filter(item => item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.email.toLowerCase().indexOf(query.toLowerCase()) > -1);
}, 200); }, 200);
if (this.options.length == 0) {
this.$Notice.warning({title: '提示',desc: '面试官姓名无效,请您再次核对'})
}
}) })
} else { } else {
this.options = []; this.options = [];
} }
}, }, 500),
changenotice(a){ changenotice(a){
}, },
receiveEmail(){ receiveEmail(){
......
...@@ -387,7 +387,7 @@ ...@@ -387,7 +387,7 @@
<FormItem label='面试官' prop='interviewerName'> <FormItem label='面试官' prop='interviewerName'>
<Select v-model ='transpondFrom.interviewerName' filterable style='width:250px;' remote <Select v-model ='transpondFrom.interviewerName' filterable style='width:250px;' remote
:remote-method="remoteMethod" :remote-method="remoteMethod"
:loading="loading1" placeholder='请输入面试官全名'> :loading="loading1" placeholder='请输入面试官全名' clearable>
<Option v-for='(item, index) in options' :key='index' :value='item.email'>{{item.name}}({{item.email}})</Option> <Option v-for='(item, index) in options' :key='index' :value='item.email'>{{item.name}}({{item.email}})</Option>
</Select> </Select>
</FormItem> </FormItem>
...@@ -1661,7 +1661,7 @@ export default { ...@@ -1661,7 +1661,7 @@ export default {
return return
} }
if (this.interviewee.length < 1) { if (this.interviewee.length < 1) {
this.$Notice.warning({title: '提示',desc: '发送内为空,请勾选您要发送的简历'}) this.$Notice.warning({title: '提示',desc: '发送内为空,请勾选您要发送的简历'})
return return
} }
console.log('-----') console.log('-----')
...@@ -1694,7 +1694,7 @@ export default { ...@@ -1694,7 +1694,7 @@ export default {
}) })
}) })
}, },
remoteMethod (query) { remoteMethod: _debounce(function(query){
if (query !== '') { if (query !== '') {
this.loading1 = true; this.loading1 = true;
setTimeout(() => { setTimeout(() => {
...@@ -1704,12 +1704,15 @@ export default { ...@@ -1704,12 +1704,15 @@ export default {
list = res list = res
this.options = list.data.body.filter(item => item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.email.toLowerCase().indexOf(query.toLowerCase()) > -1); this.options = list.data.body.filter(item => item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.email.toLowerCase().indexOf(query.toLowerCase()) > -1);
}, 200); }, 200);
if (this.options.length == 0) {
this.$Notice.warning({title: '提示',desc: '面试官姓名无效,请您再次核对'})
}
}) })
} else { } else {
this.options = []; this.options = [];
} }
}, }, 500),
removeInterviewee (value) { removeInterviewee (value) {
let data = { let data = {
type: 'channel', type: 'channel',
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<img src="https://o7oe0d6qz.qnssl.com/image/icon_%E5%9F%BA%E6%9C%AC%E4%BF%A1%E6%81%AF_23_16px.png" style="height:16px;width:23px; vertical-align: middle;margin-top:-4px"> <img src="https://o7oe0d6qz.qnssl.com/image/icon_%E5%9F%BA%E6%9C%AC%E4%BF%A1%E6%81%AF_23_16px.png" style="height:16px;width:23px; vertical-align: middle;margin-top:-4px">
</span> </span>
<span style="margin-left:7px;font-size:16px;color:#0092FF" >基本信息</span> <span style="margin-left:7px;font-size:16px;color:#0092FF" >基本信息</span>
<span style="float:right;width:50px;height:24px;margin-right:5px"><Button type="primary" size='small' style="width:50px;height:24px" @click="downloadONE(detialID)" v-show="this.showBtn!==1">下载</Button></span> <span style="float:right;width:50px;height:24px;margin-right:5px"><Button type="primary" size='small' style="width:50px;height:24px" @click="downloadONE(detialID)" v-show="this.showBtn!=1">下载</Button></span>
</p> </p>
<div class="personalInformation-left"> <div class="personalInformation-left">
<p style="margin-top:20px" @click="a">姓名:{{resume&&resume.ownerName}}</p> <p style="margin-top:20px" @click="a">姓名:{{resume&&resume.ownerName}}</p>
......
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