mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 06:32:51 +00:00
feat:调整打开okr明细的方法
This commit is contained in:
parent
3fe9c60480
commit
c8bc67e7bf
24
resources/assets/js/store/actions.js
vendored
24
resources/assets/js/store/actions.js
vendored
@ -3444,15 +3444,21 @@ export default {
|
|||||||
*/
|
*/
|
||||||
openOkr({state}, link_id) {
|
openOkr({state}, link_id) {
|
||||||
if (link_id > 0) {
|
if (link_id > 0) {
|
||||||
state.okrWindow = {
|
if (window.innerWidth < 910) {
|
||||||
type: 'okrDetails',
|
$A.goForward({
|
||||||
show: true,
|
path:'/manage/apps/#/okrDetails?data='+link_id,
|
||||||
id: link_id
|
});
|
||||||
};
|
}else{
|
||||||
setTimeout(()=>{
|
state.okrWindow = {
|
||||||
state.okrWindow.show = false;
|
type: 'okrDetails',
|
||||||
state.okrWindow.id = 0;
|
show: true,
|
||||||
},10)
|
id: link_id
|
||||||
|
};
|
||||||
|
setTimeout(()=>{
|
||||||
|
state.okrWindow.show = false;
|
||||||
|
state.okrWindow.id = 0;
|
||||||
|
},10)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user