a1300399510@qq.com 提交于 2023/04/04 -12:20:02
This commit is contained in:
parent
8dc77f9181
commit
927901b810
@ -309,6 +309,7 @@ export default {
|
||||
name: "使用成绩"
|
||||
}],
|
||||
shareurl: "", // 分享链接
|
||||
collegelist: [],// 总结里的 offer 列表数据
|
||||
|
||||
|
||||
};
|
||||
@ -330,6 +331,7 @@ export default {
|
||||
if (res.code != 200) return
|
||||
|
||||
let data = res.data
|
||||
console.log("data", data);
|
||||
this.info = data.info
|
||||
this.type = data.type
|
||||
this.token = data.token
|
||||
@ -347,15 +349,12 @@ export default {
|
||||
}, 'offer').then(res => {
|
||||
let data = res.data
|
||||
let offerinfo = data.offerinfo
|
||||
console.log("offerinfo", offerinfo);
|
||||
let useperformanceStr = ""
|
||||
|
||||
offerinfo.useperformance && offerinfo.useperformance.forEach((el, index) => {
|
||||
useperformanceStr += el + (offerinfo.useperformance.length - 1 == index ? '' : '、')
|
||||
})
|
||||
|
||||
offerinfo['useperformanceStr'] = useperformanceStr
|
||||
|
||||
offerinfo['schoolName'] = offerinfo.school.name
|
||||
|
||||
this.offerinfo = offerinfo
|
||||
@ -365,15 +364,14 @@ export default {
|
||||
|
||||
// 获取总结详情
|
||||
getsummaryDetails() {
|
||||
this.$http.post("/api/details/summary", {
|
||||
token: this.token
|
||||
}, 'offer').then(res => {
|
||||
this.$http.get(`/api/forum/details?id=${this.token}`, 'offer').then(res => {
|
||||
let data = res.data
|
||||
let offercollege = data.offercollege
|
||||
|
||||
console.log("offercollege", offercollege);
|
||||
|
||||
console.log("data", data);
|
||||
let collegelist = data.collegelist
|
||||
|
||||
// console.log("offercollege", offercollege);
|
||||
this.info = { ...this.info, ...data.info }
|
||||
this.collegelist = collegelist
|
||||
this.shareurl = data.shareurl
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user