修改审核拉取角色问题

ywj_dev
郑明梁 2 years ago
parent 82d9db225f
commit 449f9aca72

@ -37,6 +37,14 @@ export function authCustomerRoles(query) {
});
}
// 获取客户角色列表
export function authCustomerRoleList(query) {
return axios({
url: "/admin/auth/admin/customerRolesList",
method: "get",
params: query
});
}
// 保存
export function authAdminSave(data, formName, method = "post") {
let url =

@ -278,7 +278,7 @@
<script>
import {getRegisters, checkPass, deleteRe} from "@/api/auth/register";
import {authCustomerRoles} from "@/api/auth/authAdmin";
import { authCustomerRoleList, authCustomerRoles } from '@/api/auth/authAdmin'
import {getBasicUnitMaintains2} from "@/api/basic/basicUnitMaintain";
import {getRegisterConfig} from "@/api/warehouse/company";
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"
@ -493,7 +493,7 @@ export default {
});
},
getRoleList() {
authCustomerRoles()
authCustomerRoleList()
.then((response) => {
this.roles = response.data.list || [];
})

Loading…
Cancel
Save