QC3530275
This commit is contained in:
parent
f792f93287
commit
1b7605aaee
|
|
@ -54,10 +54,7 @@ export default class DrawerComponents extends React.Component {
|
|||
// 点击节点
|
||||
onNodeClick(node) {
|
||||
if (node.ftype == '4') {
|
||||
window.open(
|
||||
`/spa/hrm/index_mobx.html#/main/hrm/card/cardInfo/${node.id}`,
|
||||
'_blank',
|
||||
);
|
||||
window.open(node.pcUrl, '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -269,6 +266,9 @@ export default class DrawerComponents extends React.Component {
|
|||
*/
|
||||
nodeContentRender = (d, i, arr, state) => {
|
||||
let name = d.data.deptType == 0 ? '所属部门' : '所属科室';
|
||||
if (d.data.fisvitual != 0) {
|
||||
name = '所属部门';
|
||||
}
|
||||
|
||||
if (d.data.ftype == 2) {
|
||||
return `<div style="position: relative;">
|
||||
|
|
|
|||
Loading…
Reference in New Issue