zhanghua
2024-11-05 5fb67b6436f1d0a5e5f2035e59845b6ef9e0d7d5
src/views/curriculum/index.vue
@@ -188,7 +188,7 @@
  methods: {
    getCourses() {
      let data = {
        staffId: JSON.parse(localStorage.getItem("user")).staffs[0].id,
        staffId: JSON.parse(localStorage.getItem("selectStaff")).id,
        day: this.getYMD(this.time),
      };
      getBySessionExistsOfDay(data).then((res) => {
@@ -197,7 +197,7 @@
          courseIds.push(i.id);
        });
        let params = {
          staffId: JSON.parse(localStorage.getItem("user")).staffs[0].id,
          staffId: JSON.parse(localStorage.getItem("selectStaff")).id,
          beginDate: this.getYMD(this.time),
          endDate: this.getYMD(this.time),
          courseIds: courseIds,