|
@@ -45,7 +45,7 @@ import RolePermissionDrawer from './components/RolePermissionDrawer.vue';
|
|
|
import RoleIndexModal from './components/RoleIndexModal.vue';
|
|
|
import RoleUserTable from './components/RoleUserTable.vue';
|
|
|
import { columns, searchFormSchema } from './role.data';
|
|
|
-import { list, deleteRole, batchDeleteRole, getExportUrl, getImportUrl } from './role.api';
|
|
|
+import { list as getrolelist, deleteRole, batchDeleteRole, getExportUrl, getImportUrl } from './role.api';
|
|
|
import { appList } from '../menu/menu/menu.api';
|
|
|
import { useListPage } from '/@/hooks/system/useListPage';
|
|
|
const showFooter = ref(true);
|
|
@@ -71,7 +71,7 @@ const { prefixCls, tableContext, onImportXls, onExportXls } = useListPage({
|
|
|
designScope: 'role-template',
|
|
|
tableProps: {
|
|
|
title: '系统角色列表',
|
|
|
- api: list,
|
|
|
+ api: getrolelist,
|
|
|
columns: columns,
|
|
|
striped: true,
|
|
|
immediate: false,
|