Commit 36897b09 authored by 罗超's avatar 罗超

1

parent f4e048f8
...@@ -520,14 +520,16 @@ ...@@ -520,14 +520,16 @@
LessonPlanId: 0, LessonPlanId: 0,
ClassId: 0, ClassId: 0,
ClassPlanId: 0, ClassPlanId: 0,
TeacherId: 0 TeacherId: 0,
ClassDate:"",
}, },
data: {}, data: {},
CommentList: [], CommentList: [],
AccountType: true, AccountType: true,
scoreMsg: { scoreMsg: {
ClassPlanId: 0, ClassPlanId: 0,
ClassId: 0 ClassId: 0,
ClassDate:"",
}, },
Score: 0, Score: 0,
nowDate: '', //现在时间 nowDate: '', //现在时间
...@@ -553,7 +555,6 @@ ...@@ -553,7 +555,6 @@
created() { created() {
let data=JSON.parse(localStorage.getItem("loginUserInfo")) let data=JSON.parse(localStorage.getItem("loginUserInfo"))
this.loginId=data.data.Id this.loginId=data.data.Id
console.log(556,this.loginId)
}, },
mounted() { mounted() {
this.msg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId : 0; this.msg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId : 0;
...@@ -577,8 +578,7 @@ ...@@ -577,8 +578,7 @@
this.isShowBtn = false; this.isShowBtn = false;
} }
this.getList() //备课内容 this.getList() //备课内容
this.getCommentList() //评价
this.getUserComment();
var today = new Date(); var today = new Date();
var y = today.getFullYear(); var y = today.getFullYear();
...@@ -631,6 +631,10 @@ ...@@ -631,6 +631,10 @@
this.ImgList = this.data.LessonPlanList[0].ProjectPicList; this.ImgList = this.data.LessonPlanList[0].ProjectPicList;
// this.isShowBtn=false // this.isShowBtn=false
} }
this.plmsg.ClassDate=res.Data.ClassStartTime
this.scoreMsg.ClassDate=res.Data.ClassStartTime
this.getCommentList() //评价
this.getUserComment();
} }
}) })
}, },
...@@ -638,6 +642,7 @@ ...@@ -638,6 +642,7 @@
getLessonCommentList({ getLessonCommentList({
ClassId: this.msg.ClassId, ClassId: this.msg.ClassId,
ClassPlanId: this.msg.ClassPlanId, ClassPlanId: this.msg.ClassPlanId,
ClassDate:this.plmsg.ClassDate,
}).then(res => { }).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.CommentList = res.Data this.CommentList = res.Data
......
...@@ -333,10 +333,11 @@ ...@@ -333,10 +333,11 @@
<span class="beikeBtn" v-if="AccountType&&item1.LessonPlanNum===0" @click="goBeike(item1)">备课</span> <span class="beikeBtn" v-if="AccountType&&item1.LessonPlanNum===0" @click="goBeike(item1)">备课</span>
<span style="color:#3FC4FF;font-size:12px;cursor:pointer" v-if="item1.LessonPlanSummaryNum>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">已反馈</span> <span style="color:#3FC4FF;font-size:12px;cursor:pointer" v-if="item1.LessonPlanSummaryNum>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">已反馈</span>
<span style="color:#FFA800;font-size:12px;" v-if="item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0">未反馈</span> <span style="color:#FFA800;font-size:12px;" v-if="item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0">未反馈</span>
<span class="fankuiBtn" v-if="AccountType&&item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">反馈</span>
<span style="color:#3FC4FF;font-size:12px;margin-left:20px;cursor:pointer" v-if="item1.ParentFanKuiStatus>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">主管已反馈</span> <span style="color:#3FC4FF;font-size:12px;margin-left:20px;cursor:pointer" v-if="item1.ParentFanKuiStatus>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">主管已反馈</span>
<span style="color:#FFA800;font-size:12px;margin-left:20px;" v-if="item1.ParentFanKuiStatus==0&&item1.LessonPlanNum>0">主管未反馈</span> <span style="color:#FFA800;font-size:12px;margin-left:20px;" v-if="item1.ParentFanKuiStatus==0&&item1.LessonPlanNum>0">主管未反馈</span>
<span class="fankuiBtn" v-if="AccountType&&item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">反馈</span>
</div> </div>
</div> </div>
<div class="TeacherInfo_List" v-for="(item,index) in item1.planListTeacher"> <div class="TeacherInfo_List" v-for="(item,index) in item1.planListTeacher">
......
...@@ -346,12 +346,13 @@ ...@@ -346,12 +346,13 @@
v-if="item1.LessonPlanSummaryNum>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">已反馈</span> v-if="item1.LessonPlanSummaryNum>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">已反馈</span>
<span style="color:#FFA800;font-size:12px;" <span style="color:#FFA800;font-size:12px;"
v-if="item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0">未反馈</span> v-if="item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0">未反馈</span>
<span class="fankuiBtn" v-if="AccountType&&item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0"
@click="goyibeike(item1)">反馈</span>
<span style="color:#3FC4FF;font-size:12px;margin-left:20px;cursor:pointer" <span style="color:#3FC4FF;font-size:12px;margin-left:20px;cursor:pointer"
v-if="item1.ParentFanKuiStatus>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">主管已反馈</span> v-if="item1.ParentFanKuiStatus>0&&item1.LessonPlanNum>0" @click="goyibeike(item1)">主管已反馈</span>
<span style="color:#FFA800;font-size:12px;margin-left:20px;" <span style="color:#FFA800;font-size:12px;margin-left:20px;"
v-if="item1.ParentFanKuiStatus==0&&item1.LessonPlanNum>0">主管未反馈</span> v-if="item1.ParentFanKuiStatus==0&&item1.LessonPlanNum>0">主管未反馈</span>
<span class="fankuiBtn" v-if="AccountType&&item1.LessonPlanSummaryNum==0&&item1.LessonPlanNum>0"
@click="goyibeike(item1)">反馈</span>
</div> </div>
</div> </div>
<div class="TeacherInfo_List" v-for="(item,index) in item1.planListTeacher"> <div class="TeacherInfo_List" v-for="(item,index) in item1.planListTeacher">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment