a1300399510@qq.com 提交于 2023/04/06 -11:20:02
This commit is contained in:
parent
2ee5112f90
commit
977f10ff7d
@ -86,6 +86,20 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template v-else-if="type == 2">
|
||||
<div class="offer-content">
|
||||
<div class="offer-content-box">
|
||||
<template v-for="(item, index) in interviewKey">
|
||||
<div class="offer-content-item flexacenter" :key="index" v-if="info[item.key]">
|
||||
<div class="offer-content-key" v-if="info[item.key]">{{ item.name }}</div>
|
||||
<div class="offer-content-value" v-html="info[item.key]"></div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template v-else-if="type == 3">
|
||||
<div class="offer-content">
|
||||
<div class="offer-content-box" v-if="tenementInfoState">
|
||||
@ -108,6 +122,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
|
||||
<div class="offer-content">
|
||||
@ -343,7 +358,24 @@ export default {
|
||||
}, {
|
||||
key: "wechatText",
|
||||
name: "微信"
|
||||
}]
|
||||
}],
|
||||
|
||||
interviewKey: [{ // 面经 字段汇总
|
||||
name: "学校",
|
||||
key: "school"
|
||||
}, {
|
||||
name: "专业",
|
||||
key: "profession"
|
||||
}, {
|
||||
name: "项目",
|
||||
key: "project"
|
||||
}, {
|
||||
name: "毕业时间",
|
||||
key: "interviewtime"
|
||||
}, {
|
||||
name: "面试过程及内容",
|
||||
key: "message"
|
||||
}],
|
||||
|
||||
};
|
||||
},
|
||||
@ -376,10 +408,10 @@ export default {
|
||||
this.type = data.type
|
||||
this.token = data.token
|
||||
|
||||
// if (this.type == 6) this.getOfferDetail()
|
||||
// else if (this.type == 5) this.getsummaryDetails()
|
||||
// else if (this.type == 3) this.getTenementDetails()
|
||||
|
||||
if (this.type == 6) this.getOfferDetail()
|
||||
else if (this.type == 5) this.getsummaryDetails()
|
||||
else if (this.type == 3) this.getTenementDetails()
|
||||
else if (this.type == 2) this.getInterviewDetails()
|
||||
this.getPostList()
|
||||
|
||||
})
|
||||
@ -474,6 +506,24 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
// 获取面经详情
|
||||
getInterviewDetails() {
|
||||
// https://app.gter.net/InterviewExperience/thread
|
||||
|
||||
this.$http.post("/InterviewExperience/thread", {
|
||||
// token: this.token,
|
||||
// tid: this.tid
|
||||
tid: 2322145,
|
||||
uniqid: "--G1tS2SCTOQyoOMiedlLKxTnFvHWjBwQezsJjvVJFwgqOtOFeYr4_LAAG5RV37ETvMl2Zd4tSCc-_dqeKpERxXsx-tPfXrUs0kUysTGLzgxYzU~",
|
||||
token: "5e3c42209eebfbab66e6f0d6c70a53c7",
|
||||
}, "tenement").then(res => {
|
||||
console.log(res);
|
||||
if (res.code != 200) return
|
||||
let data = res.data
|
||||
this.info = { ...this.info, ...data }
|
||||
})
|
||||
},
|
||||
|
||||
// 获取回复列表
|
||||
getPostList() {
|
||||
this.$http.post("/api/thread/postList", {
|
||||
@ -839,6 +889,7 @@ export default {
|
||||
font-size: .36rem;
|
||||
color: #333;
|
||||
width: 7.32rem;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user