|
@@ -55,7 +55,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { ABLE_TYPE } from "@/constants/enumerate";
|
|
|
-import { userRoleListPage, setRoleDefault } from "../api";
|
|
|
+import { adminRoleListPage, setRoleDefault } from "../api";
|
|
|
import { deleteRole } from "../../base/api";
|
|
|
import ModifySystemRole from "../components/ModifySystemRole";
|
|
|
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async getList() {
|
|
|
- const data = await userRoleListPage();
|
|
|
+ const data = await adminRoleListPage();
|
|
|
this.roles = data || [];
|
|
|
this.roles = this.roles.filter(item => item.type !== "ADMIN");
|
|
|
},
|