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