Fix Frontend
This commit is contained in:
+6
-10
@@ -12,21 +12,17 @@
|
||||
}
|
||||
.main-container th.lastre-recipe,
|
||||
.main-container td.lastre-recipe {
|
||||
width: 40%;
|
||||
width: 30%;
|
||||
}
|
||||
.main-container th.lastre-numpezzo,
|
||||
.main-container td.lastre-numpezzo {
|
||||
width: 10%;
|
||||
}
|
||||
.main-container th.lastre-firstval,
|
||||
.main-container td.lastre-firstval {
|
||||
.main-container th.lastre-type,
|
||||
.main-container td.lastre-type {
|
||||
width: 10%;
|
||||
}
|
||||
.main-container th.lastre-secondval,
|
||||
.main-container td.lastre-secondval {
|
||||
width: 10%;
|
||||
}
|
||||
.main-container th.lastre-thirdval,
|
||||
.main-container td.lastre-thirdval {
|
||||
width: 10%;
|
||||
.main-container th.lastre-value,
|
||||
.main-container td.lastre-value {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
+4
-7
@@ -11,19 +11,16 @@
|
||||
width: 20%;
|
||||
}
|
||||
&.lastre-recipe {
|
||||
width: 40%;
|
||||
width: 30%;
|
||||
}
|
||||
&.lastre-numpezzo {
|
||||
width: 10%;
|
||||
}
|
||||
&.lastre-firstval {
|
||||
&.lastre-type {
|
||||
width: 10%;
|
||||
}
|
||||
&.lastre-secondval {
|
||||
width: 10%;
|
||||
}
|
||||
&.lastre-thirdval {
|
||||
width: 10%;
|
||||
&.lastre-value {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+12
@@ -18,4 +18,16 @@ export default class LogMisurazioniTable extends Vue {
|
||||
return moment(date).format('LTS');
|
||||
}
|
||||
|
||||
convertType(item){
|
||||
if (!item || item == 0)
|
||||
return "ND"
|
||||
else if (item == 1)
|
||||
return "PALLET HEIGHT"
|
||||
else if (item == 2)
|
||||
return "SHEET TICKNESS"
|
||||
else if (item == 2)
|
||||
return "SHEET LENGTH"
|
||||
else
|
||||
return "ND"
|
||||
}
|
||||
}
|
||||
|
||||
+4
-6
@@ -6,9 +6,8 @@
|
||||
<th class="lastre-date ">{{'underthehood_label_date' | localize("Date")}}</th>
|
||||
<th class="lastre-recipe">{{'underthehood_label_recipe' | localize("Ricetta")}}</th>
|
||||
<th class="lastre-numpezzo left">{{'underthehood_label_numpiece' | localize("N. Pezzo")}}</th>
|
||||
<th class="lastre-firstval left">{{'underthehood_label_firsvtal' | localize("firstVal")}}</th>
|
||||
<th class="lastre-secondval left">{{'underthehood_label_secondval' | localize("secondVal")}}</th>
|
||||
<th class="lastre-thirdval left">{{'underthehood_label_thirdval' | localize("thirdVal")}}</th>
|
||||
<th class="lastre-type left">{{'underthehood_label_type' | localize("Type")}}</th>
|
||||
<th class="lastre-value left">{{'underthehood_label_value' | localize("Value")}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="autocolor">
|
||||
@@ -17,9 +16,8 @@
|
||||
<td>{{convertDate(item.dtEvent)}} - {{convertDateToTime(item.dtEvent)}}</td>
|
||||
<td>{{item.recipeName}}</td>
|
||||
<td class="left">{{item.numDone}}</td>
|
||||
<td class="left">{{item.firstVal}}</td>
|
||||
<td class="left">{{item.secondVal}}</td>
|
||||
<td class="left">{{item.thirdVal}}</td>
|
||||
<td class="left">{{convertType(item.typeVal)}}</td>
|
||||
<td class="left">{{item.firstVal}} [{{item.secondVal}}, {{item.thirdVal}}]</td>
|
||||
</tr>
|
||||
</template>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user