Procházet zdrojové kódy

教师发展合并

吴朋磊 před 2 týdny
rodič
revize
0e24e150ed
1 změnil soubory, kde provedl 8 přidání a 6 odebrání
  1. 8 6
      pages/workspace/index.vue

+ 8 - 6
pages/workspace/index.vue

@@ -3,7 +3,7 @@
 		:style="{ paddingTop: statusBarHeight + 160 + 'rpx', paddingBottom: safeAreaBottom + 150 + 'rpx' }">
 		<page-header></page-header>
 		<scroll-view scroll-y class="workspace_content">
-			<!-- 系统列表11 -->
+			<!-- 系统列表 -->
 			<view class="system_list">
 				<template v-if="largeCard?.visible">
 					<view class="system_grid_with_large">
@@ -147,7 +147,6 @@ import CommonTabbar from '@/components/commonTabbar.vue';
 import { useSafeArea } from '@/common/safeArea';
 
 const store = useStore();
-const schoolName = ref('');
 const { statusBarHeight, safeAreaBottom, initSafeArea } = useSafeArea();
 
 const systemItems = ref([
@@ -157,7 +156,7 @@ const systemItems = ref([
 	{ name: '教师研修', key: 'teacherStudy', image: '/static/image/workspace/icon3.png', isLarge: false, visible: true },
 	{ name: '学生学习', key: 'studentStudy', image: '/static/image/workspace/icon4.png', isLarge: false, visible: true },
 	{ name: '智能选课', key: '', image: '/static/image/workspace/icon5.png', isLarge: false, visible: true },
-	{ name: '教师发展', key: 'teacherHonor', image: '/static/image/workspace/icon6.png', isLarge: false, visible: true },
+	{ name: '教师发展', key: '', image: '/static/image/workspace/icon6.png', isLarge: false, visible: true },
 	{ name: '协同备课', key: '', image: '/static/image/workspace/icon7.png', isLarge: false, visible: true },
 	{ name: '校内通知', key: 'notice', image: '/static/image/workspace/icon8.png', isLarge: false, visible: true },
 	{ name: '评教评学', key: '', image: '/static/image/workspace/icon9.png', isLarge: false, visible: true },
@@ -304,7 +303,6 @@ const updateYearMonthIndex = () => {
 
 onMounted(() => {
 	initSafeArea();
-	schoolName.value = store.state.userStore.userInfo.schoolName || '';
 	generateYearList();
 	generateMonthList();
 	updateYearMonthIndex();
@@ -334,9 +332,13 @@ const handleSystemClick = (item) => {
 		uni.navigateTo({
 			url: '/pages/materialCollection/taskOverview/index'
 		});
-	} else if (item.key == 'teacherStudy' || item.key == 'studentStudy' || item.key== 'teacherHonor') {//教师研修 学生学习 教师发展
+	} else if (item.key == 'teacherStudy') {//教师研修
 		uni.navigateTo({
-			url: `/pages/${item.key}/index`
+			url: '/pages/teacherStudy/index'
+		});
+	} else if (item.key == 'studentStudy') {//学生学习
+		uni.navigateTo({
+			url: '/pages/studentStudy/index'
 		});
 	} else {
 		uni.showToast({ title: `即将打开:${item.name}`, icon: 'none' });