Explorar o código

王子文 专项培训

wangggziwen %!s(int64=3) %!d(string=hai) anos
pai
achega
a6055a9063
Modificáronse 1 ficheiros con 6 adicións e 7 borrados
  1. 6 7
      ui/src/views/training/spec/plan/index.vue

+ 6 - 7
ui/src/views/training/spec/plan/index.vue

@@ -475,9 +475,9 @@
       </el-table>
       <h3 style="margin-top:50px;margin-bottom:20px;text-align:center;">导师反馈</h3>
       <el-form label-width="80px">
-        <el-form-item label="科目成绩">
+        <!-- <el-form-item label="科目成绩">
           <el-input v-model="commentParams.score" />
-        </el-form-item>
+        </el-form-item> -->
         <el-form-item label="综合评价">
           <el-input v-model="commentParams.overallComment" type="textarea" rows="6"/>
         </el-form-item>
@@ -497,9 +497,9 @@
       </el-table>
       <h3 style="margin-top:50px;margin-bottom:20px;text-align:center;">导师反馈</h3>
       <el-form label-width="80px">
-        <el-form-item label="科目成绩">
+        <!-- <el-form-item label="科目成绩">
           <el-input v-model="commentParams.score" readonly/>
-        </el-form-item>
+        </el-form-item> -->
         <el-form-item label="综合评价">
           <el-input v-model="commentParams.overallComment" type="textarea" rows="6" readonly/>
         </el-form-item>
@@ -514,7 +514,7 @@
 
 <script>
 import { getFeedback} from "@/api/training/spec/planfeedback";
-import { getPlan,listPlanByYearId, delPlan, addPlan, updatePlan, exportPlan, importTemplate, listSuccessorsByMentorId, listPlanByMentorId } from "@/api/training/spec/plan";
+import { getPlan,listPlanByYearId, delPlan, addPlan, updatePlan, updatePlan2, exportPlan, importTemplate, listSuccessorsByMentorId, listPlanByMentorId } from "@/api/training/spec/plan";
 import { allFileList, delCommonfile } from "@/api/common/commonfile";
 import { treeselect } from "@/api/system/dept";
 import { getToken } from "@/utils/auth";
@@ -755,7 +755,7 @@ export default {
     /** 评价提交处理 */
     handleAddComment() {
       this.commentParams.id = this.comment.id;
-      updatePlan(this.commentParams).then(response => {
+      updatePlan2(this.commentParams).then(response => {
         this.comment.open = false;
         this.msgSuccess("已结束学习");
         this.getList();
@@ -789,7 +789,6 @@ export default {
       this.comment.open = true;
       getFeedback(row.id).then(response => {
         let feedbackObject = response.data;
-        console.log(feedbackObject);
         let data1 = { id: 1, question: feedbackObject.question1, answer: feedbackObject.answer1};
         let data2 = { id: 2, question: feedbackObject.question2, answer: feedbackObject.answer2};
         let data3 = { id: 3, question: feedbackObject.question3, answer: feedbackObject.answer3};