Ver Fonte

王子文 专项培养 bug fixed: 解决了季度反馈页面加载时导师tab值重复的问题

wangggziwen há 3 anos atrás
pai
commit
561d367d61
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      ui/src/views/training/spec/seasonalfeedback/index.vue

+ 4 - 2
ui/src/views/training/spec/seasonalfeedback/index.vue

@@ -67,7 +67,6 @@
           clearable
           type="year"
           size="small"
-          @input="handleQuery"
           style="width:200px"
         />
       </el-form-item>
@@ -78,7 +77,6 @@
           placeholder="请选择季度"
           clearable
           size="small"
-          @input="handleQuery"
           style="width:200px"
         >
           <el-option label="第一季度" value="1"></el-option>
@@ -1053,6 +1051,8 @@ export default {
                 for (let i = 0; i < data.length; i++) {
                   this.mentorTabs.push({ name: data[i].mentorId, title: data[i].mentorName});
                 }
+                console.log("页面加载,第三季度:");
+                console.log(this.mentorTabs);
               });
               // ====================获取问卷答案====================
               listAnswer( { feedbackId: this.feedbackId } ).then(response => {
@@ -1426,6 +1426,8 @@ export default {
           for (let i = 0; i < data.length; i++) {
             this.mentorTabs.push({ name: data[i].mentorId, title: data[i].mentorName});
           }
+          console.log("搜索第二季度:");
+          console.log(this.mentorTabs);
         });
         // 刷新问卷
         listAnswer( { feedbackId: this.feedbackId } ).then(response => {