| | |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :width="deptAdmin() ? '310px' : '400px'" label="操作" fixed="right" align="center"> |
| | | <el-table-column :width="deptAdmin() ? '310px' : '350px'" label="操作" fixed="right" align="center"> |
| | | <template slot-scope="{row}"> |
| | | <el-button size="mini" v-if="!deptAdmin()" @click="changeStatus(row)" class="link-left"> |
| | | {{ statusBtnFormatter(row.status) }} |
| | |
| | | <router-link :to="{path:'/user/student/edit', query:{id:row.id}}" class="link-left"> |
| | | <el-button size="mini" >编辑</el-button> |
| | | </router-link> |
| | | <router-link :to="{path:'/log/user/list', query:{userId:row.id}}" class="link-left"> |
| | | <!-- <router-link :to="{path:'/log/user/list', query:{userId:row.id}}" class="link-left"> |
| | | <el-button size="mini" >日志</el-button> |
| | | </router-link> |
| | | </router-link> --> |
| | | <el-button type="primary" size="mini" @click="status(row)" class="link-left">状态</el-button> |
| | | <el-button type="primary" size="mini" @click="transposition(row)" class="link-left">调动</el-button> |
| | | <el-popconfirm title="确认删除吗" @confirm="deleteUser(row)"> |