浏览代码

课表列表字段修改

wolyshaw 4 年之前
父节点
当前提交
7e334ee865
共有 2 个文件被更改,包括 37 次插入1 次删除
  1. 32 0
      src/views/teamDetail/componentCourse/teacherList.vue
  2. 5 1
      src/views/teamDetail/teamCourseList.vue

+ 32 - 0
src/views/teamDetail/componentCourse/teacherList.vue

@@ -41,6 +41,37 @@
         </template>
       </el-table-column>
       <el-table-column align='center'
+                       prop="complaintsContent"
+                       width="120"
+                       label="申诉内容">
+        <template slot-scope="scope">
+          <div v-if="scope.row.teacherAttendance">
+            <overflow-text :text="scope.row.teacherAttendance.complaintsContent" width="100%">
+              {{ scope.row.teacherAttendance.complaintsContent}}
+            </overflow-text>
+          </div>
+        </template>
+      </el-table-column>
+      <el-table-column align='center'
+                       prop="complaintsTime"
+                       width="160"
+                       label="申诉时间">
+        <template slot-scope="scope">
+          <div>
+            {{ scope.row.teacherAttendance && scope.row.teacherAttendance.complaintsTime}}
+          </div>
+        </template>
+      </el-table-column>
+      <el-table-column align='center'
+                       prop="complaintsStatus"
+                       label="申诉状态">
+        <template slot-scope="scope">
+          <div v-if="scope.row.teacherAttendance">
+            {{scope.row.teacherAttendance.complaintsStatus | complaintsStatusEnum}}
+          </div>
+        </template>
+      </el-table-column>
+      <el-table-column align='center'
                        prop="teacherPhone"
                        label="签到状态">
         <template slot-scope="scope">
@@ -56,6 +87,7 @@
       </el-table-column>
       <el-table-column align='center'
                        width="200px"
+                       fixed="right"
                        label="操作">
         <template slot-scope="scope">
           <div>

+ 5 - 1
src/views/teamDetail/teamCourseList.vue

@@ -13,7 +13,7 @@
                :model.sync="searchForm">
         <el-form-item>
           <el-input v-model.trim="searchForm.search"
-                    @keyup.enter.native="search"
+                    clearable
                     placeholder="课程(组)编号/课程名称" />
         </el-form-item>
         <el-form-item>
@@ -219,6 +219,10 @@
             </template>
           </el-table-column>
           <el-table-column align="center"
+                           prop="teacherName"
+                           width="110"
+                           label="主教老师"></el-table-column>
+          <el-table-column align="center"
                            prop="schoolName"
                            label="教学点">
             <template slot-scope="scope">