This commit is contained in:
saeid
2019-05-01 20:41:31 +04:30
parent dfda9768f0
commit cdc311c37d
25 changed files with 75940 additions and 128 deletions
@@ -68,8 +68,8 @@
v-model="formData[item.name]"
:label="item.name"
color="black"
item-text="title"
item-value="id"
></v-select>
<v-container fluid v-if="item.type == 'Checkbox'" >
<p>{{ item.name }}</p>
@@ -78,7 +78,7 @@
:key="keyOption"
:label="optionValue.title"
v-model="formData[item.name]"
:value="optionValue.title"
:value="optionValue.id"
></v-checkbox>
</v-container>
<template v-if="item.type == 'Form'">
@@ -98,6 +98,7 @@
:label="children.name"
color="black"
item-text="title"
item-value="id"
></v-select>
<v-container fluid v-if="children.type == 'Checkbox'">
<p>{{ children.name }}</p>
@@ -106,7 +107,7 @@
:key="keyOption"
:label="optionValue.title"
v-model="formData[children.name]"
:value="optionValue.title"
:value="optionValue.id"
></v-checkbox>
</v-container>
</v-flex>
+3 -7
View File
@@ -55,19 +55,15 @@
<td class="title font-weight-light">{{ item.result }}</td>
<td class="title font-weight-light">{{ item.created_at }}</td>
<td class="text-xs-right">
<v-btn color="black" class="mr-2">
<v-icon class="white--text mr-1 caption">fas fa-folder</v-icon>
<span>Archive</span>
</v-btn>
<router-link :to="{name: 'EditTestResult', params: {testResult: item.id}}">
<v-btn color="cyan" class="mr-2">
<v-icon class="white--text mr-1 caption">fas fa-pen</v-icon>
<span>Edit</span>
</v-btn>
</router-link>
<v-btn color="pink" class="mr-2" @click="remove(item.id)" >
<v-icon class="white--text mr-1 caption">fas fa-times</v-icon>
<span>Remove</span>
<v-btn color="black" class="mr-2" @click="remove(item.id)" >
<v-icon class="white--text mr-1 caption">fas fa-folder</v-icon>
<span>Archive</span>
</v-btn>
</td>
</template>