From 884d84e2dfc7b66a1fa0afc8813b9a326679d118 Mon Sep 17 00:00:00 2001 From: Paolo Arena Date: Sun, 7 Apr 2019 21:24:10 +0200 Subject: [PATCH] ++ hoursweeky_plannedtowork, endwork_estimate, totalphases , actualphase --- src/components/CDate/CDate.ts | 4 +- src/components/CDate/CDate.vue | 2 +- .../projects/SingleProject/SingleProject.ts | 11 +- src/components/todos/SingleTodo/SingleTodo.ts | 3 +- src/model/Projects.ts | 30 ++--- src/statics/i18n.js | 18 ++- src/store/Api/index.ts | 20 ++- src/store/Modules/Projects.ts | 40 ++++-- src/store/Modules/costanti.ts | 4 +- src/store/Modules/tools.ts | 24 ++-- src/views/projects/proj-list/proj-list.scss | 4 + src/views/projects/proj-list/proj-list.ts | 114 ++++++++++++------ src/views/projects/proj-list/proj-list.vue | 71 ++++++++--- tsconfig.json | 2 +- 14 files changed, 239 insertions(+), 108 deletions(-) diff --git a/src/components/CDate/CDate.ts b/src/components/CDate/CDate.ts index 6018484..7bac094 100644 --- a/src/components/CDate/CDate.ts +++ b/src/components/CDate/CDate.ts @@ -10,9 +10,11 @@ import { date } from 'quasar' export default class CDate extends Vue { @Prop() public mydate!: Date - @Prop({ required: false }) public label: string + @Prop({ required: false, default: '' }) public label: string @Prop({ required: false, default: '' }) public data_class!: string @Prop({ required: false, default: false }) public readonly!: boolean + @Prop({ required: false, default: false }) public disable!: boolean + @Prop({ required: false, default: '' }) public color!: string public mystyleicon: string = 'font-size: 1.5rem;' diff --git a/src/components/CDate/CDate.vue b/src/components/CDate/CDate.vue index 637722b..0d8bda6 100644 --- a/src/components/CDate/CDate.vue +++ b/src/components/CDate/CDate.vue @@ -1,5 +1,5 @@