Commit a0f2c88f authored by zhangderong's avatar zhangderong

待处理异常修复

parent af8efa25
......@@ -41,11 +41,11 @@ export function TODORes (parmars) {
}})
}
// 准备约面
export function TOSEE (parmars) {
return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,'',{headers: {
'Content-Type':'application/json'
}})
}
// export function TOSEE (parmars) {
// return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,'',{headers: {
// 'Content-Type':'application/json'
// }})
// }
// 备选
export function OPTION (parmars) {
return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,'',{headers: {
......
......@@ -491,17 +491,6 @@ import Router from 'vue-router';
}
})
}
if(e.target.value==1){
let parmars={
status:"TO_DO",
id:SID,
}
OPTION(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
},
addINTERVIEW(){
let parmars={
......@@ -662,7 +651,7 @@ import Router from 'vue-router';
}
})
}
if(e.target.value==2){
if(e.target.value==4){
let parmars={
status:"TO_DO",
id:SID,
......@@ -793,6 +782,7 @@ import Router from 'vue-router';
});
return
}
this.ajaxData=[]
sousuoList(parmars).then(res=>{
let Ishow=res.data.items
if(res.data.success==true){
......@@ -1065,6 +1055,8 @@ import Router from 'vue-router';
//改变页码
pageChange(page){
this.pageT=page
this.delateARRALL=[]
this.flowStatusarr=[]
this.SouSuo(this.pageT)
},
pageSizeChange(page){
......@@ -1184,16 +1176,16 @@ color: #0092FF
margin-left:10%
}
.state span:nth-child(5){
margin-left:10px
margin-left:15px
}
.state span:nth-child(7){
margin-left:10%
}
.state span:nth-child(8){
margin-left:10%
margin-left:8%
}
.state span:nth-child(9){
margin-left:10%
margin-left:8%
}
.state span:nth-child(11){
margin-left:10%
......
......@@ -290,7 +290,7 @@
</template>
<script>
import moment from 'moment'
import {adoptOneSeeResumeList, serchList,downloadone,sousuoList,seedetail,PASS,TOSEE,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview} from '../../api/resume.server.js'
import {adoptOneSeeResumeList, serchList,downloadone,sousuoList,seedetail,PASS,TOSEE,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,TODORes} from '../../api/resume.server.js'
import {
sapi
} from '../../config/env.config'
......@@ -471,18 +471,7 @@ export default {
});
}
},
// 准备约面
tosee(){
let parmars={
status:"TO_SEE",
id:this.toseeid,
}
TOSEE(parmars).then(res=>{
if(res.data.success==true){
this.modal2=false
}
})
},
//操作处理面试状态
selectFn1(e,SID) {
this.toseeid=SID
......@@ -551,6 +540,17 @@ export default {
}
})
}
if(e.target.value==4){
let parmars={
status:"TO_DO",
id:SID,
}
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
},
selectFn3(e,SID) {
this.toseeid=SID
......@@ -586,6 +586,17 @@ export default {
}
})
}
if(e.target.value==4){
let parmars={
status:"TO_DO",
id:SID,
}
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
},
selectFn4(e,SID) {
this.toseeid=SID
......@@ -621,6 +632,17 @@ export default {
}
})
}
if(e.target.value==4){
let parmars={
status:"TO_DO",
id:SID,
}
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
},
addINTERVIEW(){
let parmars={
......@@ -678,6 +700,8 @@ export default {
},
pageChange(page){
this.pageT=page
this.delateARRALL=[]
this.flowStatusarr=[]
this.SouSuo(this.pageT)
},
pageSizeChange(page){
......
......@@ -124,7 +124,7 @@
<h3 style="text-align:center">提示</h3>
<p style="text-align:center">解绑后如你需要再次绑定该邮箱,需重新输入账号,密码等信息重新绑定,是否确定解绑?</p>
<div slot='footer' style="text-align:center">
<Button type='primary' @click='modal6=false'>取消</Button>
<Button type='primary' @click='pushlistModal6'>取消</Button>
<Button type='primary' @click="UntyingAll">确认</Button>
</div>
</Modal>
......@@ -234,7 +234,6 @@ export default {
if(res.data.success==false){
this.modal3=false
this.Massage=res.data.body.message
console.log(53256236652,this.Massage)
this.$Notice.error({
title: '提示',
desc: this.Massage,
......@@ -271,6 +270,7 @@ export default {
item.belongs=item.belongs
item.emailName=item.emailName
item.id=item.id
item.STA=false
item.syncFlag=item.syncFlag
item.syncMailMsg=item.syncMailMsg
item.c= item.syncMailMsg==null? item.syncMailMsg:item.syncMailMsg.substring(0,2)
......@@ -345,7 +345,7 @@ export default {
this.$Notice.success({
title: '提示',
desc: '解绑成功',
duration:'2'
duration:2
});
this.modal5=false
this.SearchList(this.pageT)
......@@ -354,6 +354,14 @@ export default {
},
//批量解绑弹出框
UntyingAllmodeal(){
if(this.UntyingAllARR.length==0){
this.$Notice.error({
title: '提示',
desc: '选项不能为空',
duration:2
});
return
}
this.modal6=true
},
// 选择批量解绑的项
......@@ -367,7 +375,7 @@ export default {
this.$Notice.success({
title: '提示',
desc: '解绑成功',
duration:'2'
duration:2
});
this.modal6=false
this.SearchList(this.pageT)
......@@ -379,6 +387,11 @@ export default {
this.modal2=false
this.SearchList(this.pageT)
},
pushlistModal6(){
this.modal6=false
this.UntyingAllARR=[]
this.SearchList(this.pageT)
},
isadminmethods(){
this.admin=localStorage.getItem('isADMIN')
let c=JSON.parse(this.admin)
......
......@@ -36,6 +36,16 @@
<Button @click='closeModal' v-show="activeT==true">完成</Button>
</div>
</Modal>
<Modal v-model='modal6' :closable='false' :mask-closable='false' width='230px'>
<div>
<h4 style="font-size:20px;text-align:center;margin-bottom:20px">提示</h4>
<p>删除后不可恢复,是否永久删除简历</p>
</div>
<div slot='footer' >
<Button @click='modal6=false'>取消</Button>
<Button @click='delateONE'>确定</Button>
</div>
</Modal>
</div>
<div class="leftcontrentFotter">
<h5 style="width:100%;height:40px;background:rgb(0,176,160);text-align:center;line-height:40px;color:white;font-size:20px">上传记录</h5>
......@@ -55,7 +65,7 @@
<span style="color:Grey;margin:5px 0 0 10px;display:inline-block">{{item.createTime}}入库|</span>
<span>{{item.creator}}</span>
</p>
<Button type='primary' style="margin:-55px 0 0 83%;width:60px;z-index:99" @click="delateONE(item.resumeId)">删除</Button>
<Button type='primary' style="margin:-55px 0 0 83%;width:60px;z-index:99" @click="delateONEModal(item.resumeId)">删除</Button>
</div>
</div>
</div>
......@@ -208,6 +218,7 @@ import {uploadFile} from '../../service/ajax'
pageSize:30,
pageIndex:1,
},
Sid:'',
totalSize:null,
uploadModal: false,
accept: '.html,.doc,.docx,.txt,.pdf',
......@@ -227,6 +238,7 @@ import {uploadFile} from '../../service/ajax'
modal3:false,
modal1:false,
modal2:false,
modal6:false,
Filename:'',
uploadNUmber:'',
// uploadList:[],
......@@ -419,32 +431,38 @@ import {uploadFile} from '../../service/ajax'
}
})
},
// 获取简历详情页数据
getResumeData(sid){
this.downloadId=sid
let parmars={
resumeId:sid
}
serchRESUMEdetail(parmars).then(res=>{
this.resume=res.data.body.resume
this.riList=res.data.body.riList
this.roList=res.data.body.roList
this.reList=res.data.body.reList
this.rpList=res.data.body.rpList
})
},
// 删除单条简历
delateONE(idS){
this.delateARRALL.push(idS)
// 获取简历详情页数据
getResumeData(sid){
this.downloadId=sid
let parmars={
resumeId:sid
}
serchRESUMEdetail(parmars).then(res=>{
this.resume=res.data.body.resume
this.riList=res.data.body.riList
this.roList=res.data.body.roList
this.reList=res.data.body.reList
this.rpList=res.data.body.rpList
})
},
// 删除提示
delateONEModal(vid){
this.Sid=vid
this.modal6=true
},
// 删除单条简历
delateONE(){
this.delateARRALL.push(this.Sid)
deleteREsumeUPLOad(this.delateARRALL).then(res=>{
if(res.data.success==true){
this.modal6=false
this.resume={}
this.riList=[]
this.roList=[]
this.rpList=[]
this.reList=[]
this.downloadId=''
this.serchlist()
this.serchlist()
}
})
},
......
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