| | |
| | | </div> |
| | | </div> |
| | | <div class="addUser"> |
| | | <el-button class="addBtn" type="primary" @click="dialogCreate = true">添加用户</el-button> |
| | | <el-button class="addBtn" type="primary" @click="dialogCreate = true">新建角色</el-button> |
| | | <el-dialog :visible.sync="dialogCreate" width="45%"> |
| | | <createUser :refresh="getUserList" /> |
| | | </el-dialog> |
| | |
| | | <span class="line">|</span> |
| | | <!-- <span>修改密码</span> --> |
| | | <!-- <span>删除</span> --> |
| | | <span @click="handleUpdate(scope.row)">修改部门</span> |
| | | <span @click="handleUpdate(scope.row)">修改角色</span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | dialogUpdate: false, |
| | | updateFlag: false, |
| | | userInfo: '', |
| | | totalNum: 200, |
| | | totalNum: '', |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | } |
| | |
| | | item.status == 1 ? item.status = true : item.status = false; |
| | | }) |
| | | that.tableData = res.data |
| | | this.totalNum=res.data.length |
| | | } |
| | | }) |
| | | }, |
| | |
| | | item.createTime = helper(item.createTime); |
| | | item.status == 1 ? item.status = true : item.status = false; |
| | | }) |
| | | |
| | | that.tableData = res.data.list |
| | | this.totalNum=this. |
| | | this.totalNum=res.data.list.length |
| | | } |
| | | }) |
| | | }, |
| | |
| | | &::v-deep .el-dialog__body { |
| | | background-color: #06122c; |
| | | } |
| | | // &::v-deep .el-dialog__title{ |
| | | // color: #4b9bb7; |
| | | // } |
| | | } |
| | | </style> |