Commit 39afc5c9 authored by 张海景's avatar 张海景

update:删除不需要的代码

parent 54271902
......@@ -43,7 +43,6 @@
<script>
import { listCalholiday } from "@/api/mes/cal/calholiday";
import { listCalendars } from "@/api/mes/cal/calendar";
import calendar from '@/utils/calendar';
export default {
name: 'CalendarTypeView',
......@@ -69,12 +68,7 @@ export default {
watch:{
date:{
handler(newVal,oldVal){
console.log(newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate());
// this.teamShiftQueryParams.theDay = newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate();
this.queryParams.theDay = newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate();
// listCalendars(this.teamShiftQueryParams).then(response =>{
// this.calendarDayList = response.data;
// });
this.getList();
}
}
......
......@@ -53,7 +53,6 @@
<script>
import { listAllTeam } from "@/api/mes/cal/team";
import { listCalholiday } from "@/api/mes/cal/calholiday";
import { listCalendars } from "@/api/mes/cal/calendar";
import calendar from '@/utils/calendar';
export default {
name: 'TeamView',
......@@ -80,12 +79,7 @@ export default {
watch:{
date:{
handler(newVal,oldVal){
console.log(newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate());
// this.teamShiftQueryParams.theDay = newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate();
this.queryParams.theDay = newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate();
// listCalendars(this.teamShiftQueryParams).then(response =>{
// this.calendarDayList = response.data;
// });
this.getList();
}
}
......@@ -128,10 +122,6 @@ export default {
this.loading = true;
this.queryParams.workunitName = teamId;
this.queryParams.theDay = this.date.getFullYear()+'-'+(this.date.getMonth()+1)+'-'+this.date.getDate();
// listCalendars(this.teamShiftQueryParams).then(response =>{
// this.calendarDayList = response.data;
// this.loading = false;
// });
this.getList()
},
isFestival(slotDate, slotData) {
......
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