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
+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>