浏览代码

Merge branch 'master' of http://git.dayaedu.com/molingzhide/dy-admin-manager

mo 5 年之前
父节点
当前提交
7ea04ea028
共有 1 个文件被更改,包括 9 次插入2 次删除
  1. 9 2
      src/views/teamDetail/components/teamTeacherRecord.vue

+ 9 - 2
src/views/teamDetail/components/teamTeacherRecord.vue

@@ -1,8 +1,9 @@
 <template>
 <template>
   <div class="m-container">
   <div class="m-container">
     <h2>
     <h2>
-      <div class='squrt'></div>
-      {{name}}
+      <!-- <div class='squrt'></div>
+      {{name}} -->
+      <el-page-header @back="onCancel" :content="name"></el-page-header>
     </h2>
     </h2>
     <p style="margin-bottom:20px;">老师上课记录</p>
     <p style="margin-bottom:20px;">老师上课记录</p>
     <!-- 搜索类型 -->
     <!-- 搜索类型 -->
@@ -42,6 +43,9 @@
         <el-table-column align='center'
         <el-table-column align='center'
                          prop="classDate"
                          prop="classDate"
                          label="时间">
                          label="时间">
+          <template slot-scope="scope">
+            {{ scope.row.classDate }} {{ scope.row.startClassTime ? scope.row.startClassTime.substr(0, 5) : '' }}
+          </template>
         </el-table-column>
         </el-table-column>
         <el-table-column align='center'
         <el-table-column align='center'
                          prop="courseScheduleName"
                          prop="courseScheduleName"
@@ -117,6 +121,9 @@ export default {
     this.getList()
     this.getList()
   },
   },
   methods: {
   methods: {
+    onCancel() {
+      window.history.back()
+    },
     search () {
     search () {
       this.rules.page = 1;
       this.rules.page = 1;
       this.getList();
       this.getList();