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

简历详情

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