|
|
@@ -726,12 +726,17 @@ export default {
|
|
|
feedback.successorId = this.queryParams.successorId;
|
|
|
feedback.feedbackYear = this.queryParams.feedbackYear;
|
|
|
feedback.feedbackSeason = this.queryParams.feedbackSeason;
|
|
|
- if (this.isMentor && this.staffId != tab.name) {
|
|
|
+ if (this.mentorId == tab.name) {
|
|
|
feedback.parentId = this.parentId;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// 根据标签页导师id获取反馈id
|
|
|
getFeedbackByParams(feedback).then(response => {
|
|
|
let data = response.data;
|
|
|
+ console.log(data);
|
|
|
// 设置反馈id为当前tab导师反馈id
|
|
|
this.feedbackId = data.id;
|
|
|
// 刷新导师反馈内容
|
|
|
@@ -809,7 +814,7 @@ export default {
|
|
|
}).then(response => {
|
|
|
let data = response.data;
|
|
|
this.feedbackId = data.id;
|
|
|
- this.mentorId = data.id;
|
|
|
+ this.mentorId = data.mentorId;
|
|
|
this.parentId = data.id;
|
|
|
this.meetingDate = data.meetingDate;
|
|
|
this.resetLastDay();
|