EmmaBaBa 9 tháng trước cách đây
mục cha
commit
57ec4c95e9

+ 66 - 18
src/components/question-info.vue

@@ -69,7 +69,7 @@
         type="danger"
         @click="openWritingBoard"
         v-show="currentQuestion.questionType !== 1 && currentQuestion.questionType !== 2
-           && currentQuestion.questionType !== 6" round>GPS-REN学习法
+           && currentQuestion.questionType !== 6" round>GPS-REN学习法测评
       </el-button>
 
       <el-button
@@ -87,14 +87,15 @@
         @click="changeQuestionIndex(1)"
         round>下一题 <i class="el-icon-arrow-right"></i></el-button>
 
-      <el-button
+      <!-- <el-button
         type="danger"
         class="btn"
         round
         @click="commitQuestion">{{commitButtonText}}
-      </el-button>
+      </el-button> -->
     </div>
 
+    <!-- 
     <div v-if="currentQuestion.questionType !==1 && currentQuestion.questionType !==2 && currentQuestion.questionType !==6">
       <div  style="width: 150px; margin-left: 30px;">
         <h3 class="el-icon-s-promotion" style="font-size: 20px; line-height:30px;color: #239676; float:left;font-weight: 500;">&nbsp;&nbsp;</h3>
@@ -138,46 +139,76 @@
             <div slot="tip" class="el-upload__tip">答案附件上传(只能上传jpg/png文件,且不超过1M)</div>
           </el-upload>
         </template>
-
+-->
         <template>
-          <el-dialog title="GPS-REN学习法"  :visible.sync="dialogVisible" width="80%"
+          <el-dialog :visible.sync="dialogVisible" width="80%" top="0" custom-class="GPSREN"
             :before-close="handleClose">
-
+ 
+            <div slot="title" class="cust-title">
+              GPS-REN学习法
+            </div>
             <el-form :model="form" ref="form" label-width="100px" class="demo-ruleForm" label-position="top">
 
               <el-col :span="24">
-                <el-form-item label="G(目标导向):">
-                 <div v-html="currentQuestion.content"></div>
+                <el-form-item label="G(目标导向):" class="cust-label">
+                 <div v-html="currentQuestion.content" style="font-weight: 100;font-size: 16px;"></div>
                 </el-form-item>
               </el-col>
 
               <el-col :span="24">
