diff --git a/ruoyi-ui/src/views/officialWebsite/team.vue b/ruoyi-ui/src/views/officialWebsite/team.vue
index 913de9a..e7103d4 100644
--- a/ruoyi-ui/src/views/officialWebsite/team.vue
+++ b/ruoyi-ui/src/views/officialWebsite/team.vue
@@ -33,9 +33,9 @@
-
{{item.contentTitle}}
+
{{ item.contentTitle }}
@@ -50,21 +50,23 @@
教学团队
-
+
-
+
+
-
王尔特
+
+
{{ item.contentTitle }}
-
-
+
+
-
-->
+
@@ -93,7 +95,9 @@ export default {
return {
imgurl: process.env.VUE_APP_BASE_API,
pageContextList: [],
- teachingAchievements:[],
+ teachingAchievements: [],
+ detailsContent:[],
+ teachingTeam: [],
nav: [
// { name: '教学团队' },
// { name: '教学成果' },
@@ -112,12 +116,18 @@ export default {
},
methods: {
+ showDetails(value){
+ this.isShowDetails = true;
+ this.currentActive = 999;
+ this.detailsContent = value.contentDetail;
+ },
// 触发导航
getCurrentActive(value) {
if (this.currentActive == value) {
return
}
this.currentActive = value
+ this.isShowDetails = false;
},
initPageData() {
@@ -129,9 +139,22 @@ export default {
getPageColumn(routeParam).then(response => {
response.data.forEach(cloumnItem => {
this.nav.push(cloumnItem);
- cloumnItem.children.list.forEach(element => {
- this.teachingAchievements.push(element);
- });
+
+ //教学团队
+ if (cloumnItem.id == "1816773589098172416") {
+ cloumnItem.children.list.forEach(element => {
+ this.teachingAchievements.push(element);
+ });
+ }
+ //教学团队
+ if (cloumnItem.id == "1816773517664980992") {
+ cloumnItem.children.list.forEach(element => {
+ this.teachingTeam.push(element);
+ });
+ }
+
+
+
// cloumnItem.categoryName