Merge branch 'master' of git.wmi.amu.edu.pl:s470611/Systemy-rozmyte-sql
This commit is contained in:
commit
41305d18cd
@ -22,8 +22,8 @@ export default {
|
|||||||
production_year: {
|
production_year: {
|
||||||
label: "Rok produkcji",
|
label: "Rok produkcji",
|
||||||
items: [
|
items: [
|
||||||
{ label: "Dawno", value: "1960,1960,2001" },
|
{ label: "Dawno", value: "2000,2000,2009" },
|
||||||
{ label: "Średnio", value: "1960,2001,2022" },
|
{ label: "Średnio", value: "2009,2012,2022" },
|
||||||
{ label: "Niedawno", value: "2017,2022,2022" },
|
{ label: "Niedawno", value: "2017,2022,2022" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -2,14 +2,18 @@
|
|||||||
<v-container>
|
<v-container>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col md="12">
|
<v-col md="12">
|
||||||
<v-data-table :headers="headers" :items="getCars" class="elevation-1"></v-data-table>
|
<v-data-table
|
||||||
|
:headers="headers"
|
||||||
|
:items="getCars"
|
||||||
|
class="elevation-1"
|
||||||
|
></v-data-table>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from "vuex";
|
||||||
export default {
|
export default {
|
||||||
name: "Table",
|
name: "Table",
|
||||||
|
|
||||||
@ -21,9 +25,10 @@ export default {
|
|||||||
{ text: "Rok produkcji", value: "production_year" },
|
{ text: "Rok produkcji", value: "production_year" },
|
||||||
{ text: "Pojemnośc silnika (cm^3)", value: "engine_capacity" },
|
{ text: "Pojemnośc silnika (cm^3)", value: "engine_capacity" },
|
||||||
{ text: "Spalanie (L/100km)", value: "combustion" },
|
{ text: "Spalanie (L/100km)", value: "combustion" },
|
||||||
{ text: "Cena (zł)", value: "price" },
|
{ text: "Cena (USD)", value: "price" },
|
||||||
],
|
],
|
||||||
items: [{
|
items: [
|
||||||
|
{
|
||||||
brand: "Ford",
|
brand: "Ford",
|
||||||
model: "Focus",
|
model: "Focus",
|
||||||
mileage: 230000,
|
mileage: 230000,
|
||||||
@ -44,11 +49,10 @@ export default {
|
|||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['getCars'])
|
...mapGetters(["getCars"]),
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
15812
insert-data.sql
15812
insert-data.sql
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user