|
@@ -402,6 +402,22 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
+ "metaData.periodsR": {
|
|
|
+ deep: true,
|
|
|
+ handler: function (newV, oldV) {
|
|
|
+ if (newV && newV.length > 0) {
|
|
|
+ this.leftQuery.period = newV[0].name;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "metaData.subjectsR": {
|
|
|
+ deep: true,
|
|
|
+ handler: function (newV, oldV) {
|
|
|
+ if (newV && newV.length > 0) {
|
|
|
+ this.leftQuery.subject = newV[0].name;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
curTaskId: {
|
|
|
deep: true,
|
|
|
handler: function (newV, oldV) {
|
|
@@ -576,6 +592,8 @@ export default {
|
|
|
status: "",
|
|
|
created_at: "",
|
|
|
};
|
|
|
+ this.leftQuery.period = "高中"
|
|
|
+ this.leftQuery.subject = "语文"
|
|
|
this.curID = 0;
|
|
|
this.getItems();
|
|
|
this.$refs.treeInner.setCurrentKey(null);
|