跳转链接替换
This commit is contained in:
parent
b851f5e2b9
commit
6b4fdabeb7
|
|
@ -46,12 +46,12 @@ export default function companyPage() {
|
|||
const onNodeClick = (node) => {
|
||||
if (node.ftype == '1') {
|
||||
window.open(
|
||||
`/spa/organization/static/index.html#/main/organization/companyExtend/${node.fobjid}`,
|
||||
`/spa/portal/static/index.html#/main/portal/portal-6-3?subId=${node.fobjid}`,
|
||||
'_blank',
|
||||
);
|
||||
} else {
|
||||
} else if (node.ftype == '2') {
|
||||
window.open(
|
||||
`/spa/organization/static/index.html#/main/organization/departmentExtend/${node.fobjid}`,
|
||||
`/spa/portal/static/index.html#/main/portal/portal-5-3?depId=${node.fobjid}`,
|
||||
'_blank',
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue