Office driver api get data works
This commit is contained in:
@@ -12,13 +12,11 @@
|
||||
Home
|
||||
</router-link>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flex text-2xl mb-5">
|
||||
Welcome {{ employee.employee_first_name }} {{ employee.employee_last_name }}!
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-12 gap-5">
|
||||
<div class="col-span-12 bg-neutral ">
|
||||
<div class="grid grid-cols-12 p-5">
|
||||
@@ -27,7 +25,6 @@
|
||||
<div class="col-span-6 py-2"> Total Service Calls: {{service_count}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-span-6 bg-neutral" >
|
||||
<div class="grid grid-cols-12 p-5 ">
|
||||
<div class="col-span-12 font-bold text-xl">Todays Oil Price</div>
|
||||
@@ -47,12 +44,10 @@
|
||||
<div class="col-span-12 py-2"> Out of Oil: ${{out_of_oil}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<Footer/>
|
||||
</template>
|
||||
|
||||
@@ -202,6 +197,7 @@ export default defineComponent({
|
||||
headers: authHeader(),
|
||||
})
|
||||
.then((response: any) => {
|
||||
console.log(response.data)
|
||||
this.same_day = response.data.same_day;
|
||||
this.price_hourly = response.data.price_hourly;
|
||||
this.emergency_fee = response.data.emergency_fee;
|
||||
|
||||
Reference in New Issue
Block a user