Commit 5777141b authored by FE-安焕焕's avatar FE-安焕焕 👣

简历详情

parent 047691c2
......@@ -24,7 +24,7 @@ export function sousuoList (parmars) {
}
//查看简历详情页
export function seedetail (parmars) {
return axios.get(`${sapi}/api/html/get/${parmars.resumeId}`,{headers: {
return axios.get(`${sapi}/api/html/get/${parmars.resumeId}?token=${parmars.token}`,{headers: {
'Content-Type':'application/json'
}})
}
......
......@@ -124,6 +124,7 @@
</template>
<script>
import {seedetail} from '../../api/resume.server'
import localStorage from '../../service/localstorage.service.js'
import {
sapi
}from '../../config'
......@@ -144,9 +145,9 @@ export default {
getDETAIL(){
this.detialID=this.$route.query.id
this.showBtn=this.$route.query.noShowBtn
console.log(this.showBtn,555555)
let parmars={
resumeId:this.$route.query.id
resumeId:this.$route.query.id,
token: localStorage.get('token')
}
seedetail(parmars).then(res=>{
this.resume=res.data.body.resume
......@@ -166,7 +167,6 @@ export default {
},
mounted(){
this.getDETAIL()
console.log(this.$route.query.noShowBtn,8888)
}
}
</script>
......
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