a1300399510@qq.com 提交于 2023/04/06 -11:20:02

This commit is contained in:
XiaoMo 2023-04-06 11:20:11 +08:00
parent 2ee5112f90
commit 977f10ff7d

View File

@ -86,6 +86,20 @@
</div> </div>
</template> </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"> <template v-else-if="type == 3">
<div class="offer-content"> <div class="offer-content">
<div class="offer-content-box" v-if="tenementInfoState"> <div class="offer-content-box" v-if="tenementInfoState">
@ -108,6 +122,7 @@
</div> </div>
</div> </div>
</template> </template>
<template v-else> <template v-else>
<div class="offer-content"> <div class="offer-content">
@ -343,7 +358,24 @@ export default {
}, { }, {
key: "wechatText", key: "wechatText",
name: "微信" 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.type = data.type
this.token = data.token this.token = data.token
// if (this.type == 6) this.getOfferDetail() if (this.type == 6) this.getOfferDetail()
// else if (this.type == 5) this.getsummaryDetails() else if (this.type == 5) this.getsummaryDetails()
// else if (this.type == 3) this.getTenementDetails() else if (this.type == 3) this.getTenementDetails()
else if (this.type == 2) this.getInterviewDetails()
this.getPostList() 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() { getPostList() {
this.$http.post("/api/thread/postList", { this.$http.post("/api/thread/postList", {
@ -839,6 +889,7 @@ export default {
font-size: .36rem; font-size: .36rem;
color: #333; color: #333;
width: 7.32rem; width: 7.32rem;
white-space: break-spaces;
} }