修改菜单,角色,部门,字典等功能

This commit is contained in:
刘倡
2025-07-16 09:38:21 +08:00
parent d594ad95e0
commit bcb704afd2
16 changed files with 749 additions and 1330 deletions

View File

@ -88,7 +88,7 @@ const Loading: React.FC<{}> = () => {
}
setUserData(userData, role, roleData);
// }
// await setDict();//存字典
await setDict();//存字典
setTimeout(() => {
history.push({
pathname: `/${url}`,
@ -256,6 +256,7 @@ const Loading: React.FC<{}> = () => {
url == 'ExamineAndApprove/ExternalReference' ||
url == 'ExamineAndApprove/FailureAnnouncement') {
const newAuthority: any[] = []
debugger
newAuthority.push({
authorities: [null, "system:user:test", "system:user:test", "system:user:test", "system:user:test", null, null],
roleCode: "ebtp-cosco-default",

View File

@ -57,7 +57,7 @@ export function cooperReloadToken(params: any, header: any) {
* @returns
*/
export async function getDictionaries() {
return request('/api/biz-service-ebtp-project/v1/dictProject/refreshDictCache');
return request('/api/sys-manager-ebtp-project/v1/dictProject/refreshDictCache');
}
/**
* 根据projectId获取项目信息