Commit af8efa25 authored by zhangderong's avatar zhangderong

上传多份文件上传错误

parent 7372071b
...@@ -30,7 +30,12 @@ export function seedetail (parmars) { ...@@ -30,7 +30,12 @@ export function seedetail (parmars) {
} }
// 简历pass // 简历pass
export function PASS (parmars) { export function PASS (parmars) {
console.log(parmars) return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,'',{headers: {
'Content-Type':'application/json'
}})
}
//待处理
export function TODORes (parmars) {
return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,'',{headers: { return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,'',{headers: {
'Content-Type':'application/json' 'Content-Type':'application/json'
}}) }})
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<span style="margin:0 20px 0 20px" v-if="item.flowStatus=='HAS_SENT_OFFER'">已发offer</span> <span style="margin:0 20px 0 20px" v-if="item.flowStatus=='HAS_SENT_OFFER'">已发offer</span>
<span style="margin:0 20px 0 20px" v-if="item.flowStatus=='TO_RESULT'">面试结果待定</span> <span style="margin:0 20px 0 20px" v-if="item.flowStatus=='TO_RESULT'">面试结果待定</span>
<span style="margin:0 20px 0 20px" v-if="item.flowStatus=='ARRIVED'">已到达</span> <span style="margin:0 20px 0 20px" v-if="item.flowStatus=='ARRIVED'">已到达</span>
<span> <span v-show="item.flowStatus!=='END'">
<select style="border:0;margin-right:10px;float:right;cursor:pointer" @change="selectchangeElement($event,item.id)" v-model='statusValue'> <select style="border:0;margin-right:10px;float:right;cursor:pointer" @change="selectchangeElement($event,item.id)" v-model='statusValue'>
<option value="0" style="color:#2d8cf0">变更状态 ∨</option> <option value="0" style="color:#2d8cf0">变更状态 ∨</option>
<option value="1" style="color:#2d8cf0">已邀约 </option> <option value="1" style="color:#2d8cf0">已邀约 </option>
...@@ -63,11 +63,16 @@ ...@@ -63,11 +63,16 @@
<option value="4" style="color:#2d8cf0">面试淘汰</option> <option value="4" style="color:#2d8cf0">面试淘汰</option>
<option value="5" style="color:#2d8cf0">待offer</option> <option value="5" style="color:#2d8cf0">待offer</option>
<option value="6" style="color:#2d8cf0">已发offer</option> <option value="6" style="color:#2d8cf0">已发offer</option>
<!-- <option value="7" style="color:#2d8cf0">待入职</option> -->
<option value="8" style="color:#2d8cf0">未入职</option> <option value="8" style="color:#2d8cf0">未入职</option>
<option value="9" style="color:#2d8cf0">已入职</option> <option value="9" style="color:#2d8cf0">已入职</option>
</select> </select>
</span> </span>
<span v-show="item.flowStatus=='END'" style="float:right;margin-right:10px;">
<!-- <select style="border:0;margin-right:10px;float:right;cursor:pointer;color:Grey" placeholder="变更状态 ∨">
<option value="0" style="color:Grey">变更状态 ∨</option>
</select> -->
变更状态 ∨
</span>
</p> </p>
</div> </div>
<div class="contentRecord" style="text-align:center"> <div class="contentRecord" style="text-align:center">
......
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
</template> </template>
<script> <script>
import moment from 'moment' import moment from 'moment'
import { serchList,downloadone,sousuoList,seedetail,PASS,TOSEE,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,updatastatus} from '../../api/resume.server' import { serchList,downloadone,sousuoList,seedetail,PASS,TOSEE,OPTION,deleteREsume,downloadOne,exportLIST,recodeLIST,addinterview,updatastatus,TODORes} from '../../api/resume.server'
import qs from 'qs' import qs from 'qs'
import { import {
sapi sapi
...@@ -491,6 +491,17 @@ import Router from 'vue-router'; ...@@ -491,6 +491,17 @@ 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(){ addINTERVIEW(){
let parmars={ let parmars={
...@@ -555,6 +566,17 @@ import Router from 'vue-router'; ...@@ -555,6 +566,17 @@ import Router from 'vue-router';
} }
}) })
} }
if(e.target.value==2){
let parmars={
status:"TO_DO",
id:SID,
}
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
}, },
selectFn3(e,SID,itemsta) { selectFn3(e,SID,itemsta) {
this.ITEMSTA=itemsta this.ITEMSTA=itemsta
...@@ -592,6 +614,17 @@ import Router from 'vue-router'; ...@@ -592,6 +614,17 @@ import Router from 'vue-router';
} }
}) })
} }
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,itemsta) { selectFn4(e,SID,itemsta) {
this.ITEMSTA=itemsta this.ITEMSTA=itemsta
...@@ -629,6 +662,17 @@ import Router from 'vue-router'; ...@@ -629,6 +662,17 @@ import Router from 'vue-router';
} }
}) })
} }
if(e.target.value==2){
let parmars={
status:"TO_DO",
id:SID,
}
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
}, },
//查询简历列表 //查询简历列表
SearchList(page){ SearchList(page){
......
...@@ -213,9 +213,9 @@ import {uploadFile} from '../../service/ajax' ...@@ -213,9 +213,9 @@ import {uploadFile} from '../../service/ajax'
accept: '.html,.doc,.docx,.txt,.pdf', accept: '.html,.doc,.docx,.txt,.pdf',
fileSize:2048, fileSize:2048,
progressStatus: { progressStatus: {
'0': 'nomal', '0': 'active',
'2': 'wrong', '2': 'wrong',
'1': 'active' '1': 'wrong'
}, },
files: null, files: null,
activeT:false, activeT:false,
......
...@@ -5,7 +5,7 @@ import Vue from 'vue' ...@@ -5,7 +5,7 @@ import Vue from 'vue'
import router from '../router/index.js' import router from '../router/index.js'
// axios.defaults.withCredentials = true // axios.defaults.withCredentials = true
var instance = axios.create({}); var instance = axios.create({});
instance.defaults.timeout = 2500; instance.defaults.timeout = 3600000;
instance.defaults.withCredentials = true; instance.defaults.withCredentials = true;
instance.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; instance.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
......
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