| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="operation" label="操作" min-width="20"> |
| | | <template slot-scope="scope"> |
| | | <!-- <template slot-scope="scope"> |
| | | <div class="operation"> |
| | | <span @click="handleChangeRole(scope.row,'role')">修改角色</span> |
| | | <span class="line">|</span> |
| | |
| | | <span class="line">|</span> |
| | | <span @click="handleChangeRole(scope.row,'depart')">修改部门</span> |
| | | </div> |
| | | </template> |
| | | </template> --> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- 查看页面 --> |
| | |
| | | message: res.message |
| | | }) |
| | | } |
| | | console.log(res); |
| | | }) |
| | | }) |
| | | .catch(err => { console.log(err) }) |
| | |
| | | message: res.message |
| | | }) |
| | | } |
| | | console.log(res); |
| | | }) |
| | | }) |
| | | .catch(err => { console.log(err) }) |
| | |
| | | method: 'post', |
| | | url: 'sccg/admin/delete/' + id, |
| | | }).then(res => { |
| | | console.log(res); |
| | | this.$message({ |
| | | message: res.message, |
| | | type: 'success' |
| | |
| | | let { id, status } = obj; |
| | | status == true ? status = 1 : status = 0; |
| | | this.$axios.post(`sccg/admin/updateStatus/` + id + '?status=' + status).then(res => { |
| | | console.log(res); |
| | | }) |
| | | }, |
| | | // 获取用户列表 |