181250114 4 سال پیش
والد
کامیت
606cef88a5
5فایلهای تغییر یافته به همراه163 افزوده شده و 60163 حذف شده
  1. 122 39682
      .idea/workspace.xml
  2. 1 20442
      package-lock.json
  3. 8 9
      src/App.vue
  4. 23 22
      src/components/Group.vue
  5. 9 8
      src/components/Student.vue

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 122 - 39682
.idea/workspace.xml


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 20442
package-lock.json


+ 8 - 9
src/App.vue

@@ -1,25 +1,24 @@
 <template>
   <a-layout id="components-layout-demo-fixed" class="layout" style="min-height:1000px">
 <!--            :style="{height:clientHeight+'px'}">-->
-    <a-layout-header :style="{ position: 'fixed', zIndex: 1, width: '100%' }">
+    <a-layout-header :style="{ position: 'fixed', zIndex: 1, width: '100%' }" style="background-color: #FFFFFF">
       <div class="logo">
-<!--        <img :src="'https://se4.oss-cn-beijing.aliyuncs.com/logo.png'" inline/>-->
+        <img :src="'https://se4.oss-cn-beijing.aliyuncs.com/devLogo.png'" inline/>
       </div>
       <a-menu
-        theme="dark"
         mode="horizontal"
         :style="{ lineHeight: '64px' }"
         v-model="selectedKeys"
         @click="changeRouter"
       >
-        <a-menu-item key="home">
-<!--          首页-->
+        <a-menu-item key="student">
+          学生页面
         </a-menu-item>
         <a-menu-item key="group">
           小组页面
         </a-menu-item>
-        <a-menu-item key="student">
-          学生页面
+        <a-menu-item key="home">
+          <!--          首页-->
         </a-menu-item>
       </a-menu>
     </a-layout-header>
@@ -74,12 +73,12 @@
             break;
           case "student":
             if (this.$route.path !== '/student') {
-              this.$router.push('/student');
+              this.$router.push('/student/201250076');
             }
             break;
           case "group":
             if (this.$route.path !== '/group') {
-              this.$router.push('/group');
+              this.$router.push('/group/10');
             }
             break;
         }

+ 23 - 22
src/components/Group.vue

@@ -10,11 +10,11 @@
       <!--      小组信息-->
       <div style="padding: 5px">
         <a-card title="小组信息" v-model="group_message" class="outer_border_color" :bordered="false">
-          <a-row>
-            <a-col :span="12" style="font-size: 15px">
-              组号:{{group_message[0].group}}
-            </a-col>
-          </a-row>
+<!--          <a-row>-->
+<!--            <a-col :span="12" style="font-size: 15px">-->
+<!--              组号:{{group_message[0].group}}-->
+<!--            </a-col>-->
+<!--          </a-row>-->
           <a-card title="项目信息:" class="inner_border_color">
             <a-row v-for="projectItem in group_message[0].projects" :key="projectItem" style="margin-top: 5px" >
               <a-col :span="12">
@@ -164,10 +164,10 @@
             {projectId:2, projectName:"fun_backEnd",},
           ],
           members: [
-            {userId: 11,studentId: 201250076, name:"周棋秋"},
-            {userId: 12,studentId: 201250075,name: "田野"},
-            {userId: 13,studentId: 201250077,name: "金采源"},
-            {userId: 14,studentId: 201250230,name: "李泽玉"},
+            {userId: 11,studentId: 201250076, name:"zqq"},
+            {userId: 12,studentId: 201250075,name: "ty"},
+            {userId: 13,studentId: 201250077,name: "kcy"},
+            {userId: 14,studentId: 201250230,name: "pyy"},
           ],
           commit: {
             ["commit-times"]: 5,
@@ -182,10 +182,10 @@
               "feat: 增加优惠券功能",
             ],
             ["commit-contribution"]: [
-              {name: "周棋秋", times: 0, proportion: 0},
-              {name:"田野",times:2, proportion: 0.4},
-              {name:"金采源",times:1, proportion: 0.2},
-              {name:"李泽玉",times:2, proportion: 0.4},
+              {name: "zqq", times: 0, proportion: 0},
+              {name:"ty",times:2, proportion: 0.4},
+              {name:"kcy",times:1, proportion: 0.2},
+              {name:"pyy",times:2, proportion: 0.4},
             ]
           },
           test: {
@@ -195,10 +195,10 @@
               ["interface-test-concurrency-failure"]: 20,
               ["interface-test-concurrency-pass"]: 80,
               ["interface-test-contribution"]: [
-                {name: "周棋秋", times: 4, proportion: 0.8},
-                {name:"田野",times:0, proportion: 0},
-                {name:"金采源",times:0, proportion: 0},
-                {name:"李泽玉",times:1, proportion: 0.2},
+                {name: "zqq", times: 4, proportion: 0.8},
+                {name:"ty",times:0, proportion: 0},
+                {name:"kcy",times:0, proportion: 0},
+                {name:"pyy",times:1, proportion: 0.2},
               ]
             },
           },
@@ -207,10 +207,10 @@
             ["pipeline-pass"]:10,
             ["pipeline-failure"]:0,
             ["pipeline-contribution"]: [
-              {name: "周棋秋", times: 1, proportion: 0.1},
-              {name:"田野",times:1, proportion: 0.1},
-              {name:"金采源",times:2, proportion: 0.2},
-              {name:"李泽玉",times:6, proportion: 0.6},
+              {name: "zqq", times: 1, proportion: 0.1},
+              {name:"ty",times:1, proportion: 0.1},
+              {name:"kcy",times:2, proportion: 0.2},
+              {name:"pyy",times:6, proportion: 0.6},
             ]
           },
         }],
@@ -258,7 +258,8 @@
       },
 
       clickBackHome(){
-        this.$router.push('/home');
+        // this.$router.push('/home');
+        window.location.replace("http://localhost:8085/studentPage");
       },
 
       async initData(groupId){

+ 9 - 8
src/components/Student.vue

@@ -14,12 +14,12 @@
             <a-col :span="12">
               姓名:{{student_message[0].name}}
             </a-col>
-            <a-col>
-              组号:
-              <a-button type="link" @click="clickGroup(student_message[0].group)">
-                {{student_message[0].group}}
-              </a-button>
-            </a-col>
+<!--            <a-col>-->
+<!--              组号:-->
+<!--              <a-button type="link" @click="clickGroup(student_message[0].group)">-->
+<!--                {{student_message[0].group}}-->
+<!--              </a-button>-->
+<!--            </a-col>-->
           </a-row>
           <a-row>
             <a-col :span="12">
@@ -169,7 +169,7 @@
     data() {
       return {
         student_message:[{
-          name:"李泽玉",
+          name:"pyy",
           userId:"14",
           studentId:"201250230",
           group: 10,
@@ -258,7 +258,8 @@
       ]),
 
       clickBackHome(){
-        this.$router.push('/home');
+        window.location.replace("http://localhost:8085/studentPage");
+        // this.$router.push('/home');
       },
 
       clickGroup(groupId){

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است