diff --git a/src/components/orgChart/index.jsx b/src/components/orgChart/index.jsx index 20fb829..8211819 100644 --- a/src/components/orgChart/index.jsx +++ b/src/components/orgChart/index.jsx @@ -2,7 +2,7 @@ * @Author: Chengliang 1546584672@qq.com * @Date: 2022-08-04 10:22:55 * @LastEditors: Chengliang 1546584672@qq.com - * @LastEditTime: 2022-08-09 11:01:43 + * @LastEditTime: 2022-11-01 15:01:23 * @FilePath: /org-chart-frant/src/components/orgChart/index.jsx * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -57,7 +57,6 @@ export const OrgChartComponent = memo((props, ref) => { .style('stroke-dasharray', '3, 3'); }) .onNodeClick((d, i, arr) => { - console.log(d, 'Id of clicked node '); props.onNodeClick(d); }) @@ -74,7 +73,6 @@ export const OrgChartComponent = memo((props, ref) => { props.onButtonClick && props.onButtonClick(event, d); }; } catch (err) { - console.log(err); message.warning(err); } } diff --git a/src/components/toolBar/index.jsx b/src/components/toolBar/index.jsx index 3efd8e4..1cbe424 100644 --- a/src/components/toolBar/index.jsx +++ b/src/components/toolBar/index.jsx @@ -49,7 +49,6 @@ export default class ToolBar extends React.Component { handleMouseUp(e) { this.start = false; - console.log('this.start:', this.start); } render() { diff --git a/src/pages/user.jsx b/src/pages/user.jsx index 677711e..e1efd38 100644 --- a/src/pages/user.jsx +++ b/src/pages/user.jsx @@ -45,8 +45,6 @@ export default function userPage() { let idsStr = idsList.join(','); - console.log('idsStr', idsStr); - let api = ''; if (topBarSearchRequest) { let request = { ...topBarSearchRequest, ids: idsStr }; @@ -247,13 +245,13 @@ export default function userPage() { // 岗位人员地址 let postUserUrl = `/spa/organization/static/index.html#/main/organization/resourceCard/${d.data.fobjid}`; //集团通讯录 - let addressBookGroupUrl = `/spa/organization/static/index.html#/main/organization/resource/?virtualtype=${d.data.fecid}`; + let addressBookGroupUrl = `/spa/organization/static/index.html#/main/organization/resource/?virtualtype=0`; // 分部通讯录 - let addressBookUrl = `/spa/organization/static/index.html#/main/organization/resource/?subcompanyid1=${d.data.fecid}`; + let addressBookUrl = `/spa/organization/static/index.html#/main/organization/resource/?companyId=${d.data.fobjid}`; // 部门通讯录 - let addressBookDepartmentUrl = `/spa/organization/static/index.html#/main/organization/resource/?departmentid=${d.data.fecid}`; + let addressBookDepartmentUrl = `/spa/organization/static/index.html#/main/organization/resource/?departmentId=${d.data.fobjid}`; // 岗位通讯录 - let addressBookPostUrl = `/spa/organization/static/index.html#/main/organization/resource/?departmentid=${d.data.fobjparentId}`; + let addressBookPostUrl = `/spa/organization/static/index.html#/main/organization/resource/?jobTitle=${d.data.fobjid}`; if (d.data.ftype == 0 || d.data.ftype == 1 || d.data.ftype == 2) { return `