Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1461c22
saving progress
CarliPinell Nov 22, 2024
e52e94a
Ready for PR
CarliPinell Dec 11, 2024
63ae6c7
Merge branch 'release-2024-fall' of github.com:ProcessMaker/processma…
CarliPinell Dec 11, 2024
5c25ad7
Ready for PR based on epic/20297
CarliPinell Dec 16, 2024
4a8e7bf
Adding new component ParticipantHomeScren.vue
CarliPinell Dec 16, 2024
a126adc
Merge pull request #7818 from ProcessMaker/feature/FOUR-20298
nolanpro Dec 16, 2024
365842a
Applying Code Styles, removing unused comments and fixing test unit
CarliPinell Dec 16, 2024
aa4edca
Merge pull request #7829 from ProcessMaker/feature/FOUR-20299
boliviacoca Dec 17, 2024
99f1b5f
Adding new component ProcessesDashboardsMenu.vue
CarliPinell Dec 17, 2024
bc2ce99
saving progress 2
CarliPinell Dec 17, 2024
88c162d
Saving progress 3
CarliPinell Dec 17, 2024
c569423
Saving progress 4
CarliPinell Dec 17, 2024
7119606
saving progress 6 router-view working good
CarliPinell Dec 18, 2024
bf7c690
Saving progress 7
CarliPinell Dec 18, 2024
25488d3
saving progress 8 ready for PR
CarliPinell Dec 18, 2024
6b9cdf7
saving progress 1 dynamic processes working fine
CarliPinell Dec 18, 2024
40b66ed
Saving progress 2
CarliPinell Dec 19, 2024
83d3693
Adding dynamic processes list and refactoring router-view calling for…
CarliPinell Dec 19, 2024
233026a
modifying router.js to call tasks/process/{id} and tasks/dashboard/{id}
CarliPinell Dec 19, 2024
cb22d9a
Saving progress Left Pane working, Process rendered ok in new Container
CarliPinell Dec 20, 2024
b5ef068
improvements on loadProcess method
CarliPinell Jan 6, 2025
421e022
Ready for PR
CarliPinell Jan 7, 2025
316fde4
solving conflicts
CarliPinell Jan 7, 2025
098641b
Merge branch 'epic/FOUR-20297-b' of github.com:ProcessMaker/processma…
CarliPinell Jan 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Saving progress 3
  • Loading branch information
CarliPinell committed Dec 17, 2024
commit 88c162ddb0520b96bfb6b3e9b7bebfb73b4a64fd
50 changes: 34 additions & 16 deletions resources/js/tasks/components/ProcessesDashboardsMenu.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
<template>
<div class="inbox-process-menu">
<div class="menu-options">
<button
class="menu-btn"
@click="openProcessDashboard('process1')"
>
<i class="fas fa-check"></i> Proceso 1
</button>
<button
class="menu-btn"
@click="openProcessDashboard('dashboard1')"
>
<i class="fas fa-check"></i> Dashboard 1
</button>
<div>
<button
class="menu-btn"
@click="openProcessDashboard('process1')"
>
<i class="fas fa-check"></i> Proceso 1
</button>
</div>
<div>
<button
class="menu-btn"
@click="openProcessDashboard('process2')"
>
<i class="fas fa-check"></i> Proceso 2
</button>
</div>
<div>
<button
class="menu-btn"
@click="openProcessDashboard('dashboard1')"
>
<i class="fas fa-check"></i> Dashboard 1
</button>
</div>
</div>
</div>
</template>
Expand All @@ -36,10 +48,16 @@ export default {
openProcessDashboard(item) {
if (item === 'process1') {
const router = this.$router || this.$root.$router;
router.push({
path: '/',
query: { parametro: '1' }
});
if (router.currentRoute.query.parametro !== '1') {
router.push({
path: '/',
query: { parametro: '1' }
}).catch(err => {
if (err.name !== 'NavigationDuplicated') {
throw err;
}
});
}
}
this.$emit('processDashboardSelected', item);
},
Expand Down