Browse Source

Merge branch 'iterationApp' into dev

lex-xin 3 years ago
parent
commit
73cd7c2f0d
2 changed files with 5 additions and 1 deletions
  1. 1 0
      src/views/afterClassEvaluate/detail.vue
  2. 4 1
      src/views/afterClassEvaluate/index.vue

+ 1 - 0
src/views/afterClassEvaluate/detail.vue

@@ -105,6 +105,7 @@ export default {
 		this.tenantId = sessionStorage.getItem('tenantId') || null
 	},
   async mounted() {
+    document.title = '课后评价详情';
     try {
       // 获取是否有布置作业
       const homeWork = await checkeIsAssignHomework({ courseScheduleId: this.id });

+ 4 - 1
src/views/afterClassEvaluate/index.vue

@@ -114,12 +114,15 @@ export default {
     }
     await this.getList()
 
+    let that = this
     listenerMessage({
       api: 'backRefreshPage',
       callback: () => {
-        this.onTabChange(this.params.evaluateFlag)
+        that.onTabChange(that.params.evaluateFlag)
       }
     })
+
+    document.title = '课后评价';
   },
 };
 </script>