黎星凯
2024-05-08 b4adff68a07b783fc90da1c9370d8be5f383e700
admin-web/src/api/system/role.js
@@ -54,15 +54,15 @@
}
// 角色状态修改
export function changeRoleStatus(role_id, status) {
  const data = {
    role_id,
    status
  }
export function changeRoleStatus(row) {
  // const data = {
  //   role_id,
  //   status
  // }
  return request({
    url: '/pc/fin/sys/role/select/changeStatus',
    url: '/system/role/edit',
    method: 'post',
    data: data
    data: row
  })
}