|
@@ -167,7 +167,7 @@ export default {
|
|
|
this.$set(this, `dateList`, x);
|
|
|
arr = this.aData(arr);
|
|
|
this.$set(this, `lessonList`, arr);
|
|
|
- this.getTeacherNotice();
|
|
|
+ // this.getTeacherNotice();
|
|
|
}
|
|
|
},
|
|
|
async toSave() {
|
|
@@ -451,10 +451,12 @@ export default {
|
|
|
let word = '';
|
|
|
if (teaid) {
|
|
|
const { notified } = this.noticeList;
|
|
|
- const r = notified.find(f => f.notifiedid == teaid);
|
|
|
- if (!r) word = '未绑定微信';
|
|
|
- else {
|
|
|
- word = r.status == '0' ? '未确认' : '已确认';
|
|
|
+ if (notified) {
|
|
|
+ const r = notified.find(f => f.notifiedid == teaid);
|
|
|
+ if (!r) word = '未绑定微信';
|
|
|
+ else {
|
|
|
+ word = r.status == '0' ? '未确认' : '已确认';
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return word;
|