Commit 1b75a4ea authored by 黄奎's avatar 黄奎
parents 6f0d888d bb3b5b47
...@@ -37,7 +37,10 @@ ...@@ -37,7 +37,10 @@
</q-btn>--> </q-btn>-->
<q-btn flat @click="changeMenu(3)" :color="chosenMenu==3?'primary':'blue-grey-14'" :class="[chosenMenu==3?'text-weight-bold':'']" label="我的排班计划"></q-btn> <q-btn flat @click="changeMenu(3)" :color="chosenMenu==3?'primary':'blue-grey-14'" :class="[chosenMenu==3?'text-weight-bold':'']" label="我的排班计划"></q-btn>
<q-btn flat @click="changeMenu(4)" v-if="AccountType==2" :color="chosenMenu==4?'primary':'blue-grey-14'" :class="[chosenMenu==4?'text-weight-bold':'']" label="我的上课计划"></q-btn> <q-btn flat @click="changeMenu(4)" v-if="AccountType==2" :color="chosenMenu==4?'primary':'blue-grey-14'" :class="[chosenMenu==4?'text-weight-bold':'']" label="我的上课计划"></q-btn>
<q-btn flat @click="changeMenu(6)" :color="chosenMenu==6?'primary':'blue-grey-14'" :class="[chosenMenu==6?'text-weight-bold':'']" label="活动日历"></q-btn>
</div>
<div class="bg-white col" v-if="chosenMenu==6">
<eventsCalendar></eventsCalendar>
</div> </div>
<div class="bg-white col" v-if="chosenMenu==5"> <div class="bg-white col" v-if="chosenMenu==5">
<work></work> <work></work>
...@@ -78,6 +81,7 @@ ...@@ -78,6 +81,7 @@
import mySchedule from './scheduling/mySchedule' import mySchedule from './scheduling/mySchedule'
import myClassmate from './scheduling/myClassmate'; import myClassmate from './scheduling/myClassmate';
import work from '../components/work/index' import work from '../components/work/index'
import eventsCalendar from '../components/stuMan/eventsCalendar'
export default { export default {
components:{ components:{
...@@ -87,7 +91,8 @@ ...@@ -87,7 +91,8 @@
noticeForm, noticeForm,
mySchedule, mySchedule,
myClassmate, myClassmate,
work work,
eventsCalendar
}, },
name: 'PageIndex', name: 'PageIndex',
data(){ data(){
......
...@@ -386,7 +386,12 @@ ...@@ -386,7 +386,12 @@
}, },
mounted() { mounted() {
this.getList(); if(this.$route.query.ActivityName){
this.msg.ActivityName = this.$route.query.ActivityName
this.getList();
}else{
this.getList();
}
}, },
methods: { methods: {
// getItem(item) { // getItem(item) {
......
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