a1300399510@qq.com 提交于 2023/04/04 -12:40:02
This commit is contained in:
@@ -284,7 +284,7 @@ export default {
|
||||
token: "",
|
||||
offerinfo: {}, // offer捷报详情
|
||||
offerinfoKey: [{
|
||||
key: "schoolName",
|
||||
key: "schoolname",
|
||||
name: "申请学校"
|
||||
}, {
|
||||
key: "degree",
|
||||
@@ -355,7 +355,7 @@ export default {
|
||||
})
|
||||
|
||||
offerinfo['useperformanceStr'] = useperformanceStr
|
||||
offerinfo['schoolName'] = offerinfo.school.name
|
||||
offerinfo['schoolname'] = offerinfo.school.name
|
||||
|
||||
this.offerinfo = offerinfo
|
||||
this.shareurl = data.shareurl
|
||||
@@ -364,13 +364,34 @@ export default {
|
||||
|
||||
// 获取总结详情
|
||||
getsummaryDetails() {
|
||||
this.$http.get(`/api/forum/details?id=${this.token}`, 'offer').then(res => {
|
||||
this.$http.get(`/api/forum/details`, {
|
||||
id: this.token
|
||||
}, 'offer').then(res => {
|
||||
let data = res.data
|
||||
console.log("data", data);
|
||||
// console.log("data", data);
|
||||
let collegelist = data.collegelist
|
||||
console.log(collegelist);
|
||||
|
||||
// console.log("offercollege", offercollege);
|
||||
this.info = { ...this.info, ...data.info }
|
||||
|
||||
collegelist.forEach((el, index) => {
|
||||
let useperformanceStr = ""
|
||||
el.useperformance && el.useperformance.forEach((el, index) => {
|
||||
console.log(el);
|
||||
// useperformanceStr += el + (el.useperformance.length - 1 == index ? '' : '、')
|
||||
})
|
||||
el['useperformanceStr'] = useperformanceStr
|
||||
|
||||
})
|
||||
|
||||
// let useperformanceStr = ""
|
||||
// offerinfo.useperformance && offerinfo.useperformance.forEach((el, index) => {
|
||||
// useperformanceStr += el + (offerinfo.useperformance.length - 1 == index ? '' : '、')
|
||||
// })
|
||||
|
||||
// offerinfo['useperformanceStr'] = useperformanceStr
|
||||
console.log(collegelist);
|
||||
|
||||
this.collegelist = collegelist
|
||||
this.shareurl = data.shareurl
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user