|
|
|
@ -486,15 +486,15 @@ watch(time, () => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const handleClick = (params) => { |
|
|
|
const handleClick = (params) => { |
|
|
|
const departId = params.data.departId; |
|
|
|
// const departId = params.data.departId; |
|
|
|
const { name } = params.data; |
|
|
|
// const { name } = params.data; |
|
|
|
alert("部门id:"+departId); |
|
|
|
// alert("部门id:"+departId); |
|
|
|
alert("部门名字:"+name); |
|
|
|
// alert("部门名字:"+name); |
|
|
|
const url = router.resolve({ |
|
|
|
// const url = router.resolve({ |
|
|
|
path: "/datav/sub1", |
|
|
|
// path: "/datav/sub1", |
|
|
|
query: { departId: departId }, |
|
|
|
// query: { departId: departId }, |
|
|
|
}).href; |
|
|
|
// }).href; |
|
|
|
window.open(url, "_blank"); |
|
|
|
// window.open(url, "_blank"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// endregion |
|
|
|
// endregion |
|
|
|
|