|
@@ -12,7 +12,7 @@
|
|
|
@click="clickYear(item.value)">{{ item.label }}</el-button>
|
|
@click="clickYear(item.value)">{{ item.label }}</el-button>
|
|
|
<!-- <el-button :class="!courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(false)">AI通识课2024版</el-button> -->
|
|
<!-- <el-button :class="!courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(false)">AI通识课2024版</el-button> -->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="course_select">
|
|
|
|
|
|
|
+ <div class="course_select" v-if="activeyear == '2025'">
|
|
|
<span class="grandTitle">{{ lang.ssGrade }}</span>
|
|
<span class="grandTitle">{{ lang.ssGrade }}</span>
|
|
|
<el-button
|
|
<el-button
|
|
|
v-for="item in classList" :key="item.value"
|
|
v-for="item in classList" :key="item.value"
|
|
@@ -22,7 +22,7 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="course_select">
|
|
<div class="course_select">
|
|
|
- <template v-if="lang.lang != 'hk'">
|
|
|
|
|
|
|
+ <template v-if="lang.lang != 'hk' && activeyear == '2025'">
|
|
|
<span class="grandTitle">{{ lang.ssTerm }}</span>
|
|
<span class="grandTitle">{{ lang.ssTerm }}</span>
|
|
|
<el-button :class="activeterm == 0 ? 'el_button_active' : ''" @click="activeterm = 0,getCourseList()">{{ lang.ssTermUp }}</el-button>
|
|
<el-button :class="activeterm == 0 ? 'el_button_active' : ''" @click="activeterm = 0,getCourseList()">{{ lang.ssTermUp }}</el-button>
|
|
|
<el-button :class="activeterm == 1 ? 'el_button_active' : ''"
|
|
<el-button :class="activeterm == 1 ? 'el_button_active' : ''"
|
|
@@ -346,6 +346,7 @@ const yearList = ref([
|
|
|
|
|
|
|
|
const clickYear = (val) => {
|
|
const clickYear = (val) => {
|
|
|
activeyear.value = val
|
|
activeyear.value = val
|
|
|
|
|
+ activegrade.value = 3
|
|
|
getCourseList()
|
|
getCourseList()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -375,7 +376,7 @@ const activeterm = ref('0')
|
|
|
const activeCurrentData = ref([])
|
|
const activeCurrentData = ref([])
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
- currentData.value = courseData.value["三年级"]
|
|
|
|
|
|
|
+ currentData.value = courseData.value["三年级"]
|
|
|
getCourseList() // 获取课程列表
|
|
getCourseList() // 获取课程列表
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -1017,6 +1018,13 @@ watchEffect(() => {
|
|
|
if (CurrentRole.currentRole == "edupersonnel" || CurrentRole.currentRole == "areaAdministrator" || CurrentRole.currentRole == "userAdministrator" || CurrentRole.currentRole == "securityAuditor" || CurrentRole.currentRole == "schoolAdministrator" || CurrentRole.currentRole == "schoolSecurityAuditor" || CurrentRole.currentRole == "teacher" || user.type != 2) {
|
|
if (CurrentRole.currentRole == "edupersonnel" || CurrentRole.currentRole == "areaAdministrator" || CurrentRole.currentRole == "userAdministrator" || CurrentRole.currentRole == "securityAuditor" || CurrentRole.currentRole == "schoolAdministrator" || CurrentRole.currentRole == "schoolSecurityAuditor" || CurrentRole.currentRole == "teacher" || user.type != 2) {
|
|
|
isupdateCourse.value = true
|
|
isupdateCourse.value = true
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log('user.user', user.user);
|
|
|
|
|
+ if(user.user.schoolName.includes('坪山区') || user.user.schooldest.includes('440310')){
|
|
|
|
|
+ yearList.value.push(
|
|
|
|
|
+ {value: 'pingshan1', label: '坪山区AI融合教育三阶课程'},
|
|
|
|
|
+ {value: 'pingshan2', label: '案例展示'}
|
|
|
|
|
+ )
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
</script>
|
|
</script>
|