shokouhiu

This commit is contained in:
Shokouhi
2019-05-11 13:11:48 +04:30
parent 8040e2a4cb
commit 496198b16a
19 changed files with 178 additions and 101 deletions
@@ -34,7 +34,7 @@
/>
</template>
<template slot="items" slot-scope="{ item }">
<td class="headline font-weight-light">{{ item.name }}</td>
<td class="headline font-weight-light WM-NoLetterSpacing">{{ item.name }}</td>
<td class="title font-weight-light">{{ item.created_at }}</td>
<td class="title font-weight-light">{{ item.users_count }} Operator</td>
<td class="text-xs-right">
+6 -4
View File
@@ -32,6 +32,7 @@
>
<v-text-field required slot="activator" label="FromDate" v-model="form.fromPicker"></v-text-field>
<v-date-picker
color="pink"
no-title
v-model="form.fromPicker"
:date-format="date => new Date(date).toDateString()"
@@ -48,6 +49,7 @@
>
<v-text-field required slot="activator" label="UpToDate" v-model="form.upToPicker"></v-text-field>
<v-date-picker
color="pink"
no-title
v-model="form.upToPicker"
:date-format="date => new Date(date).toDateString()"
@@ -142,14 +144,14 @@ export default {
const result = await ApiService.get(urls.listOpertorMedicalCenter(this.form.medicalCenter));
if (result && result.status == 200) {
this.users = result.data.data.users;
}
}
},
async submitForm() {
const result = await ApiService.post(urls.statistics, this.form);
if (result && result.status == 200) {
this.fillData(result.data.data)
this.chart = true;
}
}
},
}
};
@@ -163,10 +165,10 @@ export default {
.v-btn--floating {
padding: 0!important;
}
.theme--light.v-btn {
.theme--light.v-btn.v-btn--flat {
color: rgba(0,0,0,.87)!important;
}
.v-btn--floating, .v-btn--icon:before {
border-radius: 50%!important;
}
</style>
</style>
@@ -63,7 +63,8 @@
</v-flex>
<v-flex xs12 sm4 md3>
<div v-if="!image">
<input type="file" @change="onFileChange">
<input type="file" class="inputfile" @change="onFileChange">
<label for="file"><v-icon class="v-icon greylighten-3--text mr-2 caption IconHover">fas fa-chevron-right</v-icon>Choose a file</label>
</div>
<div v-else>
<img :src="image" style="width:100%;"/>
+1 -1
View File
@@ -98,7 +98,7 @@
<v-divider></v-divider>
</v-layout>
<div class="text-xs-center" v-if="lastPage > 1">
<v-pagination v-model="currentPage" :length="lastPage" :total-visible="6"></v-pagination>
<v-pagination color="black" circle v-model="currentPage" :length="lastPage" :total-visible="6"></v-pagination>
</div>
<v-layout row wrap align-center justify-center class="mt-3">
<router-link :to="{name: 'Dashboard'}">