Commit 12ab2c5c authored by 罗超's avatar 罗超

1

parent 667ad243
...@@ -39,24 +39,14 @@ import { active } from 'src/pages/financial/lang/zh'; ...@@ -39,24 +39,14 @@ import { active } from 'src/pages/financial/lang/zh';
default:0 default:0
} }
}, },
watch:{
activeNav(val){
if(val!=this.currentNav){
this.currentNav=val
console.log(45,this.currentNav)
}
}
},
data() { data() {
return { return {
currentNav: 1, currentNav: this.activeNav,
schoolId:0, schoolId:0,
}; };
}, },
mounted(){
},
methods:{ methods:{
showNav(val,id){ showNav(val,id){
this.schoolId=id this.schoolId=id
......
...@@ -287,7 +287,6 @@ ...@@ -287,7 +287,6 @@
if(res.Code===1){ if(res.Code===1){
this.dataList=res.Data this.dataList=res.Data
} }
console.log(319,res)
}) })
} }
......
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
created(){ created(){
this.msg.SchoolId=this.$route.query.key this.msg.SchoolId=this.$route.query.key
this.msg.RoomId=this.$route.query.roomId this.msg.RoomId=this.$route.query.roomId
console.log(this.$route.query,this.msg)
let d=new Date(); let d=new Date();
let year =d.getFullYear(); let year =d.getFullYear();
let month=d.getMonth()+1; let month=d.getMonth()+1;
...@@ -91,8 +90,6 @@ ...@@ -91,8 +90,6 @@
getSchoolAndRoomNav({}).then(res => { getSchoolAndRoomNav({}).then(res => {
if(res.Code===1){ if(res.Code===1){
this.navData=res.Data this.navData=res.Data
// this.msg.SchoolId=res.Data[0].Key
// this.msg.RoomId=res.Data[0].RoomList[0].RoomId
that.getClassRoomTimeList() that.getClassRoomTimeList()
} }
}).catch(() => { }).catch(() => {
......
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