xbx #70

Merged
theluyuan merged 11 commits from xbx into master 2020-10-25 14:44:38 +00:00
Showing only changes of commit b4d0efd059 - Show all commits

View File

@ -6,7 +6,7 @@
上一周 上一周
</div> </div>
2020年10月 2020年10月
<a-button type="primary" class="button"> 月日历 </a-button> <a-button type="primary" class="button" @click="navto()"> 月日历 </a-button>
<div @click="zhou++"> <div @click="zhou++">
下一周 下一周
<img src="" alt="" /> <img src="" alt="" />
@ -211,6 +211,7 @@ import { defineComponent, ref, watch } from "vue";
import { getDay, gethour, getminute, gettime, getweek } from "@/utils/date"; import { getDay, gethour, getminute, gettime, getweek } from "@/utils/date";
import store from '@/store'; import store from '@/store';
import { getdatelist, userinfo } from '@/api'; import { getdatelist, userinfo } from '@/api';
import router from '@/router';
export default defineComponent({ export default defineComponent({
props: {}, props: {},
@ -247,9 +248,13 @@ export default defineComponent({
console.log(week.value); console.log(week.value);
getdates(userid) getdates(userid)
}); });
function navto(){
router.push("/regime/date")
}
return { return {
zhou, zhou,
week, week,
navto
}; };
}, },
}); });