修改菜单,角色,部门,字典等功能
This commit is contained in:
@ -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",
|
||||
|
@ -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获取项目信息
|
||||
|
Reference in New Issue
Block a user