Procházet zdrojové kódy

update:更新页面内容

DESKTOP-HI4L4AH\Administrator před 4 měsíci
rodič
revize
f8c608e7c2

binární
src/assets/img/441.png


+ 3 - 3
src/views/common/header-common.vue

@@ -105,8 +105,8 @@ export default {
       formLabelWidth: '120px',
       defaultSelectPage: null,
       menuList: [
-        { label: 'AI知识图谱', id: 1, active: '', isT: false, path: '/home' },
-        { label: '我的AI课堂', id: 2, active: '', isT: false, path: '/courses' },
+        // { label: 'AI知识图谱', id: 1, active: '', isT: false, path: '/home' },
+        { label: '我的AI课堂', id: 1, active: '', isT: false, path: '/courses' },
         // {label:'测评中心', id: 3, active:'', isT: false, path: '/exam'},
         // {label:'测评记录', id: 4, active:'', isT: false, path: '/examHistory'},
         { label: '学习档案', id: 5, active: '', isT: false, path: '/wrongBook' },
@@ -363,7 +363,7 @@ export default {
 
     .activeitem {
       padding: 15px;
-      font-size: 16px; 
+      font-size: 16px;
       position: relative;
       span{
         color:black;

+ 19 - 19
src/views/course/courses.vue

@@ -39,22 +39,22 @@
             <el-table v-loading="xloading" :data="tableData" border>
               <el-table-column prop="gOriented" width="350" label="导向目标">
               </el-table-column>
-              <el-table-column prop="pScore" label="P(问题定义)">
+              <el-table-column prop="pScore" label="P(问题定义)(得分/满分)">
                 <template  slot-scope="scope">
                   <span>{{scope.row.pScore==null?0:scope.row.pScore}}/{{stepscore['P']}}</span>
                 </template>
               </el-table-column>
-              <el-table-column prop="sScore" label="S(系统拆解)">
+              <el-table-column prop="sScore" label="S(系统拆解)(得分/满分)">
                 <template  slot-scope="scope">
                   <span>{{scope.row.sScore==null?0:scope.row.sScore}}/{{stepscore['S']}}</span>
                 </template>
               </el-table-column>
-              <el-table-column prop="rScore" label="R(结果整合)">
+              <el-table-column prop="rScore" label="R(结果整合)(得分/满分)">
                 <template  slot-scope="scope">
                   <span>{{scope.row.rScore==null?0:scope.row.rScore}}/{{stepscore['R']}}</span>
                 </template>
               </el-table-column>
-              <el-table-column prop="eScore" label="E(评估方法)">
+              <el-table-column prop="eScore" label="E(评估方法)(得分/满分)">
                 <template  slot-scope="scope">
                   <span>{{scope.row.eScore==null?0:scope.row.eScore}}/{{stepscore['E']}}</span>
                 </template>
@@ -159,7 +159,7 @@
             </div>
 
             <div v-else class="no-courses flex-item">
-              <el-empty description="该科目下暂无课程"> 
+              <el-empty description="该科目下暂无课程">
               </el-empty>
             </div>
           </div>
@@ -311,7 +311,7 @@ export default {
      return  this.axios.get(this.$httpApi.httpUrl('/student/gradeInfo/list'), {
         params: {
           pageNumber: 0,
-          pageSize: 100, 
+          pageSize: 100,
           schoolType: stageId
         }
       }).then(response => {
@@ -357,7 +357,7 @@ export default {
     async loadStages() {
       try {
         // 使用已获取的learnInfo数据作为阶段数据
-         await  this.getLearnList() 
+         await  this.getLearnList()
         if (this.learnInfo && this.learnInfo.length > 0) {
           // 假设learnInfo中的数据结构包含id和name字段
           return this.learnInfo.map(item => ({
@@ -366,7 +366,7 @@ export default {
             leaf: false
           }));
         } else {
-           
+
           return [
             { id: 1, name: '本科', leaf: false },
             { id: 2, name: '研究生', leaf: false },
@@ -391,7 +391,7 @@ export default {
         // 使用已获取的gradeInfo数据作为年级数据
 
          await this.getGradeList(stageId)
-        
+
         if ((this.gradeInfo && this.gradeInfo.length > 0)) {
           // 过滤出对应阶段的年级数据
           const filteredGrades = this.gradeInfo.filter(item => {
@@ -405,7 +405,7 @@ export default {
             name: item.name,
             leaf: false
           }));
-        } else { 
+        } else {
           // 如果gradeInfo为空,使用默认数据
           const grades = {
             1: [ // 本科阶段的年级
@@ -541,7 +541,7 @@ export default {
     async loadCoursesBySubject(subjectId) {
       try {
         // 调用实际的API获取课程数据
-       
+
         this.axios.get(this.$httpApi.httpUrl('/student/courseInfo/list'), {
           params: {
             subjectId: subjectId,  // 添加科目ID作为筛选条件
@@ -549,7 +549,7 @@ export default {
             pageSize: 100,
             status: 1
           }
-        }).then(response=>{ 
+        }).then(response=>{
         // 检查API响应是否成功
         if (response.data.success && response.data.code === 1) {
           // 将返回的数据映射为表格需要的格式
@@ -611,7 +611,7 @@ export default {
         }).finally(()=>{
           this.selectLoading = false
         })
-        
+
       } catch (error) {
         console.error('添加课程失败:', error);
         this.$message.error('选课失败,请重试');
@@ -651,26 +651,26 @@ export default {
       this.currentCourse.checked = true
 
       getStepModel().then(resp=>{
-         
+
         if(resp.status == 200) {
             let res = resp.data
-            if(res.code == 1) { 
+            if(res.code == 1) {
                   let stepModels = res.data.dataList
                   for(let n =0 ;n<stepModels.length;n++) {
-                    let m = stepModels[n] 
+                    let m = stepModels[n]
                     this.stepscore[m.name] = m.score
                   }
             }
         }
       }).finally(d=>{
          this.getGoalInfoByCourse(this.currentCourse.id)
-      }) 
+      })
     },
 
     getCourseList() {
       this.loading = true
-      this.axios.get(this.$httpApi.httpUrl('/student/courseInfo/mylist'), { 
-      }).then(response => { 
+      this.axios.get(this.$httpApi.httpUrl('/student/courseInfo/mylist'), {
+      }).then(response => {
         this.courseList = response.data.data
         if (this.courseList && this.courseList.length > 0) {
           this.currentCourse = this.courseList[0]

+ 63 - 63
src/views/officialweb.vue

@@ -30,7 +30,7 @@
           <div class="hero-buttons">
             <!-- <a href="#" class="hero-btn hero-btn-primary">教师体验平台</a>
             <a href="#" class="hero-btn hero-btn-outline">学生端演示</a> -->
-            <img :src="img" style="width:770px;height:264px"/>
+            <img :src="img" style="width:100%;height:300px"/>
           </div>
         </div>
       </section>
@@ -232,68 +232,68 @@
       </section>
 
       <!-- CTA区域 -->
-      <section class="cta-section">
-        <div class="cta-content">
-          <h2>开启AI时代教学新范式</h2>
-          <p>加入1000+教育机构的选择,共同培养能驾驭AI的高阶人才</p>
-          <div class="cta-buttons">
-            <el-button class="cta-btn cta-btn-light" size="large">教师免费试用</el-button>
-            <el-button class="cta-btn cta-btn-outline" size="large">学校合作咨询</el-button>
-          </div>
-        </div>
-      </section>
+<!--      <section class="cta-section">-->
+<!--        <div class="cta-content">-->
+<!--          <h2>开启AI时代教学新范式</h2>-->
+<!--          <p>加入1000+教育机构的选择,共同培养能驾驭AI的高阶人才</p>-->
+<!--          <div class="cta-buttons">-->
+<!--            <el-button class="cta-btn cta-btn-light" size="large">教师免费试用</el-button>-->
+<!--            <el-button class="cta-btn cta-btn-outline" size="large">学校合作咨询</el-button>-->
+<!--          </div>-->
+<!--        </div>-->
+<!--      </section>-->
 
       <!-- 底部 -->
-      <footer id="about">
-        <div class="footer-grid">
-          <div class="footer-about">
-            <div class="footer-logo" @click="scrollToTop">
-              <i class="fas fa-brain"></i> GPS-REN
-            </div>
-            <p>我们致力于推动AI时代的高等教育改革,通过GPS-REN教学模式培养能够驾驭人工智能的高阶人才。</p>
-            <div class="social-links">
-              <a href="#" class="social-icon"><i class="el-icon-chat-dot-round"></i></a>
-              <a href="#" class="social-icon"><i class="el-icon-chat-line-round"></i></a>
-              <a href="#" class="social-icon"><i class="el-icon-share"></i></a>
-              <a href="#" class="social-icon"><i class="el-icon-connection"></i></a>
-            </div>
-          </div>
-
-          <div class="footer-links">
-            <h4>平台功能</h4>
-            <ul>
-              <li><a href="#">教师工作台</a></li>
-              <li><a href="#">学生学习端</a></li>
-              <li><a href="#">AI评价系统</a></li>
-              <li><a href="#">课程管理系统</a></li>
-            </ul>
-          </div>
-
-          <div class="footer-links">
-            <h4>教学资源</h4>
-            <ul>
-              <li><a href="#">GPS-REN教学法</a></li>
-              <li><a href="#">课程案例库</a></li>
-              <li><a href="#">教师培训</a></li>
-              <li><a href="#">API文档</a></li>
-            </ul>
-          </div>
-
-          <div class="footer-links">
-            <h4>关于我们</h4>
-            <ul>
-              <li><a href="#">公司介绍</a></li>
-              <li><a href="#">教研团队</a></li>
-              <li><a href="#">加入我们</a></li>
-              <li><a href="#">联系客服</a></li>
-            </ul>
-          </div>
-        </div>
-
-        <div class="copyright">
-          &copy; 2025 GPS-REN教学平台 - 培养AI时代的高阶人才
-        </div>
-      </footer>
+<!--      <footer id="about">-->
+<!--        <div class="footer-grid">-->
+<!--          <div class="footer-about">-->
+<!--            <div class="footer-logo" @click="scrollToTop">-->
+<!--              <i class="fas fa-brain"></i> GPS-REN-->
+<!--            </div>-->
+<!--            <p>我们致力于推动AI时代的高等教育改革,通过GPS-REN教学模式培养能够驾驭人工智能的高阶人才。</p>-->
+<!--            <div class="social-links">-->
+<!--              <a href="#" class="social-icon"><i class="el-icon-chat-dot-round"></i></a>-->
+<!--              <a href="#" class="social-icon"><i class="el-icon-chat-line-round"></i></a>-->
+<!--              <a href="#" class="social-icon"><i class="el-icon-share"></i></a>-->
+<!--              <a href="#" class="social-icon"><i class="el-icon-connection"></i></a>-->
+<!--            </div>-->
+<!--          </div>-->
+
+<!--          <div class="footer-links">-->
+<!--            <h4>平台功能</h4>-->
+<!--            <ul>-->
+<!--              <li><a href="#">教师工作台</a></li>-->
+<!--              <li><a href="#">学生学习端</a></li>-->
+<!--              <li><a href="#">AI评价系统</a></li>-->
+<!--              <li><a href="#">课程管理系统</a></li>-->
+<!--            </ul>-->
+<!--          </div>-->
+
+<!--          <div class="footer-links">-->
+<!--            <h4>教学资源</h4>-->
+<!--            <ul>-->
+<!--              <li><a href="#">GPS-REN教学法</a></li>-->
+<!--              <li><a href="#">课程案例库</a></li>-->
+<!--              <li><a href="#">教师培训</a></li>-->
+<!--              <li><a href="#">API文档</a></li>-->
+<!--            </ul>-->
+<!--          </div>-->
+
+<!--          <div class="footer-links">-->
+<!--            <h4>关于我们</h4>-->
+<!--            <ul>-->
+<!--              <li><a href="#">公司介绍</a></li>-->
+<!--              <li><a href="#">教研团队</a></li>-->
+<!--              <li><a href="#">加入我们</a></li>-->
+<!--              <li><a href="#">联系客服</a></li>-->
+<!--            </ul>-->
+<!--          </div>-->
+<!--        </div>-->
+
+<!--        <div class="copyright">-->
+<!--          &copy; 2025 GPS-REN教学平台 - 培养AI时代的高阶人才-->
+<!--        </div>-->
+<!--      </footer>-->
     </div>
   </div>
 
@@ -352,7 +352,7 @@ export default {
       // this.$router.push({name: 'login'});
     },
     showRegisterDialog() {
-      // 这里可以显示注册对话框 
+      // 这里可以显示注册对话框
       window.open('http://console.edu.oh-os.com/#/login', );
     }
   },
@@ -512,7 +512,7 @@ body {
 }
 
 .hero-content {
-  max-width: 900px;
+  max-width: 100%;
   z-index: 2;
 }