跳转链接替换

This commit is contained in:
Chengliang 2024-10-24 09:14:49 +08:00
parent b851f5e2b9
commit 6b4fdabeb7
2 changed files with 3 additions and 3 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -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',
);
}