|
@@ -277,6 +277,11 @@ export default {
|
|
|
this.allType3List.push(ele);
|
|
|
ele.status === 2 && this.allIds.push(ele.periodStatusId);
|
|
|
} else {
|
|
|
+ if (ele.type == 1 && ele.arr) {
|
|
|
+ let item = ele.arr[0];
|
|
|
+ this.allType3List.push(item);
|
|
|
+ item.status === 2 && this.allIds.push(item.periodStatusId);
|
|
|
+ }
|
|
|
this.getAllId(
|
|
|
ele.type == 1 ? ele.classPeriods : ele.classPeriodSectionList
|
|
|
);
|
|
@@ -407,8 +412,9 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+ let that = this;
|
|
|
window.onresize = function () {
|
|
|
- this.setBomHeight();
|
|
|
+ that.setBomHeight();
|
|
|
};
|
|
|
},
|
|
|
created() {
|