Skip to content

Commit

Permalink
Merge pull request eclipse-tractusx#213 from FraunhoferISST/feat/enha…
Browse files Browse the repository at this point in the history
…nce-supplier-dashboard

Feat/enhance supplier dashboard
  • Loading branch information
tom-rm-meyer-ISST authored Jan 30, 2024
2 parents 46b1eb5 + 779e51e commit 46ad54c
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 130 deletions.
3 changes: 3 additions & 0 deletions frontend/src/assets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,7 @@ input:disabled, select:disabled {
.btn-primary {
@apply my-2 bg-blue-500 text-white font-bold py-2 px-4 rounded hover:bg-blue-700;
}
.btn-primary:disabled{
opacity: 0.6;
}
}
32 changes: 32 additions & 0 deletions frontend/src/assets/supplierDashboardMockData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"demandActual": [100,200,834,325,989,442,121,609,964,789,331,923,22,315,947,956,732,422,878,425,562,737,370,904,727,706,823,459],
"demandAdditional": [22,300,0,200,50,350,150,100,300,400,200,50,350,150,100,300,400,200,50,350,150,100,300,400,200,50,350,150],
"production": [122,500,940,237,977,626,915,196,749,382,48,982,95,14,831,23,542,142,10,664,333,731,611,797,366,485,732,357]
},
{
"demandActual": [398,23,183,53,341,492,282,80,48,199,417,223,242,263,262,185,313,78,209,405,7,134,362,196,247,248,336,302],
"demandAdditional": [],
"production": [398,23,183,53,341,492,282,80,48,199,417,223,242,263,262,185,313,78,209,405,7,134,362,196,247,248,336,302]
},
{
"demandActual": [342,294,48,32,243,180,113,395,5,477,223,31,193,418,472,338,45,219,149,324,92,28,129,481,235,348,132,259],
"demandAdditional": [],
"production": [342,294,48,32,243,180,113,395,5,477,223,31,193,418,472,338,45,219,149,324,92,28,129,481,235,348,132,259]
},
{
"demandActual": [311,152,173,496,418,17,79,267,22,426,103,396,469,362,299,112,105,180,141,1,133,9,476,93,118,373,394,376],
"demandAdditional": [],
"production": [311,152,173,496,418,17,79,267,22,426,103,396,469,362,299,112,105,180,141,1,133,9,476,93,118,373,394,376]
},
{
"demandActual": [399,238,16,187,317,496,134,189,264,15,357,203,322,388,1,65,423,441,119,28,417,460,218,129,217,5,63,198],
"demandAdditional": [100,50,75,0,150,500,0,20,150,0,175,200,0,40,100,50,75,0,150,500,0,20,150,0,175,200,0,40],
"production": [499,288,66,187,467,996,134,209,314,15,532,403,322,248,101,115,498,441,269,528,417,460,218,129,392,205,63,198]
},
{
"demandActual": [299,252,313,63,497,35,351,426,419,86,127,374,6,66,120,82,89,286,162,327,454,500,98,10,140,415,368,178],
"demandAdditional": [100,0,50,200,150,0,75,100,0,50,200,150,0,75,100,0,50,200,150,0,75,100,0,50,200,150,0,75],
"production": [399,252,313,263,647,35,426,526,419,136,327,374,6,141,220,82,139,486,312,327,454,600,98,60,340,565,368,253 ]
}
]
4 changes: 2 additions & 2 deletions frontend/src/views/StockView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
<main class="flex flex-col mb-7">
<header class="banner">
<div class="banner-text">
CONFIDENTIAL - The data you see is confidential and should be treated according to present law
IMPORTANT: Please note that the data shown may be <b>competitively sensitive</b> and, according to appliable
antitrust laws,<b> must not </b>be shared with competitors. Please consult your legal department, if necessary.
</div>
</header>
<h1 class="w-full text-center bold text-5xl mb-6 pb-6">
Expand Down Expand Up @@ -650,6 +651,5 @@ export default {
text-align: center;
padding: 10px;
color: red;
font-weight: bold;
}
</style>
Loading

0 comments on commit 46ad54c

Please sign in to comment.