diff --git a/src/main/java/com/peteralbus/controller/PageController.java b/src/main/java/com/peteralbus/controller/PageController.java
index be830b5..ea58ba2 100644
--- a/src/main/java/com/peteralbus/controller/PageController.java
+++ b/src/main/java/com/peteralbus/controller/PageController.java
@@ -74,6 +74,7 @@ public class PageController
@RequestMapping("/user")
public ModelAndView userDetail(Long userId)
{
+ System.out.println(userId);
User user=null;
if(userId==null)
{
diff --git a/src/main/webapp/jsp/account/user.jsp b/src/main/webapp/jsp/account/user.jsp
index f069efb..9590f94 100644
--- a/src/main/webapp/jsp/account/user.jsp
+++ b/src/main/webapp/jsp/account/user.jsp
@@ -11,7 +11,7 @@
- 用户中心
+ 用户统计
@@ -39,27 +39,24 @@
-
+
-
+ {{user.username}}
-
-
-
- 修改密码
+ {{user.realName}}
-
+ {{user.userPhone}}
-
+ {{stat.activityCount}}
-
+ {{stat.groupCount}}
@@ -75,7 +72,7 @@
const App = {
data() {
return{
- title:'用户中心',
+ title:'用户统计',
user:{
userId:'',
username:'',
@@ -91,11 +88,11 @@
}
},
mounted(){
- this.user.userId='${userId}'
- this.user.realName='${realName}'
- this.user.username='${username}'
- this.user.avatarSrc='${avatarSrc}'
- this.user.userPhone='${userPhone}'
+ this.user.userId='${userInfo.userId}'
+ this.user.realName='${userInfo.realName}'
+ this.user.username='${userInfo.username}'
+ this.user.avatarSrc='${userInfo.avatarSrc}'
+ this.user.userPhone='${userInfo.userPhone}'
},
methods: {
goBack(){
diff --git a/src/main/webapp/jsp/student/activityResult.jsp b/src/main/webapp/jsp/student/activityResult.jsp
index 3282574..dfd0bfa 100644
--- a/src/main/webapp/jsp/student/activityResult.jsp
+++ b/src/main/webapp/jsp/student/activityResult.jsp
@@ -137,7 +137,11 @@
成员信息
-
+
+
+ {{scope.row.realName}}
+
+
通过
diff --git a/src/main/webapp/jsp/student/applyActivity.jsp b/src/main/webapp/jsp/student/applyActivity.jsp
index ac60f3f..eecb6fb 100644
--- a/src/main/webapp/jsp/student/applyActivity.jsp
+++ b/src/main/webapp/jsp/student/applyActivity.jsp
@@ -116,7 +116,11 @@
-
+
+
+ {{scope.row.leaderName}}
+
+
diff --git a/src/main/webapp/jsp/student/manageActivity.jsp b/src/main/webapp/jsp/student/manageActivity.jsp
index 330b475..3d8664f 100644
--- a/src/main/webapp/jsp/student/manageActivity.jsp
+++ b/src/main/webapp/jsp/student/manageActivity.jsp
@@ -129,7 +129,11 @@
成员信息
-
+
+
+ {{scope.row.realName}}
+
+
通过
diff --git a/src/main/webapp/jsp/student/waitGroup.jsp b/src/main/webapp/jsp/student/waitGroup.jsp
index 7dea682..a0878df 100644
--- a/src/main/webapp/jsp/student/waitGroup.jsp
+++ b/src/main/webapp/jsp/student/waitGroup.jsp
@@ -110,7 +110,11 @@
成员信息
-
+
+
+ {{scope.row.realName}}
+
+
通过