-                <el-form-item label="P(描述问题):">
-                  <el-input type="textarea" v-model="form.p"></el-input>
+                <el-form-item   class="cust-label">
+                  <div slot="label">
+                    P(描述问题): <el-button icon="el-icon-discover"  size="small" type="primary">AI助手</el-button>
+                  </div>
+                  <el-input type="textarea" class="custom-height" v-model="form.p" placeholder="`根据目标准确地描述问题。要求:
+1.功能描述准确。问题需求描述与目标一致,无偏差或遗漏。
+2.术语表达规范。正确使用数据结构与算法的专业术语,避免口语化表达,符合计算机学科表述规范。
+3.上下文抽象。能剔除无关背景信息,保留与问题相关的关键上下文,对复杂问题进行抽象精炼表达。
+4.接口定义清晰。输入/输出参数类型、范围、约束条件明确定义,函数/方法接口设计符合模块化原则。`"></el-input>
                 </el-form-item>
               </el-col>
 
               <el-col :span="24">
-                <el-form-item label="S(拆解问题):">
-                  <el-input type="textarea" v-model="form.s"></el-input>
+                <el-form-item class="cust-label">
+                  <div slot="label">
+                    S(拆解问题): <el-button icon="el-icon-discover"  size="small" type="primary">AI助手</el-button>
+                  </div>
+                  <el-input type="textarea" class="custom-height"  v-model="form.s" placeholder="`对问题进行系统性的拆解。要求:
+1.拆解维度合理。单一性问题按流程、复杂性问题按要素(如:结构、算法、边界、流程)、综合性问题按模块分层级。 
+2.逻辑结构完整。覆盖问题所有关键子问题(如DFS需包含递归终止条件、访问标记、回溯机制)。
+3.颗粒度适中。 根据自身认知水平,已认知子问题不拆开,未认知的子问题要拆解为单一性问题。`"></el-input>
                 </el-form-item>
               </el-col>
 
               <el-col :span="24">
-                <el-form-item label="R(结果):">
-                  <el-input type="textarea" v-model="form.r"></el-input>
+                <el-form-item class="cust-label">
+                  <div slot="label">
+                    R(结果): <el-button icon="el-icon-discover"  size="small" type="primary">AI助手</el-button>
+                  </div>
+                  <el-input type="textarea" class="custom-height"  v-model="form.r" placeholder="`利用AI工具获取结果并整合。要求:
+1.有效性。为最终可执行的代码。`"></el-input>
                 </el-form-item>
               </el-col>
 
               <el-col :span="24">
-                <el-form-item label="E(评估方案):">
-                  <el-input type="textarea" v-model="form.e"></el-input>
+                <el-form-item class="cust-label">
+                  <div slot="label">
+                    E(评估方案): <el-button icon="el-icon-discover"  size="small" type="primary">AI助手</el-button>
+                  </div>
+                  <el-input type="textarea" class="custom-height"  v-model="form.e" placeholder="`先设计评估的方法与标准。然后评估结果是否达成目标。若未达成,则可从步骤P或S进行迭代。要求:
+1.评估方案合理。评估方案可执行。提供测试用例,对程序的约束条件、边界、接口进行充分的评估。
+2.评估过程真实(否决项)。切实地开展评估,提交执行测试的实证材料。
+3.评估结果达成度。根据目标评估结果的达成度。`"></el-input>
                 </el-form-item>
               </el-col>
 
               <el-col :span="24">
-                <el-form-item label="N(这个整个学习过程对我补充了什么新知识):">
-                  <el-input type="textarea" v-model="form.n"></el-input>
+                <el-form-item label="N(这个整个学习过程对我补充了什么新知识):" class="cust-label">
+                  <el-input type="textarea" class="custom-height"  v-model="form.n" placeholder="`反思总结新知识。
+1.关联性(5%)。总结的知识点与问题解决过程直接相关。
+2.新增性(5%)。知识点相对于此前的学习过程,属于新增内容。
+3.联结性(10%)。用已有的知识描述新知识,建立新旧知识的关联。
+4.准确性(10%)。使用记录性的文字,准确地表达具体知识内容。`"></el-input>
                 </el-form-item>
               </el-col>
 
@@ -442,6 +473,21 @@
 </script>
 
 <style lang="scss">
+
+.GPSREN{
+  margin-bottom: 0px !important;
+  .cust-title{
+    text-align: center;
+    font-size: 20px;
+  }
+  .cust-label{
+    font-weight: bold;
+  }
+
+  .custom-height .el-textarea__inner {
+  height: 150px; /* 设置你想要的高度 */
+}
+}
   .testbox p {
     display: inline-block;
   }
@@ -518,4 +564,6 @@
       vertical-align: middle;
     }
   }
+
+
 </style>

+ 2 - 2
src/router/index.js

@@ -124,14 +124,14 @@ const router =  new Router({
           path: '/exam',
           component: exam,
           name: 'exam',
-          meta: { title: '考试列表' }
+          meta: { title: '测评列表' }
          },
 
         {
           path: '/examReport/:id',
           component: examReport,
           name: 'examReport',
-          meta: { title: '考试报告' }
+          meta: { title: '测评报告' }
          },
 
         {

+ 6 - 4
src/views/common/header-common.vue

@@ -29,11 +29,11 @@
 
         <el-dropdown style="right: 13%">
           <el-badge v-if="unReadMessageNumber > 0" :value="unReadMessageNumber" class="item">
-            <span  style="font-size: 16px" class="el-icon-message">消息</span>
+            <span  style="font-size: 16px;color: aliceblue;" class="el-icon-message">消息</span>
           </el-badge>
 
           <el-badge v-else class="item">
-            <span  class="el-icon-message">消息</span>
+            <span  style="color: aliceblue;"  class="el-icon-message">消息</span>
           </el-badge>
 
           <el-dropdown-menu>
@@ -112,8 +112,8 @@
         menuList:[
           {label:'首页', id: 1, active:'', isT: false, path: '/home'},
           {label:'视频课堂', id: 2, active:'', isT: false, path: '/courseVideo'},
-          {label:'考试中心', id: 3, active:'', isT: false, path: '/exam'},
-          {label:'考试记录', id: 4, active:'', isT: false, path: '/examHistory'},
+          {label:'测评中心', id: 3, active:'', isT: false, path: '/exam'},
+          {label:'测评记录', id: 4, active:'', isT: false, path: '/examHistory'},
           {label:'我的错题本', id: 5, active:'', isT: false, path: '/wrongBook'},
           {label:'个人中心', id: 6, active:'', isT: false, path: '/account/userInfo'},
         ],
@@ -306,6 +306,7 @@
   .el-dropdown-link {
     width: 50px;
     cursor: pointer;
+    color: aliceblue;
     img{
       width: 32px;
       height: 32px;
@@ -326,6 +327,7 @@
       img{width: 100%;height: 100%;}
     }
     .head-nav{position: absolute;right: 300px;top: 30px; display: flex;border: 1px solid #52565a;border-radius: 16px;overflow: visible;
+      background: aliceblue;
       .activeitem{padding: 15px;font-size: 16px;color: rgb(0, 0, 0);position: relative;
         &:first-child{border-radius: 16px 0 0 16px}
         &:last-child{border-radius: 0 16px 16px 0}

+ 4 - 4
src/views/education/exam.vue

@@ -31,7 +31,7 @@
             </div>
 
             <div class="text item">
-              考试时间: {{testPaper.examTime}}分钟
+              测评时间: {{testPaper.examTime}}分钟
             </div>
 
             <div class="text item">
@@ -45,12 +45,12 @@
             <div class="text item">
               <el-button
                 @click="startExam(testPaper)"
-                style="float: right; font-size: 18px" type="text">开始考试</el-button>
+                style="float: right; font-size: 18px" type="text">开始测评</el-button>
             </div>
           </el-card>
 
           <el-card v-if="!hasTestPaperInfo" class="no_data">
-            <i class="el-icon-takeaway-box"></i> 暂无考试信息
+            <i class="el-icon-takeaway-box"></i> 暂无测评信息
           </el-card>
         </div>
       </div>
@@ -138,7 +138,7 @@
       },
 
       startExam (testPaperInfo) {
-        this.$confirm('确定开始考试吗?', '提示', {
+        this.$confirm('确定开始测评吗?', '提示', {
           confirmButtonText: '确定',
           cancelButtonText: '取消',
           type: 'warning'

+ 2 - 2
src/views/education/examHistory.vue

@@ -35,7 +35,7 @@
             </div>
 
             <div  class="text item">
-              考试用时: {{examInfo.examTime}}
+              测评用时: {{examInfo.examTime}}
             </div>
 
             <div class="text item">
@@ -58,7 +58,7 @@
           </el-card>
 
          <el-card v-if="!hasData" class="no_data">
-            <i class="el-icon-takeaway-box"></i> 暂无考试记录
+            <i class="el-icon-takeaway-box"></i> 暂无测评记录
           </el-card>
         </div>
       </div>

+ 6 - 6
src/views/education/examQuestion.vue

@@ -26,14 +26,14 @@
         components: {questionInfo},
         data () {
           return {
-            studentExamTime: 0, // 学生考试用时
+            studentExamTime: 0, // 学生测评用时
             studentExamTimer: null,
             examTime: null,
             examTimeKey: 'examTime:',
          //   timeInterval: null,
             timeTarget: null,
             endTime: null,
-            timeOutFlag: false, // 是否考试时间到
+            timeOutFlag: false, // 是否测评时间到
             openAnswerFlag: false,
             leaveNumber: 0,
             currentQuestion: {},
@@ -75,7 +75,7 @@
           }
 
           this.studentExamTimer = setInterval(() => {
-            this.startCountStudentExamTime() // 开始计算考试时间
+            this.startCountStudentExamTime() // 开始计算测评时间
           }, 1000)
           this.getPaperQuestionList()
           document.addEventListener('visibilitychange', this.visibilityChangeEvent)
@@ -117,7 +117,7 @@
             console.log('作弊, 系统自动提交')
           }
           if (this.leaveNumber % 2 !== 0) {
-            this.$alert('考试中请勿离开当前页面,超过3次系统将自动提交', '考试注意事项', {
+            this.$alert('测评中请勿离开当前页面,超过3次系统将自动提交', '测评注意事项', {
               confirmButtonText: '确定',
               callback: action => {
 
@@ -133,7 +133,7 @@
               this.$notify({
                 title: '警告',
                 duration: 3000,
-                message: '考试时间到,系统将自动提交本次考试',
+                message: '测评时间到,系统将自动提交本次测评',
                 type: 'warning'
               })
               setTimeout(() => {
@@ -165,7 +165,7 @@
               }
             }
             this.examTime = this.examTime - 100
-            // 缓存考试时间,防止刷新页面考试时间仍然不变的问题
+            // 缓存测评时间,防止刷新页面测评时间仍然不变的问题
             sessionStorage.setItem(this.examTimeKey + this.testPaperInfo.id, this.examTime)
           },
 

+ 3 - 3
src/views/education/examReport.vue

@@ -9,15 +9,15 @@
 
           <el-row :gutter="20">
             <el-col :span="10">
-              <div class="grid-content bg-purple">考试名称: {{examInfo.testPaperInfoName}}</div>
+              <div class="grid-content bg-purple">测评名称: {{examInfo.testPaperInfoName}}</div>
             </el-col>
             <el-col :span="7"><div class="grid-content bg-purple">参考时间: {{examInfo.createDate}}</div></el-col>
-            <el-col :span="5"><div class="grid-content bg-purple">考试时间: {{examInfo.testPaperExamTime}}分钟</div></el-col>
+            <el-col :span="5"><div class="grid-content bg-purple">测评时间: {{examInfo.testPaperExamTime}}分钟</div></el-col>
           </el-row>
 
           <el-row :gutter="20">
             <el-col :span="10">
-              <div class="grid-content bg-purple">考试用时: {{examInfo.examTime}}</div>
+              <div class="grid-content bg-purple">测评用时: {{examInfo.examTime}}</div>
             </el-col>
             <el-col :span="7">
               <div class="grid-content bg-purple">