|
@@ -431,6 +431,8 @@ export default {
|
|
|
components: { Treeselect, Editor },
|
|
|
data() {
|
|
|
return {
|
|
|
+ // 父级反馈导师id
|
|
|
+ mentorId: null,
|
|
|
// 是否为第一次搜索
|
|
|
isFirstSearch: true,
|
|
|
// 当前用户id
|
|
@@ -722,8 +724,8 @@ export default {
|
|
|
feedback.successorId = this.queryParams.successorId;
|
|
|
feedback.feedbackYear = this.queryParams.feedbackYear;
|
|
|
feedback.feedbackSeason = this.queryParams.feedbackSeason;
|
|
|
- if (this.isMentor) {
|
|
|
- feedback.parentId= this.parentId;
|
|
|
+ if (this.isMentor && this.staffId != tab.name) {
|
|
|
+ feedback.parentId = this.parentId;
|
|
|
}
|
|
|
// 根据标签页导师id获取反馈id
|
|
|
getFeedbackByParams(feedback).then(response => {
|
|
@@ -803,6 +805,7 @@ export default {
|
|
|
}).then(response => {
|
|
|
let data = response.data;
|
|
|
this.feedbackId = data.id;
|
|
|
+ this.mentorId = data.id;
|
|
|
this.parentId = data.id;
|
|
|
this.meetingDate = data.meetingDate;
|
|
|
this.resetLastDay();
|