Commit 81b0dcf3 authored by Mac's avatar Mac

1

parent 4f84a181
...@@ -161,6 +161,7 @@ ...@@ -161,6 +161,7 @@
filled filled
clearable clearable
autogrow autogrow
:disable="AccountType"
/> />
</div> </div>
</div> </div>
...@@ -261,15 +262,20 @@ ...@@ -261,15 +262,20 @@
ClassPlanId:0, ClassPlanId:0,
}, },
data:{}, data:{},
CommentList:[] CommentList:[],
AccountType:false
} }
}, },
mounted(){ created(){
this.msg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0,
this.msg.ClassPlanId = this.$route.query.ClassPlanId ? this.$route.query.ClassPlanId:0,
this.plmsg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0,
this.plmsg.ClassPlanId = this.$route.query.ClassPlanId ? this.$route.query.ClassPlanId:0,
},
mounted(){
this.msg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0;
this.msg.ClassPlanId = this.$route.query.ClassPlanId ? this.$route.query.ClassPlanId:0;
this.plmsg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0;
this.plmsg.ClassPlanId = this.$route.query.ClassPlanId ? this.$route.query.ClassPlanId:0;
let userInfo = this.getLocalStorage();
this.AccountType = userInfo.AccountType==2?false:true; //是否是教师
this.getList()//备课内容 this.getList()//备课内容
this.getCommentList()//评价 this.getCommentList()//评价
......
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