| | |
| | | <el-table ref="multipleTable" |
| | | :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}" |
| | | :data="tableData" style="width: 100%" :row-class-name="tableRowClassName"> |
| | | <el-table-column type="selection" width="55"> |
| | | <el-table-column type="selection" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column label="用户ID" width="80"> |
| | | <el-table-column label="用户ID" min-width="10"> |
| | | <template slot-scope="scope">{{ scope.row.id }}</template> |
| | | </el-table-column> |
| | | <el-table-column prop="nickName" label="用户名称" width="100"> |
| | | <el-table-column prop="nickName" label="用户名称" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="username" label="所属姓名" width="76"> |
| | | <el-table-column prop="username" label="所属姓名" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="mobile" label="联系方式" width="81"> |
| | | <el-table-column prop="mobile" label="联系方式" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="note" label="所属角色" width="87"> |
| | | <el-table-column prop="note" label="所属角色" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="departName" label="所属部门" width="80"> |
| | | <el-table-column prop="departName" label="所属部门" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="jobTitle" label="所属职务" width="83"> |
| | | <el-table-column prop="jobTitle" label="所属职务" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="createTime" label="创建时间" width="128"> |
| | | <el-table-column prop="createTime" label="创建时间" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="status" label="启用" width="120"> |
| | | <el-table-column prop="status" label="启用" min-width="10"> |
| | | <template slot-scope="scope"> |
| | | <el-switch class="switchStyle" v-model="scope.row.status" active-text="开" inactive-text="关" |
| | | active-color="#3fef9a" inactive-color="#000212" @change="handleChangeStatus(scope.row)"> |
| | | </el-switch> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="operation" label="操作" width="366"> |
| | | <el-table-column prop="operation" label="操作" min-width="10"> |
| | | <template slot-scope="scope"> |
| | | <div class="operation"> |
| | | <!-- <span @click="handleChangeRole(scope.row)">修改角色</span> --> |