From 34502bb7ebe46dbfd3e169484e3c66405dc2e8e9 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 21 五月 2025 11:19:19 +0800
Subject: [PATCH] bug修改
---
src/views/curriculum/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/curriculum/index.vue b/src/views/curriculum/index.vue
index de71a49..99960f4 100644
--- a/src/views/curriculum/index.vue
+++ b/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,
--
Gitblit v1.8.0