Browse Source

修改部分老师列表样式

wolyshaw 4 years ago
parent
commit
dbd66425a6
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/views/teacherManager/teacherList.vue

+ 9 - 3
src/views/teacherManager/teacherList.vue

@@ -115,10 +115,13 @@
                            prop="organName"
                            label="所属分部"></el-table-column>
           <el-table-column align="center"
+                           width="150px"
                            label="老师状态">
             <template slot-scope="scope">{{ scope.row.lockFlag | teacherStatus }}</template>
           </el-table-column>
           <el-table-column align="center"
+                           :show-overflow-tooltip="true"
+                           width="200px"
                            label="专业技能">
             <template slot-scope="scope">
               <span style="max-height: 68px;display: block;"
@@ -127,6 +130,7 @@
           </el-table-column>
           <el-table-column align="center"
                            prop="phone"
+                           width="150px"
                            label="联系电话"></el-table-column>
           <el-table-column align="center"
                            label="工作类型">
@@ -142,10 +146,12 @@
                            prop="vipNum"
                            label="已开小课"></el-table-column>
           <el-table-column align="center"
+                           width="130px"
                            label="试听课安排">
             <template slot-scope="scope">{{ scope.row.demoNum > 0 ? '是' : '否' }}</template>
           </el-table-column>
           <el-table-column align="center"
+                           width="120px"
                            label="开放网管课">
             <template slot-scope="scope">{{ scope.row.isSupportExtraPracticeLesson ? '是' : '否' }}</template>
           </el-table-column>
@@ -171,8 +177,8 @@
             <template slot-scope="scope">
               <!--   let search = JSON.stringify(this.searchForm)
               let rules = JSON.stringify(this.pageInfo)-->
-              <router-link style="color:#409EFF"
-                           v-permission="'/teacherDetail'"
+              <router-link v-permission="'/teacherDetail'"
+                           class="el-button--text"
                            :to="{path:`/business/teacherDetail?teacherId=${scope.row.id}&teacherName=${scope.row.realName}`,query:{search:JSON.stringify(searchForm),rules:JSON.stringify(pageInfo)}}">查看</router-link>
               <el-button v-permission="'/teacherIperationUpdate'"
                          @click="onTeacher('update', scope.row)"
@@ -485,4 +491,4 @@ export default {
 .el-button + .el-button {
   margin-left: 0;
 }
-</style>
+</style>