This commit is contained in:
saeid
2019-04-26 20:11:56 +04:30
parent 14a91bdef7
commit 08670507f6
28 changed files with 5956 additions and 6079 deletions
@@ -13,7 +13,7 @@
</v-flex>
<v-spacer></v-spacer>
<v-flex xs12 md2 sm2 class="text-xs-right">
<router-link to="/add-medical-center">
<router-link :to="{name: 'AddMedicalCenter'}">
<v-btn class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black">
<v-icon class="black--text mr-2 caption">fas fa-plus</v-icon>
<span class="black--text">Add</span>
@@ -72,10 +72,6 @@
<v-icon class="white--text mr-1 caption">fas fa-pen</v-icon>
<span>Edit</span>
</v-btn>
<v-btn color="orange darken-1">
<v-icon class="white--text mr-1 caption">fas fa-barcode</v-icon>
<span>Generate Barcode</span>
</v-btn>
</v-card-text>
</v-flex>
</v-layout>
+13 -9
View File
@@ -35,7 +35,7 @@
</template>
<template slot="items" slot-scope="{ item }">
<td class="headline font-weight-light">{{ item.name }}</td>
<td class="title font-weight-light">{{ item.unique_code }} </td>
<td class="title font-weight-light">{{ item.unique_code }}</td>
<td class="title font-weight-light">{{ item.user.name }}</td>
<td class="title font-weight-light">{{ item.created_at }}</td>
<td class="text-xs-right">
@@ -45,6 +45,10 @@
<span>Edit</span>
</v-btn>
</router-link>
<v-btn color="orange darken-1">
<v-icon class="white--text mr-1 caption">fas fa-barcode</v-icon>
<span>Generate Barcode</span>
</v-btn>
<v-btn color="pink" @click="remove(item.id)" class="WM-ActionButton">
<v-icon class="white--text mr-2 caption">fas fa-times</v-icon>
<span>Remove</span>
@@ -81,27 +85,27 @@ export default {
text: "TestType Name",
value: "name"
},
{
{
sortable: false,
text: "TestType UniqueId",
value: "uniqueId"
},
{
},
{
sortable: false,
text: "Register TestType",
value: "users"
},
{
},
{
sortable: false,
text: "Date",
value: "date"
},
{
},
{
sortable: false,
text: "Action",
value: "action",
align: "right"
}
}
],
items: [],
currentPage: 1,