mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
37 lines
1.1 KiB
Vue
37 lines
1.1 KiB
Vue
<template>
|
|
<div class="row align-items-center m-b-10 parentContainer">
|
|
<div class="row w-100 m-0 p-0 ">
|
|
<div class="col-8 pull-left mt-2 pr-0">
|
|
<div class="font-heading all-caps fs-11">{{this.item.name}}</div>
|
|
</div>
|
|
<div class="col-2 text-center mt-2">
|
|
<div class="font-heading all-caps fs-11">{{this.item.bookings.length}}</div>
|
|
</div>
|
|
<div class="col-2 text-right pull-right">
|
|
<button type="button" @click="viewCompany()" class="btn btn-xs btn-primary fs-11">View</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import componentHandler from '../../../general/mixins/componentHandler';
|
|
export default {
|
|
data(){
|
|
return {
|
|
minWidth:{
|
|
minWidth:'100px',
|
|
},
|
|
minWidth150:{
|
|
minWidth:'150px',
|
|
},
|
|
}
|
|
},
|
|
methods: {
|
|
viewCompany() {
|
|
this.$root.$emit('viewCompany', this.item);
|
|
}
|
|
},
|
|
mixins: [componentHandler]
|
|
}
|
|
</script> |