|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<!-- 成果展示 项目成果展示 -->
|
|
<!-- 成果展示 项目成果展示 -->
|
|
- <div class="rs1apply">
|
|
|
|
|
|
+ <div class="rs1apply" v-loading="loading">
|
|
<!-- 头部展示区开始 -->
|
|
<!-- 头部展示区开始 -->
|
|
<div class="header">
|
|
<div class="header">
|
|
<div class="imgBlock">
|
|
<div class="imgBlock">
|
|
@@ -478,6 +478,7 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
pageState:0,
|
|
pageState:0,
|
|
|
|
+ loading:false,
|
|
TitleMessage:{ClassName:"",EndTime:"",TypeName:"",beginTime:"",brief:"",course_student:[],image:"",pro_leader:"",title:""},
|
|
TitleMessage:{ClassName:"",EndTime:"",TypeName:"",beginTime:"",brief:"",course_student:[],image:"",pro_leader:"",title:""},
|
|
DetailMessage:[],
|
|
DetailMessage:[],
|
|
ProjectFile:[],
|
|
ProjectFile:[],
|
|
@@ -495,13 +496,13 @@
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
getData(){
|
|
getData(){
|
|
|
|
+ this.loading = true;
|
|
this.ActivityLookFile = [];
|
|
this.ActivityLookFile = [];
|
|
this.ajax.get(this.$store.state.api+"/GetProjectDetailIsConclusion",{
|
|
this.ajax.get(this.$store.state.api+"/GetProjectDetailIsConclusion",{
|
|
uid:this.$store.state.userInfo.userid,
|
|
uid:this.$store.state.userInfo.userid,
|
|
pid:this.$route.query["Id"]
|
|
pid:this.$route.query["Id"]
|
|
}).then(res=>{
|
|
}).then(res=>{
|
|
let FormData = res.data;
|
|
let FormData = res.data;
|
|
- console.log(FormData)
|
|
|
|
this.TitleMessage = FormData[0][0]
|
|
this.TitleMessage = FormData[0][0]
|
|
this.TitleMessage['course_student'] = JSON.parse(this.TitleMessage['course_student']);
|
|
this.TitleMessage['course_student'] = JSON.parse(this.TitleMessage['course_student']);
|
|
this.DetailMessage= JSON.parse(FormData[1][0]['chapters'])[0];
|
|
this.DetailMessage= JSON.parse(FormData[1][0]['chapters'])[0];
|
|
@@ -521,8 +522,8 @@
|
|
}else this.ActivityLookFile.push({url:"",type:""})
|
|
}else this.ActivityLookFile.push({url:"",type:""})
|
|
})
|
|
})
|
|
};
|
|
};
|
|
- console.log(this.ActivityLookFile)
|
|
|
|
if(JSON.parse(FormData[5][0]['endProjectRemark'])!=null)this.endProjectRemark = JSON.parse(FormData[5][0]['endProjectRemark']);
|
|
if(JSON.parse(FormData[5][0]['endProjectRemark'])!=null)this.endProjectRemark = JSON.parse(FormData[5][0]['endProjectRemark']);
|
|
|
|
+ this.loading = false;
|
|
}).catch(err=>{
|
|
}).catch(err=>{
|
|
console.log(err)
|
|
console.log(err)
|
|
})
|
|
})
|