From 21cecfa1c6580600cba8c5f67bde6cf4d997bea5 Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Fri, 10 Jan 2025 08:52:17 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=BA=E7=AB=AF?=
=?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=97=A5=E5=8E=86=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.production | 3 ++
src/views/site/studentWdkc/studentRili.vue | 43 +++++++++++++++++++---
2 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/.env.production b/.env.production
index 554cda1..9f18d7b 100644
--- a/.env.production
+++ b/.env.production
@@ -21,12 +21,15 @@ VITE_GLOB_API_URL=/jeecg-boot
#后台接口全路径地址(必填)
# VITE_GLOB_DOMAIN_URL=https://zxkccx.webvpn.nenu.edu.cn/jeecg-boot
VITE_GLOB_DOMAIN_URL=https://smartedu.nenu.edu.cn/jeecg-boot
+# VITE_GLOB_DOMAIN_URL=https://xxhbtest2.nenu.edu.cn/jeecg-boot
+#VITE_GLOB_DOMAIN_URL=http://210.47.29.177
# VITE_GLOB_DOMAIN_URL=https://kczxcs.nenu.edu.cn/jeecg-boot
# VITE_GLOB_DOMAIN_URL=http://210.47.29.100/jeecg-boot
#RTC服务器地址
# VITE_GLOB_RTC_SERVER = https://zxkccx.webvpn.nenu.edu.cn:8081
VITE_GLOB_RTC_SERVER = https://smartedu.nenu.edu.cn:8081
+# VITE_GLOB_RTC_SERVER = https://xxhbtest2.nenu.edu.cn:8081
# 接口父路径前缀
VITE_GLOB_API_URL_PREFIX=
diff --git a/src/views/site/studentWdkc/studentRili.vue b/src/views/site/studentWdkc/studentRili.vue
index 1815361..3a28db0 100644
--- a/src/views/site/studentWdkc/studentRili.vue
+++ b/src/views/site/studentWdkc/studentRili.vue
@@ -2,11 +2,29 @@
-
+
+
+
+
+
+
+
+
+
+ 有
+
+
+
+
+
@@ -32,6 +50,21 @@ const getListData = (value: Dayjs) => {
return [];
}
};
+//判断是否有课
+const getSfyk = (value: Dayjs) => {
+ //将当前日历循环到的日子格式化为yyyy-MM-dd
+ const formattedDate = value.format('YYYY-MM-DD');
+ if (formattedDate.substring(0, 7) == tday.value) {
+ var listSfyk = studentKclist.value.filter(item => item.skrq === formattedDate)
+ if(listSfyk.length>0){
+ return true;
+ }else{
+ return false;
+ }
+ } else {
+ return false;
+ }
+};
const onPanelChange = (value: Dayjs) => {
tday.value = dateFormat(value, "yyyy-MM");